Vincent Zanotti [Sat, 11 Oct 2008 17:13:06 +0000 (19:13 +0200)]
Fixes use of object User in module GoogleApps.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 28 Sep 2008 11:25:13 +0000 (13:25 +0200)]
Fixes hruid-incompatible changes from last merge.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 28 Sep 2008 11:14:11 +0000 (13:14 +0200)]
Merge commit 'origin/master' into hruid
Vincent Zanotti [Sun, 28 Sep 2008 10:26:54 +0000 (12:26 +0200)]
Updates the GoogleApps password, if required, when an above-10-chars password was successfuly detected and stored in the database.
Follow-up to
2b18a8ff and
79afc233.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Stéphane Jacob [Sat, 27 Sep 2008 15:48:51 +0000 (17:48 +0200)]
Adds labels around checkbox and radio inputs.
Stéphane Jacob [Sat, 27 Sep 2008 13:22:38 +0000 (15:22 +0200)]
Ajusts text for password changing according to
2b18a8ff.
Stéphane Jacob [Sat, 27 Sep 2008 13:08:17 +0000 (15:08 +0200)]
A few typos.
Florent Bruneau [Fri, 26 Sep 2008 06:35:12 +0000 (08:35 +0200)]
Don't send transition data if new_pass === old_pass.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 25 Sep 2008 19:34:49 +0000 (21:34 +0200)]
Remove MD5 -> SHA1 password transition and replace it by (10 characters -> 256 characters)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Olivier Le Floch [Wed, 24 Sep 2008 19:15:40 +0000 (21:15 +0200)]
In the marketing administration page, fix display of marketings done by the mass-marketing script, which does not define a sender
- The query uses a LEFT JOIN in case sender is not a valid uid,
- If the sender is not found, then the template does not fill in his name in the output table.
Vincent Zanotti [Sun, 21 Sep 2008 20:24:50 +0000 (22:24 +0200)]
Merge commit 'origin/master' into hruid
Conflicts:
include/emails.inc.php
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 21 Sep 2008 20:09:09 +0000 (22:09 +0200)]
Merge commit 'origin/master' into hruid
Conflicts:
classes/xnetsession.php
include/validations/medals.inc.php
include/validations/nomusage.inc.php
include/validations/photos.inc.php
include/vcard.inc.php
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Thu, 18 Sep 2008 13:48:41 +0000 (15:48 +0200)]
Race condition.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 4 Sep 2008 06:31:30 +0000 (08:31 +0200)]
Fix some issues with opt-in on rewrite.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 3 Sep 2008 21:17:24 +0000 (23:17 +0200)]
Opt-in for email rewriting.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 1 Sep 2008 19:32:50 +0000 (21:32 +0200)]
Merge branch 'platal-0.9.17'
Vincent Zanotti [Sun, 10 Aug 2008 22:54:31 +0000 (00:54 +0200)]
Adds a missing xsrf token in lists moderator removal.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Mon, 1 Sep 2008 19:22:00 +0000 (21:22 +0200)]
To avoid support requests, show an explicite message when the event exists but you don't have sufficient permissions to subscribe.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Mon, 1 Sep 2008 12:52:59 +0000 (14:52 +0200)]
Improves slightly the Minifiche and updates default skin accordingly (Closes #874).
Stéphane Jacob [Mon, 1 Sep 2008 09:38:53 +0000 (11:38 +0200)]
Helps users to give a proper url on .net (Closes #884).
Vincent Zanotti [Mon, 1 Sep 2008 00:18:53 +0000 (02:18 +0200)]
Updates core to latest version.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Mon, 1 Sep 2008 00:16:58 +0000 (02:16 +0200)]
Converts module Email to the new User/hruid model.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Sun, 31 Aug 2008 19:40:24 +0000 (21:40 +0200)]
new PlArrayIterator is deprecated.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 31 Aug 2008 16:45:23 +0000 (18:45 +0200)]
XnetSession inherits XorgSession.
Avoid code duplication.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 31 Aug 2008 16:39:30 +0000 (18:39 +0200)]
List-RPC reads its host:port in configuration file.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 31 Aug 2008 11:50:54 +0000 (13:50 +0200)]
Some entries of geoloc_pays MUST NOT be used as a nationality.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 31 Aug 2008 09:25:18 +0000 (11:25 +0200)]
Merge branch 'platal-0.9.17'
Conflicts:
templates/events/rss.tpl
templates/xnetgrp/announce-rss.tpl
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 31 Aug 2008 09:21:17 +0000 (11:21 +0200)]
Fix a bug that breaks edit/emploi on IE.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 30 Aug 2008 19:06:48 +0000 (21:06 +0200)]
Better error processing in list.rpc.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 28 Aug 2008 22:00:46 +0000 (00:00 +0200)]
Switch to the new VCard.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Aymeric Augustin [Wed, 27 Aug 2008 22:02:35 +0000 (00:02 +0200)]
Implement X.net ergonomy suggestions by BdB
Stéphane Jacob [Wed, 27 Aug 2008 19:51:50 +0000 (21:51 +0200)]
Displays the list's full name in the confirmation mail.
Stéphane Jacob [Wed, 27 Aug 2008 18:41:46 +0000 (20:41 +0200)]
Alters applis table to add MIA diploma.
Stéphane Jacob [Mon, 25 Aug 2008 07:51:13 +0000 (09:51 +0200)]
Changes sligthly the profile update display.
Vincent Zanotti [Sun, 24 Aug 2008 21:23:41 +0000 (23:23 +0200)]
Upgrades the profile to the new User/hruid model.
This is only a partial upgrade though, since the profile will benefit from the integration of all profile informations to the User object.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 21:18:49 +0000 (23:18 +0200)]
Updates User's fullName() to use nom_usage instead of nom when available.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 20:29:15 +0000 (22:29 +0200)]
Merge commit 'origin/master' into hruid
Vincent Zanotti [Sun, 24 Aug 2008 20:27:15 +0000 (22:27 +0200)]
Converts XnetList and the wiki to the new User/hruid model.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 20:24:06 +0000 (22:24 +0200)]
Converts the XnetGrp module to the new User/hruid model.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 18:32:02 +0000 (20:32 +0200)]
Converts the test_email smarty plugin to hruid.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 18:18:41 +0000 (20:18 +0200)]
Fixes a forlife issue in XorgSession::doAuth ('forlife' is know the full email address).
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 17:54:36 +0000 (19:54 +0200)]
Updates the cron scripts to the new User/Hruid model.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 17:38:46 +0000 (19:38 +0200)]
Updates the cron for homonymes, and its validation task.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 15:15:24 +0000 (17:15 +0200)]
Switches email related classes to the new User model.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 15:29:18 +0000 (17:29 +0200)]
Fixes non-referenced use of User, which would have led to a performance impact.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 15:32:59 +0000 (17:32 +0200)]
Updates hruid to latest version of core.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 14:02:15 +0000 (16:02 +0200)]
Migrates the validation architecture to an User-based model, instead of the deprecated uid-model.
Please note that this commit invalidates existing requests.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 00:29:30 +0000 (02:29 +0200)]
Removes the now unused make_forlife smarty function.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 24 Aug 2008 00:28:30 +0000 (02:28 +0200)]
Adds a security check on the existence of an hruid at registration time.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sat, 23 Aug 2008 18:41:01 +0000 (20:41 +0200)]
Extends the user massadder to automatically set the hruid field, when a value can be computed.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sat, 23 Aug 2008 18:04:53 +0000 (20:04 +0200)]
Updates minifiche template to use hruid instead of make_forlife and user_id (whenever possible).
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sat, 23 Aug 2008 18:01:40 +0000 (20:01 +0200)]
Switches marketing/public and marketing/private pages to hruid based urls.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sat, 23 Aug 2008 16:35:48 +0000 (18:35 +0200)]
Switches photo handler to new User model, and rewrites the method flow to handle in a better way non existant photos.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sat, 23 Aug 2008 16:31:00 +0000 (18:31 +0200)]
Uses S::user()->login() instead of S::v('forlife') in all calls to PlUpload.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sat, 23 Aug 2008 15:58:55 +0000 (17:58 +0200)]
Updates the test email sender method to the new User model.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sat, 23 Aug 2008 15:53:06 +0000 (17:53 +0200)]
Updates implementation of User class to handle fields 'gender' and 'email_format'.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Sat, 23 Aug 2008 15:44:52 +0000 (17:44 +0200)]
No more on_subscribe. It fortunately didn't work.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Vincent Zanotti [Sat, 23 Aug 2008 14:22:49 +0000 (16:22 +0200)]
Merge commit 'origin/master' into hruid
Conflicts:
classes/xnetsession.php
classes/xorgsession.php
core
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Sat, 23 Aug 2008 13:40:25 +0000 (15:40 +0200)]
Update Makefile to build the core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 23 Aug 2008 12:42:45 +0000 (14:42 +0200)]
Use Platal::load()
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 19 Aug 2008 21:30:55 +0000 (23:30 +0200)]
PlModule::load($file) is soooooooooo good.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 19 Aug 2008 20:44:38 +0000 (22:44 +0200)]
Use the new PlArrayIterator in the CarnetFeed.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 19 Aug 2008 19:56:03 +0000 (21:56 +0200)]
Fix SQL
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 19 Aug 2008 19:33:37 +0000 (21:33 +0200)]
Port Xnet feed to PlFeed.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 19 Aug 2008 19:33:06 +0000 (21:33 +0200)]
Fix signature of Xnet::force_login()
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 19 Aug 2008 19:32:50 +0000 (21:32 +0200)]
Useless: this is done by PlFeed.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 18 Aug 2008 21:14:15 +0000 (23:14 +0200)]
Fix variable names.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 18 Aug 2008 21:11:42 +0000 (23:11 +0200)]
Switch carnet's RSS to the PlFeed structure.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 18 Aug 2008 19:49:22 +0000 (21:49 +0200)]
Update the CLI wrapper script to use the Xorg class.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 17 Aug 2008 21:27:40 +0000 (23:27 +0200)]
Some fixes, use last core.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 17 Aug 2008 21:07:41 +0000 (23:07 +0200)]
Switch the event feed to the new PlFeed structure.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 17 Aug 2008 19:57:09 +0000 (21:57 +0200)]
Move more templates to the core.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 17 Aug 2008 19:43:56 +0000 (21:43 +0200)]
Update to last core:
* remove templates moved to the core.
* remove useless templates and fix broken references.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 17 Aug 2008 10:40:42 +0000 (12:40 +0200)]
loggedLevel is "AUTH_COOKIE".
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Thu, 14 Aug 2008 19:37:53 +0000 (21:37 +0200)]
Load xorg.js by default on xorg and xnet.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Vincent Zanotti [Sun, 10 Aug 2008 23:07:01 +0000 (01:07 +0200)]
Removes now deprecated and unused login/forlife manipulation helpers in user.inc.php (everything is now in User class).
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 10 Aug 2008 23:04:24 +0000 (01:04 +0200)]
Switches to the User version of _default_user_callback in ListModule's no_login_callback.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 10 Aug 2008 23:01:23 +0000 (01:01 +0200)]
Fixes callback for User::getBuldHruid in /lists/annu.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 10 Aug 2008 22:54:31 +0000 (00:54 +0200)]
Adds a missing xsrf token in lists moderator removal.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Vincent Zanotti [Sun, 10 Aug 2008 22:49:52 +0000 (00:49 +0200)]
Replaces calls to get_users_forlife_list() by calls to the appropriate PlUser methods.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Sun, 10 Aug 2008 19:58:59 +0000 (21:58 +0200)]
Update core.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 10 Aug 2008 19:50:42 +0000 (21:50 +0200)]
Move isvalid_email_redirection in emails.inc.php.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 10 Aug 2008 19:41:40 +0000 (21:41 +0200)]
Remove that ugly hack that aims at fixing session format conflicts when both .17 and master were used.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 10 Aug 2008 19:38:55 +0000 (21:38 +0200)]
Don't log 'cookie-on' each time somebody log-in with a cookie.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 10 Aug 2008 19:33:59 +0000 (21:33 +0200)]
Don't kill the authentication cookie the first time we use it.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 10 Aug 2008 13:39:31 +0000 (15:39 +0200)]
Ignore duplicates (Closes:#872)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Vincent Zanotti [Sat, 9 Aug 2008 17:55:06 +0000 (19:55 +0200)]
Merge commit 'origin/master' into hruid
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Bernardo Freitas Paulo da Costa [Fri, 8 Aug 2008 12:14:35 +0000 (14:14 +0200)]
Adds ordering to notification (makes easier to find out if it's a "recent" marketing)
Stéphane Jacob [Thu, 7 Aug 2008 17:14:18 +0000 (19:14 +0200)]
Fixes a bad link for the telepaiements (Closes #856).
Stéphane Jacob [Tue, 5 Aug 2008 20:52:16 +0000 (22:52 +0200)]
Now clicking on the flags is equivalent to clicking on the checkboxes.
Stéphane Jacob [Tue, 5 Aug 2008 18:44:29 +0000 (20:44 +0200)]
Typos.
Stéphane Jacob [Tue, 5 Aug 2008 17:49:04 +0000 (19:49 +0200)]
Adds a missing global ;
Stéphane Jacob [Mon, 4 Aug 2008 20:01:00 +0000 (22:01 +0200)]
Adds the possibility to search on diplomas (closes #822), updates ChangeLog
Vincent Zanotti [Sat, 2 Aug 2008 21:00:29 +0000 (23:00 +0200)]
Converts suid features to the new hruid model.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Sat, 2 Aug 2008 16:58:57 +0000 (18:58 +0200)]
500 status code are errors...
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 2 Aug 2008 14:28:59 +0000 (16:28 +0200)]
Fix SQL query.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 1 Aug 2008 14:30:02 +0000 (16:30 +0200)]
Fix escaping in RSS feeds.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Tue, 29 Jul 2008 12:56:48 +0000 (14:56 +0200)]
Fix empty date in profile edition notification.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Vincent Zanotti [Sun, 27 Jul 2008 22:08:39 +0000 (00:08 +0200)]
Removes calls to get_user_forlife in Search and XnetEvents modules.
Definitively remove get_user_forlife from user.func.inc.php.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
Florent Bruneau [Sun, 27 Jul 2008 22:03:20 +0000 (00:03 +0200)]
Use pl_core_include().
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>