Commit Graph

494 Commits

Author SHA1 Message Date
Roberto Rosario
f5c3fa21d7 Add a size property to the DocumentVersion model 2011-12-04 02:44:08 -04:00
Roberto Rosario
fafadfaca2 Fix document print view 2011-12-04 02:37:11 -04:00
Roberto Rosario
64e73a9c9d Update the 'invalidate_cached_image' to supply a version pk as now required by the version aware 'get_cached_image_name' method 2011-12-04 02:20:44 -04:00
Roberto Rosario
03620f5331 Update the 'find duplicates' view to work with document versions 2011-12-04 02:15:57 -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
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
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
a3befc6b7d Remove remarked code 2011-12-03 20:09:44 -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
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
da1ab56202 Add maintenace view to clear the document image cache 2011-12-01 05:24:31 -04:00
Roberto Rosario
394762047a Fix documents not saving the file encoding 2011-11-30 20:04:29 -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
5a916eb4b3 Further Russian translation updates (Сергей Глита [Sergey Glita]) 2011-11-22 15:51:01 -04:00
Roberto Rosario
33b2f69e7f Spanish translation updates 2011-11-22 11:45:52 -04:00
Roberto Rosario
eabc694b56 Updated language source file 2011-11-22 11:29:21 -04:00
Roberto Rosario
f73ce55c34 Updated the document smart widget for the new API call format 2011-11-22 09:23:31 -04:00
Roberto Rosario
db89cdde55 Updated apps to use the new document widget 2011-11-22 09:05:35 -04:00
Roberto Rosario
3f8e2b5640 Finished new smarter document image widget 2011-11-22 09:05:03 -04:00
Roberto Rosario
4cf935925b Added views that return the document image as a base64 encoded string 2011-11-22 07:52:55 -04:00
Roberto Rosario
b5a1f92a9c Added support for base64 encoded document images 2011-11-22 07:51:16 -04:00
Roberto Rosario
2ee236e1c5 Revert back to simple document widget 2011-11-22 05:51:30 -04:00
Roberto Rosario
a6a00cbc15 Document image serving uses now a fixed mimetype provided by converter.DEFAULT_FILE_FORMAT_MIMETYPE to help browser rendering 2011-11-22 00:57:54 -04:00
Roberto Rosario
e9ff82f696 Corrected multi exception line format in document_html_widget 2011-11-21 06:27:50 -04:00
Roberto Rosario
3f33924d4a Updated document mode to pass the document mimetype when calling convert to avoid a chain of mimetype detections 2011-11-21 06:24:19 -04:00
Roberto Rosario
244cbc9911 Added icon for the page count update view 2011-11-21 05:47:01 -04:00
Roberto Rosario
436ad2c3fe Added a new view to update the page count of previously uploaded documents 2011-11-21 05:41:48 -04:00
Roberto Rosario
a9d211f32f Added size and page_count properties to the document model 2011-11-21 05:40:41 -04:00
Roberto Rosario
91203a9593 Merged all document widget generation code into one place 2011-11-19 03:59:09 -04:00
Roberto Rosario
fd2a284505 Only allow clickable thumbnails for document with a valid image in the multi page view 2011-11-07 02:07:56 -04:00
Roberto Rosario
b6ccb20988 Only allow clickable thumbnails for document with a valid image 2011-11-07 02:06:33 -04:00
Roberto Rosario
557c960094 Updated python converter backend, document model and staging module to use the new get_mimetype API 2011-11-07 00:05:25 -04:00
Roberto Rosario
b39f5c4ba1 Updated compiles translation files 2011-11-03 21:10:42 -04:00
Roberto Rosario
d31c297d13 Spanish translation updates 2011-11-03 21:08:28 -04:00