Commit Graph

121 Commits

Author SHA1 Message Date
Yohann D'ANELLO 1e9d731715
Fix minimum amount for the send_mail_to_negative_balances script
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-27 09:52:30 +02:00
Yohann D'ANELLO 0c7070aea1
Send mail to admins if a user got deleted iff it was successfully deleted
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-22 18:33:20 +02:00
Yohann D'ANELLO 961365656c
Compile Javascript translations in STATIC_ROOT directory
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-22 16:20:24 +02:00
Yohann D'ANELLO 076e1f0013
Mails are sent by the cron, not by the script
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-22 15:45:15 +02:00
Yohann D'ANELLO f8feff7c55
Prevent data deletion in the anonymization script
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-22 15:40:10 +02:00
Yohann D'ANELLO 0fc9c4c50e
In the force delete script, delete transactions transaction by transaction
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-22 15:13:14 +02:00
Yohann D'ANELLO 5ce65e36a8
In the mail that logs negative balances, add option to log old members
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-14 15:33:06 +02:00
Yohann D'ANELLO cf8b05d20a
Adapt verbosity of some scripts
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-14 15:18:24 +02:00
Yohann D'ANELLO 13322189dc
Update last report date only in non-debug mode
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-08 17:38:25 +02:00
Yohann D'ANELLO 7676f69216
Fix note list when daily reports are sent
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-08 17:33:16 +02:00
Yohann D'ANELLO 8ec7d68a16
Add script to force delete a user, in case of duplicates
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-22 11:54:19 +01:00
Yohann D'ANELLO dbe7bf6591 Export JS translation files as static files 2020-11-16 00:29:26 +01:00
Yohann D'ANELLO 654492f9e9 The note account must be active in order to have access to the Rest Framework API 2020-10-20 10:30:38 +02:00
Yohann D'ANELLO 84be9d0062 Note account has a special treatment in potential future NK15 import (compatibility commit) 2020-10-20 00:19:33 +02:00
Yohann D'ANELLO 0107dd0a94 Refactor the script to extract the mails that are registered to an events mailing list 2020-09-08 10:11:08 +02:00
Yohann D'ANELLO e5b76b7c35 Linebreaks are rendered as <<BR>> in the wiki 2020-09-07 13:54:03 +02:00
Yohann D'ANELLO 4506dd4dc0 Plain text mode in reports 2020-09-07 11:02:10 +02:00
Yohann D'ANELLO bac22dcbac Add __str__ to models, remove null=True in CharField and TextField 2020-09-07 01:06:22 +02:00
Yohann D'ANELLO 4f5a794798 Fix refresh activities cron 2020-09-05 14:28:02 +02:00
Yohann D'ANELLO 69c5c3bb36 Save the list of changed usernames and lost aliases 2020-09-05 13:50:57 +02:00
Yohann D'ANELLO 7246f4d18a Change debug option to "print stdout" / "edit wiki" in the Refresh activities script 2020-09-05 00:45:10 +02:00
Yohann D'ANELLO 2a113d22b9 I broke the import script 2020-09-05 00:33:38 +02:00
Yohann D'ANELLO 525f091b0c Test activity app 2020-09-04 21:46:40 +02:00
Yohann D'ANELLO c1c0a87971 RecurrentTransaction has no longer a category 2020-09-01 15:54:32 +02:00
Yohann D'ANELLO 2b1c05ff98 Prevent also club owners when the note balance is negative 2020-08-31 16:13:23 +02:00
Yohann D'ANELLO 4179cad611 When data is imported from the NK15, prevent users whenever some aliases are deleted 2020-08-24 12:41:51 +02:00
Yohann D'ANELLO 81709539a2 Replace timezone.now().date() by date.today() 2020-08-16 00:35:11 +02:00
Yohann D'ANELLO 2495128755 🐛 Last report date is a datetime, not a date 2020-08-09 15:53:47 +02:00
Yohann D'ANELLO 53098f8adc Some memberships were detected twice 2020-08-07 14:00:50 +02:00
Yohann D'ANELLO 169895a825 Import Société générale credits 2020-08-07 13:17:17 +02:00
Yohann D'ANELLO 4984159a61 Improve activity interface 2020-08-06 17:41:30 +02:00
Yohann D'ANELLO 3806feb67f During the beta, don't update the wiki automatically 2020-08-06 13:09:31 +02:00
Yohann D'ANELLO 1b7014f369 🐛 Default comment is an empty string, not None 2020-08-06 12:31:38 +02:00
Yohann D'ANELLO 18be620b60 Export activities in the Crans Wiki 2020-08-06 12:15:22 +02:00
Yohann D'ANELLO a66ce1ad85 respoinfo.bde => respo-info.bde 2020-08-06 08:13:13 +02:00
Yohann D'ANELLO 47dc4dd9e6 Fix check consistency script 2020-08-05 23:53:44 +02:00
Yohann D'ANELLO e01b48b807 Fix check consistency script 2020-08-05 23:51:55 +02:00
Yohann D'ANELLO 31dc478b7a Improve scripts to be run with cron jobs 2020-08-05 23:17:47 +02:00
Yohann D'ANELLO 034d8c43b6 Display invalid transactions but don't count on them in the total 2020-08-03 19:37:42 +02:00
Yohann D'ANELLO 630fc9a0df Add script to send weekly report to all members 2020-08-03 19:35:21 +02:00
Yohann D'ANELLO f41a5a32f7 Fix note balances if needed 2020-08-03 11:15:50 +02:00
Yohann D'ANELLO 7d0c94c19b 🐛 Kfet transactions should go to the Kfet note 2020-08-03 11:09:26 +02:00
Yohann D'ANELLO 1f300c3b7b BDE memberships can start on 1st august 2020-08-02 08:47:18 +02:00
Yohann D'ANELLO 4b37f8286f Add script to send mail to negative notes 2020-08-01 21:44:01 +02:00
Yohann D'ANELLO dce51ad261 Add note consistency check script 2020-08-01 18:06:50 +02:00
Yohann D'ANELLO 877d2e28d0 Import note balance of BDE and special notes 2020-08-01 18:06:31 +02:00
Yohann D'ANELLO e16629cc70 Parent club id is the id and not the club 2020-08-01 16:37:35 +02:00
Yohann D'ANELLO dd812e09fc I am a big idiot 2020-08-01 16:33:29 +02:00
Yohann D'ANELLO b9ae701021 I am an idiot 2020-08-01 16:19:26 +02:00
Yohann D'ANELLO dd8b48c31d Update the balance of the Kfet club 2020-08-01 15:16:36 +02:00