Vincent Zanotti [Mon, 30 Jun 2008 00:38:29 +0000 (02:38 +0200)]
Use last version of core.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Mon, 30 Jun 2008 00:35:55 +0000 (02:35 +0200)]
Merge branch 'platal-0.9.17'
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Mon, 30 Jun 2008 00:29:30 +0000 (02:29 +0200)]
Adds XSRF protection to the Profile module.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 29 Jun 2008 23:43:24 +0000 (01:43 +0200)]
Adds XSRF protection to the XnetGrp module.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Sun, 29 Jun 2008 19:03:12 +0000 (21:03 +0200)]
Fix clear cache on X.net
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 29 Jun 2008 18:50:30 +0000 (20:50 +0200)]
Fix a layout issue in 'moment' display.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 20:46:01 +0000 (22:46 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 20:44:06 +0000 (22:44 +0200)]
Store the subscription requests (Closes #823)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 17:49:06 +0000 (19:49 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 17:47:38 +0000 (19:47 +0200)]
Some fixes in user management functions (Closes #849)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 16:13:01 +0000 (18:13 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 16:11:04 +0000 (18:11 +0200)]
* Can use a file to bootstrap the list of members of a list (via list/create)
* Allow 'non-X' addresses to be used at list creation time.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 15:59:37 +0000 (17:59 +0200)]
Can add member to a list using a file (one line per email, one email per line) (Closes #756)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 12:21:26 +0000 (14:21 +0200)]
Fix title of the member edition page if no name is defined.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 12:14:56 +0000 (14:14 +0200)]
Fix entry in list/members when the user has no name in X.net directory.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 28 Jun 2008 12:06:56 +0000 (14:06 +0200)]
Fix alignment issues
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 27 Jun 2008 22:08:34 +0000 (00:08 +0200)]
Merge branch 'platal-0.9.17'
Florent Bruneau [Fri, 27 Jun 2008 22:06:32 +0000 (00:06 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 27 Jun 2008 22:03:59 +0000 (00:03 +0200)]
Fix vcard generation: only users with a valid forlife are added (Closes #846)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 27 Jun 2008 21:41:13 +0000 (23:41 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 27 Jun 2008 21:41:24 +0000 (23:41 +0200)]
Can export X.net directory as a .csv file (Close #847)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 27 Jun 2008 20:53:36 +0000 (22:53 +0200)]
Add a free text field in x.net profile (Closes #848)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 24 Jun 2008 20:51:31 +0000 (22:51 +0200)]
Use last version of core.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 23 Jun 2008 16:12:21 +0000 (18:12 +0200)]
Merge branch 'platal-0.9.17'
Florent Bruneau [Mon, 23 Jun 2008 16:12:02 +0000 (18:12 +0200)]
Merge branch 'platal-0.9.16' into platal-0.9.17
Florent Bruneau [Mon, 23 Jun 2008 16:11:13 +0000 (18:11 +0200)]
Typo and better test.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 21:30:47 +0000 (23:30 +0200)]
Uses $page->setTitle() to set the title of the page.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 21:18:37 +0000 (23:18 +0200)]
Move and factorize code:
* autoload => common.inc.php
* update_{DynamicConf} ==> PlatalGlobals
* update_NbNotifs ==> XorgSession
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 21:01:17 +0000 (23:01 +0200)]
Move globals.inc.php to /classes
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 14:34:27 +0000 (16:34 +0200)]
Merge branch 'platal-0.9.17'
Conflicts:
classes/session.php
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 14:32:41 +0000 (16:32 +0200)]
Auth use Post data, not Env, remove debug.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 14:16:23 +0000 (16:16 +0200)]
The core directory is filled with the core branch.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 14:13:50 +0000 (16:13 +0200)]
The core will be the core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 13:31:50 +0000 (15:31 +0200)]
Move xorg/xnet classes in /classes.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 13:21:54 +0000 (15:21 +0200)]
Add security.inc.php with user check functions.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 13:18:21 +0000 (15:18 +0200)]
Add core in includes.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 13:13:33 +0000 (15:13 +0200)]
Bye xorg.misc.inc.php
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 13:01:04 +0000 (15:01 +0200)]
Rename xorg_ constants to pl_
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 12:44:16 +0000 (14:44 +0200)]
Also move plugins.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 12:36:46 +0000 (14:36 +0200)]
First bench of moves.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 11:44:28 +0000 (13:44 +0200)]
Oops.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 11:43:30 +0000 (13:43 +0200)]
$page is not anymore a global variable.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 10:40:45 +0000 (12:40 +0200)]
Port X.net session to the new schema.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 09:11:45 +0000 (11:11 +0200)]
Fix SUID
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Jun 2008 08:08:36 +0000 (10:08 +0200)]
Fixes
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 21 Jun 2008 23:21:09 +0000 (01:21 +0200)]
Port X.org session management to the new session format.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 21 Jun 2008 20:00:48 +0000 (22:00 +0200)]
Base for the PlSession object.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 21 Jun 2008 17:19:45 +0000 (19:19 +0200)]
{site}.inc.php is the base for all jobs.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 21 Jun 2008 16:46:18 +0000 (18:46 +0200)]
X.net built on new Core schema.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 21 Jun 2008 16:23:23 +0000 (18:23 +0200)]
Globals, Session and Page object are now built by the Platal:: object.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 21 Jun 2008 15:41:09 +0000 (17:41 +0200)]
Rewrite FlagSet in order to run flag operation in constant time.
Rename the class PlFlagSet to conforms to core coding rules.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 21 Jun 2008 14:16:52 +0000 (16:16 +0200)]
Split Globals into PlGlobals and PlatalGlobals:
* PlGlobals is the base class for managing configuration
* PlatalGlobals is specific to X.org usage.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 21 Jun 2008 13:31:41 +0000 (15:31 +0200)]
Rename PlatalPage to PlPage
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 21 Jun 2008 13:21:23 +0000 (15:21 +0200)]
Rename CoreLogger to PlLogger
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Olivier Le Floch [Sat, 21 Jun 2008 12:43:54 +0000 (14:43 +0200)]
Correctly unset the hidden input field for autocompletable-and-select-menu-settable fields. This ensures that if the user enters a value in the 'text' field, the 'integer id' field is ignored. Fixes FS#850.
Florent Bruneau [Sat, 21 Jun 2008 12:58:58 +0000 (14:58 +0200)]
Coding rules.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Olivier Le Floch [Sat, 21 Jun 2008 12:43:54 +0000 (14:43 +0200)]
Correctly unset the hidden input field for autocompletable-and-select-menu-settable fields. This ensures that if the user enters a value in the 'text' field, the 'integer id' field is ignored. Fixes FS#850.
Stéphane Jacob [Thu, 19 Jun 2008 13:14:24 +0000 (15:14 +0200)]
Improves 59887c: uses global domain instead of polytechnique.org, improves javascript and some other small things
Stéphane Jacob [Wed, 18 Jun 2008 18:21:39 +0000 (20:21 +0200)]
Automation of the management of associations' mailing lists (Closes #817), Updates Changelog
Vincent Zanotti [Wed, 18 Jun 2008 19:28:07 +0000 (21:28 +0200)]
Updates ChangeLog.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Tue, 17 Jun 2008 20:16:38 +0000 (22:16 +0200)]
Use normal int everywhere in the table to store user ids (Closes #844).
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Mon, 16 Jun 2008 15:24:19 +0000 (17:24 +0200)]
Convert uses of XDB::(..., $flags->flags()) to XDB::(..., $flags)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 16 Jun 2008 15:16:41 +0000 (17:16 +0200)]
Remove deprecated stuff.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 16 Jun 2008 15:14:36 +0000 (17:14 +0200)]
Improves Banana profile form behavious and use FlagSet to store the flags.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Vincent Zanotti [Mon, 16 Jun 2008 08:55:50 +0000 (10:55 +0200)]
Melix alias visibility in profile should user's alias visibility, not viewer's.
Cf.
50bf984bf184367a83307676441c9bf14555efc8.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Mon, 16 Jun 2008 01:37:01 +0000 (03:37 +0200)]
Fixes a SQL 'typo' in /marketing/broken.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 15 Jun 2008 23:00:24 +0000 (01:00 +0200)]
Melix alias visibility in VCards should be user's visibility, and not viewer's alias visibility.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Sun, 15 Jun 2008 18:43:08 +0000 (20:43 +0200)]
Fix a SQL error.
Use the previous commit to pass FlagSet to XDB
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 15 Jun 2008 18:42:00 +0000 (20:42 +0200)]
Can pass a FlagSet objet to XDB::...({?}). This will fill the corresponding
filed with ->flags()
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 15 Jun 2008 17:14:28 +0000 (19:14 +0200)]
Group managers can choose between receiving notifications or not (default is not).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 15 Jun 2008 16:54:06 +0000 (18:54 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 15 Jun 2008 16:52:38 +0000 (18:52 +0200)]
Not groups managers on member unsubscription (Closes #807)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 15 Jun 2008 16:46:35 +0000 (18:46 +0200)]
Smarty debug for templated mails.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Olivier Le Floch [Sun, 15 Jun 2008 15:12:39 +0000 (17:12 +0200)]
Followup to
c638d8c8103 [Can disable moderation of Unsures.] : Fix spelling in comments and web interface ; optimise javascript code ; add <label> tags to simplify selecting options
Florent Bruneau [Sun, 15 Jun 2008 14:26:50 +0000 (16:26 +0200)]
Can disable moderation of Unsures.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 14 Jun 2008 14:43:46 +0000 (16:43 +0200)]
Add S::rssActivated() to check whether the rss_hash is set AND not empty.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 14 Jun 2008 14:42:18 +0000 (16:42 +0200)]
No RSS popup when the link points the RSS activation form.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Vincent Zanotti [Fri, 13 Jun 2008 12:53:04 +0000 (14:53 +0200)]
Variable 'bestalias' in referent search was in fact a 'forlife'.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Bernardo Freitas Paulo da Costa [Tue, 10 Jun 2008 13:05:36 +0000 (15:05 +0200)]
Typo in css, now default.css should be valid.
(Same changes in keynote and openweb, grep is our friend)
Stéphane Jacob [Tue, 10 Jun 2008 01:09:16 +0000 (03:09 +0200)]
Keeps hidden validation preferences in the database instead of in a cookie (Closes #770), Updates Changelog
Florent Bruneau [Sun, 8 Jun 2008 16:43:34 +0000 (18:43 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 8 Jun 2008 16:40:59 +0000 (18:40 +0200)]
Birthday cron remove old entries (Closes #831)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 8 Jun 2008 16:16:16 +0000 (18:16 +0200)]
Accept 'yellow' passwords, add a hard limit for submit activation.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 8 Jun 2008 16:09:29 +0000 (18:09 +0200)]
Fix minifiche layout for non-admin users.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 8 Jun 2008 16:05:23 +0000 (18:05 +0200)]
Switch to the new trigger pattern.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 8 Jun 2008 15:33:38 +0000 (17:33 +0200)]
Add trigWarning() too. Update xnet CSS.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 8 Jun 2008 14:46:20 +0000 (16:46 +0200)]
Cleaner display for 'trig'.
This add two kinds of triggers:
$page->trigError()
$page->trigSuccess()
The old $page->trig() takes 2 arguments:
- the message to display
- the kind of message ('errors' or 'success'), default is errors in order
to preserve backward compatibility
Plan is to remove all ->trig() calls and switch the trig() method to protected
access rights.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 7 Jun 2008 14:48:19 +0000 (16:48 +0200)]
Don't try to convert non-IP to uint.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 7 Jun 2008 08:15:04 +0000 (10:15 +0200)]
Load jquery.js on all pages.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 6 Jun 2008 06:31:27 +0000 (08:31 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 6 Jun 2008 06:30:14 +0000 (08:30 +0200)]
Mailman don't understand UTF8 (Closes #761)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 6 Jun 2008 01:19:58 +0000 (03:19 +0200)]
Adds admnistration pages for sub-sectors and functions, and a suitable edition page for them (Closes #830)
Olivier Le Floch [Fri, 6 Jun 2008 00:59:22 +0000 (02:59 +0200)]
Fixes #811: Improve interface to add medal ranks and avoid losing data
Olivier Le Floch [Thu, 5 Jun 2008 23:09:47 +0000 (01:09 +0200)]
Reduce quantity of data sent back to the server in the deceased users administration page
Florent Bruneau [Thu, 5 Jun 2008 21:21:26 +0000 (23:21 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 5 Jun 2008 21:19:23 +0000 (23:19 +0200)]
Improve contrast of legend > a on skin 'Espace' (Closes #841)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 5 Jun 2008 21:07:21 +0000 (23:07 +0200)]
Grumpf, remove debug.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 5 Jun 2008 21:05:55 +0000 (23:05 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 5 Jun 2008 21:04:01 +0000 (23:04 +0200)]
Autocomplete enterprise name in profile edition. (Closes #836)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Vincent Zanotti [Thu, 5 Jun 2008 17:32:38 +0000 (19:32 +0200)]
Fixes XSRF protection in admin/deaths.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>