Commit Graph

1941 Commits

Author SHA1 Message Date
Roberto Rosario
ce6a1f4020 Merge branch 'master' into feature/merge_master 2016-03-03 16:46:11 -04:00
Roberto Rosario
3fdc5e523a Strip tags from browser title. 2016-02-13 17:35:43 -04:00
Roberto Rosario
0295f7feb5 Add 2 second delay to workaround MySQL not storing millisecond part of timestamp. 2016-02-10 12:11:51 -04:00
Roberto Rosario
7db560d799 Increase delay in test from 1 second to 2 seconds to workaround MySQL truncating millisecond part of timestamp. 2016-02-10 12:10:42 -04:00
Roberto Rosario
f3d1faebf1 Move metadata form value validation to .clean() and update field data may not be available yet when validatng the value field. Only validate form value if form has a metadata type associated. 2016-02-10 02:27:42 -04:00
Roberto Rosario
03e7339f9b Only extract validation error messages from ValidationError exception instances. 2016-02-10 02:26:57 -04:00
Roberto Rosario
f1b090f8d6 Don't store empty metadata value if the update checkbox is not checked. 2016-02-09 19:41:43 -04:00
Roberto Rosario
ca326440a2 Revert "Add ability to disable the metadata update column. Disable the metadata update column in the new document upload wizard."
This reverts commit 511e397850.
2016-02-09 19:37:52 -04:00
Roberto Rosario
7e25ff0c0b Add missing browser title generation tag to wizard template. 2016-02-09 19:15:32 -04:00
Roberto Rosario
79e1889e95 Bump version to 2.0.2 2016-02-09 19:08:13 -04:00
Roberto Rosario
16a1a4d3af Fix test test_get_document_version_content, API view return document version page OCR content not document version OCR content. 2016-02-09 19:07:24 -04:00
Roberto Rosario
511e397850 Add ability to disable the metadata update column. Disable the metadata update column in the new document upload wizard. 2016-02-09 13:43:58 -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
652613452b Add new document upload wizard step to attach tags. GitLab issue #208. 2016-02-05 03:25:27 -04:00
Roberto Rosario
74d8f1d994 Add debug logging during general exception catch. 2016-02-04 22:22:05 -04:00
Roberto Rosario
10eb7d49b2 Update API tests to use login instead of force_authenticate. 2016-02-04 17:39:27 -04:00
Roberto Rosario
8614bc4bfc Remove included login required middleware using django-stronghold instead (http://mikegrouchy.com/django-stronghold/). GitLab Issue #206 2016-02-04 15:33:20 -04:00
Roberto Rosario
eae11a1b0c Fix remaining tests for Django 1.8. Closes GitLab issue #246. 2016-01-28 06:04:28 -04:00
Roberto Rosario
2ebb84f18f Remove remaining direct references to the User model. Closes GitLab issue #225. 2016-01-28 05:55:15 -04:00
Roberto Rosario
27d8644438 Silence 90% of remaining Django 1.8 model warnings. 2016-01-28 05:43:08 -04:00
Roberto Rosario
d5c73eaad6 Rename the 'Content' search label to 'OCR' for proper meaning. 2016-01-28 04:42:26 -04:00
Roberto Rosario
09f4d674a4 Pass the request instance to properly resolve the setup and tools links. 2016-01-28 04:40:31 -04:00
Roberto Rosario
830e83d107 Remove unused template. 2016-01-28 04:21:18 -04:00
Roberto Rosario
24644e3538 Remove select_related using reverse related name field. 2016-01-27 18:34:32 -04:00
Roberto Rosario
2dd4ca1f13 Workaround undocumented backward incompatible change in python-gnupy 0.3.8. 2016-01-26 05:14:07 -04:00
Roberto Rosario
59661f643b Update API pagination for DRF 3.3.2. 2016-01-26 03:55:44 -04:00
Roberto Rosario
0b830c380d Silence furder Django 1.8 warnings about ContentType imports. Fix get_model in handlers. 2016-01-26 03:55:10 -04:00
Roberto Rosario
6b3fe7a876 Fix futher Django Warnings. 2016-01-22 04:52:47 -04:00
Roberto Rosario
20535529dc Fix address in about template. 2016-01-22 04:51:48 -04:00
Roberto Rosario
ac9bc9454d Update source app code for new extracted formtools package. 2016-01-22 04:02:12 -04:00
Roberto Rosario
ca15cadc5e Add missing migration for pycountry update. 2016-01-22 04:01:49 -04:00
Roberto Rosario
5ec3025120 Use OneToOneField instead of a ForeignKey with unique=True. 2016-01-22 04:01:15 -04:00
Roberto Rosario
fbb22affaa Update pycountry code to new 1.19 backwards incompatible changes. 2016-01-22 04:00:30 -04:00
Roberto Rosario
b19225e95d Load models by calling AppConfig.get_model method instead. 2016-01-22 03:59:42 -04:00
Roberto Rosario
699bda40c2 Bump version to 2.0.1. 2016-01-22 00:30:32 -04:00
Roberto Rosario
f8da7fe1a9 Revert "Testing base settings now import from settings/local.py first."
This reverts commit 2f298df1a0.
2016-01-17 00:44:57 -04:00
Roberto Rosario
2f298df1a0 Testing base settings now import from settings/local.py first. 2016-01-17 00:23:51 -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
9062d8817b Bump version to 2.0.0 final. 2015-12-04 05:27:48 -04:00
Roberto Rosario
37647ca27a Tweak the first time login panel width. 2015-12-02 04:30:25 -04:00
Roberto Rosario
1ad68a61f5 Only create the initial document type and web source if none exists. 2015-11-19 00:45:04 -04:00
Roberto Rosario
6f0805c8dd Bump version to 2.0.0 release candidate 1. 2015-11-04 17:15:38 -04:00
Roberto Rosario
1867c589f5 Remove admin user tests for the documents app views. SPlit all view test into priviledged and unpriviledged tests. 2015-11-04 01:43:44 -04:00
Roberto Rosario
97c3a74331 Fix incorrect ACL check method. 2015-11-04 01:43:11 -04:00
Roberto Rosario
ec4324a3d6 Make arguments explicit. 2015-11-04 01:42:43 -04:00
Roberto Rosario
13b167abc9 Split mode documents app view tests into test with and without permissions. 2015-11-03 23:32:09 -04:00
Roberto Rosario
3a6cf48068 Return PermissionDenied when user has no sufficient permission and accessting one document. 2015-11-03 16:31:03 -04:00
Roberto Rosario
8a50721117 Expand and improve the documents app view tests. 2015-11-03 01:37:35 -04:00
Roberto Rosario
23270e948c PEP8 cleanups. 2015-11-02 17:40:27 -04:00