svkurowski / aktenkoffer Goto Github PK
View Code? Open in Web Editor NEW๐ผ Personal document management made easy.
License: MIT License
๐ผ Personal document management made easy.
License: MIT License
Allow to upload document straight from index page using AJAX (just the file, no other fields). If one document is uploaded, redirect to that documents show page. If multiple documents are uploaded, show a list of them with links to their show pages.
Also, possibly we can use native HTML date input or a JS date input
Somehow the body of the page is larger than the viewport and thus it's possible to scroll the page even though the content is completely inside the viewport. I believe this is caused by the padding
on the .section
. Need to reproduce with basic bulma page (e.g. JSFiddle).
We should authenticate the user using cookies and not basic authentication. We can consider allowing multiple users in one instance although I'm not a fan of that so far because it increases complexity.
For now, this should actually just use the embedded text and not do any OCR on it's own - that is still the client's responsibility.
The text should not be exposed in documents#show or documents#edit.
The use case is to be able to later search documents by their contents as well as automated title and date extraction.
The PR must include setting up the job handler in Heroku.
Still shows "No file chosen", but the file is actually there (when submitting it is uploaded correctly).
Add AWS Cloudformation template for S3 Bucket and IAM user to make creating a new instance easier
At the moment, we expect users to:
Thus, we do not need the edit and delete document links as easily accessible on the index page. Advantages of moving them:
(This will change in the future, especially 3. for which we want to enable users to create raw/no-info documents and add that later but we can revise this then).
Cover analyze_document job in tests
Would have prevented 900695c
LoadError
Unable to autoload constant Api::DocumentsController, expected /Users/svkurowski/Projects/aktenkoffer/app/controllers/api/documents_controller.rb to define it
We at least need to specify the build packs key to say that heroku/nodejs
and heroku/ruby
are required. Also, this would be very helpful initial documentation of all the environment variables.
It could look basically the same. The form elements should be in the right column. We could consider reordering the columns on mobile so that the form comes above the preview but not sure whether that is a good idea.
We can create a home contact with hardcoded id and name in seeds, and use this by default. That way, new users won't have to restart the app after creating their own home contact.
Enable user to set and view tags on documents
And possibly for SCSS as well?
As with rubocop, should be integrated with CircleCI
As discussed with @markokajzer we will create separate controller classes in an API
namespace so we can safely remove the respond_to blocks and support for JSON format from the regular controllers.
We shouldn't need separate contacts views.
Definition of done:
Why is this a good idea? Right now, when I upload a new document for which I don't have a contact created yet, I need to move to contacts page, create the contact, go back to document#new page, input everything again and select the new contact.
Safari Version 13.1.2 (14609.3.5.1.5)
Instead of PDF preview, it just shows a gray box.
Stackoverflow reference: https://stackoverflow.com/questions/41070632/how-can-i-get-a-pdf-to-display-in-an-object-tag-in-safari-when-the-data-is-a-3
As a workaround, we can use service_url
for Safari which avoids the redirect
Running via Spring preloader in process 24549
Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
rake aborted!
LoadError: cannot load such file -- coffee_script
-e:1:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
Note: The error about Yarn is okay and was there before, but the load error about coffee script is new and is making rake exit with error.
Known-good commit: 293ae1b
User should be able to create API keys. All APIs should be able to be called using these API keys. This is useful for e.g. scripts that perform scans of a document and then immediately upload the file to Aktenkoffer.
Initial version: filter just on title and maybe sender/recipient
Next step: Filter on other fields using search operators such as in https://support.google.com/mail/answer/7190?hl=en
Don't use elastic search or something like that, just PostgreSQL's text search feature
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.