Commit graph

272 commits

Author SHA1 Message Date
É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
Élie Bouttier
2738e6712c prevent useless events like same label change 2014-08-08 19:30:28 -07:00
Élie Bouttier
6f4fad51ba fix: project duplicate when diff. way grant access 2014-08-08 19:28:16 -07:00
Élie Bouttier
1e2ff3bd78 fix: project -> project.name due to middleware
bug introduced in e3b8ec9f5067ad4f6c0ff50cde62bcbfda69ebbe
2014-08-08 19:26:42 -07:00
Élie Bouttier
90d0d3036f ignore .coverage made by coverage utility 2014-08-08 19:25:09 -07:00
Élie Bouttier
4d7ab944c2 add project permissions managment page 2014-08-08 00:56:13 -07:00
Élie Bouttier
b5c525a299 ignore *.rej, *.orig, *.bak, *.patch 2014-08-07 22:59:28 -07:00
Élie Bouttier
5465d537c3 template processor can_user to check permissions 2014-08-07 22:13:46 -07:00
Élie Bouttier
d0f1908a6a staff users can access all projects 2014-08-07 19:54:56 -07:00
Élie Bouttier
f0087a8c06 project middleware now honors permissions 2014-08-07 19:47:08 -07:00
Élie Bouttier
4702df036e add some new global permissions 2014-08-07 19:23:50 -07:00
Élie Bouttier
81927a3cad add global permissions managment page 2014-08-07 19:19:41 -07:00
Élie Bouttier
de137b0df9 add profile page, listing groups and teams 2014-08-07 19:17:19 -07:00
Élie Bouttier
4101c84e26 remove commented imports 2014-08-07 19:16:38 -07:00
Élie Bouttier
7315954614 use simple integer choice instead of ContentType 2014-08-07 19:14:51 -07:00
Élie Bouttier
42f3237ef6 pluralize issue & milestone count 2014-08-07 19:03:27 -07:00
Élie Bouttier
fbdc2c1aca avoid useless retrieval of user object 2014-08-07 13:54:09 -07:00
Élie Bouttier
4c7e906c1a add permissions backend 2014-08-07 13:53:32 -07:00
Élie Bouttier
dcadc324db add permissions models and settings model 2014-08-07 13:51:57 -07:00
Élie Bouttier
98f181ca4f ProjectMiddleware query project and check permissions 2014-08-07 13:30:51 -07:00
Élie Bouttier
00b8ae612d project can be public (default) or private 2014-08-07 13:26:22 -07:00
Élie Bouttier
e870608072 add ProjectMiddleware adding projects to request 2014-08-07 12:54:45 -07:00
Élie Bouttier
401bee8e1c remove stronghold before new permissions system 2014-08-07 08:12:48 -07:00