Vincent Zanotti [Wed, 18 Jun 2008 21:51:37 +0000 (23:51 +0200)]
Moves upgrade scripts to a dedicated directory (will ease up merge of hruid feature branch).
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Mon, 16 Jun 2008 15:46:54 +0000 (17:46 +0200)]
Merge branch 'platal-0.9.17' into hruid
Conflicts:
include/banana/forum.inc.php
modules/forums.php
modules/marketing.php
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 02:08:08 +0000 (04:08 +0200)]
Remove the call to get_user_forlife in /profile/ax.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Mon, 16 Jun 2008 02:00:56 +0000 (04:00 +0200)]
Removes calls to get_user_forlife in profile view.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Mon, 16 Jun 2008 01:48:23 +0000 (03:48 +0200)]
Removes get_user_forlife calls from /marketing/broken.
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 [Mon, 16 Jun 2008 01:12:12 +0000 (03:12 +0200)]
Removes get_user_forlife calls in VCards.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Mon, 16 Jun 2008 01:09:39 +0000 (03:09 +0200)]
Removes calls to get_user_forlife in carnet.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Mon, 16 Jun 2008 01:08:55 +0000 (03:08 +0200)]
Fixes direct references to abstrat PlUser methods.
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>
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>
Vincent Zanotti [Sun, 15 Jun 2008 22:39:00 +0000 (00:39 +0200)]
Converts GoogleApps to the new hruid/forlife scheme.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 15 Jun 2008 22:37:59 +0000 (00:37 +0200)]
Fixes commit
e3a55098b1cfd274d8965fc307a316d9f0c447a1 (Banana conversion to hruid).
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 15 Jun 2008 21:13:26 +0000 (23:13 +0200)]
Converts Banana to the new forlife/hruid scheme.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 15 Jun 2008 18:52:12 +0000 (20:52 +0200)]
Finally makes xorg/xnet sessions compliant with the new forlife/hruid scheme.
Adds a session-based User object, generated at runtime from sessions variables, without any SQL requests.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 15 Jun 2008 18:51:40 +0000 (20:51 +0200)]
Allows the use of 'uid' as an alias for 'user_id' in FromValues instantiation of PlUser.
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>
Vincent Zanotti [Sun, 15 Jun 2008 16:26:36 +0000 (18:26 +0200)]
Allows the PlUser class to be instantiated lazily (prevents useless SQL queries).
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 15 Jun 2008 15:28:01 +0000 (17:28 +0200)]
Merge branch 'platal-0.9.17' into hruid
Vincent Zanotti [Sun, 15 Jun 2008 15:25:43 +0000 (17:25 +0200)]
Moves SQL-dependant method of PlUser to the Polytechnique.org's implementation of PlUser.
Signed-off-by: Vincent Zanotti <vincent.zanotti@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
Vincent Zanotti [Sun, 15 Jun 2008 14:49:35 +0000 (16:49 +0200)]
Renames CoreUser to PlUser to comply with platal-core coding rules.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 15 Jun 2008 14:37:42 +0000 (16:37 +0200)]
Creates a User class to handle user identification.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
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>
Vincent Zanotti [Sat, 14 Jun 2008 23:56:18 +0000 (01:56 +0200)]
Updates the get_user_login() function to the new forlife/hruid system.
This commit breaks most of the code of the current branch.
In short: get_user*forlife* return the user's canonical email adresse (ie.
forlife@domain), while get_user*hruid* return the user's unique human readable
uid (initially set to forlife).
Signed-off-by: Vincent Zanotti <vincent.zanotti@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 16:35:30 +0000 (18:35 +0200)]
Removes the last direct call to get_user_login().
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Fri, 13 Jun 2008 14:17:31 +0000 (16:17 +0200)]
Migrates Xorg/Xnet's session to the new hruid field, and add it as a session variable.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Fri, 13 Jun 2008 12:59:32 +0000 (14:59 +0200)]
Merge branch 'master' into hruid
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>
Vincent Zanotti [Fri, 13 Jun 2008 00:44:15 +0000 (02:44 +0200)]
Adds a new 'hruid' column (Human Readable UID) to the auth_user_md5 table.
Adds hruid migration scripts.
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>
Stéphane Jacob [Thu, 5 Jun 2008 14:48:01 +0000 (16:48 +0200)]
In French address only takes one d
Olivier Le Floch [Thu, 5 Jun 2008 11:11:23 +0000 (13:11 +0200)]
Update Changelog ; fix order of entries in the Lists section, add entries for my latest commits
Stéphane Jacob [Thu, 5 Jun 2008 10:06:08 +0000 (12:06 +0200)]
Fix the display of the sample refusal message in the email moderation interface (Closes #813)
Olivier Le Floch [Thu, 5 Jun 2008 00:13:23 +0000 (02:13 +0200)]
Enable clicking on text to select messages in the mailing list moderation page
It's too bad scripts are inlined, this really makes for crappy code, I think.
Stéphane Jacob [Wed, 4 Jun 2008 22:22:13 +0000 (00:22 +0200)]
Redirects users toward the support in case of missing options in the profile
Florent Bruneau [Wed, 4 Jun 2008 21:11:09 +0000 (23:11 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 21:10:05 +0000 (23:10 +0200)]
Group managers can change the visibility of the group (Closes #814)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Wed, 4 Jun 2008 21:06:00 +0000 (23:06 +0200)]
Centers the broken email box on the broken email page
Florent Bruneau [Wed, 4 Jun 2008 20:56:22 +0000 (22:56 +0200)]
Fix alias subscription when changing user status.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 20:37:07 +0000 (22:37 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 20:32:59 +0000 (22:32 +0200)]
Fix redirection when changing user type to a not registered user (Closes #824)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 20:15:30 +0000 (22:15 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 20:14:01 +0000 (22:14 +0200)]
Properly unsubscribe from group MLs when leaving the group (Closes #806)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 20:02:27 +0000 (22:02 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 20:01:36 +0000 (22:01 +0200)]
Fix encoding issues in ML edition page. (Closes #810)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 19:55:30 +0000 (21:55 +0200)]
Updating ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 19:53:47 +0000 (21:53 +0200)]
No warning when adding an external address to a ML (Closes #839)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 19:44:50 +0000 (21:44 +0200)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 4 Jun 2008 19:32:56 +0000 (21:32 +0200)]
Clear mentor entry of the user when is expertise is empty.
(Closes #840)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Wed, 4 Jun 2008 19:32:00 +0000 (21:32 +0200)]
Adds the nom_usage field and fixes the problem of the admin name absence in the admin intervention mail
Stéphane Jacob [Tue, 3 Jun 2008 16:41:59 +0000 (18:41 +0200)]
Fixes last commit.
Stéphane Jacob [Tue, 3 Jun 2008 15:14:00 +0000 (17:14 +0200)]
Allows to easily come back to the full view once in the main address view
Stéphane Jacob [Tue, 3 Jun 2008 12:43:31 +0000 (14:43 +0200)]
Adds warning when the monitoring page is not properly filled (Closes #805)
Stéphane Jacob [Mon, 2 Jun 2008 14:10:00 +0000 (16:10 +0200)]
Typos
Olivier Le Floch [Sun, 1 Jun 2008 21:13:06 +0000 (23:13 +0200)]
Correction - CSS code that shouldn't have been removed, fixes an IE CSS bug.
Florent Bruneau [Sun, 1 Jun 2008 10:28:16 +0000 (12:28 +0200)]
Merge branch 'platal-0.9.16'
Conflicts:
modules/auth/auth.inc.php
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 1 Jun 2008 10:26:33 +0000 (12:26 +0200)]
Remove hack on auth-groupex to force X.org admins to be group admins.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 31 May 2008 21:12:50 +0000 (23:12 +0200)]
Merge branch 'platal-0.9.16'
Florent Bruneau [Sat, 31 May 2008 21:10:55 +0000 (23:10 +0200)]
Fix 'perms' field in auth groupex
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Olivier Le Floch [Fri, 30 May 2008 15:52:39 +0000 (17:52 +0200)]
Fix '...' entry in advanced search, clicking it now has no effect (better than inserting '...' into the input)