Commit graph

136 commits

Author SHA1 Message Date
Jannis Leidel
efb31827de Bumped version up 2009-07-28 17:41:30 +02:00
Jannis Leidel
d84aebed8a Updated manifest template and readme in preparation for release 2009-07-28 17:34:50 +02:00
Jannis Leidel
bd0979c65d Updated docstrings in template tags a bit 2009-07-24 00:03:22 +02:00
Diego Búrigo Zacarão
ffdfb2f328 Added get_permission_request templatetag 2009-07-23 18:35:09 -03:00
Jannis Leidel
e7e1c35ea7 Removed a bit of redundancy of the permission check API 2009-07-23 22:58:24 +02:00
Jannis Leidel
44e9397f23 Added SQL files to migrate permission model from 0.2 to 0.3 2009-07-23 22:42:12 +02:00
Jannis Leidel
5111912709 Use a hidden input if we want to add or request a specific permission 2009-07-23 14:59:47 +02:00
Jannis Leidel
abf72ba3ab Added Diego for his tremendous help in creating this app 2009-07-23 07:42:48 +02:00
Jannis Leidel
a4aca3a3aa Merge commit
--HG--
files : src/authority/forms.py
files : src/authority/views.py
2009-07-23 07:37:10 +02:00
Jannis Leidel
c3208b2b34 Added date_requested and date_approved fields to Permission model, to accompany the permission request changes. This requires a schema change.
Fixed legacy permission name "approve_permission_requests".
Fixed forms to not bypass validation for permission requests.
Combined the templates for permission requests forms and permission forms in one file.
Added ability to withdraw a permission request, along the lines of the permission denial.
Updated URLs to be more awesome.
Refactored template tags to be classbased, easier to use.
Changed signature of permission_form templatetag and added ability to pass a template name with which the form should be rendered.
Combined permission_form and permission_request_form in one template tag class.
Added utility to determine best URL to redirect to after successful permission (request) creation.
Made sure the new GET access to the permission form views is secure. Please test!
Added new "approve_permissions" admin action to easily approve permissions in the admin.
Updated default templates to use the new features.
Now dance.
2009-07-23 07:33:34 +02:00
Jannis Leidel
1233b9c10d Fixed typo in docs. 2009-07-23 04:46:37 +02:00
Diego Búrigo Zacarão
a8a84025f7 Not necessary anymore 2009-07-22 13:21:33 -03:00
Diego Búrigo Zacarão
a240998eed bugfix: Initial user value in the view for permission requests 2009-07-22 13:13:15 -03:00
Diego Búrigo Zacarão
a92e3da0fd Added Permission Request feature
- Permissions are considered requests until the 'approved'
   field be set to True
2009-07-22 12:05:07 -03:00
Jannis Leidel
9680b4a805 Automated merge with http://bitbucket.org/barttc/django-authority/
--HG--
emptychangelog : true
2009-07-17 14:17:59 +02:00
Jannis Leidel
0a73b40bef Re-added dev tagging and bumping version up to 0.3 2009-07-17 14:16:24 +02:00
Jannis Leidel
6785c63044 Added tag 0.2 for changeset b6291a00d996 2009-07-17 14:13:49 +02:00
Jannis Leidel
cea086fc4e Added docs to source distribution and removed dev version tag for upcoming release 2009-07-17 14:13:38 +02:00
Martin Mahner
af9a591024 Automated merge with ssh://hg@bitbucket.org/jezdez/django-authority/
--HG--
emptychangelog : true
2009-07-17 14:03:44 +02:00
Jannis Leidel
22a3fc9cb9 Added check for the permission to change permissions before running the admin action. Updated docs. 2009-07-17 13:52:44 +02:00
Jannis Leidel
6a2b56a8d0 Move the admin actions to the admin.py to make it easier to handle the registering it with the default admin site. Fixed a bug where the short description of the admin action wasn't lazy. Updated docs. 2009-07-17 13:27:02 +02:00
Martin Mahner
a887a2f00e Docs: Updated nature theme, removed the justified text style: 2009-07-17 11:36:11 +02:00
Martin Mahner
51fdf7a069 Automated merge with ssh://hg@bitbucket.org/jezdez/django-authority/
--HG--
emptychangelog : true
2009-07-17 11:30:14 +02:00
Martin Mahner
b836c52633 Docs: Documented how to remove the admin action. 2009-07-17 11:29:53 +02:00
Martin Mahner
81b8fdcc92 AdminAction: Gave the permission action a name, so it's later removeable 2009-07-17 10:24:50 +02:00
Jannis Leidel
e220f7ac28 Added experimental descriptor 'permissions' to every model registered with the authority 2009-07-15 18:44:46 +02:00
Jannis Leidel
63d27bd66e Automated merge with ssh://hg@bitbucket.org/jezdez/django-authority
--HG--
emptychangelog : true
2009-07-14 18:51:41 +02:00
Jannis Leidel
bf0b9c3678 Moved add_url_for_obj function to templatetag lib and registered it as a template tag 2009-07-14 18:51:12 +02:00
Martin Mahner
1dde41c893 Docs: Added the logo to the topleft sidebar. Text is now converted with smartypants. 2009-07-13 13:52:58 +02:00
Martin Mahner
7deae44407 Docs: brightened the favion a bit 2009-07-13 12:08:08 +02:00
Martin Mahner
1bba920c69 Docs: Updated to version 0.2. Removed Jannis from the copyright line. 2009-07-13 11:19:55 +02:00
Martin Mahner
3db535a103 Automated merge with ssh://hg@bitbucket.org/jezdez/django-authority/
--HG--
emptychangelog : true
2009-07-13 11:17:35 +02:00
Martin Mahner
6b17aa1759 Docs: Added a favion 2009-07-13 11:17:27 +02:00
Jannis Leidel
c34667e7b2 Added section to setup.cfg to be used with Sphinx-PyPI-upload's command upload_sphinx 2009-07-13 10:10:43 +02:00
Martin Mahner
865b5fb422 Automated merge with ssh://hg@bitbucket.org/jezdez/django-authority/
--HG--
emptychangelog : true
2009-07-12 22:42:56 +02:00
Jannis Leidel
9fded76e7c Fixing theme bug that only showed up with Sphinx 0.6.2 2009-07-12 22:42:20 +02:00
Jannis Leidel
a985f61dd2 More doc updates 2009-07-12 22:28:21 +02:00
Martin Mahner
4c561d6a53 Automated merge with ssh://hg@bitbucket.org/jezdez/django-authority/
--HG--
files : docs/tips_tricks.txt
2009-07-12 22:27:14 +02:00
Jannis Leidel
88574d9dda Merging
--HG--
files : docs/check_decorator.txt
files : docs/check_templates.txt
files : docs/configuration.txt
files : docs/create_basic_permission.txt
files : docs/create_custom_permission.txt
files : docs/support.txt
files : docs/tips_tricks.txt
2009-07-12 22:23:47 +02:00
Jannis Leidel
d7be0bf5f7 Merging
--HG--
files : docs/tips_tricks.txt
2009-07-12 22:19:06 +02:00
Martin Mahner
7633cba995 Merged with jezdez repo.
--HG--
files : docs/tips_tricks.txt
2009-07-12 22:16:23 +02:00
Martin Mahner
2ad6876e07 Docs: Added a tip and a trick. 2009-07-12 22:14:24 +02:00
Jannis Leidel
456afd3153 Minor updates to docs 2009-07-12 22:04:26 +02:00
Martin Mahner
13ffa46689 Fixed sphinx warnings 2009-07-12 22:03:24 +02:00
Jannis Leidel
2a2675087b Minor revision to the documentation 2009-07-12 21:31:00 +02:00
Martin Mahner
b82700f6b4 Docs: Removed deprecated doc pages 2009-07-12 19:58:48 +02:00
Martin Mahner
d909843116 Docs: added a bunch of doc pages. Restructured everything. worksforme 2009-07-12 19:47:11 +02:00
Martin Mahner
45237a4b50 Docs: and more docs 2009-07-12 17:44:06 +02:00
Martin Mahner
16e94b599f Docs: some more doc pages 2009-07-12 16:24:25 +02:00
Martin Mahner
df85c0e626 Docs: Added first drafts of documents of the basic structure of the docs. 2009-07-12 12:31:26 +02:00