Florent Bruneau [Tue, 11 Jan 2011 22:06:05 +0000 (23:06 +0100)]
Start working on multiple choice questions.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 11 Jan 2011 20:35:04 +0000 (21:35 +0100)]
Improves index page.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
João Pedro Athayde Marcondes de André (JP) [Tue, 11 Jan 2011 15:56:31 +0000 (16:56 +0100)]
Add flag inactive that is different from disabled. On the previous DB inactive corresponds to the '' option that is when the user has unmarked the redirection, while disabled is when the administrators have disabled the redirection/mail.
JP [Tue, 11 Jan 2011 11:29:59 +0000 (12:29 +0100)]
Oops. I had inversed alias/redirection here...
Florent Bruneau [Mon, 10 Jan 2011 21:09:14 +0000 (22:09 +0100)]
Small typo that caused headaches...
Because of this typo, edition of an existing survey was not possible.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Mon, 10 Jan 2011 14:31:30 +0000 (15:31 +0100)]
Updates ChangeLog.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 10 Jan 2011 20:07:47 +0000 (21:07 +0100)]
Fixes contact pdf export with pictures (Closes #1139).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 10 Jan 2011 20:07:10 +0000 (21:07 +0100)]
Updates Core.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sun, 9 Jan 2011 21:55:43 +0000 (22:55 +0100)]
Can save a new survey \o/
Still some bugs, but, hey, you can propose a survey and vote.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 9 Jan 2011 19:51:05 +0000 (20:51 +0100)]
Add labels.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 9 Jan 2011 18:54:50 +0000 (19:54 +0100)]
Lot of improvements of the survey edition form.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 9 Jan 2011 16:00:31 +0000 (17:00 +0100)]
Bases of survey edition interface.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 9 Jan 2011 12:26:32 +0000 (13:26 +0100)]
Datepicker translation, minor theming improvements.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Sun, 9 Jan 2011 01:21:46 +0000 (02:21 +0100)]
Uses Post dedicated trim function when possible.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 9 Jan 2011 01:16:33 +0000 (02:16 +0100)]
Allows email edition before mailing list validation (Closes #1371).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sat, 8 Jan 2011 22:19:55 +0000 (23:19 +0100)]
Add survey edition form (lost a lot of time theming datepicker).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 8 Jan 2011 20:21:48 +0000 (21:21 +0100)]
Cleanup gitignore.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 8 Jan 2011 20:06:46 +0000 (21:06 +0100)]
Cleanup javascript again.
* include core.js
* fix line encoding of sha1.js/secure_hash.js and merge the files
* update code to use $.dynPost() instead of dynpost and dynpostkv
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 8 Jan 2011 19:01:50 +0000 (20:01 +0100)]
Small improvements.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 8 Jan 2011 15:18:11 +0000 (16:18 +0100)]
Rewrite form generation.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 8 Jan 2011 11:46:12 +0000 (12:46 +0100)]
Merge close_on_esc.js into xorg.js.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 7 Jan 2011 23:26:45 +0000 (00:26 +0100)]
Removes duplicated city and postal code in vcard addresses (Closes #1322).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 7 Jan 2011 23:06:01 +0000 (00:06 +0100)]
Displays email aliases in vcards when public (Closes #1323).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Fri, 7 Jan 2011 20:14:06 +0000 (21:14 +0100)]
Simplify js.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 7 Jan 2011 20:14:01 +0000 (21:14 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 7 Jan 2011 15:31:30 +0000 (16:31 +0100)]
Fixes menu when changing rights in Xnet (Closes #1347).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 7 Jan 2011 14:44:27 +0000 (15:44 +0100)]
Updates core.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 7 Jan 2011 14:31:37 +0000 (15:31 +0100)]
Adds explaination about job keywords in profile edition (Closes #1288).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 7 Jan 2011 14:13:25 +0000 (15:13 +0100)]
HTML validation.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 7 Jan 2011 14:05:56 +0000 (15:05 +0100)]
Merge branch 'xorg/1.0.2/master' into xorg/master
Stéphane Jacob [Fri, 7 Jan 2011 14:05:17 +0000 (15:05 +0100)]
Removes erroneous field addition.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 7 Jan 2011 14:02:04 +0000 (15:02 +0100)]
Merge branch 'xorg/1.0.2/master' into xorg/master
Stéphane Jacob [Fri, 7 Jan 2011 10:31:57 +0000 (11:31 +0100)]
Oops.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 7 Jan 2011 06:36:18 +0000 (07:36 +0100)]
Administrations pages for country and language edition (Closes #1320).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 5 Jan 2011 17:54:17 +0000 (18:54 +0100)]
Adds connect.db.inc.php to upgrade/1.1.0.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 5 Jan 2011 17:17:46 +0000 (18:17 +0100)]
Updates language table for better compatibility with iso codes.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 5 Jan 2011 15:13:36 +0000 (16:13 +0100)]
Displays and compares our country and language lists with iso lists.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 5 Jan 2011 15:11:38 +0000 (16:11 +0100)]
Adds error, warning, valid cells for (tiny)bicol tables.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 23:55:18 +0000 (00:55 +0100)]
Removes useless getters from Phone class.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Tue, 4 Jan 2011 20:51:37 +0000 (21:51 +0100)]
Happy New Year!
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Vincent Zanotti [Mon, 3 Jan 2011 20:10:37 +0000 (21:10 +0100)]
Implements the first API handler (/api/1/user/<user>/isRegistered). It
is associated with a new permission, which can only be set as an
additonal permission for existing users (accounts.user_perms).
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 3 Jan 2011 20:08:48 +0000 (21:08 +0100)]
Implements PlSession::apiAuth. The authentication is based on a HMAC
signature, which takes into account the resource, the payload, and the
current timestamp.
It effectively blocks any replay beyond "the same method, within 10
seconds", which is deemed an acceptable risk, as long as API methods are
idempotent.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 21:59:13 +0000 (22:59 +0100)]
Fixes section display in vcard.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 21:58:55 +0000 (22:58 +0100)]
Fixes group display in vcard.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 20:17:04 +0000 (21:17 +0100)]
Adds custom welcome message for group subscription (Closes #1230).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 18:28:46 +0000 (19:28 +0100)]
Gives choice for event subscribtion notification: event creator, group animators, both or nobody (Closes #1233).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 18:05:19 +0000 (19:05 +0100)]
Notifies group admins and event creator when someone subscribes to it.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Vincent Zanotti [Mon, 3 Jan 2011 14:50:52 +0000 (15:50 +0100)]
Reverting the update of core, I was fooled by git-commit -as.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Mon, 3 Jan 2011 14:48:59 +0000 (15:48 +0100)]
Changes the permissions for the GoogleApps handler to 'mail', since it
doesn't work yet for masters/PhDs.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Vincent Zanotti [Sat, 1 Jan 2011 23:20:58 +0000 (00:20 +0100)]
Updates the hooks in module/carnet.php to use the new PlTokenHook.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 13:50:30 +0000 (14:50 +0100)]
Translates comments in BPLCCyberPlus class.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 13:20:46 +0000 (14:20 +0100)]
Prevents warning in PayPal payments for user without profiles.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 12:30:33 +0000 (13:30 +0100)]
Merge branch 'xorg/1.0.2/master' into xorg/master
Stéphane Jacob [Mon, 3 Jan 2011 12:29:07 +0000 (13:29 +0100)]
Fixes indent in BPLCCyberPlus class.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 12:23:15 +0000 (13:23 +0100)]
Fixes HTML validation and user's sex retrieval in payment.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 12:22:12 +0000 (13:22 +0100)]
Fixes PHP errors in PayPal payments (Closes #1318).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 12:20:22 +0000 (13:20 +0100)]
Improves Geocoder::getFirstLines to prevent warnings and unwanted \r.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 3 Jan 2011 11:49:07 +0000 (12:49 +0100)]
Fixes errors in geocoder.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sun, 2 Jan 2011 20:08:54 +0000 (21:08 +0100)]
Merge remote branch 'origin/xorg/1.0.2/master' into xorg/master
Florent Bruneau [Sun, 2 Jan 2011 20:07:59 +0000 (21:07 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/1.0.2/master
Florent Bruneau [Sun, 2 Jan 2011 17:07:22 +0000 (18:07 +0100)]
Fix error in RPC.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 2 Jan 2011 17:02:46 +0000 (18:02 +0100)]
ML-List errors during registration are non-fatal (but still logged).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Sat, 1 Jan 2011 12:48:05 +0000 (13:48 +0100)]
Displays group positions on group's main page.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 31 Dec 2010 18:44:14 +0000 (19:44 +0100)]
Notifies group position modification success.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 31 Dec 2010 17:39:48 +0000 (18:39 +0100)]
Adds positions for group members.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 31 Dec 2010 11:57:03 +0000 (12:57 +0100)]
Fixes comment display in payment email (Closes #1375).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 30 Dec 2010 22:45:09 +0000 (23:45 +0100)]
Adds AX approval date to groups.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 30 Dec 2010 18:22:26 +0000 (19:22 +0100)]
Enables email services for masters and doctorates.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 30 Dec 2010 18:15:38 +0000 (19:15 +0100)]
Merge branch 'xorg/1.0.2/master' into xorg/master
Stéphane Jacob [Thu, 30 Dec 2010 17:16:48 +0000 (18:16 +0100)]
Updates ChangeLog.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 30 Dec 2010 14:06:10 +0000 (15:06 +0100)]
Do not show or propose email services to masters and doctorants for now (Closes #1374, XXX: to be removed once they get access to these services).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Wed, 29 Dec 2010 23:10:59 +0000 (00:10 +0100)]
Merge branch 'xorg/1.0.2/master' into xorg/master
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 28 Dec 2010 16:05:09 +0000 (17:05 +0100)]
Adds 'by AX id' advanced search for admins (Closes #1366)
This field is only available for X.org admins and AX secretaries.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 28 Dec 2010 15:37:17 +0000 (16:37 +0100)]
Split the SearchSet into QuickSet and AdvancedSet
Also move the 'not registered' field for quicksearch into the UFB_Quick.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 28 Dec 2010 15:19:18 +0000 (16:19 +0100)]
Update UFC_SchoolId arguments
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Wed, 29 Dec 2010 01:40:59 +0000 (02:40 +0100)]
Merge branch 'xorg/1.0.2/master'
Stéphane Jacob [Wed, 29 Dec 2010 01:07:27 +0000 (02:07 +0100)]
Adds search on subadministrativearea (Closes #1312).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 29 Dec 2010 01:28:00 +0000 (02:28 +0100)]
Adds adminarea to geoloac_subadministrativearea.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Tue, 28 Dec 2010 21:21:30 +0000 (22:21 +0100)]
Merge remote branch 'origin/xorg/1.0.2/master' into xorg/master
Conflicts:
templates/skin/common.title.header.tpl
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 28 Dec 2010 21:20:06 +0000 (22:20 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/1.0.2/master
Florent Bruneau [Tue, 28 Dec 2010 21:13:41 +0000 (22:13 +0100)]
Fix error case.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 28 Dec 2010 21:09:33 +0000 (22:09 +0100)]
Fix double html-encoding.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 28 Dec 2010 20:57:51 +0000 (21:57 +0100)]
Fix subscription to promotion list during registration.
The actual bug seems to be a synchronisation issue while querying the db
from the RPC: the registration of the user does not seem to be seen by the
RPC. The fix add an explicit transaction around some queries. It also
fixes the name of the list...
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 28 Dec 2010 20:57:37 +0000 (21:57 +0100)]
Print more informations.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 28 Dec 2010 20:57:04 +0000 (21:57 +0100)]
Fix user unsubscription.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Tue, 28 Dec 2010 19:34:33 +0000 (20:34 +0100)]
Updates core.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 28 Dec 2010 19:31:48 +0000 (20:31 +0100)]
Merge branch 'xorg/1.0.2/master'
Stéphane Jacob [Tue, 28 Dec 2010 17:04:27 +0000 (18:04 +0100)]
Fixes erroneous call to global variables.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 28 Dec 2010 17:02:13 +0000 (18:02 +0100)]
Adds corps, job, networking information in broken emails list.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 28 Dec 2010 14:48:52 +0000 (15:48 +0100)]
Fixes deletion of an association education / degree.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 26 Dec 2010 20:57:48 +0000 (21:57 +0100)]
Allows language choice from outside the geocoder.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 26 Dec 2010 20:48:02 +0000 (21:48 +0100)]
Do not search for pseudo country if text only contains one line.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 25 Dec 2010 17:19:07 +0000 (18:19 +0100)]
Improves country detection for postal addresses formatting.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 23 Dec 2010 20:04:13 +0000 (21:04 +0100)]
Also tries to geocode in the country's languages if geocoded and given text don't match.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 23 Dec 2010 17:07:31 +0000 (18:07 +0100)]
Defines default language and location for the geocoder in the configuration file.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 23 Dec 2010 16:35:25 +0000 (17:35 +0100)]
Updates geoloc_* tables and adds official languages to countries.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 21 Dec 2010 15:04:08 +0000 (16:04 +0100)]
Typo.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 20 Dec 2010 21:38:20 +0000 (22:38 +0100)]
Implements PlFilter::getIds.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Mon, 20 Dec 2010 23:44:06 +0000 (00:44 +0100)]
Fix the 'send email to lists' feature on the web interface for Xnet groups.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Mon, 20 Dec 2010 20:41:21 +0000 (21:41 +0100)]
Improves AddressesView to retrieve all postal addresses from the database.
Signed-off-by: Stéphane Jacob <sj@m4x.org>