Commit graph

52 commits

Author SHA1 Message Date
Aurélien Delobelle
82d361e775 API supports Activity
- Add ActivitySerializer + tests.
- Add 'places' field to ActivityTemplateSerializer.
2017-09-04 16:24:34 +02:00
Erkan Narmanli
26d7ad474f Merge branch 'master' into 'Qwann/Serializers'
# Conflicts:
#   event/models.py
2017-08-13 18:27:40 +02:00
Aurélien Delobelle
18037246e1 Remake migrations 2017-08-13 18:05:24 +02:00
Aurélien Delobelle
07d4c3ead1 Reflect changes on validators/fields 2017-08-12 15:01:57 +02:00
Aurélien Delobelle
cd78757244 Clean some models
Add/fix some field names, verbose_name, help_text, on_delete (for
foreign keys), etc.
2017-08-03 12:09:03 +02:00
Qwann
ee411d06a6 help text added 2017-08-02 17:28:26 +02:00
Qwann
5e1a0cc0ef fixe tests 2017-07-26 13:48:12 +02:00
Qwann
f87fe3d5a0 renamed attribute + PEP 2017-07-26 13:16:52 +02:00
Qwann
c709583e06 Activity parent nullable 2017-07-25 14:07:20 +02:00
Qwann
cab370421b small fixes 2017-07-23 16:21:11 +02:00
Ludovic Stephan
782cb34b0e Change get_herited method 2017-07-21 16:24:53 +02:00
Ludovic Stephan
ef8c62835b Migrations 2017-07-21 16:20:39 +02:00
Ludovic Stephan
8a587b3d56 Override attribution save() + stuff 2017-07-21 16:18:19 +02:00
Ludovic Stephan
670a9d45da Use EventSpecificMixin for event-specific models 2017-07-18 19:08:09 +02:00
Ludovic Stephan
53d9084d63 Correct Activity inheritance and get_herited() 2017-07-18 18:41:44 +02:00
Ludovic Stephan
5b005571d5 Event ending_date no longer optional 2017-07-18 17:31:01 +02:00
Ludovic Stephan
da75dc7d9c Test + small changes 2017-07-18 17:18:54 +02:00
Ludovic Stephan
270e31f12b adapt migrations and tests 2017-07-18 15:37:13 +02:00
Ludovic Stephan
af75c90b84 Refactor communication models
We now use `django-notifications` and `django-contrib-comments` to manage notifications and comments.

Subscriptions are managed through the `SubscriptionMixin` model, and can correspond to unique
users and to group-like subscriptions.
2017-07-17 17:47:34 +02:00
Ludovic Stephan
6f158638bf Various bugfixes 2017-07-15 21:22:15 +02:00
Ludovic Stephan
3bbea85b3a Add commentable property to activities 2017-07-15 18:14:15 +02:00
Ludovic Stephan
f1afadda76 Add possibility for endless events 2017-07-15 17:50:58 +02:00
Ludovic Stephan
350b0c58be Add begin/end date to activities 2017-07-15 17:46:13 +02:00
Ludovic Stephan
35e8585f4c Verbose names in lowercase 2017-07-15 17:44:15 +02:00
Qwann
0741d330d9 small i18n fixes 2017-05-16 20:20:38 +02:00
Qwann
d168c8c8e6 translators added 2017-04-27 02:12:41 +02:00
Qwann
25a936e10a Merge branch 'qwann/html/base2' into qwann/html/user 2017-03-05 13:26:44 +01:00
Qwann
b40713be49 Merge branch 'models' into qwann/html/base2 2017-03-05 13:25:42 +01:00
Qwann
01014c68de test fixed 2017-03-05 13:25:04 +01:00
Qwann
c863fa30ce Merge branch 'qwann/html/base2' into qwann/html/user 2017-02-21 21:19:06 +01:00
Qwann
524876a03c Merge branch 'models' into qwann/html/base2 2017-02-21 21:18:11 +01:00
Qwann
e72969e99b initial migrations 2017-02-21 21:16:50 +01:00
Qwann
6d37019612 Merge branch 'qwann/html/base2' into qwann/html/user 2017-02-21 20:45:59 +01:00
Qwann
fa7f046928 Merge branch 'models' into qwann/html/base2 2017-02-21 20:45:20 +01:00
Qwann
8055be4c20 fixes 2017-02-21 17:25:46 +01:00
Qwann
6be19a463c now shared components are in an application
now var components are in shared
installing widget_tweaks
2017-02-21 11:09:10 +01:00
Qwann
d0620a6bf8 first modifs in user views 2017-02-20 18:42:37 +01:00
Qwann
8c716c772a removing cheatsheets 2017-02-18 20:20:43 +01:00
Qwann
4030f89ada cheatsheets :) 2017-02-18 16:58:40 +01:00
Qwann
cd86ea2fd6 base : ça commence à ressembler un à truc (vaguement) 2017-02-18 01:10:30 +01:00
Qwann
926bb66450 small fixes 2016-10-21 18:49:46 +02:00
Qwann
f3180c0b3e small fixes 2016-10-17 20:06:00 +02:00
Qwann
895ae3df55 Merge branch 'models' of git.eleves.ens.fr:cof-geek/GestionEvenementiel into models 2016-10-17 19:40:37 +02:00
Qwann
f06ae696e5 validator modified 2016-10-17 19:40:31 +02:00
Qwann
3c93b0fa23 models de equipment done 2016-10-14 13:02:25 +02:00
Qwann
a32c66dc38 Merge branch 'models' of git.eleves.ens.fr:cof-geek/GestionEvenementiel into models_equipement 2016-10-13 16:28:45 +02:00
Qwann
d646f77d7e heritage de titre pour __str__ de Activity 2016-10-13 16:26:35 +02:00
Qwann
dc8fc77130 premier jet models equipement 2016-10-13 16:24:19 +02:00
Qwann
6365704d2d models & tests de event
normalement c'est fini
2016-10-13 11:51:41 +02:00
Qwann
d4b96f0567 debut des tests
ajout des méthodes __str__
2016-10-03 00:31:21 +02:00