platal.git
13 years agoReal id for the security fix.
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>
13 years agoRegistration allowed reactivation and resetting password of disabled
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>
13 years agoOnly gives number of occurencies in profile_merge_issues when database check is verbo...
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>
13 years agoOnly sends profile modification notification emails if there are some modifications.
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>
13 years agoFixes NL article insertion.
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>
13 years agoEnables access to profile edition pages without providing hrpid, or providing hrpid...
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>
13 years agoFixes vcard export (Closes #1296).
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>
13 years agoFixes jobs addresses.
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>
13 years agoFixes wrong foreach use.
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>
13 years agoRemoves misplaced t() (Closes #1294).
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>
13 years agoImprove fixes on admin/logger page; remove smarty warnings.
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>
13 years agoFix MySQL query on payment (uid became ambiguous)
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>
13 years agoFix admin/logger page when no user has been selected.
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>
13 years agoFix smarty escaping problem in common skin
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>
13 years agoRelease platal 1.0.1. xorg/1.0.1
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>
13 years agoUpdate core
Florent Bruneau [Tue, 26 Oct 2010 17:42:28 +0000 (19:42 +0200)]
Update core

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoReminder for merge issues.
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>
13 years agoFixes nationalities merge.
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>
13 years agoFixes empty moderator name in validation email (Closes #1293).
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>
13 years agojobterms fix: JsON validation
Pascal Corpet [Tue, 26 Oct 2010 07:17:04 +0000 (09:17 +0200)]
jobterms fix: JsON validation

13 years agoFixes merge conflict pages.
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>
13 years agoFixes some PHP notice (debug & 4 != 0)
Pascal Corpet [Mon, 25 Oct 2010 22:35:45 +0000 (00:35 +0200)]
Fixes some PHP notice (debug & 4 != 0)

13 years agoSplit merge_issues.php into two to fix merges faster.
Stéphane Jacob [Mon, 25 Oct 2010 21:55:59 +0000 (23:55 +0200)]
Split merge_issues.php into two to fix merges faster.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoCloses #1283 : restricts second operation on promo search
Pascal Corpet [Mon, 25 Oct 2010 20:55:45 +0000 (22:55 +0200)]
Closes #1283 : restricts second operation on promo search

13 years agoAdds partial tree for jobterms if autocompletion is not enough. Only in profile editing.
Pascal Corpet [Fri, 22 Oct 2010 20:35:35 +0000 (22:35 +0200)]
Adds partial tree for jobterms if autocompletion is not enough. Only in profile editing.

13 years agoFixes typo (== instead of =)
Pascal Corpet [Mon, 25 Oct 2010 18:36:36 +0000 (20:36 +0200)]
Fixes typo (== instead of =)

13 years agoFix HTML
Pascal Corpet [Fri, 22 Oct 2010 20:54:29 +0000 (22:54 +0200)]
Fix HTML

13 years agoPrevents joins in merge.php.
Stéphane Jacob [Mon, 25 Oct 2010 13:27:17 +0000 (15:27 +0200)]
Prevents joins in merge.php.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoFixes after merge cleanup script.
Stéphane Jacob [Mon, 25 Oct 2010 12:21:55 +0000 (14:21 +0200)]
Fixes after merge cleanup script.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoMerge remote branch 'origin/platal-1.0.0' into platal-1.0.1
Florent Bruneau [Mon, 25 Oct 2010 12:17:55 +0000 (14:17 +0200)]
Merge remote branch 'origin/platal-1.0.0' into platal-1.0.1

13 years agoFixes merge.php (it now works properly in a reasonable time).
Stéphane Jacob [Mon, 25 Oct 2010 12:10:25 +0000 (14:10 +0200)]
Fixes merge.php (it now works properly in a reasonable time).

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoFixes a typo bug (== instead of =) in contacts/csv/birthday
Pascal Corpet [Mon, 25 Oct 2010 08:54:39 +0000 (10:54 +0200)]
Fixes a typo bug (== instead of =) in contacts/csv/birthday

13 years agoA few fixes on how to deal with AX export.
Stéphane Jacob [Sun, 24 Oct 2010 14:46:29 +0000 (16:46 +0200)]
A few fixes on how to deal with AX export.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoUpdate ChangeLog
Florent Bruneau [Sun, 24 Oct 2010 13:59:37 +0000 (15:59 +0200)]
Update ChangeLog

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoAlways allow the creator of the survey to view the results (Closes #1282)
Florent Bruneau [Sun, 24 Oct 2010 13:57:42 +0000 (15:57 +0200)]
Always allow the creator of the survey to view the results (Closes #1282)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoSwitches all tables to InnoDB.
Stéphane Jacob [Sat, 23 Oct 2010 15:18:07 +0000 (17:18 +0200)]
Switches all tables to InnoDB.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoTry to detect real, current location of users in minifiche.
Raphaël Barrois [Thu, 21 Oct 2010 19:52:29 +0000 (21:52 +0200)]
Try to detect real, current location of users in minifiche.

Previous behaviour for 'getMainAddress' was to fetch the first among all
current/home addresses, even if that address was a secondary / temporary
address.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
13 years agoA few fixes on upgrade scripts.
Stéphane Jacob [Thu, 21 Oct 2010 12:08:48 +0000 (14:08 +0200)]
A few fixes on upgrade scripts.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoUncomment foreign keys.
Stéphane Jacob [Thu, 21 Oct 2010 07:50:52 +0000 (09:50 +0200)]
Uncomment foreign keys.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoAdds script to switch sql engine to InnoDB.
Stéphane Jacob [Thu, 21 Oct 2010 07:50:04 +0000 (09:50 +0200)]
Adds script to switch sql engine to InnoDB.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoAdds script for phones and addresses formatting after the merge.
Stéphane Jacob [Wed, 20 Oct 2010 12:50:48 +0000 (14:50 +0200)]
Adds script for phones and addresses formatting after the merge.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoAdds delete method for phone and address classes.
Stéphane Jacob [Wed, 20 Oct 2010 12:50:06 +0000 (14:50 +0200)]
Adds delete method for phone and address classes.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoUpdates merge script: direct use of MySQL is much faster than php.
Stéphane Jacob [Wed, 20 Oct 2010 11:36:03 +0000 (13:36 +0200)]
Updates merge script: direct use of MySQL is much faster than php.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoUpdates merge module.
Stéphane Jacob [Wed, 20 Oct 2010 11:35:29 +0000 (13:35 +0200)]
Updates merge module.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoPrevents choosing first level job terms (too generic). Prevents opening last level...
Pascal Corpet [Wed, 20 Oct 2010 11:19:57 +0000 (13:19 +0200)]
Prevents choosing first level job terms (too generic). Prevents opening last level job terms (no child).

13 years agoFix jobterm edition in profile.
Raphaël Barrois [Wed, 20 Oct 2010 09:59:20 +0000 (11:59 +0200)]
Fix jobterm edition in profile.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
13 years agoRemove hint for using '*' as a wildcard in advanced search.
Raphaël Barrois [Tue, 19 Oct 2010 21:29:38 +0000 (23:29 +0200)]
Remove hint for using '*' as a wildcard in advanced search.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
13 years agoSwitch to latest core.
Raphaël Barrois [Tue, 19 Oct 2010 21:20:07 +0000 (23:20 +0200)]
Switch to latest core.

This should fix profile edition issue wrt 'binets' list.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
13 years agoFix jobterms ajax when smarty debug is enabled.
Raphaël Barrois [Tue, 19 Oct 2010 21:19:27 +0000 (23:19 +0200)]
Fix jobterms ajax when smarty debug is enabled.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
13 years agoFix list of users who paid for the event but didn't register themselves.
Florent Bruneau [Tue, 19 Oct 2010 18:39:27 +0000 (20:39 +0200)]
Fix list of users who paid for the event but didn't register themselves.
(Closes #1281)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoAvoid overflow of the 'Change Permission' drop-down.
Florent Bruneau [Mon, 18 Oct 2010 21:14:23 +0000 (23:14 +0200)]
Avoid overflow of the 'Change Permission' drop-down.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoFinishes pages to fix merge related possible errors.
Stéphane Jacob [Sun, 17 Oct 2010 20:22:31 +0000 (22:22 +0200)]
Finishes pages to fix merge related possible errors.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoInitiates pages to fix merge related possible errors.
Stéphane Jacob [Fri, 15 Oct 2010 16:18:51 +0000 (18:18 +0200)]
Initiates pages to fix merge related possible errors.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoFixes small errors in merge files.
Stéphane Jacob [Fri, 15 Oct 2010 16:16:54 +0000 (18:16 +0200)]
Fixes small errors in merge files.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoAdds merge parameters in configuration files.
Stéphane Jacob [Fri, 15 Oct 2010 14:36:42 +0000 (16:36 +0200)]
Adds merge parameters in configuration files.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoAdds crons to checked if there are remaining issues due to the merge.
Stéphane Jacob [Fri, 15 Oct 2010 13:47:50 +0000 (15:47 +0200)]
Adds crons to checked if there are remaining issues due to the merge.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoRemoves issues once a profile has been validated.
Stéphane Jacob [Fri, 15 Oct 2010 13:47:26 +0000 (15:47 +0200)]
Removes issues once a profile has been validated.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoUpdates core.
Stéphane Jacob [Fri, 15 Oct 2010 13:04:54 +0000 (15:04 +0200)]
Updates core.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoOnly allows deathdate changes if it is made by another user.
Stéphane Jacob [Fri, 15 Oct 2010 12:34:05 +0000 (14:34 +0200)]
Only allows deathdate changes if it is made by another user.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoPrevents warnings.
Stéphane Jacob [Fri, 15 Oct 2010 12:32:10 +0000 (14:32 +0200)]
Prevents warnings.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoTypo.
Stéphane Jacob [Fri, 15 Oct 2010 12:11:36 +0000 (14:11 +0200)]
Typo.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoFixes job's addresses fetching in profile.
Stéphane Jacob [Fri, 15 Oct 2010 12:06:20 +0000 (14:06 +0200)]
Fixes job's addresses fetching in profile.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoAdds setId functionnality to Phone and Address classes.
Stéphane Jacob [Fri, 15 Oct 2010 11:23:25 +0000 (13:23 +0200)]
Adds setId functionnality to Phone and Address classes.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoMerge
Stéphane Jacob [Fri, 15 Oct 2010 11:22:51 +0000 (13:22 +0200)]
Merge

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoPrepares merge
Stéphane Jacob [Wed, 13 Oct 2010 18:05:06 +0000 (20:05 +0200)]
Prepares merge

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoBetter fix for flagset+perms issue.
Florent Bruneau [Thu, 14 Oct 2010 12:25:17 +0000 (14:25 +0200)]
Better fix for flagset+perms issue.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoFix address<->phone association on profile.
Florent Bruneau [Thu, 14 Oct 2010 11:57:01 +0000 (13:57 +0200)]
Fix address<->phone association on profile.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoPermissions where not properly initialized leading to strange behaviors
Florent Bruneau [Thu, 14 Oct 2010 11:26:06 +0000 (13:26 +0200)]
Permissions where not properly initialized leading to strange behaviors
and PHP warning on the first page loaded by the user.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoTry to give better scores to the different tokens of a name (Closes #1276)
Florent Bruneau [Thu, 14 Oct 2010 09:04:10 +0000 (11:04 +0200)]
Try to give better scores to the different tokens of a name (Closes #1276)

This also remove the initial lastname/firstname from the source of tokens
in order to avoid searches that return result without the searched
token.

Index particle with score = 0.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoNew script to perform the upgrade of the site.
Florent Bruneau [Tue, 12 Oct 2010 14:47:38 +0000 (16:47 +0200)]
New script to perform the upgrade of the site.

Instead of calling:
 % cd upgrade/{version}/
 % ./update.sh
The migration of the db can be done through:
 % upgrade/update.sh

The script will automatically discover the version of the upgrade scripts
to be run.

Note: my goal is to build a script that can be used to perform most of the
steps of the migration, not only the upgrade of the db and, if possible,
that can detect the needed upgrades (let say "what must I do to upgrade
this site that ran platal 0.10.1 to platal 1.0.1"). Feel free to
improve this script.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoUpdate core
Florent Bruneau [Tue, 12 Oct 2010 13:18:39 +0000 (15:18 +0200)]
Update core

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoFix some invalid references in UserFilter.
Florent Bruneau [Tue, 12 Oct 2010 11:47:58 +0000 (13:47 +0200)]
Fix some invalid references in UserFilter.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoUpdate ChangeLog
Florent Bruneau [Tue, 12 Oct 2010 08:41:37 +0000 (10:41 +0200)]
Update ChangeLog

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoMerge: improves promotion comparison, adds name comparison.
Stéphane Jacob [Mon, 11 Oct 2010 20:30:06 +0000 (22:30 +0200)]
Merge: improves promotion comparison, adds name comparison.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoUpdate core
Florent Bruneau [Mon, 11 Oct 2010 15:15:36 +0000 (17:15 +0200)]
Update core

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoFix php 'recoverable errors' when saving changes in the profile's job
Florent Bruneau [Mon, 11 Oct 2010 14:53:22 +0000 (16:53 +0200)]
Fix php 'recoverable errors' when saving changes in the profile's job
page.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoSave profile within a SQL transaction in order to avoid inconsistent
Florent Bruneau [Mon, 11 Oct 2010 14:38:40 +0000 (16:38 +0200)]
Save profile within a SQL transaction in order to avoid inconsistent
states if a SQL error occurs while saving the changes.

This change should not have any consequence if the site behave normally
but may improve robustness in case of code errors.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoPublicity of the job was not always properly initialized.
Florent Bruneau [Mon, 11 Oct 2010 14:29:53 +0000 (16:29 +0200)]
Publicity of the job was not always properly initialized.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoDon't show 'report spam' item in menu for user without email account.
Florent Bruneau [Mon, 11 Oct 2010 13:58:17 +0000 (15:58 +0200)]
Don't show 'report spam' item in menu for user without email account.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoUse a dropdown instead of checkbox to select the sex of a new account.
Florent Bruneau [Mon, 11 Oct 2010 13:44:03 +0000 (15:44 +0200)]
Use a dropdown instead of checkbox to select the sex of a new account.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoFix profile/{alias} (that is required for backward compatibility).
Florent Bruneau [Mon, 11 Oct 2010 13:10:47 +0000 (15:10 +0200)]
Fix profile/{alias} (that is required for backward compatibility).

BTW, this also fix the links for profile/{alias}@polytechnique.org

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoMerge remote branch 'origin/platal-1.0.0'
Florent Bruneau [Mon, 11 Oct 2010 12:54:07 +0000 (14:54 +0200)]
Merge remote branch 'origin/platal-1.0.0'

13 years agoFix edition of pending surveys, Closes #1263
Florent Bruneau [Mon, 11 Oct 2010 08:59:16 +0000 (10:59 +0200)]
Fix edition of pending surveys, Closes #1263

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoUpdate ChangeLog
Florent Bruneau [Mon, 11 Oct 2010 09:48:36 +0000 (11:48 +0200)]
Update ChangeLog

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoAllow access to the results of a survey by its owner before the end of the
Florent Bruneau [Mon, 11 Oct 2010 09:37:15 +0000 (11:37 +0200)]
Allow access to the results of a survey by its owner before the end of the
survey. Closes #964

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoFix edition of pending surveys, Closes #1263
Florent Bruneau [Mon, 11 Oct 2010 08:59:16 +0000 (10:59 +0200)]
Fix edition of pending surveys, Closes #1263

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoReplace field for 'networking type' in advanced search (Closes #1251)
Raphaël Barrois [Sun, 10 Oct 2010 18:52:19 +0000 (20:52 +0200)]
Replace field for 'networking type' in advanced search (Closes #1251)

Use a list of options instead.
Special valued: -1 => Any, 0 => empty

Fix UserFilterBuilderFields as well.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
13 years agoForce utf8 in upgrade scripts.
Florent Bruneau [Sun, 10 Oct 2010 13:50:25 +0000 (15:50 +0200)]
Force utf8 in upgrade scripts.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoMerge remote branch 'origin/platal-1.0.0'
Florent Bruneau [Sun, 10 Oct 2010 09:24:53 +0000 (11:24 +0200)]
Merge remote branch 'origin/platal-1.0.0'

13 years agoUpdate core
Florent Bruneau [Sun, 10 Oct 2010 09:24:42 +0000 (11:24 +0200)]
Update core

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoFix ids_from_emails (errors when invalid @x.org emails were given).
Raphaël Barrois [Sat, 9 Oct 2010 23:24:39 +0000 (01:24 +0200)]
Fix ids_from_emails (errors when invalid @x.org emails were given).

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
13 years agoImproves upgrade script.
Florent Bruneau [Fri, 8 Oct 2010 15:47:49 +0000 (17:47 +0200)]
Improves upgrade script.

- If SOURCE_DATABASE environment variable is defined, the scripts begins
  by creating DATABASE and copying the content of SOURCE_DATABASE in
  DATABASE. This feature will be available for all future upgrade
  scripts that starts with "copy_db".

- Disable failing (and in my point of view unfixable) statements:
  ALTER TABLE payment_transactions ADD UNIQUE KEY fullref (fullref)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoUpdates and improves code for Xorg/AX directory merge.
Stéphane Jacob [Tue, 28 Sep 2010 21:22:29 +0000 (23:22 +0200)]
Updates and improves code for Xorg/AX directory merge.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoAdministrators can easily switch between skins (without affecting their
Florent Bruneau [Fri, 8 Oct 2010 09:22:30 +0000 (11:22 +0200)]
Administrators can easily switch between skins (without affecting their
default skin), making tests with a specific skin much easier.

Note: Maybe it might be a better idea to enable this feature for all
users when the site is in debug mode and hide this (even for
administrators) when the site is in release mode.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoAdd profile edition link on minifiche.
Florent Bruneau [Fri, 8 Oct 2010 08:03:00 +0000 (10:03 +0200)]
Add profile edition link on minifiche.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoAdd documentation of all known configuration keys in platal.ini
Florent Bruneau [Thu, 7 Oct 2010 16:33:34 +0000 (18:33 +0200)]
Add documentation of all known configuration keys in platal.ini

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoHTML validation.
Stéphane Jacob [Thu, 7 Oct 2010 14:34:57 +0000 (16:34 +0200)]
HTML validation.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoUpdate core
Florent Bruneau [Thu, 7 Oct 2010 12:22:50 +0000 (14:22 +0200)]
Update core

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoAdd explanation.
Florent Bruneau [Thu, 7 Oct 2010 12:11:26 +0000 (14:11 +0200)]
Add explanation.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoUse XDB::startTransaction() and XDB::commit().
Florent Bruneau [Thu, 7 Oct 2010 12:00:35 +0000 (14:00 +0200)]
Use XDB::startTransaction() and XDB::commit().

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>