Commit Graph

53 Commits (8987ca7db68d2d64d6a7870af1e79ad5f5fe6f13)

Author SHA1 Message Date
William MARTIN 027886737d Enable Spain and German in the supported language 2011-03-09 21:55:20 +01:00
William MARTIN d654c95689 Fix issue 553 : Git escape too much character in a UTF-8 shell
Add an option to configure the git core.quotepath option
2011-01-06 14:03:07 +01:00
Thomas Keller dd05a58c8c Major configuration changes for SyncMonotone - we're now using a predefined
configuration tree as template for a new project and copy / symlink that on
project creation. To make this process a little more configurable, two new
configuration options, 'mtn_confdir' and 'mtn_confdir_extra', have been
added which allow the forge admin to adapt the directory structure and its
default hooks to his likings for all new projects. (More on that in
doc/syncmonotone.mdtext).
The 'mtn_remote_auth' configuration option was removed, because setting this
to false would have not worked for setups which did not allow write access
to remote automate commands for anonymous users and opening this would have
meant a huge security hole. Instead, for every project which is created a
corresponding client key is created as well which is used as authentication
in the IDF source frontend.
Finally the monolithic monotonerc file has been split up into individual,
easily configurable lua files which are linked / copied underknees hooks.d/
and which do not conflict with each other (for example by overwriting certain
main notification hooks).
2011-01-06 01:44:41 +01:00
Thomas Keller 972df3b231 Merge branch 'develop' of git://projects.ceondo.com/indefero into develop 2010-10-16 01:19:17 +02:00
Thomas Keller d171a249c5 Its untrue that the list of extra allowed extensions for uploaded files
has to start with a space - its even a little quirky since the code
expands that to a regex like "/\.(|ext1|ext2...)$/", so in theory files
which end up with a dot and without an extension would be allowed by this.
For now we just fix the comment and indentation of the default
configuration option.
2010-10-14 12:13:21 +00:00
Thomas Keller 0379b862ec Document 'idf_strong_key_check' (closes issue 516) 2010-10-09 12:21:20 +00:00
Thomas Keller 5641173a04 Comment in hg_repositories by default, so it matches the defaults of the other SCMs 2010-10-07 19:21:05 +02:00
Thomas Keller 617589f41b Reorganize and expand the help of the monotone plugin.
Make the commentary in idf.php-dist less verbose.
2010-09-17 03:11:36 +02:00
Thomas Keller 0f9f337e66 * configure whether or not to set remote client authentication for IDF -> remote_stdio
* hook into IDF_Project::preDelete, IDF_Key::postSave and IDF_Key::preDelete
* this is all not quite finished, but a big leap forward to completion
2010-09-13 00:53:24 +00:00
Thomas Keller e789263068 - raise required mtn version to 0.99
- add '--key=' to the default mtn arguments in idf.php-dist
2010-08-30 12:58:52 +00:00
Thomas Keller b648e6f7a7 - now that we have to configure usher's configuration file anyway,
we can skip the explicit configuration of its host and admin
  password, as we can directly read that from the configuration file
  itself
- expand the SyncMonotone plugin a bit to where this actually becomes
  useful, i.e.  create an accompanying key for each created database
  and also add some initial database-specific configuration
- update the config docs in idf.php-dist to reflect the changes and
  add more details about the inner workings of the SyncMonotone plugin
2010-08-29 23:01:25 +00:00
Thomas Keller af3df142d4 First attempt on a monotone plugin which creates a new database upon
project creation and adds the new server to the running usher instance.
If everything goes well, the usher instance is told to reload its
configuration, so the new server / database is picked up and started
automatically.
2010-08-28 23:10:08 +00: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 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 2ee665ac96 Merge branch 'master' of git://projects.ceondo.com/indefero 2010-06-21 23:23:26 +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
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 af4f5aaeb0 make the path to the monotone executable configurable 2010-04-29 01:37:28 +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
Loic d'Anterroches cb375dea26 Fixed issue 272, cfg max_upload_size ignored. 2009-08-03 21:10:06 +02:00
Loic d'Anterroches ac7be1bde2 Fixed issue 253, last login time for users is off. 2009-07-11 10:55:47 +02:00
Loic d'Anterroches 08bc58848f Fixed issue 178, improved reading of extra text files. 2009-04-07 10:41:13 +02:00
Manuel Eidenberger 42c6f53fbc Added the ability to configure the paths to the SCM executables. 2009-02-25 14:28:14 +01:00
Loic d'Anterroches 75ec32765c Added the ability to add download extension and control the download size. 2009-02-16 18:04:03 +01:00
Loic d'Anterroches 6153cd0b13 Fixed issue 119, no environment for the shell_exec and exec calls.
For each call exec or shell_exec, I have added the ability to prepend a
string. For example '/usr/bin/env -i '.
2009-01-29 20:29:45 +01:00
Loic d'Anterroches f203f7d78f Fixed bad help message for the git access.
Git has 2 methods to access a repository, one with gitdaemon to do a
checkout and one with SSH to perform the push. We need to provide those
2 methods.
2009-01-26 17:58:58 +01:00
Loic d'Anterroches ef197fc6ab Added a note about the plugins in the default conf file. 2009-01-20 10:36:41 +01:00
Loic d'Anterroches 11ddf00062 Updated the default configuration to match the INSTALL file. 2009-01-12 22:37:36 +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 ef3adafa02 Added the CSRF control by default in the configuration. 2008-12-07 12:58:44 +01:00
Loic d'Anterroches 5bd4fed8f4 Updated to simplify the configuration.
We do not need to have the extra tags and modifiers in the configuration
as a signal is taking care of that. That way we can add new tags,
modifiers without the need to update the configuration settings.
2008-12-05 11:53:22 +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 1332ba7eda Improved the documentation based on user feedback. 2008-11-26 21:34:47 +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 39d015a586 Added a simpler way to configure the repositories. 2008-11-24 20:27:03 +01:00
Benjamin Jorand 08145b7b1c Added the support of Mercurial. 2008-11-23 17:45:00 +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 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 18da9ed72f Renamed to match Pluf conventions and fix issue 56. 2008-11-18 09:21:49 +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 36623eaf94 Added the default cache configuration. 2008-11-10 15:32:59 +01:00
Loic d'Anterroches bef8ac82b7 Updated to be clearer to for the first installation. 2008-09-04 15:30:39 +02:00
Loic d'Anterroches 2d271f6b69 Restructured one more time to be as SCM independent as possible.
The work is delegated as much as possible to the IDF_Scm_* classes.
2008-09-02 15:51:57 +02:00
Loic d'Anterroches 7383e18dff Fixed issue 4, with fine control over the tabs access.
For each tab, at the exception of the project home and the
administration area, it possible to control the access rights if the
user is anonymous, signed in, member or owner.
2008-08-07 15:35:03 +02:00
Loic d'Anterroches 7070e8a13a Added the language example configuration. 2008-08-06 20:26:30 +02:00
Loic d'Anterroches 6ad7ee8c71 Added integration with git-daemon.
In the configuration it is possible to give a git daemon url to have it
displayed in the source view.
2008-08-04 21:24:07 +02:00
Loic d'Anterroches f40d197478 Updated the template configuration to add the upload path/url. 2008-08-04 08:39:00 +02:00