Commit Graph

1281 Commits

Author SHA1 Message Date
Roberto Rosario
f0b1f9e6b3 Remove removed code 2011-12-04 02:02:16 -04:00
Roberto Rosario
73950ef750 Disable the revert link for the current version of a document 2011-12-04 02:01:48 -04:00
Roberto Rosario
2d119b853f Update the 'get_document_image' view to be version aware 2011-12-04 02:01:24 -04:00
Roberto Rosario
255cb8eaf2 Updated the smart document widget to be version aware 2011-12-04 02:00:28 -04:00
Roberto Rosario
7de09aae0f Add version support to the document image generation code 2011-12-04 02:00:04 -04:00
Roberto Rosario
2ec134e172 Add document version revert support 2011-12-04 01:11:12 -04:00
Roberto Rosario
c3eaacb6c6 Make document date_added not editable, fix document version delete method, add revert method to document version 2011-12-04 01:10:10 -04:00
Roberto Rosario
aa66085165 Update the document list view, the page update view and the remaining references of 'file_filename' to 'filename' 2011-12-04 00:01:21 -04:00
Roberto Rosario
e6d3453800 Update the linking app to be compatible with the new document versioning fields 2011-12-04 00:00:07 -04:00
Roberto Rosario
43b17456d1 Remove the auto_add_now property from the date_added document field 2011-12-03 23:42:29 -04:00
Roberto Rosario
986b7e39e4 Fix the new version fields in the upload form 2011-12-03 23:37:00 -04:00
Roberto Rosario
e81a02b18d Improve document multi version migrations 2011-12-03 23:29:52 -04:00
Roberto Rosario
90863025d8 Fix permission import 2011-12-03 20:54:35 -04:00
Roberto Rosario
699f7e7caa Update document page navigation views to use the new 'siblings' DocumentPage method 2011-12-03 20:44:04 -04:00
Roberto Rosario
4bbf5d3514 Add 'siblings' convenience method to the DocumentPage model 2011-12-03 20:43:30 -04:00
Roberto Rosario
0cf8d68db0 Add the page number on top of the page widget in the multiple page carousel widget 2011-12-03 20:30:44 -04:00
Roberto Rosario
d81e734f59 Update REST API to new document multi version methods and structures 2011-12-03 20:10:08 -04:00
Roberto Rosario
a3befc6b7d Remove remarked code 2011-12-03 20:09:44 -04:00
Roberto Rosario
28208c4a2a Update sources app to support multiple versions 2011-12-03 19:35:36 -04:00
Roberto Rosario
11725c943b Update documents app to support multiple versions 2011-12-03 19:35:03 -04:00
Roberto Rosario
9f7e5de5ac Add migration to remove old file fields 2011-12-03 19:32:40 -04:00
Roberto Rosario
d4a70c0fc1 Cleanup remarks from migration 2011-12-03 19:31:59 -04:00
Roberto Rosario
1e38369919 Update parser to use the latest version of a document when extracting text 2011-12-02 05:56:34 -04:00
Roberto Rosario
8c02c4c426 Disable ocr document queue signal
It appears Django executes signals using the same process
as the caller, effectively blocking the view until the OCR process
completes which could take several minutes :/
2011-12-02 05:55:42 -04:00
Roberto Rosario
e92a0f7996 Updated version to 0.11beta2 and add python authoring structures 2011-12-02 05:55:01 -04:00
Roberto Rosario
3e471f702e Add document version list view and document version download 2011-12-02 05:54:00 -04:00
Roberto Rosario
640a1c2966 Add two new migrations, one to fix a field name, the other to add a comment field to the document versions 2011-12-02 05:53:12 -04:00
Roberto Rosario
d83e8b5428 Initial set of model, form and API changes to support document versions 2011-12-02 02:51:59 -04:00
Roberto Rosario
b38d84f663 South schema and data migrations to support document versions 2011-12-02 02:51:15 -04:00
Roberto Rosario
41de49916f Pass exc_info to logger for better debugging 2011-12-01 23:38:50 -04:00
Roberto Rosario
60c05317b3 Fix indentation 2011-12-01 23:38:29 -04:00
Roberto Rosario
da1ab56202 Add maintenace view to clear the document image cache 2011-12-01 05:24:31 -04:00
Roberto Rosario
922971274f Add office document text extractor 2011-12-01 04:54:14 -04:00
Roberto Rosario
6d9b6f9ada Add more debugging logging and update to only process 1 queue item per execution
Previously the task_process_document_queues processed all the pending queue
items it could find, this could lead to the of inexisting queue items
from a stale queryset
2011-12-01 04:48:24 -04:00
Roberto Rosario
c63721cbf6 Move OCR queue document requeueing from the view to the model and add proper exception 2011-12-01 04:47:27 -04:00
Roberto Rosario
31ea558b60 Update the REPLICATION_DELAY default to be 0 seconds 2011-12-01 04:46:00 -04:00
Roberto Rosario
29f547ee48 Update the queue signal processor to only trigger ocr queue processing on newly submitted documents and not requeued documents 2011-12-01 04:44:38 -04:00
Roberto Rosario
cb8b4a4def Add more logging 2011-12-01 04:43:59 -04:00
Roberto Rosario
8a2d526e94 Add RTF text file to the list of office document mimetypes 2011-12-01 04:31:52 -04:00
Roberto Rosario
cf9b28ad30 Separate unoconv command line arguments and add further logging 2011-12-01 04:30:38 -04:00
Roberto Rosario
a4513951ed Add '=' to unoconv command line 2011-12-01 02:15:15 -04:00
Roberto Rosario
394762047a Fix documents not saving the file encoding 2011-11-30 20:04:29 -04:00
Roberto Rosario
f76baa4efc Changed office documents mimetypes strings to unicode 2011-11-30 20:03:46 -04:00
Roberto Rosario
2b7c379822 Add new office document mimetype
* application/vnd.ms-office
2011-11-30 09:45:29 -04:00
Roberto Rosario
1e22d1099e Update api and filesystem modules to new os_specifics
renames
2011-11-30 09:33:32 -04:00
Roberto Rosario
a646997ab8 Rename os_agnostic.py to the more appropiate os_specifics
to encapsulate file system unique filename and path handling
2011-11-30 09:31:32 -04:00
Roberto Rosario
d37b36bce3 Updated document indexing app modules for the new
filename and extension merged field
2011-11-30 08:55:19 -04:00
Roberto Rosario
f554655688 Updated documents app admin, model and view modules to use the merged
filename and extension
2011-11-30 08:54:37 -04:00
Roberto Rosario
c6f8534208 Initial migrations for the documents app
These migrations are to merge the filename and extension
fields into a single filename field
Mayan can't assume filesystem convetion
of extension separator as the OS where the
document was uploaded might be differente
that the OS running Mayan
2011-11-30 08:52:18 -04:00
Roberto Rosario
6ef9b5840f Removed extra slash in ajax-loader.gif URL fixes #15, thanks to IHLeanne for finding this one 2011-11-28 11:57:18 -04:00