Commit Graph

21 Commits

Author SHA1 Message Date
Roberto Rosario
5a15a34818 Add document metadata API tests. Fix document metadata list API view. 2016-05-10 18:57:50 -04:00
Roberto Rosario
a817aa887f Add document type metadata type API tests. Improve document type metadata type delete API view. 2016-05-10 16:52:29 -04:00
Roberto Rosario
f4a415a3e8 Add metadata type API tests. 2016-05-10 01:11:38 -04:00
Roberto Rosario
0ecfb83d14 Fix metadata edit view test. 2016-03-15 19:03:42 -04:00
Roberto Rosario
60b7ed6a6d PEP8 cleanups 2016-03-10 03:35:15 -04:00
Roberto Rosario
59624d75cb Fix GitLab issue #250 "Empty optional lookup metadata trigger validation error". Thanks to LeVon Smoker for the find and for the proposed fix.
Reference: https://groups.google.com/forum/#!topic/mayan-edms/VUGRl4xX-1c
2016-02-09 13:00:45 -04:00
Roberto Rosario
460076004a Fix GitLab issue #245, "Add multiple metadata not possible" 2016-01-12 03:48:21 -04:00
Roberto Rosario
79c5a103a2 Fix GitLab issue #243, "System allows a user to skip entering values for a required metadata field while uploading a new document". 2016-01-12 02:40:47 -04:00
Roberto Rosario
23270e948c PEP8 cleanups. 2015-11-02 17:40:27 -04:00
Roberto Rosario
750127eb92 Raise PermissionDenied on single document access, show 'Selected at least 1 document' when the multidocument view is used. GL issue #240. 2015-11-01 03:06:40 -04:00
Roberto Rosario
cbc1f12bf6 Simplify tests teatDown method. 2015-11-01 02:57:55 -04:00
Roberto Rosario
a1a0a6da52 PEP8 Cleanups. 2015-10-28 02:14:48 -04:00
Roberto Rosario
414c55f824 Update the metadata_add and metadata_remove views to use the new ACL filter_by_access code. Update and improve tests. 2015-10-23 02:52:27 -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
bfe621ba89 PEP8 updates. 2015-10-19 01:27:26 -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
07f02b8f0b Add tests for the remove metadata view. 2015-10-10 02:45:00 -04:00
Roberto Rosario
6ca6cd9f21 PEP8 Cleanusp (549 warnings). 2015-09-16 04:15:10 -04:00
Roberto Rosario
3e3eca4c0e Update all tests to use setting value overriding. 2015-09-06 04:01:40 -04:00
Roberto Rosario
7a45164251 PEP8 cleanups. 2015-08-25 19:17:55 -04:00
Roberto Rosario
9599a3f8ab Split metadata validators in validators and parsers. Move document and upload wizard metadata validation logic to model. Add metadata tests. 2015-08-20 04:37:49 -04:00