Commit Graph

96 Commits

Author SHA1 Message Date
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 a087e0901c Merge branch 'master' of gitlab.crans.org:bde/nk20-scripts 2020-05-10 19:31:47 +02:00
Pierre-antoine Comby dc09532308 fix bug 2020-05-10 19:30:57 +02:00
Pierre-antoine Comby daba34101e fix bug 2020-05-10 18:49:22 +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
Yohann D'ANELLO c37a6effc9 Why coding something custom when Django implements it natively? 2020-05-08 15:59:02 +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 1090fe0b26 Remove debug print line 2020-04-26 01:19:19 +02:00
Yohann D'ANELLO e59001b1b5 Send a mail to webmasters when an error occurs (in production mode) 2020-04-25 19:29:01 +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 6ed6551459 flush db is not enough 2020-04-10 23:06:12 +02:00
Pierre-antoine Comby 07e149363a add README.md 2020-04-10 23:05:36 +02:00
Pierre-antoine Comby 5a1b36181a use fixture as references and display status 2020-04-10 18:13:26 +02:00
Pierre-antoine Comby b9fdced3c2 Merge branch 'Update_Scripts' into 'master'
Update scripts

See merge request bde/nk20-scripts!1
2020-03-22 19:21:12 +01: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