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
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>
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 [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.
Thomas Minvielle [Sat, 8 Feb 2014 23:34:17 +0000 (00:34 +0100)]
Allow assistants to use admin/broken
Thomas Minvielle [Sat, 8 Feb 2014 23:19:33 +0000 (00:19 +0100)]
Show ax_id on profile for admins.
Thomas Minvielle [Sat, 8 Feb 2014 22:47:24 +0000 (23:47 +0100)]
Add axfreetext field in profiles table.
Thomas Minvielle [Sat, 8 Feb 2014 16:20:32 +0000 (17:20 +0100)]
Add a freetext field for admin use.
Thomas Minvielle [Sat, 8 Feb 2014 13:45:21 +0000 (14:45 +0100)]
Add ax_id field in the postal address export.
Nicolas Iooss [Mon, 3 Feb 2014 20:41:24 +0000 (21:41 +0100)]
Drop custom_css field in newsletters table
As adding a CSS file and a template requires code modification, it's better to
compute the custom_css field in the code. Newsletter::hasCustomCss() does this.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Mon, 3 Feb 2014 20:15:20 +0000 (21:15 +0100)]
Merge branch 'xorg/maint'
Nicolas Iooss [Mon, 3 Feb 2014 20:06:46 +0000 (21:06 +0100)]
NL bounces: Fix None printing in error messages
Invalid bounces with no From headers were reported with 'From="None"' instead of 'From=None'
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 26 Jan 2014 19:16:29 +0000 (20:16 +0100)]
NL bounces: no longer crash on messages without a From header
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 26 Jan 2014 19:09:42 +0000 (20:09 +0100)]
NL bounces: treat "failed " as a failed action
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Fri, 10 Jan 2014 18:14:26 +0000 (19:14 +0100)]
NL bounces: Some MTA don't set Final-Recipient in their bounces but use Remote-Recipient instead
relay.supermarchesmatch.fr is such MTA
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Anne Limoges [Mon, 3 Feb 2014 10:59:04 +0000 (11:59 +0100)]
Fix bug on former users in group sync with lists.
Victor Berger [Sun, 2 Feb 2014 17:12:20 +0000 (18:12 +0100)]
Fix typo.
Signed-off-by: Victor Berger <victor.berger@m4x.org>
Thomas Minvielle [Sun, 2 Feb 2014 16:59:27 +0000 (17:59 +0100)]
Update core and banana.
Thomas Minvielle [Sun, 2 Feb 2014 16:40:28 +0000 (17:40 +0100)]
Fixes vim mode line.
Victor Berger [Sun, 2 Feb 2014 16:56:30 +0000 (17:56 +0100)]
Activating 'hidden' visibility flag.
Signed-off-by: Victor Berger <victor.berger@m4x.org>
Nicolas Iooss [Sun, 2 Feb 2014 14:39:51 +0000 (15:39 +0100)]
Sort validation categories on /admin/validate/answers
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 2 Feb 2014 14:08:17 +0000 (15:08 +0100)]
Validations: sort categories and fix French typo
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Anne Limoges [Tue, 28 Jan 2014 19:42:28 +0000 (20:42 +0100)]
Addition to previous commit.
Anne Limoges [Tue, 28 Jan 2014 13:20:49 +0000 (14:20 +0100)]
Csv and vcf extracts from groups are only for animators.
Anne Limoges [Tue, 14 Jan 2014 13:43:48 +0000 (14:43 +0100)]
Fix bug with users in both group_members and group_former_members.
Nicolas Iooss [Fri, 10 Jan 2014 18:22:05 +0000 (19:22 +0100)]
Community letter: update article submission limitations
Limiting to 4 lines was too strict
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Tue, 7 Jan 2014 22:42:41 +0000 (23:42 +0100)]
Improve clarity of https://polytechnique.org/emails
This page incorrectly reported potential conflicting emails as given for life.
Fix this displaying issue by dividing the emails addresses in 3 categories.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Raphaël Barrois [Sat, 4 Jan 2014 23:23:48 +0000 (00:23 +0100)]
cron/compliance.php: Smaller batches.
Nicolas Iooss [Fri, 3 Jan 2014 17:44:20 +0000 (18:44 +0100)]
Merge branch 'xorg/maint'
Nicolas Iooss [Fri, 3 Jan 2014 17:43:23 +0000 (18:43 +0100)]
Remove unused image htdocs/images/ax_mail_header_normal.jpg
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Fri, 3 Jan 2014 17:41:53 +0000 (18:41 +0100)]
Happy New Year!
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Fri, 3 Jan 2014 17:10:43 +0000 (18:10 +0100)]
Update AX letter logo
Nicolas Iooss [Thu, 2 Jan 2014 19:02:34 +0000 (20:02 +0100)]
Fix alias overriding bug when changing names
When changing name (first name or last name), the new alias was tested against
existing aliases in email_source_account table but not against those in
email_source_other, where the homonyms are.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Tue, 31 Dec 2013 13:26:18 +0000 (14:26 +0100)]
Get ready for next version
Nicolas Iooss [Tue, 31 Dec 2013 13:24:31 +0000 (14:24 +0100)]
Release of plat/al 1.1.11
Nicolas Iooss [Mon, 30 Dec 2013 22:08:15 +0000 (23:08 +0100)]
Community letter: copy and modify the template from the NL
Nicolas Iooss [Mon, 30 Dec 2013 21:12:17 +0000 (22:12 +0100)]
Update ChangeLog
Nicolas Iooss [Sat, 28 Dec 2013 22:28:14 +0000 (23:28 +0100)]
Community letter: add link in admin page
Nicolas Iooss [Sat, 28 Dec 2013 21:55:53 +0000 (22:55 +0100)]
Community letter: add article submission limitations
Nicolas Iooss [Sun, 29 Dec 2013 16:39:33 +0000 (17:39 +0100)]
Add article submission system for community letter
Nicolas Iooss [Sat, 28 Dec 2013 19:58:46 +0000 (20:58 +0100)]
Add basic pages for community letter
Nicolas Iooss [Mon, 30 Dec 2013 10:54:19 +0000 (11:54 +0100)]
Remove Javascript call to undefined function changeOnlyReferent()
Bug introduced by commit
f9dfb8bd "Allows search on both only_referent and compagny fields"
http://git.polytechnique.org/?p=platal.git;a=commitdiff;h=
f9dfb8bd900bad297db24944b69bb8170c2dcb2d
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Mon, 30 Dec 2013 10:47:32 +0000 (11:47 +0100)]
Fix message when an already-known broken email is submitted
When an already-known broken email is submitted to /emails/broken page and the
matching user has active redirections (nb_emails > 0), the message which was
previosly displayed tells that the user doesn't have any active redirections.
Fix this message by saying explicitly we know the email is broken, and give
relevant links to help email marketing.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 28 Dec 2013 22:48:55 +0000 (23:48 +0100)]
Allow newsletters to be automatically sent today
This feature has been requested for several months by letter managers (AX, X...)