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>
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>
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>
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 10:46:12 +0000 (11:46 +0100)]
Fixes user check.
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>
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 10:33:19 +0000 (11:33 +0100)]
Fixes acceptance of non member in xnet events.
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>
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 19:31:49 +0000 (20:31 +0100)]
Adds Guardia Civil medal.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Wed, 3 Nov 2010 22:13:48 +0000 (23:13 +0100)]
Cleaner queries while sending NL
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Thu, 2 Dec 2010 19:36:44 +0000 (20:36 +0100)]
Fix SQL error (not enough arguments to fill all the placeholders).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 2 Dec 2010 16:46:39 +0000 (17:46 +0100)]
X.org's admin permission is prevails over X.net-group's permissions.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Tue, 30 Nov 2010 10:36:42 +0000 (11:36 +0100)]
Only updates entreprise if new entreprise id is valid.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 30 Nov 2010 10:30:15 +0000 (11:30 +0100)]
Prevents SQL error.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 29 Nov 2010 14:25:36 +0000 (15:25 +0100)]
Fixes FK contraint.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sun, 28 Nov 2010 11:41:15 +0000 (12:41 +0100)]
Fix syntax errors.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 27 Nov 2010 15:26:06 +0000 (16:26 +0100)]
List RPC: log information in case of authentication failure.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 27 Nov 2010 15:19:24 +0000 (16:19 +0100)]
Lists RPC: print the name of method to execute and fix annoying warning about
int not being subscriptable.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 26 Nov 2010 22:28:38 +0000 (23:28 +0100)]
Fixes smarty error and warnings in payment page.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 21 Nov 2010 17:52:01 +0000 (18:52 +0100)]
Prevents sql error.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 21 Nov 2010 00:20:40 +0000 (01:20 +0100)]
Ooops
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 20 Nov 2010 23:01:23 +0000 (00:01 +0100)]
Fixes erroneous queries.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 20 Nov 2010 17:25:58 +0000 (18:25 +0100)]
Fixes retrieval of deceased from AX database.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 20 Nov 2010 17:22:13 +0000 (18:22 +0100)]
Fixes retrieval of deceased from AX database.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sat, 20 Nov 2010 17:19:52 +0000 (18:19 +0100)]
Since user can have their profile filled with data from the AX, show a
link to the profile in not registered user's minifiches.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Sat, 20 Nov 2010 14:29:04 +0000 (15:29 +0100)]
Removes double X.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 20 Nov 2010 14:26:58 +0000 (15:26 +0100)]
As 'yourself' is not modified when the editor is not the the profile owner, do not say it is in this case.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 20 Nov 2010 14:20:11 +0000 (15:20 +0100)]
If there is no photo, default publicity is 'private'.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 20 Nov 2010 14:13:44 +0000 (15:13 +0100)]
As 'yourself' does not appear when the editor is not the the profile owner, do not save it in this case.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 19 Nov 2010 12:33:07 +0000 (13:33 +0100)]
REPLACE INTO should only be used if the data deletion is wanted.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Pascal Corpet [Fri, 19 Nov 2010 16:28:44 +0000 (17:28 +0100)]
Accelerates jobterms tree browsing and fixes some leaf problems
Stéphane Jacob [Wed, 17 Nov 2010 22:46:53 +0000 (23:46 +0100)]
Fixes events updates (Closes #1343, #1350, #1349, #1348).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 17 Nov 2010 14:14:26 +0000 (15:14 +0100)]
Tiny merge related updates.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Tue, 16 Nov 2010 11:18:09 +0000 (12:18 +0100)]
Finally fix "has paid" lists (Closes #1314)
Page used for "return" from cyberpaiement does not asso_id...
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 15 Nov 2010 22:44:08 +0000 (23:44 +0100)]
Humpf. It seems amount (as 15.00 EUR) is require in payments...
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 15 Nov 2010 22:23:17 +0000 (23:23 +0100)]
Fix payment-related lists (Closes #1291, #1295, 1314)
Also fixes a minor bug with the "<comment>" tag in sent emails.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Sat, 13 Nov 2010 21:06:14 +0000 (22:06 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 12 Nov 2010 20:00:28 +0000 (21:00 +0100)]
Fixes job administration.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 10 Nov 2010 20:51:27 +0000 (21:51 +0100)]
Fixes sex comparison in marketing success email.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 10 Nov 2010 15:53:25 +0000 (16:53 +0100)]
Fixes links to profiles in mailing list administration.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Mon, 8 Nov 2010 16:49:06 +0000 (17:49 +0100)]
Fixed "search my contacts"
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Pascal Corpet [Fri, 5 Nov 2010 20:58:28 +0000 (21:58 +0100)]
Fixes advanced form js in IE7. Closes #1313.
Raphaël Barrois [Fri, 5 Nov 2010 20:14:38 +0000 (21:14 +0100)]
Add support for 'numeric' lists names (e.g 2009@faerix.p.org)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Nov 2010 10:28:43 +0000 (11:28 +0100)]
Correct fix for register emails
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Nov 2010 10:16:22 +0000 (11:16 +0100)]
Fix send/to for "register success" emails.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Thu, 4 Nov 2010 09:34:31 +0000 (10:34 +0100)]
Adds missing array declaration.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 2 Nov 2010 19:08:09 +0000 (20:08 +0100)]
Shows progress after every geocoding.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 2 Nov 2010 18:18:58 +0000 (19:18 +0100)]
Properly reorganises merge issues related scripts.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 2 Nov 2010 17:41:21 +0000 (18:41 +0100)]
Improves a bit more the script about merge issues linked to phone.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 2 Nov 2010 17:40:54 +0000 (18:40 +0100)]
Improves and fixes script about merge issues linked to addresses.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 2 Nov 2010 11:01:38 +0000 (12:01 +0100)]
Improves and fixes script about merge issues linked to phone.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Tue, 2 Nov 2010 15:42:46 +0000 (16:42 +0100)]
Fix promo inscription
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Mon, 1 Nov 2010 22:17:05 +0000 (23:17 +0100)]
Displays degree on profile edition even if university is missing.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 1 Nov 2010 21:52:01 +0000 (22:52 +0100)]
Prevents empty education inclusions.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 1 Nov 2010 20:42:01 +0000 (21:42 +0100)]
Includes AX couple (university, degree), fixes issue with duplicated Stuttgart Uniersity.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 1 Nov 2010 20:40:52 +0000 (21:40 +0100)]
A few fixes in ax table creation (forces charset, increases text size, updates universities name).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 1 Nov 2010 20:39:18 +0000 (21:39 +0100)]
Adds education verifications before merge.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 1 Nov 2010 16:30:08 +0000 (17:30 +0100)]
New script for formatting AX education.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sat, 30 Oct 2010 07:27:37 +0000 (09:27 +0200)]
Avoid double transaction.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Bernardo Freitas Paulo da Costa [Fri, 29 Oct 2010 21:28:26 +0000 (23:28 +0200)]
Typo in cron for profile modifications
Florent Bruneau [Thu, 28 Oct 2010 21:13:23 +0000 (23:13 +0200)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 28 Oct 2010 21:05:12 +0000 (23:05 +0200)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 28 Oct 2010 20:47:54 +0000 (22:47 +0200)]
Real id for the security fix.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 28 Oct 2010 20:44:25 +0000 (22:44 +0200)]
Registration allowed reactivation and resetting password of disabled
accounts.
Registration didn't correctly check that the account was in 'pending'
state allowing a user to complete the first steps of the procedure before
falling on a SQL error on register/end. But, before the error,
register/end had time to update the state of the accounts table setting:
- the new password (the one defined during the registration procedure)
- the state to 'active'
- the registration state
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Thu, 28 Oct 2010 14:09:30 +0000 (16:09 +0200)]
Only gives number of occurencies in profile_merge_issues when database check is verbose and when it is not empty.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 28 Oct 2010 07:06:26 +0000 (09:06 +0200)]
Only sends profile modification notification emails if there are some modifications.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 27 Oct 2010 12:38:21 +0000 (14:38 +0200)]
Fixes NL article insertion.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 27 Oct 2010 12:23:20 +0000 (14:23 +0200)]
Enables access to profile edition pages without providing hrpid, or providing hrpid and page name in the wrong order.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 27 Oct 2010 11:47:17 +0000 (13:47 +0200)]
Fixes vcard export (Closes #1296).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 27 Oct 2010 08:50:52 +0000 (10:50 +0200)]
Fixes jobs addresses.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 27 Oct 2010 08:27:14 +0000 (10:27 +0200)]
Fixes wrong foreach use.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 27 Oct 2010 07:58:30 +0000 (09:58 +0200)]
Removes misplaced t() (Closes #1294).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Tue, 26 Oct 2010 22:18:24 +0000 (00:18 +0200)]
Improve fixes on admin/logger page; remove smarty warnings.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 26 Oct 2010 22:07:31 +0000 (00:07 +0200)]
Fix MySQL query on payment (uid became ambiguous)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 26 Oct 2010 21:56:29 +0000 (23:56 +0200)]
Fix admin/logger page when no user has been selected.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 26 Oct 2010 21:51:34 +0000 (23:51 +0200)]
Fix smarty escaping problem in common skin
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Tue, 26 Oct 2010 17:42:57 +0000 (19:42 +0200)]
Release platal 1.0.1.
Notable changes:
- prepare merge of the directories from X.org and the AX
- interface has been tweaked in order to allow access for non-X
- *lot* of bug fixes in profile and search
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 26 Oct 2010 17:42:28 +0000 (19:42 +0200)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 26 Oct 2010 13:17:00 +0000 (15:17 +0200)]
Reminder for merge issues.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Tue, 26 Oct 2010 09:14:33 +0000 (11:14 +0200)]
Fixes nationalities merge.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 26 Oct 2010 08:56:16 +0000 (10:56 +0200)]
Fixes empty moderator name in validation email (Closes #1293).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Pascal Corpet [Tue, 26 Oct 2010 07:17:04 +0000 (09:17 +0200)]
jobterms fix: JsON validation
Stéphane Jacob [Mon, 25 Oct 2010 22:39:38 +0000 (00:39 +0200)]
Fixes merge conflict pages.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Pascal Corpet [Mon, 25 Oct 2010 22:35:45 +0000 (00:35 +0200)]
Fixes some PHP notice (debug & 4 != 0)