Commit Graph

29 Commits

Author SHA1 Message Date
Thomas Keller
784c9718eb Implemented an extended user profile based on a patch from Jethro Carr (issue 510).
Changes with respect to the original patch:
- use Gconf instead of separate table / data scheme
- better form validation for URLs and emails
- no htmlentity-encoded contents in the database (pluf automatically safe-encodes
  stuff before it writes out contents into templates)
- add visual separators in the form views to have a distinct view of basic
  (important) data and other data which are only displayed in the public profile
- give a hint about the maximum display size of 60x60 px^2 and use max-width and
  max-height in the templates to avoid nasty distortions by the browser
- use target=_blank and rel=nofollow on the twitter and website links in the profile
- some whitespace / formatting / code style fixes
2010-12-05 01:22:32 +01:00
Thomas Keller
b4bc6abace Make the monotone master branch editable on forge level at least to
make it possible to switch the default project branch (partially
fixes issue 560)
2010-11-17 00:47:55 +01:00
Thomas Keller
e776fc0713 Switch doctype from html 4.01 strict to xhtml 1.0 transitional, we
largely ignored the former with xml-like constructs either
(closes issue 511).
2010-10-31 18:26:31 +01:00
Thomas Keller
7e10524f92 Add a popup menu in the main menu which allows to quickly jump between projects.
* refactor out the common menu code from several base*.html classes into main-menu.html
  and put the raw links into a unordered list (which makes it easier to create dynamic
  menus as we cannot insert block items into inline items in strict mode)
* query the list of available projects on every request and set them for every template
  in Middleware.php
* make the popup menu pretty
2010-10-15 00:40:09 +00:00
Loïc d'Anterroches
439014b0b1 Fixed ticket 479, project editing inconsistency. 2010-09-02 14:16:41 +02: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
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
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
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
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
Loic d'Anterroches
0873d44162 Added the database usage statistics. 2009-06-19 22:42:44 +02:00
Loic d'Anterroches
d6c0b7a680 Added forge size statistics. 2009-06-19 21:10:37 +02: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
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
dc5cdd74af Added the ability to set the staff flag of a user. 2009-01-02 12:07:41 +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
2bfa4478e1 Added the ability to mark a project as private at creation time. 2009-01-01 22:11:23 +01:00
Loic d'Anterroches
f6fb6c5ccc Fixed inconsistency in the link. 2008-12-19 11:32:21 +01:00
Loic d'Anterroches
9c5156e6ef Added the first work on the administration area. 2008-12-01 00:36:27 +01:00