Commit Graph

101 Commits

Author SHA1 Message Date
Patrick Georgi
5afd073ff3 If secondary mails exist, print them in account settings, and allow to delete them 2011-02-21 10:57:36 +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
William MARTIN
c7c39c6fa1 Implementation of the watch-list viewer
Fix issue 589
2011-01-05 17:02:06 +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
5af2ab4d97 Make the timeline view and RSS feeds filterable by model (closes issue 543). 2010-10-09 11:53:01 +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
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
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
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
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
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
c486ca928b Added ticket 357, delete wiki article. 2010-02-19 11:46:43 +01: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
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
8345a02aaa Removed the old priority information. 2009-05-15 09:49:51 +02:00
Loic d'Anterroches
08bc58848f Fixed issue 178, improved reading of extra text files. 2009-04-07 10:41:13 +02: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
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
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
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
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
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
36f29dfbfd Removed the dead screen of the administration as not used for the moment.
The first tab of the administration was not used, so I removed it to
remove the clutter, it will be reactivated when it will be possible to
perform forge configuration from there.
2009-01-02 13:34:09 +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
99f82216dd Added ticket 95, ability to get a new password when forgotten. 2009-01-01 21:50:16 +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
ef3adafa02 Added the CSRF control by default in the configuration. 2008-12-07 12:58:44 +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
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