1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-11-30 02:13:02 +00:00
Commit Graph

307 Commits

Author SHA1 Message Date
Alexandre Iooss
48c056b210 Harden Django project configuration
Set session and CSRF cookies as secure for production.
Set HSTS header to let browser remember HTTPS for 1 year.
2022-03-09 12:30:18 +01:00
cf544dc596
Fix game research 2021-11-14 16:41:38 +01:00
c0521005ef
Don't put current date as default value for memberships 2021-11-14 16:24:38 +01:00
09c61091d5
Put empty strings instead of None as default values 2021-11-14 16:16:17 +01:00
145806b5ce Merge branch 'note' into 'main'
Note Kfet integration

See merge request mediatek/med!7
2021-11-14 15:57:40 +01:00
49898143ce
expires in may be not small 2021-11-14 15:51:45 +01:00
fe55a2a5ea
Don't hardcode OAuth2 parameters 2021-11-14 15:22:11 +01:00
cdcb743b55
Fix membership filters 2021-11-14 15:09:04 +01:00
e75f04b530
Don't test to add users since registration is disabled 2021-11-14 14:32:28 +01:00
34766257b3
Linting 2021-11-14 14:28:13 +01:00
d0877f5cdc
Translate borrows 2021-11-14 14:26:41 +01:00
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
41435a6838
Store access token id in session data 2021-11-04 14:25:35 +01:00
d3c2441111
Get memberships from Note Kfet 2021-11-04 14:23:03 +01:00
d036ea6f27
Get or create a user and query Note Kfet to get data 2021-11-04 14:13:17 +01:00
e2aa645bbf
Start implementation of OAuth client 2021-11-04 11:29:03 +01:00
faf697d3cf
Drop unusued models. Keep migration script, but this is now unusable 2021-11-02 12:55:03 +01:00
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
d2ad52c15a
Drop unusued models. Keep migration script, but this is now unusable 2021-11-02 12:51:25 +01:00
8c6828564c Merge branch 'medium' into 'main'
Migration des données

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

See merge request mediatek/med!4
2021-10-23 19:09:04 +02:00
2c4aacfc08
Destroy Django 1.11 functions 2021-10-23 19:03:59 +02:00
70018f0043
Destroy Django 1.11 functions 2021-10-23 19:00:45 +02:00
b638add396
Fix translations 2021-10-23 18:46:41 +02:00
9f5807e3b5
Translate game fields into english 2021-10-23 18:39:51 +02:00
7396cfc017
Fix tests 2021-10-23 18:33:51 +02:00
52ecd59bf6
Translate models in english 2021-10-23 18:31:03 +02:00
2a17a32d4c
No more manage memberships, we will use NK20 2021-10-23 14:49:44 +02:00
7f24e5c1bf
Install python3-requests 2021-10-23 14:03:58 +02:00
69a8080050
Drop Python 3.7 and 3.8 support 2021-10-23 14:01:08 +02:00
a78d0b4904
Django Extensions is fun 2021-10-23 13:59:24 +02:00
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
33a7e5adc6
Update Bedetheque scraper 2021-04-29 13:51:52 +02:00
1a96b1a2aa
For an unknown reason, button inputs are not sent as POST parameters 2021-04-29 13:51:24 +02:00
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