1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-03 13:47:01 +00:00
Commit Graph

155 Commits

Author SHA1 Message Date
hugoooo
703d69b999 Merge branch 'notes_report' into 'master'
send summary script

See merge request bde/nk20-scripts!5
2023-10-05 16:53:25 +02:00
Hugo
f76acb3248 send summary script 2023-10-05 16:46:03 +02:00
Alexandre Iooss
354a1f845e Update backup script
Remove useless tee, use "mkdir -p" and use .sql.gz.
2023-08-31 12:21:48 +02:00
charliep
f580f9b9e9 Merge branch 'better_anonymization' into 'master'
anonymize more data

See merge request bde/nk20-scripts!4
2023-07-16 17:13:14 +02:00
bleizi
d7715fa81a Merge branch 'add_year_tag' into 'master'
Extraction ML Adhérents des années N et N-years

See merge request bde/nk20-scripts!3
2023-07-14 20:23:33 +02:00
bleizi
81e90fa430
add a flag to choose data to anonymize (all, wei, user visible) and verbosity 2023-07-13 21:53:54 +02:00
bleizi
11bcc07bf4
fix date reading and a variable name 2023-07-13 20:06:57 +02:00
bleizi
c518b3dddb Merge branch 'l_eveil_du_nanax' into 'master'
L'eveil du nanax

See merge request bde/nk20-scripts!2
2023-07-13 19:48:50 +02:00
bleizi
a965ab913c
anonymize more data 2023-07-13 19:43:47 +02:00
misterkrafts
4471307b37 Ignore club notes that are used by the BDE for particular events 2023-04-06 17:57:32 +02:00
rlali
c69c5197c9 Extraction ML Adhérents des années N et N-years 2023-03-19 01:28:55 +01:00
c4f128786d
De l'inclusif, partout
Signed-off-by: Emmy D'ANELLO <ynerant@crans.org>
2022-08-29 13:18:58 +02:00
861f03eb6d
[scripts] Remove README and add link to documentation
Signed-off-by: Emmy D'ANELLO <ynerant@crans.org>
2022-08-29 11:54:27 +02:00
48d9a8b5d2
Replace ... by …
Signed-off-by: Emmy D'ANELLO <ynerant@crans.org>
2022-08-29 11:17:17 +02:00
86bc2d2698
Add space before line breaks in Wiki export of activities
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-12-13 17:30:02 +01:00
7a022b9407
Update copyright for 2021
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-06-14 21:45:35 +02:00
Alexandre Iooss
3442edd2bf
Reorder imports and fix trailing spaces 2021-05-12 17:43:18 +02:00
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
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
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
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
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
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
7e27c3b71b Backups are sent to Zamok 2020-09-08 13:16:03 +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
7479671b3f Don't rebuild systematically migrations 2020-09-05 10:07:20 +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
4e1bcd1808 Send user id and group id in Docker bash 2020-09-02 22:51:59 +02:00
Yohann D'ANELLO
1145f75a96 Add script to launch a Docker bash easily 2020-09-02 15:26:36 +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