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
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.
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...)
Nicolas Iooss [Sun, 29 Dec 2013 11:09:21 +0000 (12:09 +0100)]
Update banana
Nicolas Iooss [Sun, 29 Dec 2013 11:03:52 +0000 (12:03 +0100)]
Fix PHP Notice: Array to string conversion in validate.inc.php
Validate::iterate() builds a SQL query that involves an array of WHERE filters.
When this array is empty, it was incorrectly kept as is, thus triggering a PHP
Notice.
Note: this error is not fatal as the following statement is a valid SQL query:
SELECT data, DATE_FORMAT(stamp, "%Y%m%d%H%i%s") FROM requests Array ORDER BY stamp;
Nicolas Iooss [Sat, 28 Dec 2013 19:43:39 +0000 (20:43 +0100)]
usability: add label for password confirmation field in registration form
Nicolas Iooss [Sun, 29 Dec 2013 10:56:55 +0000 (11:56 +0100)]
Add EP and FX letters to the registration page
Group these letters in a "community letters" item
Thomas Minvielle [Tue, 24 Dec 2013 17:32:05 +0000 (18:32 +0100)]
Removes the dead from the lost admin page.
Raphaël Barrois [Thu, 19 Dec 2013 18:59:48 +0000 (19:59 +0100)]
Merge branch 'xorg/maint' into xorg/master
Raphaël Barrois [Thu, 19 Dec 2013 18:30:59 +0000 (19:30 +0100)]
fxletter: Remove outdated 'give' link.
Raphaël Barrois [Thu, 19 Dec 2013 18:24:05 +0000 (19:24 +0100)]
Add template for FX letter.
Nicolas Iooss [Sat, 14 Dec 2013 20:29:48 +0000 (21:29 +0100)]
Add email field in the CSV export of the participants list of X.net events
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 14 Dec 2013 19:21:57 +0000 (20:21 +0100)]
Force to use HTTPS to retrieve Google Maps elements
Chromium was complaining about loading HTTP images in an HTTPS page.
Error message was:
The page at 'https://www.polytechnique.org/map' was loaded over HTTPS, but displayed insecure content from 'http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=|00ff00': this content should also be loaded over HTTPS.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 14 Dec 2013 18:17:53 +0000 (19:17 +0100)]
Fix goodiesPopup caption value
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 14 Dec 2013 17:55:10 +0000 (18:55 +0100)]
Download raven.min.map and raven.js to ease debug
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Thu, 12 Dec 2013 21:36:05 +0000 (22:36 +0100)]
Add missing .PHONY rules to Makefile
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Thu, 12 Dec 2013 21:34:58 +0000 (22:34 +0100)]
Download raven-js like other Javascript plugins instead of relying on its CDN
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Thu, 12 Dec 2013 21:12:43 +0000 (22:12 +0100)]
Fix broken jQuery downloads in Makefile
jQuery URLs no longer existed so an update was required.
jQuery Color is a plugin which is managed directly by http://code.jquery.com/
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Raphaël Barrois [Wed, 11 Dec 2013 09:24:41 +0000 (10:24 +0100)]
configs: Fix mails_ecole sender.
Nicolas Iooss [Tue, 10 Dec 2013 23:25:44 +0000 (00:25 +0100)]
Move EP newsletter title down a little bit
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Tue, 10 Dec 2013 23:21:23 +0000 (00:21 +0100)]
Add header image of EP newsletter
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Raphaël Barrois [Tue, 10 Dec 2013 23:11:20 +0000 (00:11 +0100)]
Fixes to epletter.
Raphaël Barrois [Tue, 10 Dec 2013 23:05:30 +0000 (00:05 +0100)]
Add draft of EP newsletter.
Raphaël Barrois [Tue, 10 Dec 2013 22:38:51 +0000 (23:38 +0100)]
configs: Update from for axletter.
As requested by Nathalie Litwin.
Raphaël Barrois [Sun, 8 Dec 2013 17:49:37 +0000 (18:49 +0100)]
Get ready for next version
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 8 Dec 2013 17:48:12 +0000 (18:48 +0100)]
Release of plat/al 1.1.10
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Sun, 8 Dec 2013 17:47:28 +0000 (18:47 +0100)]
Update core
Raphaël Barrois [Sun, 8 Dec 2013 17:42:02 +0000 (18:42 +0100)]
Update ChangeLog
Raphaël Barrois [Sun, 8 Dec 2013 14:29:31 +0000 (15:29 +0100)]
Update 'welcome to group' email
Thomas Minvielle [Wed, 4 Dec 2013 08:43:09 +0000 (09:43 +0100)]
Change icon for moderation.
Anne Limoges [Fri, 29 Nov 2013 15:23:59 +0000 (16:23 +0100)]
Add user notification when added to xnetgrp by animator.
Anne Limoges [Mon, 2 Dec 2013 21:02:20 +0000 (22:02 +0100)]
Typo.
Raphaël Barrois [Fri, 29 Nov 2013 20:01:40 +0000 (21:01 +0100)]
Fix MapView/AddressesView for UserSet.
Thomas Minvielle [Fri, 29 Nov 2013 17:51:05 +0000 (18:51 +0100)]
Improves wording.
Anne Limoges [Tue, 26 Nov 2013 09:54:16 +0000 (10:54 +0100)]
Add signature display in default NL.
Anne Limoges [Mon, 25 Nov 2013 21:43:15 +0000 (22:43 +0100)]
Fix link in newpayment mail.
Raphaël Barrois [Mon, 25 Nov 2013 00:32:12 +0000 (01:32 +0100)]
Try to improve the performance of end-of-month session cleanup.
Nicolas Iooss [Sun, 24 Nov 2013 15:48:40 +0000 (16:48 +0100)]
Merge branch 'xorg/maint'
Nicolas Iooss [Sat, 9 Nov 2013 20:40:11 +0000 (21:40 +0100)]
NL bounces: adjust filters by learning from a message which reached the catchall mbox
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 9 Nov 2013 20:25:43 +0000 (21:25 +0100)]
NL bounces: introduce a findAddressInWeirdDeliveryStatus function to process weird bounces
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 9 Nov 2013 19:42:27 +0000 (20:42 +0100)]
NL bounces: newsletter-externes@polytechnique.org bouncing address changed after mailman update
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 9 Nov 2013 19:41:44 +0000 (20:41 +0100)]
NL bounces: add some message hints
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 24 Nov 2013 15:34:18 +0000 (16:34 +0100)]
Fix broken emails admin page : profile ID != user ID
Fetch User and Profile for each broken address and use these objects instead
of calling Profile::get() with $uid.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Anne Limoges [Wed, 20 Nov 2013 13:56:45 +0000 (14:56 +0100)]
Fix sort_name and display_name inversion.
Nicolas Iooss [Wed, 6 Nov 2013 22:49:17 +0000 (23:49 +0100)]
Fix null pointer dereference when sending a mail to validate the subscription to a group
Fix this error: PHP Fatal error: Call to a member function bestEmail() on a non-object
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>