platal.git
16 years agoFix bug when user entered a birthdate on 2 digits during regisstration
Aymeric Augustin [Sun, 9 Mar 2008 16:41:41 +0000 (17:41 +0100)]
Fix bug when user entered a birthdate on 2 digits during regisstration

16 years agoAdds a flag to disable imap activation form to non-admins.
Vincent Zanotti [Sun, 9 Mar 2008 16:28:58 +0000 (17:28 +0100)]
Adds a flag to disable imap activation form to non-admins.
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
16 years agoSmall typo + style
Aymeric Augustin [Sun, 9 Mar 2008 16:28:30 +0000 (17:28 +0100)]
Small typo + style

16 years agoMore wording
Aymeric Augustin [Sun, 9 Mar 2008 16:25:51 +0000 (17:25 +0100)]
More wording

Don't be too nasty with users who lose their pwd

16 years agoSlightly clarify pre-registration email
Aymeric Augustin [Sun, 9 Mar 2008 16:20:23 +0000 (17:20 +0100)]
Slightly clarify pre-registration email

16 years agoSimplify wording, add warning about antispam filters dropping registration emails
Aymeric Augustin [Sun, 9 Mar 2008 16:14:10 +0000 (17:14 +0100)]
Simplify wording, add warning about antispam filters dropping registration emails

16 years agoClarify wording
Aymeric Augustin [Sun, 9 Mar 2008 16:13:25 +0000 (17:13 +0100)]
Clarify wording

16 years agoTypo => finally, rewrite text of first registration step
Aymeric Augustin [Sun, 9 Mar 2008 15:58:51 +0000 (16:58 +0100)]
Typo => finally, rewrite text of first registration step

16 years agoThe "Sondages" link is not really useful on the anonymous public page
Aymeric Augustin [Sun, 9 Mar 2008 15:47:00 +0000 (16:47 +0100)]
The "Sondages" link is not really useful on the anonymous public page

If a survey is public, its URL is always directly given (e.g. in an email)

16 years agoUpdate changelog
Florent Bruneau [Sun, 9 Mar 2008 14:28:45 +0000 (15:28 +0100)]
Update changelog

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoOpen the edition box via javascript (avoid a reload). Hide the comment box
Florent Bruneau [Sun, 9 Mar 2008 14:27:01 +0000 (15:27 +0100)]
Open the edition box via javascript (avoid a reload). Hide the comment box
if no comment has been given yet.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoImages in RSS feed. (Closes #740)
Florent Bruneau [Sat, 8 Mar 2008 12:21:50 +0000 (13:21 +0100)]
Images in RSS feed. (Closes #740)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoHandle images in announces in admin page.
Florent Bruneau [Sat, 8 Mar 2008 12:12:10 +0000 (13:12 +0100)]
Handle images in announces in admin page.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCan add image in announce on x.net.
Florent Bruneau [Sat, 8 Mar 2008 11:59:35 +0000 (12:59 +0100)]
Can add image in announce on x.net.
Do not completely fix #740 since admin page is not yet handled

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRemove the comment regarding banking account transfers, since we don't want to allow...
Stéphane Jacob [Fri, 7 Mar 2008 17:44:24 +0000 (18:44 +0100)]
Remove the comment regarding banking account transfers, since we don't want to allow them anymore

16 years agoMerge branch 'platal-0.9.15'
Florent Bruneau [Thu, 6 Mar 2008 14:25:36 +0000 (15:25 +0100)]
Merge branch 'platal-0.9.15'

16 years agoWhile waiting for next release lets use a faster query for ipwatch admin
Florent Bruneau [Thu, 6 Mar 2008 14:23:09 +0000 (15:23 +0100)]
While waiting for next release lets use a faster query for ipwatch admin
page.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agotypo and text improvement
Stéphane Jacob [Mon, 3 Mar 2008 20:24:02 +0000 (21:24 +0100)]
typo and text improvement

16 years agoStore IP as uint instead of strings.
Florent Bruneau [Sun, 2 Mar 2008 19:40:03 +0000 (20:40 +0100)]
Store IP as uint instead of strings.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge branch 'platal-0.9.15'
Florent Bruneau [Wed, 27 Feb 2008 10:54:39 +0000 (11:54 +0100)]
Merge branch 'platal-0.9.15'

Conflicts:

include/validations/paiements.inc.php

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoDo not reuse the mailer to notify new payment.
Florent Bruneau [Wed, 27 Feb 2008 10:48:02 +0000 (11:48 +0100)]
Do not reuse the mailer to notify new payment.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd the list of marketing in registration notification email.
Florent Bruneau [Sat, 23 Feb 2008 18:17:30 +0000 (19:17 +0100)]
Add the list of marketing in registration notification email.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge branch 'platal-0.9.15'
Florent Bruneau [Fri, 22 Feb 2008 19:51:50 +0000 (20:51 +0100)]
Merge branch 'platal-0.9.15'

Conflicts:

configs/mails.conf

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSend admin notifications to hotliners
Florent Bruneau [Fri, 22 Feb 2008 19:41:35 +0000 (20:41 +0100)]
Send admin notifications to hotliners

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSwitches to 'opt-out' mode for IMAP backend storage.
Vincent Zanotti [Fri, 22 Feb 2008 10:04:11 +0000 (11:04 +0100)]
Switches to 'opt-out' mode for IMAP backend storage.
Fixes code consistency mistakes in last commit.

Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
16 years agoAdds the user interface for per-user activation/deactivation of IMAP email backup.
Vincent Zanotti [Fri, 22 Feb 2008 09:30:02 +0000 (10:30 +0100)]
Adds the user interface for per-user activation/deactivation of IMAP email backup.

Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
16 years agoDon't send the email if the attachment can't be uploaded (Closes #726)
Florent Bruneau [Sun, 17 Feb 2008 23:01:28 +0000 (00:01 +0100)]
Don't send the email if the attachment can't be uploaded (Closes #726)

Use the right configuration variable for file upload max size.
More explicit message in case of upload failure.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd a PlUpload::$lastError to get more information about upload failures
Florent Bruneau [Sun, 17 Feb 2008 22:58:06 +0000 (23:58 +0100)]
Add a PlUpload::$lastError to get more information about upload failures

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSome improvements to the bug submission form (Closes #757)
Florent Bruneau [Sun, 17 Feb 2008 18:48:13 +0000 (19:48 +0100)]
Some improvements to the bug submission form (Closes #757)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoShow the list of broken members in ML member list (Closes #793)
Florent Bruneau [Sun, 17 Feb 2008 18:22:47 +0000 (19:22 +0100)]
Show the list of broken members in ML member list (Closes #793)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoEnsure we always have a 'current' address (Closes #790)
Florent Bruneau [Sun, 17 Feb 2008 17:48:43 +0000 (18:48 +0100)]
Ensure we always have a 'current' address (Closes #790)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd a 'apple-touch-icon'.
Florent Bruneau [Sun, 17 Feb 2008 16:16:31 +0000 (17:16 +0100)]
Add a 'apple-touch-icon'.

This is an icon that is used by the iPhone and the iPod touch
as an icon for the webclip (shortcuts) pointing to the site.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agotypo and text improvement
Stéphane Jacob [Sat, 16 Feb 2008 18:51:31 +0000 (19:51 +0100)]
typo and text improvement

16 years agoImprove the error messages displayed when doing searches in the directory (too many...
Olivier Le Floch [Fri, 8 Feb 2008 17:45:15 +0000 (18:45 +0100)]
Improve the error messages displayed when doing searches in the directory (too many results, etc.)

16 years agoDo not forget to assign $globals in mail templates.
Florent Bruneau [Mon, 28 Jan 2008 20:16:09 +0000 (21:16 +0100)]
Do not forget to assign $globals in mail templates.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRemove obsolete file.
Florent Bruneau [Mon, 21 Jan 2008 21:05:24 +0000 (22:05 +0100)]
Remove obsolete file.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRemove size restriction on freetext field (255 is really too short)
Florent Bruneau [Mon, 21 Jan 2008 20:14:23 +0000 (21:14 +0100)]
Remove size restriction on freetext field (255 is really too short)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoStricter regexp
Florent Bruneau [Sat, 19 Jan 2008 22:13:45 +0000 (23:13 +0100)]
Stricter regexp

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAll lists that moderate or drop spam, now moderate 'Unsure' mails.
Florent Bruneau [Sat, 19 Jan 2008 22:07:41 +0000 (23:07 +0100)]
All lists that moderate or drop spam, now moderate 'Unsure' mails.

Migration script MUST NOT be run more than once or filtering will be corrupted.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoIntegrates external readers to the rss feeds and the iCal calendars.
Vincent Zanotti [Fri, 18 Jan 2008 18:00:08 +0000 (19:00 +0100)]
Integrates external readers to the rss feeds and the iCal calendars.

Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
16 years agoAdds two iGoogle gadgets (one for directory queries, the other for the latest events).
Vincent Zanotti [Fri, 18 Jan 2008 00:25:15 +0000 (01:25 +0100)]
Adds two iGoogle gadgets (one for directory queries, the other for the latest events).

Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
16 years agoFixes URL of rss feeds for xnet group announcements.
Vincent Zanotti [Fri, 18 Jan 2008 23:05:37 +0000 (00:05 +0100)]
Fixes URL of rss feeds for xnet group announcements.

Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
16 years agoDate format is dd/mm/yyyy in registration.
Florent Bruneau [Fri, 18 Jan 2008 20:36:39 +0000 (21:36 +0100)]
Date format is dd/mm/yyyy in registration.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoNo accent in from
Florent Bruneau [Fri, 18 Jan 2008 13:11:54 +0000 (14:11 +0100)]
No accent in from

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge branch 'platal-0.9.15'
Florent Bruneau [Thu, 17 Jan 2008 08:02:06 +0000 (09:02 +0100)]
Merge branch 'platal-0.9.15'

Conflicts:

templates/search/quick.tpl

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge branch 'master' of ssh://git.polytechnique.org/home/git/platal
Vincent Zanotti [Wed, 16 Jan 2008 17:41:17 +0000 (18:41 +0100)]
Merge branch 'master' of ssh://git.polytechnique.org/home/git/platal

16 years agoFixes a "typo" in the "test my redirections" email.
Vincent Zanotti [Wed, 16 Jan 2008 17:39:28 +0000 (18:39 +0100)]
Fixes a "typo" in the "test my redirections" email.

Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
16 years agoMerge branch 'master' of /home/git/platal
Olivier Le Floch [Wed, 16 Jan 2008 17:13:38 +0000 (18:13 +0100)]
Merge branch 'master' of /home/git/platal

16 years agoTweaks to login page template (Closes FS#771) [alk]
Olivier Le Floch [Wed, 16 Jan 2008 17:13:24 +0000 (18:13 +0100)]
Tweaks to login page template (Closes FS#771) [alk]

  - Remove hover-popup on "Permanent connection" checkbox
  - Always display the warning text previously contained in this hover-popup
  - Tweak the submit button's label
  - Capital first letter for the "Lost password" link
  - Move error message when login fails to a more visible location
    - was at the very bottom of the page
    - is now located right before the login form

16 years agoUpdate school library database location (Yeah! they only added 1 character!)
Florent Bruneau [Wed, 16 Jan 2008 13:23:06 +0000 (14:23 +0100)]
Update school library database location (Yeah! they only added 1 character!)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMerge commit 'origin/platal-0.9.15'
Pierre Habouzit [Sun, 13 Jan 2008 22:32:34 +0000 (23:32 +0100)]
Merge commit 'origin/platal-0.9.15'

Conflicts:

ChangeLog
htdocs/css/keynote.css

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoFix a possible SQL error.
Florent Bruneau [Sun, 13 Jan 2008 22:17:05 +0000 (23:17 +0100)]
Fix a possible SQL error.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agotypo
Stéphane Jacob [Thu, 10 Jan 2008 00:04:15 +0000 (01:04 +0100)]
typo

16 years agoFix a double entity
Florent Bruneau [Wed, 9 Jan 2008 21:56:21 +0000 (22:56 +0100)]
Fix a double entity

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix mentor edition page (Closes #764)
Florent Bruneau [Wed, 9 Jan 2008 21:42:08 +0000 (22:42 +0100)]
Fix mentor edition page (Closes #764)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMuch faster listing of alias members.
Florent Bruneau [Tue, 1 Jan 2008 14:01:17 +0000 (15:01 +0100)]
Much faster listing of alias members.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMuch faster listing of alias members.
Florent Bruneau [Tue, 1 Jan 2008 14:01:17 +0000 (15:01 +0100)]
Much faster listing of alias members.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoOld tab layout has been deprecated, use another structure for CSV importer.
Florent Bruneau [Tue, 1 Jan 2008 10:25:41 +0000 (11:25 +0100)]
Old tab layout has been deprecated, use another structure for CSV importer.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAnother date reference.
Florent Bruneau [Mon, 31 Dec 2007 23:57:34 +0000 (00:57 +0100)]
Another date reference.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoHappy new year!
Florent Bruneau [Mon, 31 Dec 2007 23:54:18 +0000 (00:54 +0100)]
Happy new year!

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoExtends time limit to 120seconds for group mailer (Fru)
Florent Bruneau [Mon, 31 Dec 2007 09:56:48 +0000 (10:56 +0100)]
Extends time limit to 120seconds for group mailer (Fru)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoExtends time limit to 120seconds for group mailer (Fru)
Florent Bruneau [Mon, 31 Dec 2007 09:56:48 +0000 (10:56 +0100)]
Extends time limit to 120seconds for group mailer (Fru)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoShow payment details in CSV (Closes #728)
Florent Bruneau [Fri, 21 Dec 2007 21:10:11 +0000 (22:10 +0100)]
Show payment details in CSV (Closes #728)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoShow payment summary in event admin page.
Florent Bruneau [Fri, 21 Dec 2007 21:02:46 +0000 (22:02 +0100)]
Show payment summary in event admin page.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoNo vcard on profile of dead person (Closes #752)
Florent Bruneau [Fri, 21 Dec 2007 20:29:33 +0000 (21:29 +0100)]
No vcard on profile of dead person (Closes #752)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoDummy change to test autoclose (Closes #754)
Florent Bruneau [Fri, 21 Dec 2007 18:12:29 +0000 (19:12 +0100)]
Dummy change to test autoclose (Closes #754)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoUse .mail.tpl extension for mail templates. Remove unused templates.
Florent Bruneau [Fri, 21 Dec 2007 14:27:56 +0000 (15:27 +0100)]
Use .mail.tpl extension for mail templates. Remove unused templates.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAutoreplace ' [?!:;]' => '&nbsp;\1' in html mails.
Florent Bruneau [Fri, 21 Dec 2007 14:10:24 +0000 (15:10 +0100)]
Autoreplace ' [?!:;]' => '&nbsp;\1' in html mails.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years ago' :' => '&nbsp;:' (French rules)
Florent Bruneau [Fri, 21 Dec 2007 14:03:46 +0000 (15:03 +0100)]
' :' => '&nbsp;:' (French rules)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoUse smarty plugins in mail templates.
Florent Bruneau [Fri, 14 Dec 2007 20:38:32 +0000 (21:38 +0100)]
Use smarty plugins in mail templates.
Closes #750

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoPrepare activation of liste-unsubscribe
Florent Bruneau [Mon, 10 Dec 2007 21:43:03 +0000 (22:43 +0100)]
Prepare activation of liste-unsubscribe

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoClose #743: Warning when editing subscription of a non-X.
Florent Bruneau [Sun, 9 Dec 2007 17:46:08 +0000 (18:46 +0100)]
Close #743: Warning when editing subscription of a non-X.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoDon't show an empty identity if neither name nor firstname are defined for
Florent Bruneau [Sun, 9 Dec 2007 17:41:46 +0000 (18:41 +0100)]
Don't show an empty identity if neither name nor firstname are defined for
the user.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSearching mentors in advanced search works back. (Closes #741)
Florent Bruneau [Sun, 9 Dec 2007 17:33:27 +0000 (18:33 +0100)]
Searching mentors in advanced search works back. (Closes #741)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCloses #742: Saved subdomain not preselected when editing profile.
Florent Bruneau [Sun, 9 Dec 2007 17:09:17 +0000 (18:09 +0100)]
Closes #742: Saved subdomain not preselected when editing profile.

16 years agoReally reactive address.
Florent Bruneau [Sat, 1 Dec 2007 17:28:45 +0000 (18:28 +0100)]
Really reactive address.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoIE suxx (onclick instead of onchange...)
Florent Bruneau [Sat, 1 Dec 2007 16:56:19 +0000 (17:56 +0100)]
IE suxx (onclick instead of onchange...)

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix another payment count issue.
Florent Bruneau [Thu, 29 Nov 2007 21:03:50 +0000 (22:03 +0100)]
Fix another payment count issue.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix another payment count issue.
Florent Bruneau [Thu, 29 Nov 2007 21:03:50 +0000 (22:03 +0100)]
Fix another payment count issue.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix payment count in some specific cases.
Florent Bruneau [Tue, 27 Nov 2007 19:19:33 +0000 (20:19 +0100)]
Fix payment count in some specific cases.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix payment count in some specific cases.
Florent Bruneau [Tue, 27 Nov 2007 19:19:33 +0000 (20:19 +0100)]
Fix payment count in some specific cases.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agotypo
Stéphane Jacob [Fri, 23 Nov 2007 12:33:49 +0000 (13:33 +0100)]
typo

16 years ago1921 is the oldest promotion we have
Stéphane Jacob [Fri, 23 Nov 2007 11:53:32 +0000 (12:53 +0100)]
1921 is the oldest promotion we have

16 years agoAllow HTTP for manageurs and e-confiance.
Florent Bruneau [Wed, 21 Nov 2007 14:22:15 +0000 (15:22 +0100)]
Allow HTTP for manageurs and e-confiance.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAllow HTTP for manageurs and e-confiance.
Florent Bruneau [Wed, 21 Nov 2007 14:22:15 +0000 (15:22 +0100)]
Allow HTTP for manageurs and e-confiance.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix moderation form.
Florent Bruneau [Tue, 20 Nov 2007 22:11:13 +0000 (23:11 +0100)]
Fix moderation form.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoI hate having a profile looking like a draft.
Florent Bruneau [Thu, 15 Nov 2007 18:50:47 +0000 (19:50 +0100)]
I hate having a profile looking like a draft.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCloses #729: Fix positioning of addresses on public profile.
Florent Bruneau [Thu, 15 Nov 2007 18:23:12 +0000 (19:23 +0100)]
Closes #729: Fix positioning of addresses on public profile.

Use iteration number instead of internal id of the addresses to select left
or right.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAnother payment computation bug.
Florent Bruneau [Thu, 15 Nov 2007 12:18:21 +0000 (13:18 +0100)]
Another payment computation bug.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAnother payment computation bug.
Florent Bruneau [Thu, 15 Nov 2007 12:18:21 +0000 (13:18 +0100)]
Another payment computation bug.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoDo not store payments on multiple SQL entry.
Florent Bruneau [Thu, 15 Nov 2007 12:03:26 +0000 (13:03 +0100)]
Do not store payments on multiple SQL entry.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoDo not store payments on multiple SQL entry.
Florent Bruneau [Thu, 15 Nov 2007 12:03:26 +0000 (13:03 +0100)]
Do not store payments on multiple SQL entry.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoTypo
Florent Bruneau [Tue, 13 Nov 2007 20:09:53 +0000 (21:09 +0100)]
Typo

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoDo not add text in verbose checkdb message.
Florent Bruneau [Sun, 28 Oct 2007 23:12:19 +0000 (00:12 +0100)]
Do not add text in verbose checkdb message.
The verbose state is already indicated in the mail subject, so there's no
need of a reminder two lines below. This avoid void mail to be sent when no
db check failed in verbose mode.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd a step function to the profiler to easily switch to another event of the same...
Florent Bruneau [Sat, 10 Nov 2007 23:36:19 +0000 (00:36 +0100)]
Add a step function to the profiler to easily switch to another event of the same category.

Before:                                     After:
PlProfiler::start("Machin", "truc");        PlProfiler::start("Machin", "truc");
do_truc();                                  do_truc();
PlProfiler::stop("Machin");
PlProfiler::start("Machin", "bidule");      PlProfiler::step("Machin", "bidule");
do_bidule();                                do_bidule();
PlProfiler::stop("Machin");                 PlProfiler::stop("Machin);

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoOops, wrong order.
Florent Bruneau [Sat, 10 Nov 2007 22:39:21 +0000 (23:39 +0100)]
Oops, wrong order.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd a new PlProfiler tool based on PlBacktrace.
Florent Bruneau [Sat, 10 Nov 2007 22:36:50 +0000 (23:36 +0100)]
Add a new PlProfiler tool based on PlBacktrace.

To use:
Just add
PlProfiler::start("category", "event");
PlProfiler::stop("category");

so, if you want both to profile a loop and each step of the loop:
PlProfiler::start("my loop");
for ($i = 0 ; $i < 2000 ; ++$i) {
  PlProfiler::start("my step", $i);
  do_sth();
  PlProfiler::stop("my step");
}
PlProfiler::stop("my loop");

The result will be displayed as a backtrace by category.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoOnly 1 SQL query to build the list of events in the main page.
Florent Bruneau [Sat, 10 Nov 2007 19:18:15 +0000 (20:18 +0100)]
Only 1 SQL query to build the list of events in the main page.
(was at least 4, at most 8)

This implies we fetch all the data (even the text of the events the user
marked as read), but this is lighter than doing multiple queries.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix session init when the user have no last connection.
Florent Bruneau [Sat, 10 Nov 2007 17:54:43 +0000 (18:54 +0100)]
Fix session init when the user have no last connection.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix session init when the user have no last connection.
Florent Bruneau [Sat, 10 Nov 2007 17:54:43 +0000 (18:54 +0100)]
Fix session init when the user have no last connection.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>