Coder Social home page Coder Social logo

alma-fines's Issues

search all izs

instead of selecting iz to look for fines in, search them all by default.

Do not search users's home IZ

show_fines() should omit the user's home IZ when searching for fines (fines like that should never be paid through this app).

De-prototype app for MVP deployment

  • Remove basic auth front gate
  • Restrict access to backdoor to HQ
  • Review templates, remove prototype references, look for typos
  • Change 'wrlcfinesapp' comment tag to something prod/test configurable
  • Move audit log to log sub-directory (in settings?)
  • options for hard-coded login URL? or hairpin fines.wrlc.org?
  • use a random string for the SHARED_SECRET (change in Aladin-SP/auth/issue.php also)

Don't display negative fines

Shouldn't happen, but I managed to create one for myself on accident. Maybe just filter and don't display if balance is negative?

wsgi deployment

Use gnunicorn or similar to run this app (nginx as proxy for production).

better Alma api error handling

Write an "alma request" function to make all calls that returns a standard response on failure thats more useable than just 400. (include message).

Add partial payments

requested by @dongourley

Add textarea to each fee row pre-populated with total amount. Users can change the amount before submitting. Frontend.js will check this field when building payment queue. Also will need validation. Value must be between 0 and the total balance. (no overpaying or invalid amounts like negative numbers).

move hard-coded login form variables to settings.py

So this can be more easily used by other consortia, need to be able to define the institutions in the consortium (currently hard-coded in templates/login.html) and the URL to send the user to login (currently hard-coded in static/js/frontend.js) to settings.py.

Also, need a setting in settings.py to turn on and off the backdoor login that is defined in fines_app.py.

Update README.md when these settings are implemented.

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.