Giter Site home page Giter Site logo

svkurowski / aktenkoffer Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 547 KB

๐Ÿ’ผ Personal document management made easy.

License: MIT License

Ruby 62.07% JavaScript 4.64% HTML 25.26% SCSS 2.86% Shell 0.31% TypeScript 3.43% Procfile 0.07% Dockerfile 1.36%
document-management personal-utility webapp rails ruby self-hosted crm

aktenkoffer's People

Contributors

afesguerra avatar dependabot[bot] avatar markokajzer avatar svkurowski avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

aktenkoffer's Issues

Async upload on documents index page

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.

Add linter

  • MUST include CircleCI config to execute the linter on every PR
  • SHOULD include information on running the linter from CLI in README.md
  • MAY include information on setting up a pre-commit hook that runs the linter in README.md

Page overflows viewport resulting in scrolling

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).

User authentication with cookies

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.

Using async job, extract text from PDF and store it in DB

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.

Move document edit and delete links from index page to show page

At the moment, we expect users to:

  1. Create documents a lot
  2. Search/index documents a lot
  3. Edit documents rarely
  4. Delete documents almost never

Thus, we do not need the edit and delete document links as easily accessible on the index page. Advantages of moving them:

  • Can make whole document row clickable on index view instead of having show button
  • Thus, more possibilities for a nicer design of a single document on the index view.

(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).

Create home contact in seeds

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.

Remove all respond_to blocks

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.

Move contacts creation functionality to document#new and document#edit

We shouldn't need separate contacts views.

Definition of done:

  • Contacts input on document form is a searchable select / text box
  • Users can create a new contact right from the document form (e.g. using Modal or just by inputting contact name)

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.

Error when running rake assets:precompile

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

Implement API key authentication for API access

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.