Florent Bruneau [Fri, 21 Jan 2011 19:28:00 +0000 (20:28 +0100)]
Allow compression of javascript, css, html and xml by apache.
Do not compress images: this is is a bit useless and it is not properly
supported by all browsers.
Note: This commit may require a bit of testing on all supported browsers.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 16 Jan 2011 16:45:30 +0000 (17:45 +0100)]
Merge branch 'xorg/maint' into xorg/1.0.2/master
Florent Bruneau [Sun, 16 Jan 2011 15:58:52 +0000 (16:58 +0100)]
Ensure autocommit is always activated.
This should have two major consequences:
* the rpc should have a view of the db consistent with the view of the
website
* this should reduce the overall memory footprint of the mysql database
since there is no "in progress transaction" and thus no need to keep old
data in the db.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 16 Jan 2011 15:27:15 +0000 (16:27 +0100)]
I need tracing to debug that one.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Mon, 10 Jan 2011 09:46:00 +0000 (10:46 +0100)]
Adapts default picture to main education - picture by Kithyane (Closes #1270).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 9 Jan 2011 15:33:35 +0000 (16:33 +0100)]
Also merges masters and doctorates info; XXX: to be removed if we don't get the M/D list before the merge.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 9 Jan 2011 13:53:22 +0000 (14:53 +0100)]
Fixes csv downloading with IE8 (Closes #1325)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 7 Jan 2011 20:18:23 +0000 (21:18 +0100)]
Fixes display of payments on xnet (Closes #1290).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
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>
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>
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: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 [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 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 [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: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: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 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>
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: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>
Stéphane Jacob [Fri, 10 Dec 2010 14:33:00 +0000 (15:33 +0100)]
Moves education update to the rigth upgrade directory.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 10 Dec 2010 14:30:18 +0000 (15:30 +0100)]
Fixes job insertion.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 10 Dec 2010 14:29:10 +0000 (15:29 +0100)]
Fixes phone deduplication.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 10 Dec 2010 14:28:33 +0000 (15:28 +0100)]
Trims corps before inserting them.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Thu, 9 Dec 2010 21:38:25 +0000 (22:38 +0100)]
Revert "blah"
This reverts commit
0fd9f2081fd8d3e6bff5b4d30d0ea71c47965053.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 9 Dec 2010 21:31:43 +0000 (22:31 +0100)]
Merge branch 'xorg/maint' into xorg/1.0.2/master
Florent Bruneau [Tue, 7 Dec 2010 17:09:31 +0000 (18:09 +0100)]
blah
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 9 Dec 2010 21:27:29 +0000 (22:27 +0100)]
Mode with propagation of the skinning mode (Closes #1355).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Wed, 8 Dec 2010 20:04:07 +0000 (21:04 +0100)]
Uses ProfileVisibility to check publicity.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Dec 2010 19:31:49 +0000 (20:31 +0100)]
Adds Guardia Civil medal.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Dec 2010 18:35:35 +0000 (19:35 +0100)]
Decreases publicity in databse according to previous commits.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Dec 2010 12:48:12 +0000 (13:48 +0100)]
Removes warnings in profile edition.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Dec 2010 12:43:36 +0000 (13:43 +0100)]
Fixes use of wrong object to retrieve the profile's owner.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Dec 2010 12:38:34 +0000 (13:38 +0100)]
Fixes bug in postal addresses formatting.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Dec 2010 12:15:46 +0000 (13:15 +0100)]
Prevents profile's subitems to be more public than the item they belong to (server side).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Dec 2010 10:42:49 +0000 (11:42 +0100)]
Prevents profile's subitems to be more public than the item they belong to (client side).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Dec 2010 09:07:13 +0000 (10:07 +0100)]
Fixes notification about phones.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 7 Dec 2010 00:05:15 +0000 (01:05 +0100)]
Adds onchange function for publicity flags.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 6 Dec 2010 21:16:20 +0000 (22:16 +0100)]
Prevents deletion of private information by secretaries (Closes #1363).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 6 Dec 2010 19:44:28 +0000 (20:44 +0100)]
Allows secretaries to validate entreprises (Closes #1361).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 6 Dec 2010 20:30:25 +0000 (21:30 +0100)]
Allows secretaries and admin to fully edit profiles' names (Closes #1340).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 6 Dec 2010 16:49:56 +0000 (17:49 +0100)]
Adds template for display last profile modifications.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 6 Dec 2010 14:38:25 +0000 (15:38 +0100)]
List last profile modifications for secretary verifications (Closes #1362).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 5 Dec 2010 22:24:15 +0000 (23:24 +0100)]
Moves description list of profile items to Profile class.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 3 Dec 2010 16:05:58 +0000 (17:05 +0100)]
Gives access to entreprise edition to secretaries.
Signed-off-by: Stéphane Jacob <sj@m4x.org>