platal.git
15 years agoMerge commit 'origin/fusionax' into account
Florent Bruneau [Sun, 8 Mar 2009 18:54:52 +0000 (19:54 +0100)]
Merge commit 'origin/fusionax' into account

Conflicts:

include/userset.inc.php
modules/profile.php
modules/profile/addresses.inc.php
modules/profile/jobs.inc.php
templates/include/minifiche.tpl

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoSet default value for visibility when not logged.
Florent Bruneau [Sun, 8 Mar 2009 18:48:45 +0000 (19:48 +0100)]
Set default value for visibility when not logged.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFixes job deletion.
Stéphane Jacob [Sun, 8 Mar 2009 18:35:09 +0000 (19:35 +0100)]
Fixes job deletion.

15 years agoAdds address for entreprise.
Stéphane Jacob [Sun, 8 Mar 2009 17:39:14 +0000 (18:39 +0100)]
Adds address for entreprise.

15 years agoAdds job address to the job interface, makes more uniform address related names.
Stéphane Jacob [Sun, 8 Mar 2009 15:58:54 +0000 (16:58 +0100)]
Adds job address to the job interface, makes more uniform address related names.

15 years agoImproves job edition and email combobox display.
Stéphane Jacob [Sat, 7 Mar 2009 12:20:22 +0000 (13:20 +0100)]
Improves job edition and email combobox display.

15 years agoMerge commit 'origin/fusionax' into account
Florent Bruneau [Fri, 6 Mar 2009 21:52:14 +0000 (22:52 +0100)]
Merge commit 'origin/fusionax' into account

15 years agoFetch jobs.
Florent Bruneau [Fri, 6 Mar 2009 21:51:50 +0000 (22:51 +0100)]
Fetch jobs.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoSupport of networking in profile.
Florent Bruneau [Thu, 5 Mar 2009 21:33:42 +0000 (22:33 +0100)]
Support of networking in profile.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFixes addresses validation when the user chooses a geocoded address.
Stéphane Jacob [Thu, 5 Mar 2009 20:16:45 +0000 (21:16 +0100)]
Fixes addresses validation when the user chooses a geocoded address.

15 years agoHelps ISO 3166-1 non-countries to be properly geocoded.
Stéphane Jacob [Thu, 5 Mar 2009 08:14:11 +0000 (09:14 +0100)]
Helps ISO 3166-1 non-countries to be properly geocoded.

15 years agoSwitches to a 3-state geocoding: the user can choose to keep the geocoded properties...
Stéphane Jacob [Wed, 4 Mar 2009 15:40:44 +0000 (16:40 +0100)]
Switches to a 3-state geocoding: the user can choose to keep the geocoded properties with his text.

15 years agoFetch mobile in profile default query.
Florent Bruneau [Thu, 5 Mar 2009 07:35:16 +0000 (08:35 +0100)]
Fetch mobile in profile default query.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFix inverted test.
Florent Bruneau [Wed, 4 Mar 2009 22:17:06 +0000 (23:17 +0100)]
Fix inverted test.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoMerge commit 'origin/fusionax' into account
Florent Bruneau [Wed, 4 Mar 2009 22:08:40 +0000 (23:08 +0100)]
Merge commit 'origin/fusionax' into account

Conflicts:

templates/xnetgrp/mail.tpl

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoMerge commit 'origin/master' into fusionax
Florent Bruneau [Wed, 4 Mar 2009 22:06:53 +0000 (23:06 +0100)]
Merge commit 'origin/master' into fusionax

15 years agoFetch educations.
Florent Bruneau [Wed, 4 Mar 2009 22:05:47 +0000 (23:05 +0100)]
Fetch educations.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoConsistent variable naming.
Florent Bruneau [Wed, 4 Mar 2009 21:06:14 +0000 (22:06 +0100)]
Consistent variable naming.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFix whitespace at the end of the 'Send email to group members' form's textarea.
Olivier Le Floch [Wed, 4 Mar 2009 00:45:57 +0000 (01:45 +0100)]
Fix whitespace at the end of the 'Send email to group members' form's textarea.

Signed-off-by: Olivier Le Floch <olivier.le-floch@polytechnique.org>
15 years agoShorten the quick search fields, needs to be weighed against the current qucik search...
Olivier Le Floch [Wed, 4 Mar 2009 00:27:05 +0000 (01:27 +0100)]
Shorten the quick search fields, needs to be weighed against the current qucik search solution which does not expose a button. Next solution will probably display a more complete quick search form when the quicksearch field is selected.

Signed-off-by: Olivier Le Floch <olivier.le-floch@polytechnique.org>
15 years agoThere is no planisphere anymore in Xnet.
Stéphane Jacob [Wed, 4 Mar 2009 00:34:24 +0000 (01:34 +0100)]
There is no planisphere anymore in Xnet.

15 years agoFully switches profile.js to jquery.
Stéphane Jacob [Sun, 1 Mar 2009 22:52:47 +0000 (23:52 +0100)]
Fully switches profile.js to jquery.

15 years agoFixes education degree edition.
Stéphane Jacob [Mon, 2 Mar 2009 22:06:51 +0000 (23:06 +0100)]
Fixes education degree edition.

15 years agoFetch addresses.
Florent Bruneau [Mon, 2 Mar 2009 23:21:51 +0000 (00:21 +0100)]
Fetch addresses.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoTmp jobs.
Stéphane Jacob [Sun, 1 Mar 2009 22:55:36 +0000 (23:55 +0100)]
Tmp jobs.

15 years agoSimplify tests.
Florent Bruneau [Mon, 2 Mar 2009 21:41:17 +0000 (22:41 +0100)]
Simplify tests.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoMerge commit 'origin/fusionax' into account
Florent Bruneau [Mon, 2 Mar 2009 21:12:19 +0000 (22:12 +0100)]
Merge commit 'origin/fusionax' into account

Conflicts:

templates/xnetgrp/annuaire.tpl

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFixes absence of PostalText related error.
Stéphane Jacob [Sun, 1 Mar 2009 12:26:41 +0000 (13:26 +0100)]
Fixes absence of PostalText related error.

15 years agoMinor typos.
Stéphane Jacob [Sun, 1 Mar 2009 01:28:49 +0000 (02:28 +0100)]
Minor typos.

16 years agoWe accord correctly the verb when the mail is to a women.
João Pedro Athayde Marcondes de André [Wed, 25 Feb 2009 17:56:45 +0000 (18:56 +0100)]
We accord correctly the verb when the mail is to a women.

16 years agoAdd "lost" users detection in default query.
Florent Bruneau [Sun, 22 Feb 2009 14:58:21 +0000 (15:58 +0100)]
Add "lost" users detection in default query.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix too violent sed.
Florent Bruneau [Sun, 22 Feb 2009 14:33:28 +0000 (15:33 +0100)]
Fix too violent sed.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge commit 'origin/fusionax' into account
Florent Bruneau [Sun, 22 Feb 2009 14:25:25 +0000 (15:25 +0100)]
Merge commit 'origin/fusionax' into account

Conflicts:

include/userset.inc.php
modules/payment.php
modules/payment/money/paypal.inc.php
modules/profile.php
modules/profile/addresses.inc.php
modules/search.php
modules/xnetevents/xnetevents.inc.php
templates/profile/groupesx.tpl

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge commit 'origin/master' into fusionax
Florent Bruneau [Sun, 22 Feb 2009 14:02:47 +0000 (15:02 +0100)]
Merge commit 'origin/master' into fusionax

16 years agoUse last version of the core.
Florent Bruneau [Sun, 22 Feb 2009 14:00:49 +0000 (15:00 +0100)]
Use last version of the core.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge commit 'origin/platal-0.10.0'
Florent Bruneau [Sun, 22 Feb 2009 14:00:16 +0000 (15:00 +0100)]
Merge commit 'origin/platal-0.10.0'

16 years agoFix core version.
Florent Bruneau [Sat, 21 Feb 2009 21:05:47 +0000 (22:05 +0100)]
Fix core version.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdds a postal formated address to the addresses data.
Stéphane Jacob [Sat, 21 Feb 2009 16:03:38 +0000 (17:03 +0100)]
Adds a postal formated address to the addresses data.

16 years agoAvoid null gids.
Florent Bruneau [Sat, 21 Feb 2009 08:23:20 +0000 (09:23 +0100)]
Avoid null gids.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoGets rid of all references to the old geoloc_* and adresses tables.
Stéphane Jacob [Thu, 19 Feb 2009 12:28:50 +0000 (13:28 +0100)]
Gets rid of all references to the old geoloc_* and adresses tables.

16 years agoAdds picture for the Ordine al Merito della Repubblica italiana.
Stéphane Jacob [Fri, 20 Feb 2009 22:00:53 +0000 (23:00 +0100)]
Adds picture for the Ordine al Merito della Repubblica italiana.

16 years agoOoops (cf 20c5c7).
Stéphane Jacob [Wed, 21 Jan 2009 20:40:41 +0000 (21:40 +0100)]
Ooops (cf 20c5c7).

16 years agoFinishes to move functions from geoloc.inc.php to geocoding.inc.php,
Stéphane Jacob [Wed, 18 Feb 2009 20:45:48 +0000 (21:45 +0100)]
Finishes to move functions from geoloc.inc.php to geocoding.inc.php,
adapts them to the new geocoding, trashes the planisphere.

16 years agoNon geocoded addresses could not be saved.
Stéphane Jacob [Wed, 18 Feb 2009 21:23:14 +0000 (22:23 +0100)]
Non geocoded addresses could not be saved.

16 years agoUpdates userset.inc.php for the new profile_address and geoloc_countries tables.
Stéphane Jacob [Wed, 18 Feb 2009 12:05:22 +0000 (13:05 +0100)]
Updates userset.inc.php for the new profile_address and geoloc_countries tables.

16 years agoUpdates paypal and manageurs interaction files to use with the new profile_address...
Stéphane Jacob [Tue, 17 Feb 2009 14:54:14 +0000 (15:54 +0100)]
Updates paypal and manageurs interaction files to use with the new profile_address table.

16 years agoMerge branch 'platal-0.10.0'
Vincent Zanotti [Wed, 18 Feb 2009 12:40:04 +0000 (13:40 +0100)]
Merge branch 'platal-0.10.0'

16 years agoAdds a missing XSRF token on Xnet's directory synchronization page.
Vincent Zanotti [Wed, 18 Feb 2009 12:38:48 +0000 (13:38 +0100)]
Adds a missing XSRF token on Xnet's directory synchronization page.

Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
16 years agoAdds ME and RS flags accordingly to the update of the ISO 3166-1 code, adds EU flag.
Stéphane Jacob [Tue, 17 Feb 2009 22:17:37 +0000 (23:17 +0100)]
Adds ME and RS flags accordingly to the update of the ISO 3166-1 code, adds EU flag.

16 years agoUpdates country table.
Stéphane Jacob [Tue, 17 Feb 2009 00:20:32 +0000 (01:20 +0100)]
Updates country table.

16 years agoMerge commit 'origin/master' into fusionax
Stéphane Jacob [Mon, 16 Feb 2009 00:59:04 +0000 (01:59 +0100)]
Merge commit 'origin/master' into fusionax

16 years agoImproves code for geocoding thanks to Vincent, fixes issue with street numbers when...
Stéphane Jacob [Sun, 15 Feb 2009 17:47:29 +0000 (18:47 +0100)]
Improves code for geocoding thanks to Vincent, fixes issue with street numbers when only the street name is geocoded.

16 years agoStart porting userset to userfilter architecture.
Florent Bruneau [Sun, 15 Feb 2009 22:01:46 +0000 (23:01 +0100)]
Start porting userset to userfilter architecture.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoThere are users without profile.
Florent Bruneau [Sun, 15 Feb 2009 17:10:57 +0000 (18:10 +0100)]
There are users without profile.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFetch data for profiles with users to avoid useless queries.
Florent Bruneau [Sun, 15 Feb 2009 15:11:56 +0000 (16:11 +0100)]
Fetch data for profiles with users to avoid useless queries.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge commit 'origin/platal-0.10.0'
Florent Bruneau [Sun, 15 Feb 2009 13:46:21 +0000 (14:46 +0100)]
Merge commit 'origin/platal-0.10.0'

16 years agoFix a SQL injection vulnerability on a public page o_O.
Florent Bruneau [Sun, 15 Feb 2009 09:30:45 +0000 (10:30 +0100)]
Fix a SQL injection vulnerability on a public page o_O.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFixes geolocalization.
Stéphane Jacob [Sun, 15 Feb 2009 02:32:31 +0000 (03:32 +0100)]
Fixes geolocalization.

16 years agoSwitches geolocalization to Google Maps.
Stéphane Jacob [Fri, 13 Feb 2009 00:56:24 +0000 (01:56 +0100)]
Switches geolocalization to Google Maps.

16 years agoOnly remains promo importer to rewrite in modules/admin.php.
Florent Bruneau [Sat, 14 Feb 2009 22:03:07 +0000 (23:03 +0100)]
Only remains promo importer to rewrite in modules/admin.php.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoKill calls to auth_user... in module profile.
Florent Bruneau [Sat, 14 Feb 2009 21:28:12 +0000 (22:28 +0100)]
Kill calls to auth_user... in module profile.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMight break autocompletion.
Florent Bruneau [Sat, 14 Feb 2009 20:39:19 +0000 (21:39 +0100)]
Might break autocompletion.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSome extra auth_user fixes.
Florent Bruneau [Sat, 14 Feb 2009 20:04:15 +0000 (21:04 +0100)]
Some extra auth_user fixes.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix queries of payment, fix typo in xnetgrp, fix make check return value.
Florent Bruneau [Sat, 14 Feb 2009 18:51:15 +0000 (19:51 +0100)]
Fix queries of payment, fix typo in xnetgrp, fix make check return value.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoiGoogle gadget.
Florent Bruneau [Sat, 14 Feb 2009 18:20:34 +0000 (19:20 +0100)]
iGoogle gadget.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoNo more auth_user_md5 in events feed.
Florent Bruneau [Sat, 14 Feb 2009 17:44:06 +0000 (18:44 +0100)]
No more auth_user_md5 in events feed.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoPort xnetevents (I hope this works).
Florent Bruneau [Sat, 14 Feb 2009 17:18:14 +0000 (18:18 +0100)]
Port xnetevents (I hope this works).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoNo more auth_user in stats.
Florent Bruneau [Fri, 13 Feb 2009 21:38:33 +0000 (22:38 +0100)]
No more auth_user in stats.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoPort survey.
Florent Bruneau [Fri, 13 Feb 2009 21:21:14 +0000 (22:21 +0100)]
Port survey.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoBetter organisation in profile.js.
Stéphane Jacob [Thu, 12 Feb 2009 13:25:02 +0000 (14:25 +0100)]
Better organisation in profile.js.

16 years agoImprovements.
Florent Bruneau [Thu, 12 Feb 2009 22:46:24 +0000 (23:46 +0100)]
Improvements.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRecovery without auth_user...
Florent Bruneau [Thu, 12 Feb 2009 22:18:24 +0000 (23:18 +0100)]
Recovery without auth_user...

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAnd so on.
Florent Bruneau [Thu, 12 Feb 2009 21:54:31 +0000 (22:54 +0100)]
And so on.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAXLetter cleanup.
Florent Bruneau [Thu, 12 Feb 2009 21:47:36 +0000 (22:47 +0100)]
AXLetter cleanup.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFree deletions.
Florent Bruneau [Thu, 12 Feb 2009 21:28:22 +0000 (22:28 +0100)]
Free deletions.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCarnet RSS is back.
Florent Bruneau [Thu, 12 Feb 2009 21:27:02 +0000 (22:27 +0100)]
Carnet RSS is back.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoPort remaining queries from module events.
Florent Bruneau [Thu, 12 Feb 2009 20:33:15 +0000 (21:33 +0100)]
Port remaining queries from module events.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agocarnet/panel is back.
Florent Bruneau [Wed, 11 Feb 2009 21:38:43 +0000 (22:38 +0100)]
carnet/panel is back.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoUse flag 'registration'.
Florent Bruneau [Wed, 11 Feb 2009 07:42:43 +0000 (08:42 +0100)]
Use flag 'registration'.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCan get the number of notification.
Florent Bruneau [Tue, 10 Feb 2009 23:16:52 +0000 (00:16 +0100)]
Can get the number of notification.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoStart porting carnet to UserFilter.
Florent Bruneau [Sun, 8 Feb 2009 23:06:45 +0000 (00:06 +0100)]
Start porting carnet to UserFilter.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd filter on contacts, fix $globals->asso() on X.org.
Florent Bruneau [Sun, 8 Feb 2009 19:56:36 +0000 (20:56 +0100)]
Add filter on contacts, fix $globals->asso() on X.org.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoImproves email handling, add support for query on a list of emails.
Florent Bruneau [Sun, 8 Feb 2009 18:12:12 +0000 (19:12 +0100)]
Improves email handling, add support for query on a list of emails.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRemove debug.
Florent Bruneau [Sun, 8 Feb 2009 17:25:56 +0000 (18:25 +0100)]
Remove debug.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix notices, restore "see site as..."
Florent Bruneau [Sun, 8 Feb 2009 17:19:36 +0000 (18:19 +0100)]
Fix notices, restore "see site as..."

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFixes and minor improvements.
Florent Bruneau [Sun, 8 Feb 2009 16:55:26 +0000 (17:55 +0100)]
Fixes and minor improvements.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix date.
Florent Bruneau [Sat, 7 Feb 2009 00:39:51 +0000 (01:39 +0100)]
Fix date.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRSS and email are auth_user free.
Florent Bruneau [Sat, 7 Feb 2009 00:37:13 +0000 (01:37 +0100)]
RSS and email are auth_user free.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge commit 'origin/fusionax' into account
Florent Bruneau [Sat, 7 Feb 2009 00:21:53 +0000 (01:21 +0100)]
Merge commit 'origin/fusionax' into account

16 years agoMerge commit 'origin/master' into fusionax
Florent Bruneau [Sat, 7 Feb 2009 00:21:18 +0000 (01:21 +0100)]
Merge commit 'origin/master' into fusionax

16 years agoMerge commit 'origin/platal-0.10.0'
Florent Bruneau [Sat, 7 Feb 2009 00:20:52 +0000 (01:20 +0100)]
Merge commit 'origin/platal-0.10.0'

16 years agoResurrect events/rss.tpl and xnetgrp/announce-rss.tpl that were lost in a
Florent Bruneau [Sat, 7 Feb 2009 00:18:13 +0000 (01:18 +0100)]
Resurrect events/rss.tpl and xnetgrp/announce-rss.tpl that were lost in a
bad conflict resolution some times ago.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoNo more auth_user_ in xnetgrp.
Florent Bruneau [Sat, 7 Feb 2009 00:05:20 +0000 (01:05 +0100)]
No more auth_user_ in xnetgrp.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoKill lot of deprecated code \o/.
Florent Bruneau [Thu, 5 Feb 2009 22:17:21 +0000 (23:17 +0100)]
Kill lot of deprecated code \o/.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoPort marketing.
Florent Bruneau [Thu, 5 Feb 2009 21:57:01 +0000 (22:57 +0100)]
Port marketing.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoImplements sorting and limits on UserFilter. Start porting xnetgrp to UserFilter.
Florent Bruneau [Wed, 4 Feb 2009 23:01:06 +0000 (00:01 +0100)]
Implements sorting and limits on UserFilter. Start porting xnetgrp to UserFilter.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd stuff to enable sort of result.
Florent Bruneau [Wed, 4 Feb 2009 07:33:03 +0000 (08:33 +0100)]
Add stuff to enable sort of result.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMore filters:
Florent Bruneau [Tue, 3 Feb 2009 22:30:10 +0000 (23:30 +0100)]
More filters:
 * sex
 * groups
 * death
 * registration

Add function to get all users matched by a filter.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd sugar.
Florent Bruneau [Tue, 3 Feb 2009 07:37:30 +0000 (08:37 +0100)]
Add sugar.

eg.: To build a filter that matches user with promo X between 1960 and 2002
$uf = new UserFilter(new UFC_And(new UFC_Promo('<=', UserFilter::GRADE_ING, 2002),
                                 new UFC_Promo('>=', UserFilter::GRADE_ING, 1960)))

(UFC = UserFilterCondition).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoUserFilter build a SQL query. Add filtering on names.
Florent Bruneau [Mon, 2 Feb 2009 22:46:02 +0000 (23:46 +0100)]
UserFilter build a SQL query. Add filtering on names.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>