platal.git
13 years agoMerge remote branch 'origin/xorg/maint' into xorg/master
Florent Bruneau [Fri, 25 Feb 2011 16:15:06 +0000 (17:15 +0100)]
Merge remote branch 'origin/xorg/maint' into xorg/master

13 years agoFix the 'Norbert Bug'.
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>
13 years agoMerge remote-tracking branch 'origin/xorg/maint' into xorg/master
Florent Bruneau [Wed, 23 Feb 2011 19:33:19 +0000 (20:33 +0100)]
Merge remote-tracking branch 'origin/xorg/maint' into xorg/master

13 years agoDoxygen configuration moved to the core.
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>
13 years agoFix UFBF_SchoolId
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>
13 years agoFix the 'view as text' link for NLs (Closes #1395)
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>
13 years agoImprove template for group NLs notification (Closes #1400)
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>
13 years agoMerge remote-tracking branch 'origin/xorg/maint' into xorg/master
Florent Bruneau [Tue, 22 Feb 2011 13:37:09 +0000 (14:37 +0100)]
Merge remote-tracking branch 'origin/xorg/maint' into xorg/master

13 years agoUpdates banana.
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>
13 years agoHTML validation.
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>
13 years agoFixes wrong core...
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>
13 years agoAdd doxygen configuration and setup 'make doc' to generate the
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>
13 years agoFixes preferences page's html.
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>
13 years agoFixes php error due to misue of t().
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>
13 years agoFixes errors on validation page.
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>
13 years agoMissed a reference passing (php 5.3...).
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>
13 years agoMerge remote branch 'origin/xorg/maint' into xorg/master
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>
13 years agoPrevent sending of empty NLs.
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>
13 years agoImprove safeguards for NLs : send to admins first, and notify br@ when a new NL is...
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>
13 years agoFix the field type for the 'send_before' field of newsletters
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>
13 years agoPrevent erasing a newsletter if no Post data was received
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>
13 years agoEnsure that UFC_SchoolId is exportable
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>
13 years agoAdd UFO_IsAdmin
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>
13 years agoFix PHP error on wiki pages (Closes #1386).
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>
13 years agoRevert new survey on master.
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>
13 years agoAlso notifies non-X users about group subscriptions.
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>
13 years agoPrimary education should be intialized with the highest id.
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>
13 years agoOnly stores required profile modifications.
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>
13 years agoFixes wrong call to page owner.
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>
13 years agoMerge remote branch 'origin/xorg/maint' into xorg/master
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>
13 years agoFixes deprecated features in PHP 5.3.x.
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>
13 years agoTypo.
Stéphane Jacob [Mon, 14 Feb 2011 10:06:51 +0000 (11:06 +0100)]
Typo.

Signed-off-by: Stéphane Jacob <sj@m4x.org>
13 years agoFixes erroneous rights for address and job deletion.
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>
13 years agoFixes display of the notification email when user chose the non-geocoded address.
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>
13 years agoFixes email notification when user chose the non-geocoded address.
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>
13 years agoMerge remote branch 'origin/xorg/maint' into xorg/master
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>
13 years agoDo not display job's address and email if private to users with only ax directory...
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>
13 years agoPrevents deletion of items without edition rigths.
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>
13 years agoAdds comparison function based on items' publicity and uses it to order profile item...
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>
13 years agoDo not reinsert private data if one can one insert ax or public data.
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>
13 years agoOnly xnet and virtual accounts should be edited through xnet.
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>
13 years agoFixes membres ordering in MLs (Closes #1387).
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>
13 years agoImproves membres ordering in MLs.
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>
13 years agoUpdates database thanks to new AX data..
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>
13 years agoUpdates formatting of AX education...
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>
13 years agoFixes display of amount to pay in xnet events.
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>
13 years agoAlso drops survey_answers in update script.
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>
13 years agoFix X.org NL reminder
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>
13 years agoIncreases email input size.
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>
13 years agoFix pending NL issue retrieval
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>
13 years agoAutomatically create a new pending issue if it doesn't exist when committing an artic...
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>
13 years agoMerge remote branch 'origin/xorg/maint' into xorg/master
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>
13 years agoDon't propose promotion ml subscription if the list does not exist.
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>
13 years agoDo not store profile modification of null fields.
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>
13 years agoFixes ambiguous order clause.
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>
13 years agoFixes wrong fields in direnum class.
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>
13 years agoBUGFIX: update data in register_pending if a new subscription is started.
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.

13 years agoMerge branch 'xorg/master' of /home/git/platal into xorg/master
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

13 years agoFix tmpl error.
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>
13 years agoSwitch to jQuery 1.5
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>
13 years agoBUGFIX: update data in register_pending if a new subscription is started.
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.

13 years agoSelect users in batches instead of 'all at once' when sending NLs
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>
13 years agoAn empty UserFilterBuilder should return a PFC_True() instead of an empty PFC_And...
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>
13 years agoPopup only one profile.
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>
13 years agoFix admin/user page.
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>
13 years agoMerge fail (bis).
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>
13 years agoFix syntax error.
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>
13 years agoMerge fail (bis).
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>
13 years agoMerge fail.
Florent Bruneau [Mon, 31 Jan 2011 19:24:29 +0000 (20:24 +0100)]
Merge fail.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoMerge remote branch 'origin/xorg/maint' into xorg/master
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>
13 years agoRename file for dropping old tables so that we can do remove them once we have update...
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

13 years agoUpdate all remaining references to old style axletter (reminder, register, user deletion)
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>
13 years agoInsert release date into ChangeLog, fix NL upgrade script.
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>
13 years agoCan select the type of section.
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>
13 years agoSave answers.
Florent Bruneau [Sun, 30 Jan 2011 15:54:16 +0000 (16:54 +0100)]
Save answers.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoImproves usability.
Florent Bruneau [Sun, 30 Jan 2011 14:45:16 +0000 (15:45 +0100)]
Improves usability.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoSupport multiline text answers.
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>
13 years agoImprovements and fixes for the surveys.
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>
13 years agoUpdate ChangeLog xorg/1.0.2
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>
13 years agoFix the newsletter.send.php script
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>
13 years agoEnable links to EP letter in the menu.
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>
13 years agoUpdate admin pages in order to list all NLs
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>
13 years agoEnable link to NL pages in X.net groups. (Closes #774)
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>
13 years agoUpdate/merge Newsletter-related code. (Closes #1226, #858, #1047)
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>
13 years agoCreate the StoredUserFilterBuilder class.
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>
13 years agoAdd UFC_HasEmailRedirect / UFC_NLSubscribed
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>
13 years agoFix UFC_Promo export
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>
13 years agoUse correct version of core.
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>
13 years agoHappy New Year!
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>
13 years agoAdds search on subadministrativearea (Closes #1312).
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>
13 years agoUpdate jQuery, add jQuery Tmpl plugin in deps.
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>
13 years agoAdd link to account types from account creation page.
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>
13 years agoJavascript cleanup again.
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>
13 years agoImproves jQuery extension in xorg.js.
Florent Bruneau [Sun, 7 Nov 2010 15:48:17 +0000 (16:48 +0100)]
Improves jQuery extension in xorg.js.

This provides the following Ajax-based API:
  $.xget(url, data, onSuccess, onError, type);
  $.xgetJSON(url, data, onSuccess, onError);
  $.xgetScript(url, onSuccess, onError);
  $.xpost(url, data, onSuccess, onError, type);
These functions support does the same as the jQuery's default ajax
function (without 'x' prefix) but distinguish the case of http success and
the case of http error (500, 40x). By default onSuccess is null, while
onError display an alert.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoRemove ajax.js.
Florent Bruneau [Sat, 6 Nov 2010 22:44:51 +0000 (23:44 +0100)]
Remove ajax.js.

A large part of ajax.js has been integrated as an extension of jQuery
($([selector]).updateHtml(), ...).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoMove header javascript to xorg.js.
Florent Bruneau [Sat, 6 Nov 2010 20:27:29 +0000 (21:27 +0100)]
Move header javascript to xorg.js.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoImplements export() and fromExport() for UF and some UFCs.
Florent Bruneau [Sat, 6 Nov 2010 07:52:46 +0000 (08:52 +0100)]
Implements export() and fromExport() for UF and some UFCs.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoImplements export() and fromExport() on UFOs.
Florent Bruneau [Sat, 6 Nov 2010 07:52:46 +0000 (08:52 +0100)]
Implements export() and fromExport() on UFOs.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoSplit userfilter.php
Florent Bruneau [Fri, 5 Nov 2010 22:23:37 +0000 (23:23 +0100)]
Split userfilter.php

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
13 years agoUpdate following core@7da01959a.
Florent Bruneau [Fri, 5 Nov 2010 22:14:14 +0000 (23:14 +0100)]
Update following core@7da01959a.

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