Gunnlaugur Þór Briem
|
a88432cc28
|
Break out of for-loop when field found
Matching the `return` statement that the previous commit replaced.
|
2013-07-13 00:34:23 +00:00 |
|
Gunnlaugur Þór Briem
|
6728ba94b3
|
Fix TypeError in edit_permissions under Django 1.3
Call superclass `formfield_for_dbfield` so that it gets to do its stuff
(including removing `request` from `kwargs`)
fixes: #15
|
2013-05-29 10:55:54 +00:00 |
|
Jason Ward
|
9d8594117d
|
removed invalid classifiers
|
2013-03-22 11:41:29 -04:00 |
|
Jason Ward
|
837d3223e0
|
Merge pull request #4 from PolicyStat/master
Smart group caching and python 3.3 support
|
2013-03-18 16:24:29 -07:00 |
|
Jason Ward
|
a18760a41f
|
Merge pull request #12 from PolicyStat/issue_12
Python 3 support
|
2013-03-18 16:21:05 -07:00 |
|
Jason Ward
|
013d2af2b1
|
refs #12: We now support Python 3.3
|
2013-03-18 19:12:14 -04:00 |
|
Jason Ward
|
d07d8b6f90
|
refs #12: print functions in all the places
|
2013-03-18 19:11:38 -04:00 |
|
Jason Ward
|
727a8ac6de
|
refs #12: fixed the travis conf
|
2013-03-18 19:01:46 -04:00 |
|
Jason Ward
|
b23711ea40
|
refs #12: testing travis
|
2013-03-18 18:58:41 -04:00 |
|
Jason Ward
|
d53d9c3b3f
|
refs #12: fixed updating checks tuple
|
2013-03-18 18:53:24 -04:00 |
|
Jason Ward
|
2fc2de04de
|
refs #12: skip 3.3 and django 1.3/1.4
|
2013-03-18 18:24:19 -04:00 |
|
Jason Ward
|
427dd95944
|
refs #12: lets give python 3.3 the old collage try
|
2013-03-18 17:32:54 -04:00 |
|
Jason Ward
|
b885d3ff8c
|
refs #12: removed legacy apps
|
2013-03-18 17:32:38 -04:00 |
|
Jason Ward
|
90a768ab96
|
Merge pull request #11 from PolicyStat/issue_11
Implement smart group caching
|
2013-03-18 14:29:43 -07:00 |
|
Jason Ward
|
8dc9710ba3
|
refs #11: updated setup.py
|
2013-03-18 16:58:50 -04:00 |
|
Jason Ward
|
a28726ffc3
|
refs #11: bumped out of 0.5dev to 0.5 and updated the tips and tricks page to explain that smart caching works with groups now as well.
|
2013-03-18 16:45:02 -04:00 |
|
Jason Ward
|
95610f9379
|
refs #11: All tests are now passing
|
2013-03-18 16:34:10 -04:00 |
|
Jason Ward
|
811e69b722
|
refs #11: Updated query counts to take into account the ContentType cache, fixed group caching tests
|
2013-03-18 16:26:50 -04:00 |
|
Jason Ward
|
1e9d33bc89
|
refs #11: basically got it working, two tests still failing
|
2013-03-18 16:08:51 -04:00 |
|
Jason Ward
|
a3a7093910
|
refs #11: name change since we are building a second perm cache
|
2013-03-18 15:58:10 -04:00 |
|
Jason Ward
|
4a9ed8aa9d
|
refs #11: added tests for group caching
|
2013-03-18 15:46:34 -04:00 |
|
Jason Ward
|
2ff3264aa7
|
Merge pull request #10 from PolicyStat/issue_10
Set up travis ci so we can peg what we support
|
2013-03-18 11:47:21 -07:00 |
|
Jason Ward
|
0b152b4adf
|
refs #10: updated the DB definition for django 1.4/1.5
|
2013-03-18 14:39:13 -04:00 |
|
Jason Ward
|
f26f941319
|
refs #10 I guess django-debug-toolbar is a req
|
2013-03-18 14:24:33 -04:00 |
|
Jason Ward
|
dd1a5e7a09
|
refs #10 formalized the reqs
|
2013-03-18 14:11:46 -04:00 |
|
Jason Ward
|
8870384c9f
|
refs #10: added a .travis file to see what travis has to say
|
2013-03-18 13:58:28 -04:00 |
|
Jason Ward
|
c7018bb1e0
|
Merge pull request #3 from PolicyStat/smart_cache
Smart cache for users, groups coming up next
|
2013-03-18 10:28:16 -07:00 |
|
Wes Winham
|
cfb37b44fa
|
Merge pull request #9 from PolicyStat/issue_9
Add real documentation about the smart cache.
|
2012-09-28 14:49:24 -07:00 |
|
Jason Ward
|
483cb629c7
|
refs #9: added a line in the basic overview about the smart cache
|
2012-09-27 17:17:59 -04:00 |
|
Jason Ward
|
6c1692ae63
|
refs #9: bumped the version in the docs
|
2012-09-26 17:49:19 -04:00 |
|
Jason Ward
|
e45d774a76
|
refs #9: added a section to show how cache invalidation works
|
2012-09-26 17:44:22 -04:00 |
|
Jason Ward
|
95a7dc5e92
|
refs #9: added a line in the docs showing how to disable the use of the smart cache
|
2012-09-26 17:44:01 -04:00 |
|
Jason Ward
|
b98e675f57
|
Merge pull request #8 from PolicyStat/issue_8
has_user_perms with check_groups does too many queries
|
2012-09-26 14:24:38 -07:00 |
|
Jason Ward
|
6d6c91dfb6
|
refs #8: refactor
|
2012-09-26 17:23:30 -04:00 |
|
Jason Ward
|
342f3d5311
|
refs #8: name changes and used kwargs in one of the tests
|
2012-09-26 17:17:27 -04:00 |
|
Jason Ward
|
1f73bdde92
|
Merge remote-tracking branch 'origin/master' into issue_8
|
2012-09-26 17:09:00 -04:00 |
|
Wes Winham
|
78f451f782
|
Merge pull request #7 from PolicyStat/issue_7
Cached perms with groups does n queries right now.
|
2012-09-26 14:08:35 -07:00 |
|
Jason Ward
|
6326631756
|
refs #8: language cleanup, code cleanup
|
2012-09-26 16:27:33 -04:00 |
|
Jason Ward
|
8d62a86e96
|
refs #8: did a smarter job of building the cache without redoing work
|
2012-09-26 16:10:45 -04:00 |
|
Jason Ward
|
82bc7ee89e
|
refs #8: updated the tests to the correct expected number of queries
|
2012-09-26 16:10:20 -04:00 |
|
Jason Ward
|
7c899a245d
|
refs #7: doing the correct number of queries now
|
2012-09-26 16:01:01 -04:00 |
|
Jason Ward
|
2d71ba46b1
|
refs #7: wrote a test to show the expected number of queries needed for has_user_perms
|
2012-09-26 16:00:30 -04:00 |
|
Jason Ward
|
046284359a
|
Merge pull request #6 from PolicyStat/issue_6
Smart cache will break if a user is not provided
|
2012-09-26 12:32:07 -07:00 |
|
Jason Ward
|
f6bba30407
|
refs #6: name change
|
2012-09-26 15:31:09 -04:00 |
|
Jason Ward
|
b81ef7b5d0
|
Merge remote-tracking branch 'origin/master' into issue_6
Conflicts:
authority/permissions.py
|
2012-09-26 14:02:01 -04:00 |
|
Jason Ward
|
f47a71bbeb
|
Merge pull request #4 from PolicyStat/issue_4
Make a setting to dictate weather to do smart caching or not.
|
2012-09-26 10:59:47 -07:00 |
|
Jason Ward
|
cb2d7c0280
|
refs #4: typo
|
2012-09-26 13:58:40 -04:00 |
|
Jason Ward
|
e8c7c46ab4
|
Merge remote-tracking branch 'origin/master' into issue_4
Conflicts:
authority/permissions.py
|
2012-09-26 13:52:45 -04:00 |
|
Jason Ward
|
3cca9dcb2f
|
Merge pull request #3 from PolicyStat/issue_3
has_user_perms is busted with groups and the smart cache
|
2012-09-26 10:49:43 -07:00 |
|
Jason Ward
|
8b62ad97d2
|
refs #3: name changes to be more django
|
2012-09-26 13:47:16 -04:00 |
|