Thomas Minvielle [Sat, 7 Jun 2014 06:28:53 +0000 (08:28 +0200)]
Merge remote-tracking branch 'origin/master' into manageurs
Nicolas Iooss [Mon, 26 May 2014 22:42:32 +0000 (00:42 +0200)]
Fix AX ID updating in admin/add_accounts page
This page creates new accounts instead of using existing ones when
updating AX IDs. Fix this by looking for profiles in the database.
Nicolas Iooss [Sun, 1 Jun 2014 19:44:19 +0000 (21:44 +0200)]
Don't set a default account type when creating an ext account
In the form to add a new "external account", the type "Personnel de
l'AX" is selected by default, which may lead to incorrect account hruid
when an admin forgets to change this type. To prevent this issue, a new
empty type is added in the HTML form.
Nicolas Iooss [Sun, 1 Jun 2014 19:39:16 +0000 (21:39 +0200)]
Implement hidden permission in profile editor
Accounts with "directory_hidden" permission (ie. people allowed to read
and update almost every information in the directory) need to be allowed
to read attributes flagged "private" (because the order of the
visibility flags is public < ax < private < hidden).
While at it, explicitly allow admin accout to read hidden values too.
Nicolas Iooss [Sun, 1 Jun 2014 19:34:36 +0000 (21:34 +0200)]
Update core
Nicolas Iooss [Sun, 1 Jun 2014 19:33:13 +0000 (21:33 +0200)]
Merge branch 'xorg/maint'
Thomas Minvielle [Sat, 31 May 2014 12:11:51 +0000 (14:11 +0200)]
Wording.
Anne Limoges [Fri, 30 May 2014 08:03:07 +0000 (10:03 +0200)]
Change payment validation tip.
Anne Limoges [Thu, 15 May 2014 12:02:04 +0000 (14:02 +0200)]
Fix xnetevents deadline check.
Thomas Minvielle [Mon, 19 May 2014 07:58:39 +0000 (09:58 +0200)]
Typo.
Thomas Minvielle [Sun, 18 May 2014 13:15:55 +0000 (15:15 +0200)]
Master deletion.
Nicolas Iooss [Sun, 18 May 2014 19:39:20 +0000 (21:39 +0200)]
Fix French typo: s/formatté/formaté/
Thomas Minvielle [Sun, 18 May 2014 07:52:14 +0000 (09:52 +0200)]
Insert or update profile_manageurs when the user validates.
Nicolas Iooss [Sat, 17 May 2014 15:09:46 +0000 (17:09 +0200)]
Force auth on newsletter unsubscription link
Thomas Minvielle [Sat, 17 May 2014 12:40:01 +0000 (14:40 +0200)]
Master deletion.
Thomas Minvielle [Fri, 16 May 2014 21:14:34 +0000 (23:14 +0200)]
Delete master education.
Thomas Minvielle [Sun, 11 May 2014 17:20:44 +0000 (19:20 +0200)]
Improvement.
Thomas Minvielle [Sun, 11 May 2014 16:55:08 +0000 (18:55 +0200)]
Update AX id for X < 2011, M < 2012, D < 2013.
Anne Limoges [Sun, 11 May 2014 15:59:04 +0000 (17:59 +0200)]
Use mysqli for LOAD DATA LOCAL INFILE.
Thomas Minvielle [Sun, 11 May 2014 10:22:52 +0000 (12:22 +0200)]
Change École polytechnique favicon.
Thomas Minvielle [Sat, 10 May 2014 22:03:02 +0000 (00:03 +0200)]
Cannot choose @melix.org as bestalias.
Anne Limoges [Fri, 9 May 2014 12:03:03 +0000 (14:03 +0200)]
Remove non-working options from xnet mail page.
Anne Limoges [Mon, 5 May 2014 08:38:05 +0000 (10:38 +0200)]
Handle canceled payment transactions.
Anne Limoges [Mon, 5 May 2014 08:38:05 +0000 (10:38 +0200)]
Handles canceled payment transactions.
Thomas Minvielle [Sun, 27 Apr 2014 10:27:01 +0000 (12:27 +0200)]
Fix profile view when not logged in.
Thomas Minvielle [Sun, 27 Apr 2014 10:27:01 +0000 (12:27 +0200)]
Fix profile view when not logged in.
Nicolas Iooss [Fri, 11 Apr 2014 21:24:58 +0000 (23:24 +0200)]
Revert "Force-normalize user emails for list unsubscribe."
This reverts commit
84d77e72a59ce20615794ad9154e71339014da84 but keeps bug fix
from commit
b32a94b8b784a4ab4d4d2af47974b6ab0659a78f.
Some external subscribers don't have an user account and hence needs to be
able to unsubscribe to mailing list using their email address only.
[Security]
Env::v('del_member') is directly transmitted (through RPC) as the "user" param
of "mlist.ApprovedDeleteMember(user)" (bin/lists.rpc.py function mass_unsubscribe line 491).
Hence it relies on mailman to correctly handle this user-controlled input.
This is why the content of "del_member" is not checked to be ASCII-only nor
escaped. Mailman is supposed to take this value "as is".
Conflicts:
modules/lists.php
Nicolas Iooss [Fri, 11 Apr 2014 19:17:45 +0000 (21:17 +0200)]
update core
Add sort_name to pluser.
Nicolas Iooss [Wed, 9 Apr 2014 21:08:36 +0000 (23:08 +0200)]
admin/emails/broken: name the downloaded file "broken.csv"
Nicolas Iooss [Wed, 9 Apr 2014 21:07:44 +0000 (23:07 +0200)]
admin/emails/broken: remove trailing spaces after email addresses
This prevents \r to appear in the CSV file
Nicolas Iooss [Wed, 9 Apr 2014 20:56:16 +0000 (22:56 +0200)]
admin/emails/broken: Sort lines of the produced CSV
Sort these lines by (promo, sortname) instead of email address.
Anne Limoges [Wed, 9 Apr 2014 18:48:47 +0000 (20:48 +0200)]
Change sorting order on ML display to use sort_name.
Nicolas Iooss [Wed, 9 Apr 2014 20:33:42 +0000 (22:33 +0200)]
NL bounces: add two new failures hints which appearead in April bounces
Anne Limoges [Sun, 30 Mar 2014 07:09:44 +0000 (09:09 +0200)]
Fix xnetevent subscription.
Raphaël Barrois [Tue, 25 Mar 2014 22:54:04 +0000 (23:54 +0100)]
Merge branch 'xorg/maint' into xorg/master
Raphaël Barrois [Tue, 25 Mar 2014 22:52:38 +0000 (23:52 +0100)]
Fix 'reversed' field handling for AX newsletter.
Nicolas Iooss [Sun, 23 Mar 2014 10:44:39 +0000 (11:44 +0100)]
Merge branch 'xorg/maint'
Nicolas Iooss [Sun, 23 Mar 2014 10:42:11 +0000 (11:42 +0100)]
Prevent the bestmail cron to send a mail with only "Done."
Anne Limoges [Sat, 22 Mar 2014 09:58:57 +0000 (10:58 +0100)]
Fix short_name handling in xnetevent subscription url.
Anne Limoges [Thu, 13 Mar 2014 21:51:46 +0000 (22:51 +0100)]
Fix owner deletion on MLs.
Nicolas Iooss [Sun, 16 Mar 2014 13:14:20 +0000 (14:14 +0100)]
Fix community letter "From" header
Thomas Minvielle [Sat, 15 Mar 2014 10:35:22 +0000 (11:35 +0100)]
From _fetchData to cleaner ProfileSetting.
Thomas Minvielle [Sat, 15 Mar 2014 10:29:24 +0000 (11:29 +0100)]
Improve wording.
Thomas Minvielle [Sat, 15 Mar 2014 10:24:48 +0000 (11:24 +0100)]
Improve database definition.
Anne Limoges [Thu, 13 Mar 2014 21:51:46 +0000 (22:51 +0100)]
Fix owner deletion on MLs.
Nicolas Iooss [Mon, 10 Mar 2014 17:59:32 +0000 (18:59 +0100)]
Merge branch 'xorg/maint'
Nicolas Iooss [Mon, 10 Mar 2014 17:56:03 +0000 (18:56 +0100)]
Fix platal.cron
Commit
c0c966f5 broke the cron file:
cron[18983]: Error: bad hour; while reading /etc/cron.d/platal
/usr/sbin/cron[18983]: (*system*platal) ERROR (Syntax error, this crontab file will be ignored)
Anne Limoges [Mon, 10 Mar 2014 11:10:09 +0000 (12:10 +0100)]
Fix organizer display for events created by xnet accounts.
Anne Limoges [Mon, 10 Mar 2014 11:10:09 +0000 (12:10 +0100)]
Fix organizer display for events created by xnet accounts.
Nicolas Iooss [Sun, 9 Mar 2014 19:58:50 +0000 (20:58 +0100)]
Merge branch 'xorg/maint'
Nicolas Iooss [Sun, 9 Mar 2014 19:53:42 +0000 (20:53 +0100)]
Remove debugging echo in xnetevents module
Anne Limoges [Sat, 8 Mar 2014 18:50:17 +0000 (19:50 +0100)]
Fix archive events.
Nicolas Iooss [Sun, 9 Mar 2014 19:46:47 +0000 (20:46 +0100)]
Revert the last two commits
There has been a strange transient bug which is now fixed (don't know how)
This reverts commit
2d394628dc35b7da99a73128df15ad980e69197c and
6c615821baef0daad2d1d8d7ef988be146da58e3.
Nicolas Iooss [Sun, 9 Mar 2014 17:32:18 +0000 (18:32 +0100)]
Revert "Rewrites xnetevents index page."
This reverts commit
607115209690960e2954517822a2862dc33d1c90.
Nicolas Iooss [Sun, 9 Mar 2014 17:31:29 +0000 (18:31 +0100)]
Revert "Rewrites xnetevents subscription page."
This reverts commit
a624ad230e565adfc3edde098b802cabc8f31880.
Administration links don't work on the production website
Anne Limoges [Sat, 8 Mar 2014 18:50:17 +0000 (19:50 +0100)]
Fix archive events.
Victor Berger [Sat, 8 Mar 2014 18:14:41 +0000 (19:14 +0100)]
Get ready for next version
Signed-off-by: Victor Berger <victor.berger@m4x.org>
Victor Berger [Sat, 8 Mar 2014 18:10:51 +0000 (19:10 +0100)]
Release of plat/al 1.1.12
Signed-off-by: Victor Berger <victor.berger@m4x.org>
Victor Berger [Sat, 8 Mar 2014 17:59:48 +0000 (18:59 +0100)]
Update Core.
Signed-off-by: Victor Berger <victor.berger@m4x.org>
Victor Berger [Sat, 8 Mar 2014 17:59:33 +0000 (18:59 +0100)]
Update Changelog.
Signed-off-by: Victor Berger <victor.berger@m4x.org>
Anne Limoges [Sat, 8 Mar 2014 17:38:18 +0000 (18:38 +0100)]
Corrects birthdate when birthdate is null and birthdate_ref is correct.
Nicolas Iooss [Sat, 8 Mar 2014 16:42:26 +0000 (17:42 +0100)]
Add "directory_hidden" permission to account types
Anne Limoges [Sat, 8 Mar 2014 16:45:22 +0000 (17:45 +0100)]
Rewrites xnetevents subscription page.
Anne Limoges [Sat, 8 Mar 2014 14:03:14 +0000 (15:03 +0100)]
Rewrites xnetevents index page.
Nicolas Iooss [Sat, 8 Mar 2014 15:48:49 +0000 (16:48 +0100)]
Add a permanent warning message in admin/account/types to explain what directory_ax is
Nicolas Iooss [Sat, 8 Mar 2014 15:10:59 +0000 (16:10 +0100)]
Fix HTTP redirect when changing rights on polytechnique.net and Referer header is filtered
Thomas Minvielle [Sat, 8 Mar 2014 14:42:24 +0000 (15:42 +0100)]
Add a SIREN field to profile_jobs_enum.
Nicolas Iooss [Sat, 8 Mar 2014 14:12:37 +0000 (15:12 +0100)]
Add a comment to explain why VIEW_HIDDEN was not introduced in profile/ pages
Nicolas Iooss [Sat, 8 Mar 2014 14:04:48 +0000 (15:04 +0100)]
Improve ergonomy of the AX ID field on the profile page
Anne Limoges [Sat, 8 Mar 2014 13:38:55 +0000 (14:38 +0100)]
Unsubscribes user from groupNL when unsubscribing from group.
Victor Berger [Sat, 8 Mar 2014 13:29:30 +0000 (14:29 +0100)]
Update ChangeLog.
Signed-off-by: Victor Berger <victor.berger@m4x.org>
Thomas Minvielle [Wed, 5 Mar 2014 08:39:15 +0000 (09:39 +0100)]
Add a Manageurs page to the profile
Nicolas Iooss [Wed, 5 Mar 2014 21:08:40 +0000 (22:08 +0100)]
Add documentation text near the edit area of the newsletter header
Nicolas Iooss [Wed, 5 Mar 2014 19:49:30 +0000 (20:49 +0100)]
Add a dissuasive message in the "send a mail to a group" page
Nicolas Iooss [Mon, 24 Feb 2014 22:13:58 +0000 (23:13 +0100)]
Change comletter from and replyto and add Return-Path header
Nicolas Iooss [Wed, 5 Mar 2014 19:23:23 +0000 (20:23 +0100)]
Merge branch 'xorg/maint'
Conflicts:
include/newsletter.inc.php
Anne Limoges [Wed, 5 Mar 2014 13:28:01 +0000 (14:28 +0100)]
Grey submit button on send mail page after click.
Anne Limoges [Tue, 4 Mar 2014 21:02:27 +0000 (22:02 +0100)]
Revert "Rewrite xnetevents and removes anim notification when the subscription is not changed."
This reverts commit
aa3ef74f4477984d6f5771b1baa0c9c7cbe2b6ea.
Anne Limoges [Tue, 4 Mar 2014 20:59:24 +0000 (21:59 +0100)]
Corrects xorg_id.
Anne Limoges [Mon, 3 Feb 2014 11:02:04 +0000 (12:02 +0100)]
Rewrite xnetevents and removes anim notification when the subscription is not changed.
Thomas Minvielle [Mon, 3 Mar 2014 21:45:12 +0000 (22:45 +0100)]
Improvement
Thomas Minvielle [Mon, 3 Mar 2014 15:50:36 +0000 (16:50 +0100)]
Add profile_manageurs table to prepare the implementation Manageurs prefs.
Thomas Minvielle [Sat, 1 Mar 2014 08:17:53 +0000 (09:17 +0100)]
Correct incorrect xorg_id for hasna.riahi.1985
Nicolas Iooss [Mon, 24 Feb 2014 22:14:47 +0000 (23:14 +0100)]
Add mailing list headers to newsletters
Thomas Minvielle [Sun, 23 Feb 2014 12:32:47 +0000 (13:32 +0100)]
Drop NAF_code when inappropriate.
Thomas Minvielle [Fri, 21 Feb 2014 22:50:44 +0000 (23:50 +0100)]
Update AX website.
Nicolas Iooss [Mon, 17 Feb 2014 21:29:38 +0000 (22:29 +0100)]
Add a cron which checks the best mail addresses which is stored
The cron script computes the selected mail address for each profile and warns
once a week if the result doesn't match the database data.
Also make Address::updateBestMail static public so that there is no need to
create an object per profile in the cron script and there is no code
duplication to find which address would be selected.
Nicolas Iooss [Mon, 17 Feb 2014 20:58:38 +0000 (21:58 +0100)]
Rename ax_mail flag to dn_best_mail for profile addresses
The name "ax_mail" is ambiguous with the visibility level "ax". In fact this
is only used to speed up the advanced search when an administrator exports a
list of addresses to prepare a mailing.
Therefore this denormalized flag is renamed "dn_best_mail", which is the best
known address to send mail.
This commit adds a comment in classes/address.php to describe how this best
address is chosen.
Nicolas Iooss [Mon, 17 Feb 2014 22:13:08 +0000 (23:13 +0100)]
Fix visibility flags ordering in javascript
The new "hidden" flag introduced by commit 07e4a9a has not been declared in JS,
which leads to a bug in the address management profile page. Visibility flags
were no longer ordered between an address and the associated phone numbers.
Nicolas Iooss [Sun, 16 Feb 2014 18:11:34 +0000 (19:11 +0100)]
Export deliveryIssue flag in postal addresses export
Nicolas Iooss [Sun, 16 Feb 2014 18:10:43 +0000 (19:10 +0100)]
Don't select a postal address for ax_mail when delivery failed
Raphaël Barrois [Sun, 16 Feb 2014 16:55:11 +0000 (17:55 +0100)]
Force-normalize user emails for list unsubscribe.
Nicolas Iooss [Sun, 16 Feb 2014 16:27:46 +0000 (17:27 +0100)]
Enfore non-empty email addresses at several locations
Victor Berger [Sun, 16 Feb 2014 16:04:23 +0000 (17:04 +0100)]
Adding hobby visibility on profile.
Signed-off-by: Victor Berger <victor.berger@m4x.org>
Victor Berger [Sun, 2 Feb 2014 18:39:13 +0000 (19:39 +0100)]
Fix incorrect forlife in marketing email.
Signed-off-by: Victor Berger <victor.berger@m4x.org>
Nicolas Iooss [Sun, 16 Feb 2014 15:25:44 +0000 (16:25 +0100)]
Fix typo in comment of class AddressIterator
Anne Limoges [Sun, 16 Feb 2014 15:09:28 +0000 (16:09 +0100)]
Fix comletter sender and template.
Thomas Minvielle [Sun, 16 Feb 2014 14:02:59 +0000 (15:02 +0100)]
Typo.
Anne Limoges [Thu, 13 Feb 2014 22:26:28 +0000 (23:26 +0100)]
Changes comletter css to green.
Anne Limoges [Thu, 13 Feb 2014 22:26:28 +0000 (23:26 +0100)]
Changes comletter css to green.