Commit Graph

216 Commits

Author SHA1 Message Date
Thomas Keller
21cdf60c31 Introduce a more subtle concept of validity when it comes to revision
indentifiers in IDF - the SCM function isValidRevision has been replaced
by a validateRevision() method which returns one of three states,
valid, invalid or ambiguous.
The source view can then act accordingly and display disambiguate view
for the latter, so the user can select for which revision he actually
wants to execute the requested action. Also, invalid revisions now lead
to another separate view, telling the user that it is invalid / does
not exist and pointing him optionally to the help page where he can read
further how to access his repository to push the first changes into.
(partially resolves issue 525)
2010-09-01 13:13:52 +00:00
Thomas Keller
5d263e78e0 its dateago:"without", not dateago:"wihtout" 2010-08-31 21:17:09 +00:00
Thomas Keller
e26a5c8cdf waiting usher instances should be stoppable as well 2010-08-30 21:29:42 +00:00
Thomas Keller
7f32a5679d * removed type field in IDF_Key on request of Loic and automatically detect
and validate raw key data
* reworked the parseMonotoneKeyData() function to parse ssh and monotone keys
* tweak help texts and exception strings
2010-08-24 23:30:12 +02:00
Thomas Keller
e7ce32fc26 Merge branch 'master' of git://projects.ceondo.com/indefero 2010-08-24 22:45:28 +02:00
Thomas Keller
e47d51d14c Add the possibility to save mtn public keys per user
* src/IDF/Key.php: new column "type" which is either "ssh" or "mtn";
  utility functions to query the mtn key name and id as well as
  all available key types for the current IDF installation
* src/IDF/Migrations/16KeyType.php: needed migration script
* src/IDF/Plugin/SyncGit/Cron.php: ensure only SSH keys are handled
* adapt forms and templates accordingly
2010-08-11 23:48:09 +02:00
Thomas Keller
ce436cc6ec ensure the usher section is active when we browse it 2010-08-11 23:43:15 +02:00
Loïc d'Anterroches
4f23ea4dd5 Added the ability to create a new project with another one as template. 2010-08-11 13:58:41 +02:00
Thomas Keller
de036920a4 * src/IDF/Middlewre.php: add a global template variable
"usherConfigured" to denote whether we render links to the usher
control functions in the forge administration
* src/IDF/Scm/Monotone.php: moved IDF_Scm_Monotone_Stdio into
separate file src/IDF/Scm/Monotone/Stdio.php
* src/IDF/Scm/Usher.php: new class to query and modify the state
of a running usher instance
* src/IDF/Views/Admin.php: add actions to query the list of
configured servers, edit their status, view their open connections
and control the state of the usher as a whole
* src/IDF/conf/idf.php-dist: optional usher configuration added;
mail address of monotone-users added; spelling changes
* src/IDF/conf/urls.php: added needed URLs for usher actions
* src/IDF/templates/idf/gadmin/base.html: usher links
2010-08-07 23:28:13 +02:00
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
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
2ee665ac96 Merge branch 'master' of git://projects.ceondo.com/indefero 2010-06-21 23:23:26 +02:00
Loic d'Anterroches
47acc73451 Added the webhooks. 2010-05-10 10:11:27 +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
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
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
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
f8012c37d1 from monotone 0.48 onwards the setup command creates its own internal database 2010-04-28 01:12:29 +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
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
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
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
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
c486ca928b Added ticket 357, delete wiki article. 2010-02-19 11:46:43 +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
73641a03d5 Fixed issues 368 and 354, access to files with special characters. 2010-01-20 22:33:53 +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
Loic d'Anterroches
646cf6479b Fixed issue 145, code reviews don't show up in the timeline. 2009-10-29 13:25:50 +01: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
f3cadfe013 Fixed issue 268, atom feed corrupt. 2009-10-09 09:22:36 +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
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
f7a7ac39f3 Fixed issue 274, link to the markdown extra documentation. 2009-08-03 21:42: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
99992442f5 Fixed the review backend to support multiple patches per review and line level comments. 2009-07-16 10:04:58 +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
Loic d'Anterroches
36c1f98438 Added inline documentation with respect to the source access. 2009-07-12 07:18:19 +02:00
Loic d'Anterroches
c321e4828b Fixed issue 181, add an icon in the project list for private projects. 2009-07-08 14:35:44 +02:00
Loic d'Anterroches
c0dfd6b5dc Fixed issue 180, can't select branches containing / character in git projects. 2009-07-08 13:49:16 +02:00
Charles Melbye
d153cd9049 Fixed issue 244, project List shouldn't show ',' if there is no short description. 2009-07-01 20:17:23 +02:00
Loic d'Anterroches
2a15e2a350 Fixed English typo. 2009-06-29 22:33:15 +02:00
Loic d'Anterroches
1815aaa909 Fixed to have a better workaround for Firefox not to break Safari. 2009-06-29 22:10:32 +02:00