Roberto Rosario
|
6a9c66ff3f
|
Return False for the document's exists() method when it doesn't have
a document version.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2017-06-30 17:47:01 -04:00 |
|
Roberto Rosario
|
eb29cd502c
|
Fix typos.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2017-06-21 02:26:33 -04:00 |
|
Roberto Rosario
|
4150fea2ad
|
Add PDF orientation detection. Closes GitLab issue #387.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2017-06-16 22:30:07 -04:00 |
|
Roberto Rosario
|
fede3ec0ba
|
Return an empty DocumentPage Queryset when a document has no latest version.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2017-05-28 01:06:33 -04:00 |
|
Roberto Rosario
|
7a0c2224bb
|
Add model docstrings.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2017-04-25 14:21:30 -04:00 |
|
Roberto Rosario
|
86a602aa34
|
PEP8 cleanups.
|
2016-12-31 02:25:02 -04:00 |
|
Roberto Rosario
|
4f889fc21d
|
Move the document language choice list from the model to the form.
Pycoutry upgrades or user changes to the language choice list won't
trigger a migration anymore. Closes GitLab issue #328.
|
2016-12-31 02:20:56 -04:00 |
|
Roberto Rosario
|
1e194e04fa
|
Move new version creation blocking from the documents app to the checkouts app.
Closes GitLab #294.
|
2016-12-22 01:45:43 -04:00 |
|
Roberto Rosario
|
bc7f5f44ed
|
Improve document page image lazy loading. Use font awesome spinner and CSS3 animation.
|
2016-11-04 03:33:24 -04:00 |
|
Roberto Rosario
|
3df30b63f3
|
Make sure the method has sensible defaults.
|
2016-11-04 01:34:12 -04:00 |
|
Roberto Rosario
|
2cdee10d50
|
Make sure transformation arguments are always valid.
|
2016-11-03 15:34:32 -04:00 |
|
Roberto Rosario
|
621c988809
|
Simplify filter_by_access boilerplate code
|
2016-11-02 03:48:16 -04:00 |
|
Roberto Rosario
|
c0194c63dc
|
Refactor document page image generation and transformation classes
to cache all transformed versions of a document page.
|
2016-11-02 02:34:57 -04:00 |
|
Roberto Rosario
|
6e3d99670c
|
Complete conversion of download views to CBV views using django-downloadview.
This also removes dependency on the filetransfers library.
|
2016-10-31 01:00:35 -04:00 |
|
Roberto Rosario
|
b8b2e0e929
|
Initial commit to support per page search.
|
2016-10-27 02:48:40 -04:00 |
|
Roberto Rosario
|
8d549df088
|
Index the is_stub and is_deleted document boolean fields.
|
2016-05-09 19:54:32 -04:00 |
|
Roberto Rosario
|
23f40ac4aa
|
PEP8 cleanups.
|
2016-04-27 20:31:02 -04:00 |
|
Roberto Rosario
|
c6890c487a
|
Extract a file like object's file name as per docs (using the .name property) and not an unicode representation of the file object instance. Reference: https://docs.python.org/2.7/library/stdtypes.html#file-objects
|
2016-03-30 01:32:53 -04:00 |
|
Roberto Rosario
|
5de63c4477
|
Add support for verifying and unverifying signatures after a key is added or deleted.
|
2016-03-26 04:23:16 -04:00 |
|
Roberto Rosario
|
ffb29e0f54
|
Remove obsolete Document property. Use resolved_object in documents links to avoid context variable clashes with signatures.
|
2016-03-25 04:12:44 -04:00 |
|
Roberto Rosario
|
7dc260046b
|
Update the document type quick label model verbose name from 'Quick rename template' to 'Quick label'.
|
2016-03-21 16:25:16 -04:00 |
|
Roberto Rosario
|
28f3b7551d
|
Consolidate document page image generation as binary or base64 to a single place at the converter class level.
|
2016-03-21 03:44:45 -04:00 |
|
Roberto Rosario
|
45f90cce50
|
Return the instance when a document is added as recent for an user.
|
2016-03-19 02:20:01 -04:00 |
|
Roberto Rosario
|
3d36f1b828
|
Update Document model's uuid field to use Django's native UUIDField class.
|
2016-03-15 01:44:34 -04:00 |
|
Roberto Rosario
|
5b6b35f1c3
|
Make document type deletion period optional.
|
2016-03-09 14:39:16 -04:00 |
|
Roberto Rosario
|
927c0bf657
|
Remove remaining usage of django.contrib.auth.model.User. GitLab issue #225.
|
2016-03-08 02:21:03 -04:00 |
|
Roberto Rosario
|
a1a0a6da52
|
PEP8 Cleanups.
|
2015-10-28 02:14:48 -04:00 |
|
Roberto Rosario
|
da4c41c5b2
|
Change the way new document version are blocked, moving the logic to the documents app from the checkouts app signal handler. Disable the upload new document version button and have the new version upload view redirect to the document version list with a message. GitLab issue #231.
|
2015-10-23 06:06:59 -04:00 |
|
Roberto Rosario
|
9fbc8647b8
|
Fix document list generation for the document's type change views. Move type change event and recent document addition to the models. Add view tests for the document's type change views.
|
2015-10-20 20:03:54 -04:00 |
|
Roberto Rosario
|
19a2c02594
|
Document count column in document type list view is now permission aware.
|
2015-10-19 02:19:08 -04:00 |
|
Roberto Rosario
|
6e43b99ecd
|
Add natural key serialization.
|
2015-10-17 05:13:58 -04:00 |
|
Roberto Rosario
|
86ff835839
|
PEP8 Cleanups.
|
2015-10-07 22:24:44 -04:00 |
|
Roberto Rosario
|
3e7cd0c1ea
|
Move retention policies enforcement code to the DocumentType model manager. Add corresponding tests (test_auto_trashing and test_auto_delete).
|
2015-09-27 00:35:56 -04:00 |
|
Roberto Rosario
|
c796f2b2c4
|
TODO comment cleanups. Remove unused Document model method.
|
2015-09-26 23:50:57 -04:00 |
|
Roberto Rosario
|
df417f562c
|
PEP8 Cleanups (471 warnings).
|
2015-09-17 21:34:27 -04:00 |
|
Roberto Rosario
|
0d591e7ff6
|
Reorganize methods as per design document.
|
2015-09-17 02:56:46 -04:00 |
|
Roberto Rosario
|
6ca6cd9f21
|
PEP8 Cleanusp (549 warnings).
|
2015-09-16 04:15:10 -04:00 |
|
Roberto Rosario
|
a04bccb842
|
Add missing model event log registration. Remove debug statement.
|
2015-08-25 22:01:28 -04:00 |
|
Roberto Rosario
|
399103488c
|
PEP8 cleanups
|
2015-08-25 20:49:42 -04:00 |
|
Roberto Rosario
|
82dbd87925
|
Update document page and document edit views to CBV.
|
2015-08-25 20:30:30 -04:00 |
|
Roberto Rosario
|
fbc28f5bbc
|
Index the user field of the recent document model to reduce view rendering as per profiling results.
|
2015-08-24 03:04:24 -04:00 |
|
Roberto Rosario
|
0b2235d501
|
Change document type filename references to the more apt document type quick labels. Thanks go to berny for this one.
|
2015-08-24 01:03:10 -04:00 |
|
Roberto Rosario
|
93553e84c2
|
Text string tweaks as per translation discussions. Thanks to Berny.
|
2015-08-20 14:41:00 -04:00 |
|
Roberto Rosario
|
683e54fea1
|
Replace unused lists with tuples.
|
2015-08-19 13:57:38 -04:00 |
|
Roberto Rosario
|
cf00ba2c40
|
PEP8 and minor cleanups, fixes.
|
2015-08-07 03:45:46 -04:00 |
|
Roberto Rosario
|
960d60c39d
|
Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace.
Update DRF and DRF swagger versions. Update all apps API registration method.
|
2015-08-06 02:56:17 -04:00 |
|
Roberto Rosario
|
1e746c700a
|
PEP8 cleanups.
|
2015-07-27 23:53:14 -04:00 |
|
Roberto Rosario
|
c275988c90
|
PEP8 cleanups, E501: 79 character long lines.
|
2015-07-19 03:27:41 -04:00 |
|
Roberto Rosario
|
91a9b3b045
|
Finish document upload task refactor. Increase failure tolerance to database Operational Errors.
|
2015-07-15 04:36:23 -04:00 |
|
Roberto Rosario
|
fc9d7b1a8b
|
Remove celery code execute from model. Allow for default at the model level.
|
2015-07-15 01:03:23 -04:00 |
|