Commit graph

281 commits

Author SHA1 Message Date
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
Cayo Puigdefabregas a08428c90b commit in login page 2024-10-18 12:03:31 +02:00
pedro f87897de85 add commit footer for docker 2024-10-18 10:45:08 +02:00
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