Commit Graph

187 Commits

Author SHA1 Message Date
Roberto Rosario
b5a1f92a9c Added support for base64 encoded document images 2011-11-22 07:51:16 -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
a9d211f32f Added size and page_count properties to the document model 2011-11-21 05:40:41 -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
0a2591d58f Removed unused import, PEP8 cleanups 2011-08-12 02:13:23 -04:00
Roberto Rosario
066065ccab Implemented document file delete method on Document delete (Needed by Django 1.3) 2011-08-05 21:31:58 -04:00
Roberto Rosario
beea100cd9 Updated the get_page_count logic to let the converter raise UnknownFileFormat
and let the document model handle the exception, defaulting to one page
count and saving a comment on the document description
2011-08-05 03:48:51 -04:00
Roberto Rosario
cd0b1577a7 Renamed the exception UnknownFormat to UnkownFileFormat and updated all
backends get_page_count method to raise it, having the api's get_page_count
function decide how to handle the exception
2011-08-05 03:24:01 -04:00
Roberto Rosario
b64f98b667 Merged document upload code and moved it to the model, improved method of handling compressed file 2011-07-29 05:01:50 -04:00
Roberto Rosario
80bb9810f1 Just display a document page transformation shot name (exclude the document page name) 2011-07-25 05:03:51 -04:00
Roberto Rosario
e94e9407ec Added invalidate_cached_image function for document models instances, remove duplication 2011-07-25 03:42:17 -04:00
Roberto Rosario
39010d7653 Don't translate argument in help text example 2011-07-25 03:00:06 -04:00
Roberto Rosario
48adc6d113 Migrate document source transformation validation solution to document page transformation 2011-07-25 02:51:19 -04:00
Roberto Rosario
f589da84fd Added new mimetype app to handle mimetype guessing and provide mimetype related icons when a preview is not available 2011-07-22 03:42:16 -04:00
Roberto Rosario
90e876ca93 Code cleanup 2011-07-21 11:46:15 -04:00
Roberto Rosario
d202d23862 Merge branch 'smart_staging' into master_merge_test
Conflicts:
	apps/common/__init__.py
	requirements/development.txt
	requirements/production.txt
2011-07-21 03:55:21 -04:00
Roberto Rosario
c55dd90c88 Moved document preview generation to model, implmented pre caching 2011-07-21 03:47:31 -04:00
Roberto Rosario
5829bbde4d Added per OCR queue transformation models and CRUD views to replace the CONVERTER_OCR_OPTIONS with the new refactored converter transformations systems 2011-07-17 01:32:46 -04:00
Roberto Rosario
0fe032f7c9 Finished fixing new document transformations 2011-07-16 01:09:36 -04:00
Roberto Rosario
743ae0fce0 Initial commit of the converter image transformation refactor 2011-07-15 06:16:14 -04:00
Roberto Rosario
415f0c8daa Refactored the converter backend system 2011-07-13 22:53:33 -04:00
Roberto Rosario
1e944c7130 Initial commit of document source transformations 2011-07-08 15:30:52 -04:00
Roberto Rosario
841b02c969 Use python-magic to determine a document's mimetype otherwise fallback to use python's mimetypes library 2011-07-07 21:38:36 -04:00
Roberto Rosario
0fa1e0c706 Moved get_metadata_string Document class method to the metadata app 2011-07-02 00:44:12 -04:00
Roberto Rosario
bafda3f7ad Updated document page model to display the current page number in relation to the total page count 2011-06-28 01:05:11 -04:00
Roberto Rosario
604ef90f79 Implementes an advanced search feature, which allows for individual field terms 2011-06-22 00:47:37 -04:00
Roberto Rosario
de28122c66 Spanish translation updates 2011-06-20 13:44:38 -04:00
Roberto Rosario
b1b68bda67 Added meta informartion to the document type model and ordering information [a-z] 2011-06-12 15:12:12 -04:00
Roberto Rosario
b04a681422 blank=True is not enough to make models.ForeignKey optional, adding null=True too, thanks to Brian Huxley for finding this one 2011-06-12 12:44:47 -04:00
Roberto Rosario
12d3ec4ed5 Added comments documenting some methods 2011-05-30 22:59:14 -04:00
Roberto Rosario
39da4d2e6b Recompose the document filename using os.extsep.join 2011-05-30 22:45:56 -04:00
Roberto Rosario
6c3aa1f37b Initial commit of the generic history app 2011-05-26 05:07:26 -04:00
Roberto Rosario
53cb857a8f PEP8 cleanups 2011-05-25 00:00:23 -04:00
Roberto Rosario
e7a42a609a Moved RecentDocument manager to a separate managers.py file 2011-05-24 20:01:29 -04:00
Roberto Rosario
1b43ec2c96 Really remove South app and change document metadata fields 'value' from a TextField to a CharField(256) 2011-05-21 00:54:36 -04:00
Roberto Rosario
17c749a80a Removed ununsed import, and did other cleanups 2011-05-20 00:37:53 -04:00
Roberto Rosario
36da126e82 Unicode update 2011-05-19 22:56:22 -04:00
Roberto Rosario
19c361937f Renamed DocumentMetadataindex model to DocumentIndex and moved it to it's own app 2011-05-14 03:50:06 -04:00
Roberto Rosario
bc252d4ae4 Finished conversion of Mayan to the new document grouping app and paradigm 2011-05-12 04:03:05 -04:00
Roberto Rosario
ea20cde597 Created new metadata app and move all code relating metadata to it 2011-05-10 03:41:35 -04:00
Roberto Rosario
b6d2654cc7 Added changes to expand the scope of the document grouping functionality 2011-05-09 23:57:23 -04:00
Roberto Rosario
e03a90883a Commited new metadata/document_type paradirm 2011-05-09 02:25:09 -04:00
Roberto Rosario
c44a1f947c Added document printing support 2011-05-06 00:46:33 -04:00
Roberto Rosario
c8e8b368d2 Added comments and updated some string to unicode 2011-05-01 23:36:40 -04:00
Roberto Rosario
5dacebb083 Made document comments searchable 2011-05-01 16:23:35 -04:00
Roberto Rosario
8fbd174643 Initial changes to support document tags 2011-04-27 17:23:52 -04:00
Roberto Rosario
20dadafd61 Message tweaks and translation updates 2011-04-27 14:44:46 -04:00
Roberto Rosario
947a9ea3e6 Moved transformation string compilation to model 2011-04-24 03:59:19 -04:00
Roberto Rosario
5b5a90100c flake8 cleanups 2011-04-23 23:03:56 -04:00