1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2025-06-22 00:08:21 +02:00
Commit Graph

162 Commits

Author SHA1 Message Date
a5f4eabb5b Merge branch 'notes_report' into 'master'
send summary script

See merge request bde/nk20-scripts!5
2025-02-09 12:34:28 +01:00
a49f9fb94e Update extract_ml_registrations.py 2025-02-09 12:34:07 +01:00
f6819e1ea0 Merge branch 'Send_mail_NL_art' into 'master'
Update file extract_ml_registrations.py

See merge request bde/nk20-scripts!6
2025-01-25 14:16:20 +01:00
df9d765d53 Update file extract_ml_registrations.py 2025-01-25 14:14:23 +01:00
472c9c33ce Update extract_ml_registrations.py 2024-06-04 00:16:36 +02:00
6149f11e53 Update extract_ml_registrations.py 2024-06-03 23:01:42 +02:00
08455e6e60 Update extract_ml_registrations.py 2024-06-03 22:58:48 +02:00
b17780e5e9 Update extract_ml_registrations.py 2024-06-03 22:55:41 +02:00
f76acb3248 send summary script 2023-10-05 16:46:03 +02:00
354a1f845e Update backup script
Remove useless tee, use "mkdir -p" and use .sql.gz.
2023-08-31 12:21:48 +02:00
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
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
81e90fa430 add a flag to choose data to anonymize (all, wei, user visible) and verbosity 2023-07-13 21:53:54 +02:00
11bcc07bf4 fix date reading and a variable name 2023-07-13 20:06:57 +02:00
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
a965ab913c anonymize more data 2023-07-13 19:43:47 +02:00
4471307b37 Ignore club notes that are used by the BDE for particular events 2023-04-06 17:57:32 +02:00
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
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
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
7e27c3b71b Backups are sent to Zamok 2020-09-08 13:16:03 +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
7479671b3f Don't rebuild systematically migrations 2020-09-05 10:07:20 +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
4e1bcd1808 Send user id and group id in Docker bash 2020-09-02 22:51:59 +02:00