Commit Graph

297 Commits (6f4af6b68d23fbdf6f2d8457f3d20ec14dd1c246)

Author SHA1 Message Date
Thomas Keller 187365db76 IDF_Scm::isValidRevision() only ever takes one argument 2010-08-30 21:50:25 +00:00
Thomas Keller a442fd588e Merge branch 'master' of github.com:tommyd3mdi/indefero-monotone 2010-08-24 22:57:52 +02:00
Thomas Keller e7ce32fc26 Merge branch 'master' of git://projects.ceondo.com/indefero 2010-08-24 22:45:28 +02:00
Thomas Keller 31e81118dd Follow IDFs coding standards and tweak opening curly braces as well as
quoting where possible
2010-08-13 11:21:07 +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
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 2ee665ac96 Merge branch 'master' of git://projects.ceondo.com/indefero 2010-06-21 23:23:26 +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 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 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 47acc73451 Added the webhooks. 2010-05-10 10:11:27 +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 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 18ba8d0ac5 Some more files from the initial work 2010-04-27 00:02:47 +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 dc34829afe Fixed issue 417, 403 after clicking 'delete this page'. 2010-03-16 15:21:17 +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 c486ca928b Added ticket 357, delete wiki article. 2010-02-19 11:46:43 +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 c72e9f4eb0 Changed to accomodate the new way the session language is working. 2009-11-13 12:26:49 +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
Loic d'Anterroches f3cadfe013 Fixed issue 268, atom feed corrupt. 2009-10-09 09:22:36 +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 a82b4b7b6b Fixed issue 305, improved the compatibility with PostgreSQL 8.4. 2009-10-06 20:54:28 +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 838645463d Remove the PHP 5.3 deprecated split function. 2009-09-24 20:40:22 +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 14e074b122 Fixed to prevent the display of an invalid tree. 2009-08-20 15:14:42 +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
Loic d'Anterroches dc6f25cdef Fixed to handle the case of bad commit. 2009-07-12 22:13:52 +02:00
Loic d'Anterroches 69a7a58ce7 Fixed issue 146, display tickets by Id. 2009-07-08 14:23:01 +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
Loic d'Anterroches c488278ce1 Fixed bad use of Exception in the wiki view. 2009-07-02 19:59:06 +02:00
Loic d'Anterroches bdea6e4cbb Fixed English typo. 2009-06-29 21:45:55 +02:00
Loic d'Anterroches c366124917 Fixed the case of accessing the log of an unavailable project 2009-06-26 20:52:56 +02:00
Loic d'Anterroches 0873d44162 Added the database usage statistics. 2009-06-19 22:42:44 +02:00
Loic d'Anterroches 6cf4f00f92 Fixed to make the command portable on BSD/Solaris. 2009-06-19 21:37:39 +02:00
Loic d'Anterroches d6c0b7a680 Added forge size statistics. 2009-06-19 21:10:37 +02:00
Loic d'Anterroches 25e296fbb6 Added the display of the repository size in the source subtab of a project. 2009-06-19 17:31:45 +02:00
Loic d'Anterroches a15107558c Fixed issue 235, need consistent use of file and fullpath in the SCM backend 2009-06-19 15:51:31 +02:00
Loic d'Anterroches 2f0156e63b Fixed to correctly get the main branch in case of error. 2009-06-09 08:42:59 +02:00
Loic d'Anterroches cefdceba13 Fixed issue 229, code review broken with new SCM backend. 2009-05-30 20:04:43 +02:00
Loic d'Anterroches 54b37ac5b6 Fixed issue 226, branches are displayed only on source tree view. 2009-05-26 21:59:02 +02:00
Loic d'Anterroches bc434504b1 Fixed issue 210, sub-tabs links not follows the active branche in Source view. 2009-05-26 21:47:54 +02:00
Mehdi Kabab 668b49df40 Fixed issue 220, redirect to the issue or the issue comment after an updating. 2009-05-26 12:04:06 +02:00
Adrien Bustany 2c9cf96245 Fixed issue 224, add Vala support to source browser. 2009-05-26 11:33:20 +02:00
Loic d'Anterroches d31cd2aef4 Added the latest fixes for the new backend. 2009-05-25 14:18:48 +02:00
Loic d'Anterroches c83e2e6f30 Merge branch 'master' into dev 2009-05-25 12:16:44 +02:00
Loic d'Anterroches f55769a946 Improved the Mercurial backend. 2009-05-25 12:16:34 +02:00
Loic d'Anterroches 358a774017 Fixed issue 213, saving the configuration of the doc/issues is sending to the wrong page. 2009-05-07 14:54:42 +02:00
Loic d'Anterroches a3f40447c0 Continued the refactoring of the Subversion backend. 2009-04-27 11:39:19 +02:00
Loic d'Anterroches cf5acfb669 Base refactor of the Subversion backend. 2009-04-26 11:57:21 +02:00
Loic d'Anterroches 7c502b1745 Continued the SCM backend refactor.
The new backend is near completion.
2009-04-25 16:24:40 +02:00
Loic d'Anterroches 86da0c0eed Added a first version of the new SCM backend. 2009-04-21 14:13:44 +02:00
Mehdi Kabab 62e173e312 Fixed issue 185, custom predefined download labels are not displayed in autocomplete. 2009-04-16 11:43:03 +02:00
Mehdi Kabab 194a081c90 Added the highlighted extensions as text extensions. 2009-04-07 11:38:24 +02:00
Loic d'Anterroches 08a03f0629 Fixed issue 159, Problem with display of source files with extension of c, etc.
Updated the code documentation to avoid confusions.
2009-03-26 12:04:16 +01:00
Patrick Georgi ef93d2da0a Fixed issue 143, Makefile not displayed as text. 2009-03-03 10:12:42 +01:00
Loic d'Anterroches 28d5ce417a Added per project list of personal closed working/submitted tickets. 2009-02-27 15:08:56 +01:00
Loic d'Anterroches 8da821eef4 Fixed issue 131, added ability to preview before submitting an issue. 2009-02-27 14:21:09 +01:00
Loic d'Anterroches e40485c56f Fixed last part of issue 105, update the details of a project.
From the forge administration part of a project, you now have a direct link to the project administration
tab.
2009-02-27 11:10:26 +01:00
Loic d'Anterroches 7f4f14e78d Fixed issue 105 point 2, added deletion of a project.
Note that the source code is not deleted at the moment.
2009-02-27 10:42:18 +01:00
Loic d'Anterroches d1b139bb30 Better redirection to have canonical URLs. 2009-02-16 22:18:09 +01:00
Loic d'Anterroches 37f94d8581 Added smarter handling of trailing slash in the source view. 2009-02-16 21:33:19 +01:00
Loic d'Anterroches 6c83169f1c Fixed the submission of a code review and the display.
The display of a code review was crashing when a new file was added in
the diff.
The form to submit a review now proposes directly a choice of commits.
2009-02-02 17:38:48 +01:00
Loic d'Anterroches a116c27c03 Fixed issue 124, JS dropdown lists not working in Issues page under IE 7 & 8.
IE does not like trailing comma in an array.
Bad: [1, 2, 3,] Good: [1, 2, 3]
2009-02-01 09:54:09 +01:00
Loic d'Anterroches 3c7ad4581f Added the display of the number of people following a ticket. 2009-01-31 22:23:49 +01:00
Loic d'Anterroches 766acd01f4 Added the ability for a user to change his email address.
The change is not performed immediately. First a confirmation email is
sent to the user and if validated, the email address is changed.
2009-01-29 18:44:39 +01:00
Loic d'Anterroches ee5044fb1c Added the notifications for the code review. 2009-01-28 14:03:34 +01:00
Loic d'Anterroches 743a3f312c Added a control to avoid redirecting to an inexisting branch. 2009-01-25 20:48:02 +01:00
Loic d'Anterroches e513d95dbe Added the notification for the tickets. 2009-01-25 10:58:24 +01:00
Loic d'Anterroches 4c45a4a2ac Added the management of the notification email addresses. 2009-01-25 10:32:34 +01:00
Loic d'Anterroches 38ac214d55 Fixed bug in the cache resulting in errors in the tree view.
The cache was not per project but one cache for all the projects.
2009-01-23 15:06:57 +01:00
Loic d'Anterroches cadbc040a1 Fixed issue 101, better information for the Subversion login/password.
A nice little help icon is providing more information for the checkout.
This for all the backends.
2009-01-22 11:12:41 +01:00
Loic d'Anterroches 3fbac71f04 Fixed to redirect the user to the home if no available branch.
This is a short term fix. We need to create a "howto" page for each kind
of repository to display it when the user want to access a repository
with nothing in it.
2009-01-21 19:56:47 +01:00
Loic d'Anterroches 8cfc5ec026 Fixed the download of a commit diff file.
Note, we need to stream this commit diff like for the archive for
performance reasons.
2009-01-20 16:33:36 +01:00
Loic d'Anterroches e159185465 Restructured the control of the large commits. 2009-01-20 16:26:36 +01:00
Loic d'Anterroches b2ec9bb9e8 Added cache at the view level when displaying the source tree. 2009-01-18 10:17:39 +01:00
Loic d'Anterroches 835eab9c24 Fixed issue 93 by preventing the display of a large commit diff.
Still needs to implement the equivalent for subversion and mercurial,
maybe with a simple command $scm->isCommitLarge($commit).
2009-01-17 18:46:26 +01:00
Loic d'Anterroches 61bc7a70b6 Solved most of issue 93 by not requesting diff content most of the time.
Still need to handle the display of a large commit in the individual
commit page.
2009-01-17 18:10:55 +01:00
Loic d'Anterroches 419601bb92 Added the upload of the SSH key for the end user. 2009-01-14 23:05:52 +01:00
Loic d'Anterroches a30a62d48f Fixed issue 97, project created as private is not private.
It was not a security issue, just a display issue.
2009-01-06 22:04:48 +01:00
Loic d'Anterroches c8d1b66c91 Better alignment in the table columns. 2009-01-02 14:06:50 +01:00
Loic d'Anterroches 60bc06f5c3 Added ticket 90, propose to create a new documentation page when it doesn't exists. 2009-01-02 13:58:55 +01:00
Loic d'Anterroches dd6b6c9ce6 Fixed little glitch in the listing of the users. 2009-01-02 11:58:38 +01:00
Loic d'Anterroches 404e2cd150 Added the filtering of the non validated users by default. 2009-01-02 11:38:35 +01:00
Loic d'Anterroches 3aaf24d3bb Added the base administration of the users.
Still need to not show the non activated accounts by default.
2009-01-02 11:20:10 +01:00
Loic d'Anterroches 2078d69a83 Added ticket 86, preview attached files to issues. 2008-12-30 18:00:59 +01:00
Loic d'Anterroches d11b107ce1 Added more text extensions and give the ability to add in the config.
Using the 'idf_extra_text_ext' configuration variable you can add more
text extensions.
2008-12-17 15:08:51 +01:00
Loic d'Anterroches e282c65bb0 Added more text extensions. 2008-12-17 14:34:55 +01:00
Loic d'Anterroches 8378da5353 Fixed to not display the hashed password in the password field. 2008-12-07 09:46:08 +01:00
Loic d'Anterroches 05c8d321c1 Added developer/user dashboard for all the projects.
This fixes issue 60.
2008-12-05 20:37:24 +01:00
Loic d'Anterroches e208a3e1eb Fixed to be usable outside of a request context. 2008-12-05 14:55:11 +01:00
Loic d'Anterroches 6c5da01319 Added the link to the author profile when possible. 2008-12-05 14:51:51 +01:00
Loic d'Anterroches a1eeb12516 Added ticket 80, scm login integration with database login.
Based on the login for Subversion and the email address for git and
Mercurial.
2008-12-05 11:34:02 +01:00
Loic d'Anterroches 9c44bc5fe5 Fixed issue 71, add atom feeds.
The basic building block is here with the feed of the timeline, it is
rather easy to add the feed other elements based on this work. This will
require iterations and polishing.
2008-12-03 15:00:47 +01:00
Loic d'Anterroches 209715a6b3 Increased the size of the edition area of the documentation pages. 2008-12-02 13:22:01 +01:00
Loic d'Anterroches da23f2b915 Added review update notification. 2008-12-01 21:39:17 +01:00
Loic d'Anterroches d1911339d7 Added signals when the user updates his password. 2008-12-01 13:35:17 +01:00
Loic d'Anterroches 9c5156e6ef Added the first work on the administration area. 2008-12-01 00:36:27 +01:00
Loic d'Anterroches 2732da9dbb Fixed possible fatal error in the Wiki.
The error could be triggered only when playing with the URL manually.
2008-11-30 11:18:58 +01:00
Loic d'Anterroches 57a4ea7cb0 Fixed ticket 76, add the attached files in the issue notification emails.
Beware that you need to update your configuration file to add the new
template filter.
2008-11-30 10:52:06 +01:00
Loic d'Anterroches f690968b11 Started ticket 39, add code review.
We now have a limited support of the code review. Still some work to be
done to allow the submission of new patches on a given review and update
the status. For the moment, only pre-commit review is supported.
2008-11-30 10:26:05 +01:00
Loic d'Anterroches 93c44feb05 Fixed issue 61, better sync of the source changelog with the latest updates.
The sync is made automatically on all the branches of the project when
looking at the timeline after a given time.
2008-11-27 09:30:12 +01:00
Loic d'Anterroches 71461299bc Fixed the listing of the projects in the public profile view. 2008-11-26 22:29:10 +01:00
Loic d'Anterroches 28b650f841 Added the ability to configure the path to the mime types db. 2008-11-26 11:12:25 +01:00
Loic d'Anterroches 82ed55f1a0 Fixed issue 55, improvements for the wiki. 2008-11-25 21:59:57 +01:00
Loic d'Anterroches 86ab5221a7 Added view of pages by label. 2008-11-25 21:07:51 +01:00
Loic d'Anterroches 7a0a0b523b Fixed the right action when listing by tag the downloads. 2008-11-25 20:45:27 +01:00
Loic d'Anterroches fd9cb62946 Added documentation wiki search. 2008-11-25 20:32:33 +01:00
Loic d'Anterroches 4dc0747769 Added the download of a commit diff.
This fixes issue 50.
2008-11-25 20:11:09 +01:00
Loic d'Anterroches bebce1812d Fixed to handle exception nicely instead of crashing the view. 2008-11-23 21:09:44 +01:00
Loic d'Anterroches 39916d46f0 Added the featured documentation pages on the homepage. 2008-11-23 14:51:47 +01:00
Loic d'Anterroches b7b7e7aff2 Fixed to use the right initialized labels. 2008-11-23 14:44:44 +01:00
Loic d'Anterroches 7c1ad62cdb Added the deletion of old revisions of the wiki pages. 2008-11-23 12:33:11 +01:00
Loic d'Anterroches d9ffac099f Added the visualisation of the old revisions of a page. 2008-11-23 11:12:16 +01:00
Loic d'Anterroches 8eb5715656 Partial fix of issue 55, addition of a simple Wiki.
Added a base wiki, it is now possible to create wiki pages and update
them. Revisions are kept also not used/displayed at the moment.
2008-11-22 23:51:23 +01:00
Loic d'Anterroches c86cf6e5f1 Fixed issue 62, crash when searching in the issues.
The issue search is now correctly limiting the search to the issues.
2008-11-22 14:17:26 +01:00
Loic d'Anterroches 9814a75f82 Added the first work on an API. 2008-11-21 20:33:39 +01:00
Loic d'Anterroches 0e725bea26 Added private projects.
It is now possible to create private projects. To mark a project as
private, you simply go in the Administer > Tabs Access menu and select
"Private project". Only project members and owners together with the
extra authorized users will be able to access the project. The project
will not appear in the list of projects for not authorized users.
2008-11-21 13:19:02 +01:00
Loic d'Anterroches 79312f7242 Fixed some bad path to templates. 2008-11-18 10:58:54 +01:00
Loic d'Anterroches 725ece26cd Fixed in part issue 56, the templates are in the idf subfolder. 2008-11-18 09:15:02 +01:00
Loic d'Anterroches 97425529b1 Fixed to have the short name of the subject instead of InDefero. 2008-11-16 12:11:13 +01:00
Loic d'Anterroches 7ca43e0ec2 Updated the pretty print not to need extra <pre></pre>. 2008-11-15 21:23:29 +01:00
Nicolas Lassalle 99a2e2b83f Fixed issue 37, syntax highlighting of source. 2008-11-15 15:44:47 +01:00
Loic d'Anterroches 8336dd6549 Updated to make the timeline follow the access rules. 2008-11-15 11:47:09 +01:00
Loic d'Anterroches c044e99960 Renamed timeline to updates as more intuitive.
Fixed other little consistency stuff.
2008-11-15 11:35:30 +01:00
Loic d'Anterroches 4760c4b563 Improved the style of the timeline to add consistency.
The timeline is now a table with a more consistent look and feel with
respect to the other tables in the application.
2008-11-15 11:31:43 +01:00
Loic d'Anterroches b85da85dfe Added ticket 45, base implementation of a timeline.
Still some cleaning of the code to have a nicer display of the timeline
especially for the issue updates.
2008-11-14 15:41:51 +01:00
Loic d'Anterroches fa5fe0d610 Fixed ticket 36, attach a file to a ticket.
It is now possible to attach a file to a ticket.
2008-11-12 20:40:58 +01:00
Loic d'Anterroches 9ac6e38e81 Added inline visualization of text files from the repository. 2008-11-11 22:32:01 +01:00
Loic d'Anterroches 297d7290df Fixed partially issue 37, text files are displayed as text.
The display is not done with a nice layout, the file is pushed directly
with the text/plain mime type. This is working better than expected.
2008-11-11 21:21:21 +01:00
Loic d'Anterroches 9e91215205 Fixed to avoid a line break between size numbers and units. 2008-11-10 22:47:59 +01:00
Loic d'Anterroches c797e6c7c3 Fixed minor compatibility issue with PHP 5.2. 2008-11-07 14:31:45 +01:00
Loic d'Anterroches 2b5f97b362 Cleaned the code to have consistent style. 2008-09-12 12:36:41 +02:00
Nicolas Lassalle b881ad1c8f [PATCH] Restructured the "source views" file hierarchy.
Svn specifics Views are now in a Source subfolder.
2008-09-12 12:32:27 +02:00
Nicolas Lassalle bd15328758 [PATCH] Fixed issue 41 - View Source : Missing argument 2 for IDF_Scm_Svn::getBlob()
Created an unique method declaration in the tow scm backend.
Passed a more generic argument so that the scm backend could get the
correct data.
2008-09-12 12:26:51 +02:00
Loic d'Anterroches f4cbf84559 Added more fixes for PHP 5.2.0. 2008-09-05 14:38:50 +02:00
Loic d'Anterroches c8e91d80f2 Forced as ContextVars for PHP 5.2. 2008-09-05 10:45:01 +02:00
Loic d'Anterroches 6521680719 Added the French translations.
Fixed at the same time some bad English strings.
2008-09-03 09:33:29 +02:00
Loic d'Anterroches 28817af471 Removed dead code. 2008-09-03 09:13:50 +02:00