platal.git
9 years agoMoving to GitHub. master xorg/master
Victor Berger [Thu, 20 Nov 2014 10:50:26 +0000 (11:50 +0100)]
Moving to GitHub.

9 years agoNL bounces: add new failure hints
Nicolas Iooss [Sun, 16 Nov 2014 14:12:33 +0000 (15:12 +0100)]
NL bounces: add new failure hints

9 years agoRequire 'groupmember' perms for group NL pages.
Raphaël Barrois [Sun, 28 Sep 2014 11:20:21 +0000 (13:20 +0200)]
Require 'groupmember' perms for group NL pages.

Subscribers to a group newsletter needs to be member of the group.

9 years agoFix login on X.net with only 'groups' perm.
Raphaël Barrois [Sun, 28 Sep 2014 11:19:55 +0000 (13:19 +0200)]
Fix login on X.net with only 'groups' perm.

9 years agoRemove 'user' perm from X.net accounts.
Raphaël Barrois [Sun, 28 Sep 2014 00:06:17 +0000 (02:06 +0200)]
Remove 'user' perm from X.net accounts.

The 'user' perm describes internal users; it shouldn't be provided to group members.
This should restore proper ACLs on 'X-only' features provided through X.net (e.g comletter).

9 years agoDelete non-graduated diplomas on existing accounts.
Thomas Minvielle [Sun, 12 Oct 2014 18:51:31 +0000 (20:51 +0200)]
Delete non-graduated diplomas on existing accounts.

9 years agoFix possible out-of-bound array access in GMapsGeocoder::getTextToGeocode
Nicolas Iooss [Sun, 5 Oct 2014 14:46:52 +0000 (16:46 +0200)]
Fix possible out-of-bound array access in GMapsGeocoder::getTextToGeocode

9 years agoDelete profile_addresses_components rows where deleting profile_addresses ones
Nicolas Iooss [Sun, 5 Oct 2014 14:35:14 +0000 (16:35 +0200)]
Delete profile_addresses_components rows where deleting profile_addresses ones

Commit 02228cb2df1e ("Properly deletes address components on address
deletion") only changed Address::delete, not Address::deleteAddresses,
which is used to delete a bunch of related addresses.  As a consequence,
addresses deleted with this function were not cleany removed from the
database.

9 years agoAppend selector instead of overwritting previous ones in Address::deleteAddresses
Nicolas Iooss [Sun, 5 Oct 2014 14:03:00 +0000 (16:03 +0200)]
Append selector instead of overwritting previous ones in Address::deleteAddresses

While at it, add a safety check in Address::deleteAddresses.

9 years agoMake Address::save() remove possibly existing components from a previous address
Nicolas Iooss [Sun, 5 Oct 2014 13:35:13 +0000 (15:35 +0200)]
Make Address::save() remove possibly existing components from a previous address

9 years agoRemove Address::updateGeocoding unused parameter
Nicolas Iooss [Sun, 5 Oct 2014 12:49:41 +0000 (14:49 +0200)]
Remove Address::updateGeocoding unused parameter

Commit a3328b1eef78 ("Requires address validation properly, ie when
addresses are saved") modified Address::updateGeocoding and the new
version no longer uses its parameter.

9 years agoAdd Article 5 NATO medal image.
Thomas Minvielle [Sat, 27 Sep 2014 09:10:09 +0000 (11:10 +0200)]
Add Article 5 NATO medal image.

9 years agoRemove community letters from non-community members menu.
Thomas Minvielle [Sat, 27 Sep 2014 09:08:21 +0000 (11:08 +0200)]
Remove community letters from non-community members menu.

9 years agoTypo and manual on cascade delete for pseudo FK.
Thomas Minvielle [Fri, 11 Jul 2014 20:25:01 +0000 (22:25 +0200)]
Typo and manual on cascade delete for pseudo FK.

9 years agoAdds a position for Xnet members.
Thomas Minvielle [Thu, 26 Jun 2014 20:13:04 +0000 (22:13 +0200)]
Adds a position for Xnet members.

9 years agoFusion: strip leading particules from names when comparing them
Nicolas Iooss [Sat, 21 Jun 2014 18:13:18 +0000 (20:13 +0200)]
Fusion: strip leading particules from names when comparing them

9 years agoFusion: highlight in bold mismatched names
Nicolas Iooss [Sat, 21 Jun 2014 17:37:54 +0000 (19:37 +0200)]
Fusion: highlight in bold mismatched names

9 years agoGet ready for next version
Nicolas Iooss [Sat, 21 Jun 2014 15:27:21 +0000 (17:27 +0200)]
Get ready for next version

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
9 years agoRelease of plat/al 1.1.13 xorg/maint xorg/1.1.13
Nicolas Iooss [Sat, 21 Jun 2014 15:25:18 +0000 (17:25 +0200)]
Release of plat/al 1.1.13

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
9 years agoFix links to profile page.
Anne Limoges [Sat, 21 Jun 2014 14:52:29 +0000 (16:52 +0200)]
Fix links to profile page.

9 years agoFix adding AX IDs via admin/add_accounts when using hruid instead of name+promo
Nicolas Iooss [Sat, 21 Jun 2014 14:39:22 +0000 (16:39 +0200)]
Fix adding AX IDs via admin/add_accounts when using hruid instead of name+promo

9 years agoFusion: fetch ax_id when comparing promotions
Nicolas Iooss [Sat, 21 Jun 2014 14:25:55 +0000 (16:25 +0200)]
Fusion: fetch ax_id when comparing promotions

9 years agoAX data no longer contains promo 1928 and 1929
Nicolas Iooss [Sat, 21 Jun 2014 13:48:58 +0000 (15:48 +0200)]
AX data no longer contains promo 1928 and 1929

9 years agoNo longer add promo 2011 in fusionax
Nicolas Iooss [Sat, 21 Jun 2014 13:42:31 +0000 (15:42 +0200)]
No longer add promo 2011 in fusionax

9 years agoFix xnetgrp mail page.
Anne Limoges [Sat, 21 Jun 2014 13:15:05 +0000 (15:15 +0200)]
Fix xnetgrp mail page.

9 years agoUpdates Google+ networking (img + link formatting).
Thomas Minvielle [Wed, 18 Jun 2014 19:24:12 +0000 (21:24 +0200)]
Updates Google+ networking (img + link formatting).

9 years agoDescribe in a long comment what does Newsletter::sendToAll()
Nicolas Iooss [Tue, 17 Jun 2014 18:59:23 +0000 (20:59 +0200)]
Describe in a long comment what does Newsletter::sendToAll()

To prevent losing time again by understanding why the cron reported a
weird issue with a newsletter, document what the code does in a clear
and helpful way in a strategic location.

9 years agoAdd 'hidden' flag to text descriptions of the 'pub' flag
Nicolas Iooss [Mon, 9 Jun 2014 09:29:43 +0000 (11:29 +0200)]
Add 'hidden' flag to text descriptions of the 'pub' flag

9 years agoWhen adding a new address to a profile, tick the "can receive mail" checkbox by default
Nicolas Iooss [Mon, 9 Jun 2014 09:01:54 +0000 (11:01 +0200)]
When adding a new address to a profile, tick the "can receive mail" checkbox by default

9 years agoFix AX ID updating in admin/add_accounts page
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.

9 years agoDon't set a default account type when creating an ext account
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.

9 years agoImplement hidden permission in profile editor
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.

9 years agoUpdate core
Nicolas Iooss [Sun, 1 Jun 2014 19:34:36 +0000 (21:34 +0200)]
Update core

9 years agoMerge branch 'xorg/maint'
Nicolas Iooss [Sun, 1 Jun 2014 19:33:13 +0000 (21:33 +0200)]
Merge branch 'xorg/maint'

9 years agoWording.
Thomas Minvielle [Sat, 31 May 2014 12:11:51 +0000 (14:11 +0200)]
Wording.

9 years agoChange payment validation tip.
Anne Limoges [Fri, 30 May 2014 08:03:07 +0000 (10:03 +0200)]
Change payment validation tip.

9 years agoFix xnetevents deadline check.
Anne Limoges [Thu, 15 May 2014 12:02:04 +0000 (14:02 +0200)]
Fix xnetevents deadline check.

9 years agoTypo.
Thomas Minvielle [Mon, 19 May 2014 07:58:39 +0000 (09:58 +0200)]
Typo.

9 years agoMaster deletion.
Thomas Minvielle [Sun, 18 May 2014 13:15:55 +0000 (15:15 +0200)]
Master deletion.

9 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é/

9 years agoForce auth on newsletter unsubscription link
Nicolas Iooss [Sat, 17 May 2014 15:09:46 +0000 (17:09 +0200)]
Force auth on newsletter unsubscription link

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

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

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

9 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.

9 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.

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

9 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.

9 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.

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

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

9 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.

9 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 agoRevert "Force-normalize user emails for list unsubscribe."
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

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 agoFix xnetevent subscription.
Anne Limoges [Sun, 30 Mar 2014 07:09:44 +0000 (09:09 +0200)]
Fix xnetevent subscription.

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.