1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-27 01:42:24 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
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
48d9a8b5d2
Replace ... by …
Signed-off-by: Emmy D'ANELLO <ynerant@crans.org>
2022-08-29 11:17:17 +02: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
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
69c5c3bb36 Save the list of changed usernames and lost aliases 2020-09-05 13:50:57 +02:00
Yohann D'ANELLO
2a113d22b9 I broke the import script 2020-09-05 00:33:38 +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
2495128755 🐛 Last report date is a datetime, not a date 2020-08-09 15:53:47 +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
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
ceb7063f17 Import the creation date of the accounts 2020-08-01 15:16:17 +02:00
Yohann D'ANELLO
92f8fa9607 first_name = prenom, last_name = nom 2020-07-29 19:03:50 +02:00
Yohann D'ANELLO
03dc6f98c8 Section is not importable yet 2020-07-26 12:11:13 +02:00
Yohann D'ANELLO
126e5fa1e4 Anonymize data, fix remittancei import 2020-07-26 12:05:26 +02:00
Yohann D'ANELLO
43734b9182 Scripts are not executable 2020-07-25 21:57:46 +02:00
Yohann D'ANELLO
4839b2deb8 Fix activities import 2020-07-22 01:28:28 +02:00
Pierre-antoine Comby
2996c9702f more cleaning 2020-05-25 12:15:48 +02:00
Pierre-antoine Comby
5a4e3473be add NoteSpecial update and cleaning 2020-05-25 01:15:43 +02:00
Pierre-antoine Comby
f367b0ab2a add timed decorator for perf tracking 2020-05-25 01:12:31 +02:00
Pierre-antoine Comby
996ac3c337 code cleaning 2020-05-21 18:28:38 +02:00
Pierre-antoine Comby
64dd635039 make alias import work 2020-05-18 19:39:19 +02:00
Pierre-antoine Comby
5fa63f2abe make chunk an herited argument 2020-05-18 19:38:25 +02:00
Pierre-antoine Comby
b1366995e0 Batch import Function
On utilise bulk_create de Django, mais il faut préparer tous les models
au préalable. C'est *beaucoup* plus rapide.
2020-05-18 13:56:16 +02:00