Florent Bruneau [Sun, 14 Feb 2010 19:47:18 +0000 (20:47 +0100)]
Merge commit 'origin/master' into account
Conflicts:
core
include/applis.func.inc.php
include/geoloc.inc.php
include/secure_hash.inc.php
include/synchro_ax.inc.php
modules/geoloc.php
modules/profile.php
modules/xnetlists.php
plugins/function.geoloc_country.php
plugins/function.geoloc_region.php
plugins/insert.getName.php
templates/events/rss.tpl
templates/include/minifiche.tpl
templates/include/plview.geoloc.tpl
templates/profile/general.edu.tpl
templates/profile/jobs.sub_sector.tpl
templates/profile/nomusage.tpl
templates/xnetgrp/announce-rss.tpl
templates/xnetgrp/annuaire-csv.tpl
templates/xnetlists/sync.tpl
upgrade/0.9.14/connect.db.inc.php
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Feb 2010 16:00:14 +0000 (17:00 +0100)]
Add Group::getLogo() and Profile::getPhoto() based on PlImage.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Feb 2010 15:14:00 +0000 (16:14 +0100)]
Fix some errors on X.net.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Feb 2010 14:19:16 +0000 (15:19 +0100)]
(groupex.*|groupesx_*) -> group_*
AFAICT, account branch is now mono-db.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Feb 2010 13:45:10 +0000 (14:45 +0100)]
Move paiement db in x4dat (tables payment*).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Feb 2010 11:51:03 +0000 (12:51 +0100)]
Move logger base in main data base (tables log_*).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Feb 2010 11:31:48 +0000 (12:31 +0100)]
Typo.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Feb 2010 10:35:08 +0000 (11:35 +0100)]
Cleaner syntax.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Feb 2010 10:34:35 +0000 (11:34 +0100)]
Makes $limit argument optional.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 14 Feb 2010 10:04:57 +0000 (11:04 +0100)]
Partial port of PDF export of contact list.
Profile class does not provide an API to retrieve the couple (job, job address).
Profile::getAddresses seems to be a bit buggy.
Yet another auth_user_ removed.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Raphaël Barrois [Sun, 14 Feb 2010 00:10:24 +0000 (01:10 +0100)]
Fix error in Profile SQL queries
Error in the name of joined tables
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 12 Feb 2010 23:20:32 +0000 (00:20 +0100)]
Fix display bug in minifiche for profiles without owner
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 12 Feb 2010 23:12:26 +0000 (00:12 +0100)]
Fix PHP warnings (return by ref, protected/private)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 9 Feb 2010 01:19:41 +0000 (02:19 +0100)]
Actually display results of Mentor search...
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 9 Feb 2010 01:19:20 +0000 (02:19 +0100)]
Fix UFC_Mentor*
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 9 Feb 2010 00:28:39 +0000 (01:28 +0100)]
rename classes from Formation to Education (UFC, UFBF)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 6 Feb 2010 09:39:29 +0000 (10:39 +0100)]
Use correct version of core-account
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 6 Feb 2010 09:39:13 +0000 (10:39 +0100)]
Switch to the new PlSet system
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 6 Feb 2010 09:38:20 +0000 (10:38 +0100)]
Make emptiness info of UFBs available ; add Mentor-related UFBs
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 6 Feb 2010 09:37:44 +0000 (10:37 +0100)]
Implement DirEnum::getOptionsArray()
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 6 Feb 2010 09:37:15 +0000 (10:37 +0100)]
Improve UFC_Mentor_Sectorization
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 5 Feb 2010 15:34:27 +0000 (16:34 +0100)]
Fix the carnet
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 5 Feb 2010 15:34:03 +0000 (16:34 +0100)]
Add ProfileSet / ProfileFilter, fix orders
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 5 Feb 2010 15:32:01 +0000 (16:32 +0100)]
Fix QuickSearch
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Fri, 5 Feb 2010 12:58:52 +0000 (13:58 +0100)]
Remove ThrowError
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Feb 2010 22:44:21 +0000 (23:44 +0100)]
Switch search and UserSet to new UserFilter system
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Feb 2010 21:03:45 +0000 (22:03 +0100)]
Minor bugfixes
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Feb 2010 18:17:54 +0000 (19:17 +0100)]
Reorder directory.enum.inc.php, add a few
* Group them by topic
* Add DE_JobDescription, DE_Company, DE_Locality
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Feb 2010 18:02:09 +0000 (19:02 +0100)]
Don't fetch data until needed
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Feb 2010 13:17:16 +0000 (14:17 +0100)]
Add support for autocompletion in DirEnum
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Feb 2010 00:44:08 +0000 (01:44 +0100)]
Add UFC_Hruids
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Feb 2010 00:37:36 +0000 (01:37 +0100)]
Force the list of forbidden chars
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 4 Feb 2010 00:33:18 +0000 (01:33 +0100)]
Add UFBF_QuickSearch, add support for orders
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 3 Feb 2010 00:44:55 +0000 (01:44 +0100)]
Add UFBF_Phone and UFBF_Networking
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 3 Feb 2010 00:35:52 +0000 (01:35 +0100)]
Add support for only_current and only_mentor in UFBuilder
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 2 Feb 2010 23:39:20 +0000 (00:39 +0100)]
Add comments and folding to DirEnumeration
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 2 Feb 2010 23:38:50 +0000 (00:38 +0100)]
Rename ufbuilder.php to ufbuilder.inc.php
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 2 Feb 2010 21:28:32 +0000 (22:28 +0100)]
Move getIDs() to DirEnumeration
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 1 Feb 2010 15:16:17 +0000 (16:16 +0100)]
Add class DirEnum, to access all enumerations used in the site
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 25 Jan 2010 15:18:22 +0000 (16:18 +0100)]
Create class UserFilterBuilder
Used to create (basic) UserFilter, reading values from Get/Post
Should evolve into a much more powerful tool later...
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 1 Feb 2010 15:15:50 +0000 (16:15 +0100)]
Bugfix in UFC_Addresses, improve UFCs.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 31 Jan 2010 18:45:29 +0000 (19:45 +0100)]
Adds various UFC_ (Binet, Comment), fixes queries
Several UFC_ can now handle an array of possible values, instead of just one
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 28 Jan 2010 14:05:18 +0000 (15:05 +0100)]
Improve UFC_Nationality, adds UFC_Binets, UFC_Formation
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 28 Jan 2010 11:39:44 +0000 (12:39 +0100)]
Adds UFC_Nationality and UFC_Binet
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 27 Jan 2010 21:26:40 +0000 (22:26 +0100)]
Add support for resume search in jobs
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 27 Jan 2010 00:52:20 +0000 (01:52 +0100)]
Improve UFC_Address classes
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 24 Jan 2010 15:56:25 +0000 (16:56 +0100)]
Don't load a User when showing a minifiche, unless necessary
Had a few vars to the minifiche template too
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 24 Jan 2010 13:05:03 +0000 (14:05 +0100)]
Adapt to PHP's interface system.... :(
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 24 Jan 2010 12:35:30 +0000 (13:35 +0100)]
Add support for returning Profiles instead of Users
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 24 Jan 2010 12:06:25 +0000 (13:06 +0100)]
Add support for exact queries in UFC_NameTokens
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 24 Jan 2010 01:49:43 +0000 (02:49 +0100)]
Optimize queries for QuickSearch
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 24 Jan 2010 01:23:41 +0000 (02:23 +0100)]
Add UFC_NameTokens and UFO_Score
Used for quicksearch
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 24 Jan 2010 01:27:42 +0000 (02:27 +0100)]
Add support for Profile retrieving with UserFilters
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 21 Jan 2010 00:55:05 +0000 (01:55 +0100)]
Switch to core-account
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 21 Jan 2010 00:53:42 +0000 (01:53 +0100)]
Bugfixes in UserFilter (scope, inheritance, ...)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 21 Jan 2010 00:53:22 +0000 (01:53 +0100)]
Add autoload for PFC_* classes
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 21 Jan 2010 00:29:55 +0000 (01:29 +0100)]
More BugFix in notifs.inc.php (UFC_And has disappeared)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 20 Jan 2010 22:52:56 +0000 (23:52 +0100)]
Adapt UserFilter and notifs to the new PFC classes
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 20 Jan 2010 19:49:46 +0000 (20:49 +0100)]
BugFix in UFC_Registered
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 20 Jan 2010 18:54:30 +0000 (19:54 +0100)]
Bugfix in UFC_Promo (no comparison with UserFilter::DISPLAY :/)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 20 Jan 2010 18:50:34 +0000 (19:50 +0100)]
Adapt UserFilter to the new PlFilter structure
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 20 Jan 2010 16:24:15 +0000 (17:24 +0100)]
Switch core to core-account branch
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 19 Jan 2010 00:00:27 +0000 (01:00 +0100)]
Improve UFC_Address
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Sat, 13 Feb 2010 21:56:02 +0000 (22:56 +0100)]
Use UserFilter to generate birthday calendar.
Kill one usage of auth_user_md5.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 13 Feb 2010 21:24:27 +0000 (22:24 +0100)]
Fix link to profile in minifiche.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 13 Feb 2010 19:11:48 +0000 (20:11 +0100)]
Remove obsolete code.
Most of this code was related to profile edition within admin/user. This
code does not make sense anymore with profile/account separation.
Note: profile edition can be done via the page profile/edit/{profilename}
(link to this page is available on in the page admin/user).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 13 Feb 2010 15:22:03 +0000 (16:22 +0100)]
Add OpenID trusted management is admin/user/.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 13 Feb 2010 14:14:06 +0000 (15:14 +0100)]
If banana port is 563, use ssl.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 13 Feb 2010 13:50:08 +0000 (14:50 +0100)]
Fix compilation errors.
find . -name '*.php' -exec php -l {} ";" is your friend.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
João Pedro Athayde Marcondes de André [Wed, 10 Feb 2010 23:00:11 +0000 (00:00 +0100)]
Change on diff options so it works on the new dev (maybe this is due to the migration to lenny at the same time...)
Raphaël Barrois [Mon, 18 Jan 2010 01:30:58 +0000 (02:30 +0100)]
Add documentation to various UserFilter classes
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 17 Jan 2010 16:00:28 +0000 (17:00 +0100)]
Improve comments quality, fix minor bugs
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 17 Jan 2010 12:04:12 +0000 (13:04 +0100)]
Add UFC_Mentor_*
For filtering users based on mentoring domain/country/sector
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 17 Jan 2010 11:45:48 +0000 (12:45 +0100)]
Add UFC_Medal
For filtering users by medal / grade
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 17 Jan 2010 01:48:19 +0000 (02:48 +0100)]
Add UFC_Phone
For filtering users by phone number
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 17 Jan 2010 01:46:05 +0000 (02:46 +0100)]
Add UFC_Networking
For filtering users by network ID (IRC, ICQ, jabber, ...)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 17 Jan 2010 01:15:01 +0000 (02:15 +0100)]
Add UFC_Job* classes
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 16 Jan 2010 15:47:05 +0000 (16:47 +0100)]
Add folding to userfilter.php
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 5 Jan 2010 21:36:02 +0000 (22:36 +0100)]
Add UFC_Corps
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 3 Jan 2010 11:41:46 +0000 (12:41 +0100)]
Add UFC_Address
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 3 Jan 2010 13:06:14 +0000 (14:06 +0100)]
Add comments for UFC and UFO classes
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Thu, 14 Jan 2010 17:29:23 +0000 (18:29 +0100)]
Happy New Year!!!
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 11 Jan 2010 21:43:32 +0000 (22:43 +0100)]
Adds University of Pennsylvania.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 10 Jan 2010 00:28:21 +0000 (01:28 +0100)]
Fixes cache problems when updating an event image.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 9 Jan 2010 23:42:40 +0000 (00:42 +0100)]
Explains that the photo will not disapear immediatly after deletion.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 9 Jan 2010 18:43:56 +0000 (19:43 +0100)]
Fixes minifiche width in IE8.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 9 Jan 2010 16:43:17 +0000 (17:43 +0100)]
Small errors resulting in CAS/HTML validation fail.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Sat, 2 Jan 2010 15:31:51 +0000 (16:31 +0100)]
Fix bug in CSV generation (all users appeared as men...)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Sun, 13 Dec 2009 17:49:06 +0000 (18:49 +0100)]
Merge commit 'origin/platal-0.10.2'
Stéphane Jacob [Sun, 13 Dec 2009 17:22:54 +0000 (18:22 +0100)]
Prevents absents to be in the participants-non-paye ML.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 13 Dec 2009 15:43:16 +0000 (16:43 +0100)]
Fixes conditions build for the advanced search.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 13 Dec 2009 12:37:11 +0000 (13:37 +0100)]
Fixes a wrong inclusion of a file.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 9 Dec 2009 14:16:01 +0000 (15:16 +0100)]
Adds Brown and NDU.
Vincent Zanotti [Sun, 6 Dec 2009 01:13:34 +0000 (02:13 +0100)]
Merge commit 'origin/platal-0.10.2'
Raphaël Barrois [Sat, 5 Dec 2009 23:49:28 +0000 (00:49 +0100)]
Fix calls to NewsLetter class
(it's name is NewsLetter, not Newsletter)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Arnaud Borde [Sun, 6 Dec 2009 00:04:38 +0000 (01:04 +0100)]
If several 'new' NLs exist, default is the latest
Signed-off-by: Arnaud Borde <arnaud.borde.2006@polytechnique.org>
Stéphane Jacob [Mon, 30 Nov 2009 22:41:26 +0000 (23:41 +0100)]
Removes incorrect implementation of 'Notifies the sender when a moderated message to a ML is accepted'.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 28 Nov 2009 13:21:46 +0000 (14:21 +0100)]
Improves and fixes the admin interface for broken addresses.
Stéphane Jacob [Tue, 17 Nov 2009 21:08:39 +0000 (22:08 +0100)]
Temporary removes all links to the planisphere.
Vincent Zanotti [Sun, 15 Nov 2009 23:06:09 +0000 (00:06 +0100)]
Merge commit 'origin/platal-0.10.2'
Conflicts:
core
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>