Stéphane Jacob [Fri, 7 Jan 2011 13:44:53 +0000 (14:44 +0100)]
Merge branch 'xorg/master' into xorg/f/xnet-accounts
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 [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>
Stéphane Jacob [Mon, 20 Dec 2010 19:39:39 +0000 (20:39 +0100)]
Adds possibility to add a flag to an address.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 20 Dec 2010 19:28:25 +0000 (20:28 +0100)]
Ooops
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 20 Dec 2010 17:42:07 +0000 (18:42 +0100)]
Prevents warning.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 19 Dec 2010 22:42:30 +0000 (23:42 +0100)]
Deals with unknown corps.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 15 Dec 2010 00:06:45 +0000 (01:06 +0100)]
Outputs csv of postal formatted addresses corresponding to an advanced query (#Closes 1365).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 20 Dec 2010 10:46:12 +0000 (11:46 +0100)]
Fixes user check.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 19 Dec 2010 21:56:35 +0000 (22:56 +0100)]
Prevents warning.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sun, 19 Dec 2010 21:09:50 +0000 (22:09 +0100)]
Update jQuery, add jQuery Tmpl plugin in deps.
Use:
* jQuery 1.4.4
* jQuery UI 1.8.7
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 17 Dec 2010 09:12:30 +0000 (10:12 +0100)]
Wrong UFC.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 14 Dec 2010 23:43:05 +0000 (00:43 +0100)]
Gives mail flag to ax addresses.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Thu, 16 Dec 2010 20:14:06 +0000 (21:14 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 16 Dec 2010 20:11:38 +0000 (21:11 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/master
Conflicts:
core
modules/payment.php
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 16 Dec 2010 20:09:39 +0000 (21:09 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/1.0.2/master
Florent Bruneau [Thu, 16 Dec 2010 20:08:29 +0000 (21:08 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 16 Dec 2010 20:06:53 +0000 (21:06 +0100)]
Cleanup dead handlers in ml moderation cron.
This should avoid manual actions when a temporary error occurred while
processing the moderation requests.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 15 Dec 2010 13:29:54 +0000 (14:29 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 15 Dec 2010 12:45:05 +0000 (13:45 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Mon, 13 Dec 2010 19:50:15 +0000 (20:50 +0100)]
Fixes sql query in payment.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 13 Dec 2010 16:22:44 +0000 (17:22 +0100)]
Adds check for corps.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 13 Dec 2010 16:07:03 +0000 (17:07 +0100)]
Fixes corps insertion.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 13 Dec 2010 14:23:35 +0000 (15:23 +0100)]
Fixes mix in education/degree.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 13 Dec 2010 10:33:19 +0000 (11:33 +0100)]
Fixes acceptance of non member in xnet events.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 12 Dec 2010 20:36:31 +0000 (21:36 +0100)]
Phone publicity -> public.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 12 Dec 2010 20:20:49 +0000 (21:20 +0100)]
Updates publicity if the item we delete is more public than the one we keep.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 12 Dec 2010 20:10:21 +0000 (21:10 +0100)]
Retrieves ax last modification date if more recent than ours.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 12 Dec 2010 17:42:29 +0000 (18:42 +0100)]
Fixes education inclusion.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sun, 12 Dec 2010 20:51:15 +0000 (21:51 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 12 Dec 2010 20:50:42 +0000 (21:50 +0100)]
Oops, in python, it's *sys.*stderr
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 12 Dec 2010 20:24:57 +0000 (21:24 +0100)]
Fix invalid references to S::v('password') when building list-rpc clients.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 12 Dec 2010 19:26:04 +0000 (20:26 +0100)]
Write on stderr... will make logs less useless.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Sun, 12 Dec 2010 16:16:24 +0000 (17:16 +0100)]
Fixes education and job inclusions.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 12 Dec 2010 14:44:49 +0000 (15:44 +0100)]
The first word of the street line should be truncated to 4 letters.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 12 Dec 2010 14:35:01 +0000 (15:35 +0100)]
Improves duplicate addresses deletion.
Signed-off-by: Stéphane Jacob <sj@m4x.org>