Roberto Rosario
7889ff64d9
Document zip file encoding issues
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-01 00:20:50 -04:00
Roberto Rosario
390e552c1f
Update test according to new layout
...
Separate method making request from TestCase
and into separate TestMixins classes.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-30 09:35:52 -04:00
Roberto Rosario
9041f00caa
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-30 05:02:53 -04:00
Roberto Rosario
b0163319eb
Improve source tests layout
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-29 23:14:33 -04:00
Roberto Rosario
762cdc5b89
Add Chinese fonts to the Docker image
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-28 01:52:23 -04:00
Roberto Rosario
396cbb4b22
Add template comment
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-27 05:24:21 -04:00
Roberto Rosario
8b0cd93526
Tweak jstree CSS
...
Remove border radius and remove the column gutter.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-27 05:23:18 -04:00
Roberto Rosario
f97ccb693b
Add test GitLab issue #653
...
Tests opening zip files containing a non English named member.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-25 23:00:51 -04:00
Roberto Rosario
c3b539ba19
Add MAYAN_GUNICORN_TIMEOUT documentatoin
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-25 22:17:50 -04:00
Roberto Rosario
80126f2326
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-25 00:07:42 -04:00
Roberto Rosario
00e3d40231
Merge branch 'versions/micro' of gitlab.com:mayan-edms/mayan-edms into versions/micro
2019-09-24 23:29:25 -04:00
Roberto Rosario
0953127420
Use mixin in tag workflow action test
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 23:29:02 -04:00
Roberto Rosario
02505ba855
Update format of the changelog file
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 23:19:42 -04:00
Roberto Rosario
6fe41660bd
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 23:11:14 -04:00
Roberto Rosario
7695178992
Fix failing tests
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 17:17:21 -04:00
Roberto Rosario
b03758ed8b
Cleanup OCR app code and link registration
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 15:37:18 -04:00
Roberto Rosario
d7818b64b0
Support deleting the parsed content of a document
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 15:36:32 -04:00
Roberto Rosario
fb53726888
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 01:21:02 -04:00
Roberto Rosario
8da1a64410
Add recursive option to Docker entrypoint chown
...
GitLab issue #668 . Thanks to John Wice (@brilthor)
for the report.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 00:24:35 -04:00
Roberto Rosario
62430bf341
Deregister workflow created event from workflows
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 00:16:41 -04:00
Roberto Rosario
792aa64829
Add OCR content deleted event
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 00:15:23 -04:00
Roberto Rosario
e62e684107
Simplify DOCTYPE
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 23:49:47 -04:00
Roberto Rosario
a3d63dce80
Increase maximum scale and enable user scalable
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 23:45:19 -04:00
Roberto Rosario
8adb342e24
Add alt attribute to most used img tags
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 23:36:06 -04:00
Roberto Rosario
c9567d0c6d
Add support for deleting the OCR content
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 16:31:04 -04:00
Roberto Rosario
907e2213e9
Update jQuery to version 3.4.1
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 15:49:58 -04:00
Roberto Rosario
dea3bbdf09
Update Django to version 1.11.24
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-09-23 15:34:09 -04:00
Roberto Rosario
61c6562860
Tweaked the jstree component's appearance
...
Improve usage with long cabinet labels.
Thanks for forum user @briboe for the report.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 13:58:29 -04:00
Roberto Rosario
8322bd3a27
Rename workflow action test modules
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 13:23:19 -04:00
Roberto Rosario
11898a36fe
Add initial release notes for version 3.2.8
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 13:20:16 -04:00
Roberto Rosario
2d97024d93
Add cabinet add and remove workflow actions
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 02:54:52 -04:00
Roberto Rosario
d543a71909
Update document indexing URLs as per v3.3 layout
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-23 01:33:23 -04:00
Roberto Rosario
c652a6c7f6
Merge branch 'versions/micro' of gitlab.com:mayan-edms/mayan-edms into versions/micro
2019-09-22 21:16:25 -04:00
Roberto Rosario
1bc3b58d4e
Return empty queryset for non authenticated users
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-22 21:15:31 -04:00
Roberto Rosario
4e6e4789e3
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-22 21:15:10 -04:00
Roberto Rosario
d1ba081fb7
Reorganize and speed up document API tests
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-22 20:34:37 -04:00
Roberto Rosario
03c63bcf80
Update git branches section
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-11 19:27:07 -04:00
Roberto Rosario
f7789fa6da
Clean up documentation configuation file
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-08 19:38:01 -04:00
Roberto Rosario
0d263c2b76
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-04 03:00:06 -04:00
Roberto Rosario
b329ed7618
Update build number
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-28 17:32:09 -04:00
Roberto Rosario
373a712669
Bump version to 3.2.7
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-28 17:31:08 -04:00
Roberto Rosario
734ca02a95
Warning cleanup
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-28 17:29:56 -04:00
Roberto Rosario
04b19f8d2e
Add book link
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-28 17:29:43 -04:00
Roberto Rosario
fce0601d25
Set release date
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-28 17:20:31 -04:00
Roberto Rosario
54769bf22a
Adjust body after new AJAX content
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-28 03:25:29 -04:00
Roberto Rosario
f303cdfe95
Update book links
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-27 22:43:53 -04:00
Roberto Rosario
3ad035adcb
Add center book image
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-27 22:35:58 -04:00
Roberto Rosario
533e2e344c
Add book link to readme
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-27 19:30:27 -04:00
Roberto Rosario
649ef8151c
Don't show system alerts under floating elements
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-27 19:21:06 -04:00
Roberto Rosario
69c925ffd3
Unify all line endings to be Linux style
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-27 19:07:17 -04:00
Roberto Rosario
8e34bc02b3
Add automatic adjustment of HTML body padding
...
Closes GitLab issue #643 . Thanks to Light Templar
(@LightTemplar) for the report.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-27 18:59:08 -04:00
Roberto Rosario
666c3324e8
Synchronize language translations
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-25 21:55:14 -04:00
Roberto Rosario
5627a3d247
Merge branch 'versions/micro' of gitlab.com:mayan-edms/mayan-edms into versions/micro
2019-08-24 20:08:53 -04:00
Roberto Rosario
cb7dbaf609
Backport individual index rebuild support
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-24 20:07:59 -04:00
Roberto Rosario
7cba63f403
Fix base test class mixin inheritance
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-24 15:53:55 -04:00
Roberto Rosario
2f6cfcbc4f
Rename MAYAN_USER_GUID variable to MAYAN_USER_GID
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-23 03:42:22 -04:00
Roberto Rosario
2af136356d
Update the Docker entrypoint UID and GUID code
...
Update the ownership of files when the UID of GUID are changed.
GitLab issue #650 .
Allow changing the GID of the mayan user to existing values.
GitLab issue #652 . Thanks to Fabian (@ruffy91) for both reports.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-23 03:37:40 -04:00
Roberto Rosario
7a8dad5a3c
Increase mailing profile password field length
...
Increse from 48 to 128 characters. GitLab issue #657 .
Thanks to sigsec (@sigsec) for the report.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-22 03:53:38 -04:00
Roberto Rosario
3a0226ac22
Fix document template column field.
...
GitLab issue #655 . Thanks to Christian Wiegand (@christianwgd) for the
report.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-22 00:27:51 -04:00
Roberto Rosario
cb14224fde
Add extlinks entry to reference forum topics
...
Allow adding links to forum topics with ease in the
documentation.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-22 00:09:24 -04:00
Roberto Rosario
e45443fdea
Fix document cabinet list API view
...
Thanks for forum user "jere" for the report. Forum topic 1039.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-22 00:04:11 -04:00
Roberto Rosario
b19b602a53
Add reference to GitLab issue #654
...
Thanks to Lucius Schaerer (@lschaer1) for the report.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 19:32:52 -04:00
Roberto Rosario
ec2dde7483
Add internal_name field to workflow serializer
...
Fixes workflow API creation view.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 19:30:08 -04:00
Roberto Rosario
c94ed44476
Remove redundant Celery queue declarations
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 14:06:32 -04:00
Roberto Rosario
eff18b5823
Update changelog
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 13:53:26 -04:00
Roberto Rosario
30f3d11375
Disable pagination current page button
...
Current page button was clickable and would cause the
single page navigation to jump to the home view.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 13:51:16 -04:00
Roberto Rosario
871a800213
Add version 3.2.7 release notes
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 04:29:10 -04:00
Roberto Rosario
e7faece342
Reorganize and improve checkouts tests
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 04:25:56 -04:00
Roberto Rosario
8bcd2c247f
Rename checkout views and URLs for clarity
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 04:25:16 -04:00
Roberto Rosario
605e6356a7
Use NamedSplitWidget for the checkout form
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 04:24:53 -04:00
Roberto Rosario
9c202f7087
Add UserTestMixin to the base test class
...
Allows calling _create_test_users in tests.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 03:54:31 -04:00
Roberto Rosario
c833b7a74c
Add as_id_list helper for tests
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 03:54:05 -04:00
Roberto Rosario
e002f317a4
Add NamedMultiWidget class
...
Works as Django's MultiWidget but instead of a list
of subwidgets, uses a dictionary of subwidgets with names
as the keys. The named nature is less error prone than Django's
index numbered subwidgets.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 03:52:07 -04:00
Roberto Rosario
c51f8d2135
Merge branch 'patch-1' into 'master'
...
Source watch folder files are removed when upload is completed
See merge request mayan-edms/mayan-edms!58
2019-07-24 06:19:52 +00:00
Jiri B
01b2ad3ddc
I was shocked my PDFs were deleted from source directory thus this needs to be clarified.
2019-07-14 10:15:35 +00:00
Roberto Rosario
e371124bca
Merge branch 'versions/micro'
2019-07-10 03:19:26 -04:00
Roberto Rosario
3621af7e7d
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 03:19:09 -04:00
Roberto Rosario
1e1e930e88
Bump version to 3.2.6
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 03:18:15 -04:00
Roberto Rosario
d04f1eb9a5
Improve Setting check changed test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 03:17:04 -04:00
Roberto Rosario
6dde3e1ac3
PEP8 cleanup
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 03:14:12 -04:00
Roberto Rosario
efb8a35ea4
Update changelog, add release notes for v3.2.6
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 03:08:16 -04:00
Roberto Rosario
25df502cb0
Merge branch 'versions/micro'
2019-07-10 02:51:47 -04:00
Giacomo Cariello
5c91ab2d73
Fix thumbnail generation issue ( #637 ).
2019-07-10 02:51:11 -04:00
Roberto Rosario
ea4f9d6c4e
Merge branch 'master' into 'master'
...
Fix thumbnail generation issue (#637 ).
See merge request mayan-edms/mayan-edms!57
2019-07-10 06:49:13 +00:00
Roberto Rosario
6d0b7b1fc0
Speed up document indexing view tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 01:59:23 -04:00
Roberto Rosario
627e9cb1f0
Update changelog
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 01:47:35 -04:00
Roberto Rosario
4fcd60194e
Add trashed date time label and position
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 01:47:01 -04:00
Roberto Rosario
644cd57a0f
Fix document icon used in workflow runtime links
...
Links are using the document type instead of the document icon.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 01:44:37 -04:00
Roberto Rosario
f6febdd221
Remove the smart settings app * import
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 01:40:13 -04:00
Giacomo Cariello
f46a32580d
Fix thumbnail generation issue ( #637 ).
2019-07-08 17:33:30 +02:00
Roberto Rosario
929cc7d374
Encode settings YAML before hashing
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-07-06 17:16:04 -04:00
Roberto Rosario
b405896a44
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-05 16:40:01 -04:00
Roberto Rosario
fbe043b4eb
Bump version to 3.2.5
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-05 16:39:17 -04:00
Roberto Rosario
3a8fade8f8
Disable test suit on master branch pushes
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-05 16:38:20 -04:00
Roberto Rosario
3fb1e079b9
Code cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-05 16:35:43 -04:00
Roberto Rosario
40b44cba35
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-05 16:33:34 -04:00
Roberto Rosario
d5b1c02310
Update depedencies to their latest bug fix version
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-05 15:45:24 -04:00
Roberto Rosario
38c33b6703
Update Django to version 1.11.22
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-05 15:28:39 -04:00
Roberto Rosario
557a20d6cc
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-05 03:10:42 -04:00
Roberto Rosario
68a3483470
Merge branch 'pt-locale-msg' into 'master'
...
Pt locale msg
Translations for pt-PT
See merge request mayan-edms/mayan-edms!56
2019-07-05 05:18:26 +00:00
David Miguel
4de13f23b7
Pt locale msg
2019-07-05 05:18:26 +00:00
Roberto Rosario
fba6d3b101
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-05 01:02:53 -04:00
Roberto Rosario
7902074390
Add alert when settings are changed
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-05 00:58:50 -04:00
Roberto Rosario
3ce08cc9c0
Merge branch 'versions/minor' into features/setting_change_warning
2019-07-05 00:48:37 -04:00
Roberto Rosario
1ae5b8c420
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-05 00:47:36 -04:00
Roberto Rosario
2af03eeca8
Fix cabinet and tags upload wizard steps
...
Steps were missing some entries. Closes GitLab issue #632 .
Thanks to Matthias Urhahn (@d4rken) for the report.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-05 00:28:01 -04:00
Roberto Rosario
b8345797d6
Merge branch 'versions/minor' into features/fix_cabinet_wizard
2019-07-04 01:34:55 -04:00
Roberto Rosario
1377ff0504
Add class method to detect setting changes
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-07-03 11:10:35 -04:00
Roberto Rosario
5aa3886867
Fix cabinet upload wizard step
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-07-02 21:24:12 -04:00
Roberto Rosario
1fe45e2613
Add data migration to the file metadata app
...
Synchronizes the document type settings model of existing
document types.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-02 14:47:12 -04:00
Roberto Rosario
68966e4ad0
Update troubleshooting topic
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-02 14:34:54 -04:00
Roberto Rosario
a8fcc862f1
Don't register the create event to the instance
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-01 15:45:15 -04:00
Roberto Rosario
f9e539f25c
Don't error out if the settings are set to blank
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-01 01:13:02 -04:00
Roberto Rosario
96d631a395
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:51:45 -04:00
Roberto Rosario
f5bbd484cd
Bump version to 3.2.4
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:50:51 -04:00
Roberto Rosario
8b2690c785
Remove unused import
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:50:23 -04:00
Roberto Rosario
4cf28af5cf
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:48:52 -04:00
Roberto Rosario
d48f2628a3
Add sources app metadata help text migration
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:48:23 -04:00
Roberto Rosario
e3d2fef687
Update compiled translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:47:05 -04:00
Roberto Rosario
6eb105be94
Update source translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:21:29 -04:00
Roberto Rosario
24dcdfd328
Improve email metadata support
...
The feature can now work on emails with nested parts.
Also the metadata.yaml attachment no longer needs to be the
first attachment.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:12:54 -04:00
Roberto Rosario
305f4d1afd
Reduce code used to set bulk metadata
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:10:22 -04:00
Roberto Rosario
ff03186a2c
Remove the INSTALLED_APPS setting
...
The INSTALLED APPS setting is now replaced by the
new COMMON_EXTRA_APPS and COMMON_DISABLED_APPS.
Exposing the INSTALLED_APPS setting had the side effect
of blocking new apps that were added in new versions.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 23:26:29 -04:00
Roberto Rosario
8141748677
Add redirection after trashing a document
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 23:05:54 -04:00
Roberto Rosario
26fdaf867f
Update changelog and release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 23:04:17 -04:00
Roberto Rosario
bf4e499c9d
Fix IMAP4 store flags argument, GitLab issue #606
...
Python's documentation is incorrect, argument name is flag_list.
Closes GitLab issue #606 . Thanks to Samuel Aebi (@samuelaebi)
for the report and debug information.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 22:29:05 -04:00
Roberto Rosario
daef777173
Use polylines for the edge splines
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 15:49:25 -04:00
Roberto Rosario
0e8dbea244
Hightlight initial state
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 15:39:01 -04:00
Roberto Rosario
46eda1a20b
Add actions to workflow preview
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 15:38:52 -04:00
Roberto Rosario
d2c89caece
Add transition form comment help text
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 15:38:42 -04:00
Roberto Rosario
b03ea61fdb
Merge branch features/user_management_dashboard_widgets
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 13:45:10 -04:00
Roberto Rosario
80065279cb
Fix install typos and missing commands
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 11:46:49 -04:00
Roberto Rosario
d636174c85
Add test case database connection check
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-27 11:52:11 -04:00
Roberto Rosario
22aa14282b
[Fix] Change to relative imports
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-27 08:42:03 -04:00
Roberto Rosario
bdde894765
[FIX] Remove tag create document registration
...
Make no sense to have the tag create event register to existing tags.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-27 08:41:14 -04:00
Roberto Rosario
4d7c0552bd
Fix help text of the platformtemplate command
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-22 00:04:34 -04:00
Roberto Rosario
575e42357a
Update 3.2.2 release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-21 14:43:04 -04:00
Roberto Rosario
487c250f3e
Merge branch 'master' into versions/minor
2019-06-21 11:52:40 -04:00
Roberto Rosario
0ae214f2fd
Support configurable GUnicorn timeouts
...
Defaults to current value of 120 seconds.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-21 11:51:01 -04:00
Roberto Rosario
037b942c4a
Update release date of version 3.2.3
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-21 11:48:01 -04:00
Roberto Rosario
dcbf777429
Merge branch 'defect/628-positional-arguments-for-mailbox' into 'master'
...
Defect/628 positional arguments for mailbox
Closes #628
See merge request mayan-edms/mayan-edms!51
2019-06-21 13:35:23 +00:00
Jesaja Everling
0c5a0b54c1
Defect/628 positional arguments for mailbox
2019-06-21 13:35:23 +00:00
Roberto Rosario
0f5f8c0dd1
Update build number
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-21 00:03:53 -04:00
Roberto Rosario
2d875ff044
Bump version to 3.2.3
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-21 00:01:37 -04:00
Roberto Rosario
a77708ebe6
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-20 23:52:00 -04:00
Roberto Rosario
440822896a
Fix the Django SMTP backend username field name
...
Increase the Django STMP username. GitLab issue #625 . Thanks to Jesaja
Everling (@jeverling) for the report and the research.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-20 23:42:16 -04:00
Roberto Rosario
6f4802ac6a
Fix mailing profile log columns mappings
...
GitLab issue #626 . Thanks to Jesaja Everling (@jeverling)
for the report.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-20 23:14:33 -04:00
Roberto Rosario
c21a9afcfa
Merge branch 'master' into versions/minor
2019-06-19 23:53:04 -04:00
Roberto Rosario
0494fa9e6a
Merge branch 'defect/619-fix-poplib-initialization' into 'master'
...
Fix kwargs for poplib.POP3_SSL and poplib.POP3
Closes #619
See merge request mayan-edms/mayan-edms!50
2019-06-20 03:51:31 +00:00
Jesaja Everling
e09bd48d65
Fix kwargs for poplib.POP3_SSL and poplib.POP3
2019-06-20 03:51:31 +00:00
Roberto Rosario
97887c4e9c
Allow disabling the random primary key test mixin
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-19 23:05:01 -04:00
Roberto Rosario
90e884e502
Fix test permission use
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-19 10:22:56 -04:00
Roberto Rosario
ea7b4e46ac
Update build number
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-19 00:40:02 -04:00
Roberto Rosario
e0d74d54b1
Update release data and bump version to 3.2.2
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-19 00:39:13 -04:00
Roberto Rosario
fbd2b43b5e
Update the task_check_interval_source reference
...
GitLab issue #617 . Thanks to Lukas Gill (@lukkigi) for
the report and debug information.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-19 00:33:44 -04:00
Roberto Rosario
03e59ed964
Fix document parsing tool view typo
...
Closes GitLab issue #615 . Thanks to Tyler Page (@iamtpage) for the
report.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-19 00:19:18 -04:00
Roberto Rosario
c3b1c4e173
Fix document type change view
...
Closes GitLab issue #614 . Thanks to Christoph Roeder (@brightdroid)
for the report.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-06-18 22:15:13 -04:00
Roberto Rosario
43260b87c5
Remove OpenBSD from OS list
...
GitLab issues #594 , #612 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-16 15:09:49 -04:00
Roberto Rosario
5b78a7c60c
Remove old Docker READMEs
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-15 05:13:54 -04:00
Roberto Rosario
2e5ee2740a
Remove repeated documentation entry
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-15 04:53:40 -04:00
Roberto Rosario
85b8d281cc
Update translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-15 04:53:23 -04:00
Roberto Rosario
69d33bef7c
Fix workflow proxy no-result message
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-15 03:35:04 -04:00
Roberto Rosario
3f86dfc902
Fix typo
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-15 02:25:00 -04:00
Roberto Rosario
111250fd99
Update usage of "an user"
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-15 02:17:55 -04:00
Roberto Rosario
f17d13d68f
Delete backup config without raising exceptions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 03:29:21 -04:00
Roberto Rosario
1f5c81eaf5
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 03:02:29 -04:00
Roberto Rosario
b4dafb20ad
Bump version to 3.2.1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 03:01:40 -04:00
Roberto Rosario
70dab1fd30
Update translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 02:59:19 -04:00
Roberto Rosario
bb3e010a93
Collapse sidebar on small screen
...
Display sidebar at the bottom of the screen on small displays.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 02:38:39 -04:00
Roberto Rosario
4b9043b882
Remove sidebar floar right
...
Fixes GitLab issue #600 . Thanks to Frédéric Sheedy
(@fsheedy) for the report and debug information.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 02:36:59 -04:00
Roberto Rosario
727fe78d8b
Add check for app references
...
Point users to release notes for details when app references are not updated.
GitLab issue #603 . Thanks to Vikas Kedia (@vikaskedia) for the report.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 02:16:37 -04:00
Roberto Rosario
7650ef17c0
Use YAML SafeDumper to avoid adding YAML tags
...
Closes GitLab issue #599 . Thanks to Frédéric Sheedy
(@fsheedy) for the report and debug information.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 01:42:15 -04:00
Roberto Rosario
9558c5e6dc
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 00:58:49 -04:00
Roberto Rosario
cb1e90e19b
Add PostgreSQL troubleshooting entry
...
MAYAN_DATABASE_CONN_MAX_AGE when used with Gunicorn and a microthreads
backend will have the reverse effect of exhausting the connections
faster as they are not shared between threads.
GitLab issues #523 and #602
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 00:49:30 -04:00
Roberto Rosario
b5823358cb
Remove repeated release notes entry
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 00:35:48 -04:00
Roberto Rosario
dcc8b8b174
Fix sub cabinet creation view
...
Thanks to Frédéric Sheedy (@fsheedy) for the report.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 00:31:46 -04:00
Roberto Rosario
891861eaf5
Raise errors when DEBUG is True
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-14 00:20:14 -04:00
Roberto Rosario
8d0f14a40c
Fix documentation formatting
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-13 12:15:28 -04:00
Roberto Rosario
f53a3f7959
Fix docker version file path
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-13 04:12:54 -04:00
Roberto Rosario
1d5972da3b
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-13 02:43:03 -04:00
Roberto Rosario
8fe90ea7f1
Update release version of docs
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-13 02:42:00 -04:00
Roberto Rosario
037c2b6118
Bump version to 3.2
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-13 02:41:49 -04:00
Roberto Rosario
06307ff29c
Remove unused import
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-13 02:39:41 -04:00
Roberto Rosario
0c37685302
Remove copyright date range
...
Copyright date ranges are not necessary. Berne Convention and all
copyright reciprocity pacts offer protection for at least 50 years
after the death of the author. Copyright is automatic for all countries
in the agreement and equally enforceable.
https://www.copyright.gov/circs/circ38a.pdf
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-13 02:33:13 -04:00
Roberto Rosario
4d52dbde39
Update documentation
...
Fix typos, expand and update FAQ.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-13 02:20:44 -04:00
Roberto Rosario
9836ca3ef3
Ignore documentation builds
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-13 02:19:23 -04:00
Roberto Rosario
538e0c6f3b
Add watchfolder troubleshooting
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-12 03:55:53 -04:00
Roberto Rosario
0ced976b0c
Update Docker watch folder chapter
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-12 03:45:11 -04:00
Roberto Rosario
7f43a8d5a3
Add support for locked files for watchfolder
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-12 03:40:13 -04:00
Roberto Rosario
0ae960d96c
Add missing metadata app migration
...
Add migration to update the dotted path of the validators and parsers.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-12 01:28:09 -04:00
Roberto Rosario
2e80c6a00b
Collect .html files, required by drf-yasg
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-12 01:16:36 -04:00
Roberto Rosario
590c76bf64
Fix text typos
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-12 00:51:21 -04:00
Roberto Rosario
41f86b35f2
Only patch the bootstrap CSS files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-11 05:26:59 -04:00
Roberto Rosario
d70a1ef079
Open files using the Path object directly
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-11 05:26:27 -04:00
Roberto Rosario
fa678b09bc
Improve settings descriptions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-11 01:12:23 -04:00
Roberto Rosario
fe3d2e85c2
Transform the UUID search field based on database
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-11 01:11:46 -04:00
Roberto Rosario
2ce0528712
Only search pages for documents not in trash
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 03:50:22 -04:00
Roberto Rosario
e091c07ed6
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 03:43:45 -04:00
Roberto Rosario
f66328139e
Add document ACLs workflow actions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 03:43:39 -04:00
Roberto Rosario
505e0bd68b
Use a queryset for the user search model
...
Avoid return super admin as search results.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 03:12:20 -04:00
Roberto Rosario
80ebe4ecce
Support passing a queryset to the search model
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 03:11:56 -04:00
Roberto Rosario
0f9c226a1e
Add sortable role label column
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 03:03:43 -04:00
Roberto Rosario
6789ecf1bb
Switch page search to use the DocumentPage model
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 02:59:59 -04:00
Roberto Rosario
a008607d40
Support search model list mode
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 02:59:33 -04:00
Roberto Rosario
eb32820864
Support search model selection
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 02:30:37 -04:00
Roberto Rosario
3e48a422b7
Return sorted search models
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 02:28:33 -04:00
Roberto Rosario
f6c5a4f9cf
Add labels for user and group search models
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 02:27:59 -04:00
Roberto Rosario
f160de4381
Allow passing search model via querystring
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 02:27:30 -04:00
Roberto Rosario
0d6462831a
Deregister ephimeral models from ModelPermissions
...
Explictly delete the ephimeral models from ModelPermission
registry to avoid them being lookedup in a subsequent tests
where they don't exist.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 01:09:37 -04:00
Roberto Rosario
749208b5f8
Update patching code to work on Python 2.7
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 15:05:33 -04:00
Roberto Rosario
72ade29f77
Add Latvian translation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 14:51:03 -04:00
Roberto Rosario
325fe3225a
Update source translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 03:25:30 -04:00
Roberto Rosario
30f3a0563c
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 03:16:21 -04:00
Roberto Rosario
62fdec575f
Bump version to 3.2rc1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 03:15:18 -04:00
Roberto Rosario
7407c67347
Improve access grant and remove action form
...
Sort content type list of the access grant and remove action.
Use select2 for the content type filed of the access
grant and remove action.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 03:12:17 -04:00
Roberto Rosario
cbfab25c94
Fix access grant and revoke workflow actions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 03:04:36 -04:00
Roberto Rosario
2ae2dfd687
Add support for form media to DynamicFormMixin
...
Fix tag attach and remove action form media.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 02:30:13 -04:00
Roberto Rosario
e5c92487de
Improve the transition trigger list view
...
Display event type namespaces in the transition trigger view.
Sort events type list in the transition trigger view.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 01:58:43 -04:00
Roberto Rosario
8c96567094
Disable hiding page navigation on idle
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-08 21:52:25 -04:00
Roberto Rosario
d3041eb2d5
Improve workflow views titles
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-08 21:35:43 -04:00
Roberto Rosario
047f48d39f
Rename the label and description field for clarity
...
Add the 'document' prefix to the field labels for clarirty.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-08 21:28:43 -04:00
Roberto Rosario
34d7ff6e01
Fix tag attach and remove workflow actions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-08 21:25:09 -04:00
Roberto Rosario
c7474cae1b
Add support for search field transformations
...
Add search transformation to the document UUID field
to remove dashes.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-08 20:52:59 -04:00
Roberto Rosario
74f333d16c
Improve search negation logic
...
Only dashes at the start of terms and outside of quotes are now
interpreted as negation.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-08 20:47:20 -04:00
Roberto Rosario
6f6ddfbc82
Allow searching documents by UUID
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-08 17:41:53 -04:00
Roberto Rosario
2fcb36c568
Support Google Font dependencies
...
Allow downloading fonts from Google Font at install time.
Closes GitLab issue #595 , thanks to Martin (@efelon) for the
report. Closes re-opened GitLab issue #343 .
Remove included Lato font.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-08 17:36:58 -04:00
Roberto Rosario
db5511127d
Update HTTP workflow action to new requests API
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-04 16:00:19 -04:00
Roberto Rosario
807dd849c5
Add no-result for workflow instance detail view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-03 20:48:54 -04:00
Roberto Rosario
602774a390
Add note about the new preparestatic command
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-03 20:37:18 -04:00
Roberto Rosario
0b044f1e21
Invert Action Object and Target columns
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-03 20:31:51 -04:00
Roberto Rosario
0440e1a838
Remove repeated EMAIL_TIMEOUT setting
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-03 20:29:41 -04:00
Roberto Rosario
eac9940207
Remove duplicated auth_token_obtain view URL
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-31 00:40:46 -04:00
Roberto Rosario
65aa6a8f38
Remove list check from .check_user_permissions()
...
All callers are expected to pass the correct argument.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-31 00:33:23 -04:00
Roberto Rosario
39af4f9f8a
Fix trashed document previews
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-31 00:24:14 -04:00
Roberto Rosario
33929576fc
Allow passing a manager
...
Add a manager argument to check_access to avoid using the
the default manager blindly. Used for models with more than one
manager like the Document model.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-31 00:22:52 -04:00
Roberto Rosario
18b42a03c8
Put deletion policies units before periods
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-30 23:40:44 -04:00
Roberto Rosario
d1f6a6b059
Update use of collectstatic to preparestatic
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-30 23:40:37 -04:00
Roberto Rosario
4252e37748
Fix text typo
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-28 16:38:19 -04:00
Roberto Rosario
6a2e039a83
Simplify locale profile view
...
Convert view to use SimpleView class.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-22 02:11:29 -04:00
Roberto Rosario
d4a7592467
Sort tools and setup links
...
Simplify views by using self.request to resolver the menus.
Convert setup view to SimpleView to use get_extra_context.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-22 02:08:19 -04:00
Roberto Rosario
9edb9fff0a
Expand config.yml update step
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-21 18:15:35 -04:00
Roberto Rosario
07e7b55686
Replace collectstatic with preparestatic
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-21 18:15:05 -04:00
Roberto Rosario
268fce138d
Update translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-21 01:28:49 -04:00
Roberto Rosario
916ba688b1
Merge branch 'versions/minor' of gitlab.com:mayan-edms/mayan-edms into versions/minor
2019-05-21 00:57:41 -04:00
Roberto Rosario
4baeb6ce7e
Code cleanups
...
PEP8 cleanups. Add keyword arguments.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-21 00:56:22 -04:00
Roberto Rosario
fbe0e14b82
Rename mailer create link label
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 23:30:13 -04:00
Roberto Rosario
410e6a4a55
Improve mailer no-result template message
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 23:29:54 -04:00
Roberto Rosario
38a34cc98c
Invert check out form expiration fields
...
Improve clarity by selecting first the unit then the quantity.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 23:24:56 -04:00
Roberto Rosario
90393e043e
Move comment user label extraction to the model
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 23:22:58 -04:00
Roberto Rosario
9e3e0d9e64
Rename doc type policies to 'deletion policies'
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 01:21:24 -04:00
Roberto Rosario
818cf97d5b
Split document type retention policies
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 01:19:53 -04:00
Roberto Rosario
f649a77b2f
Improve list markup
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 01:18:12 -04:00
Roberto Rosario
2ee2b2f5e0
Add new how to documentation sections
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-18 18:54:37 -04:00
Roberto Rosario
5619a6014e
Documentation markup improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-18 01:22:49 -04:00
Roberto Rosario
4851c9f6d7
Add quick labels chapter
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-18 01:11:06 -04:00
Roberto Rosario
f002d8b38e
Add custom CSS for :menuselection:
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-18 01:10:34 -04:00
Roberto Rosario
484f09db75
Rephrase workflow explanation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-18 01:10:17 -04:00
Roberto Rosario
5b45769423
Fix typo
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-18 01:10:03 -04:00
Roberto Rosario
54c007b149
Documentation updates
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 17:44:45 -04:00
Roberto Rosario
3b518998c9
Add workflow diagram
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 17:44:29 -04:00
Roberto Rosario
0a21748b0c
Change all uses of CONN_MAX_AGE to 0
...
Database connection when using gunicorn microthreads
are not shared by the microthreads and can exhaust the
number of open connections available.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 16:43:23 -04:00
Roberto Rosario
edd6f4eb76
Improve deploying chapter
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 16:42:49 -04:00
Roberto Rosario
f8258c078a
Fix release notes spellings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 14:56:17 -04:00
Roberto Rosario
b2cefa79a5
Expand the troubleshooting topic
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 14:13:52 -04:00
Roberto Rosario
ab5028887c
Synchronize translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 02:57:43 -04:00
Roberto Rosario
4a03e2a47f
Statitics and chart updates
...
Show last update date and time in list view and details view. Change color
scheme to match rest of project. Increase size of data points.
Improve responsive settings. Redirect to the current view after queueing.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 01:43:02 -04:00
Roberto Rosario
c9809becba
Allow resolving using a request or a context
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 00:44:32 -04:00
Roberto Rosario
a1fa6aadfb
Add no result template to the document page list
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 00:44:18 -04:00
Roberto Rosario
c3991c3798
Add conditional install of psutil for ARM CPUs
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-16 20:51:21 -04:00
Roberto Rosario
66ac9eebee
Fix make wheel target name
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-16 03:16:43 -04:00
Roberto Rosario
4f9c2314fa
Bump version
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-16 02:24:08 -04:00
Roberto Rosario
b2ddf0c6bb
Update documentation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-16 01:31:36 -04:00
Roberto Rosario
ebc7886c81
Install all requirements for testing
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 21:35:23 -04:00
Roberto Rosario
fbbc6bace9
Remove Ubuntu based Dockerfile
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 21:34:19 -04:00
Roberto Rosario
811c8075ca
Skip test model tests when using MySQL
...
MySQL doesn't support schema changes inside an atomic block.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 21:19:57 -04:00
Roberto Rosario
de7a7448ae
Update requirement files and setup.py
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 16:11:54 -04:00
Roberto Rosario
7d725f8170
Add target to generate all requirements files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 16:11:35 -04:00
Roberto Rosario
8e32c5adae
Add generatedependency command
...
This comment generated pip install requirement files.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 15:58:54 -04:00
Roberto Rosario
7339eb2a09
Add build dependency environment
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 15:58:31 -04:00
Roberto Rosario
e5daea674f
Use Python 3 compatible mysqlclient package
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 15:57:34 -04:00
Roberto Rosario
170434e71b
Update the setup development target
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 15:53:50 -04:00
Roberto Rosario
54acf0f254
Add the checkdependencies command
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 14:56:31 -04:00
Roberto Rosario
76f320faf5
Ensure gnupg1 is used for gitlab testing
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 14:28:15 -04:00
Roberto Rosario
21e1a3c4ad
Add missing exiftool and switch to ubuntu 18.04
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 14:00:59 -04:00
Roberto Rosario
0a9c01cb0f
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 03:06:49 -04:00
Roberto Rosario
a5ab9f3ea6
Use COMMON_PROJECT_URL as host for document link
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 02:43:50 -04:00
Roberto Rosario
8586bd1909
Recreate fields from class, not from data
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 02:41:52 -04:00
Roberto Rosario
62f49e390a
Show a null mailer for backend with invalid path
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 02:36:24 -04:00
Roberto Rosario
dfb368e6dc
Fix file metadata queue definition
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 02:07:34 -04:00
Roberto Rosario
7971b081a9
Add transaction handling
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 01:35:50 -04:00
Roberto Rosario
290dc847c4
Add target to install all development dependencies
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 01:33:31 -04:00
Roberto Rosario
1982c9920f
Add cabinet created and edited events
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 21:03:15 -04:00
Roberto Rosario
1ae1804f5d
Install and upgrade docs to use platform template
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 20:36:37 -04:00
Roberto Rosario
e68928901e
Add platform template environment support
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 20:14:46 -04:00
Roberto Rosario
febc7cf4f7
Increase dropzone upload file size limit to 2GB
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 18:11:50 -04:00
Roberto Rosario
ab97c95bab
Add default icons for the confirm form buttons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 18:02:04 -04:00
Roberto Rosario
b28bdf5475
Add document statistics test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 17:48:53 -04:00
Roberto Rosario
f041ae9966
Force evaluation of statistic data for Python 3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 17:48:27 -04:00
Roberto Rosario
2e632f658d
Remove tasks literals
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 17:03:38 -04:00
Roberto Rosario
6ef9b04d57
Return task type instance to caller
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 17:03:13 -04:00
Roberto Rosario
b687a7f519
Add missing statistics app icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 17:02:26 -04:00
Roberto Rosario
ebf8cbdd62
Add task path validation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 16:43:29 -04:00
Roberto Rosario
d338da5491
Fix merge typo
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 02:36:29 -04:00
Roberto Rosario
2e2797bba5
Merge branch 'versions/minor' of gitlab.com:mayan-edms/mayan-edms into versions/minor
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 02:34:57 -04:00
Roberto Rosario
2b43aa8d40
Use context manager and reuse the converter page
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 02:31:58 -04:00
Roberto Rosario
c59f35225c
Use context manager to avoid open files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 02:31:02 -04:00
Roberto Rosario
3a623ee416
Initialize LibreOffice only on converter init
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 02:29:01 -04:00
Roberto Rosario
4e5c513529
Remove converter.to_pdf iterator
...
Remove the custom iterator to return the result of a conversion to PDF.
Instead returns a file object which can then be copied around
using shutil.copyfileobj.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 02:01:14 -04:00
Roberto Rosario
8b073c3151
Sort methods and fix method name typo
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 01:06:10 -04:00
Roberto Rosario
60c0c131ae
Sort methods and fix method name typo
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 01:03:28 -04:00
Roberto Rosario
f561eb2f57
Silence warning importing app URLs
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-14 00:08:56 -04:00
Roberto Rosario
a0b4d38d19
Close version file object using a context manager
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 23:44:08 -04:00
Roberto Rosario
a69e74ac90
Fix warning about missing on_delete
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 23:32:22 -04:00
Roberto Rosario
d41fe1b701
Fix assertEquals warning
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 23:28:58 -04:00
Roberto Rosario
2f998ab4ce
Don't use pidfile, supervisor handles that
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 21:26:31 -04:00
Roberto Rosario
92e12f3ec5
Remove unused gnome packages
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 13:40:08 -04:00
Roberto Rosario
78b0abf50c
Run Docker test as the mayan user
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 13:36:59 -04:00
Roberto Rosario
d003818cae
Fix task manager tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 13:20:51 -04:00
Roberto Rosario
98157b7083
Add Docker runtime test dependencies
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 13:20:26 -04:00
Roberto Rosario
d4130cd393
Make and install the sdist version instead
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 13:19:36 -04:00
Roberto Rosario
f3a849c031
Add platform template files to the MANIFEST
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 13:18:25 -04:00
Roberto Rosario
a38426d823
Finish platform app
...
Update Dockerfile to use platform template for supervisord.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 04:35:39 -04:00
Roberto Rosario
501acbfb0f
Experimental platform app
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-05-13 02:52:31 -04:00
Roberto Rosario
082981e25f
Allow setting the Docker user UID and GUID
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-05-12 19:05:58 -04:00
Roberto Rosario
03f128ff23
Fix tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 03:49:54 -04:00
Roberto Rosario
f76b9e4f3f
Move task registration to the CeleryQueue class
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 03:36:23 -04:00
Roberto Rosario
1acc352801
Create intermedia file cache folder
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 02:24:56 -04:00
Roberto Rosario
17030472f1
Add migration code for the removal of UUID_FUNCTION
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 02:15:51 -04:00
Roberto Rosario
c7e9a4dc99
Add keyword arguments
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 02:09:26 -04:00
Roberto Rosario
0d53e74238
Improve smart settings tests
...
Use a test namepsace instead of a real one.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 01:51:05 -04:00
Roberto Rosario
4617afafb2
Replace get_object_list() with self.object_list
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 01:25:53 -04:00
Roberto Rosario
2d819e64c9
Fix failing tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 01:16:15 -04:00
Roberto Rosario
545366a477
Operate only on the filtered selection queryset
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-11 18:14:10 -04:00
Roberto Rosario
74ec939779
Fix optional metadata remove
...
Soleve issue of removing an optional document metadata
from a document that also contained existing required metadata.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-11 18:14:01 -04:00
Roberto Rosario
aa94247c3d
Add test for required metadata remove issue.
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-05-10 19:54:01 -04:00
Roberto Rosario
c3594651d2
Lower Sphinx version for py2/3 compatibility
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-05-10 19:31:45 -04:00
Roberto Rosario
578c1b2f07
Convert metadata tests to use fixtures
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-05-10 19:31:20 -04:00
Roberto Rosario
7cf8cd2f28
Add test mixin to convert instances to dicts
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-05-10 19:30:33 -04:00
Roberto Rosario
f6696771f9
Add makefile target argument hint
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 03:33:13 -04:00
Roberto Rosario
eb79ebf6bb
Update translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 03:32:54 -04:00
Roberto Rosario
e89367f827
Exclude media, node_modules, and PO files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 01:46:59 -04:00
Roberto Rosario
40035ea39a
Fix makefile help heading
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 01:46:09 -04:00
Roberto Rosario
8aa97c7fd7
Add Python 3 package targets
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 01:45:47 -04:00
Roberto Rosario
45ca7ea480
Show step of dependency installation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 01:45:03 -04:00
Roberto Rosario
bbf3ede2e6
Reference the external object directly
...
This object is placed in the view context by the mixin automatically.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 00:44:47 -04:00
Roberto Rosario
c1612c8182
Add clean step to test targets
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 00:40:22 -04:00
Roberto Rosario
76b75af1c2
Add keyword arguments to CT get_for_model
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 00:39:20 -04:00
Roberto Rosario
680a7b6ae1
Remove Internet Explorer specific markup
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-09 22:33:03 -04:00
Roberto Rosario
f73179a600
Add support for editing document comments
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-09 22:29:07 -04:00
Roberto Rosario
cbd51c5f26
Update comments app
...
Add transaction handling. Add comment view link. Update views to
user ExternalObjectMixin. Add event tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-09 20:22:12 -04:00
Roberto Rosario
fffcf4d3da
Bump version to 3.2b1 (beta1)
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-09 16:37:30 -04:00
Roberto Rosario
72cdfe58c5
Merge branch 'versions/minor' into 'versions/minor'
...
Docker image improvements
See merge request mayan-edms/mayan-edms!46
2019-05-09 20:30:48 +00:00
Santiago
f55979b1a6
As many RUN squashed as possible.
...
Image size down to 1.15GB, 14 layers.
Files and scripts move to a docker root fs instead of copied.
Debian slim 9.8.
Updated to Docker best practices.
Signed-off-by: Anderson Santiago <SantiagoGitlab@gmail.com >
2019-05-09 20:30:48 +00:00
Roberto Rosario
f5aaff9ab1
Add automated help and organize makefile targets
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 23:08:57 -04:00
Roberto Rosario
e6ccfb4b59
Install and serve static content from the image
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 22:52:46 -04:00
Roberto Rosario
f6afec031d
Allow skipping dependencies install during upgrade
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 19:18:04 -04:00
Roberto Rosario
33a2ca97ec
Don't error out on unmet Python dependencies
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 19:15:40 -04:00
Roberto Rosario
7b69c2f76e
Don't install dependencies automatically
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 19:10:19 -04:00
Roberto Rosario
6cc23fbfd0
Ignore VIM .swp file
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 19:04:38 -04:00
Roberto Rosario
648fcc32a9
Move quick label tests to the document type module
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 19:04:15 -04:00
Roberto Rosario
de581cde5f
Fix tag widget and add tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 18:59:16 -04:00
Roberto Rosario
1beb44d85d
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 18:15:39 -04:00
Roberto Rosario
e5c1aa5606
Fix document list view and add tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 17:50:49 -04:00
Roberto Rosario
0b68463ed5
Require view permissions for tag and document
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 16:55:54 -04:00
Roberto Rosario
d533e48f46
Separate list item content from menu with an hr
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 15:28:05 -04:00
Roberto Rosario
8e5b60e1c0
Backport document page view improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 15:27:46 -04:00
Roberto Rosario
28114264c1
Remove last use of settings.LOGIN_REDIRECT_URL
...
Replace with common.settings_home_view.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 13:32:47 -04:00
Roberto Rosario
6330e40036
Use get_object_list instead of get_queryset
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 03:17:52 -04:00
Roberto Rosario
f69fcbcc82
Move password set views to the authentication app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 03:13:14 -04:00
Roberto Rosario
5e4518211f
Remove related attribute of check_access
...
Remove filter_by_access. Replaced by restrict_queryset.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 02:26:50 -04:00
Roberto Rosario
ddbb0d496a
Add keyword arguments to reverse
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 01:57:33 -04:00
Roberto Rosario
e1e2454e2a
Convert ACL API tests to use ephimeral models
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 01:57:03 -04:00
Roberto Rosario
264e90a7d7
Modernize MOTD tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 01:33:47 -04:00
Roberto Rosario
4507f75711
Split the document state view tests into modules
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 01:16:37 -04:00
Roberto Rosario
a0d2000419
Test simplification
...
Unify usage of self.test_document and self.test_documents in
tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 00:54:59 -04:00
Roberto Rosario
ebc68d3c36
Add arguments to the preparestatic command
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 23:51:29 -04:00
Roberto Rosario
7a4a4818fe
Add workflow event tests
...
Modernize tests. Move test HTTP requests to the test mixin
module.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 23:39:49 -04:00
Roberto Rosario
b6e7a462b0
Add the preparestatic command
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 03:13:53 -04:00
Roberto Rosario
0d6409512a
Update fontawesome static files paths
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:40:04 -04:00
Roberto Rosario
988b4dcb37
Ignore static files and templates
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:38:03 -04:00
Roberto Rosario
9e2891216b
Rewind file pointer before calling exiftool
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:37:20 -04:00
Roberto Rosario
0e6f34d0ee
Add deprecation warning to convertdb
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:30:48 -04:00
Roberto Rosario
00d4406b1f
Configure flake8 to ignore node modules
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:17:27 -04:00
Roberto Rosario
4a7540f8b2
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:17:17 -04:00
Roberto Rosario
95a1df8072
Backport common mixin and generics improvements
...
* Rename get_object_list to get_source_queryset.
* Add uniqueness validation to SingleObjectCreateView.
* Remove MultipleInstanceActionMixin.
* Backport MultipleObjectMixin improvements.
* Remove ObjectListPermissionFilterMixin.
* Add and improve tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:07:35 -04:00
Roberto Rosario
7181852c2d
Update Postgres version from 9.5 to 9.6
...
Postgres 9.5 is support until February 11, 2021
Postgres 9.6 is support until November 11, 2021
https://www.postgresql.org/support/versioning/
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-05 19:36:00 -04:00
Roberto Rosario
547ffe0e0d
Update CAA locations
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-05 19:17:28 -04:00
Roberto Rosario
5e2a1e997b
Rename CSS gutter cass for clarity
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-05 19:16:10 -04:00
Roberto Rosario
ca3a48f92d
Update source and compiled translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-05 18:51:10 -04:00
Roberto Rosario
251b4bac40
Do a copy,delete instead of a rename
...
os.rename doesn't work across multiple filesystems.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-05 18:32:52 -04:00
Roberto Rosario
ce70701b7e
Fix translation of the source upload form
...
Closes GitLab issue #579 . Thanks to Mathias Behrle (@mbehrle) for the
find and report.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-05 02:23:37 -04:00
Roberto Rosario
3c0316dae6
Use class based jsi18n view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-05 02:10:29 -04:00
Roberto Rosario
030b7d5d91
Update translation source files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 21:43:55 -04:00
Roberto Rosario
99b180f269
Add workflows per document type view
...
Make workflows, workflows states, workflow transitions column
sortable. Show completion and intial state in the workflow
proxy instance menu list.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 21:26:12 -04:00
Roberto Rosario
c9b5d2794e
Add database transaction handling
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 20:50:31 -04:00
Roberto Rosario
d7db8468ac
Remove AssignRemove view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 20:50:16 -04:00
Roberto Rosario
3d240a7f42
Convert workflow document types to AddRemove view
...
Add worflow created and edited events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 20:47:21 -04:00
Roberto Rosario
9c92b9a59e
Remove some usages of column_class
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 20:16:02 -04:00
Roberto Rosario
b67bfa8ec4
Update Bootstrap and Bootswatch to version 3.4.1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 20:02:33 -04:00
Roberto Rosario
8e731d6280
Backport ACL computation improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 03:27:30 -04:00
Roberto Rosario
d271f1503d
Fix format in file metadata app translations files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 14:53:00 -04:00
Roberto Rosario
5f89d228dc
Update compiled translations
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 02:19:23 -04:00
Roberto Rosario
73546bd99f
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 01:57:41 -04:00
Roberto Rosario
8320ca814c
Switch to version 3.2.5 of fancybox
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 01:20:04 -04:00
Roberto Rosario
48a7a25212
Remove commented template markup
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 01:17:24 -04:00
Roberto Rosario
a3ea854e73
Support binding columns to base classes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 01:17:04 -04:00
Roberto Rosario
bd9c75cdaa
Update translation source files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 01:16:36 -04:00
Roberto Rosario
ea3b513ae3
Add new app to handle all dependencies
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 01:12:20 -04:00
Roberto Rosario
11e13cea1d
Don't link to the user details of admin or staff
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-30 12:59:55 -04:00
Roberto Rosario
3faefd653c
Fix and improve cabinet apps tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-30 01:11:41 -04:00
Roberto Rosario
80a9b9ef9d
Record the upload of multiple documents
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-30 00:54:27 -04:00
Roberto Rosario
8084b59e6e
New way to test orphan objects
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 22:25:10 -04:00
Roberto Rosario
8b2f5eaf69
Update ACLs tests to use ephimeral models
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 21:35:56 -04:00
Roberto Rosario
98e51079a3
Update TestModelTestMixin to work with Python 3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 20:42:42 -04:00
Roberto Rosario
a2e718361e
Add migrations to add field related_name attribute
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 15:23:17 -04:00
Roberto Rosario
e042c5275b
Stop inherited permission recursion check
...
Recursive objects are not supported by this method and need
to specify their own function to calculate their own filtered
queryset.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 15:17:42 -04:00
Roberto Rosario
b4227a608b
Add cabinet child view tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 15:17:19 -04:00
Roberto Rosario
fda0dd4eaf
Add transaction handling in more places
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 14:05:02 -04:00
Roberto Rosario
66d5016407
Add user logged in and logged out events
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 13:15:33 -04:00
Roberto Rosario
77d897ab1f
Enable menu refresh
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 05:05:15 -04:00
Roberto Rosario
68a4b72c37
Use copyfileobj for temporary file in django_gpg
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 05:00:56 -04:00
Roberto Rosario
8b447a7050
Use copyfileobj in Python converter backend
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 04:54:42 -04:00
Roberto Rosario
e36eb5421d
Use copyfileobj to copy the office file
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 04:47:47 -04:00
Roberto Rosario
d0a452d838
Add keyword arguments
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 04:31:37 -04:00
Roberto Rosario
825af3152f
Use copyfileobj to save documents to files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 04:29:43 -04:00
Roberto Rosario
efff750f06
Fix app's indexing, settings, tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 04:01:23 -04:00
Roberto Rosario
ae595dd359
Disable file metadata processing during tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 04:00:20 -04:00
Roberto Rosario
136434c973
Rename PDF test document name
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 03:59:56 -04:00
Roberto Rosario
b1e464f52f
Make the index instance level column sortable
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 01:34:38 -04:00
Roberto Rosario
6a8b062be7
Remove CSS comment, add missing class
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 01:24:00 -04:00
Roberto Rosario
2e670254e5
Update list links appearance
...
Enable list link icons. Add outline links CSS for facet list
links. Add a bottom margin to list links.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 01:11:30 -04:00
Roberto Rosario
d2ab2ec91f
Fix the permissions app tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 01:09:27 -04:00
Roberto Rosario
cfe623e093
Enable smart links from the documents types side
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 01:08:52 -04:00
Roberto Rosario
aee3645c7a
Fix mailer app event tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 00:30:50 -04:00
Roberto Rosario
bd1e8d9e31
JavaScript downloader improvements
...
Update JavaScript downloader to work with Python 3. Improve
speed of the NPM package hash verification.
Signed-off-by: Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com >
2019-04-28 18:44:05 -04:00
Roberto Rosario
713e644599
Fix smart link ACL support
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 02:31:38 -04:00
Roberto Rosario
a544924c08
Improve linking app column display and sorting
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 02:22:21 -04:00
Roberto Rosario
ae8a444e42
Allow source columns without an attribute
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 02:21:35 -04:00
Roberto Rosario
e01017ffe5
Add missing linking app icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 02:06:01 -04:00
Roberto Rosario
85deaf3327
Fix user event type subscription list view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 01:56:56 -04:00
Roberto Rosario
f057d7f81f
Improve event tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 01:50:19 -04:00
Roberto Rosario
e916e73ead
Add one document type per iteration
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 01:47:17 -04:00
Roberto Rosario
5c07c61b69
Remove unused import
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 01:46:26 -04:00
Roberto Rosario
395c360784
Update smart link document type view use AddRemove
...
Add smart link created and edited events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 01:44:23 -04:00
Roberto Rosario
959cdc56e5
Add document type to indexes link view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 01:00:00 -04:00
Roberto Rosario
7a4c9f3ad2
Add missing import
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 00:58:53 -04:00
Roberto Rosario
5a736d83bc
Use the list facet menu for document type settings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 00:58:20 -04:00
Roberto Rosario
33056dec04
Allow overloading action_add and action_remove
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 00:57:54 -04:00
Roberto Rosario
dda0f0d2af
Update index document types view to AddRemoveView
...
Add index create and edit events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 23:01:46 -04:00
Roberto Rosario
8374a66011
Fix typos and add translation notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 23:00:13 -04:00
Roberto Rosario
873055c4d5
Update transifex resource slugs
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 19:21:02 -04:00
Roberto Rosario
4963a9689f
Update ACL view to use new AddRemoveView
...
Add ACL created and edited events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 19:15:41 -04:00
Roberto Rosario
1a91640047
Add test model mixin
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 19:14:32 -04:00
Roberto Rosario
2e9b5454a7
Add ACLs permission link icon
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 19:13:24 -04:00
Roberto Rosario
6069c67342
Improve inherited permission computation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 19:13:06 -04:00
Roberto Rosario
95123e0078
Update translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 18:52:41 -04:00
Roberto Rosario
8bbd83ea76
Increase default title truncation to 120
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 18:33:37 -04:00
Roberto Rosario
4f92bde7d7
Convert title calculation form to a template tag
...
Show the full title as a hover title even when truncated.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 18:30:24 -04:00
Roberto Rosario
041464fc1c
Enable translation of the file metadata app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 18:15:57 -04:00
Roberto Rosario
086a1e5168
Load one language in the document properties form
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 15:57:04 -04:00
Roberto Rosario
32cf0a0595
Add new default Tesseract OCR backend
...
This new backend uses a command call to avoid
Tesseract bug 1670
(https://github.com/tesseract-ocr/tesseract/issues/1670 ).
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 15:44:09 -04:00
Roberto Rosario
e5aa4553be
Remove custom Python 3 detection
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 03:49:08 -04:00
Roberto Rosario
dcde4b1968
Monkeypatch Django models to allow translation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 03:48:02 -04:00
Roberto Rosario
84c88f9173
Remove app top level star imports
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 03:15:43 -04:00
Roberto Rosario
799d47054e
Load the converter class on demand
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:47:23 -04:00
Roberto Rosario
3fa08debe9
Initialize Pillow inside ConverterBase __init__
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:29:44 -04:00
Roberto Rosario
cd5bc8ba4b
Remove transformation manager methods
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:21:19 -04:00
Roberto Rosario
89bc78bd55
Register event view permission with user and group
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:10:00 -04:00
Roberto Rosario
ebaa18f552
Add role event view links
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:09:05 -04:00
Roberto Rosario
e80f602974
Update role permission view to use AddRemoveView
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:06:11 -04:00
Roberto Rosario
cd24eef107
Update role group list view to AddRemoveView
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:02:29 -04:00
Roberto Rosario
e6ad202ee9
Increase default number of favorites to 400
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 01:50:26 -04:00
Roberto Rosario
dd81d8e237
Remove custom email widget and use Django's
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 01:47:55 -04:00
Roberto Rosario
6e91ebe5f4
handler_purge_permissions now call module manager
...
Update handler_purge_permissions to call the purge_obsolete model
manager method instead of the management command.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 01:40:18 -04:00
Roberto Rosario
f9866e846a
Use the 'handler' prefix
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 01:37:14 -04:00
Roberto Rosario
fba0c40bef
Add keyword arguments to RequestContext usage
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 01:25:48 -04:00
Roberto Rosario
74c97314d7
Code style cleanups
...
Add keyword arguments. Sort arguments and models.
Move literals to their own module. Prepend handler_ to
signal handlers.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-26 03:32:35 -04:00
Roberto Rosario
20acc24c7f
Backport search improvements, remove SEARCH_LIMIT
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-26 00:35:55 -04:00
Roberto Rosario
1c5681c79d
Code style cleanups
...
Sort arguments, methods. Add keyword arguments.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 05:06:56 -04:00
Roberto Rosario
4b4629ce2b
Import from common.generics not from common.views
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 03:41:30 -04:00
Roberto Rosario
fb1f5dbfe3
User groups, group users views to AddRemoveView
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 03:24:33 -04:00
Roberto Rosario
510cdf894c
Add reusable use filtered queryset
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 03:20:39 -04:00
Roberto Rosario
2f8cd26d0f
Add verbose name to the user and group models
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 02:31:33 -04:00
Roberto Rosario
1a71e02aab
Record actor for the user/group create/edit events
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 02:30:52 -04:00
Roberto Rosario
b3b92e8cda
Rename GroupMembersView to GroupUsersView
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 02:30:12 -04:00
Roberto Rosario
5574aaec9e
Add role create and edit events
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 23:19:04 -04:00
Roberto Rosario
3f9421fc75
Fix form css class context key
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:46:09 -04:00
Roberto Rosario
2aadb203eb
Add double click to upload wizard
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:44:56 -04:00
Roberto Rosario
f5ec2e9b22
Fix URL typo
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:44:39 -04:00
Roberto Rosario
46d0e5562b
Initialize document type file metadata settings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:44:03 -04:00
Roberto Rosario
52f734ee9f
Update group roles view to the new AddRemoveView
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:23:15 -04:00
Roberto Rosario
a556f2a1ba
Add AddRemoveView to replace the AssignRemove
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:21:55 -04:00
Roberto Rosario
fa076df89e
Simplify the DisableableSelectionWidget
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:20:26 -04:00
Roberto Rosario
2330bb9da2
Add RestrictedQueryset mixin
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:19:59 -04:00
Roberto Rosario
c2d287c262
Update ChoiceForm to be full height
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:19:31 -04:00
Roberto Rosario
fcfadb0caa
Add double click to submit, addtional form buttons
...
Rename form template variable 'form_class' to 'form_css_classes'
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:17:57 -04:00
Roberto Rosario
575b2bc61c
Allow rendering multiple form media
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:09:38 -04:00
Roberto Rosario
21c1dc36d8
Add file metadata app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 04:54:07 -04:00
Roberto Rosario
5cde7de29b
Add the external object mixin
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 04:51:33 -04:00
Roberto Rosario
4d99590dad
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 04:31:52 -04:00
Roberto Rosario
296c580a5e
Add sortable columns to all apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 04:20:50 -04:00
Roberto Rosario
2619777d41
Add missing icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 04:19:38 -04:00
Roberto Rosario
a5f3937228
Support empty values and absolute URLs
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 04:15:40 -04:00
Roberto Rosario
2e8e4588c0
Add the include_label argument to SourceColumn
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 01:32:29 -04:00
Roberto Rosario
120896001f
Fix template sort field detection
...
Remove get_absolute_url fallback to object.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 01:25:46 -04:00
Roberto Rosario
9a706ac09f
Support related attributes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 01:04:14 -04:00
Roberto Rosario
a97c2ec662
Update TwoStateWidget to use a template
...
Make it compatible with the SourceColumn class.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 00:46:33 -04:00
Roberto Rosario
6ad306b3cf
Update the way the no-result template is shown
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 23:55:37 -04:00
Roberto Rosario
b766f85995
Add indexing icons, rename links for clarity
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 23:51:28 -04:00
Roberto Rosario
25ad5c1420
Add remaining missing icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 20:30:37 -04:00
Roberto Rosario
a1c733807a
Update changelog and release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:54:01 -04:00
Roberto Rosario
720115e122
Re-add extra column support removed by error
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:43:25 -04:00
Roberto Rosario
e75b5ea2ff
Add missing document version upload link rename
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:34:14 -04:00
Roberto Rosario
2300ab52de
Add the comment to the template context
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:30:04 -04:00
Roberto Rosario
d790efdef5
Add comment delete icon
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:29:57 -04:00
Roberto Rosario
47a8355c79
Update coverter link and icon names
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:28:44 -04:00
Roberto Rosario
d297d734d2
Don't return verbose name for strings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:27:25 -04:00
Roberto Rosario
3789d5cfcf
Sort methods
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:27:10 -04:00
Roberto Rosario
87b0be65d4
Rename the document version upload link
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:25:53 -04:00
Roberto Rosario
ff5d35832a
Don't display action header for string objects
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:25:05 -04:00
Roberto Rosario
4ffd25c570
Preserve icon kwargs
...
Allow other icon instances to reuse the arguments like
the symbol.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:24:00 -04:00
Roberto Rosario
cd00c6abf0
Support marking columns as indetifier and sortable
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 19:22:35 -04:00
Roberto Rosario
c1d2c8baf3
Merge the sidebar and secondary menu instances
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 15:15:55 -04:00
Roberto Rosario
0dbb6cc6ea
Fix viewname in test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 05:05:23 -04:00
Roberto Rosario
6f57d3c650
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:36:24 -04:00
Roberto Rosario
d48665c595
Update ACL icons, remove sidebar menu
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:30:14 -04:00
Roberto Rosario
b44e4141a4
Cabinet icons, rename links, remove sidebar menu
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:29:23 -04:00
Roberto Rosario
41c1326498
Add checkout icons, remove sidebar menu use
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:28:31 -04:00
Roberto Rosario
3d8cf3e235
Remove repeated workflow URL definition
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:28:06 -04:00
Roberto Rosario
ddf96120de
Update workflow link activation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:27:42 -04:00
Roberto Rosario
a6d474eaa5
Rename document links for consistency
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:26:46 -04:00
Roberto Rosario
9f723c95ac
Add more document icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:26:07 -04:00
Roberto Rosario
4b3d94017a
Rename tag view names, remove sidebar menu use
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:25:29 -04:00
Roberto Rosario
48249b977d
Add tags app icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:24:45 -04:00
Roberto Rosario
26792d3c5a
Update tag workflow action widget path
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:18:42 -04:00
Roberto Rosario
042745e0ca
Add document state action view test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:18:17 -04:00
Roberto Rosario
1a79b4192e
Migrate saved workflow state actions to full path
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:15:50 -04:00
Roberto Rosario
fddd8a56c2
Fix document type change views tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 01:46:44 -04:00
Roberto Rosario
4fed1111f4
Add favorite document views tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 01:45:02 -04:00
Roberto Rosario
e609e89e0e
Update document parsing link activation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:39:41 -04:00
Roberto Rosario
3043f22de8
Add document parsing icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:38:53 -04:00
Roberto Rosario
1265c16161
Improve OCR navigation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:30:42 -04:00
Roberto Rosario
0865975f2e
Add OCR icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:29:51 -04:00
Roberto Rosario
18dbb0cfe6
Add favorite document view URLs
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:29:00 -04:00
Roberto Rosario
ef26296dc6
Add filtering to document type selection form
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:28:21 -04:00
Roberto Rosario
0a39eac419
Fix icon instances naming
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:19:31 -04:00
Roberto Rosario
9aa9840231
Move favorite document views to their own module
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:12:14 -04:00
Roberto Rosario
1acf67a91c
Split document app form into separate modules
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 20:55:26 -04:00
Roberto Rosario
d66cf089ee
Add document action icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 18:33:24 -04:00
Roberto Rosario
fb04d75376
Tweak the sidebar styling
...
Avoid the content windows elements that have a gutter like
the .well class to touch and go into the sidebar area.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 18:31:40 -04:00
Roberto Rosario
966641c447
Remove support for link icon strings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 18:31:10 -04:00
Roberto Rosario
e12098abe4
Add support for link icon path imports
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 18:30:06 -04:00
Roberto Rosario
724f15c006
Add new icons classes and templates
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 18:28:55 -04:00
Roberto Rosario
fb6d7b5668
Fix issue installing scoped NPM packages
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 18:27:40 -04:00
Roberto Rosario
eccc2d74a3
Remove include fontawesome, download it instead
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 18:26:18 -04:00
Roberto Rosario
3437d8b471
Sort navigation classes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 02:32:58 -04:00
Roberto Rosario
7f0377a8c5
Add mailer use event
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 02:23:57 -04:00
Roberto Rosario
ce0a6368f2
Add support for showing the current user's events
...
Add support kwargs to the SourceColumn class. Improve the
event widgets, views and tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 01:33:04 -04:00
Roberto Rosario
66e0d9f357
Improve styling of the template debug view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 01:17:19 -04:00
Roberto Rosario
bc08ada938
Add support for SourceColumn widgets
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 01:16:24 -04:00
Roberto Rosario
eadcf7382b
Add user and group events
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 00:14:02 -04:00
Roberto Rosario
75ed93c35b
Improve navigation error messages and display
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 23:56:05 -04:00
Roberto Rosario
1e37ca8315
Backport new menu, new sidebar and CSS changes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 23:50:35 -04:00
Roberto Rosario
d410e1ef6c
Insert the cabinet in the template context
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 23:21:24 -04:00
Roberto Rosario
a3e8b53f01
Insert the user in the template context
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 23:20:58 -04:00
Roberto Rosario
9ebace4014
Shorten menu names
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 16:05:44 -04:00
Roberto Rosario
c04063838b
Add tool and setup menu sub title help messages
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 15:54:34 -04:00
Roberto Rosario
8c5c324a09
Update ipython to the latest version for Python 2
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 04:27:42 -04:00
Roberto Rosario
655e2b3469
Django Celery is still used
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 04:26:43 -04:00
Roberto Rosario
02187ab5a5
Remove unused functions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 04:03:34 -04:00
Roberto Rosario
c9bd2ab9a5
Add byte cast to email processing for Python 3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 04:03:06 -04:00
Roberto Rosario
90b3d01171
Update office file test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 04:02:21 -04:00
Roberto Rosario
5cfc5dda92
Use copyfileobj in the document parsers
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 04:01:52 -04:00
Roberto Rosario
64cd0c232d
Remove the MIMETYPE_FILE_READ_SIZE setting
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 03:59:05 -04:00
Roberto Rosario
d7a5db711b
Add test and fix current user password change view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 02:24:46 -04:00
Roberto Rosario
102e3ccde3
Use console email backend during development
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 02:11:35 -04:00
Roberto Rosario
6b76d62fda
Fix password reset view test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 02:11:13 -04:00
Roberto Rosario
caad463e8a
Style cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 20:22:52 -04:00
Roberto Rosario
fa441149e4
Fix and optimize smart link tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 20:22:05 -04:00
Roberto Rosario
ba73a9b55e
Fix ACLs app tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 17:39:07 -04:00
Roberto Rosario
0267c79b07
Backport test improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 02:39:57 -04:00
Roberto Rosario
bfcad278aa
Improve SilenceLoggerTestCaseMixin
...
Make variables more unique. Add support to pass a custom logger
level.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 02:29:19 -04:00
Roberto Rosario
33d073e7a0
Move the purge permission logic to the manager
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-17 16:06:56 -04:00
Roberto Rosario
54020a8813
Move current user views to the user management app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-17 02:25:57 -04:00
Roberto Rosario
97a9d21ac4
Update test login function to accept any argument
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-17 02:01:46 -04:00
Roberto Rosario
f176f6ae4f
Expose Django's LOGOUT_REDIRECT_URL setting
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-17 02:01:33 -04:00
Roberto Rosario
313311d008
Use Django's new class based authentication views
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-17 02:00:28 -04:00
Roberto Rosario
0e1fe3968d
Add MERCs 5 and 6
...
Signed-off-by: Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com >
2019-04-16 19:26:49 -04:00
Roberto Rosario
4c0b3e9134
Add keyword arguments to the reverse use in views
...
Signed-off-by: Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com >
2019-04-16 19:25:37 -04:00
Roberto Rosario
0d1daeaedf
Fix failing test
...
Signed-off-by: Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com >
2019-04-16 19:03:06 -04:00
Roberto Rosario
6bd8206236
Add keyword arguments to messages uses
...
Signed-off-by: Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com >
2019-04-16 19:02:41 -04:00
Roberto Rosario
156c008eee
Add missing autoadmin requirement
...
Signed-off-by: Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com >
2019-04-16 18:22:31 -04:00
Roberto Rosario
b829f0a20a
Update group members view required permissions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-16 01:06:50 -04:00
Roberto Rosario
4b625025ee
Update app creation chapter
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-16 00:14:23 -04:00
Roberto Rosario
b3da28e915
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-16 00:14:07 -04:00
Roberto Rosario
2f5a0d071f
Move indexin widgets to the html_widget.py module
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-16 00:10:01 -04:00
Roberto Rosario
0cdba79738
Convert document tags widget to use HTML templates
...
Move Tag app HTML widgets to their own module.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-16 00:07:06 -04:00
Roberto Rosario
030ee8efe3
Add dependencies app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 23:45:59 -04:00
Roberto Rosario
7be25df7d0
Remove star import from the ACL and Common apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 18:45:25 -04:00
Roberto Rosario
847bfb721b
Add get_absolute_url to ACL model
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 18:15:21 -04:00
Roberto Rosario
50be0ad889
Remove obsolete ACL view test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 18:14:20 -04:00
Roberto Rosario
58813310b7
Move Pillow initialization
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 16:00:55 -04:00
Roberto Rosario
811a752efb
Remove converter base64 support
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 15:58:30 -04:00
Roberto Rosario
29f81b2087
Convert language choices into a function
...
Move language choices generation to documents.utils.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 15:55:47 -04:00
Roberto Rosario
5071eb6fda
Expose new Django settings
...
Expose: AUTH_PASSWORD_VALIDATORS, DEFAULT_FROM_EMAIL,
EMAIL_TIMEOUT, INTERNAL_IPS, LANGUAGES, LANGUAGE_CODE, STATIC_URL,
STATICFILES_STORAGE, TIME_ZONE, WSGI_APPLICATION.
Closes GitLab issue #539 "Setting for default email sender is missing"
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 15:34:24 -04:00
Roberto Rosario
29b41a7638
Mailing: Add support for a from field
...
Add support to the mailing profiles for specifying a "from"
address. Closes GitLab issue #522 .
This commit adds a new backend class property "class_fields"
which differs from the normal "fields" property. The "class_fields"
property specifies which of the backend fields will be used to
initialize a backend's driver class. This is to avoid passing
fields that the driver doesn't expect and getting an error.
When sending emails, the "send" method will attempt to get
a "from" key from the backend data and use that when sending
emails. If no "from" key is found a None is passes. Django's
behavior in this situation dictates that the "from" value will
then be taken from the DEFAULT_FROM_EMAIL setting.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 15:22:54 -04:00
Roberto Rosario
b6976210a5
Add docstrings for almost all models
...
Also adds docstring to some managers and model methods.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 15:19:38 -04:00
Roberto Rosario
0d2a827413
Update DocumentVersionSignatureCreateForm
...
Use FilteredSelectionForm. Improve document signatures tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 02:29:08 -04:00
Roberto Rosario
cdb55ab5dd
Use FilteredSelectionForm for IndexListForm
...
Rename IndexListForm to IndexTemplateFilteredForm.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 01:49:57 -04:00
Roberto Rosario
0d69274bb4
Add FilteredSelectionForm subclass ACLCreateForm
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 01:38:27 -04:00
Roberto Rosario
cb102ed115
Add keyword arguments to URL definitions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 01:26:40 -04:00
Roberto Rosario
78517971ed
PEP8 Cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 20:40:10 -04:00
Roberto Rosario
5ef73d992c
Use FilteredSelectionForm for the class CabinetListForm
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 20:36:28 -04:00
Roberto Rosario
0d05589206
Update failing mirroring test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 20:31:16 -04:00
Roberto Rosario
afc65eed32
Fix new version task by using passthought manager
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 20:26:59 -04:00
Roberto Rosario
acffe8a721
Fix failing common app API tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 20:24:27 -04:00
Roberto Rosario
6411433b24
Add FilteredSelectionForm class
...
Use FilteredSelectionForm to reduce boilerplate code for
TagMultipleSelectionForm.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 16:53:58 -04:00
Roberto Rosario
5127712711
Add FormOptions class, use it for the DetailForm
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 15:30:08 -04:00
Roberto Rosario
33f84ec327
Move tag specific JavaScript to the tags app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 01:55:05 -04:00
Roberto Rosario
3bcadd047b
Missing change for 18faaa69bd
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 01:41:47 -04:00
Roberto Rosario
c34ec5ddab
Update MayanApp to support multiple menus
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 01:20:54 -04:00
Roberto Rosario
4f772bbecf
Fix app reference
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:47:55 -04:00
Roberto Rosario
18faaa69bd
Add server side invalid document template
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:47:43 -04:00
Roberto Rosario
24304636d9
Add test util to mute output to stdout
...
Used by the tests of the autoadmin app.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:39:53 -04:00
Roberto Rosario
9b2633e6c7
Update middleware to new style classes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:22:35 -04:00
Roberto Rosario
7752ca0f03
Remove license from removed dependencies
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:15:17 -04:00
Roberto Rosario
421d91bb0f
Update autoadmin app translations
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:12:47 -04:00
Roberto Rosario
9e262220e5
Integrate django-autoadmin into the core apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 23:54:08 -04:00
Roberto Rosario
2a780cb4b0
Make the dashboard app translatable
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 23:44:54 -04:00
Roberto Rosario
94b9db7f27
Increase default of recently tracked documents
...
Increase the default value of recently added documents
and recently accessed documents from 40 to 400.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 22:44:31 -04:00
Roberto Rosario
c0f51103d2
Move stub filtering to the Document model manager
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 22:39:22 -04:00
Roberto Rosario
334f0cd03f
Remove queryset slicing hack from view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 22:26:37 -04:00
Roberto Rosario
655c1fd09f
Remove use of self.client
...
Replace self.client.<method> with the shorthand self.<method>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 03:58:49 -04:00
Roberto Rosario
663eb1b360
Fix checkout list view
...
Add tests for the checkout list view.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 02:35:56 -04:00
Roberto Rosario
0015ad4abe
Add dashboard app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 02:35:40 -04:00
Roberto Rosario
e2b5817d18
Move the templates to their respective apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 01:57:35 -04:00
Roberto Rosario
f6089e689e
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 01:51:23 -04:00
Roberto Rosario
f3413b4283
Backport and remove code from the permission app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 01:43:03 -04:00
Roberto Rosario
0d4ab4f2cf
Move setting to the storage app
...
The setting COMMON_TEMPORARY_DIRECTORY is now
STORAGE_TEMPORARY_DIRECTORY.
Move file related utilities to the storage app.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 22:26:43 -04:00
Roberto Rosario
d42b9bbdf4
Update more requirements
...
Update development,documentation,testing requirements.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 05:27:41 -04:00
Roberto Rosario
72311c73b5
Add workaround for Tesseract bug 1670
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 05:27:27 -04:00
Roberto Rosario
93c4814a89
New default values for settings
...
New default value for setting DOCUMENTS_HASH_BLOCK_SIZE is 65535.
New default value for setting MIMETYPE_FILE_READ_SIZE is 1024.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 04:15:24 -04:00
Roberto Rosario
7823c80710
Add note about Tesseract 4 with Python 3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 04:10:15 -04:00
Roberto Rosario
2d9cdbe8b0
Remove temporary VIM file
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:59:46 -04:00
Roberto Rosario
fdacbb94c3
Fix document signature migration
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:59:25 -04:00
Roberto Rosario
3f1caf8da0
Update whitenoise to 4.1.2
...
http://whitenoise.evans.io/en/stable/changelog.html
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:56:27 -04:00
Roberto Rosario
f8d5332786
Update requests to 2.21.0
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:50:58 -04:00
Roberto Rosario
1ccc631bd4
Update pytz to 2019.1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:50:30 -04:00
Roberto Rosario
86183b873e
Update python-dateutil to version 2.8.0
...
https://dateutil.readthedocs.io/en/stable/changelog.html
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:48:24 -04:00
Roberto Rosario
56adf598ae
Update pyocr to version 0.6
...
https://gitlab.gnome.org/World/OpenPaperwork/pyocr/blob/master/ChangeLog
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:47:32 -04:00
Roberto Rosario
fe1337fa8d
Update pycountry to 18.12.8
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:45:35 -04:00
Roberto Rosario
16915b6480
Update pathlib2 to 2.3.3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:44:39 -04:00
Roberto Rosario
15c8459a15
Update node-semver to version 0.6.1
...
https://github.com/podhmo/python-semver/blob/master/CHANGES.txt
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:43:58 -04:00
Roberto Rosario
feb9d9e714
Update graphviz to version 0.10.1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:42:03 -04:00
Roberto Rosario
a8fd2a1136
Update gevent to version 1.4.0
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:41:23 -04:00
Roberto Rosario
9c571b222e
Update fusepy to version 3.0.1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:40:43 -04:00
Roberto Rosario
37840f3b6c
Update furl to version 2.0.0
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:36:57 -04:00
Roberto Rosario
927d77cfd7
Update flex to version 6.14.0
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:35:11 -04:00
Roberto Rosario
265bcd7b65
Update drf-yasg to version 1.6.0
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:31:23 -04:00
Roberto Rosario
c69127f37c
Update django-widget-tweaks to version 1.4.3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:21:18 -04:00
Roberto Rosario
45ae821f5c
Update django-cors-headers to version 2.5.2
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:18:54 -04:00
Roberto Rosario
1f8879df92
Update django-colorful to version 1.3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:17:17 -04:00
Roberto Rosario
7093ac54a3
Update django-activity-stream to version 0.7.0
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:15:14 -04:00
Roberto Rosario
5118cad9a2
Add SilenceLoggerTestCaseMixin
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:13:07 -04:00
Roberto Rosario
2b0b9675fd
Remove unused UTF file markers
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:10:20 -04:00
Roberto Rosario
40c9436071
Update PyYAML to version 5.1
...
Update use of safe_load and safe_dump to load and dump using
the CSafeLoader with SafeLoader as a fallback.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:09:07 -04:00
Roberto Rosario
b976f8d0ed
Update Pillow to version 6.0.0
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 02:08:04 -04:00
Roberto Rosario
a54e17caeb
Update swagger spec validator to version 2.4.3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 02:04:31 -04:00
Roberto Rosario
0416ac4064
Move API documentation views API app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 02:03:22 -04:00
Roberto Rosario
1fa91f0ef7
Remove development URLs from main URL file
...
Move the development URL definitions for Rosetta and Debug toolbar
to a separate URL file. Convert the single urls.py to a module to
allow multiple URL files to be used.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 01:53:06 -04:00
Roberto Rosario
fab94319bb
Remove Django suit from requirements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 01:43:34 -04:00
Roberto Rosario
5ff15895b6
Show trace on App import exceptions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 01:40:09 -04:00
Roberto Rosario
0188afcd54
Consolidate repeated test user logins
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 23:14:16 -04:00
Roberto Rosario
ae814a18c5
Move trashed document views to their own module
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 22:35:23 -04:00
Roberto Rosario
1f5dffa0e5
Remove permission grant and revoke permissions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 22:07:30 -04:00
Roberto Rosario
4d91d82515
Change how the HOME_VIEW setting is defined
...
HOME_VIEW is now COMMON_HOME_VIEW.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 22:01:14 -04:00
Roberto Rosario
4c8e647415
Add missing change from 14e71ce42f
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 21:59:31 -04:00
Roberto Rosario
14e71ce42f
Add keyword arguments to PermissionNamespace uses
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 21:03:02 -04:00
Roberto Rosario
f6f9287e33
Add keyword arguments to get_object_or_404 uses
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 20:53:33 -04:00
Roberto Rosario
456c322c19
Move add_to_class functions to their own module
...
* The new module is called methods.py and found on each app.
* Add keyword arguments to add_to_class instances.
* Remove catch all exception handling for the check in and
check out views.
* Improve checkouts tests code reducing redundant code.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 18:03:53 -04:00
Roberto Rosario
a12c90268f
Add DatabaseWarning to tag SQLite use warning
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 16:22:55 -04:00
Roberto Rosario
a10f2330fd
Fix import after full app path commit
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-09 20:18:07 -04:00
Roberto Rosario
03ba13e5cb
Allow import UUID_FUNCTION
...
Changes related to the document models split commit.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-09 18:05:26 -04:00
Roberto Rosario
335c21488e
Split workflow views into separate modules
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-09 18:05:10 -04:00
Roberto Rosario
d26279275d
Split document app models into separate modules
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-09 00:15:15 -04:00
Roberto Rosario
4f66129a7c
Merge branch 'hotfix' into hotfix_merge
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 23:34:26 -04:00
Roberto Rosario
7d756de3de
Add DOCUMENTS_HASH_BLOCK_SIZE setting
...
This new setting is used to control the size of the file
blocks when calculating a document's checksum. The default
value of 0 disables the features and preserves the current
behavior of reading the entire file into memory.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 22:58:01 -04:00
Roberto Rosario
69bd6c116e
Improve multiple tag wizard step code
...
Previous code produce an error when there were not tag
IDs passed to the wizard.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 22:45:06 -04:00
Roberto Rosario
0065edfae9
Lower the log severity when links don't resolve
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 22:39:42 -04:00
Roberto Rosario
9ec021241c
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 20:41:28 -04:00
Roberto Rosario
3a60155bfa
Add checkout tests
...
Add link tests. Add checkout info view tests. Move common code to
a test mixin.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 01:08:46 -04:00
Roberto Rosario
f6a0a421a5
Update the check out info link permission
...
Update the link permission to match the same required permission
as the view.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 01:07:01 -04:00
Roberto Rosario
7ed26f4d4c
Add checkout details view tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-06 20:17:32 -04:00
Roberto Rosario
daca9dd539
Fix multiple tag selection wizard step
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-06 19:36:14 -04:00
Roberto Rosario
8c1a9c8798
Fix multiple tag selection wizard step
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-06 02:08:22 -04:00
Roberto Rosario
966d8498bc
Update changelog and release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:05:34 -04:00
Roberto Rosario
36a51eeb73
Switch to full app paths
...
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This solves name clashes with external or native Python libraries.
Example: Mayan statistics app vs. Python new statistics library.
Every app reference is now prepended with 'mayan.apps'.
Existing config.yml files need to be updated manually.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:02:57 -04:00
Roberto Rosario
382173351a
Source: Change source test behavior
...
Update sourcs to accept a test argument to their check methods.
This is to allow for explicit test behavior like running the
check method code even when the source is disabled and to
not deleted downloaded content during a test.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-04-05 01:05:58 -04:00
Roberto Rosario
d35323aa65
Watch folders: Add support for subfolders
...
Add support for subfolder scanning to watch folders. Closes
GitLab issue #498 and #563 .
This commit adds a new field to watch folders called
"include_subdirectories".
The directory walk was also updated to use pathlib2.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 01:03:34 -04:00
Roberto Rosario
9b21275b7e
Split sources models into separate modules
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 00:41:36 -04:00
Roberto Rosario
d493ec34b2
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 22:04:18 -04:00
Roberto Rosario
51ea493a26
Use bytes for hash and return the unicode
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 22:03:19 -04:00
Roberto Rosario
49403978b1
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 17:09:43 -04:00
Roberto Rosario
8c770d5ba3
Merge branch 'releases/all'
2019-04-04 17:08:03 -04:00
Roberto Rosario
b01e8707a3
Add troubleshooting documenation topic
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 17:07:41 -04:00
Roberto Rosario
8896f58d6f
Add support for skipping a default set of tests
...
Tests to be excluded by default should be tagged
as 'exclude'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 16:48:11 -04:00
Roberto Rosario
3afb74224d
Update build strings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:49:05 -04:00
Roberto Rosario
3a4f97c5c2
Bump version to 3.1.10
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:48:00 -04:00
Roberto Rosario
8419facb8a
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:46:25 -04:00
Roberto Rosario
3cbc6435a2
Improve markup in release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:39:57 -04:00
Roberto Rosario
e7627a723e
Remove repeated section
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:39:46 -04:00
Roberto Rosario
e77afeee37
Add API client examples
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:32:02 -04:00
Roberto Rosario
6a5a2350bb
Fix documentation tag chapter reference
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:31:26 -04:00
Roberto Rosario
912675bf99
Force object to text
...
Force text display of object when raising PermissionDenied
to avoid UnicodeDecodeError. Thanks to Mathias Behrle
(@mbehrle) for the report and the debug information.
GitLab issue #576 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 01:39:06 -04:00
Roberto Rosario
a56e3ca111
Add the MIMETYPE_FILE_READ_SIZE setting
...
This new setting is used to limit the number of bytes read
while determining the MIME type of a new document. A value
of 0 will cause the entire file to be loaded into memory.
1024 appears to be a suitable number for most cases. This
setting defaults to 0 to preserve the current behavior but
might change in a future version.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 22:24:19 -04:00
Roberto Rosario
5f877cdc22
Validate the state completion value before saving
...
Thanks to Manoel Brunnen (@mbru) for the report and debug
information. GitLab issue #557 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 18:28:25 -04:00
Roberto Rosario
d5efd53b5b
Add issue 564 credit.
...
Thanks to the Stéphane (@shoyu) for the report and debug
information.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 16:54:45 -04:00
Roberto Rosario
c156c02376
Fix index list API view
...
Add index create, delete, detail API tests. Fixes GitLab
issue #564 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 16:52:54 -04:00
Roberto Rosario
a196205593
Add missing index API view create permission
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 16:50:44 -04:00
Roberto Rosario
26cf7fb97c
Add release notes for version 3.1.10
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 15:28:19 -04:00
Roberto Rosario
863892f909
Add metadata wizard step test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 14:51:26 -04:00
Roberto Rosario
5a64a3e833
Reject emails attachments of size 0
...
Thanks to Robert Schoeftner (@robert.schoeftner)for the report
and solution. GitLab issue #574 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 23:51:53 -04:00
Roberto Rosario
45786005ab
Update changelog
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 22:39:37 -04:00
Roberto Rosario
f45384e399
Add API to list all templates
...
Remove newlines from the rendered templates.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 22:37:46 -04:00
Roberto Rosario
33a542b9d5
Add support for server side link badges
...
GitLab issue #562 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 22:36:57 -04:00
Roberto Rosario
00d07214b1
Remove notification badge AJAX setup
...
Individual link AJAX workers are obsolete now that the menu
is being rendered by its own AJAX renderer.
GitLab issue #562 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 22:34:54 -04:00
Roberto Rosario
1e8030a722
Add view test for compressed files
...
GitLab issue #572 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 18:58:17 -04:00
Roberto Rosario
f6404fbd4b
Merge remote-tracking branch 'origin/master' into hotfix
2019-04-02 18:56:47 -04:00
Roberto Rosario
b59c39261f
Merge branch 'feature/error_ziparchive_children' into 'master'
...
Updates method for getting zip file members - Closes #572
Closes #572
See merge request mayan-edms/mayan-edms!41
2019-04-02 22:55:28 +00:00
Roberto Rosario
a5b513f986
Update changelog
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 18:31:05 -04:00
Roberto Rosario
45a688749c
Merge remote-tracking branch 'origin/master' into hotfix
2019-04-02 18:20:48 -04:00
Roberto Rosario
15473620c4
Merge branch '568-pin-tornado-version' into 'master'
...
Pin tornado dependency to maintain Py27 compatibility - fixes #568
Closes #568
See merge request mayan-edms/mayan-edms!40
2019-04-02 22:20:31 +00:00
Roberto Rosario
7cd0e16cc2
Merge remote-tracking branch 'origin/master' into hotfix
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 15:23:24 -04:00
Roberto Rosario
caab7b3b59
Merge branch '566-custom-rooturl-in-tests' into 'master'
...
Support custom ROOT_URLCONF in tests - fixes #566
Closes #566
See merge request mayan-edms/mayan-edms!37
2019-04-02 19:15:17 +00:00
Roberto Rosario
47d850e164
Synchronize translations
...
Add Czech and Greek. Replace 'da' with 'da_DK', 'zn_CN' with 'zh'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 15:08:49 -04:00
Roberto Rosario
b27e160d15
Update required Django version to 1.11.20
...
From Django 1.11.16.
* Django 1.11.17 fixes several bugs in 1.11.16 and adds compatibility
with Python 3.7.
* Prevented repetitive calls to geos_version_tuple() in the WKBWriter
class in an attempt to fix a random crash involving LooseVersion
since Django 1.11.14 (#29959 ).
* CVE-2019-3498: Content spoofing possibility in the default 404 page
An attacker could craft a malicious URL that could make spoofed
content appear on the default page generated by the
django.views.defaults.page_not_found() view. The URL path is no
longer displayed in the default 404 template and the request_path
context variable is now quoted to fix the issue for custom
templates that use the path
* CVE-2019-6975: Memory exhaustion in django.utils.numberformat.format()
If django.utils.numberformat.format() – used by contrib.admin as
well as the the floatformat, filesizeformat, and intcomma templates
filters – received a Decimal with a large number of digits or a large
exponent, it could lead to significant memory usage due to a call to
'{:f}'.format(). To avoid this, decimals with more than 200 digits
are now formatted using scientific notation.
* Corrected packaging error from 1.11.19 (#30175 ).
https://docs.djangoproject.com/en/2.1/releases/1.11.17/
https://docs.djangoproject.com/en/2.1/releases/1.11.18/
https://docs.djangoproject.com/en/2.1/releases/1.11.19/
https://docs.djangoproject.com/en/2.1/releases/1.11.20/
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 14:13:20 -04:00
Roberto Rosario
3eb4a70fbf
Update changelog
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 13:36:16 -04:00
Roberto Rosario
d4df7e69d7
Merge remote-tracking branch 'origin/master' into hotfix
2019-04-02 13:32:42 -04:00
Roberto Rosario
0055429703
Merge branch 'mbn/docker-build-fixes' into 'master'
...
Docker build fixes
See merge request mayan-edms/mayan-edms!35
2019-04-02 17:32:02 +00:00
Roberto Rosario
eafdfd8177
Merge remote-tracking branch 'origin/master' into hotfix
2019-04-02 13:26:46 -04:00
Roberto Rosario
a8e52126f5
Merge branch 'hotfix' of gitlab.com:mayan-edms/mayan-edms into hotfix
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 13:11:26 -04:00
Roberto Rosario
70facb96f0
Merge branch 'master' into 'master'
...
Update translation file
See merge request mayan-edms/mayan-edms!33
2019-04-02 17:10:43 +00:00
Roberto Rosario
f583e24c47
Update changelog
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 13:09:56 -04:00
Roberto Rosario
7db27aa9fe
Update changelog
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 13:07:43 -04:00
Roberto Rosario
f5bc055a11
Fix test document reference
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 13:04:43 -04:00
Roberto Rosario
965160b7a2
Merge remote-tracking branch 'origin/master' into hotfix
2019-04-02 13:04:12 -04:00
Roberto Rosario
85b3164592
Merge branch 'master' into 'master'
...
Fix super call in APIAdvancedSearchView
See merge request mayan-edms/mayan-edms!36
2019-04-02 17:02:13 +00:00
Roberto Rosario
7634d9e5da
Improve search API tests
...
Add tests for the advanced search API. GitLab merge !36 .
Thanks to Simeon Walker (@simeon-walker) for the find and fix.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 13:00:37 -04:00
Roberto Rosario
48253f3f85
Update index test case to be order agnostic
...
Use sets and remove explicit index node ordering to allow tests
to work regardless of the node creation order. GitLab issue #559 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 02:36:30 -04:00
Roberto Rosario
dd2c64d453
Remove unused import
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 02:35:13 -04:00
Roberto Rosario
517c05a9c2
Allow passing arguments to the makefile targets
...
Add an ARGUMENTS option to the test-all and test targets.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 02:34:19 -04:00
Roberto Rosario
99bbe7d47c
Simple optimizations to the checkout app
...
Use exists and use subqueries optimizations.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 02:33:32 -04:00
Roberto Rosario
586d41eeff
Backport test case improvements
...
Add random primary key mixin. Split test case code into mixins.
Make the view test case and the API test cases part of the same
class hierachy. Update tests that failed due to the new import
locations.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 02:31:35 -04:00
Jorge E. Gómez
7fb18b14eb
Fixes error: ZipArchive object has no attribute 'children'
2019-03-15 22:58:15 +00:00
Roger Hunwicks
68398e2ce6
Pin tornado dependency to maintain Py27 compatibility - fixes #568
...
Signed-off-by: Roger Hunwicks <roger@tonic-solutions.com >
2019-03-05 10:54:46 +02:00
Roger Hunwicks
d23f5eb540
Support custom ROOT_URLCONF in tests - fixes #566
2019-02-28 14:02:46 +02:00
Simeon Walker
4bbd5dab70
Fix super call in APIAdvancedSearchView
2019-02-14 10:10:31 +00:00
Manoel Brunnen
c4b9ae596e
Workaround for pip bug #6179
...
See https://github.com/pypa/pip/issues/6197
2019-02-04 11:24:56 +01:00
Manoel Brunnen
5c9ff90d28
Fix libssl-dev dependency installation
...
The apt package informations have already been removed at this point.
Also, this dependency is not armhf specific.
2019-02-04 11:24:50 +01:00
Littm
f5d2f34e30
Update translation file
2018-11-25 01:04:12 +00:00
Roberto Rosario
8cbae9021b
Release: Update setup build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-01 03:55:42 -04:00
Roberto Rosario
8a971400b1
Release: Bump version to 3.1.9
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-01 03:55:06 -04:00
Roberto Rosario
fb3678bb6f
Sources: Convert furl querystring to text
...
Convert the furl instance to text to allow serializing it into
JSON to be passed as arguments to the background task.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-01 03:50:34 -04:00
Roberto Rosario
7c5477b439
Release: Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 19:10:08 -04:00
Roberto Rosario
cc7362b269
Release: Bump version to 3.1.8
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 19:09:05 -04:00
Roberto Rosario
dcb55f4aff
Utilities: Remove remarked statement
...
Remove print statement fromt he increase_version module.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 19:05:47 -04:00
Roberto Rosario
ba6fd842d2
Documentation: Add version 3.1.8 release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 19:05:03 -04:00
Roberto Rosario
cf1726505b
Documenation: Fix spelling errors
...
Fix spelling errors in documentation and other program texts.
Update the spelling exceptions list.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 18:41:20 -04:00
Roberto Rosario
8b41a9bfc9
Documentation: Expand the Source control section
...
Add new subsection explaining commit messages structure to be
used in the project.
Updates and expands explanations regarding the Git branch
structure used in the project.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 17:24:43 -04:00
Roberto Rosario
e109068b29
Indexing: Add document base property reindex
...
Add support for reindexing documents when their base properties like
the label and description are edited.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 17:08:56 -04:00
Roberto Rosario
9fc7c4fc09
Add explicit argument name of 'mode' to the open statement.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 16:53:48 -04:00
Roberto Rosario
5a8455bfc2
Update translation files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-29 13:24:07 -04:00
Roberto Rosario
033d6751e0
Add utility and makefile target to increase version number mechanically. Update release checklist.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-29 12:55:24 -04:00
Roberto Rosario
d9ee75cc47
Merge branch 'feature/show_config' into versions/next
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-19 02:58:53 -04:00
Roberto Rosario
6ae24493eb
Add new showsettings management command
...
This command displays the current configuration settings.
Default the YAML flow format to False which never uses inline.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-19 02:55:16 -04:00
Roberto Rosario
b4f43adc1a
Documentation: Use Sphinx's extlinks to cut down on repeated URLs. Merge Administration and Maintenance topics. Add database conversion chapter. Unify the header format of all recent release notes. Fix :doc: references.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-18 23:02:30 -04:00
Roberto Rosario
46d48cc5ea
Add template variable for the setup module build number.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-18 16:29:31 -04:00
Roberto Rosario
b74a323f2b
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-18 16:21:43 -04:00
Roberto Rosario
bcd2427ab6
Move the noop OCR backend to the right place.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-18 16:21:12 -04:00
Roberto Rosario
8fcc61bde5
Update documentation. Add chapter on password resets. Add administration topic.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 21:38:58 -04:00
Roberto Rosario
b716971ba0
Add configuration option to change the project/installation URL. This is used in the password reset emails and in the default document mailing templates.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 21:34:48 -04:00
Roberto Rosario
ad822834d4
Center workflow preview.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 02:43:44 -04:00
Roberto Rosario
e222a71966
Remove the workflow preview size constraints.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 02:43:17 -04:00
Roberto Rosario
1f27670921
Add release notes for version 3.1.8
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 02:05:38 -04:00
Roberto Rosario
321b7ad5ae
Add custom validator for multiple emails in a single text field. Change the widget of the email fields in the mailer app to avoid browser side email validation. Closes GitLab issue #530 . Thanks to Mark Maglana @relaxdiego for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 00:01:48 -04:00
Roberto Rosario
cc79e75d35
Add improvements to the metadata URL encoding and decoding to support ampersand characters as part of the metadata value. GitLab issue #529 . Thanks to Mark Maglana @relaxdiego for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-16 04:58:42 -04:00
Roberto Rosario
70bb250a23
Add data migrations to the sources app migraton 0019 to ensure all labels are unique before performing the schema migations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-16 02:59:31 -04:00
Roberto Rosario
5eee810d8e
Merge FAQ with the Wiki's FAQ page.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-16 01:21:14 -04:00
Roberto Rosario
37bd5862e6
Flip order of getting start and release notes topics
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-15 20:01:25 -04:00
Roberto Rosario
8bf6c37e35
Add workflow and API chapter. Expand tags chapter.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-15 20:00:25 -04:00
Roberto Rosario
e6c43bebf5
Reorganize documentation into topics and chapters. Add new material from Wiki.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-15 06:03:04 -04:00
Roberto Rosario
7cd62b5a85
Prepare files for release.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-14 03:52:05 -04:00
Roberto Rosario
d5ef08b636
Bump version to 3.1.7
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-14 03:51:25 -04:00
Roberto Rosario
c9fb3814d9
documenation: Add Docker installation method using a dedicated Docker network. Add scaling up chapter. Add S3 storage configuration section.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-14 03:47:41 -04:00
Roberto Rosario
5a922e2689
Fix the no contentn email test on Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-14 02:51:19 -04:00
Roberto Rosario
e55ce29c5f
Make sure email messages are always of data type bytes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-14 02:50:32 -04:00
Roberto Rosario
9634ba75a6
Update changelog and release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-14 01:21:22 -04:00
Roberto Rosario
665dbb6766
Merge branch 'versions/next' into 'versions/next'
...
Versions/next
See merge request mayan-edms/mayan-edms!30
Closes GitLab issues #525 and #527
2018-10-14 05:15:21 +00:00
Hamish Farroq
4efc3ec182
Add noop OCR driver.
2018-10-14 05:07:06 +00:00
Hamish Farroq
e2e89efb47
Fix the path to the SECRET_KEY
2018-10-14 04:58:33 +00:00
Hamish Farroq
680e6721f1
Fix spelling, MAYAN_WORKERS_... to MAYAN_WORKER_...
2018-10-14 04:52:46 +00:00
Roberto Rosario
7a4302415a
PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-14 00:29:46 -04:00
Roberto Rosario
8c6ba747f0
Ignore document stub from the index mirror. GitLab issue #520 . Thanks to TheOneValen @TheOneValen for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-13 03:41:46 -04:00
Roberto Rosario
88f41a570e
Make sure all key used as input for the cache key hash are bytes and not unicode. GitLab issue #520 . Thanks to TheOneValen @TheOneValen for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-13 03:38:50 -04:00
Roberto Rosario
e731cca629
Merge branch 'versions/next' of gitlab.com:mayan-edms/mayan-edms into versions/next
2018-10-12 12:35:07 -04:00
Roberto Rosario
eb357b18fc
Don't load development apps if they are already loaded.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-12 03:10:56 -04:00
Roberto Rosario
38c84de708
Remove duplicate YAML loading of environment variables.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-12 03:10:09 -04:00
Roberto Rosario
417fc8f766
Fix an issue with some browsers not firing the .load event on cached images. Ref: http://api.jquery.com/load-event/
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-12 03:07:55 -04:00
Roberto Rosario
e508b3a7a2
Add link to version 3.1.6 release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 22:34:10 -04:00
Roberto Rosario
abe9fa0e47
Prepare files for release.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 19:18:58 -04:00
Roberto Rosario
6c9da58ec3
Bump version to 3.1.6. Add release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 19:18:23 -04:00
Roberto Rosario
cc27233765
Display the cabinet "Add new level" link in the top level view too.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 19:15:09 -04:00
Roberto Rosario
4cbe27a462
Add icon to the cabinet "Add new level" link.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 19:12:50 -04:00
Roberto Rosario
15b9c0c56f
Only render the Template API view for authenticated users. Thanks rgarcia for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 19:10:35 -04:00
Roberto Rosario
f34bead7d2
Improve index mirroring cache class to use the hash of the keys instead of the literal keys. Avoid warning about invalid key characters. Closes GitLab issue #518 . Thanks to TheOneValen @ for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 05:12:19 -04:00
Roberto Rosario
1e08653b88
Improve index mounting value clean up code to remove the spaces at the starts and at the end of directories. Closes again GitLab issue #520 Thanks to TheOneValen @ for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 04:48:25 -04:00
Roberto Rosario
838035291d
Prepape files for release.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-08 19:52:40 -04:00
Roberto Rosario
4ad84195e0
Fix document metadata app view error when adding multiple optional metadata types. Closes GitLab issue #521 . Thanks to the TheOneValen @TheOneValen for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-08 19:51:17 -04:00
Roberto Rosario
7ff974382b
Add shared cache class and add mounted index cache invalidation when document and index instance nodes are updated or deleted.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-08 02:22:05 -04:00
Roberto Rosario
c715d0fc8e
Prepare file for release.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 14:18:40 -04:00
Roberto Rosario
a49e7ebd0b
Add Python 3.6 and Django 2.0 targets to the tox file.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 14:17:48 -04:00
Roberto Rosario
8c486d8459
Update installation instructions regarding libfuse2 and python-pip.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 14:17:11 -04:00
Roberto Rosario
6a3aae3348
Remove python-pip and add libfuse from Dockerfile.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 14:16:47 -04:00
Roberto Rosario
f0453357f8
Add libfuse2 library to test suit.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 14:16:15 -04:00
Roberto Rosario
03f5fdda56
Prepare files for release 3.1.5
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 04:45:58 -04:00
Roberto Rosario
9fae8ceb64
Bump version to 3.1.5.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 04:45:31 -04:00
Roberto Rosario
36f21b063d
Fix documentation typos. Expand ignored wordlist.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 04:43:24 -04:00
Roberto Rosario
efc17eb075
Update changelog and release notes for 3.1.5
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 04:30:41 -04:00
Roberto Rosario
eeeb246ed7
Restore use of the .store_body variable accidentally remove in 63a77d0235. Thanks to TheOneValen @TheOneValen for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 04:30:32 -04:00
Roberto Rosario
55c83689d2
Make sure the image in the document preview view is centered when it is smaller than the viewport.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 03:53:32 -04:00
Roberto Rosario
733216448d
Coding style updates.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 03:50:07 -04:00
Roberto Rosario
16dce6b3aa
Make sure metadata lookup choices are a list to be able to add the optional marker (Python 3).
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 03:40:37 -04:00
Roberto Rosario
8d81d1df7b
Update the metadata app tests to work on Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 22:33:51 -04:00
Roberto Rosario
c6354beb92
Add separate Python 2 and Python 3 versions of the MetadataType model .comma_splitter() static method.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 22:32:29 -04:00
Roberto Rosario
c97ab57f51
URL quote the encoded names of the staging files using Django's compat module. (Python 3). Open staging file in explicit binary mode. (Python 3)
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 22:23:43 -04:00
Roberto Rosario
06c783820e
Specify FUSE literals in explicit octal notation (Python 3).
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 22:21:18 -04:00
Roberto Rosario
7fb13a5888
Return a proper list of SearchModel instances (Python 3).
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 22:20:13 -04:00
Roberto Rosario
c6e68515ed
Handle office files in explicit binary mode for Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 05:07:05 -04:00
Roberto Rosario
28706f5ea5
Update document parsing app tests to work with Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 05:03:24 -04:00
Roberto Rosario
36e4d78487
Add a modelform for adding and editing transformation and perform YAML validation of arguments. Add stricted error checking to the crop transformation.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 04:59:50 -04:00
Roberto Rosario
277ff7ef67
Update compressed files class module to work with Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 04:56:39 -04:00
Roberto Rosario
9c81c41624
Ignore virtualenv for Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 02:14:54 -04:00
Roberto Rosario
a99b044555
Code style improvement. Test code consolidation. PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 02:13:36 -04:00
Roberto Rosario
025fafabf4
Code style cleanups. Switch to a smaller document for tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 00:10:23 -04:00
Roberto Rosario
0f8825454d
Add link and view to show the content of parsed text for each document page.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-05 23:47:10 -04:00
Roberto Rosario
58fb762fac
Update release notes for upcoming 3.1.5 version.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-05 21:54:51 -04:00
Roberto Rosario
ffbdcef3b4
Split the code of the mountindex command to be able to add tests. Fix the way the children of IndexInstanceNode are accessed. Fixes GitLab issue #518 . Thanks to TheOneValen @TheOneValen for the report. Remove newlines from the index name levels before using them as FUSE directories. Fixed duplicated FUSE directory removal.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-05 21:49:52 -04:00
Roberto Rosario
598312c4d3
Consolidate some document indexing test code into a new mixin.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-05 21:45:49 -04:00
Roberto Rosario
fc82f64705
Install the enchant library needed to build the documentation spell checker.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 22:27:42 -04:00
Roberto Rosario
bac8c4f77c
Prepare files for release.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 19:38:26 -04:00
Roberto Rosario
599ea0056c
Bump version to 3.1.4.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 19:37:48 -04:00
Roberto Rosario
8e3484663b
Add spell checking to documentation target.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 19:34:07 -04:00
Roberto Rosario
e9180f68d7
Update release notes. Fix typos is older documentation format.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 19:06:18 -04:00
Roberto Rosario
b6fbce16c0
Add explanation to the launch workflows tool.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 19:06:07 -04:00
Roberto Rosario
c9d7f7757f
Split changelog by series.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 03:33:23 -04:00
Roberto Rosario
e0b7f31111
Improve search app. Refactored to resolve search queries by terms first then by field.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 03:29:03 -04:00
Roberto Rosario
2b2981af25
Add release for version 3.1.4
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 20:41:54 -04:00
Roberto Rosario
d663d0cf63
Add links to release notes and changelog in the about view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 20:41:36 -04:00
Roberto Rosario
071e0db610
Strip HTML entities from the browser's window title. Closes GitLab issue #517 . Thanks to Daniel Carrico @daniel1113 for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 20:17:13 -04:00
Roberto Rosario
08a69f534e
Update required Django version to 1.11.16.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 15:16:09 -04:00
Roberto Rosario
72678e31f3
Display the correct AJAX request error property.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 15:14:18 -04:00
Roberto Rosario
e9db07bfd3
Encapsulate in_trash field into is_in_trash symetric Document property
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 15:14:11 -04:00
Roberto Rosario
a023d893ea
Remove debug print.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 15:14:00 -04:00
Roberto Rosario
626e1f3451
Fix workflow edit view tests. Improvie workflow view test via test mixins.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 15:13:51 -04:00
Roberto Rosario
3b369193a5
Show proper placeholder edit text on forms when no title is specified.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 15:13:34 -04:00
Roberto Rosario
a076c751ad
Add support for reindexing document on content parsing changes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 15:13:19 -04:00
Roberto Rosario
fb83a838fb
Add support for indexing on OCR content changes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 03:54:29 -04:00
Roberto Rosario
34c2fd6177
Load the DropZone CSS from package and remove the hard code CSS from appearance/base.css
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 03:10:18 -04:00
Roberto Rosario
bbfe35b8fd
Disable the fancybox caption link if the document is in the trash.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 02:53:55 -04:00
Roberto Rosario
f6e39380af
Remove use of hard coded font icon for document page rendering busy indicator.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 02:40:13 -04:00
Roberto Rosario
da8c9d08d8
Add Redis config entries in the Docker images to disable saving the database and to only provision 1 database.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 02:30:50 -04:00
Roberto Rosario
ded7eb0bfd
Login to the GitLab registry before pulling the image.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 02:28:36 -04:00
Roberto Rosario
4228338870
Update related links. Add links to the new Wiki and Forum.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 02:26:09 -04:00
Roberto Rosario
4b4aac246b
Fix the link to the documenation. Closes GitLab issue #516 . Thanks to Matthias Urlichs @smurfix for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 02:19:05 -04:00
Roberto Rosario
cdcf9096fb
Fix text and formatting typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-27 15:52:08 -04:00
Roberto Rosario
916c8e2cab
Rebuild documentation on the releases/all branch too.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-27 04:24:56 -04:00
Roberto Rosario
b25ebbef95
Merge remote-tracking branch 'origin/master'
2018-09-27 04:22:16 -04:00
Roberto Rosario
8f56adf311
Prepare files for release.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-27 04:20:43 -04:00
Roberto Rosario
e3aeb8cfef
Bump version to 3.1.3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-27 04:19:45 -04:00
Roberto Rosario
2d69c6114b
Add Gitlab CI stage to build documentation.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-27 01:21:44 -04:00
Roberto Rosario
635263dc95
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 22:52:17 -04:00
Roberto Rosario
26ac7de70b
Synchronize and compile translations
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 22:50:48 -04:00
Roberto Rosario
06e013788f
Add release for version 3.1.3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 22:30:55 -04:00
Roberto Rosario
38485b1cf8
Fix text typo in the converdb command.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 22:30:08 -04:00
Roberto Rosario
3c2557fb47
Update translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 22:29:54 -04:00
Roberto Rosario
4716e3eb15
Update docker documentation chapter.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 22:23:47 -04:00
Roberto Rosario
6159bdca45
Fix message typos.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 22:23:35 -04:00
Roberto Rosario
67b97c0ed0
Update Docker documentation chapter.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 21:23:15 -04:00
Roberto Rosario
c67c0e3742
Add support for changing the concurrency of the Celery workers in the Docker image. Add environment variables MAYAN_WORKER_FAST_CONCURRENCY, MAYAN_WORKER_MEDIUM_CONCURRENCY and MAYAN_WORKER_SLOW_CONCURRENCY.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 21:22:57 -04:00
Roberto Rosario
402039ff99
Improve deployment documentation chapter.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 21:10:36 -04:00
Roberto Rosario
71a0510af1
Expose the Django INSTALLED_APPS setting.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 20:27:07 -04:00
Roberto Rosario
9f17d7662b
Add no results help text to the document type -> metadata type association view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 16:52:13 -04:00
Roberto Rosario
7bda5b1fce
Fix user groups view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 16:49:35 -04:00
Roberto Rosario
d3c1204626
Make sure template API renders in non US languages.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 16:41:54 -04:00
Roberto Rosario
bd359a9ad9
Update the format of the MAYAN_ALLOWED_HOSTS environment setting.
2018-09-24 20:20:37 +00:00
Roberto Rosario
e46f55a2a2
Prepare files for release.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 03:02:46 -04:00
Roberto Rosario
8c229d4b36
Latest Django version is 1.11.15.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 03:01:57 -04:00
Roberto Rosario
1246d4360a
Bump version to 3.1.2
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 02:43:21 -04:00
Roberto Rosario
97108fb9df
Prepare files for release.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 02:42:20 -04:00
Roberto Rosario
98c44df9cc
Add missing .self.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 02:39:59 -04:00
Roberto Rosario
758a14e358
Intercept document list view exception and display them as an error message.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 02:10:20 -04:00
Roberto Rosario
ff5a0d32d4
Only show smart link resolution errors to the user with the smart link edit permission.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 02:09:01 -04:00
Roberto Rosario
f600ca5a1a
Fix label display for resolved smart links when not using a dynamic label.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:56:56 -04:00
Roberto Rosario
c8ff089707
Add database conversion test to the common app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:49:01 -04:00
Roberto Rosario
7c4de79c8f
Calculate the path of the test document before it is uploaded.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:47:35 -04:00
Roberto Rosario
a96e7574b2
Add support for natural keys to the DocumentPageImageCache model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:47:11 -04:00
Roberto Rosario
9716e51914
Force load of serialized data when running as a test.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:26:24 -04:00
Roberto Rosario
022c92f775
Add an user test mixin to group user testing. Add test the user managament app for database conversion.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:12:45 -04:00
Roberto Rosario
5d24521049
Add test mixin to test the db conversion (dumping and loading) of a specific app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:11:17 -04:00
Roberto Rosario
9e4ad9a64f
Add support to the convertdb command to operate on specified apps too.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:09:58 -04:00
Roberto Rosario
06288e3d6d
Update from Django 1.11.11 to 1.11.16
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:08:38 -04:00
Roberto Rosario
ef1f011cd5
Improve natural key support in the UserOptions model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:07:51 -04:00
Roberto Rosario
923cb3a7f2
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-19 20:54:15 -04:00
Roberto Rosario
eda8d18146
Database access in data migrations defaults to the 'default' database. Force it to the user selected database instead.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-19 20:53:04 -04:00
Roberto Rosario
fdfa4755e9
Don't use a hardcoded database alias for the destination of the database conversion.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-19 20:52:31 -04:00
Roberto Rosario
74d45212ec
Bump version to 3.1.1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-18 22:11:01 -04:00
Roberto Rosario
ce7ae7a606
Prepare release 3.1.1.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-18 22:10:17 -04:00
Roberto Rosario
041f4e7331
Update release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-18 22:03:25 -04:00
Roberto Rosario
618a5f0f59
Fix 90, 180 and 270 degrees rotation transformations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-18 21:34:58 -04:00
Roberto Rosario
55284c4681
Make sure the AJAX spinner stays in place.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-18 21:19:50 -04:00
Roberto Rosario
fc9a782fb8
Push release images with the tag :latest too.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 23:48:32 -04:00
Roberto Rosario
0112e12375
Allow releasing Docker images separetly from Python packages.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 23:45:43 -04:00
Roberto Rosario
d1118e3767
Silence UnorderedObjectListWarning for the Group model. Not sorted by Django.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 23:38:41 -04:00
Roberto Rosario
5e98bedbc9
Rename the Docker image and push jobs.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 22:37:16 -04:00
Roberto Rosario
bbdab284f8
Set the Docker image version environment again and tag the image for upload to Docker Hub.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 22:30:59 -04:00
Roberto Rosario
ab56758197
Pull the image from GitLab's registry before attempting to uploading to Docker's registry.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 22:05:58 -04:00
Roberto Rosario
e9bc10a056
Fix python package build and push scripts.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 19:27:18 -04:00
Roberto Rosario
531ca12021
Bump version to 3.1.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 18:53:43 -04:00
Roberto Rosario
a986b58338
Prepare release files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 18:52:26 -04:00
Roberto Rosario
ecdc122b15
Code cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 18:28:34 -04:00
Roberto Rosario
f2fff77aab
Move information links from menu to the about view. Add template tag to import icons from the templates.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 18:13:15 -04:00
Roberto Rosario
c2bb697306
Add the current step and total steps of a wizard in the template context.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 17:09:59 -04:00
Roberto Rosario
62e221ffbb
Make icon classes file template based.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 17:08:15 -04:00
Roberto Rosario
58f7b1b555
Add file_size and datetime fields to the DocumentPageCachedImage model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 03:39:28 -04:00
Roberto Rosario
206dbb9b5b
The size of the document type label field has been increased from 32 to 96 characters.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 03:14:27 -04:00
Roberto Rosario
804ef00d41
Add no results help text for the search results view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 03:12:03 -04:00
Roberto Rosario
ac07d4a63f
Add more icons to links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 03:09:04 -04:00
Roberto Rosario
4d53c9aec7
Code clean up.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 02:54:47 -04:00
Roberto Rosario
a372fc5a07
Improve model help texts. Add respective migrations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 02:46:16 -04:00
Roberto Rosario
03c54395cc
Refactor the ModelAttribute class into two separate classes: ModelAttribute for executable model attributes and ModelField for actual ORM fields. Expose more document fields for use in smart links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 02:43:04 -04:00
Roberto Rosario
fafdb538b3
Generalize the Javascript menu rendering into an API for templates that only refresh the menu when there are changes. Closes GitLab issue #511 . Thanks to Daniel Carrico @daniel1113 for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-16 21:48:37 -04:00
Roberto Rosario
654f2a1ad2
Move get_user_label to a module. Move user label text and separator to links modules.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-16 21:16:07 -04:00
Roberto Rosario
51cf39f4d8
Support named links, add templatetags to get menus, links and resolve them.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-16 21:12:09 -04:00
Roberto Rosario
e6eebe11a7
Move the matchHeight call from lazy loading to image loading.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-16 20:54:32 -04:00
Roberto Rosario
89256bfb9a
Bump version to 3.1rc1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:57:29 -04:00
Roberto Rosario
4df9fae737
The build string is now part of the mayan package metadata. Update forum link. Add instagram link.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:54:24 -04:00
Roberto Rosario
632f4b598b
docs: Update release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:21:02 -04:00
Roberto Rosario
a09511d0e9
document_indexing: Make IndexInstanceNodeManager a subclass of mptt.TreeManager.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:19:06 -04:00
Roberto Rosario
5880a650b3
document_indexing: Test for an empty node list instead of a non existing root node.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:18:02 -04:00
Roberto Rosario
0fadd84567
document_indexing: Fix typo in test literal.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:17:32 -04:00
Roberto Rosario
b8c5e2380e
document_indexing: Make sure locks are release on exceptions. Remove document from nodes and delete empty nodes only at the start of the indexing process. When the indexing starts at the template node, make sure it starts with the root node.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:15:28 -04:00
Roberto Rosario
98f34a2f42
document_indexing: Sort task functions. Even when the document has been deleted before the task executes and can't remove the document, run the method to remove empty nodes since there is the posibility of there being some.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:13:28 -04:00
Roberto Rosario
afc48ae331
Fix typo in comment.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:12:41 -04:00
Roberto Rosario
b42161e404
Add no results help text to the key management views. Add creation icon to the workflow and metadata type no content help texts links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 22:12:48 -04:00
Roberto Rosario
ab34694d49
Improve navigation in the key management views.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 22:12:10 -04:00
Roberto Rosario
efdc35aaec
Fix sporadic index instance node tree id warning.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 21:35:17 -04:00
Roberto Rosario
031f5c8312
Merge branch 'versions/next' of gitlab.com:mayan-edms/mayan-edms into versions/next
2018-09-12 14:19:44 -04:00
Roberto Rosario
dd3013826f
Bump version to 3.1 beta2.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 14:19:27 -04:00
Roberto Rosario
bc398d79cf
Add HTML buffer to reduce flicker on AJAX menu update. GitLab issue #511 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 14:18:43 -04:00
Roberto Rosario
ecc60ce540
Add HTML buffer to reduce flicker on AJAX menu update. GitLab issue #511 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 14:17:19 -04:00
Roberto Rosario
c82125c611
Update changelog and release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 13:49:27 -04:00
Roberto Rosario
732d275ec1
Default the AJAX spinner to hidden. Increase the time threshold needed to trigger the AJAX spiiner.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 13:47:40 -04:00
Roberto Rosario
e51a1a93d0
Merge branch 'feature/staging_file_caching' into versions/next
2018-09-12 13:34:14 -04:00
Roberto Rosario
f51ee02f08
Remove test Python 3 virtualenv files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 13:33:30 -04:00
Roberto Rosario
a85d33fd8e
Complete staging file caching refactor.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 13:32:41 -04:00
Roberto Rosario
1f5da1745a
Improve empty document cabinet view message.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 03:50:15 -04:00
Roberto Rosario
55930689bb
Update language files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 03:45:51 -04:00
Roberto Rosario
9bc16aabc3
Initial commit to support staging file background image generation and caching.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 03:35:33 -04:00
Roberto Rosario
e42ea89db7
Show the document type being uploaded in the source view title.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 02:02:35 -04:00
Roberto Rosario
962f395831
Add new dashboard item to display the total page count.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 01:56:37 -04:00
Roberto Rosario
6a251575ac
Make environment overrided setting message more clear.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-11 15:00:34 -04:00
Roberto Rosario
29aaa8d452
Include the test file in the manifes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 19:17:02 -04:00
Roberto Rosario
bc5715254e
Make sure the test requirements are installed in the virtualenv.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 04:55:46 -04:00
Roberto Rosario
2be29a2300
Install sudo to allow changing to the Mayan user. Install the database drivers in the final image instead of the base image. Use variable instead of the literal binaries.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 04:31:24 -04:00
Roberto Rosario
c2a1c2ca7b
Bump version to 3.1 beta1.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 03:57:05 -04:00
Roberto Rosario
3f7fd9a445
Fix typo in the settings loader error report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 03:35:33 -04:00
Roberto Rosario
5d39ec4ed3
Update the Docker install to mirror the new recommended installation process at /opt. Use virtualenv for the Docker install.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 03:34:58 -04:00
Roberto Rosario
f7a9550bb1
Improve Python 3 support in the sources app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 17:38:17 -04:00
Roberto Rosario
e0d0567f1f
Fix order in document indexing test.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 17:23:09 -04:00
Roberto Rosario
4ae7a32443
Update OCR app tests to work with Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 16:59:38 -04:00
Roberto Rosario
e41f2f73e7
Improve metadata app tests pass rate for Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 16:55:48 -04:00
Roberto Rosario
d3af59ec06
Add improvement to the mayan_statistics app for Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 16:46:35 -04:00
Roberto Rosario
91b2c99e77
Unify and improve linking app tests for Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 16:44:47 -04:00
Roberto Rosario
4eab4670be
Unify tests that use upload documents. Add explicit mode when opening a file.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 03:38:17 -04:00
Roberto Rosario
388b61ca7a
Provide a class magic method for proper sorting.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 03:37:15 -04:00
Roberto Rosario
976872df35
Type cast dictionary items to list before attemping to slice.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 03:36:20 -04:00
Roberto Rosario
9eb3d39558
Cast value to bytes before doing hash.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 03:35:50 -04:00
Roberto Rosario
44ac0932b3
Fix relative icon import.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 01:48:06 -04:00
Roberto Rosario
2fe6a15f1a
Use Python 3 style print function.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 01:47:45 -04:00
Roberto Rosario
5b806a43e9
Add creation icons for document cabinet, metadata, comments and tags links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 01:46:48 -04:00
Roberto Rosario
64ca5a623f
PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 04:56:39 -04:00
Roberto Rosario
4b2226cf04
Add tests for the index rebuild view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 04:32:57 -04:00
Roberto Rosario
435fa774f0
Add support for preserving the extension of document files when using the quick label feature. Added to the document properties edit view and the document upload view. Closes GitLab issue #360 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 04:06:13 -04:00
Roberto Rosario
aac0852128
Clean up document download view class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 01:03:40 -04:00
Roberto Rosario
12143ffda7
Fix document type quick label link when there are no results.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 01:03:04 -04:00
Roberto Rosario
1919e78041
Fix variable name in settings.utils
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 00:40:56 -04:00
Roberto Rosario
e5bb00d514
Finish refactor of the new compressed file class support. Closes GitLab issue #7 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 00:40:10 -04:00
Roberto Rosario
61d2cc3d03
Accept forum MERC proposal. Current solution is working at https://forum.mayan-edms.com . Old Google Group has been placed in read-only mode.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-04 23:53:58 -04:00
Roberto Rosario
891dc2d74b
Fix Dockerfile typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-04 23:49:16 -04:00
Roberto Rosario
f57a3b23ba
Add release notes 3.1.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-04 19:45:32 -04:00
Roberto Rosario
7e68853e47
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-04 03:25:33 -04:00
Roberto Rosario
d2ee960d42
Add custom AJAX spinner.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-04 03:17:41 -04:00
Roberto Rosario
0cb4e687ab
Remove pace.js usage
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-04 03:17:16 -04:00
Roberto Rosario
bf079a8945
Don't refresh the partial main menu HTML if there are open dropdowns
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-04 02:06:04 -04:00
Roberto Rosario
1088248bf5
Add missing icon from the document state no result template.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-03 19:48:09 -04:00
Roberto Rosario
4eb3c47457
Implement partial refresh of the main menu.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-03 19:47:41 -04:00
Roberto Rosario
d8ade58472
Add explicit kwargs name.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-03 12:17:01 -04:00
Roberto Rosario
fce7ee99ea
Add support for having a menu source being excluded from link sorting.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-01 04:15:33 -04:00
Roberto Rosario
6baa63a989
Restore usage of upstream django-celery package. Purge periodic tasks before dumping the database.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-01 03:41:34 -04:00
Roberto Rosario
427aad8277
Add no results help texts for the converter, source, motd and mailer app. Add help text to the document type list view. Tweak the CSS of the no result secondary links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-01 03:10:45 -04:00
Roberto Rosario
c312a2a304
Remove the duplicated setting pdftotext_path from the OCR path. This is now handled by the document parsing app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-01 02:12:08 -04:00
Roberto Rosario
607d178e94
Load a form's specialized JS libraries asynchronously. Move the Dropzone import to the sources app template.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-01 02:06:09 -04:00
Roberto Rosario
85a5bd995f
Update failing OCR tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-30 13:31:08 -04:00
Roberto Rosario
a314e59be2
Update user management view tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-30 13:11:58 -04:00
Roberto Rosario
c9dedde1d0
Add no results help text.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-30 05:26:48 -04:00
Roberto Rosario
41b8d6157a
Update tests to rely less on view response text.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-30 03:50:37 -04:00
Roberto Rosario
6594756c5b
Replace use of mayan.__title__ with common project title to ensure the overrided name is displayed in all views.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-28 03:48:51 -04:00
Roberto Rosario
5eba4f67e5
Add link to view a specific page's OCR content.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-28 03:39:42 -04:00
Roberto Rosario
495ab7fd9b
Add no result help text for the document duplicates view and trash can view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-27 15:45:22 -04:00
Roberto Rosario
671b7f102e
Add no results help text for the document type quick label list view. Assign icon to the document type quick label objects.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-27 04:09:09 -04:00
Roberto Rosario
e6db0ff098
The document type OCR setup permission can now be granted for individual document types. Instead of the document OCR permissions, the document type OCR setting permission is required to view the global OCR error list.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-27 03:55:45 -04:00
Roberto Rosario
3eb68db323
Instead of the document content view, the document type parsing setup permissions is now required to view the parsing error list. The document type parsing setup permission can now be granted for individual document types.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-27 03:52:26 -04:00
Roberto Rosario
abcc6539c8
Don't try to update globals if there are no settings.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-27 03:45:05 -04:00
Roberto Rosario
10f10cadeb
Add note about environment overrides.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 07:17:27 -04:00
Roberto Rosario
57eb390845
Add support for changing the HOME_VIEW, LOGIN_URL and LOGIN_REDIRECT_URL from the settings view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 07:17:03 -04:00
Roberto Rosario
600fa16d8c
Add empty result text to the user events views. Add icon to the acls create link.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 06:57:10 -04:00
Roberto Rosario
69b80aff1d
Add support for blocking the changing of password for specify users.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 06:56:48 -04:00
Roberto Rosario
c3312d964f
Add blank result messages for the index, index instance and favorited documents views.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:55:36 -04:00
Roberto Rosario
baeefe7e07
Add message when there are no object events.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:38:36 -04:00
Roberto Rosario
de000735ba
Add the tag created and tag edited events.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:38:21 -04:00
Roberto Rosario
e7279a391e
Don't show the document types of an index instance.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:20:44 -04:00
Roberto Rosario
c6aab372cb
Compose the setting widget in a safer way.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:12:01 -04:00
Roberto Rosario
b5abb04c0d
The official config filename is config.yml. Interpret ALLOWED_HOSTS as YAML.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:11:42 -04:00
Roberto Rosario
4a61275e80
Change the official config filename to config.yml. Interpret ALLOWED_HOSTS as YAML.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:10:33 -04:00
Roberto Rosario
040c99d809
Add a new column to settings showing if they are overrided via environment variable.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:09:21 -04:00
Roberto Rosario
9adf48821d
Add a celery setting namespace.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:07:54 -04:00
Roberto Rosario
7389369832
Add support for the two state widget to be centered.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:07:30 -04:00
Roberto Rosario
58cb79c95a
Interpret environment variables as YAML.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:06:53 -04:00
Roberto Rosario
1126837993
Add new Python package build and push stages. Reduce the number of branches that trigger tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-25 18:01:40 -04:00
Roberto Rosario
d6b767eb93
Fix typos from the 3-way "papercut" patch merge.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-24 01:23:13 -04:00
Roberto Rosario
c6d3ffa28b
Update Django template reference URL from Django 1.7 to Django 1.11. Add migratons to update model definitions.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 19:55:30 -04:00
Roberto Rosario
9273eccbd6
Add support for extended templates when there are no results. Add help messages and useful links to several apps when there are no results available.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 19:45:48 -04:00
Roberto Rosario
2a45f52eb9
Add explicit argument name.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 17:09:01 -04:00
Roberto Rosario
377166e491
Improve link request resolution fallback code.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 17:08:35 -04:00
Roberto Rosario
7b6c38e85b
Sort facet link, object, secondady and sidebar actions.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 17:08:17 -04:00
Roberto Rosario
75f6d44509
Add to the AccessControlList parent accesor code to handle related fields.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 16:20:35 -04:00
Roberto Rosario
2f120d99aa
Don't process the AttributeError exception but let calling code handle it.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 16:19:30 -04:00
Roberto Rosario
ec8cbee3c8
Take the project description from the project main module.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 13:06:00 -04:00
Roberto Rosario
d5b9c785fb
Improve statistics subclassing. Split class module into classes and renderers.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 13:05:34 -04:00
Roberto Rosario
d36faa5b7a
The multiple document action dropdown is now sorted alphabetically.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 03:38:23 -04:00
Roberto Rosario
5174f03994
Add support for sorting the results of a menu alphabetically.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 03:37:25 -04:00
Roberto Rosario
12cfdafecf
Redirect to the same chart when queuing a chat for update.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 03:37:07 -04:00
Roberto Rosario
c760dd883d
Fix double title in chart template.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 03:35:42 -04:00
Roberto Rosario
649fb544a9
Add support for filtering document statistics by request user.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 03:35:11 -04:00
Roberto Rosario
4c3ca0de91
In addition to the document view permission, the checkout detail view permission is now needed to view the list of checked out document.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 03:34:49 -04:00
Roberto Rosario
f11eef7445
Add new class based dashboard widget. This new widget supports subclassing and is template based. All exising widgets have been converted. ACL filtering was added to the widget results.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 03:30:06 -04:00
Roberto Rosario
26b31da443
Add favorite documents per user. Adds new setting option DOCUMENTS_FAVORITE_COUNT.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 01:50:35 -04:00
Roberto Rosario
ec44e81864
Add support to the ObjectActionMixin to report on instance action failures. Add also an error_message class property and the new ActionError exception.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 01:48:43 -04:00
Roberto Rosario
48e7b7970c
Speed up tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 00:17:53 -04:00
Roberto Rosario
d6fd1b66c6
Speed up lock manager tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 23:03:55 -04:00
Roberto Rosario
7056f0691a
Move Link class condition testing to its original location and revert the optimization.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 22:54:04 -04:00
Roberto Rosario
5c015ccdc3
Update failing test.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 22:53:43 -04:00
Roberto Rosario
1c2c77728a
Update missing view resolution name.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 22:35:15 -04:00
Roberto Rosario
103ded5145
Use platform independant hashing for transformations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 22:35:01 -04:00
Roberto Rosario
34b3cc3286
Fix the error number constant and display a log warning.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 12:25:04 -04:00
Roberto Rosario
5a2f7495c1
Add missing import.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 04:07:05 -04:00
Roberto Rosario
9a7e95f5b7
Add recently added document list view. The setting DOCUMENTS_RECENT_COUNT has been renamed to DOCUMENTS_RECENT_ACCESS_COUNT. New setting DOCUMENTS_RECENT_ADDED_COUNT added.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 04:06:46 -04:00
Roberto Rosario
2787a1c395
Sort documents by label.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 03:21:46 -04:00
Roberto Rosario
3c57f7ffa7
Merge branch 'master' into merge_master
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 03:18:30 -04:00
Roberto Rosario
66e7524924
Add support for the fillcolor argument to the rotate transformation.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 03:15:02 -04:00
Roberto Rosario
a4552cf415
Fix failing tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 02:56:16 -04:00
Roberto Rosario
78bfc6501c
Only show the settings namespace list link where it is relevant.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 02:37:12 -04:00
Roberto Rosario
6098bdb0b0
Update forum link in the about menu.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 02:30:11 -04:00
Roberto Rosario
a33027dc39
Don't error out if the path to the backup setting file doesn't exist.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 02:28:37 -04:00
Roberto Rosario
b5215b40c3
Disable the Tags menu when the user doesn't have the tag create permission or the tag view access for any tag. Disable the Cabinets menu when the user doesn't have the cabinet create permission or the cabinet view permission for any cabinet.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 02:25:54 -04:00
Roberto Rosario
66cf86e816
Add support to conditionally disable menus.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 02:23:23 -04:00
Roberto Rosario
dfd2d3dc78
Add new document indexing permission. This permission allows user to view an index instance as opposed to the current permission which allows viewing an index definiton on the setup menu. Modernize the document index view tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 01:04:36 -04:00
Roberto Rosario
1890ff5bee
Add missing permission check to the document duplicate scan link.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 00:42:37 -04:00
Roberto Rosario
5210fdc9d8
The index rebuild permission can now be set as part of the index ACL for each individual index. Add cascade permission check to the index rebuild tool link. The index rebuild tool now responds with the number of indexes queued to rebuild instead of a static acknowledment.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 00:36:19 -04:00
Roberto Rosario
76895db846
Add code explation remark.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 00:16:18 -04:00
Roberto Rosario
79095a88a0
Add sub title explanation to the role permission view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 00:15:52 -04:00
Roberto Rosario
b3c4dd380c
Add ACL support to the message of the day app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 00:15:30 -04:00
Roberto Rosario
bf3723ae24
Add cascade permission checks for links. Avoid allowing users to reach a empty views because they don't access to any of the view's objects. Apply link permission cascade checks to the message of the day, indexing and parsing, setup link.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 00:14:21 -04:00
Roberto Rosario
8e39016f12
Code cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-21 18:57:38 -04:00
Roberto Rosario
2f48bf4fcb
Add metadata event tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-21 18:47:21 -04:00
Roberto Rosario
bf7c9fc0fd
Export the document test mixins via the tests top level __init__
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-21 18:43:01 -04:00
Roberto Rosario
78c374dfe6
Add ACL support for metadata types.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-21 18:42:40 -04:00
Roberto Rosario
dee7dd5429
Renamed setting LOCK_MANAGER_DEFAULT_BACKEND to LOCK_MANAGER_BACKEND. Add help text to settings.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-20 02:50:48 -04:00
Roberto Rosario
958f85eb1e
Fix YAML quoting issues.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-20 02:49:10 -04:00
Roberto Rosario
04868e66bc
Add new setting namespace for the stock Django config options.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-19 03:50:33 -04:00
Roberto Rosario
885be348d4
Improve setting dump serialization.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-19 03:50:15 -04:00
Roberto Rosario
89c145adde
Fix failing tests after tag redirect update 3ca6595fe6.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 04:52:12 -04:00
Roberto Rosario
900276fe74
Merge branch 'master' into releases
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 04:18:57 -04:00
Roberto Rosario
9965866639
Bump version to 3.0.3
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 04:17:49 -04:00
Roberto Rosario
3ca6595fe6
Tags app: Add explicit post action redirect for the tag attach and tag remove actions when working on a single document.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 04:16:06 -04:00
Roberto Rosario
076468a922
Add explicit casting of escaped tag labels to prevent exploit of cross site scripting. Thanks to Lokesh (@lokesh1095) for the report and proposed solutions. Closes GitLab issue #496 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 04:12:00 -04:00
Roberto Rosario
fcb209caae
Add mention of fixed issue 491.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 00:47:57 -04:00
Roberto Rosario
b1d31b1f6b
Expand and make release checklist more clear.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 00:42:52 -04:00
Roberto Rosario
df6a3dfe28
Also run all the test on git push to the releases branch.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 00:30:51 -04:00
Roberto Rosario
9bb7708ffb
Bump Docker image version to 3.0.2
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 00:29:19 -04:00
Roberto Rosario
4fe0f47a9c
Only publish commits to the releases branch.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 00:28:54 -04:00
Roberto Rosario
073bc4fde9
Fix changelog markup typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 21:12:59 -04:00
Roberto Rosario
e400327770
Language translation synchonization.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 21:12:11 -04:00
Roberto Rosario
1491a6d47b
Replace underscore with dashed in Makefile translation targets for uniformity.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 20:47:35 -04:00
Roberto Rosario
dca2b49624
Merge branch 'docker-compose-db-driver-wrong-variable' into 'master'
...
Fix docker compose variable name & content
See merge request mayan-edms/mayan-edms!27
2018-08-17 00:25:52 +00:00
Roberto Rosario
405e46ca09
Merge branch 'patch-1' into 'master'
...
Update views.py. Corrected minor grammatical errors in the upload queue message.
See merge request mayan-edms/mayan-edms!26
2018-08-17 00:23:49 +00:00
Roberto Rosario
bb7fffff46
Merge remote-tracking branch 'origin/master'
2018-08-16 19:41:53 -04:00
Roberto Rosario
687b2e2024
Add version 3.0.2 release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 19:40:36 -04:00
Roberto Rosario
a4f8cc56b8
Merge branch 'patch-1' into 'master'
...
Update installation.rst
See merge request mayan-edms/mayan-edms!28
2018-08-16 23:32:05 +00:00
Roberto Rosario
e2a4892b1b
Bump version to 3.0.2
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 19:27:32 -04:00
Roberto Rosario
48dfc06e49
Cabinets app: Escape cabinet labels to avoid possible exploit of cross site scripting. Thanks to Lokesh (@lokesh1095) for the report and proposed solutions. Closes GitLab issue #495 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 19:26:37 -04:00
Roberto Rosario
9ebe80595a
Avoid setting window.location directly to avoid exploit of cross site scripting. Thanks to Lokesh (@lokesh1095) for the report and solution. Closes GitLab issue #494 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 18:46:10 -04:00
Roberto Rosario
ed76278096
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 16:05:13 -04:00
Roberto Rosario
be7169c259
Define a proper redirection after workflow actions are edited.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 16:02:34 -04:00
Roberto Rosario
a9a66391b6
Hide the title link of documents in the trash.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 16:02:01 -04:00
Roberto Rosario
9a0f2a0084
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:59:16 -04:00
Roberto Rosario
c384b137a3
Add support for hiding a links icon. Hide all object menu links' icons.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:57:27 -04:00
Roberto Rosario
d63a133852
Remove code statistics from the documentation. Remove the pending work chapter. This is now available in the Wiki:
...
wiki.mayan-edms.com
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:56:36 -04:00
Roberto Rosario
947568de3a
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:55:49 -04:00
Roberto Rosario
737b39cdb5
Rename the multi document download link from "Download" to "Advanced download" for consistency.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:55:19 -04:00
Roberto Rosario
a4d21c76e9
Fix swapped dashboard icons.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:54:24 -04:00
Roberto Rosario
418aa14e2a
Include querystring when force reload of a bare template view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:53:44 -04:00
Roberto Rosario
1034a3056d
Display error when attempting to recalculate the page count of an empty
...
document (document stub that has no document version).
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:52:02 -04:00
Roberto Rosario
05633ddc7e
Increase gunicorn's timeout from 30 seconds to 120.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:50:57 -04:00
Roberto Rosario
d567602d2a
Update dropzone.js' timeout from 30 seconds to 120 to allow upload of large files on slow connections.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:50:27 -04:00
Roberto Rosario
3c304976f7
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:49:53 -04:00
Roberto Rosario
eff9988239
Detect if Docker installed.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:49:12 -04:00
Roberto Rosario
d29044d034
Fix post login redirection to honor the ?next= URL query string
...
argument. Thanks go to K.C. Wong (@dvusboy1) for the report and investigation.
Closes GitLab issue #489 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:48:27 -04:00
Roberto Rosario
b22174adf5
Fix crop transformation argument parsing.
...
Add error checking to the crop transformation arguments.
Thanks to Jordan Wages (@wagesj45) for the report and investigation on the issue.
Closes GitLab issue #490
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:46:50 -04:00
Roberto Rosario
571cd172fc
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:45:46 -04:00
Roberto Rosario
7f692710b3
Limit the number of branches that trigger the full test suit.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:43:16 -04:00
Roberto Rosario
dba94fbff3
Redirect to the cabinet list view after creating a new cabinet.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:40:30 -04:00
Roberto Rosario
c5c269f7ea
Add natural key support to the user mailer model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:40:00 -04:00
Roberto Rosario
1910547454
Add natural key support to the Index model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:39:27 -04:00
Roberto Rosario
693948fa61
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:38:11 -04:00
Michael Price
0f955937a9
Add step to restart redis after configuration change.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:37:08 -04:00
Roberto Rosario
35d1b31e1c
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:35:39 -04:00
Michael Price
8af684aa0a
Default VERBOSE variable to true. Increase startup timer to 10 seconds. Allow configuring the PostgreSQL port.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-08-16 15:33:29 -04:00
Franz Holzinger
a015dbc4dd
Update installation.rst
...
misspelling for installation
2018-08-16 14:51:27 +00:00
Roberto Rosario
90cd142e76
Add support for YAML configuration files. Add support for editing setting options and saving them using the new YAML configuration file support. Add new revertsettings management command. Add new permission to edit setting via the UI.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 03:05:26 -04:00
Roberto Rosario
ac5f53c538
Add COMMON_PROJECT_TITLE as a setting option to customize the title string.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 03:02:21 -04:00
Roberto Rosario
3d1771a783
Don't execute document renaming if there is workflow action is not configured.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 18:26:04 -04:00
Roberto Rosario
5f233ca632
Perform link request resolution the new faster way and fallback to the old method.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 18:04:25 -04:00
Roberto Rosario
930c9bdc51
Update release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 18:03:49 -04:00
Roberto Rosario
301df39be4
Define a proper redirection after workflow actions are edited.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 17:52:23 -04:00
Roberto Rosario
27a27daed2
Add workflow action to update the label and description of a document.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 17:52:04 -04:00
Roberto Rosario
65f27b006a
Add a description to the label field of the workflow action model to differentiate from the 'label' field of the document.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 17:50:55 -04:00
Roberto Rosario
bdfb62d2b3
Show all event columns in the object list view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 05:04:28 -04:00
Roberto Rosario
0022548e35
Add support for document metadata events: add, edit and remove.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 05:04:09 -04:00
Roberto Rosario
0a653a08bd
Fix document workflow action context content.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 04:53:58 -04:00
Roberto Rosario
954dd8b994
Hide the title link of documents in the trash.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 03:47:39 -04:00
Roberto Rosario
52ef2f3dae
Add link to view the events of a tag. Add support for subscribing to the events of a tag. Add the tag events view permissions to the tag model ACL.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 03:46:28 -04:00
Roberto Rosario
4e762d7522
Add new metadata app events: metadata type created, metadata type edited, metadata type to document type relationship update. Add link to metadata type events. Add support for subscribing to metadata type events.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 03:23:30 -04:00
Roberto Rosario
4c394aec50
Add support for hiding a links icon. Hide all object menu links' icons.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 03:19:19 -04:00
Roberto Rosario
cd76b1fd4a
Add new document app events: document type created and document type edited. Add link to document type events.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 03:18:46 -04:00
Roberto Rosario
b3ef018d6c
Make sure the on entry action of the initial state of workflows executes on document creation.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-14 04:50:44 -04:00
Roberto Rosario
5cd7ac88d6
Code cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-14 03:41:07 -04:00
Roberto Rosario
b619444e43
Sort view classes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-14 03:32:33 -04:00
Roberto Rosario
57e1fe8cf0
Unify template title rendering. Add support for template subtitles.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-14 03:32:19 -04:00
Roberto Rosario
fe9a395724
Merge branch 'versions/next' into feature/quick_label
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-14 00:57:41 -04:00
Roberto Rosario
11e017b3db
Remove code statistics from the documentation. Remove the pending work chapter. This is now available in the Wiki:
...
wiki.mayan-edms.com
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-14 00:56:36 -04:00
Roberto Rosario
7124676eb5
Rewrite Mayan's Javascript suite MayanApp into ECMAScript2015. Remove use is waitForJQuery.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-14 00:51:05 -04:00
Roberto Rosario
7f14b9c5e1
Rename the multi document download link from "Download" to "Advanced download" for consistency.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-13 23:39:30 -04:00
Roberto Rosario
65f24b4227
Divs are not allowed inside anchors. Use instead a span with a block type display.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-13 23:36:02 -04:00
Roberto Rosario
af66abaf57
Speed up document image fade in reveal. Use reseteable timer to ensure more document panels heights are matched.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-13 23:35:33 -04:00
Roberto Rosario
62892105a0
Fix tag loading order in the document printing template.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-13 22:14:14 -04:00
Roberto Rosario
526dac7a26
Increase default document caching timeout to 1 year.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-13 22:13:32 -04:00
Roberto Rosario
8fb2c78f29
Optimize request resolution from the context when resolving links and menus.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-13 22:12:42 -04:00
Roberto Rosario
709403a01f
Fix swapped dashboard icons.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-13 22:12:17 -04:00
Roberto Rosario
de87f83c05
Include querystring when force reload of a bare template view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-13 22:09:38 -04:00
Dennis von der Bey
ba28d08a7b
Fix docker compose variable name & content
...
Failed to use postgresql and fell back to sqlite
2018-08-12 20:09:21 +00:00
Roberto Rosario
87ff0696d3
Enable the select2 widget for the quick label selection field.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-08 17:02:58 -04:00
Roberto Rosario
565f6caa0d
Add missing .value method to the document image cache setting usage.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-08 02:26:36 -04:00
Roberto Rosario
c9bb13f149
Add support for client side caching of document page images. The time
...
the images are cached is controlled by the new setting
DOCUMENTS_PAGE_IMAGE_CACHE_TIME which defaults to 3600 seconds (1 hour).
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-08 01:31:21 -04:00
Roberto Rosario
170a83b06f
Sort document app settings.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-08 01:22:17 -04:00
Roberto Rosario
928c80cc02
Remove usage of the compress tag.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-08 01:16:05 -04:00
Roberto Rosario
418e603222
Display error when attempting to recalculate the page count of an empty
...
document (document stub that has no document version).
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-08 01:15:30 -04:00
Roberto Rosario
0d46b0a252
Remove use of django-compressor and cssmin now that the project used
...
Whitenoise.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-07 23:14:46 -04:00
Roberto Rosario
e7cb4cf6c3
Update packages versions: Pillow:5.2.0, PyYAML:3.13, django-environ:0.4.5,
...
django-model-utils:3.1.2, django-mptt:0.9.1, django-widget-tweaks: 1.4.2,
flanker:0.9.0, flex:6.13.2, furl:1.2, gevent:1.3.5, graphviz: 0.8.4,
gunicorn:19.9.0, pyocr:0.5.2, python-dateutil:2.7.3
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-07 23:13:49 -04:00
Roberto Rosario
648b3e9d7f
Update setup.py with the new dependencies.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-07 22:54:20 -04:00
Roberto Rosario
1b1d549bbf
Increase gunicorn's timeout from 30 seconds to 120.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-07 22:54:05 -04:00
Roberto Rosario
0489eb8f7d
Update dropzone.js' timeout from 30 seconds to 120 to allow upload of large files on slow connections.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-07 22:52:24 -04:00
Roberto Rosario
0d1c9a5ac1
Merge branch 'feature/db_migration' into versions/next
2018-08-07 22:40:16 -04:00
Roberto Rosario
1594e7a792
Detect if Docker installed.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-06 15:34:21 -04:00
Roberto Rosario
493ba214f2
Sort the manager methods of the checkouts app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-06 14:57:28 -04:00
Roberto Rosario
14bea94030
Update pathlib imports to pathlib2.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-06 14:55:14 -04:00
Roberto Rosario
3937696774
Add natural key support to the models of the checkouts app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-06 14:54:55 -04:00
Roberto Rosario
7994803e8f
Add the upstream version of django-celery to the removal list.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-06 14:44:03 -04:00
Roberto Rosario
c02a8bb3e3
Switch to pathlib2
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-06 14:43:30 -04:00
Roberto Rosario
9183369bdb
Use patched version of django-celery with support for natural key.
...
https://github.com/celery/django-celery/pull/552
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-05 20:44:37 -04:00
Roberto Rosario
10231363e6
Add natural key support to the document parsing app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-05 20:07:57 -04:00
Roberto Rosario
4f028b1f54
Convert the two_state_widget to a class and update it to use the new icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 16:56:03 -04:00
Roberto Rosario
7a4202b459
Update the document indexing widgets to use the new icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 16:51:42 -04:00
Roberto Rosario
ffa8a4c5e2
Add icon class with support for multiple CSS classes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 16:01:04 -04:00
Roberto Rosario
37fc968f50
Merge branch 'versions/next' into feature/db_migration
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 01:59:17 -04:00
Roberto Rosario
cc62988d4d
Fix post login redirection to honor the ?next= URL query string
...
argument. Thanks go to K.C. Wong (@dvusboy1) for the report and investigation.
Closes GitLab issue #489 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 01:36:57 -04:00
Roberto Rosario
42ea33d760
Fix crop transformation argument parsing.
...
Add error checking to the crop transformation arguments.
Thanks to Jordan Wages (@wagesj45) for the report and investigation on the issue.
Closes GitLab issue #490
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 00:49:58 -04:00
Roberto Rosario
81f340ee16
Limit the number of branches that trigger the full test suit.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 00:06:36 -04:00
Roberto Rosario
e6fa31a4e5
Redirect to the cabinet list view after creating a new cabinet.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 00:06:16 -04:00
Roberto Rosario
3aecf817ce
Make source label field unique.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 00:06:03 -04:00
Roberto Rosario
b14d7d6da0
Add release notes for version 3.1.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-03 19:25:49 -04:00
Roberto Rosario
0c1c38917c
Make format explicit JSON
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-03 19:25:24 -04:00
Roberto Rosario
f756584176
Make source label field unique.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-03 18:54:30 -04:00
Roberto Rosario
cbcb8a84c5
Add natural key support to the user mailer model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-03 18:52:53 -04:00
Roberto Rosario
0626529228
Add natural key support to Document pages.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-03 18:52:13 -04:00
Roberto Rosario
f42e1a96b2
Add natural key support to the Index model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-03 18:51:17 -04:00
Roberto Rosario
4dea5911da
Redirect to the cabinet list view after creating a new cabinet.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-03 18:50:40 -04:00
Roberto Rosario
fc304394f5
Add convertdb command.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-03 18:50:30 -04:00
Roberto Rosario
e18c043c1f
Improve natural key handing for the Document, Metadata, DocumentMetadata, DocumentTypeOCRSetting and UserProfileLocale models.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-02 16:00:22 -04:00
Roberto Rosario
1ad7d2a406
Limit the number of branches that trigger the full test suit.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-02 15:56:47 -04:00
Roberto Rosario
0faeb2626a
Merge branch 'master' into feature/db_migration
2018-08-01 05:11:44 -04:00
Roberto Rosario
c665e75871
Improve serialization migration for the models: Document, DocumentVersion, DocumentMetadata and DocumentTypeOCRSettings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-01 05:09:43 -04:00
Michel Lavoie
57b60c7b2f
Update views.py. Corrected minor grammatical errors in the upload queue message.
2018-07-17 12:38:33 +00:00
Michael Price
71ada209f6
Add step to restart redis after configuration change.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-07-14 00:14:32 -04:00
Michael Price
d78527ec10
Default VERBOSE variable to true. Increase startup timer to 10 seconds. Allow configuring the PostgreSQL port.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-07-14 00:12:15 -04:00
Eric Riggs
6722394e34
Add Docker and install step to have Redis discard data when out of memory.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-07-10 04:48:42 -04:00
Eric Riggs
27dcc2a7e7
Update LICENSE copyright time span to match main module's copyright time span.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-07-08 23:01:14 -04:00
Roberto Rosario
39a94f8b4f
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-07-08 02:40:07 -04:00
Roberto Rosario
2e3ae3f78b
Merge branch 'esclear/mayan-edms-patch-1' into merge_patch-1
2018-07-08 02:37:48 -04:00
Roberto Rosario
fd87e28113
French and Polish language translation updates.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-07-08 02:35:43 -04:00
Roberto Rosario
306b764a5c
Update release notes for version 3.0.1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-07-08 02:11:39 -04:00
Roberto Rosario
0987bbe0fa
Pin javascript libraries to specific versions to avoid using potentianlly broken updates automatically. GitLab issue #486 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-07-08 01:09:34 -04:00
Roberto Rosario
7a2f7d81bc
Install the locales package for the release linux image.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-07-08 01:00:58 -04:00
Roberto Rosario
64ac165f03
Stop install script on errors. Don't stop if previous containers or volumes don't exists. Fix hardcoded volumes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-07-04 18:30:50 -04:00
Daniel Albert
8cea56aceb
Fix string concatenation to fix error messages
...
Without using parentheses, the strings are not joined.
2018-07-02 20:57:45 +00:00
Roberto Rosario
aabd5651d8
Update the docker.stack file.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-07-02 00:43:42 -04:00
Roberto Rosario
29b680ef84
Fix GitLab issue #484 . Thanks to @Bebef for the report and debug information.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-07-01 23:59:15 -04:00
Roberto Rosario
89a7b9d6b5
Change the way wizard steps are deregistered. Instead of deleting then from the _registry class dictionary they are filtered based on the _deregistry dictionary. This way de-registration can be reversed. Useful for tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-07-01 23:56:30 -04:00
Roberto Rosario
90b7c1ffa3
Tag and push a "latest" image too.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 03:41:11 -04:00
Roberto Rosario
be4365bbf7
Increase document image generation task timeout from 20 seconds to 120 seconds to allow more time for image generation on slow hardware like ARM SBCs.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 00:57:27 -04:00
Roberto Rosario
f8b50ab94b
Improve script texts.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 00:47:28 -04:00
Roberto Rosario
bcf995b459
Default the installation of Docker to false.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 00:44:00 -04:00
Roberto Rosario
30957b24c4
Push the final docker image to the docker hub and add deploy stage for an online demo and a staging deployment.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 00:43:27 -04:00
Roberto Rosario
340eabc725
Include the version file in the final docker image.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 00:33:10 -04:00
Roberto Rosario
d8492f99ab
Add docker deploy script.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 00:32:45 -04:00
Roberto Rosario
abe6d53c2c
Merge branch 'versions/next' into master
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-29 03:19:13 -04:00
Roberto Rosario
9a809c493a
Bump version to 3.0
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-29 03:15:34 -04:00
Roberto Rosario
aa38b1c0e8
PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-29 03:10:17 -04:00
Roberto Rosario
7dd56bbf15
Sort language options.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-29 03:05:14 -04:00
Roberto Rosario
061366ffec
Update apps' other modules to use the new Icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-29 02:54:14 -04:00
Roberto Rosario
aa4e8e3507
Update the common, django_gpg, document_comments, document_indexing, document_parsing, document_signatures, document_states, event, linking, mailer, permissions, rest_api, smart_settings, sources and task manager apps to use the new Icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-28 23:19:49 -04:00
Roberto Rosario
40d8c7049c
Update the user management app to use the new Icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-28 16:52:10 -04:00
Roberto Rosario
8f0ad91d96
Update the tags app to use the Icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-28 16:47:34 -04:00
Roberto Rosario
f5e3470deb
Update the OCR app to use the new Icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-28 16:47:23 -04:00
Roberto Rosario
e0d812ac74
Finish converting the document app to use the new Icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-28 16:34:31 -04:00
Roberto Rosario
85926ae8f8
The conditional_escape call caused downloaded OCR text to contain HTML entities like "
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-28 02:04:49 -04:00
Roberto Rosario
c4c73666aa
Update the build makefile target to use Debian instead of Alpine
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-28 01:22:50 -04:00
Roberto Rosario
fb845abf10
Further sanitize the template title text before making it the window title via JS.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-27 23:21:03 -04:00
Roberto Rosario
9dfe187202
Recalculate a document's indexes when attaching or removing a tag from or to it. Recalculate all of a tag's documents when a tag is about to be deleted.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-13 01:26:58 -04:00
Roberto Rosario
66e53bac22
Merge the license and packages license display form. Use Mayan's custom TextAreaDiv widget.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-12 21:38:34 -04:00
Roberto Rosario
60a3e1aa42
Update deployment instructions.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-12 21:24:50 -04:00
Roberto Rosario
e5e619e045
Only build docker images for the master, staging and nightly branches.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-12 03:54:46 -04:00
Roberto Rosario
53c17ce7ab
No need to copy .pypirc just to build a package.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-12 03:52:48 -04:00
Roberto Rosario
694f7675e5
Use the passthrough manager to be able to show previews for trashed documents again.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-08 17:38:28 -04:00
Michael Price
a1876c065e
Don't use gpg1 for testing against sqlite.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:52:27 -04:00
Michael Price
d991c82693
Add settings module for easy testing during development.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:52:19 -04:00