Raphaël Barrois [Tue, 23 Mar 2010 10:54:29 +0000 (11:54 +0100)]
Merge branch 'account'
Raphaël Barrois [Mon, 22 Mar 2010 22:06:37 +0000 (23:06 +0100)]
Display expertise in mentor view
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 21:54:11 +0000 (22:54 +0100)]
Fix referent display
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 21:53:11 +0000 (22:53 +0100)]
Add Profile->displayEmail()
Either fetches it from the owner User, of from the
profile.email_directory field in the DB
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 21:36:52 +0000 (22:36 +0100)]
Add ProfileMentoringSectors / ProfileMentoringCountries
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 20:18:42 +0000 (21:18 +0100)]
Fix minor Smarty warnings in minifiche.tpl
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 19:50:58 +0000 (20:50 +0100)]
Improve batch fetching efficiency
Store in each profile the list of fields which have already been fetched
(avoids refetching an empty field)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 18:35:19 +0000 (19:35 +0100)]
Update visibility model, apply to photo fetching
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 15:47:40 +0000 (16:47 +0100)]
No need for batch loading of Photo data
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 15:08:44 +0000 (16:08 +0100)]
Typo
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 15:06:40 +0000 (16:06 +0100)]
Use batch fetchers for search
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 15:04:30 +0000 (16:04 +0100)]
Add new constant for batch fetching
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 14:59:21 +0000 (15:59 +0100)]
Add support for batch fetchin in Userfilters
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 13:03:43 +0000 (14:03 +0100)]
Update minifiches for new Profile/Account
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 12:50:26 +0000 (13:50 +0100)]
Update core (for PlEmptyIterator)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 12:45:55 +0000 (13:45 +0100)]
Update profile display for new Account/Profile API
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 12:45:11 +0000 (13:45 +0100)]
Store education field in Education objects
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 12:34:05 +0000 (13:34 +0100)]
Fix a warning in profile display
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 12:29:06 +0000 (13:29 +0100)]
Update display of jobs in profiles
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 12:22:12 +0000 (13:22 +0100)]
Give access to Job::$address
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 11:58:59 +0000 (12:58 +0100)]
Fix smarty display_phones for new model
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 11:58:43 +0000 (12:58 +0100)]
Fix smarty display_address for new model
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 10:30:22 +0000 (11:30 +0100)]
Fix ProfileAddresses filtering
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 10:13:37 +0000 (11:13 +0100)]
Modify ProfileFields retrieval API : no more iterators
$profile->getAddresses now returns an array, use
$profile->iterAddresses for a PlIterator
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 09:53:07 +0000 (10:53 +0100)]
Add ProfileCorps to Profile
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 09:24:52 +0000 (10:24 +0100)]
Handle the flag EDUCATION_ALL in ProfileFields
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 09:23:41 +0000 (10:23 +0100)]
Rename education_fmt to display_education and make it a Smarty plugin
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 08:30:34 +0000 (09:30 +0100)]
Fix medals fetching for Profiles
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 22 Mar 2010 08:30:22 +0000 (09:30 +0100)]
Store phones in Profile
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 20 Mar 2010 10:38:29 +0000 (11:38 +0100)]
Add isDead function to Profile
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 20 Mar 2010 00:40:03 +0000 (01:40 +0100)]
Fix smarty assigns for full profile display
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 20 Mar 2010 00:39:40 +0000 (01:39 +0100)]
Add function for fetching more info about a user's groups
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 23:59:03 +0000 (00:59 +0100)]
Fetch section and binets names
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 23:12:15 +0000 (00:12 +0100)]
Simplify profile fetching
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 23:11:57 +0000 (00:11 +0100)]
Fix a few ProfileFields (Medals, Corps)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 23:11:33 +0000 (00:11 +0100)]
Add Medals field to profile
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 17:23:32 +0000 (18:23 +0100)]
Fix ProfileEducation fetching and display
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 16:39:26 +0000 (17:39 +0100)]
Fix display of jobs in minifiches
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 16:37:50 +0000 (17:37 +0100)]
Flatten results yielded by the various ProfileFields
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 16:05:54 +0000 (17:05 +0100)]
Fix warning about abstract static functions
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 14:28:52 +0000 (15:28 +0100)]
Fix fetching of jobs
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 13:30:22 +0000 (14:30 +0100)]
Fix ProfileAddress data fetching
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 19 Mar 2010 01:14:13 +0000 (02:14 +0100)]
Realign FETCH_XXX constants in Profile
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 18 Mar 2010 23:41:19 +0000 (00:41 +0100)]
Fix company queries, enable preload
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 18 Mar 2010 23:33:09 +0000 (00:33 +0100)]
Minor bugfixes in ProfileField (addPhones, addAddresses)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 18 Mar 2010 20:49:25 +0000 (21:49 +0100)]
Fix bug in jobs, fix problem with empty fields
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 18 Mar 2010 17:08:02 +0000 (18:08 +0100)]
Force default visibility of profile
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 18 Mar 2010 17:03:27 +0000 (18:03 +0100)]
Fix constructor visibility issue for ProfileFields
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 17 Mar 2010 17:02:15 +0000 (18:02 +0100)]
Add support for ProfileJobs
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 16 Mar 2010 23:44:37 +0000 (00:44 +0100)]
Cleanup profile consolidation code
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 16 Mar 2010 23:26:50 +0000 (00:26 +0100)]
Enable "on access" fetching of data
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 16 Mar 2010 19:26:53 +0000 (20:26 +0100)]
Rename ProfileDataIterator to ProfileIterator
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 16 Mar 2010 18:11:46 +0000 (19:11 +0100)]
Add ProfileNetworking
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 16 Mar 2010 17:58:09 +0000 (18:58 +0100)]
Add ProfileEducation
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 16 Mar 2010 14:09:09 +0000 (15:09 +0100)]
Fix visibility levels
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Sun, 7 Mar 2010 02:07:48 +0000 (03:07 +0100)]
Adapts profile's display.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Mon, 15 Mar 2010 12:24:28 +0000 (13:24 +0100)]
Update core
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 16 Mar 2010 14:09:09 +0000 (15:09 +0100)]
Fix visibility levels
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 16 Mar 2010 14:06:19 +0000 (15:06 +0100)]
Respect SQL CodingRules
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 15 Mar 2010 14:00:11 +0000 (15:00 +0100)]
Add Profile::FETCH_ALL
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 15 Mar 2010 12:27:44 +0000 (13:27 +0100)]
Use ProfileFields for addresses
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 15 Mar 2010 12:24:11 +0000 (13:24 +0100)]
Fixes ProfileAddresses
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 15 Mar 2010 11:05:35 +0000 (12:05 +0100)]
Add ProfileFields
NB: only ProfilePhoto is working for the moment.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Sun, 21 Mar 2010 21:41:16 +0000 (22:41 +0100)]
Update core and cleanup code.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 21 Mar 2010 20:40:47 +0000 (21:40 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 21 Mar 2010 20:09:32 +0000 (21:09 +0100)]
Small lifting.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 21 Mar 2010 19:17:21 +0000 (20:17 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 21 Mar 2010 16:10:51 +0000 (17:10 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 21 Mar 2010 16:09:54 +0000 (17:09 +0100)]
Merge remote branch 'origin/master' into account
Florent Bruneau [Sun, 21 Mar 2010 16:09:35 +0000 (17:09 +0100)]
Merge remote branch 'origin/platal-0.10.2'
Florent Bruneau [Sun, 21 Mar 2010 16:05:55 +0000 (17:05 +0100)]
Fix escaping issue in the title of the rewrite opt-in email leading to a
PHP error.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 20 Mar 2010 15:12:14 +0000 (16:12 +0100)]
Fix useless SQL queries when on Xnet but not in a group.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 20 Mar 2010 13:54:02 +0000 (14:54 +0100)]
Wiki selection is done by the Platal class.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Raphaël Barrois [Tue, 16 Mar 2010 11:33:57 +0000 (12:33 +0100)]
Updates core
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Sun, 14 Mar 2010 20:49:05 +0000 (21:49 +0100)]
Cleanup search page.
Don't display the 'Trombi promo' box anymore. It created a gap between the
search box and its documentation.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Mar 2010 17:45:08 +0000 (18:45 +0100)]
Rename tips to reminder_tips.
Also fix a few naming issues in the table (titre -> title, priorite ->
priority) and some SQL syntax error in 20_naming_convention.sql.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Mar 2010 13:14:00 +0000 (14:14 +0100)]
Fix ignore on jquery.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Mar 2010 12:43:17 +0000 (13:43 +0100)]
Unit testing.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 11 Mar 2010 10:05:27 +0000 (11:05 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Wed, 10 Mar 2010 15:23:05 +0000 (16:23 +0100)]
Ooops.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 9 Mar 2010 22:26:30 +0000 (23:26 +0100)]
Fixes group unsubscription.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 9 Mar 2010 22:21:56 +0000 (23:21 +0100)]
Notifies group admins on user deletion if they asked for.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 9 Mar 2010 22:19:41 +0000 (23:19 +0100)]
Adds iterators on both group admins and members, renames filtering functions.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Tue, 9 Mar 2010 21:45:55 +0000 (22:45 +0100)]
Make test.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Mon, 1 Mar 2010 21:44:51 +0000 (22:44 +0100)]
Moves user_clear_all_subs to both User and Profile classes.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Mon, 8 Mar 2010 15:14:44 +0000 (16:14 +0100)]
Fix some usages of ctype_digit().
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 7 Mar 2010 17:55:39 +0000 (18:55 +0100)]
Missing <tr>.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 7 Mar 2010 17:55:21 +0000 (18:55 +0100)]
Update jQuery to 1.4.2, downgrade jQuery UI to 1.6.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 7 Mar 2010 14:25:27 +0000 (15:25 +0100)]
jQuery UI files have been renamed.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 7 Mar 2010 13:55:57 +0000 (14:55 +0100)]
Enforce jQuery and jQueryUI versions.
Version for jQuery and jQueryUI are forced by Makefile, so, we ensure
versions remains compatible.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 7 Mar 2010 13:09:06 +0000 (14:09 +0100)]
Update ignore list.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Mar 2010 22:20:16 +0000 (23:20 +0100)]
Remove calls to Profile::getNameTypeId.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Mar 2010 21:41:56 +0000 (22:41 +0100)]
Remove useless @.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Mar 2010 21:37:24 +0000 (22:37 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Mar 2010 21:17:19 +0000 (22:17 +0100)]
Fix autocompletion.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Mar 2010 20:42:25 +0000 (21:42 +0100)]
Fix autocompletion.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Mar 2010 20:28:08 +0000 (21:28 +0100)]
Add ability to store DirEnum in the session environment.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Mar 2010 20:12:42 +0000 (21:12 +0100)]
Move include/directory.enums.inc.php to classes/ directory.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Mar 2010 20:06:20 +0000 (21:06 +0100)]
Rewrite Profile::getNameTypeId using DirEnum.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 6 Mar 2010 19:17:27 +0000 (20:17 +0100)]
Cleanup.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>