Florent Bruneau [Sat, 26 Feb 2011 11:07:20 +0000 (12:07 +0100)]
Update core
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 26 Feb 2011 10:01:44 +0000 (11:01 +0100)]
Split code in order to make it a bit more readable.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 26 Feb 2011 09:22:33 +0000 (10:22 +0100)]
Improves interaction with popup list.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sat, 26 Feb 2011 08:09:35 +0000 (09:09 +0100)]
Don't overload the server with killer queries.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 25 Feb 2011 22:08:51 +0000 (23:08 +0100)]
Experimental real-time search on the 'quick search' box on the top of the
page.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 25 Feb 2011 18:35:34 +0000 (19:35 +0100)]
Upgrade jQuery to 1.5.1
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 25 Feb 2011 16:32:03 +0000 (17:32 +0100)]
Use Get::set() and Post::set() instead of direct assignations of
$_GET/$_POST
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 25 Feb 2011 16:15:06 +0000 (17:15 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/master
Florent Bruneau [Thu, 24 Feb 2011 20:26:17 +0000 (21:26 +0100)]
Fix the 'Norbert Bug'.
This bug had two sources:
- The first source is the fact that we passed a string instead of a list
as the members argument of mass_subscribe
- The second source is the fact that python is a stupid languages and
iterating on a string works, it just enumerates the string character
per character.
Our founders attributed themselves one-letter email aliases(like 'n' for
Norbert L. and 'y' for Yann B.) and as soon as a list created through the
validation process contained an email with a 'n' (this happen quite often
when the email contains polytechnique), the enumeration of the string
triggered the subscription of 'n@polytechnique.org'.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Wed, 23 Feb 2011 19:33:19 +0000 (20:33 +0100)]
Merge remote-tracking branch 'origin/xorg/maint' into xorg/master
Florent Bruneau [Wed, 23 Feb 2011 19:30:46 +0000 (20:30 +0100)]
Doxygen configuration moved to the core.
make doc => generates the documentation for plat/al (in doc/html)
cd core && make doc => generates the documentation for the core (in
core/doc/html)
Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>
Raphaël Barrois [Tue, 22 Feb 2011 22:15:23 +0000 (23:15 +0100)]
Fix UFBF_SchoolId
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 22 Feb 2011 21:35:15 +0000 (22:35 +0100)]
Fix the 'view as text' link for NLs (Closes #1395)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Tue, 22 Feb 2011 21:33:04 +0000 (22:33 +0100)]
Improve template for group NLs notification (Closes #1400)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Tue, 22 Feb 2011 13:37:09 +0000 (14:37 +0100)]
Merge remote-tracking branch 'origin/xorg/maint' into xorg/master
Stéphane Jacob [Tue, 22 Feb 2011 09:25:12 +0000 (10:25 +0100)]
Updates banana.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 21 Feb 2011 18:05:48 +0000 (19:05 +0100)]
HTML validation.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 22 Feb 2011 06:46:02 +0000 (07:46 +0100)]
Fixes wrong core...
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Mon, 21 Feb 2011 20:14:02 +0000 (21:14 +0100)]
Add doxygen configuration and setup 'make doc' to generate the
documentation.
Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>
Stéphane Jacob [Mon, 21 Feb 2011 14:12:40 +0000 (15:12 +0100)]
Fixes preferences page's html.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 21 Feb 2011 14:08:26 +0000 (15:08 +0100)]
Fixes php error due to misue of t().
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 16 Feb 2011 21:24:17 +0000 (22:24 +0100)]
Fixes errors on validation page.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 21 Feb 2011 13:23:03 +0000 (14:23 +0100)]
Missed a reference passing (php 5.3...).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sun, 20 Feb 2011 18:17:51 +0000 (19:17 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/master
Conflicts:
configs/mails.conf
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Raphaël Barrois [Sun, 20 Feb 2011 01:07:36 +0000 (02:07 +0100)]
Prevent sending of empty NLs.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 20 Feb 2011 01:07:24 +0000 (02:07 +0100)]
Improve safeguards for NLs : send to admins first, and notify br@ when a new NL is scheduled
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 20 Feb 2011 01:06:34 +0000 (02:06 +0100)]
Fix the field type for the 'send_before' field of newsletters
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 20 Feb 2011 01:06:16 +0000 (02:06 +0100)]
Prevent erasing a newsletter if no Post data was received
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 20 Feb 2011 01:05:24 +0000 (02:05 +0100)]
Ensure that UFC_SchoolId is exportable
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 20 Feb 2011 01:01:08 +0000 (02:01 +0100)]
Add UFO_IsAdmin
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Fri, 18 Feb 2011 21:25:47 +0000 (22:25 +0100)]
Fix PHP error on wiki pages (Closes #1386).
I *hate* pmwiki.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 18 Feb 2011 19:51:57 +0000 (20:51 +0100)]
Revert new survey on master.
I'll move all this stuff to a feature branch so that the surveys will not
block the next release if not ready.
I just hope I didn't break anything in my revert.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 18 Feb 2011 19:02:57 +0000 (20:02 +0100)]
Also notifies non-X users about group subscriptions.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 18 Feb 2011 14:38:03 +0000 (15:38 +0100)]
Primary education should be intialized with the highest id.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 18 Feb 2011 14:20:29 +0000 (15:20 +0100)]
Only stores required profile modifications.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 16 Feb 2011 21:28:53 +0000 (22:28 +0100)]
Fixes wrong call to page owner.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Wed, 16 Feb 2011 21:26:28 +0000 (22:26 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/master
Conflicts:
core
modules/admin.php
modules/carnet.php
modules/events.php
modules/payment.php
modules/survey.php
modules/xnetgrp.php
plugins/function.poison.php
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Wed, 16 Feb 2011 14:13:44 +0000 (15:13 +0100)]
Fixes deprecated features in PHP 5.3.x.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 14 Feb 2011 10:06:51 +0000 (11:06 +0100)]
Typo.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 13 Feb 2011 22:13:43 +0000 (23:13 +0100)]
Fixes erroneous rights for address and job deletion.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 12 Feb 2011 17:41:37 +0000 (18:41 +0100)]
Fixes display of the notification email when user chose the non-geocoded address.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sat, 12 Feb 2011 17:38:20 +0000 (18:38 +0100)]
Fixes email notification when user chose the non-geocoded address.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sat, 12 Feb 2011 11:19:38 +0000 (12:19 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/master
Conflicts:
templates/xnetgrp/membres-edit.tpl
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Fri, 11 Feb 2011 23:00:39 +0000 (00:00 +0100)]
Do not display job's address and email if private to users with only ax directory credentials.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 11 Feb 2011 18:52:51 +0000 (19:52 +0100)]
Prevents deletion of items without edition rigths.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 11 Feb 2011 13:19:12 +0000 (14:19 +0100)]
Adds comparison function based on items' publicity and uses it to order profile item in such an order.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Fri, 11 Feb 2011 12:50:45 +0000 (13:50 +0100)]
Do not reinsert private data if one can one insert ax or public data.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 9 Feb 2011 15:06:26 +0000 (16:06 +0100)]
Only xnet and virtual accounts should be edited through xnet.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 9 Feb 2011 10:36:19 +0000 (11:36 +0100)]
Fixes membres ordering in MLs (Closes #1387).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 9 Feb 2011 10:32:22 +0000 (11:32 +0100)]
Improves membres ordering in MLs.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 9 Feb 2011 10:05:48 +0000 (11:05 +0100)]
Updates database thanks to new AX data..
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Wed, 9 Feb 2011 10:05:20 +0000 (11:05 +0100)]
Updates formatting of AX education...
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Tue, 8 Feb 2011 21:14:26 +0000 (22:14 +0100)]
Fixes display of amount to pay in xnet events.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Mon, 7 Feb 2011 17:02:41 +0000 (18:02 +0100)]
Also drops survey_answers in update script.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Mon, 7 Feb 2011 16:34:12 +0000 (17:34 +0100)]
Fix X.org NL reminder
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Stéphane Jacob [Mon, 7 Feb 2011 14:53:56 +0000 (15:53 +0100)]
Increases email input size.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Raphaël Barrois [Mon, 7 Feb 2011 07:24:40 +0000 (08:24 +0100)]
Fix pending NL issue retrieval
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 6 Feb 2011 22:00:46 +0000 (23:00 +0100)]
Automatically create a new pending issue if it doesn't exist when committing an article for the NL
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Sun, 6 Feb 2011 20:57:14 +0000 (21:57 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/master
Conflicts:
templates/search/index.tpl
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 6 Feb 2011 20:54:51 +0000 (21:54 +0100)]
Don't propose promotion ml subscription if the list does not exist.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Sun, 6 Feb 2011 20:46:27 +0000 (21:46 +0100)]
Do not store profile modification of null fields.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 6 Feb 2011 20:34:54 +0000 (21:34 +0100)]
Fixes ambiguous order clause.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Stéphane Jacob [Sun, 6 Feb 2011 20:28:52 +0000 (21:28 +0100)]
Fixes wrong fields in direnum class.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
João Pedro Athayde Marcondes de André (JP) [Fri, 4 Feb 2011 19:11:12 +0000 (20:11 +0100)]
BUGFIX: update data in register_pending if a new subscription is started.
João Pedro Athayde Marcondes de André (JP) [Fri, 4 Feb 2011 21:52:43 +0000 (22:52 +0100)]
Merge branch 'xorg/master' of /home/git/platal into xorg/master
Florent Bruneau [Fri, 4 Feb 2011 21:11:00 +0000 (22:11 +0100)]
Fix tmpl error.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Fri, 4 Feb 2011 20:43:57 +0000 (21:43 +0100)]
Switch to jQuery 1.5
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
João Pedro Athayde Marcondes de André (JP) [Fri, 4 Feb 2011 19:11:12 +0000 (20:11 +0100)]
BUGFIX: update data in register_pending if a new subscription is started.
Raphaël Barrois [Mon, 31 Jan 2011 23:44:34 +0000 (00:44 +0100)]
Select users in batches instead of 'all at once' when sending NLs
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 31 Jan 2011 23:40:59 +0000 (00:40 +0100)]
An empty UserFilterBuilder should return a PFC_True() instead of an empty PFC_And() (== PFC_False).
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Mon, 31 Jan 2011 21:12:53 +0000 (22:12 +0100)]
Popup only one profile.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 31 Jan 2011 21:08:14 +0000 (22:08 +0100)]
Fix admin/user page.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 31 Jan 2011 19:29:26 +0000 (20:29 +0100)]
Merge fail (bis).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 31 Jan 2011 19:27:44 +0000 (20:27 +0100)]
Fix syntax error.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 31 Jan 2011 19:26:21 +0000 (20:26 +0100)]
Merge fail (bis).
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 31 Jan 2011 19:24:29 +0000 (20:24 +0100)]
Merge fail.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Mon, 31 Jan 2011 19:21:13 +0000 (20:21 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/master
Conflicts:
ChangeLog
Makefile
classes/userfilter/conditions.inc.php
core
htdocs/javascript/do_challenge_response.js
htdocs/javascript/password.js
htdocs/javascript/wiki.js
htdocs/javascript/xorg.js
include/massmailer.inc.php
modules/admin.php
modules/api.php
modules/axletter/axletter.inc.php
templates/admin/user.tpl
templates/axletter/admin.tpl
templates/axletter/edit.tpl
templates/axletter/index.tpl
templates/axletter/show.tpl
templates/emails/antispam.tpl
templates/emails/index.tpl
templates/events/form.tpl
templates/gadgets/ig-skin.tpl
templates/lists/index.tpl
templates/profile/fiche_referent.tpl
templates/search/index.tpl
templates/skin/common.bandeau.head.tpl
templates/skin/common.title.header.tpl
templates/survey/show_textarea.tpl
templates/survey/success.tpl
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
João Pedro Athayde Marcondes de André (JP) [Mon, 31 Jan 2011 17:36:09 +0000 (18:36 +0100)]
Rename file for dropping old tables so that we can do remove them once we have updated postfix everywhere
Raphaël Barrois [Mon, 31 Jan 2011 13:16:09 +0000 (14:16 +0100)]
Update all remaining references to old style axletter (reminder, register, user deletion)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 30 Jan 2011 23:40:12 +0000 (00:40 +0100)]
Insert release date into ChangeLog, fix NL upgrade script.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Sun, 30 Jan 2011 16:19:19 +0000 (17:19 +0100)]
Can select the type of section.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 30 Jan 2011 15:54:16 +0000 (16:54 +0100)]
Save answers.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 30 Jan 2011 14:45:16 +0000 (15:45 +0100)]
Improves usability.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 30 Jan 2011 14:15:39 +0000 (15:15 +0100)]
Support multiline text answers.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Florent Bruneau [Sun, 30 Jan 2011 11:03:54 +0000 (12:03 +0100)]
Improvements and fixes for the surveys.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Raphaël Barrois [Sat, 29 Jan 2011 19:47:00 +0000 (20:47 +0100)]
Update ChangeLog
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 29 Jan 2011 22:04:42 +0000 (23:04 +0100)]
Fix the newsletter.send.php script
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Thu, 27 Jan 2011 23:47:01 +0000 (00:47 +0100)]
Enable links to EP letter in the menu.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 29 Jan 2011 23:33:24 +0000 (00:33 +0100)]
Update admin pages in order to list all NLs
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 29 Jan 2011 23:37:49 +0000 (00:37 +0100)]
Enable link to NL pages in X.net groups. (Closes #774)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 24 Jan 2011 00:23:54 +0000 (01:23 +0100)]
Update/merge Newsletter-related code. (Closes #1226, #858, #1047)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 29 Jan 2011 23:30:25 +0000 (00:30 +0100)]
Create the StoredUserFilterBuilder class.
It is used to wrap a UserFilterBuilder, keeping the environment for
filling it as well.
This allows to store the UFC generated by a UserFilterBuilder and the
values of the form which led to that UFC, so that the UFC can be later
edited with the same form.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 29 Jan 2011 23:29:51 +0000 (00:29 +0100)]
Add UFC_HasEmailRedirect / UFC_NLSubscribed
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Mon, 24 Jan 2011 14:43:39 +0000 (15:43 +0100)]
Fix UFC_Promo export
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sat, 29 Jan 2011 19:52:25 +0000 (20:52 +0100)]
Use correct version of core.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Tue, 4 Jan 2011 20:51:37 +0000 (21:51 +0100)]
Happy New Year!
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Stéphane Jacob [Wed, 29 Dec 2010 01:07:27 +0000 (02:07 +0100)]
Adds search on subadministrativearea (Closes #1312).
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Florent Bruneau [Sun, 19 Dec 2010 21:09:50 +0000 (22:09 +0100)]
Update jQuery, add jQuery Tmpl plugin in deps.
Use:
* jQuery 1.4.4
* jQuery UI 1.8.7
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Raphaël Barrois [Mon, 8 Nov 2010 17:19:55 +0000 (18:19 +0100)]
Add link to account types from account creation page.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Sun, 7 Nov 2010 16:36:46 +0000 (17:36 +0100)]
Javascript cleanup again.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>