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>
Thomas Minvielle [Sun, 3 Nov 2013 10:13:36 +0000 (11:13 +0100)]
Automatically disables the 'send mail' function when reaching 1000 members.
Nicolas Iooss [Sun, 3 Nov 2013 17:51:27 +0000 (18:51 +0100)]
Merge branch 'xorg/maint'
Nicolas Iooss [Sun, 3 Nov 2013 17:45:51 +0000 (18:45 +0100)]
Fix Javascript ReferenceError by using target=_blank instead of popup() in a link
Fix following reported Javascript error when clicking on the education link
present in search results: "Uncaught ReferenceError: popup is not defined"
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 3 Nov 2013 17:00:07 +0000 (18:00 +0100)]
Fix Javascript exception by adding invisible elements
_selectAll('to_contacts') and _selectAll('cc_contacts') were raising:
"TypeError: Cannot read property 'length' of null"
Add missing <select> elements until the code is rewritten to take care of this
situation.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 3 Nov 2013 16:16:48 +0000 (17:16 +0100)]
Fix href value with void(0) instead of return false
Chrome was raising this Javascript error:
"Uncaught SyntaxError: Illegal return statement"
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 2 Nov 2013 19:47:08 +0000 (20:47 +0100)]
Fix fatal error because var_export doesn't handle circular dependency.
In logs there were lines such as:
PHP Fatal error: Nesting level too deep - recursive dependency? in /home/web/prod/platal/include/security.inc.php on line 108, referer: https://www.polytechnique.org/register
More information can be found at:
- http://stackoverflow.com/questions/
12488661/is-it-possible-to-list-out-all-the-global-variables-in-php
- http://php.net/manual/fr/function.var-export.php (in the comments)
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Fri, 1 Nov 2013 11:42:44 +0000 (12:42 +0100)]
Fix class autoloading to find DirEnumeration class.
Fix following bug:
PHP Fatal error: Class 'DirEnumeration' not found in /home/web/prod/platal/modules/search.php on line 300, referer: https://www.polytechnique.org/search/adv
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Thu, 31 Oct 2013 10:26:53 +0000 (11:26 +0100)]
Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Anne Limoges [Sun, 3 Nov 2013 08:59:47 +0000 (09:59 +0100)]
Replace deprecated ereg() by preg_match()
Nicolas Iooss [Sat, 2 Nov 2013 19:56:22 +0000 (20:56 +0100)]
Add missing quotes in some templates
Smarty/PHP was complaing with messages like "Notice: Use of undefined constant right - assumed 'right'"
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 2 Nov 2013 19:47:08 +0000 (20:47 +0100)]
Fix fatal error because var_export doesn't handle circular dependency.
In logs there were lines such as:
PHP Fatal error: Nesting level too deep - recursive dependency? in /home/web/prod/platal/include/security.inc.php on line 108, referer: https://www.polytechnique.org/register
More information can be found at:
- http://stackoverflow.com/questions/
12488661/is-it-possible-to-list-out-all-the-global-variables-in-php
- http://php.net/manual/fr/function.var-export.php (in the comments)
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Anne Limoges [Sat, 2 Nov 2013 17:41:15 +0000 (18:41 +0100)]
Fix xnetevents.
Nicolas Iooss [Fri, 1 Nov 2013 11:42:44 +0000 (12:42 +0100)]
Fix class autoloading to find DirEnumeration class.
Fix following bug:
PHP Fatal error: Class 'DirEnumeration' not found in /home/web/prod/platal/modules/search.php on line 300, referer: https://www.polytechnique.org/search/adv
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Thu, 31 Oct 2013 10:26:53 +0000 (11:26 +0100)]
Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Raphaël Barrois [Tue, 15 Oct 2013 21:08:43 +0000 (23:08 +0200)]
update core.
Raphaël Barrois [Tue, 15 Oct 2013 21:03:25 +0000 (23:03 +0200)]
Get ready for next version
Raphaël Barrois [Tue, 15 Oct 2013 20:59:47 +0000 (22:59 +0200)]
Release of plat/al 1.1.9
Aurélien LAJOIE [Tue, 15 Oct 2013 14:28:13 +0000 (16:28 +0200)]
Typo
Nicolas Iooss [Mon, 14 Oct 2013 17:19:36 +0000 (19:19 +0200)]
Find corps field in profile educations when processing broken emails.
The process of the borken emails produces a CSV file with a "corps" field to help finding a working email address.
As $profile->getCorps() is often empty, this field can be field with the corps education found in $profile->getExtraEducations(), if it exists.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 13 Oct 2013 20:50:16 +0000 (22:50 +0200)]
Add missing parameter in an UserFilter::addEducationFilter call
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 12 Oct 2013 10:46:52 +0000 (12:46 +0200)]
NL bounces: try findAddressInPlainBounce if findAddressInBounce fails because the bounce does not include a message/delivery-status part
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 12 Oct 2013 10:45:36 +0000 (12:45 +0200)]
NL bounces: add known subjects and messages in findAddressInPlainBounce
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 12 Oct 2013 10:43:39 +0000 (12:43 +0200)]
NL bounces: add ALTOSPAM detection
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sat, 12 Oct 2013 09:58:53 +0000 (11:58 +0200)]
NL bounces: add AutoRe pattern in Out-of-Office detection
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Anne Limoges [Mon, 14 Oct 2013 10:10:58 +0000 (12:10 +0200)]
Update Changelog
Anne Limoges [Sun, 6 Oct 2013 19:11:42 +0000 (21:11 +0200)]
Fix payment commission.
Nicolas Iooss [Tue, 20 Aug 2013 17:01:37 +0000 (19:01 +0200)]
NL bounces: add another case to DSN filter
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Tue, 20 Aug 2013 11:47:46 +0000 (13:47 +0200)]
NL bounces: accept final-recipient starting with LOCAL; in findAddressInBounce
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Tue, 20 Aug 2013 09:08:41 +0000 (11:08 +0200)]
NL bounces: improve findAddressInBounce by adding new diagnostic codes
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 21 Jul 2013 19:59:08 +0000 (21:59 +0200)]
NL bounces: improve DeliveryStatusNotificationFilter with two new DSN types
DSN reports can now be attached in multipart/mixed messages.
Plain text reports are also parsed.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 21 Jul 2013 19:58:25 +0000 (21:58 +0200)]
NL bounces: improve Out-of-Office detection
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Nicolas Iooss [Sun, 21 Jul 2013 19:57:22 +0000 (21:57 +0200)]
NL bounces: fix findAddressInBounce()
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Thomas Minvielle [Mon, 12 Aug 2013 08:53:37 +0000 (10:53 +0200)]
Fixes the xnet links in the Groupe X section on the public profile.
Anne Limoges [Mon, 16 Sep 2013 19:10:41 +0000 (21:10 +0200)]
Fix profile deletion.
Anne Limoges [Mon, 2 Sep 2013 12:42:35 +0000 (14:42 +0200)]
Adds job infos in xnetgroup csv.
Thomas Minvielle [Thu, 25 Jul 2013 07:23:17 +0000 (09:23 +0200)]
Doesn't show twice the virtuel alias when it is public and best email.
Thomas Minvielle [Wed, 10 Jul 2013 13:03:23 +0000 (15:03 +0200)]
Improvement.
Thomas Minvielle [Tue, 9 Jul 2013 20:54:56 +0000 (22:54 +0200)]
Removes the dead from the map.
Thomas Minvielle [Tue, 9 Jul 2013 19:22:49 +0000 (21:22 +0200)]
Removes the dead from the map.
Thomas Minvielle [Wed, 26 Jun 2013 08:21:49 +0000 (10:21 +0200)]
Change icon for moderation.
Anne Limoges [Wed, 26 Jun 2013 08:15:42 +0000 (10:15 +0200)]
Gives the number of participants even for simple xnetevents.
Thomas Minvielle [Sat, 9 Mar 2013 21:48:46 +0000 (22:48 +0100)]
Wording.
Anne Limoges [Mon, 24 Jun 2013 05:53:30 +0000 (07:53 +0200)]
Force a name on default sub-event
Florent Bruneau [Mon, 17 Jun 2013 07:53:51 +0000 (09:53 +0200)]
Merge remote-tracking branch 'origin/xorg/maint' into xorg/master
Florent Bruneau [Sun, 16 Jun 2013 19:17:37 +0000 (21:17 +0200)]
xnetevents: fix user count in event administration page.
There were several issues:
* the number of registered users was never displayed even if the phrasing
suggested it.
* the number of lines in the 'all' view was broken because it contained
the sum all the number of lines of all the 'moments' independently (as a
consequence, the number of pages was always over-estimated).
Closes: #1655
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
Pierre-Etienne Marx [Fri, 31 May 2013 21:48:14 +0000 (23:48 +0200)]
Changes AX NL header
Pierre-Etienne Marx [Thu, 30 May 2013 20:22:25 +0000 (22:22 +0200)]
Changes the default newsletter response adress for AX group
Stéphane Jacob [Sun, 26 May 2013 14:26:16 +0000 (16:26 +0200)]
Merge branch 'xorg/maint' into xorg/master
Stéphane Jacob [Mon, 13 Aug 2012 12:27:14 +0000 (14:27 +0200)]
Adds TODOs to fix homonym robot.
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Nicolas Iooss [Sat, 18 May 2013 20:23:33 +0000 (22:23 +0200)]
Improve newsletter.bounces.processor.py:
* Make it Python 3.3 complient
* Fix and add some filters for Out Of Office messages detection
* Fix findSubject charset encoding exceptions
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Raphaël Barrois [Wed, 15 May 2013 23:23:26 +0000 (01:23 +0200)]
Fix issues in payment code.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 15 May 2013 19:42:33 +0000 (21:42 +0200)]
Release of plat/al 1.1.8
Raphaël Barrois [Wed, 15 May 2013 23:16:34 +0000 (01:16 +0200)]
Switch to core/1.1.10
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Raphaël Barrois [Wed, 15 May 2013 19:40:01 +0000 (21:40 +0200)]
Add timers to compliance.php
Anne Limoges [Tue, 14 May 2013 16:26:14 +0000 (18:26 +0200)]
Fix bug on paypal returns.
Raphaël Barrois [Wed, 24 Apr 2013 22:30:47 +0000 (00:30 +0200)]
xnetgrp: Disable 'send emails' for new groups.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Florent Bruneau [Wed, 24 Apr 2013 06:39:04 +0000 (08:39 +0200)]
Stops spamming br@ with automatic mails.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>