Florent Bruneau [Sun, 3 Oct 2010 08:56:24 +0000 (10:56 +0200)]
Add make up and make update (update the working copy).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Damien Bobillot [Sun, 3 Oct 2010 04:34:23 +0000 (06:34 +0200)]
Integration of new features for admin > payments :
- view transactions
- manage bank account numbers (RIBs)
- reconcilation between bank data and platal database
- manage money transfers towards groups
- manage the list of payment methods
Florent Bruneau [Sat, 2 Oct 2010 10:35:36 +0000 (12:35 +0200)]
Fix signature in moderation mail template.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 1 Oct 2010 14:44:52 +0000 (16:44 +0200)]
Use raw variants of XDB calls in UserFilter.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 1 Oct 2010 14:23:45 +0000 (16:23 +0200)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 1 Oct 2010 12:06:10 +0000 (14:06 +0200)]
Smarty's {profile} function now prints the category instead of the promo.
For users with a promotion this does not change anything, for others this
adds useful information. Example:
DUCHMOL Thierry (Secrétariat de l'AX)
BRUNEAU Florent (X2003)
DURET Brigitte (Personnel de l'X)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 1 Oct 2010 12:04:10 +0000 (14:04 +0200)]
Add User::category().
The category is:
* the promotion if the user have one
* the description of the type of the user's account.
Add default description for already defined user account types (this
description can be edited through the admin/account/types page).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 1 Oct 2010 12:02:29 +0000 (14:02 +0200)]
Minor fixes of account administration pages.
* Don't try to clear the profile of the user when the user has no associated
profile.
* Fix inverted firstname <-> lastname in account creation form
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 1 Oct 2010 11:52:31 +0000 (13:52 +0200)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 1 Oct 2010 10:20:58 +0000 (12:20 +0200)]
Fix update scripts.
Warning, this disable some foreign keys definition that didn't work. The
disabled keys are commented in 11_jobs and 12_profiles.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 1 Oct 2010 08:19:38 +0000 (10:19 +0200)]
Fix some texts in profile edition.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Raphaël Barrois [Thu, 30 Sep 2010 22:15:21 +0000 (00:15 +0200)]
Fix advanced search for sections.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 28 Sep 2010 00:35:32 +0000 (02:35 +0200)]
Add simple script to allow for exporting database structure.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Thu, 30 Sep 2010 17:05:21 +0000 (19:05 +0200)]
Address countryId field should be null if no country was found.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Thu, 30 Sep 2010 14:10:03 +0000 (16:10 +0200)]
Don't display jobs marked as 'private' when directory_private permission
is missing.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 30 Sep 2010 14:09:37 +0000 (16:09 +0200)]
Don't display addresses marked as 'private' when directory_private
permission is missing.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 30 Sep 2010 12:15:09 +0000 (14:15 +0200)]
AX enabled version of the first page of the profile edition.
If the profile editor does not have directory_private privileges, hide
private informations.
Note: use <input type="hidden" /> to hide some informations without
breaking the code of the backend. I know this does not hide anything
to somebody who knows html, but remember: this is for the secretaries
of the AX... We can certainly do better in the future, but this requires
some hacking in the php code for phones, networking, addresses, jobs and
I'm too lazy for it.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Raphaël Barrois [Wed, 29 Sep 2010 14:47:37 +0000 (16:47 +0200)]
Minor comment improvement for UFC_AccountPerm
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Wed, 29 Sep 2010 14:26:43 +0000 (16:26 +0200)]
Add UFC_AccountPerm.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 29 Sep 2010 13:51:01 +0000 (15:51 +0200)]
Disable mail-related reminders when the user has an account without email.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 29 Sep 2010 12:47:02 +0000 (14:47 +0200)]
Show only 'public' groups on the profile.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 29 Sep 2010 12:24:35 +0000 (14:24 +0200)]
Add User::isMyProfile($other).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 29 Sep 2010 08:55:24 +0000 (10:55 +0200)]
Display an error message when a phone number is invalid.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 28 Sep 2010 13:46:57 +0000 (15:46 +0200)]
Telephone validation was triggering an invalid error when the profile
contains only the default blank phone number in the main page of
profile/edit.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 28 Sep 2010 13:32:42 +0000 (15:32 +0200)]
Allow edition of the death date in the profile edition page.
Note: for ethical reasons, the user cannot edit his own death date.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 28 Sep 2010 12:44:09 +0000 (14:44 +0200)]
Make profile edition link available from minifiches and profile when the
current user have edit_directory permissions.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Raphaël Barrois [Sun, 26 Sep 2010 21:53:45 +0000 (23:53 +0200)]
Fix UFBF_AdminArea
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 26 Sep 2010 21:53:22 +0000 (23:53 +0200)]
Update modules/search to handle invalid queries
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 26 Sep 2010 17:00:54 +0000 (19:00 +0200)]
Fix advanced search 'form cleanup' JS
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 26 Sep 2010 16:26:56 +0000 (18:26 +0200)]
Fix Address->hasFlag for non-profile addresses
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Mon, 27 Sep 2010 15:29:47 +0000 (17:29 +0200)]
Fix alphabetic order.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 27 Sep 2010 15:21:19 +0000 (17:21 +0200)]
Reorganize the preference page in two panels in order to have something
usable by user without an email redirection.
The two panels are:
* site settings containing settings available to all users:
- skins
- password
- mail format
- rss
* service settings: link to pages with settings for:
- email
- web redirect
- nntp/smtp password
I hope the new page to be clearer than the previous version.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 27 Sep 2010 14:20:48 +0000 (16:20 +0200)]
Fix query in "My Groups" page.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 27 Sep 2010 14:07:03 +0000 (16:07 +0200)]
Remove ValidateIterator, replaced by Validate::iterate().
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Mon, 27 Sep 2010 08:15:44 +0000 (10:15 +0200)]
Deletes all references to sectors as they have been replaced by jobterms.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Mon, 27 Sep 2010 09:38:13 +0000 (11:38 +0200)]
Cannot configure mbox-helper and banana's spool root anymore.
* the mbox-helper is taken from the banana submodule
* banana's spool is put in spool/banana
Note: you need to run "make" in order to use banana on your working copy.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 27 Sep 2010 09:37:33 +0000 (11:37 +0200)]
Use hruid + token for tokenAuth instead of alias + token.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 27 Sep 2010 08:55:19 +0000 (10:55 +0200)]
Keep 'token' in the session since there are hardcoded references to this
variable in the core.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 27 Sep 2010 08:37:51 +0000 (10:37 +0200)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Pascal Corpet [Sun, 26 Sep 2010 21:10:23 +0000 (23:10 +0200)]
fix groupex auth - promo is only the entry year
Pascal Corpet [Sun, 26 Sep 2010 16:22:36 +0000 (18:22 +0200)]
fixes use of field 'nom' and 'prenom' in groupeX auth
Stéphane Jacob [Thu, 23 Sep 2010 11:06:19 +0000 (13:06 +0200)]
Fixes admin search on entreprises.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Wed, 22 Sep 2010 09:31:44 +0000 (11:31 +0200)]
Typo
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 22 Sep 2010 07:53:11 +0000 (09:53 +0200)]
Can create accounts with school or fx permission in addition to those with
ax permission in admin/accounts.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 22 Sep 2010 07:41:09 +0000 (09:41 +0200)]
Add an account type for school administrative staff and for FX secretaries.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Tue, 21 Sep 2010 21:54:03 +0000 (23:54 +0200)]
Fixes request for profile display.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 20 Sep 2010 14:58:45 +0000 (16:58 +0200)]
Only uses autoload to require validation classes.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 20 Sep 2010 09:45:43 +0000 (11:45 +0200)]
Ooops.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 20 Sep 2010 08:47:00 +0000 (10:47 +0200)]
Improves registration cron.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
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>