Commit Graph

305 Commits

Author SHA1 Message Date
Yohann D'ANELLO c0521005ef
Don't put current date as default value for memberships 2021-11-14 16:24:38 +01:00
Yohann D'ANELLO 09c61091d5
Put empty strings instead of None as default values 2021-11-14 16:16:17 +01:00
ynerant 145806b5ce Merge branch 'note' into 'main'
Note Kfet integration

See merge request mediatek/med!7
2021-11-14 15:57:40 +01:00
Yohann D'ANELLO 49898143ce
expires in may be not small 2021-11-14 15:51:45 +01:00
Yohann D'ANELLO fe55a2a5ea
Don't hardcode OAuth2 parameters 2021-11-14 15:22:11 +01:00
Yohann D'ANELLO cdcb743b55
Fix membership filters 2021-11-14 15:09:04 +01:00
Yohann D'ANELLO e75f04b530
Don't test to add users since registration is disabled 2021-11-14 14:32:28 +01:00
Yohann D'ANELLO 34766257b3
Linting 2021-11-14 14:28:13 +01:00
Yohann D'ANELLO d0877f5cdc
Translate borrows 2021-11-14 14:26:41 +01:00
Yohann D'ANELLO aceb0d893c
Users can log in iff they are or were a member, don't display the database to everyone 2021-11-04 15:04:57 +01:00
Yohann D'ANELLO 41435a6838
Store access token id in session data 2021-11-04 14:25:35 +01:00
Yohann D'ANELLO d3c2441111
Get memberships from Note Kfet 2021-11-04 14:23:03 +01:00
Yohann D'ANELLO d036ea6f27
Get or create a user and query Note Kfet to get data 2021-11-04 14:13:17 +01:00
Yohann D'ANELLO e2aa645bbf
Start implementation of OAuth client 2021-11-04 11:29:03 +01:00
Yohann D'ANELLO faf697d3cf
Drop unusued models. Keep migration script, but this is now unusable 2021-11-02 12:55:03 +01:00
ynerant b0a1602ea2 Merge branch 'drop_old_structure' into 'main'
Suppression de l'ancienne structure

See merge request mediatek/med!6
2021-11-02 12:54:17 +01:00
Yohann D'ANELLO d2ad52c15a
Drop unusued models. Keep migration script, but this is now unusable 2021-11-02 12:51:25 +01:00
ynerant 8c6828564c Merge branch 'medium' into 'main'
Migration des données

See merge request mediatek/med!5
2021-11-02 12:42:46 +01:00
Yohann D'ANELLO d75250f436
Linting 2021-11-02 12:39:53 +01:00
Yohann D'ANELLO c424c7c040
Give ISBN to each borrowable object, even if it does not have one 2021-11-02 12:32:31 +01:00
Yohann D'ANELLO a01d480dd2
Show games in Admin menu 2021-11-02 12:30:44 +01:00
Yohann D'ANELLO 079ade9bbb
Fix ISBN scraper 2021-10-26 15:35:47 +02:00
Yohann D'ANELLO 4928b555b7
Fix missing translations 2021-10-26 15:16:00 +02:00
Yohann D'ANELLO ae0d1a080e
Fix borrowable autocompletion 2021-10-26 15:07:37 +02:00
Yohann D'ANELLO 1e6e033cdd
Hide borrowable section 2021-10-26 15:07:29 +02:00
Yohann D'ANELLO d0805ebe8a
Migrate old-format into new format 2021-10-26 15:00:50 +02:00
Yohann D'ANELLO 6789b9e3ac
Don't mix names 2021-10-26 14:25:21 +02:00
Yohann D'ANELLO 54f8198b86
Keep displaying models in Django-Admin main menu 2021-10-26 11:42:32 +02:00
Yohann D'ANELLO e3bab2389c
Replace old models by new models to update DB structure 2021-10-26 11:37:32 +02:00
Yohann D'ANELLO 39e345ee67
Install Django Polymorphic to use polymorphic models 2021-10-23 19:20:32 +02:00
Yohann D'ANELLO 0b3701f01f
Fix index page 2021-10-23 19:20:20 +02:00
ynerant 1ab06af5c7 Merge branch 'small-cleanup' into 'main'
Small cleanup

See merge request mediatek/med!4
2021-10-23 19:09:04 +02:00
Yohann D'ANELLO 2c4aacfc08
Destroy Django 1.11 functions 2021-10-23 19:03:59 +02:00
Yohann D'ANELLO 70018f0043
Destroy Django 1.11 functions 2021-10-23 19:00:45 +02:00
Yohann D'ANELLO b638add396
Fix translations 2021-10-23 18:46:41 +02:00
Yohann D'ANELLO 9f5807e3b5
Translate game fields into english 2021-10-23 18:39:51 +02:00
Yohann D'ANELLO 7396cfc017
Fix tests 2021-10-23 18:33:51 +02:00
Yohann D'ANELLO 52ecd59bf6
Translate models in english 2021-10-23 18:31:03 +02:00
Yohann D'ANELLO 2a17a32d4c
No more manage memberships, we will use NK20 2021-10-23 14:49:44 +02:00
Yohann D'ANELLO 7f24e5c1bf
Install python3-requests 2021-10-23 14:03:58 +02:00
Yohann D'ANELLO 69a8080050
Drop Python 3.7 and 3.8 support 2021-10-23 14:01:08 +02:00
Yohann D'ANELLO a78d0b4904
Django Extensions is fun 2021-10-23 13:59:24 +02:00
Yohann D'ANELLO 15fc5cd73f
Cleanup dependencies 2021-10-23 13:54:08 +02:00
club-med 94c6c73615 Fix Bedetheque
Signed-off-by: club-med <club-med@zamokv5.crans.org>
2021-10-01 12:58:45 +02:00
Yohann D'ANELLO 33a7e5adc6
Update Bedetheque scraper 2021-04-29 13:51:52 +02:00
Yohann D'ANELLO 1a96b1a2aa
For an unknown reason, button inputs are not sent as POST parameters 2021-04-29 13:51:24 +02:00
ynerant e7dfaf8b8b Merge branch '2021' into 'master'
Prepare the website for 2021

See merge request mediatek/med!3
2021-01-01 16:45:14 +01:00
Yohann D'ANELLO 74f453637a
Linting 2020-12-28 23:12:27 +01:00
Yohann D'ANELLO b8ccb40ded
Màj Buster 2020-12-28 23:00:01 +01:00
Yohann D'ANELLO 574233acd0
Fix CI, add django22-py39 CI step 2020-12-28 22:58:04 +01:00