Commit Graph

505 Commits

Author SHA1 Message Date
Roberto Rosario
11edaaf4e7 Added signature file to the document model and the related method to add, verify and open the signature file 2011-12-06 01:49:45 -04:00
Roberto Rosario
2b6530d9d3 Use cStringIO whenever possible 2011-12-05 22:49:24 -04:00
Roberto Rosario
3b943af6d8 Update translation files 2011-12-05 13:55:33 -04:00
Roberto Rosario
f5211313b7 Dont fetch public keys when creating document version 2011-12-05 13:35:15 -04:00
Roberto Rosario
292d3ffc3d Dont import deprecated 'get_encoding', simplify decrypted data encapsulation 2011-12-05 07:28:02 -04:00
Roberto Rosario
a32b92b5fc Add signature state field to the Document model, update it whenever a new version is added, use it to return the raw or the decrypted content when calling the open method 2011-12-05 06:54:41 -04:00
Roberto Rosario
7ed3b329dc Fix document main menu highlighting 2011-12-05 06:54:03 -04:00
Roberto Rosario
ba5b54e1aa Add migration to add the signature state field to the Document model 2011-12-05 06:51:26 -04:00
Roberto Rosario
24f443fe1a Improve document version views navigation and active menu feedback 2011-12-04 06:16:37 -04:00
Roberto Rosario
071139c5bf Add document signature verification app 2011-12-04 05:52:09 -04:00
Roberto Rosario
071fed8996 Add new version upload option to use new file filename as the document filename 2011-12-04 03:21:34 -04:00
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