Commit Graph

192 Commits

Author SHA1 Message Date
c40171fe86 Clean permission check for alcohol and counter ban 2016-10-18 23:02:53 +02:00
2daaf992f2 Add groups, allow to ban users from counters and from buying alcohol 2016-10-16 03:45:06 +02:00
257cb9cfe7 Add ban for alcohol 2016-10-15 02:33:38 +02:00
3c408551aa Remove nested exception for stats and added property on AnonymusUser 2016-09-27 16:56:30 +02:00
380f41445a Modify property names 2016-09-22 13:07:22 +02:00
e250acf82d Used settings for office and launderette 2016-09-22 13:00:00 +02:00
748ad1c5c2 Fixed some mistakes 2016-09-21 14:01:44 +02:00
2d16b9c296 Hided launderette slots and tokens for non authorized users and added is_office and is_launderette 2016-09-21 13:33:02 +02:00
Skia
5ba2ab925d Add godfathers 2016-09-19 20:29:43 +02:00
80549c7a33 Fixed get_age 2016-09-04 16:26:02 +02:00
8328e668bd Fixed old database bug in dev env 2016-09-02 21:24:10 +02:00
Skia
c5fd9d0076 Small template fixes 2016-09-02 19:31:47 +02:00
Skia
f7e3251ae5 Right fix and translation 2016-09-01 11:27:00 +02:00
Skia
fcfbfb3a0b Small file fix 2016-08-31 02:05:04 +02:00
Skia
dfb13c37f2 Add INSERT to old DB for subscriptions and users 2016-08-29 02:19:29 +02:00
Skia
3e0b964e9b Small AnonymousUser fix (le gaulois) 2016-08-26 21:09:32 +02:00
Skia
fb8e7ceb5b Some templating and migration fix 2016-08-24 21:49:46 +02:00
Skia
f2c3c7dc25 Add viewable flag for user 2016-08-22 18:44:03 +02:00
Skia
dbf0653baf Add support for product buying groups + many cosmetics and form pimping 2016-08-20 22:12:46 +02:00
Skia
84efcd87e7 Translate datepicker and add age limit to products 2016-08-20 02:55:48 +02:00
Skia
7e90e657a7 Add ajax-select app and improve some templates 2016-08-19 23:24:23 +02:00
Skia
e1474c7a74 Add is_root property to user 2016-08-14 04:35:08 +02:00
Skia
792563999b Allow root to reset user password 2016-08-13 17:15:45 +02:00
Skia
c0a66f9a38 Finish profile of users 2016-08-13 05:33:09 +02:00
Skia
5113d8fda5 Small user profile fix 2016-08-11 04:57:07 +02:00
Skia
43b709bfd5 Make file modale chooser and complete user profile 2016-08-11 04:30:24 +02:00
Skia
a8858fa781 Add home for users and clubs 2016-08-10 16:23:12 +02:00
Skia
830c15a585 Better right handling in files 2016-08-10 14:48:18 +02:00
Skia
792d66da33 Add nice whole file support 2016-08-10 05:48:06 +02:00
Skia
db712c86b8 Fix tests 2016-08-02 22:20:06 +02:00
Skia
a01fc63a82 Begin launderette 2016-07-28 20:05:56 +02:00
Skia
f230fbc135 Add product management views 2016-07-27 17:23:02 +02:00
Skia
150147c69f Fix the removing of built in permissions for admin app 2016-07-20 16:34:18 +02:00
Skia
2147f6a468 Add permanencies tracking to counters 2016-07-18 13:22:50 +02:00
Skia
593050d9e2 Improve greatly the counter right management 2016-07-18 00:47:56 +02:00
Skia
e92a73dfb1 Add basic account view for user and refactor user tool bar 2016-07-17 12:38:02 +02:00
Skia
0248bdf6d1 Update SubscriptionForm to allow creating user on the fly 2016-07-07 00:52:30 +02:00
Skia
5355492c76 Date of birth is no longer mandatory 2016-07-06 01:09:31 +02:00
Skia
3023d6d744 Add CanCreateMixin, and add amount in journals 2016-06-20 15:47:26 +02:00
Skia
ffe2aec980 Implement barman prices and improve counter views 2016-06-01 01:33:20 +02:00
Skia
356a2d2683 Refactor page handling 2016-05-31 13:00:52 +02:00
Skia
e75da927c3 Improve group views 2016-05-31 13:00:52 +02:00
Skia
27805640a1 Improve right handling for accounting 2016-05-09 11:49:01 +02:00
Skia
6e05207e84 "Finish" the accounting views 2016-05-03 08:50:54 +02:00
Skia
b4c3f2f4dc Fix tests 2016-04-20 03:30:49 +02:00
Skia
52153438ac Rename and refactor some settings 2016-03-31 10:36:00 +02:00
Skia
debba55350 Add MetaGroup system 2016-03-29 12:45:10 +02:00
Skia
21f1393097 Add basic counter model 2016-03-28 14:54:35 +02:00
Skia
c3fb581f97 Refactor a bit right handling 2016-03-22 17:46:26 +01:00
Skia
2e84ee7d4f Fix subscription and improve views 2016-03-22 11:42:00 +01:00
Skia
fe8f5bb2e3 Fix club rights 2016-03-15 18:26:03 +01:00
Skia
a14d940db2 Some refactoring and misc improvements 2016-02-05 16:59:42 +01:00
Skia
239133e355 Fix generate_username for accents 2016-02-02 10:59:00 +01:00
Skia
4322318c31 Club model implementation, various other changes 2016-01-29 15:20:00 +01:00
Skia
2b999d87ba Another date field update 2016-01-28 10:13:45 +01:00
Skia
367fddbdab Alter date_of_birth 2016-01-28 09:36:24 +01:00
Skia
8b0939ca79 Core: rename full_name in _full_name because this attribute is for internal use only 2016-01-11 10:02:41 +01:00
Skia
a6aac76d75 Alter date_join field in User 2015-12-15 09:27:50 +01:00
Skia
787fd2f484 Settingize some stuff and add custom AnonymousUser 2015-12-14 15:43:30 +01:00
Skia
376b5101c1 Add docstring to PageRev 2015-12-09 11:22:50 +01:00
Skia
77803596fb Add class wide permissions and clean up migrations 2015-12-09 10:33:55 +01:00
Skia
e3cbe70319 WIP: Improve many views and a bit user permissions (idea for class scale perm) 2015-12-08 17:22:50 +01:00
Skia
475bff14cb Refactor rights handling 2015-12-08 11:10:29 +01:00
Skia
dc37e79f14 WIP: Refactor permissions 2015-12-08 09:46:48 +01:00
Skia
f7bfd6daed Add getattribute to PageRev for getting owner_group&co 2015-12-08 09:46:40 +01:00
Skia
5f07237d70 Improve a bit user views's rights 2015-12-03 16:47:03 +01:00
Skia
f17fb6e466 Add lock handling in Wiki 2015-12-02 16:43:40 +01:00
Skia
92f68f5b42 Add complete revision and history handling in the wiki 2015-12-02 11:09:50 +01:00
Skia
80926dd4ac Revert "Begin a PageRevision implementation, but this breaks currently everything!"
This reverts commit 979fc7bcb7.
2015-11-30 13:04:46 +01:00
Skia
979fc7bcb7 Begin a PageRevision implementation, but this breaks currently everything! 2015-11-27 16:40:16 +01:00
Skia
0b962e2380 Make the group management more generic in the model 2015-11-27 16:05:43 +01:00
Skia
5c9e5a24ab Implement generic right checking for any View with the right parents 2015-11-27 15:39:42 +01:00
Skia
b19ec084b6 Basic group view and permissions management on the pages 2015-11-26 17:40:31 +01:00
Skia
48e3f88b87 Improve user views 2015-11-26 16:32:56 +01:00
Skia
b237cdbaae Refactor page view with Django's black magic powered DetailView&co 2015-11-25 14:45:18 +01:00
Skia
d72b18c120 Add basic page view permission, not really working 2015-11-25 10:29:25 +01:00
Skia
cdcf4099fc Prevent loop in Wiki 2015-11-24 20:09:44 +01:00
Skia
ebcdcf4245 Basic user profile edit form 2015-11-24 15:52:27 +01:00
Skia
259182c1c4 Add page properties view 2015-11-24 14:01:10 +01:00
Skia
7b093f6fbd Fix page table integrity 2015-11-24 14:00:41 +01:00
Skia
9a9541088d Fix wiki, plus clean up and add tests 2015-11-24 10:53:16 +01:00
Skia
8753e020a1 Wiki is working quit well 2015-11-23 17:32:31 +01:00
Skia
d2005ff997 Almost working wiki before refactoring again 2015-11-23 17:23:37 +01:00
Skia
ace66bba0a Almost working wiki before refactoring 2015-11-23 13:30:30 +01:00
Skia
e9c18748b0 Make date of birth mandatory 2015-11-22 18:23:21 +01:00
Skia
6253c06235 Add very basic and not safe pages 2015-11-20 15:47:01 +01:00
Skia
c877fa7b84 Fix default date of birth with aware timezone 2015-11-19 17:34:11 +01:00
Skia
7a65215bb5 Basic user permissions for user editing 2015-11-19 16:33:40 +01:00
Skia
5ee2baedba Add registering tests 2015-11-19 11:23:08 +01:00
Skia
898490324a Basic user profile 2015-11-19 09:46:05 +01:00
Skia
619e27eb52 Basic auth system 2015-11-18 17:09:06 +01:00
Skia
5bd40b2ec4 First commit: basic users 2015-11-18 09:44:06 +01:00