Vincent Zanotti [Wed, 17 Jun 2009 21:02:31 +0000 (23:02 +0200)]
Merge branch 'platal-0.10.0'
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Wed, 17 Jun 2009 20:59:12 +0000 (22:59 +0200)]
Update core
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Wed, 17 Jun 2009 00:13:37 +0000 (02:13 +0200)]
Update core
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Stéphane Jacob [Mon, 15 Jun 2009 21:22:04 +0000 (23:22 +0200)]
Fixes a SQL error: postfix delayed.
Stéphane Jacob [Mon, 15 Jun 2009 20:40:15 +0000 (22:40 +0200)]
Only displays the OK button when there is some text typed in the search box.
Stéphane Jacob [Mon, 15 Jun 2009 20:37:48 +0000 (22:37 +0200)]
Fixes a SQL error in the creation of a .net group.
Vincent Zanotti [Mon, 15 Jun 2009 18:42:40 +0000 (20:42 +0200)]
Replaces deprecated method S::has_perms with S::admin.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 15 Jun 2009 18:39:03 +0000 (20:39 +0200)]
Fixes a SQL query in modules/axletter/axletter.inc.php.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 15 Jun 2009 18:33:32 +0000 (20:33 +0200)]
Displays a warning to admins when an Auth-GroupeX request is denied
based on the value of the return url.
Also fixes a logging issue.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 15 Jun 2009 15:22:11 +0000 (17:22 +0200)]
Removes an unused access to the 'domain' cookie (which never worked,
since our cookies are prefixed with ORG).
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 15 Jun 2009 15:14:46 +0000 (17:14 +0200)]
Removes direct uses of the ORGuid cookie (cookies should preferrably
only by ever accessed through XorgSession abstractions).
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sun, 14 Jun 2009 21:01:21 +0000 (23:01 +0200)]
Removes the NO_HTTPS flags on three pages:
1. We never serve a non-https link to those pages.
2. Setting NO_HTTPS removes the default DO_AUTH flag, which means an
unauthenticated user will not get the login form.
3. I'm pretty sure the auth cookie is set as secure (at least it
should), which means an user on http will never be authenticated.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 6 Jun 2009 12:22:09 +0000 (14:22 +0200)]
Adds a warning in check_security_fixes.py to warn us when the copy in /root/bin (which is used when executing the script) is not up to date anymore.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 6 Jun 2009 00:18:51 +0000 (02:18 +0200)]
Fixes two bugs in the new OpenId implementation.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Thu, 4 Jun 2009 00:03:41 +0000 (02:03 +0200)]
Improves the OpenID support in plat/al:
* fixes a few security issues (including an XSRF vulnerability);
* simplifies the authorization logic (now using the one advised by Auth::OpenID);
* stops using the session to store OpenID requests (everything is passed in the URL);
* simplifies the design of the trust page, and allows users to disable SReg.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 1 Jun 2009 22:54:48 +0000 (00:54 +0200)]
Updates the look & design of the reminder oneboxes.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 1 Jun 2009 22:02:37 +0000 (00:02 +0200)]
Fix a typo in the reminder table.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Stéphane Jacob [Mon, 1 Jun 2009 22:04:46 +0000 (00:04 +0200)]
Adds ml reminder in sql upgrade.
Stéphane Jacob [Mon, 1 Jun 2009 21:51:11 +0000 (23:51 +0200)]
Typos.
Stéphane Jacob [Mon, 1 Jun 2009 21:40:47 +0000 (23:40 +0200)]
Some alignments.
Stéphane Jacob [Mon, 1 Jun 2009 20:39:20 +0000 (22:39 +0200)]
Adds some authors to AUTHORS.
Vincent Zanotti [Mon, 1 Jun 2009 19:18:33 +0000 (21:18 +0200)]
Allows the remind_next field to be set to NULL so that it is actually possible to disable a onebox (for instance if the user did accept our offer).
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Stéphane Jacob [Mon, 1 Jun 2009 08:44:41 +0000 (10:44 +0200)]
Uses MarkCandidateAsAccepted to improve the reminders speed.
Stéphane Jacob [Sun, 31 May 2009 12:46:22 +0000 (14:46 +0200)]
Fixes IsCandidate in reminders.
Stéphane Jacob [Sun, 10 May 2009 23:03:07 +0000 (01:03 +0200)]
Adds gapps reminder.
Stéphane Jacob [Sun, 10 May 2009 22:16:35 +0000 (00:16 +0200)]
Adds email_backup reminder.
Stéphane Jacob [Sun, 10 May 2009 21:40:45 +0000 (23:40 +0200)]
Adds ml reminder.
Stéphane Jacob [Sun, 10 May 2009 21:40:33 +0000 (23:40 +0200)]
Adds promotion_ml reminder.
Stéphane Jacob [Sat, 9 May 2009 22:30:20 +0000 (00:30 +0200)]
Adds nl reminder.
Stéphane Jacob [Sat, 9 May 2009 22:30:10 +0000 (00:30 +0200)]
Adds ax_letter reminder.
Stéphane Jacob [Sat, 9 May 2009 22:29:51 +0000 (00:29 +0200)]
Makes default reminder template suitable.
Stéphane Jacob [Sat, 9 May 2009 21:56:07 +0000 (23:56 +0200)]
Adds profile_update reminder.
Vincent Zanotti [Wed, 27 May 2009 14:33:41 +0000 (16:33 +0200)]
Update core
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Raphaël Barrois [Wed, 27 May 2009 13:46:02 +0000 (15:46 +0200)]
Fixed typo in emails/send template
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Vincent Zanotti [Sun, 24 May 2009 18:07:09 +0000 (20:07 +0200)]
Adds an helper script to automatically disable old unsafe working copies of plat/al.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 23 May 2009 21:08:51 +0000 (23:08 +0200)]
Update core
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 23 May 2009 21:01:47 +0000 (23:01 +0200)]
Merge branch 'platal-0.10.0'
Vincent Zanotti [Sat, 23 May 2009 21:00:00 +0000 (23:00 +0200)]
Adds a "SECURITY" file which will list our security bugfixes.
Initializes it with the last two holes we fixed.
This will allow me to write an automated tool that can disable working copies on murphy.m4x.org that have been left unattended for too long.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Tue, 19 May 2009 22:06:58 +0000 (00:06 +0200)]
Prevents the RSS/iCal popup to be displayed when the current url points to a resouce.
When a user tries to access anonymously an rss/ics resource, it is offered the sign page; this contain several self-referential links, which, despite the fact they contain "rss" or "ics", are not resources.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Tue, 19 May 2009 13:07:32 +0000 (15:07 +0200)]
Displays an error message when attachment are too large in the X.net bulk email sender.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 18 May 2009 22:41:38 +0000 (00:41 +0200)]
Merge branch 'platal-0.10.0'
Vincent Zanotti [Mon, 18 May 2009 22:40:22 +0000 (00:40 +0200)]
Fixes the iGoogle gadget (invalid order of javascript includes).
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 18 May 2009 22:38:31 +0000 (00:38 +0200)]
Fixes an invalid use of a reference.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 18 May 2009 21:51:25 +0000 (23:51 +0200)]
Adds missing file in previous commit (nicknames on the GoogleApps user admin page).
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sun, 17 May 2009 15:40:38 +0000 (17:40 +0200)]
Adds the list of nicknames to the Google Apps user admin page.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 16 May 2009 22:06:49 +0000 (00:06 +0200)]
Adds a static method for lazily marking a onebox as accepted directly from the IsCandidate method.
This should be used for subscription reminders (eg. the nl reminder: if the user is already subscribed to the newletter, the onebox should be marked as accepted).
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 16 May 2009 21:34:08 +0000 (23:34 +0200)]
Merge branch 'platal-0.10.0'
Vincent Zanotti [Sat, 16 May 2009 21:30:17 +0000 (23:30 +0200)]
Fixes the SUID session start for disabled users.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 16 May 2009 12:50:22 +0000 (14:50 +0200)]
Fixes the mass email deactivation used in the admin user edition page.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Tue, 12 May 2009 22:59:11 +0000 (00:59 +0200)]
Merge branch 'platal-0.10.0'
Vincent Zanotti [Tue, 12 May 2009 22:56:08 +0000 (00:56 +0200)]
Coerces the first name and last name of a registering user to what is stored in
the database.
Previously, a user could register with only parts of her full last name, and the
non-hruid email addresses would be computed from that user provided name.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Tue, 12 May 2009 00:13:42 +0000 (02:13 +0200)]
Merge branch 'platal-0.10.0'
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Tue, 12 May 2009 00:12:19 +0000 (02:12 +0200)]
Fixes the email addresses used to inform participants to an event that they can now pay for it.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sun, 10 May 2009 16:47:05 +0000 (18:47 +0200)]
Removes a forgotten debug statement.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 9 May 2009 23:37:47 +0000 (01:37 +0200)]
Removes an undefined variable warning in AdminModule.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 9 May 2009 22:20:20 +0000 (00:20 +0200)]
Improves the Reminder candidate selection algorithm.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Stéphane Jacob [Sat, 9 May 2009 09:00:16 +0000 (11:00 +0200)]
Adds no_redirection reminder.
Stéphane Jacob [Tue, 5 May 2009 20:20:40 +0000 (22:20 +0200)]
Adds email_warning reminder.
Stéphane Jacob [Sat, 2 May 2009 13:13:02 +0000 (15:13 +0200)]
Initiates reminders.
João Pedro Athayde Marcondes de André [Tue, 5 May 2009 19:14:28 +0000 (21:14 +0200)]
Correct the information: an ev2 2005 may have a immatriculation number 105xxx or 106xxx, it depends on when they have passed their exams.
Stéphane Jacob [Thu, 30 Apr 2009 12:59:42 +0000 (14:59 +0200)]
Fixes bug in the generation of the work address in the vcard.
Stéphane Jacob [Wed, 29 Apr 2009 21:38:43 +0000 (23:38 +0200)]
Only proposes to synchronise the group and its MLs when there is at least one ML in the group.
Stéphane Jacob [Wed, 29 Apr 2009 21:44:45 +0000 (23:44 +0200)]
Some alignement.
Stéphane Jacob [Wed, 29 Apr 2009 21:37:11 +0000 (23:37 +0200)]
Fixes return to payment page from .net.
Stéphane Jacob [Mon, 27 Apr 2009 08:14:26 +0000 (10:14 +0200)]
Adds EUFOR medal.
Olivier Le Floch [Tue, 28 Apr 2009 12:59:44 +0000 (14:59 +0200)]
Fix width of a table in an admin page so that it fits on one line on all skins.
Signed-off-by: Olivier Le Floch <olivier.le-floch@polytechnique.org>
Stéphane Jacob [Sat, 25 Apr 2009 16:40:11 +0000 (18:40 +0200)]
Gives focus to the unique area of the page membres-add.tpl.
Stéphane Jacob [Sat, 25 Apr 2009 16:06:01 +0000 (18:06 +0200)]
Typos.
Stéphane Jacob [Sat, 25 Apr 2009 14:15:37 +0000 (16:15 +0200)]
Notifies the sender when a moderated message to a ML is accepted (I forgot the text of the email).
Stéphane Jacob [Thu, 23 Apr 2009 19:33:44 +0000 (21:33 +0200)]
Notifies the sender when a moderated message to a ML is accepted.
Vincent Zanotti [Mon, 20 Apr 2009 21:26:50 +0000 (23:26 +0200)]
Fixes the generation of hruid in the user mass-add system.
Updates to the latest version of core.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 20 Apr 2009 20:01:07 +0000 (22:01 +0200)]
Revert "Fixes the hruid generation when mass-importing a new promotion."
This reverts commit
1e865041b513cbdec96cfe155d9072e1546d4144.
Stéphane Jacob [Wed, 15 Apr 2009 20:21:53 +0000 (22:21 +0200)]
Fixes default payment url.
Stéphane Jacob [Sat, 11 Apr 2009 22:47:12 +0000 (00:47 +0200)]
Typos.
Vincent Zanotti [Sat, 11 Apr 2009 01:17:34 +0000 (03:17 +0200)]
Adds a safeguard in User::getLogin to prevent a null/empty login from returning a valid but random profile.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Fri, 10 Apr 2009 15:28:41 +0000 (17:28 +0200)]
Implements administrator actions on Google Apps accounts (password synchronization, status change).
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Fri, 10 Apr 2009 15:27:49 +0000 (17:27 +0200)]
Improves the user GoogleApps page: slightly better layout, shorter page, and no more GET-based actions.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Fri, 10 Apr 2009 12:19:08 +0000 (14:19 +0200)]
Fixes an "undefined variable" error in modules/email.php.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Fri, 10 Apr 2009 00:07:11 +0000 (02:07 +0200)]
Merge commit 'origin/platal-0.10.0'
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Wed, 8 Apr 2009 12:14:05 +0000 (14:14 +0200)]
Properly handles the case where an admin search for a good looking IP-address that can't in facts be translated to its 32bits representation.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Fri, 10 Apr 2009 00:02:55 +0000 (02:02 +0200)]
Fixes the hruid generation when mass-importing a new promotion.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Wed, 8 Apr 2009 12:14:05 +0000 (14:14 +0200)]
Properly handles the case where an admin search for a good looking IP-address that can't in facts be translated to its 32bits representation.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Aymeric Augustin [Sun, 5 Apr 2009 19:13:48 +0000 (21:13 +0200)]
Forgotten file...
Aymeric Augustin [Sun, 5 Apr 2009 19:09:58 +0000 (21:09 +0200)]
Save each OpenId transaction in an unique session variable and pass its id in the URL.
Aymeric Augustin [Sun, 5 Apr 2009 18:54:48 +0000 (20:54 +0200)]
Make the OpenId login work even if the user is not logged in on Polytechnique.org.
TODO: do not pass all parameters in the URL, it is twice longer than IE's limit.
Vincent Zanotti [Sun, 5 Apr 2009 09:09:10 +0000 (11:09 +0200)]
Merge branch 'platal-0.10.0'
Vincent Zanotti [Sun, 5 Apr 2009 09:07:53 +0000 (11:07 +0200)]
Finally re-adds jquery.autocomplete.js to the tree, as our source is 403-ing us. The reason is that the autocomplete plugin is now official; we can't use it directly though, as our code is not yet compatible with this new updated version.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 4 Apr 2009 13:11:52 +0000 (15:11 +0200)]
Fixes a typo and a grammar mistake in comments added in the previous commit.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 4 Apr 2009 10:13:49 +0000 (12:13 +0200)]
Prevents password hashs from being broadcasted by email (Closes #965).
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 23 Mar 2009 14:53:06 +0000 (15:53 +0100)]
Fixes the layout of the password box for cookie-authenticated users (the box was too narrow, and all three columns were overflowing).
An alternative option would be to move the "Submit" button to the next line.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 23 Mar 2009 13:47:28 +0000 (14:47 +0100)]
Avoids disabling the Google Apps account when a user account is disabled.
This matches the behavior of email forwarding (requested by Gadz.org).
Also adds a reminder to the admin, so that she doesn't forget to properly remove the forwardings when needed.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Stéphane Jacob [Sun, 22 Mar 2009 15:22:37 +0000 (16:22 +0100)]
Removes confusing reset button.
Vincent Zanotti [Thu, 19 Mar 2009 00:05:44 +0000 (01:05 +0100)]
Merge branch 'platal-0.10.0'
Vincent Zanotti [Thu, 19 Mar 2009 00:04:12 +0000 (01:04 +0100)]
Fixes notification email on removal of "nom d'usage" -- the email was sent to the former bestalias email address.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Florent Bruneau [Tue, 17 Mar 2009 22:25:53 +0000 (23:25 +0100)]
Fix condition to build submodules.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Olivier Le Floch [Wed, 4 Mar 2009 00:45:57 +0000 (01:45 +0100)]
Fix whitespace at the end of the 'Send email to group members' form's textarea.
Signed-off-by: Olivier Le Floch <olivier.le-floch@polytechnique.org>
Olivier Le Floch [Wed, 4 Mar 2009 00:27:05 +0000 (01:27 +0100)]
Shorten the quick search fields, needs to be weighed against the current qucik search solution which does not expose a button. Next solution will probably display a more complete quick search form when the quicksearch field is selected.
Signed-off-by: Olivier Le Floch <olivier.le-floch@polytechnique.org>
João Pedro Athayde Marcondes de André [Wed, 25 Feb 2009 17:56:45 +0000 (18:56 +0100)]
We accord correctly the verb when the mail is to a women.
Florent Bruneau [Mon, 23 Feb 2009 12:36:19 +0000 (13:36 +0100)]
****** pmwiki.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 22 Feb 2009 14:00:49 +0000 (15:00 +0100)]
Use last version of the core.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>