Commit Graph

160 Commits

Author SHA1 Message Date
pedro 9f05dee6a7 docker-compose: bugfix DOMAIN vs ALLOWED_HOSTS 2024-10-18 15:25:27 +02:00
pedro 1d9d100fae settings: bugfix format assert error msg on DOMAIN 2024-10-18 15:25:27 +02:00
pedro 096b83da81 settings: bugfix assert error msg on DOMAIN 2024-10-18 15:25:27 +02:00
pedro d995db8181 settings: improve assert error msg on DOMAIN 2024-10-18 15:25:27 +02:00
pedro 3d2cb7d184 docker: improve debug 2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas b7c4926c39 add commit_id in settings 2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas e6141bcc7f more debug in the error answer from api 2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas 0b55d34d74 locale in settings 2024-10-18 15:25:27 +02:00
pedro c49644ffbd add ALLOWED_HOSTS in docker compose 2024-10-18 15:25:27 +02:00
pedro 425b032273 docker: use demo true/false instead of y/n 2024-10-18 15:25:27 +02:00
pedro bf47d4bc5d docker: bugfix wrong detection of demo 2024-10-18 15:25:27 +02:00
pedro 67869bc6f5 add predefined_token
as an alternative to the randomly generated, which is also possible
when no predefined_token is defined

also update .env.example vars
2024-10-18 15:25:27 +02:00
pedro f757c58356 snapshot processing: improve warning msg
add comment TODO that system annotation should happen
2024-10-18 15:25:27 +02:00
pedro 0e8607d93e docker: make default user admin 2024-10-18 15:25:27 +02:00
pedro 3d10217599 docker-reset: remove better the db
now that in db dir there are snapshots stored
2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas d8b6d3ded6 fix hid in details of device 2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas c422eaddeb clean code comment 2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas 090ecc275f fix bug of tag 2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas 2f9b61667d remove pdbs 2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas 003d224c3e add save snapshots for imports and uploads 2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas fae269eb8d save placeholders 2024-10-18 15:25:27 +02:00
Cayo Puigdefabregas 69a54b92fb save snapshots on disk from api 2024-10-18 15:25:27 +02:00
pedro d04216ad79 api snapshot public_url bugfix
with the following code the URL is more appropriate (it basically
mirrors the user's request)

before:

    http://localhost/device/{shortid}

after

    http://localhost:8000/device/{shortid}
2024-10-15 13:16:02 +02:00
Cayo Puigdefabregas b4c4ed2689 email up 2024-10-15 11:06:08 +02:00
pedro 4cad3eb063 relevant note for current snapshot api 2024-10-14 20:08:50 +02:00
Cayo Puigdefabregas e47a7d80f2 fix dhid 6 characters 2024-10-14 17:54:58 +02:00
Cayo Puigdefabregas 2b40104180 change response from api/snapshots 2024-10-14 17:45:54 +02:00
Cayo Puigdefabregas 1bf2c1558d email system and reset password 2024-10-14 17:45:54 +02:00
pedro 32be1999e9 init manual because of init of placeholder docs
rel #3
2024-10-14 13:53:37 +02:00
Cayo Puigdefabregas d638b12d39 fix api token owner for user 2024-10-14 12:22:28 +02:00
Cayo Puigdefabregas 4e9df475c3 Merge branch 'main' into data-institution 2024-10-14 11:37:41 +02:00
Cayo Puigdefabregas dcf2e43d57 we don't need for the moment edit profile of user 2024-10-14 11:34:52 +02:00
Cayo Puigdefabregas 4b9875157c resolve conflicts 2024-10-14 11:24:14 +02:00
Cayo Puigdefabregas f1b3941e57 fix template reset passwords 2024-10-14 11:15:37 +02:00
cayop 4453095657 Merge pull request 'data-institution' (#10) from data-institution into main
Reviewed-on: #10
2024-10-11 15:16:13 +00:00
Cayo Puigdefabregas 0c36e12da6 only admin users can see admin pages 2024-10-11 17:15:37 +02:00
Cayo Puigdefabregas 59d99fa434 add form for edit institution details with template 2024-10-11 17:04:47 +02:00
Cayo Puigdefabregas 3b70a6c7cc add form for edit institution details 2024-10-11 17:04:33 +02:00
cayop b620079da7 Merge pull request 'user-panel' (#9) from user-panel into main
Reviewed-on: #9
2024-10-11 14:26:35 +00:00
Cayo Puigdefabregas 017dc818da add url in settings and legacy 2024-10-11 13:46:21 +02:00
Cayo Puigdefabregas e0929c03c7 add settings page for download settings file 2024-10-11 13:04:37 +02:00
Cayo Puigdefabregas 3e967c5a1a token to user panel link and add tags to tokens 2024-10-10 14:03:08 +02:00
Cayo Puigdefabregas 533bee30ec merge new main 2024-10-10 12:40:52 +02:00
Cayo Puigdefabregas a6d077aa2d resolve conflicts 2024-10-10 12:28:03 +02:00
Cayo Puigdefabregas 1ef48b3dd8 merge ekoa 2024-10-10 11:44:23 +02:00
Cayo Puigdefabregas 36fe3310a3 user panel 2024-10-10 10:35:27 +02:00
cayop 0a9596d33b Merge pull request 'search' (#8) from search into main
Reviewed-on: #8
2024-10-09 16:04:01 +00:00
Cayo Puigdefabregas 3e7b5c1df5 lot over institution and not over user 2024-10-09 18:00:56 +02:00
Cayo Puigdefabregas e0258cbf02 add search for hids 2024-10-09 13:05:18 +02:00
Cayo Puigdefabregas 1abd846922 search in xapian 2024-10-09 12:18:09 +02:00