1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2025-06-28 17:32:47 +02:00
Commit Graph

117 Commits

Author SHA1 Message Date
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
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
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
cf8b05d20a Adapt verbosity of some scripts
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-14 15:18:24 +02:00
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
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
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
dbe7bf6591 Export JS translation files as static files 2020-11-16 00:29:26 +01:00
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
84be9d0062 Note account has a special treatment in potential future NK15 import (compatibility commit) 2020-10-20 00:19:33 +02:00
0107dd0a94 Refactor the script to extract the mails that are registered to an events mailing list 2020-09-08 10:11:08 +02:00
e5b76b7c35 Linebreaks are rendered as <<BR>> in the wiki 2020-09-07 13:54:03 +02:00
4506dd4dc0 Plain text mode in reports 2020-09-07 11:02:10 +02:00
bac22dcbac Add __str__ to models, remove null=True in CharField and TextField 2020-09-07 01:06:22 +02:00
4f5a794798 Fix refresh activities cron 2020-09-05 14:28:02 +02:00
69c5c3bb36 Save the list of changed usernames and lost aliases 2020-09-05 13:50:57 +02:00
7246f4d18a Change debug option to "print stdout" / "edit wiki" in the Refresh activities script 2020-09-05 00:45:10 +02:00
2a113d22b9 I broke the import script 2020-09-05 00:33:38 +02:00
525f091b0c Test activity app 2020-09-04 21:46:40 +02:00
c1c0a87971 RecurrentTransaction has no longer a category 2020-09-01 15:54:32 +02:00
2b1c05ff98 Prevent also club owners when the note balance is negative 2020-08-31 16:13:23 +02:00
4179cad611 When data is imported from the NK15, prevent users whenever some aliases are deleted 2020-08-24 12:41:51 +02:00
81709539a2 Replace timezone.now().date() by date.today() 2020-08-16 00:35:11 +02:00
2495128755 🐛 Last report date is a datetime, not a date 2020-08-09 15:53:47 +02:00
53098f8adc Some memberships were detected twice 2020-08-07 14:00:50 +02:00
169895a825 Import Société générale credits 2020-08-07 13:17:17 +02:00
4984159a61 Improve activity interface 2020-08-06 17:41:30 +02:00
3806feb67f During the beta, don't update the wiki automatically 2020-08-06 13:09:31 +02:00
1b7014f369 🐛 Default comment is an empty string, not None 2020-08-06 12:31:38 +02:00
18be620b60 Export activities in the Crans Wiki 2020-08-06 12:15:22 +02:00
a66ce1ad85 respoinfo.bde => respo-info.bde 2020-08-06 08:13:13 +02:00
47dc4dd9e6 Fix check consistency script 2020-08-05 23:53:44 +02:00
e01b48b807 Fix check consistency script 2020-08-05 23:51:55 +02:00
31dc478b7a Improve scripts to be run with cron jobs 2020-08-05 23:17:47 +02:00
034d8c43b6 Display invalid transactions but don't count on them in the total 2020-08-03 19:37:42 +02:00
630fc9a0df Add script to send weekly report to all members 2020-08-03 19:35:21 +02:00
f41a5a32f7 Fix note balances if needed 2020-08-03 11:15:50 +02:00
7d0c94c19b 🐛 Kfet transactions should go to the Kfet note 2020-08-03 11:09:26 +02:00
1f300c3b7b BDE memberships can start on 1st august 2020-08-02 08:47:18 +02:00
4b37f8286f Add script to send mail to negative notes 2020-08-01 21:44:01 +02:00
dce51ad261 Add note consistency check script 2020-08-01 18:06:50 +02:00
877d2e28d0 Import note balance of BDE and special notes 2020-08-01 18:06:31 +02:00
e16629cc70 Parent club id is the id and not the club 2020-08-01 16:37:35 +02:00
dd812e09fc I am a big idiot 2020-08-01 16:33:29 +02:00
b9ae701021 I am an idiot 2020-08-01 16:19:26 +02:00
dd8b48c31d Update the balance of the Kfet club 2020-08-01 15:16:36 +02:00
ceb7063f17 Import the creation date of the accounts 2020-08-01 15:16:17 +02:00
9dcb25723e ony.me -> example.com 2020-07-30 13:44:34 +02:00
79afabf81b Anonymize club emails 2020-07-30 13:12:06 +02:00
4cb2fbb2a1 Anonymize email address 2020-07-30 12:51:49 +02:00