Commit Graph

515 Commits

Author SHA1 Message Date
Roberto Rosario
27da0f8bb2 Add missing translation marker. Closes issue GL#201. 2015-10-08 19:29:19 -04:00
Roberto Rosario
86ff835839 PEP8 Cleanups. 2015-10-07 22:24:44 -04:00
Roberto Rosario
8bdd4ba452 Add API views to download documents and document versions. 2015-10-07 02:42:36 -04:00
Roberto Rosario
e53c624792 Remove remark. 2015-09-27 01:38:20 -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
22a29eede3 Use explicit literals for the time delta units used for retention policies. 2015-09-26 23:52:10 -04:00
Roberto Rosario
c796f2b2c4 TODO comment cleanups. Remove unused Document model method. 2015-09-26 23:50:57 -04:00
Roberto Rosario
6159645261 Remove print statements. 2015-09-25 17:01:18 -04:00
Roberto Rosario
500f870c78 Do a force pull of all translations and a compile. 2015-09-25 04:18:04 -04:00
Roberto Rosario
8629e6495e Translation source files updates. Add translator comments. Thanks to Berny for these. 2015-09-24 16:30:19 -04:00
Roberto Rosario
c9b981f07a Update translation sources and compiles files. 2015-09-24 01:44:03 -04:00
Roberto Rosario
6ccfaf59f8 Add 1 second delay to workaround MySQL <5.6.4 not storing millisecond time data which is used to determine lastest version of a document. 2015-09-21 04:19:57 -04:00
Roberto Rosario
df417f562c PEP8 Cleanups (471 warnings). 2015-09-17 21:34:27 -04:00
Roberto Rosario
bd01fe1b72 Add 1 seconds delay to avoid version revert tests failing on MySQL. This is because MySQL doesn't store milliseconds in the DB. Version revert uses timestamp as the original document and the new version are created within the same second the revert code doesn't work. This delay is a hack and a better solution to differentiate versions by serial or similar needs to be implemented. 2015-09-17 02:57:28 -04:00
Roberto Rosario
0d591e7ff6 Reorganize methods as per design document. 2015-09-17 02:56:46 -04:00
Roberto Rosario
60e64b92fd PEP8 Cleanup (495 warnings). 2015-09-16 09:33:16 -04:00
Roberto Rosario
6ca6cd9f21 PEP8 Cleanusp (549 warnings). 2015-09-16 04:15:10 -04:00
Roberto Rosario
e1a04d9838 Convert document trash view to CBV. Improve ConfirmView based CBVs. 2015-09-15 02:02:38 -04:00
Roberto Rosario
c1619c93e0 Finish statistics subsystem refactor. 2015-09-14 21:57:55 -04:00
Roberto Rosario
5846743d6e Finish conversion of statistic to periodic statistics. Add ChartJS support. Add Line chart renderer. 2015-09-09 04:36:09 -04:00
Roberto Rosario
70c23a19d3 Initial commit to support scheduled statistics. 2015-09-09 00:24:53 -04:00
Roberto Rosario
d474efe8b3 Increase stale document stub check interval. 2015-09-08 19:00:53 -04:00
Roberto Rosario
43e1ffbc24 Add scheduled task to delete stale document stubs. 2015-09-08 18:38:24 -04:00
Roberto Rosario
02353927db Improve admin interfaces. 2015-09-08 18:13:22 -04:00
Roberto Rosario
f21ee34a94 Remove ununsed DOCUMENTS_MULTIPAGE_PREVIEW_SIZE setting. 2015-09-08 15:42:12 -04:00
Roberto Rosario
3e3eca4c0e Update all tests to use setting value overriding. 2015-09-06 04:01:40 -04:00
Roberto Rosario
574f3d2d66 Synchronize and compile translation files. 2015-08-27 01:33:14 -04:00
Roberto Rosario
709e9208aa Update source translation files. 2015-08-27 01:25:33 -04:00
Roberto Rosario
ab05050137 Remove only instance of 'Return' and provoke default to 'Cancel' for uniformity. 2015-08-27 01:19:15 -04:00
Roberto Rosario
0847fbf1ae Improve document print form and view. 2015-08-25 22:58:28 -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
ba93ee2544 Update the document properties view to CBV. 2015-08-25 20:43:12 -04:00
Roberto Rosario
82dbd87925 Update document page and document edit views to CBV. 2015-08-25 20:30:30 -04:00
Roberto Rosario
7a45164251 PEP8 cleanups. 2015-08-25 19:17:55 -04:00
Roberto Rosario
7392e80fc2 PEP8 Cleanups. 2015-08-24 20:55:45 -04:00
Roberto Rosario
8481802b23 Update the document type quick label delete view to a CBV. 2015-08-24 17:56:01 -04:00
Roberto Rosario
48ac049736 Avoid using a loop when calculating recent document list. 2015-08-24 03:29:13 -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
603d2e7417 Convert document preview view to CBV. 2015-08-24 03:01:08 -04:00
Roberto Rosario
d007214d39 Update language translations. 2015-08-24 01:40:22 -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
2c93c5d8c2 Update translation source files. 2015-08-24 00:34:08 -04:00
Roberto Rosario
23f479c481 Fix page recalculation text. 2015-08-23 21:05:20 -04:00
Roberto Rosario
fa3633fbe8 Remove empty language files locales: sq, zh_TW, hr_HR, de_CH, lv, nb, tr_TR. 2015-08-20 19:40:05 -04:00
Roberto Rosario
c030b91528 Update translation files. 2015-08-20 19:35:24 -04:00
Roberto Rosario
f2ccfa16d5 Update source language files. Make lock manager and storage translatable. 2015-08-20 15:35:06 -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
cc2927c4cd Remove remaining usage of lists for extra_column. 2015-08-20 00:44:24 -04:00
Roberto Rosario
e4fead68b9 Remove included filesize formatter and use Django's instead. 2015-08-20 00:36:58 -04:00