Benjamin Dauvergne
4524cb32e0
misc: python3 compatibility ( #41302 )
2020-04-06 14:06:40 +02:00
Benjamin Dauvergne
34d434e557
dj111: set on_delete=models.CASCADE ( #41302 )
2020-04-06 14:06:40 +02:00
Benjamin Dauvergne
d04235f7a4
models: change path construction in petal_directory ( fixes #21111 )
...
Use an md5 hash of the CUT.uuid instead of the first 4 characters which
are constant now.
2018-01-26 18:20:26 +01:00
Benjamin Dauvergne
15dffd5bfb
make Cut.uuid unique ( fixes #21002 )
2018-01-10 14:19:53 +01:00
Benjamin Dauvergne
567731d6bd
fix pylint warnings as exercise
2017-10-18 16:53:51 +02:00
Benjamin Dauvergne
3ad3bb14d3
models: use kilobytes in size limits, use bigintegerfield for partner.size ( fixes #19497 )
...
Make test on partner size limits clearer by nost using JSON, and just sending
plain text documents of the needed sizes.
2017-10-18 16:32:15 +02:00
Benjamin Dauvergne
558d2f7a5f
enlarge CUT.uuid to accomodate encrypted pairwise subs (less thant 100 bytes usually)
2017-07-21 14:17:33 +02:00
Benjamin Dauvergne
efe31c8e3b
add french locale
2017-03-30 01:03:54 +02:00
Benjamin Dauvergne
60b1b8be77
change Petal.__unicode__
2017-03-30 01:01:36 +02:00
Benjamin Dauvergne
6e28566185
improve models
...
- add ordering
- add uniquess to Partner.name
- allow admin_emails to be blank
- add clean method to Petal to help in adding petals from admin
- add help_text to all integer fields to give size unit
- add missing verbose_name to models
2017-03-30 01:01:36 +02:00
Benjamin Dauvergne
021a010c0a
improve admin pages
2017-03-30 00:57:13 +02:00
Benjamin Dauvergne
6b88debc9c
move implementation of limit checks and mail sending in models
2017-03-30 00:15:32 +02:00
Benjamin Dauvergne
00a9305a87
rename URL keywords
...
id_partner -> partner_name
id_cut -> cut_uuid
id_key -> petal_name
2017-03-29 23:21:53 +02:00
Benjamin Dauvergne
561ee48423
add migrations, rename model and fields
...
CUTIdentifier is renamed CUT.
partner_id is renamed partner and cut_id is renamed cut.
2017-03-29 23:21:53 +02:00
Benjamin Dauvergne
74c9ac409b
clean everything
2017-03-29 17:17:11 +02:00
Josue Kouka
1d35d73c7f
enforce size limitation control ( #15350 )
2017-03-14 16:50:49 +01:00
Josue Kouka
6378c7f549
base ACL policy on prefix ( #15282 )
2017-03-13 18:49:57 +01:00
Josue Kouka
82002c0a7a
ensure ACL's key regex are valid ( #15282 )
2017-03-09 15:42:56 +01:00
Josue Kouka
cc76ffe636
don't filter by content type when searching existing key ( #15349 )
2017-03-09 12:17:31 +01:00
Josue Kouka
a9a74315be
prefix etag header with <sha1> ( #15275 )
2017-03-09 10:34:44 +01:00
Josue Kouka
2d883b6596
add identifiers name format control ( #15273 )
2017-03-08 11:02:05 +01:00
Josue Kouka
bd0d67d7a0
add size limitation handling
2017-03-03 16:28:41 +01:00
Josue Kouka
5b42f2e6c2
dont' handle data as json
2017-03-02 11:56:03 +01:00
Josue Kouka
4571171b3e
set Petal's object unicity
2017-03-01 17:01:48 +01:00
Josue Kouka
8f9346f05e
add concurrent access management
2017-03-01 16:57:20 +01:00
Josue Kouka
b9f2ef8d32
add simple API Features
2017-03-01 15:00:30 +01:00
Josue Kouka
c79a1cce71
get sha256 of data by chunks
2017-02-28 15:05:30 +01:00
Josue Kouka
ea9adffdbe
use ACL custom manager to check access
2017-02-27 17:59:59 +01:00
Josue Kouka
d81848a499
Improve ACL model
2017-02-27 11:58:49 +01:00
Josue Kouka
fa646d8b3d
use CharField instead of JSONField for ACL keys and methods
2017-02-20 19:10:18 +01:00
Josue Kouka
5f5e6f1611
add models
2017-02-20 11:22:27 +01:00