Commit Graph

154 Commits

Author SHA1 Message Date
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
cayop 355355dcfc Merge pull request 'admin-users' (#7) from admin-users into main
Reviewed-on: #7
2024-10-07 14:59:24 +00:00
Cayo Puigdefabregas 35bf1a65a2 add admin from add_user command 2024-10-07 16:57:26 +02:00
Cayo Puigdefabregas 472d61bdc2 fix bugs 2024-10-07 16:56:58 +02:00
Cayo Puigdefabregas 124395a313 edit and delete user 2024-10-07 16:56:24 +02:00
Cayo Puigdefabregas 693dbc639c add institutio as owner of devices and add owner to xapian docs 2024-10-04 17:32:53 +02:00
pedro 55e85e5a3e README: fix typos 2024-10-03 19:48:27 +02:00