platal.git
10 years agoFix French typo: s/formatté/formaté/
Nicolas Iooss [Sun, 18 May 2014 19:39:20 +0000 (21:39 +0200)]
Fix French typo: s/formatté/formaté/

10 years agoMaster deletion.
Thomas Minvielle [Sat, 17 May 2014 12:40:01 +0000 (14:40 +0200)]
Master deletion.

10 years agoDelete master education.
Thomas Minvielle [Fri, 16 May 2014 21:14:34 +0000 (23:14 +0200)]
Delete master education.

10 years agoImprovement.
Thomas Minvielle [Sun, 11 May 2014 17:20:44 +0000 (19:20 +0200)]
Improvement.

10 years agoUpdate AX id for X < 2011, M < 2012, D < 2013.
Thomas Minvielle [Sun, 11 May 2014 16:55:08 +0000 (18:55 +0200)]
Update AX id for X < 2011, M < 2012, D < 2013.

10 years agoUse mysqli for LOAD DATA LOCAL INFILE.
Anne Limoges [Sun, 11 May 2014 15:59:04 +0000 (17:59 +0200)]
Use mysqli for LOAD DATA LOCAL INFILE.

10 years agoChange École polytechnique favicon.
Thomas Minvielle [Sun, 11 May 2014 10:22:52 +0000 (12:22 +0200)]
Change École polytechnique favicon.

10 years agoCannot choose @melix.org as bestalias.
Thomas Minvielle [Sat, 10 May 2014 22:03:02 +0000 (00:03 +0200)]
Cannot choose @melix.org as bestalias.

10 years agoRemove non-working options from xnet mail page.
Anne Limoges [Fri, 9 May 2014 12:03:03 +0000 (14:03 +0200)]
Remove non-working options from xnet mail page.

10 years agoHandles canceled payment transactions.
Anne Limoges [Mon, 5 May 2014 08:38:05 +0000 (10:38 +0200)]
Handles canceled payment transactions.

10 years agoFix 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.

10 years agoupdate core
Nicolas Iooss [Fri, 11 Apr 2014 19:17:45 +0000 (21:17 +0200)]
update core

Add sort_name to pluser.

10 years agoadmin/emails/broken: name the downloaded file "broken.csv"
Nicolas Iooss [Wed, 9 Apr 2014 21:08:36 +0000 (23:08 +0200)]
admin/emails/broken: name the downloaded file "broken.csv"

10 years agoadmin/emails/broken: remove trailing spaces after email addresses
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

10 years agoadmin/emails/broken: Sort lines of the produced CSV
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.

10 years agoChange sorting order on ML display to use sort_name.
Anne Limoges [Wed, 9 Apr 2014 18:48:47 +0000 (20:48 +0200)]
Change sorting order on ML display to use sort_name.

10 years agoNL bounces: add two new failures hints which appearead in April bounces
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

10 years agoMerge branch 'xorg/maint' into xorg/master
Raphaël Barrois [Tue, 25 Mar 2014 22:54:04 +0000 (23:54 +0100)]
Merge branch 'xorg/maint' into xorg/master

10 years agoFix 'reversed' field handling for AX newsletter.
Raphaël Barrois [Tue, 25 Mar 2014 22:52:38 +0000 (23:52 +0100)]
Fix 'reversed' field handling for AX newsletter.

10 years agoMerge branch 'xorg/maint'
Nicolas Iooss [Sun, 23 Mar 2014 10:44:39 +0000 (11:44 +0100)]
Merge branch 'xorg/maint'

10 years agoPrevent the bestmail cron to send a mail with only "Done."
Nicolas Iooss [Sun, 23 Mar 2014 10:42:11 +0000 (11:42 +0100)]
Prevent the bestmail cron to send a mail with only "Done."

10 years agoFix short_name handling in xnetevent subscription url.
Anne Limoges [Sat, 22 Mar 2014 09:58:57 +0000 (10:58 +0100)]
Fix short_name handling in xnetevent subscription url.

10 years agoFix owner deletion on MLs.
Anne Limoges [Thu, 13 Mar 2014 21:51:46 +0000 (22:51 +0100)]
Fix owner deletion on MLs.

10 years agoFix community letter "From" header
Nicolas Iooss [Sun, 16 Mar 2014 13:14:20 +0000 (14:14 +0100)]
Fix community letter "From" header

10 years agoFix owner deletion on MLs.
Anne Limoges [Thu, 13 Mar 2014 21:51:46 +0000 (22:51 +0100)]
Fix owner deletion on MLs.

10 years agoMerge branch 'xorg/maint'
Nicolas Iooss [Mon, 10 Mar 2014 17:59:32 +0000 (18:59 +0100)]
Merge branch 'xorg/maint'

10 years agoFix platal.cron
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)

10 years agoFix 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.

10 years agoFix 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.

10 years agoMerge branch 'xorg/maint'
Nicolas Iooss [Sun, 9 Mar 2014 19:58:50 +0000 (20:58 +0100)]
Merge branch 'xorg/maint'

10 years agoRemove debugging echo in xnetevents module
Nicolas Iooss [Sun, 9 Mar 2014 19:53:42 +0000 (20:53 +0100)]
Remove debugging echo in xnetevents module

10 years agoFix archive events.
Anne Limoges [Sat, 8 Mar 2014 18:50:17 +0000 (19:50 +0100)]
Fix archive events.

10 years agoRevert the last two commits
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.

10 years agoRevert "Rewrites xnetevents index page."
Nicolas Iooss [Sun, 9 Mar 2014 17:32:18 +0000 (18:32 +0100)]
Revert "Rewrites xnetevents index page."

This reverts commit 607115209690960e2954517822a2862dc33d1c90.

10 years agoRevert "Rewrites xnetevents subscription page."
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

10 years agoFix archive events.
Anne Limoges [Sat, 8 Mar 2014 18:50:17 +0000 (19:50 +0100)]
Fix archive events.

10 years agoGet ready for next version
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>
10 years agoRelease of plat/al 1.1.12 xorg/1.1.12
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>
10 years agoUpdate Core.
Victor Berger [Sat, 8 Mar 2014 17:59:48 +0000 (18:59 +0100)]
Update Core.

Signed-off-by: Victor Berger <victor.berger@m4x.org>
10 years agoUpdate Changelog.
Victor Berger [Sat, 8 Mar 2014 17:59:33 +0000 (18:59 +0100)]
Update Changelog.

Signed-off-by: Victor Berger <victor.berger@m4x.org>
10 years agoCorrects birthdate when birthdate is null and birthdate_ref is correct.
Anne Limoges [Sat, 8 Mar 2014 17:38:18 +0000 (18:38 +0100)]
Corrects birthdate when birthdate is null and birthdate_ref is correct.

10 years agoAdd "directory_hidden" permission to account types
Nicolas Iooss [Sat, 8 Mar 2014 16:42:26 +0000 (17:42 +0100)]
Add "directory_hidden" permission to account types

10 years agoRewrites xnetevents subscription page.
Anne Limoges [Sat, 8 Mar 2014 16:45:22 +0000 (17:45 +0100)]
Rewrites xnetevents subscription page.

10 years agoRewrites xnetevents index page.
Anne Limoges [Sat, 8 Mar 2014 14:03:14 +0000 (15:03 +0100)]
Rewrites xnetevents index page.

10 years agoAdd a permanent warning message in admin/account/types to explain what directory_ax is
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

10 years agoFix HTTP redirect when changing rights on polytechnique.net and Referer header 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

10 years agoAdd a SIREN field to profile_jobs_enum.
Thomas Minvielle [Sat, 8 Mar 2014 14:42:24 +0000 (15:42 +0100)]
Add a SIREN field to profile_jobs_enum.

10 years agoAdd a comment to explain why VIEW_HIDDEN was not introduced in profile/ pages
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

10 years agoImprove ergonomy of the AX ID field on the profile page
Nicolas Iooss [Sat, 8 Mar 2014 14:04:48 +0000 (15:04 +0100)]
Improve ergonomy of the AX ID field on the profile page

10 years agoUnsubscribes user from groupNL when unsubscribing from group.
Anne Limoges [Sat, 8 Mar 2014 13:38:55 +0000 (14:38 +0100)]
Unsubscribes user from groupNL when unsubscribing from group.

10 years agoUpdate ChangeLog.
Victor Berger [Sat, 8 Mar 2014 13:29:30 +0000 (14:29 +0100)]
Update ChangeLog.

Signed-off-by: Victor Berger <victor.berger@m4x.org>
10 years agoAdd documentation text near the edit area of the newsletter header
Nicolas Iooss [Wed, 5 Mar 2014 21:08:40 +0000 (22:08 +0100)]
Add documentation text near the edit area of the newsletter header

10 years agoAdd a dissuasive message in the "send a mail to a group" page
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

10 years agoChange comletter from and replyto and add Return-Path header
Nicolas Iooss [Mon, 24 Feb 2014 22:13:58 +0000 (23:13 +0100)]
Change comletter from and replyto and add Return-Path header

10 years agoMerge branch 'xorg/maint'
Nicolas Iooss [Wed, 5 Mar 2014 19:23:23 +0000 (20:23 +0100)]
Merge branch 'xorg/maint'

Conflicts:
include/newsletter.inc.php

10 years agoGrey submit button on send mail page after click.
Anne Limoges [Wed, 5 Mar 2014 13:28:01 +0000 (14:28 +0100)]
Grey submit button on send mail page after click.

10 years agoRevert "Rewrite xnetevents and removes anim notification when the subscription is...
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.

10 years agoCorrects xorg_id.
Anne Limoges [Tue, 4 Mar 2014 20:59:24 +0000 (21:59 +0100)]
Corrects xorg_id.

10 years agoRewrite xnetevents and removes anim notification when the subscription is not changed.
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.

10 years agoCorrect incorrect xorg_id for hasna.riahi.1985
Thomas Minvielle [Sat, 1 Mar 2014 08:17:53 +0000 (09:17 +0100)]
Correct incorrect xorg_id for hasna.riahi.1985

10 years agoAdd mailing list headers to newsletters
Nicolas Iooss [Mon, 24 Feb 2014 22:14:47 +0000 (23:14 +0100)]
Add mailing list headers to newsletters

10 years agoDrop NAF_code when inappropriate.
Thomas Minvielle [Sun, 23 Feb 2014 12:32:47 +0000 (13:32 +0100)]
Drop NAF_code when inappropriate.

10 years agoUpdate AX website.
Thomas Minvielle [Fri, 21 Feb 2014 22:50:44 +0000 (23:50 +0100)]
Update AX website.

10 years agoAdd a cron which checks the best mail addresses which is stored
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.

10 years agoRename ax_mail flag to dn_best_mail for profile addresses
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.

10 years agoFix visibility flags ordering in javascript
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.

10 years agoExport deliveryIssue flag in postal addresses export
Nicolas Iooss [Sun, 16 Feb 2014 18:11:34 +0000 (19:11 +0100)]
Export deliveryIssue flag in postal addresses export

10 years agoDon't select a postal address for ax_mail when delivery failed
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

10 years agoForce-normalize user emails for list unsubscribe.
Raphaël Barrois [Sun, 16 Feb 2014 16:55:11 +0000 (17:55 +0100)]
Force-normalize user emails for list unsubscribe.

10 years agoEnfore non-empty email addresses at several locations
Nicolas Iooss [Sun, 16 Feb 2014 16:27:46 +0000 (17:27 +0100)]
Enfore non-empty email addresses at several locations

10 years agoAdding hobby visibility on profile.
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>
10 years agoFix incorrect forlife in marketing email.
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>
10 years agoFix typo in comment of class AddressIterator
Nicolas Iooss [Sun, 16 Feb 2014 15:25:44 +0000 (16:25 +0100)]
Fix typo in comment of class AddressIterator

10 years agoFix comletter sender and template.
Anne Limoges [Sun, 16 Feb 2014 15:09:28 +0000 (16:09 +0100)]
Fix comletter sender and template.

10 years agoTypo.
Thomas Minvielle [Sun, 16 Feb 2014 14:02:59 +0000 (15:02 +0100)]
Typo.

10 years agoChanges comletter css to green.
Anne Limoges [Thu, 13 Feb 2014 22:26:28 +0000 (23:26 +0100)]
Changes comletter css to green.

10 years agoChanges comletter css to green.
Anne Limoges [Thu, 13 Feb 2014 22:26:28 +0000 (23:26 +0100)]
Changes comletter css to green.

10 years agoAllow assistants to use admin/broken
Thomas Minvielle [Sat, 8 Feb 2014 23:34:17 +0000 (00:34 +0100)]
Allow assistants to use admin/broken

10 years agoShow ax_id on profile for admins.
Thomas Minvielle [Sat, 8 Feb 2014 23:19:33 +0000 (00:19 +0100)]
Show ax_id on profile for admins.

10 years agoAdd axfreetext field in profiles table.
Thomas Minvielle [Sat, 8 Feb 2014 22:47:24 +0000 (23:47 +0100)]
Add axfreetext field in profiles table.

10 years agoAdd a freetext field for admin use.
Thomas Minvielle [Sat, 8 Feb 2014 16:20:32 +0000 (17:20 +0100)]
Add a freetext field for admin use.

10 years agoAdd ax_id field in the postal address export.
Thomas Minvielle [Sat, 8 Feb 2014 13:45:21 +0000 (14:45 +0100)]
Add ax_id field in the postal address export.

10 years agoDrop custom_css field in newsletters table
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>
10 years agoMerge branch 'xorg/maint'
Nicolas Iooss [Mon, 3 Feb 2014 20:15:20 +0000 (21:15 +0100)]
Merge branch 'xorg/maint'

10 years agoNL bounces: Fix None printing in error messages
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>
10 years agoNL bounces: no longer crash on messages without a From header
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>
10 years agoNL bounces: treat "failed " as a failed action
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>
10 years agoNL bounces: Some MTA don't set Final-Recipient in their bounces but use Remote-Recipi...
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>
10 years agoFix bug on former users in group sync with lists.
Anne Limoges [Mon, 3 Feb 2014 10:59:04 +0000 (11:59 +0100)]
Fix bug on former users in group sync with lists.

10 years agoFix typo.
Victor Berger [Sun, 2 Feb 2014 17:12:20 +0000 (18:12 +0100)]
Fix typo.

Signed-off-by: Victor Berger <victor.berger@m4x.org>
10 years agoUpdate core and banana.
Thomas Minvielle [Sun, 2 Feb 2014 16:59:27 +0000 (17:59 +0100)]
Update core and banana.

10 years agoFixes vim mode line.
Thomas Minvielle [Sun, 2 Feb 2014 16:40:28 +0000 (17:40 +0100)]
Fixes vim mode line.

10 years agoActivating 'hidden' visibility flag.
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>
10 years agoSort validation categories on /admin/validate/answers
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>
10 years agoValidations: sort categories and fix French typo
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>
10 years agoAddition to previous commit.
Anne Limoges [Tue, 28 Jan 2014 19:42:28 +0000 (20:42 +0100)]
Addition to previous commit.

10 years agoCsv and vcf extracts from groups are only for animators.
Anne Limoges [Tue, 28 Jan 2014 13:20:49 +0000 (14:20 +0100)]
Csv and vcf extracts from groups are only for animators.

10 years agoFix bug with users in both group_members and group_former_members.
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.

10 years agoCommunity letter: update article submission limitations
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>
10 years agoImprove clarity of https://www.polytechnique.org/emails
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>