Commit Graph

65 Commits

Author SHA1 Message Date
Roberto Rosario
c6890c487a Extract a file like object's file name as per docs (using the .name property) and not an unicode representation of the file object instance. Reference: https://docs.python.org/2.7/library/stdtypes.html#file-objects 2016-03-30 01:32:53 -04:00
Roberto Rosario
5bb04cc8f4 Add newly uploaded document to the recent document list of the user. 2016-03-16 16:42:01 -04:00
Roberto Rosario
652613452b Add new document upload wizard step to attach tags. GitLab issue #208. 2016-02-05 03:25:27 -04:00
Roberto Rosario
97d8529994 Add boolean field to email source to control if the body of the email is to be stored or not. 2015-09-30 20:57:47 -04:00
Roberto Rosario
3d0c9485d0 Add support for storing the subject and "from" value of an email as metadata. 2015-09-30 20:20:27 -04:00
Roberto Rosario
654825829c Store the body of emails as a document just like attachments. 2015-09-26 02:59:24 -04:00
Roberto Rosario
7392e80fc2 PEP8 Cleanups. 2015-08-24 20:55:45 -04:00
Roberto Rosario
28c45bf988 Add support for including a metadata dictionary as an attachment for the POP3 and IMAP sources. 2015-08-13 03:05:55 -04:00
Roberto Rosario
97f3451caf Move statements according to code style. 2015-07-29 17:15:38 -04:00
Roberto Rosario
4527563d89 PEP8 cleanups, specially E501 line too long. 2015-07-22 18:21:37 -04:00
Roberto Rosario
76fef8ab8d Don't error out when trying to delete a non existant periodic task. 2015-07-17 13:07:16 -04:00
Roberto Rosario
91a9b3b045 Finish document upload task refactor. Increase failure tolerance to database Operational Errors. 2015-07-15 04:36:23 -04:00
Roberto Rosario
1213175112 Sources app upload workflow refactoring. 2015-07-15 01:03:57 -04:00
Roberto Rosario
1b37a13bf5 Rename source upload handling methods to be more meaningful. 2015-07-14 10:20:19 -04:00
Roberto Rosario
133fcdc53c Assign tasks to specific queues. Add support for transient queues. gh-issue #222, gh-issue #230. 2015-07-10 21:25:20 -04:00
Roberto Rosario
e891fe9525 PEP8 cleanups and code style cleanups. 2015-07-10 17:19:36 -04:00
Roberto Rosario
4c25314772 os.listdir returns str for non-latin filename, use unicode cast in path name to avoid this. Related to gh-issue #163. 2015-07-08 02:02:24 -04:00
Roberto Rosario
4860b44daf Rename source model title field to 'label'. 2015-07-07 23:30:52 -04:00
Roberto Rosario
e82a9d0c9f Add missing import. 2015-07-07 02:58:55 -04:00
Roberto Rosario
8cc05bbefb Initial commit of new document upload workflow which allows for document promises to be returned after POST request, gh-issue #194. Add new signal when a document is uploaded and finally ready, gh-issue #193 and gh-issue #213. 2015-07-05 03:33:27 -04:00
Roberto Rosario
e4623fadcd PEP8 cleanups 2015-06-23 02:23:23 -04:00
Roberto Rosario
c5ca22f6d2 Use tuples instead of lists to define model ordering 2015-06-16 02:12:31 -04:00
Roberto Rosario
dea882d023 Add error logging to document source models 2015-06-09 20:22:58 -04:00
Roberto Rosario
719476a8e4 Add transformation copy support and update sources models to use it 2015-06-08 22:29:51 -04:00
Roberto Rosario
506d53c58a Convert sources app to use new transformation system 2015-06-08 15:56:16 -04:00
Roberto Rosario
de6182aea0 Initial commit of the converter refactor 2015-06-05 03:35:07 -04:00
Roberto Rosario
26d64c45f5 Add the @python_2_unicode_compatible to all models. Closes issue #67 2015-04-01 02:40:19 -04:00
Roberto Rosario
0db6a4fdef Remove lambdas from models, they are not serializable. Add remaining migrations. Issue #33 2015-03-30 05:34:50 -04:00
Roberto Rosario
bd041457c9 Update project to use Django 1.7.7. Issue #33 2015-03-30 03:43:56 -04:00
Roberto Rosario
d59ea3ede2 Add from __future__ import unicode_literals, issue #37 2015-01-19 04:06:40 -04:00
Roberto Rosario
b44b57aab8 Fix email base document source 2014-11-20 03:13:32 -04:00
Roberto Rosario
9f2692d36a PEP8 cleanup, unused import removal 2014-11-02 21:20:29 -04:00
Roberto Rosario
ba1729106f Pass arguments to the logger the correct way 2014-11-02 20:55:21 -04:00
Roberto Rosario
12c64bd83b Update source app views, model method and API calls to use the document app's models, managers. 2014-10-29 05:53:46 -04:00
Roberto Rosario
4007a407e4 Remove delete_after_upload field for watch folders, files are deleted after uploading regardless,
otherwisre they are re uploaded at the next check.
2014-10-27 00:32:35 -04:00
Roberto Rosario
491b7a7af4 Re enable per source document type field 2014-10-25 19:38:42 -04:00
Roberto Rosario
f868d44461 Issue #32, Initial commit to support watch folders 2014-10-25 04:30:58 -04:00
Roberto Rosario
e0e4671ca3 No need to have this code in the Source model 2014-10-25 01:57:35 -04:00
Roberto Rosario
c23205f464 Add MultiFormView class based view, convert InteractiveUpload view to MultiForm view 2014-10-24 18:18:40 -04:00
Roberto Rosario
4acf88c9a6 Initial commit of the sources upload, new version and new document refactor 2014-10-23 17:10:02 -04:00
Roberto Rosario
e8762e4792 Issue #87, Per document language selection 2014-10-22 02:35:16 -04:00
Roberto Rosario
3c72d62087 Issue #82, make document type a required field 2014-10-21 16:35:39 -04:00
Roberto Rosario
0d6b7dfbc6 Move class and form class functions to the utils module, issue #56: remove whilelist and blacklist support 2014-10-21 03:21:32 -04:00
Roberto Rosario
f8fe2ada0e Issue 83, simplify sources app navigation and views 2014-10-21 03:13:51 -04:00
Roberto Rosario
eaf1e55fab Improve periodic task creation and interval reuse 2014-10-20 21:57:19 -04:00
Roberto Rosario
7133943963 Issue #65, complete set of code to implement receiving documents via email (experimental) 2014-10-20 17:48:45 -04:00
Roberto Rosario
59eb6202fe Initial commit to support receiving documents via email 2014-10-20 02:22:19 -04:00
Roberto Rosario
1e9d01c673 Move default ACLS application, recent document setting and document creation event from the Source model to the Document model
Now event document directly created by the save() method of the Document model will have those properties set
2014-10-10 01:55:32 -04:00
Roberto Rosario
37875df7a1 Add missing imports, PEP8 cleanups 2014-10-09 20:25:55 -04:00
Roberto Rosario
db2980b36a Remove unnecessary direct index update at upload, signal handlers now do that 2014-10-08 09:37:51 -04:00