Commit Graph

2303 Commits

Author SHA1 Message Date
Roberto Rosario
58f73f0b1e Use Django's six library for Py3 compatibility. 2015-10-21 03:33:10 -04:00
Roberto Rosario
6b950b7ccf Style update. 2015-10-21 03:32:51 -04:00
Roberto Rosario
5f9c847239 Move stub deletion code from tasks.py to the manager of the Document model. 2015-10-21 01:34:03 -04:00
Roberto Rosario
0cf963c19f Make user or admin login more explicit in the documents apps view tests. 2015-10-21 00:52:19 -04:00
Roberto Rosario
fc81d4315e Process multiple documents in the tag attach views as querysets not as list of objects. AccessControlList.objects.filter_by_access only supports querysets now. Closes GL issue #228. 2015-10-21 00:50:04 -04:00
Roberto Rosario
df7a5c6e1c Reorganize tests literals and move then to their respective apps. 2015-10-20 21:14:07 -04:00
Roberto Rosario
6c65598a4d Remove permission check from the multiple document action links, an user may not have permissions for some items but maybe does for others, we don't know as scanning the entire queryset for ACLs is costly, so we leave the links enable, permission check is done by the view. 2015-10-20 20:05:40 -04:00
Roberto Rosario
9fbc8647b8 Fix document list generation for the document's type change views. Move type change event and recent document addition to the models. Add view tests for the document's type change views. 2015-10-20 20:03:54 -04:00
Roberto Rosario
9bb3cb4595 Add command to create an initial settings file. Existing local.py don't stop the initialsetup command now. 2015-10-20 04:13:59 -04:00
Roberto Rosario
f9940f1fd0 Add default_app_config value to each app. Closes issue GL #216. 2015-10-19 02:57:00 -04:00
Roberto Rosario
5167e91c90 Remove TODO reminder, this link position was implemented. 2015-10-19 02:54:34 -04:00
Roberto Rosario
19a2c02594 Document count column in document type list view is now permission aware. 2015-10-19 02:19:08 -04:00
Roberto Rosario
94bebf90ca Remove TODO reminder, error are logged by Celery. 2015-10-19 02:10:12 -04:00
Roberto Rosario
3f8b23d751 Show 'no results' on empty list. 2015-10-19 02:09:40 -04:00
Roberto Rosario
64faa0ca15 Fix documents app view tests. Update code to match code style. PEP8 fixes. 2015-10-19 01:54:37 -04:00
Roberto Rosario
bfe621ba89 PEP8 updates. 2015-10-19 01:27:26 -04:00
Roberto Rosario
e57080b06d Style updates. 2015-10-19 01:21:43 -04:00
Roberto Rosario
e791f2d36c Get deserialized documents by UUID only. 2015-10-19 01:21:16 -04:00
Roberto Rosario
32c7b0e379 Fix import typo. 2015-10-19 00:56:24 -04:00
Roberto Rosario
81c7a90c04 Fix message typo. 2015-10-19 00:56:11 -04:00
Roberto Rosario
6e43b99ecd Add natural key serialization. 2015-10-17 05:13:58 -04:00
Roberto Rosario
6e9c2a14ae Add folder app view tests. 2015-10-17 02:17:36 -04:00
Roberto Rosario
b49b960298 Fix tag app test import. 2015-10-16 03:38:09 -04:00
Roberto Rosario
90a1ecb826 Add permissions app views tests. 2015-10-15 19:37:04 -04:00
Roberto Rosario
8744bd82ee Fix allow editing a required metadata after changing the document type. Closes issue GL #204. 2015-10-15 16:40:35 -04:00
Roberto Rosario
5b0359d379 Increase delay after new version in test. 2015-10-15 14:54:38 -04:00
Roberto Rosario
bdc15fb518 Show thumbnails and previews for deleted documents. 2015-10-14 15:23:02 -04:00
Roberto Rosario
00f1f25ecf Fix worklow state and transition deletion views. GH issue #237. 2015-10-14 14:46:45 -04:00
Roberto Rosario
976a86947e Add management command to run tests from app list built dynamically. 2015-10-10 03:24:57 -04:00
Roberto Rosario
07f02b8f0b Add tests for the remove metadata view. 2015-10-10 02:45:00 -04:00
Roberto Rosario
cb98f0f2d2 Pass document_type to the remove metadata formset. 2015-10-10 02:44:29 -04:00
Roberto Rosario
9708c76646 Improve coding style. Don't change initial kwargs using .pop. 2015-10-10 02:42:42 -04:00
Roberto Rosario
40b94e41d8 Fix document check in view. Fixes issue GH#238. 2015-10-09 23:42:34 -04:00
Roberto Rosario
8af1ee3246 Use checkout form field inclusion instead of exclusion. 2015-10-09 23:41:09 -04:00
Roberto Rosario
d4d9a5a276 Fail elegantly when resolving a menu and there is no request variable. 2015-10-09 23:39:56 -04:00
Roberto Rosario
36805b3540 Fix typo in ACL title translation code. Fixes issue GL#201. 2015-10-08 19:33:44 -04:00
Roberto Rosario
27da0f8bb2 Add missing translation marker. Closes issue GL#201. 2015-10-08 19:29:19 -04:00
Roberto Rosario
1eddea65af Delay python formating of the translatable string. Fixes part of issue GL#201. 2015-10-08 18:57:02 -04:00
Roberto Rosario
f6c4b153c7 Make document tags widget permissions aware, closes GL #182. 2015-10-08 02:58:11 -04:00
Roberto Rosario
5da248375f Move test magic numbers and strings into test.literals.py. 2015-10-08 02:57:42 -04:00
Roberto Rosario
89d15aa275 Add missing variable to app auto URL debug statement. 2015-10-08 02:56:20 -04:00
Roberto Rosario
86ff835839 PEP8 Cleanups. 2015-10-07 22:24:44 -04:00
Roberto Rosario
aabbe59093 Change test class name. 2015-10-07 19:37:00 -04:00
Roberto Rosario
71a1aba697 Capitalize POP3 and IMAP in sources links. 2015-10-07 19:32:33 -04:00
Roberto Rosario
1556fa92e4 Add test for the about view. 2015-10-07 19:32:00 -04:00
Roberto Rosario
677d28b015 Don't error when composing the build number on non Git deploys. 2015-10-07 03:48:32 -04:00
Roberto Rosario
a76a8b7e0a Reset pointer before attemping a conversion. 2015-10-07 03:17:02 -04:00
Roberto Rosario
c9d9f90cac Improve OCR API views code. 2015-10-07 03:13:46 -04:00
Roberto Rosario
a814448c81 Change OCR API CBV class names to match rest of the project. 2015-10-07 02:44:55 -04:00
Roberto Rosario
cbe77ee258 Dynamic links do not have a menu position entry. Use .get to avoid error on non existant entries. 2015-10-07 02:43:01 -04:00