Commit Graph

747 Commits

Author SHA1 Message Date
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
145f6d0d1d Added a note to help with some Subversion errors when restarting Apache as root. 2010-05-17 10:02:56 +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
68890c3c48 Improved the Mercurial documentation. 2010-04-19 09:10:43 +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
c13d1aba30 Made the svn-post-commit script executable. 2010-04-15 10:36:31 +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