Commit Graph

696 Commits (784c9718eba0b4844a7b8bba587e295cf3e15032)

Author SHA1 Message Date
Thomas Keller d2f0bac907 * Monotone.php: get inTags() and inBranches() correct - they need to
return a list with selectors as keys, otherwise the main menu won't
  link the active revision, but instead use the main branch
* changelog.html, tree.html: shorten the branch / tag output a bit
  (still ugly to have a fixed output like this, though), link tags
  by their selector, no longer by their revision ID. We loose some
  flexibility here, since tags could actually mark different
  revisions, which are now ignored
2010-06-29 09:59:49 +02:00
Thomas Keller e46a6fa171 link from the changelog view to the changelog view again when another
revision is selected
2010-06-28 11:46:48 +02:00
Thomas Keller 7cbc690890 use date instead of gmdate, monotone's dates are already UTC 2010-06-28 08:47:39 +02:00
Thomas Keller a46fd28dae print the mtn master branch configuration in bold, because it is required
when monotone is selected as SCM
2010-06-26 00:18:52 +02:00
Thomas Keller 8decc383aa bugfix: do not validate the custom branch field in the project creation
formular if we should set the project up with another SCM
2010-06-26 00:07:56 +02:00
Thomas Keller f3268b3d37 uh, we should really share one mtn instance per project and request... 2010-06-24 02:27:38 +02:00
Thomas Keller 4fdf248cb6 Merge branch 'master' of github.com:tommyd3mdi/indefero-monotone 2010-06-24 02:07:44 +02:00
Thomas Keller 1fd1e63043 * idf.php-dist: rework the documentation of the configuration options and
add two scenarios, one with a single, global database and one with
  multiple project databases and usher as proxy; add an option for additional
  command line options for the mtn process; remove the protocol type
  configuration option - we're handling this implicit with the new
  mtn_remote_url configuration
* Monotone.php: add the IDF user for ssh:// URIs; add support for remote_stdio
  and rework the command line stitching
2010-06-24 01:58:41 +02:00
Thomas Keller 5ce324f35f * clear the process environment and set LANG properly so we get english error codes and still keep utf8 compliant
* rename _read to _readStdout and introduce a generic _readStderr which reads from the other pipe on failure
2010-06-24 00:10:41 +02:00
Thomas Keller 7303e9dd58 return the correct file name for dropped files from monotone's diff output 2010-06-23 15:58:07 +02:00
Thomas Keller 9a8148079d prevent endless redirection if a requested branch does not exist, i.e. has no matching revisions 2010-06-23 00:22:10 +02:00
Thomas Keller 24762adecc improve error handling and reporting of the stdio process 2010-06-21 23:24:47 +02:00
Thomas Keller 2ee665ac96 Merge branch 'master' of git://projects.ceondo.com/indefero 2010-06-21 23:23:26 +02:00
Denis 2e1a91622e Updated the Russian translations. 2010-06-17 20:03:52 +02:00
mainiak 4687355351 Updated the Czech translations. 2010-06-15 11:21:06 +02:00
Loïc d'Anterroches 38dd610319 Updated the German translations. 2010-06-15 11:18:13 +02:00
mainiak a4408de74d Updated the Czech translations. 2010-05-27 20:20:53 +02:00
Loic d'Anterroches 7a952215aa Added a series of hooks to trigger backup jobs when files are uploaded/deleted. 2010-05-21 11:29:36 +02:00
Loic d'Anterroches 982b330739 Added the droping of the tags in the predelete to prevent some integrity issues. 2010-05-21 11:28:48 +02:00
Loic d'Anterroches 3e9229be5f Updated to set the subversion hooks at creation of the repository. 2010-05-20 10:42:51 +02:00
Loic d'Anterroches ad6148cae7 Fixed issue 403, make the calcul of project's disk used space optionnal. 2010-05-19 10:55:50 +02:00
Loic d'Anterroches 2aebc0e099 Fixed to correctly populate the queue when no notifications are defined. 2010-05-18 15:10:43 +02:00
Loic d'Anterroches 06022bf378 Added the type of scm in the queue payload. 2010-05-18 14:31:01 +02:00
Vladimir Solomatin 430c9cb00e Fixed issue 467, exception when deleting an orphan git repo. 2010-05-17 19:40:26 +02:00
Loic d'Anterroches 89780b0317 Fixed ticket 466, Mac OS-friendly source viewing / syntax highlighting. 2010-05-17 12:53:17 +02:00
Loic d'Anterroches c534894995 Added caching of the database, attachments and uploaded files to avoid calculating them each time. 2010-05-17 12:17:02 +02:00
Loic d'Anterroches a91ce1600f Added a global configuration registry. 2010-05-17 10:29:00 +02:00
Loic d'Anterroches 04e7d7c99b Merge branch 'master' of git://projects.ceondo.com/indefero 2010-05-12 09:19:57 +02:00
mainiak 7ed69c7f4a Improved the Czech translations 2010-05-12 09:19:36 +02:00
Mehdi Kabab 8f914c44a1 Fixed issue 459, variables not defined for exec in PHP 5.3. 2010-05-11 10:13:38 +02:00
Loic d'Anterroches 28ce82c6f6 Improved to sort the Git tags by reverse chronological order. 2010-05-11 09:41:22 +02:00
Loic d'Anterroches 641a3b24a5 Fixed error in the queue addition. 2010-05-11 09:23:15 +02:00
Loic d'Anterroches 0d61866b89 Added initial work on the Czech translation. 2010-05-10 12:55:58 +02:00
Loic d'Anterroches c1a477e7d0 Do nothing on webhook without an url. 2010-05-10 10:43:47 +02:00
Loic d'Anterroches 692d2e53b2 Changed the header name of the hmac to be generic. 2010-05-10 10:21:22 +02:00
Loic d'Anterroches 47acc73451 Added the webhooks. 2010-05-10 10:11:27 +02:00
Loic d'Anterroches 2f22d48dd0 Added the queue system to handle the webhooks and asynchronous events. 2010-05-06 10:27:08 +02:00
Thomas Keller e0b0a732b4 phpdoc improved; remove _getMasterBranch() method and implement the specific code directly in getMainBranch() 2010-05-02 01:31:30 +02:00
Thomas Keller 59ad0f5b11 * idf.php-dist: improve the document of the various mtn-related configure options; introduce an option to configure the protocole - separate from the url option, which we now name mtn_remote_host
* IDF_Project: optionally give getSourceAccessUrl() a commit argument, so a particular VCS module can determine a subset of revisions to pull for the specific revision which is browsed
* IDF_Scm_*: add the argument null'd for all VCS; implement a branch lookup for monotone
* tree.html: display the correct branch to clone under each revision tree
2010-05-02 00:56:04 +02:00
Thomas Keller 3b53ceedcd * Monotone.php (IDF_Scm_Monotone): basic_io values need to be unescaped; implement getChangeLog()
* Monotone.php (IDF_Scm_Monotone_Stdio): add support for multiple, equally named options
* Source.php, commit.html: split-off the global commit template (which had some separate code already for SVN) and adapt the left blocks for mtn to shorten branch and tag names just like we do everywhere else
2010-05-01 01:05:54 +02:00
Thomas Keller 15a2bd90b3 Add support for monotone's diff header 2010-05-01 00:56:48 +02:00
Thomas Keller c49a8204e0 Properly activate the correct branches / tags for the currently viewed revision 2010-04-30 02:38:45 +02:00
Thomas Keller 601e894935 Use the branch / tag name shortener in two other templates as well. 2010-04-30 02:11:40 +02:00
Thomas Keller 445c90fefe Create a separate class which handles command streaming over mtn automate stdio. Use that everywhere instead of the direct system calls. 2010-04-30 02:03:58 +02:00
Thomas Keller b7ced5fa69 Do not shorten the changelog in the SCM model - thats a task for the view. 2010-04-29 23:38:28 +02:00
Thomas Keller 995f1a13c3 Add a new view modifier which allows the shortening of long strings such as branch or tag names. Use that in the tree view and display the full name in a title tag. 2010-04-29 23:35:57 +02:00
Thomas Keller cf22909722 * isAvailable(): check monotone's interface version and mark the interface as available if it matches (we might see later on if this alone is actually a good idea especially if we browse an empty database...)
* _getCerts(): implement a cert cache and make multiple cert values easily available
* getCommit(), getCommitLarge(), getFile(), getPathInfo(), testHash(): implement
* getTags(): save the first found revision id for a tag as key in the associative array to make tags actually browsable
2010-04-29 01:44:34 +02:00
Thomas Keller 02603fd8fd disable archive generation for now, this is not possible with monotone as it is implemented now in IDF 2010-04-29 01:42:50 +02:00
Thomas Keller af4f5aaeb0 make the path to the monotone executable configurable 2010-04-29 01:37:28 +02:00
Thomas Keller f8012c37d1 from monotone 0.48 onwards the setup command creates its own internal database 2010-04-28 01:12:29 +02:00
Thomas Keller 5954cd0ad1 default to the master branch for the head / tip / main revision 2010-04-28 00:14:19 +02:00
Thomas Keller 5ef6e6c08f mtn still needs a local db and project setup if there is nothing beside an empty database remotely 2010-04-28 00:13:42 +02:00
Thomas Keller 94a5464155 * idf.php-dist: no need to configure a branch prefix any longer now that the project owner can define the master branch name
* Monotone.php: change accordingly to use the configured master branch name and fallback to all branches ("*") if noone is found
2010-04-27 23:28:52 +02:00
Thomas Keller 18ba8d0ac5 Some more files from the initial work 2010-04-27 00:02:47 +02:00
Thomas Keller 9fd4334dec Start on monotone support for indefero. The SCM backend is about 30% done, interesting pieces like getTree() are not finished yet. 2010-04-26 23:56:25 +02:00
Loic d'Anterroches d7843a55bd Updated the French translations. 2010-04-19 09:28:48 +02:00
Loic d'Anterroches b7833b5d23 Updated to have the latest .pot file. 2010-04-19 09:27:37 +02:00
Loic d'Anterroches 0f617f8e09 Fixed to directly use a PHP internal function, thanks piouPiouM. 2010-04-19 09:16:56 +02:00
Loic d'Anterroches fbc1fab68d Added the Mercurial hook connection to run on groupchange. 2010-04-19 09:14:29 +02:00
Loic d'Anterroches 10f08386f7 Fixed to have a simpler code. 2010-04-15 15:40:36 +02:00
Loic d'Anterroches 45fa309c07 Fixed to have a simpler code. 2010-04-15 15:38:03 +02:00
Loic d'Anterroches 2ad13a96f9 Added the changegroup hook for Mercurial.
This is the last commit for 1.0, yeah\!
2010-04-15 15:20:50 +02:00
Loic d'Anterroches 73f95de843 Fixed a stupid typo in the hook configuration check. 2010-04-15 10:48:39 +02:00
Loic d'Anterroches 42f561dc75 Added the subversion post commit hook. 2010-04-15 10:00:05 +02:00
Loic d'Anterroches 8280add935 Moved the event logging just before the action. 2010-04-14 13:43:58 +02:00
Loic d'Anterroches bbc29c889f Added the post-update hook at the creation of the git repository. 2010-04-14 13:31:30 +02:00
Loic d'Anterroches e5ee6d8fca Added the first work on the scm post commit hooks. 2010-04-14 10:54:16 +02:00
Loic d'Anterroches 738a8bdd60 Fixed issue 424, English grammar. 2010-04-12 20:55:00 +02:00
Loic d'Anterroches 119faf55cf Added ticket 419, render for .net files. 2010-04-12 20:43:04 +02:00
Loic d'Anterroches 7b0ece42f0 Fixed to convert in utf-8 earlier in the process. 2010-03-26 20:40:50 +01:00
Loic d'Anterroches 3c29e4e6ae Fixed to not use the assumption that the first line of a commit message set the encoding. 2010-03-26 19:57:18 +01:00
Loic d'Anterroches a5f97c59d9 Fixed missing detection of ISO-8859-2 characters. 2010-03-26 14:53:43 +01:00
Loic d'Anterroches 77c7f8ecfe Updated the French translations and .pot file. 2010-03-16 15:26:17 +01:00
Loic d'Anterroches dc34829afe Fixed issue 417, 403 after clicking 'delete this page'. 2010-03-16 15:21:17 +01:00
Raphaël Emourgeon 10245113d5 Fixed ticket 406, PHP 5.3.1 compatibility. 2010-03-16 10:40:29 +01:00
Raphaël Emourgeon 349970cfaf Fixed ticket 410, upload error message on new issue shouldn't be hidden. 2010-03-16 10:03:49 +01:00
Loic d'Anterroches 0056e3f0b2 Added ticket 414, references email header for the issue notifications. 2010-03-16 09:41:21 +01:00
Loic d'Anterroches 548a427148 Fixed issue 407, notifications emails are sent twice. 2010-03-01 15:02:09 +01:00
Loic d'Anterroches 49e5aa783d Fixed to correctly write into the temp folder. 2010-02-27 22:26:34 +01:00
Loic d'Anterroches b9d8eeea9e Fixed to catch the error output of the key check. 2010-02-27 22:09:51 +01:00
Loic d'Anterroches 75777daf4b Fixed to prevent uploading several times the same key. 2010-02-27 18:09:02 +01:00
Loic d'Anterroches d3b76975cd Added the option to have a strong check of the ssh key with ssh-keygen. 2010-02-27 17:42:09 +01:00
Loic d'Anterroches 64fb5b3bf0 Fixed issue 402, Project List shows '0 bytes' Repository size on Mac OS X. 2010-02-24 15:06:13 +01:00
Loic d'Anterroches 51842c02f6 Added the ability to manually create a user. 2010-02-24 10:43:28 +01:00
Loic d'Anterroches cc6f1c7cd8 Added ticket 165, multiple SSH keys per user. 2010-02-22 22:27:31 +01:00
Loic d'Anterroches 5d24931d9b Changed to force the shortname to be lower case. 2010-02-22 20:50:54 +01:00
Loic d'Anterroches e2bce19526 Removed the project list on the public profile page. 2010-02-22 20:41:12 +01:00
Loic d'Anterroches 9653f1a341 Correctly display the delete page link only to users with correct rights. 2010-02-20 13:03:06 +01:00
Loic d'Anterroches a5a5c7b2b6 Fixed security issue, read access on a git project marked as private and source access marked as login in/all access. 2010-02-19 17:43:29 +01:00
Loic d'Anterroches c486ca928b Added ticket 357, delete wiki article. 2010-02-19 11:46:43 +01:00
Loic d'Anterroches 3a28fe9d28 Fixed ticket 208, added more logging in GitServe and Scm backend. 2010-02-17 21:57:28 +01:00
Loic d'Anterroches 8da6fe7287 Added the support of war and jar files in the upload area. 2010-02-17 08:53:36 +01:00
Loic d'Anterroches 52be41186f Correctly request an account confirmation when trying to recover the password of a not yet activated account. 2010-02-15 22:40:34 +01:00
Loic d'Anterroches 96e8f4ae3c Added a better handling of simultaneous updates of the search index. 2010-02-14 22:01:46 +01:00
Brian Armstrong ef40b0a34e Fixed ticket 393, bad English on the Terms Page. 2010-02-14 21:21:29 +01:00
Loic d'Anterroches 73f6430a60 Fixed to prevent a password reset to login an inactive user. 2010-02-09 14:47:13 +01:00
Loic d'Anterroches 2b107c1610 Added ticket 391, password storage configuration variable for Mercurial. 2010-02-06 14:24:11 +01:00
Loic d'Anterroches 577aac2069 Fixed issue 348, no notifications on own actions. 2010-02-04 11:01:32 +01:00
Loic d'Anterroches 73641a03d5 Fixed issues 368 and 354, access to files with special characters. 2010-01-20 22:33:53 +01:00
Ludovic Bellière 0b580ba2ec Fixed issue 314, Mercurial shows empty files in directories 2010-01-20 21:27:18 +01:00
Denis Kot ec1d21a625 Added the start of the Russian translations. 2010-01-15 10:57:04 +01:00
Samuel Suther 078c6feae8 Added the start on the German translations. 2010-01-15 10:51:42 +01:00
Janez Troha 1e3dfef438 Added ticket 347, partial Slovenian translations. 2009-11-26 10:30:27 +01:00
Loic d'Anterroches c72e9f4eb0 Changed to accomodate the new way the session language is working. 2009-11-13 12:26:49 +01:00
Loic d'Anterroches 30a3515e94 Updated the French translations. 2009-11-06 20:38:23 +01:00
Loic d'Anterroches ff4f8afde8 Added the support of the tags for Mercurial and Subversion. 2009-11-06 18:06:01 +01:00
Mehdi Kabab 8050463a12 Added ticket 271, support of the Git tags. 2009-11-06 16:12:54 +01:00
Mehdi Kabab 73dba2fa1a Added ticket 259, automatic linking of issues/commits to support TortoiseSVN preferred issue/commit naming. 2009-11-06 16:00:47 +01:00
Loic d'Anterroches 3c46b7734f Added the ability to use the username of a user to link a git commit. 2009-11-06 15:58:21 +01:00
Mehdi Kabab 75280d6892 Fixed issue 325, unexpected reset SSH key. 2009-11-01 23:07:33 +01:00
Loic d'Anterroches 6c5fde77b4 Added the ability to link to a review from the comments. 2009-10-29 13:54:44 +01:00
Loic d'Anterroches 646cf6479b Fixed issue 145, code reviews don't show up in the timeline. 2009-10-29 13:25:50 +01:00
Loic d'Anterroches 1d24432f8d Fixed issue 315, atom feed of a wiki update is broken. 2009-10-28 09:28:06 +01:00
Loic d'Anterroches 37aa3d8b69 Fixed not to stat the size of a non existing repository. 2009-10-26 21:45:42 +01:00
Loic d'Anterroches 9437a19ee0 Added migrations to backup restore indefero to/from a JSON file. 2009-10-19 11:28:01 +02:00
Mehdi Kabab 6c04fa80bd Fixed issue 311, link Forge Management is missing in the admin pannel. 2009-10-15 15:12:37 +02:00
Loic d'Anterroches a667227943 Updated the French translations. 2009-10-12 08:18:33 +02:00
Loic d'Anterroches 8d32905913 Fixed transient error when the git cron job creates the repository before the first push. 2009-10-09 10:35:13 +02:00
Loic d'Anterroches 58ab16432c Fixed issue 261, default paths for gitcron.php and gitserve.php can't find Pluf. 2009-10-09 10:16:00 +02:00
Loic d'Anterroches aa383ffb1b Merge branch 'issue268-feedcorrupt' 2009-10-09 09:23:08 +02:00
Loic d'Anterroches f3cadfe013 Fixed issue 268, atom feed corrupt. 2009-10-09 09:22:36 +02:00
Loic d'Anterroches c7aa91fc29 Fixed issue 304, cannot display source files with brackets in their names. 2009-10-09 08:46:14 +02:00
Loic d'Anterroches e5934e0a3a Fixed issue 167, timeline feed URL should only include auth token for private projects. 2009-10-08 13:27:15 +02:00
Loic d'Anterroches b6c5e803cb Fixed issue 114, email sent in language of commenter. 2009-10-08 11:23:33 +02:00
Loic d'Anterroches ec8ff4f76b Avoid unnecessary assignement. 2009-10-06 21:33:58 +02:00
Loic d'Anterroches 06668db697 Fixed issue 304, cannot display source files with brackets in their names. 2009-10-06 21:28:37 +02:00
Loic d'Anterroches a82b4b7b6b Fixed issue 305, improved the compatibility with PostgreSQL 8.4. 2009-10-06 20:54:28 +02:00
Loic d'Anterroches 37e0604647 Fixed bad conversion to support PHP 5.3, 2009-10-01 21:51:47 +02:00
David Feeney 4765ca2232 Fixed issue 282, Mercurial support in new projects. 2009-10-01 14:56:54 +02:00
Loic d'Anterroches 6edaf03faa Fixed issue 283, confusing with two 'Administer' tabs. 2009-10-01 14:44:39 +02:00
Loic d'Anterroches 0dedee4429 Fixed issue 296, meaningful message on status change. 2009-10-01 14:24:36 +02:00
Loic d'Anterroches 838645463d Remove the PHP 5.3 deprecated split function. 2009-09-24 20:40:22 +02:00
Loic d'Anterroches 157819195b Fixed issue 285, weird mkdir() error sometimes on first git push. 2009-09-21 10:03:33 +02:00
Loic d'Anterroches 25d7a5a776 Fixed issue 286, repository size fails on symlinks. 2009-09-21 09:58:29 +02:00
Loic d'Anterroches 9d9541ee11 Fixed issue 278, database with - in name causes exception on the admin projects list. 2009-09-21 09:46:46 +02:00
Loic d'Anterroches c1e23ae9e2 Fixed to prevent the search on no available keywords. 2009-08-20 15:20:15 +02:00
Loic d'Anterroches 14e074b122 Fixed to prevent the display of an invalid tree. 2009-08-20 15:14:42 +02:00
Loic d'Anterroches fbcdacdccf Allowed the th HTML tag in the MarkDown output. 2009-08-04 10:25:29 +02:00
Andrew Nguyen f473691479 Fixed issue 262, embbed documents from repository in Documentation wiki.
You can now embbed text documents frome the repository into the
documentation wiki. Changes in the repository are automatically
reflected into the wiki.

The syntax is [[[path/to/file, optional commit]]].
2009-08-03 22:38:14 +02:00
Loic d'Anterroches f7a7ac39f3 Fixed issue 274, link to the markdown extra documentation. 2009-08-03 21:42:32 +02:00
Loic d'Anterroches ca5270a074 Fixed issue 275, unable to activate a file already uploaded if first upload was in error. 2009-08-03 21:38:32 +02:00
Loic d'Anterroches 0e421c0b34 Fixed issue 267, description for code review not visible on Review screen. 2009-08-03 21:23:23 +02:00
Loic d'Anterroches cb375dea26 Fixed issue 272, cfg max_upload_size ignored. 2009-08-03 21:10:06 +02:00
Loic d'Anterroches 6845f59150 Fixed variable used before being instanciated in the Mercurial backend. 2009-07-23 23:33:08 +02:00
Mehdi Kabab 021805f1e1 Fixed issue 270, 'src:' autolinking doesn't work if path contains spaces. 2009-07-20 20:07:53 +02:00
Loic d'Anterroches 95881bd7f1 Fixed the order of the model installation. 2009-07-16 16:01:48 +02:00
Loic d'Anterroches b3bacf25ff Updated the French locale. 2009-07-16 10:46:07 +02:00
Loic d'Anterroches 99992442f5 Fixed the review backend to support multiple patches per review and line level comments. 2009-07-16 10:04:58 +02:00
Loic d'Anterroches dd56d681b3 Merged master back into the code review work. 2009-07-15 14:18:50 +02:00
Andrew Nguyen ba18f30c4f Fixed issue 249, in the changelog switching to another branch must stay in the changelog. 2009-07-14 22:23:30 +02:00