jpic
728e87cc30
Add manage.py in example project, useful to run tests ootb with ./manage.py test authority
2009-11-02 11:32:21 +00:00
Jannis Leidel
fa4a3fbc11
Moved setting the user field widget to correct location in UserPermissionForm
2009-10-12 15:45:06 +02:00
Jannis Leidel
950061cb75
Show how to override a form in the add_permission view in the example project
2009-10-12 14:56:10 +02:00
Jannis Leidel
7d831233df
Renamed upload_sphinx section to upload_docs because the command was added to distribute, yay
2009-10-12 14:55:39 +02:00
Jannis Leidel
f31565c006
Added example db to hgignore
2009-10-12 14:53:19 +02:00
Jannis Leidel
642639e8fa
Added ability to override form in add_permission view
2009-10-12 14:52:14 +02:00
Jannis Leidel
552ed3935b
Added TODO to .hgignore *snicker*
2009-10-12 14:49:17 +02:00
Jannis Leidel
da3906f813
Updated buildout config
2009-10-12 14:48:30 +02:00
Jannis Leidel
cd89499c43
Fix isse #6 - Fix PermissionDescriptor.__get__ signature
2009-08-24 15:25:18 +02:00
Jannis Leidel
6ef0520a71
Bumped Django version in buildout recipe up to 1.1
2009-08-24 15:24:41 +02:00
Jannis Leidel
d3510ae0c8
Updated readme a bit
2009-07-28 18:00:14 +02:00
Jannis Leidel
3c768107d7
Added tag 0.3 for changeset 9f43899a6fb4
2009-07-28 17:58:23 +02:00
Jannis Leidel
3ffc90f10d
Bumped version to 0.4
2009-07-28 17:47:12 +02:00
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