Commit Graph

115 Commits

Author SHA1 Message Date
Pierre-antoine Comby 7d9599d4d8 typo and forget to call function 2020-06-01 22:31:33 +02:00
Pierre-antoine Comby b58a643e0e Merge branch 'master' of gitlab.crans.org:bde/nk20-scripts 2020-06-01 17:57:27 +02:00
Pierre-antoine Comby 71ec40cd95 automatically gives su roles to developers 2020-06-01 17:55:24 +02:00
Pierre-antoine Comby 9e8d0901d1 restart postgres to disconnect everybody 2020-06-01 17:55:03 +02:00
Pierre-antoine Comby 559be286b2 add missing fields and fix bugs 2020-06-01 17:54:49 +02:00
Yohann D'ANELLO ee54fca89e Merge remote-tracking branch 'origin/master' 2020-05-29 21:10:57 +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 985f7c7bcd tabularasa, but dishes are re-installed 2020-05-25 12:22:09 +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 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