Stéphane Jacob [Mon, 20 Sep 2010 08:19:20 +0000 (10:19 +0200)]
Merge remote branch 'origin/platal-1.0.0'
Stéphane Jacob [Mon, 20 Sep 2010 07:38:40 +0000 (09:38 +0200)]
Uses Address class more.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 20 Sep 2010 07:17:11 +0000 (09:17 +0200)]
Fixes wrong foreign key.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 19 Sep 2010 09:54:17 +0000 (11:54 +0200)]
Actually drops update time from profile_addresses.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 19 Sep 2010 09:53:26 +0000 (11:53 +0200)]
Moves geocoder into approrpiate classes.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Sun, 19 Sep 2010 19:44:26 +0000 (21:44 +0200)]
Add script for filling directory_name for xnet accounts (Closes #1178)
This script tries to guess the directory_name from the full_name.
Any part matching "(...)" or " - ..." will be considered as a comment,
and added to the 'comment' field of the group this user is a member
of (only if there is only one such group and no current comment).
All errors are displayed at the end of the run, the 'directory_name'
won't be fixed for them (still 'NULL'); this list can then be accessed
by simply running the script again.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 19 Sep 2010 18:40:16 +0000 (20:40 +0200)]
Improve xnet account creation (guess correct name/directory_name from email)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 19 Sep 2010 15:31:56 +0000 (17:31 +0200)]
Fix listing of xnetevent participants.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Sun, 19 Sep 2010 15:07:06 +0000 (17:07 +0200)]
Fix in-session authentication.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Sat, 18 Sep 2010 16:13:15 +0000 (18:13 +0200)]
Prevents various warnings on profile edition.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 18 Sep 2010 15:04:32 +0000 (17:04 +0200)]
Prevents a few warnings in validation page.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 18 Sep 2010 14:34:15 +0000 (16:34 +0200)]
Fixes update script for profile_job.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 18 Sep 2010 14:33:57 +0000 (16:33 +0200)]
Drops update time from profile_addresses.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 17 Sep 2010 12:04:25 +0000 (14:04 +0200)]
Renames classes that extend ProfilePage into ProfilePageXXXX.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 17 Sep 2010 10:46:14 +0000 (12:46 +0200)]
Removes var_dump.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 17 Sep 2010 10:00:43 +0000 (12:00 +0200)]
Uses phone class a little bit more.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 17 Sep 2010 09:42:14 +0000 (11:42 +0200)]
Prevents warnings in flags template.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 16 Sep 2010 17:48:40 +0000 (19:48 +0200)]
Fixes on job edition: sector ids removal, hq simplification.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 17 Sep 2010 07:47:22 +0000 (09:47 +0200)]
A few fixes on entreprise validation.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 15 Sep 2010 09:24:17 +0000 (11:24 +0200)]
Adapts geocoding classes to Address class.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 13 Sep 2010 08:27:09 +0000 (10:27 +0200)]
Class Address.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 9 Sep 2010 21:18:58 +0000 (23:18 +0200)]
Nearly finishes foreign keys.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Fri, 17 Sep 2010 14:39:28 +0000 (16:39 +0200)]
Hide 'always-private' fields when profile is edited by an AX secretary.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 17 Sep 2010 14:38:59 +0000 (16:38 +0200)]
User::canEdit takes user permissions into account.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 17 Sep 2010 12:36:31 +0000 (14:36 +0200)]
Merge branch 'platal-1.0.0'
Conflicts:
core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 17 Sep 2010 12:32:14 +0000 (14:32 +0200)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 17 Sep 2010 11:59:34 +0000 (13:59 +0200)]
Only keep pertinent links and data on the main page.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 17 Sep 2010 11:58:39 +0000 (13:58 +0200)]
Add constants to represent available permissions.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 16 Sep 2010 14:49:10 +0000 (16:49 +0200)]
Allow login of 'ax' accounts.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 16 Sep 2010 13:58:28 +0000 (15:58 +0200)]
Rewrite admin/accounts.
This page can now be used as a portal for account management. It provides
the following tools:
* access to account edition page
* list of non-automatic account (currently only 'ax' accounts are listed here)
* small form to add an 'ax' account
* link to other account-related admin pages.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 16 Sep 2010 13:58:13 +0000 (15:58 +0200)]
Add UFC_AccountType filter.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 16 Sep 2010 11:54:40 +0000 (13:54 +0200)]
Fix syntax error.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Pascal Corpet [Mon, 13 Sep 2010 21:17:43 +0000 (23:17 +0200)]
Customizes jstree display
Stéphane Jacob [Mon, 13 Sep 2010 13:01:50 +0000 (15:01 +0200)]
Fetches jstree in Makefile.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Pascal Corpet [Mon, 13 Sep 2010 21:01:57 +0000 (23:01 +0200)]
Adds an initialization to prevent a PHP notice
Raphaël Barrois [Mon, 13 Sep 2010 10:40:02 +0000 (12:40 +0200)]
Typo.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 13 Sep 2010 09:49:39 +0000 (11:49 +0200)]
Various (minor) fixes on jobterms.
More comments, bug fixed too.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Mon, 13 Sep 2010 08:28:16 +0000 (10:28 +0200)]
Removes entreprise name from validation email.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Sun, 12 Sep 2010 23:42:19 +0000 (01:42 +0200)]
Move ProfileVisibility to a separate file.
According to __autoload__ conventions.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Sun, 12 Sep 2010 11:45:37 +0000 (13:45 +0200)]
Fixes autocomplete on first job.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 11 Sep 2010 15:40:12 +0000 (17:40 +0200)]
Gives focus to To on email send page (Closes #1001).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 11 Sep 2010 15:14:07 +0000 (17:14 +0200)]
HTML validation.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 11 Sep 2010 14:42:12 +0000 (16:42 +0200)]
Removes useles code lines.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 11 Sep 2010 10:51:54 +0000 (12:51 +0200)]
Fixes JS on wiki admin page.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 11 Sep 2010 09:50:13 +0000 (11:50 +0200)]
Improves wiki admin page (Closes #1120).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 10 Sep 2010 19:00:50 +0000 (21:00 +0200)]
Fixes tips addition (Closes #1122).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 10 Sep 2010 18:47:42 +0000 (20:47 +0200)]
Fixes display of comments on disabled accounts (Closes #1126).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 10 Sep 2010 17:23:12 +0000 (19:23 +0200)]
Fixes ugly line break (Closes #1144).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 10 Sep 2010 12:26:48 +0000 (14:26 +0200)]
Update core.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 10 Sep 2010 09:48:59 +0000 (11:48 +0200)]
Fixes autocomplete on first empty entreprise (Closes #1232).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 10 Sep 2010 09:27:44 +0000 (11:27 +0200)]
Prevents error display on new empty job.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 9 Sep 2010 21:22:57 +0000 (23:22 +0200)]
Fixes missing braket.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Sep 2010 15:51:04 +0000 (17:51 +0200)]
Typos
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Sep 2010 14:01:52 +0000 (16:01 +0200)]
Removes useless comments.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 8 Sep 2010 13:54:32 +0000 (15:54 +0200)]
Adds foreign keys for group_event_participants and group_members.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 7 Sep 2010 11:14:38 +0000 (13:14 +0200)]
Add foreign keys for profile tables.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Sun, 5 Sep 2010 23:33:08 +0000 (01:33 +0200)]
Add UFC_Mentor for adv. search restriction 'only_referent'
Partial fix for #1206.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 5 Sep 2010 23:02:12 +0000 (01:02 +0200)]
Hotfix for foreign keys in profile_address edition (Closes #1228)
Some foreign_key-referenced fields where empty (''), which meant
inserting '' into the DB instead of NULL.
There might be other similar issues with other foreign keys.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 5 Sep 2010 17:10:23 +0000 (19:10 +0200)]
Less restrictions on allowed chars for search: allow / and +.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 5 Sep 2010 15:16:37 +0000 (17:16 +0200)]
Fix axletter promo restriction.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Sat, 4 Sep 2010 13:49:55 +0000 (15:49 +0200)]
Adds foreign keys for log_sessions.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 4 Sep 2010 13:23:08 +0000 (15:23 +0200)]
Add explanations on email/broken page (Closes #1224).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Vincent Zanotti [Sat, 4 Sep 2010 13:57:38 +0000 (15:57 +0200)]
Ignores suid sessions when determining the cut-off date for removing old
logs. This guarantees that at least two user sessions were kept.
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
Stéphane Jacob [Sat, 4 Sep 2010 10:43:31 +0000 (12:43 +0200)]
Fixes organizer's name on event subscription page (Closes #1215).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 4 Sep 2010 10:16:54 +0000 (12:16 +0200)]
Typo
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 4 Sep 2010 09:54:15 +0000 (11:54 +0200)]
Fixes clear function in accounts.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 4 Sep 2010 09:28:52 +0000 (11:28 +0200)]
Allows account deletion (Closes #1197).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 4 Sep 2010 07:50:31 +0000 (09:50 +0200)]
Display more info about education on profile pages (Closes #1186).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Pascal Corpet [Thu, 2 Sep 2010 22:21:51 +0000 (00:21 +0200)]
Displays info when autocomplete finds nothing instead of quitting silently autocomplete
Raphaël Barrois [Thu, 2 Sep 2010 17:09:47 +0000 (18:09 +0100)]
Fix issue with Geocoding for Paypal payment.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 2 Sep 2010 15:06:10 +0000 (16:06 +0100)]
Switch to latest core (minor update)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Thu, 2 Sep 2010 14:25:08 +0000 (16:25 +0200)]
Use (+33) prefix for French phones (Closes #1172).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 2 Sep 2010 12:45:57 +0000 (14:45 +0200)]
Adds foreign keys for uid and pid for most tables.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Pascal Corpet [Wed, 1 Sep 2010 21:52:35 +0000 (23:52 +0200)]
Clean url in advanced search. Closes #1177
Stéphane Jacob [Wed, 1 Sep 2010 16:44:56 +0000 (18:44 +0200)]
Uniformizes pid and uid fields in database (Closes #1207).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Wed, 1 Sep 2010 09:15:23 +0000 (11:15 +0200)]
Fix return value of UFCs when VIS_PUBLIC and filtering on private data.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 31 Aug 2010 23:57:39 +0000 (01:57 +0200)]
Add visibility filters to all UserFilter queries (Closes #1033).
Those will catch the default visibility from ProfileVisibility.
Also improve the addPhotoFilter() function in UserFilter.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 31 Aug 2010 23:49:43 +0000 (01:49 +0200)]
Improve default ProfileVisibility wrt new perm levels.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Mon, 30 Aug 2010 16:43:15 +0000 (18:43 +0200)]
Displays last and first names in the order announced on the top line in directory csv.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 30 Aug 2010 15:32:54 +0000 (17:32 +0200)]
Oops
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Mon, 30 Aug 2010 13:09:43 +0000 (15:09 +0200)]
Take directory_* permissions into account when accessing a profile.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 30 Aug 2010 12:22:56 +0000 (14:22 +0200)]
Add a debug flag (DEBUG_NOCACHE = 256) to disable caching of DirEnums and other
data in session.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 30 Aug 2010 12:15:32 +0000 (14:15 +0200)]
Stricter validation of the context of 'mixed' search fields when text
version is given.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Pascal Corpet [Sun, 29 Aug 2010 22:40:38 +0000 (00:40 +0200)]
Ooops, why did my firefox accepted it before?
Pascal Corpet [Sun, 29 Aug 2010 22:22:33 +0000 (00:22 +0200)]
Changelog : jobterms
Pascal Corpet [Sun, 29 Aug 2010 22:12:13 +0000 (00:12 +0200)]
Fixes referent search (include jobterms)
Pascal Corpet [Fri, 27 Aug 2010 18:58:57 +0000 (20:58 +0200)]
Moves referent search from profile to search module
Pascal Corpet [Sun, 25 Jul 2010 19:26:59 +0000 (21:26 +0200)]
Replace sectors by job terms in profile and search (job and mentoring).
Pascal Corpet [Sun, 4 Jul 2010 23:04:33 +0000 (01:04 +0200)]
Prepares database for job terms.
Tokenize job terms for search
Pascal Corpet [Sun, 29 Aug 2010 18:36:25 +0000 (20:36 +0200)]
Fixes country restriction in referent search
Stéphane Jacob [Sun, 29 Aug 2010 17:38:40 +0000 (19:38 +0200)]
Merge remote branch 'origin/platal-1.0.0'
Stéphane Jacob [Sun, 29 Aug 2010 17:30:48 +0000 (19:30 +0200)]
An education should always contain a university and a degree.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 29 Aug 2010 17:01:27 +0000 (19:01 +0200)]
Fixes query in paypal paiments.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Fri, 27 Aug 2010 16:36:44 +0000 (18:36 +0200)]
Fix profile "refreshing" in NamesReq.
Also fixes User->getLogin($login) with login being a uid.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 26 Aug 2010 21:37:10 +0000 (23:37 +0200)]
Update core (fix stupid error in PlFilterGroupeableOrder)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 23 Aug 2010 20:57:37 +0000 (22:57 +0200)]
Fix db names in DirEnum (corps_* => profile_corps_*)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 22 Aug 2010 22:14:13 +0000 (00:14 +0200)]
Add support for "PlFilter groups"
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 22 Aug 2010 22:15:28 +0000 (00:15 +0200)]
Update core for UserFilter groups.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 16 Aug 2010 22:12:09 +0000 (00:12 +0200)]
Update SearchSet args() function, and core for same functions.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 11 Aug 2010 09:19:27 +0000 (11:19 +0200)]
Improve the PlView code, adding comments.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>