Commit graph

317 commits

Author SHA1 Message Date
pedro 03b9c5fea8 docker-compose: bugfix DOMAIN vs ALLOWED_HOSTS 2024-10-18 10:28:02 +02:00
pedro a65d78e72f settings: bugfix format assert error msg on DOMAIN 2024-10-18 10:27:27 +02:00
pedro b0754d8e97 settings: bugfix assert error msg on DOMAIN 2024-10-18 10:26:38 +02:00
pedro 460fb678e9 settings: improve assert error msg on DOMAIN 2024-10-18 10:24:40 +02:00
pedro 8e8130fc34 docker: improve debug 2024-10-18 10:20:33 +02:00
Cayo Puigdefabregas 182f854570 add commit_id in settings 2024-10-18 09:52:09 +02:00
Cayo Puigdefabregas 1bb3b12636 more debug in the error answer from api 2024-10-17 19:08:00 +02:00
Cayo Puigdefabregas d94b12d1a0 locale in settings 2024-10-17 18:39:10 +02:00
pedro 2e638e40a9 add ALLOWED_HOSTS in docker compose 2024-10-16 22:48:42 +02:00
pedro 1751dc98c2 docker: use demo true/false instead of y/n 2024-10-16 22:07:40 +02:00
pedro ce9a69d6f7 docker: bugfix wrong detection of demo 2024-10-16 22:05:09 +02:00
pedro 71f68e2d4b 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-16 21:54:54 +02:00
pedro 11f4b647c2 snapshot processing: improve warning msg
add comment TODO that system annotation should happen
2024-10-16 21:14:22 +02:00
pedro 7b95ce0541 docker: make default user admin 2024-10-16 21:09:16 +02:00
pedro 94fd1d685a docker-reset: remove better the db
now that in db dir there are snapshots stored
2024-10-16 20:39:57 +02:00
Cayo Puigdefabregas cd3cc62004 fix hid in details of device 2024-10-16 17:40:00 +02:00
Cayo Puigdefabregas ccda270de0 clean code comment 2024-10-16 14:19:09 +02:00
Cayo Puigdefabregas 2d7b74c556 fix bug of tag 2024-10-16 14:17:35 +02:00
Cayo Puigdefabregas d1cd44f8f6 remove pdbs 2024-10-15 17:57:45 +02:00
Cayo Puigdefabregas 69bd81289f add save snapshots for imports and uploads 2024-10-15 17:56:54 +02:00
Cayo Puigdefabregas 5bf5bc2360 save placeholders 2024-10-15 17:56:54 +02:00
Cayo Puigdefabregas 92d9837a91 save snapshots on disk from api 2024-10-15 17:56:54 +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
sergio_gimenez ac91c23872 Merge branch 'main' into feature/90-implement-public-website-for-device 2024-10-15 11:06:41 +02:00
Cayo Puigdefabregas b4c4ed2689 email up 2024-10-15 11:06:08 +02:00
sergio_gimenez 84b3579851 Merge branch 'main' into feature/90-implement-public-website-for-device 2024-10-15 10:08:12 +02:00
sergio_gimenez 9b24d5e42b Merge branch 'main' into feature/90-implement-public-website-for-device 2024-10-15 10:05:01 +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 6e4bb3729f lot: add a button to show/hide closed lots
by default:

- a lot is open
- hide closed lots
2024-10-14 13:56:37 +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