Skip to content
Snippets Groups Projects
  1. Sep 28, 2018
  2. Sep 21, 2018
  3. Sep 20, 2018
  4. Sep 14, 2018
  5. Sep 13, 2018
  6. Aug 21, 2018
  7. Aug 08, 2018
    • Benjamin Bertrand's avatar
      Replace jwt decorators with flask-login · fb3f568e
      Benjamin Bertrand authored
      Using flask-login request_loader, we can validate jwt tokens.
      This allows to use the same decorators for the web UI (using cookies)
      and the API (using JWT) as well as the current_user local proxy.
      fb3f568e
  8. Aug 02, 2018
    • Benjamin Bertrand's avatar
      Remove flask-bootstrap dependency · 7c98683d
      Benjamin Bertrand authored
      The official flask-bootstrap is still not compatible with bootstrap 4.
      The application basically only uses the main template and one macro.
      It's easier to include directly bootstrap in CSEntry.
      It makes upgrading to the latest bootstrap much easier and removes a
      dependency.
      
      Update to bootstrap 4.1.3
      
      Added:
      - jquery-3.3.1.min.js
      - bootstrap.bundle.min.js (include popper but not jquery)
      
      Note that jquery.slim can't be used.
      We need for example $.getJSON for datatables.
      7c98683d
  9. Aug 01, 2018
  10. Jul 31, 2018
  11. Jul 27, 2018
  12. Jul 19, 2018
  13. Jul 17, 2018
  14. Jul 13, 2018
  15. Jul 12, 2018
  16. Jul 11, 2018
  17. Jul 09, 2018
    • Benjamin Bertrand's avatar
      Use sqlalchemy events hook to trigger tasks · d9516a98
      Benjamin Bertrand authored
      Use the before_flush hook to trigger the core services update.
      It's much nicer than having to call a method in several places.
      
      The core services update is triggered on creation/modification/deletion
      of an Interface.
      
      In the before_flush we can manipulate the session (add objects) but we
      shouldn't call commit.
      The db.session.commit() was removed from the launch_task method.
      d9516a98
  18. Jul 06, 2018
  19. Jul 03, 2018
  20. Jul 02, 2018
Loading