Commit graph

294 commits

Author SHA1 Message Date
Élie Bouttier
bf5d73d76e too much @python_2_unicode_compatible 2014-08-14 00:40:39 -07:00
Élie Bouttier
985d9f3c9c mask tags managment if permission forbidden 2014-08-14 00:33:27 -07:00
Élie Bouttier
cb5b4a283d fix: permissions about permissions managment 2014-08-14 00:30:11 -07:00
Élie Bouttier
317246fc01 wrap models with @python_2_unicode_compatible 2014-08-14 00:21:13 -07:00
Élie Bouttier
59cfedddb4 add local_settings as example 2014-08-13 22:39:25 -07:00
Élie Bouttier
b88ad15f66 pep8 2014-08-13 22:21:11 -07:00
Élie Bouttier
91be79f4eb comment asignee as it is not yet implemented 2014-08-13 22:17:03 -07:00
Élie Bouttier
308f95c7ab ignore htmlcov directory build by coverage html 2014-08-13 22:00:42 -07:00
Élie Bouttier
c247517bf3 more tests about views 2014-08-13 21:03:29 -07:00
Élie Bouttier
0b7336a113 move coverage option in .coveragerc 2014-08-13 19:23:05 -07:00
Élie Bouttier
94f46f5187 mask button for forbidden actions in templates 2014-08-13 19:11:00 -07:00
Élie Bouttier
d8c8f602ad spelling: pluralize some terms 2014-08-13 18:57:54 -07:00
Élie Bouttier
f3df3bb9eb login: cancel button go to previous page 2014-08-13 18:53:53 -07:00
Élie Bouttier
8e8e8243fd login: use base view 2014-08-13 18:53:18 -07:00
Élie Bouttier
38dcbe7874 tests: split in class + profile tests 2014-08-12 23:45:52 -07:00
Élie Bouttier
16ae085399 tests: test delete issue view 2014-08-12 23:24:11 -07:00
Élie Bouttier
930f02cdb6 tests: more tests about issues views 2014-08-12 23:18:00 -07:00
Élie Bouttier
66e0997e9b fix: has_perm need project object 2014-08-12 23:14:25 -07:00
Élie Bouttier
cfa815b8c9 fix: user -> request.user 2014-08-12 19:39:14 -07:00
Élie Bouttier
d436a8194a update project permission template (cf a7a257c199f86763c8942f0385a9195cd51dc84e) 2014-08-12 19:38:55 -07:00
Élie Bouttier
7ecf8a8b15 remove not used class 2014-08-12 19:34:05 -07:00
Élie Bouttier
d5f7a65819 middleware expect project as kwarg so decorator can do the same 2014-08-12 19:30:50 -07:00
Élie Bouttier
702c9cda2c fix view module name using wraps in the decorator 2014-08-12 19:26:51 -07:00
Élie Bouttier
8996d4b323 pep8 2014-08-12 19:19:45 -07:00
Élie Bouttier
a06a248e68 check perms in views & some tests (not enought) 2014-08-11 23:56:06 -07:00
Élie Bouttier
53e954ca9c perm checked using a decorator instead of shortcut 2014-08-11 23:55:12 -07:00
Élie Bouttier
28a4915909 add manage_issue permission to open/close issue 2014-08-11 23:54:23 -07:00
Élie Bouttier
95893c04d9 permission.granted_to now handle anonymous user 2014-08-11 23:53:32 -07:00
Élie Bouttier
d9c3e214e0 need to be more general (can be issue.decorators)
use of app_label is probably better
2014-08-11 23:51:49 -07:00
Élie Bouttier
e59323c7c1 fix: middleware didn't throw forbidden exception 2014-08-11 23:50:30 -07:00
Élie Bouttier
189e678842 simplify labels & milestones managment 2014-08-11 22:09:31 -07:00
Élie Bouttier
3a1010e19a test and coverage script helper 2014-08-10 17:45:25 -07:00
Élie Bouttier
d881679b7e restricting access using permissions, first step 2014-08-10 17:36:47 -07:00
Élie Bouttier
be4df3a1f7 fix: signals not working with django < 1.7 2014-08-10 17:34:20 -07:00
Élie Bouttier
001e233b24 fix: replace crispy by forms-bootstrap in requirements.txt 2014-08-10 15:36:54 -07:00
Élie Bouttier
939f240662 ignore local_settings.py 2014-08-10 15:35:12 -07:00
Élie Bouttier
e603464e6a can_user -> perm, that now check project perm too 2014-08-10 15:33:29 -07:00
Élie Bouttier
805166de05 distinct global permission & project permission 2014-08-10 15:31:56 -07:00
Élie Bouttier
0a9d0f91e0 use django-forms-bootstrap instead of crispy
lighter and should works with python 3.2 out-of-the-box but still need a
patch to no longer depend of bootstrap doc's css (bs-callout)
2014-08-09 12:01:37 -07:00
Élie Bouttier
8de77be8f2 use fixed version of crispy for python3.2 2014-08-09 09:26:35 -07:00
Élie Bouttier
afda0ca3df first views tests 2014-08-09 02:18:06 -07:00
Élie Bouttier
3a211b74a4 pep8 2014-08-09 01:13:42 -07:00
Élie Bouttier
fde1c147c9 travis notification: use notice 2014-08-08 23:01:16 -07:00
Élie Bouttier
f1c7e4c0f4 update requirements.txt 2014-08-08 22:48:29 -07:00
Élie Bouttier
f6b1fab22c add readme with travis-ci & coveralls bagdes 2014-08-08 22:09:52 -07:00
Élie Bouttier
e9d9db2907 add travis continuous integration file 2014-08-08 21:58:36 -07:00
Élie Bouttier
1842803379 python 2 compatibility 2014-08-08 19:59:58 -07:00
Élie Bouttier
672073a6cd add tests for the permissions framework 2014-08-08 19:34:23 -07:00
Élie Bouttier
8f37e5208d improve templates, especially forms 2014-08-08 19:32:59 -07:00
Élie Bouttier
a793f9ea1a django 1.6 compatibility 2014-08-08 19:31:51 -07:00