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>
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>
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>
Raphaël Barrois [Mon, 8 Nov 2010 17:19:55 +0000 (18:19 +0100)]
Add link to account types from account creation page.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Sun, 7 Nov 2010 16:36:46 +0000 (17:36 +0100)]
Javascript cleanup again.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 7 Nov 2010 15:48:17 +0000 (16:48 +0100)]
Improves jQuery extension in xorg.js.
This provides the following Ajax-based API:
$.xget(url, data, onSuccess, onError, type);
$.xgetJSON(url, data, onSuccess, onError);
$.xgetScript(url, onSuccess, onError);
$.xpost(url, data, onSuccess, onError, type);
These functions support does the same as the jQuery's default ajax
function (without 'x' prefix) but distinguish the case of http success and
the case of http error (500, 40x). By default onSuccess is null, while
onError display an alert.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Nov 2010 22:44:51 +0000 (23:44 +0100)]
Remove ajax.js.
A large part of ajax.js has been integrated as an extension of jQuery
($([selector]).updateHtml(), ...).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Nov 2010 20:27:29 +0000 (21:27 +0100)]
Move header javascript to xorg.js.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Nov 2010 07:52:46 +0000 (08:52 +0100)]
Implements export() and fromExport() for UF and some UFCs.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Nov 2010 07:52:46 +0000 (08:52 +0100)]
Implements export() and fromExport() on UFOs.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 5 Nov 2010 22:23:37 +0000 (23:23 +0100)]
Split userfilter.php
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 5 Nov 2010 22:14:14 +0000 (23:14 +0100)]
Update following core@
7da01959a.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 5 Nov 2010 21:08:37 +0000 (22:08 +0100)]
Minimum hacking to have a working site.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 30 Oct 2010 14:11:45 +0000 (16:11 +0200)]
Upgrade jquery for next release.
jQuery from 1.4.2 to 1.4.3
jQuery UI: from 1.6 to 1.8.5 (minified)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 26 Oct 2010 20:14:59 +0000 (22:14 +0200)]
Set memory_limit to 64M and disable debug (and backtraces) in CLI scripts.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 17 Oct 2010 20:01:57 +0000 (22:01 +0200)]
Update core.
Also update the documentation of the parameters in platal.ini.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Thu, 27 Jan 2011 11:31:56 +0000 (12:31 +0100)]
Allows AX secretaries to see profiles on AX website.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 24 Jan 2011 13:05:56 +0000 (14:05 +0100)]
Explains which addresses will be displayed in the directory (Closes #1379).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 24 Jan 2011 09:23:27 +0000 (10:23 +0100)]
Suggests user to delete obsolete addresses or jobs when she has more than one.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 23 Jan 2011 14:37:33 +0000 (15:37 +0100)]
Shortens message when we refuse an entreprise.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 22 Jan 2011 18:30:10 +0000 (19:30 +0100)]
Only cleans existing entreprise.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
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>