Commit Graph

101 Commits

Author SHA1 Message Date
Pierre-antoine Comby 559be286b2 add missing fields and fix bugs 2020-06-01 17:54:49 +02:00
Pierre-antoine Comby 0ba656d5e0 everything is imported, without server error 2020-05-26 23:54:24 +02:00
Pierre-antoine Comby 5af336fff3 make things cleaner 2020-05-26 23:54:14 +02:00
Pierre-antoine Comby 72a752fd56 refactor of Guest and Entry import 2020-05-25 12:16:36 +02:00
Pierre-antoine Comby 2996c9702f more cleaning 2020-05-25 12:15:48 +02:00
Pierre-antoine Comby 8758cb5238 import activities and entry fixes 2020-05-25 01:21:32 +02:00
Pierre-antoine Comby afe2c750b1 add support for GuestTransaction and timing 2020-05-25 01:19:22 +02:00
Pierre-antoine Comby df9888a31a viva el encapsulation 2020-05-25 01:18:24 +02:00
Pierre-antoine Comby ddde4a2c53 fix inversed logic for detection of multi inherited table 2020-05-25 01:16:08 +02:00
Pierre-antoine Comby 5a4e3473be add NoteSpecial update and cleaning 2020-05-25 01:15:43 +02:00
Pierre-antoine Comby 3a636ce189 fix json import 2020-05-25 01:15:08 +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 11e6bd9720 add basic support for transaction and activity, not tested! 2020-05-21 18:28:00 +02:00
Pierre-antoine Comby f8132d08ae easier way of detecting Multi-table inheritance 2020-05-21 18:26:42 +02:00
Pierre-antoine Comby 19d76876de make the MAP_IDBDE an attribut of Import Command 2020-05-21 18:25:46 +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
Pierre-antoine Comby 64e8e88ed3 move wei script to wei app 2020-05-14 15:12:02 +02:00
Pierre-antoine Comby dc09532308 fix bug 2020-05-10 19:30:57 +02:00
Pierre-antoine Comby 98addc1db9 add support for membership, needs testing 2020-05-10 15:00:24 +02:00
Pierre-antoine Comby f9bac69aad pretty code and f-strings 2020-05-10 14:57:36 +02:00
Pierre-antoine Comby 2a8dc40aeb delete password of deleted account 2020-05-10 14:48:14 +02:00
Pierre-antoine Comby d6e9097d80 Import membership with transactions 2020-05-02 16:13:58 +02:00
Pierre-antoine Comby 6f0bfb175b fix time error and explicit select query 2020-05-02 16:08:40 +02:00
Yohann D'ANELLO f0aa426950 Import remittances 2020-04-27 02:08:01 +02:00
Yohann D'ANELLO 60a6b3c704 Import memberships 2020-04-27 01:52:06 +02:00
Yohann D'ANELLO 4ce9aa0d4a Import activities, guests and guest transactions 2020-04-27 01:19:56 +02:00
Yohann D'ANELLO 256ac0a7f2 Order registration by promotion rather than by roles 2020-04-24 14:04:56 +02:00
Yohann D'ANELLO 26be04c435 Fields were missing in the generated CSV, better to be coherent with the header 2020-04-23 21:29:33 +02:00
Yohann D'ANELLO 8b90380866 Add script to export the WEI registrations as CSV format 2020-04-23 21:13:29 +02:00
Yohann D'ANELLO 8f2976b432 Update README, fixed make_su script 2020-04-23 15:29:00 +02:00
Yohann D'ANELLO 578bd892a7 Move WEI scripts to the scripts app 2020-04-23 14:33:41 +02:00
Pierre-antoine Comby b9db26fa49 Merge branch 'master' of gitlab.crans.org:bde/nk20-scripts 2020-04-18 16:06:37 +02:00
Pierre-antoine Comby 64ba820712 nicer output 2020-04-18 16:04:13 +02:00
Pierre-antoine Comby e717f23928 add support for special Transaction 2020-04-18 16:03:37 +02:00
Pierre-antoine Comby 11e8b66a5d use Note Parent Polymorphic id for consistency 2020-04-18 16:02:49 +02:00
Pierre-antoine Comby fa0ac58999 better print 2020-04-11 15:58:34 +02:00
Pierre-antoine Comby 99bd9e2f4a sanityse date 2020-04-11 00:33:11 +02:00
Pierre-antoine Comby aeb5ac9f8d add support for transactions 2020-04-10 23:06:47 +02:00
Pierre-antoine Comby 5a1b36181a use fixture as references and display status 2020-04-10 18:13:26 +02:00
Maxime Bombar 146260b358 Do not hardcode database name and owner 2020-03-22 13:25:01 -04:00
Maxime Bombar 2571477bb4 Rename TemplateTransaction into RecurrentTransaction 2020-03-22 13:24:54 -04:00
Pierre-antoine Comby be8aa44eb6 import of alias and buttons works again 2020-03-14 11:41:08 +01:00
Pierre-antoine Comby 123466cfa9 fix integrity error 2020-03-09 19:00:19 +01:00
Pierre-antoine Comby a088c6baea add command to enable active/staff 2020-02-25 19:20:39 +01:00
Pierre-antoine Comby e2c1d70eb4 Import boutons transaction, prep for adhésions 2020-02-25 14:19:34 +01:00
Pierre-antoine Comby 5a963eb281 add support for last_negative field 2020-02-25 14:19:14 +01:00
Pierre-antoine Comby 44b27e3ab3 flush before import and nice output 2020-02-25 14:17:59 +01:00
Pierre-antoine Comby c295cfe7db Initial commit 2020-02-24 14:19:40 +01:00