Florent Bruneau [Sun, 11 Apr 2010 09:44:55 +0000 (11:44 +0200)]
No more hacks to handle '%grp'.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 10 Apr 2010 15:58:10 +0000 (17:58 +0200)]
Should fix the "Trombinoscope" (at least for search and MLs).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 10 Apr 2010 12:28:37 +0000 (14:28 +0200)]
Typo.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 10 Apr 2010 11:54:02 +0000 (13:54 +0200)]
Improves layout.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 10 Apr 2010 11:52:39 +0000 (13:52 +0200)]
Fix warning when a profile has no promo.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 10 Apr 2010 11:19:00 +0000 (13:19 +0200)]
Fix references to undefined variable.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 10 Apr 2010 07:53:53 +0000 (09:53 +0200)]
Add command for list rpc management in Makefile.
make start-listrpc
-> starts the list RPC daemon in background. Logs are
not accessible in this mode, so this cannot be used to debug
this rpc server (but this can be used to work on the website).
make stop-listrpc
-> stops an instance of the RPC daemon started using make start-listrpc
make restart-listrpc
-> stops + starts
make start-listrpc-fg
-> starts the list RPC daemon in foreground. Logs are accessible,
the daemon can be stopped using ^C
Important Note: You can change the port of your RPC daemon by adding a
parameter rpcport in the Lists section of your platal.conf:
[Lists]
rpcport = "42420"
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 9 Apr 2010 21:40:15 +0000 (23:40 +0200)]
Update banana.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 9 Apr 2010 21:39:22 +0000 (23:39 +0200)]
Fix list rpc.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 9 Apr 2010 17:39:40 +0000 (19:39 +0200)]
Kill ugly symlinks from banana sources to include/banana.
Also simplify includes: including banana is done by including
banana/hooks.inc.php.
You are highly encouraged to cleanup your working copy by running:
find include/banana/ -type l -delete
WARN: Tested only with the forums, ML moderation and ML archives are
not tested yet (requires list.rpc.py to be started).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 9 Apr 2010 16:51:50 +0000 (18:51 +0200)]
Oops, fix pathes.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 9 Apr 2010 16:46:36 +0000 (18:46 +0200)]
Fetch banana as a submodule: no external checkout required anymore.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 9 Apr 2010 16:26:36 +0000 (18:26 +0200)]
Removes calls to register_watch_op.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 9 Apr 2010 15:26:46 +0000 (17:26 +0200)]
Updates addresses upgrade script.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Fri, 9 Apr 2010 14:41:53 +0000 (16:41 +0200)]
Add -u switch to update.sh to run in "unsafe" mode.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 9 Apr 2010 14:39:00 +0000 (16:39 +0200)]
Factorize some code, move some useful stuff in pervasive.sh for future
reuse.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 9 Apr 2010 14:04:49 +0000 (16:04 +0200)]
Fixes phones' upgrade script.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 8 Apr 2010 19:53:33 +0000 (21:53 +0200)]
Education update.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 7 Apr 2010 08:21:51 +0000 (10:21 +0200)]
Renames validation template and fixes promotion display.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Fri, 2 Apr 2010 13:09:45 +0000 (15:09 +0200)]
Update SECURITY file
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 2 Apr 2010 08:44:34 +0000 (10:44 +0200)]
Fix freetext visibility
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 2 Apr 2010 08:23:53 +0000 (10:23 +0200)]
Set visibility for section and binets to private
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 2 Apr 2010 07:52:30 +0000 (09:52 +0200)]
Fixes remaining $p instead of $profile in profile.tpl
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Thu, 1 Apr 2010 20:43:00 +0000 (22:43 +0200)]
Moves corps lists to newdirectory.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 29 Mar 2010 08:38:24 +0000 (10:38 +0200)]
Adds Instituto de Empresa.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 25 Mar 2010 17:20:45 +0000 (18:20 +0100)]
Fixes JS in profile edition.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 25 Mar 2010 14:13:25 +0000 (15:13 +0100)]
Adapts orangisation to master and PhD and merges it into the main profile edition.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Thu, 25 Mar 2010 14:13:54 +0000 (15:13 +0100)]
Adds education related functions to Profile class.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Wed, 24 Mar 2010 10:39:43 +0000 (11:39 +0100)]
Rename ProfileBlah setting to ProfileSettingBlah
In order to avoid collision with ProfileFields
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 24 Mar 2010 10:14:37 +0000 (11:14 +0100)]
Rename $p/$o to $profile/$owner in profile template
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
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'