Commit graph

259 commits

Author SHA1 Message Date
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
Cayo Puigdefabregas 898846b1df add base admin panel for admin users 2024-10-03 17:46:02 +02:00
Cayo Puigdefabregas 13ba92a6fc Edit or Delete a CUSTOM_ID 2024-10-03 12:49:07 +02:00
cayop 74d6126c0b Merge pull request 'pagination' (#6) from pagination into main
Reviewed-on: #6
2024-10-02 10:53:20 +00:00
Cayo Puigdefabregas 2f17d01780 fix pagination 2024-10-02 12:51:40 +02:00
Cayo Puigdefabregas 2b4b469b0e fix pagination in lots 2024-10-02 12:27:20 +02:00
Cayo Puigdefabregas aa31aefb42 Pagination for list of devices in dashboard and lots 2024-10-02 12:13:05 +02:00
pedro 029640347d docker-reset.sh: arg to make it easier to deploy 2024-09-28 12:11:20 -03:00
Cayo Puigdefabregas 665fbf852a fix link snapshot with user 2024-09-27 14:25:00 +02:00
Cayo Puigdefabregas 9dfaf0f60b token api activate 2024-09-27 14:23:25 +02:00
Cayo Puigdefabregas b8ab991a4f . 2024-09-27 09:48:46 +02:00
pedro 94470cbdd1 add modelo datos 2024-09-26 20:35:41 -03:00
pedro b47b5d3b4b docker-reset: add detach arg for demo deployment 2024-09-26 20:06:37 -03:00
Cayo Puigdefabregas e96afda483 add details in dashboard for placeholder 2024-09-26 13:09:55 +02:00
Cayo Puigdefabregas f39cdefc75 remove trash 2024-09-26 12:09:45 +02:00
Cayo Puigdefabregas dffe663e05 remove units and quantities addapted 2024-09-26 12:04:13 +02:00
cayop 76457893f5 Merge pull request 'add shortid and refactor unassigned devices table' (#5) from tau_shortid into tau
Reviewed-on: #5
2024-09-26 09:58:49 +00:00
cayop fc0bb95017 Merge pull request 'device: avoid hids duplication' (#4) from tau_hids-dup into tau
Reviewed-on: #4
2024-09-26 09:56:48 +00:00
Cayo Puigdefabregas fae8882c21 Merge branch 'tau_placeholder-add-ux-bug' into tau 2024-09-26 11:23:44 +02:00
cayop ce80d1f3c2 Merge branch 'tau' into tau_placeholder-add-ux-bug 2024-09-26 09:09:23 +00:00
Cayo Puigdefabregas 1a28e071e9 fix bug remove usb nets iface 2024-09-26 10:10:15 +02:00
pedro e2f5358d83 add shortid and refactor unassigned devices table 2024-09-26 00:22:21 -03:00
pedro 58c0e9059a device: avoid hids duplication 2024-09-26 00:10:48 -03:00
pedro e3b0d70f04 fix typo: customer_id -> custom_id 2024-09-25 23:10:41 -03:00
pedro 5b84d81590 new_device: UX: clarify add component details 2024-09-25 22:48:03 -03:00
pedro b5b90c50f6 placeholder form: route to unassigned devices
An empty form can be filled, and if you press multiple times save, it
saves multiple devices/placeholders

edit device goes to unassigned devices, so probably is the same for
new device
2024-09-25 22:32:26 -03:00
Cayo Puigdefabregas 59f6ac705c fix components 2024-09-25 19:04:29 +02:00
Cayo Puigdefabregas 54ef0bb41c add parsing components with new workbench 2024-09-25 12:51:08 +02:00
pedro bab540187c docker: refactor init env vars 2024-09-24 09:52:18 -03:00
pedro b024dd1a11 docker: add optional DEMO env var
that includes the default snapshot import
2024-09-24 09:50:57 -03:00
pedro 665310651c docker: update to latest python, do lxc trick
lxc cannot build, do a trick
2024-09-23 22:03:51 -03:00
pedro 765b017ac2 good default django settings for deployments
current docker deployment was not taking in account deployment with DOMAIN

- domain is enforced, localhost by default
- .env.example proposed (right now only with DOMAIN)
2024-09-23 13:09:48 -03:00
Cayo Puigdefabregas 2ed33270ed get the first network card 2024-09-23 14:30:47 +02:00
Cayo Puigdefabregas d277e6cbaa fix bug 2024-09-23 14:14:30 +02:00
Cayo Puigdefabregas 756570c7b4 this get the integrate network card 2024-09-23 13:44:04 +02:00
Cayo Puigdefabregas ebe80ffea6 add prints 2024-09-20 19:48:53 +02:00
Cayo Puigdefabregas bdaaa2740d fixed geting mac 2024-09-20 19:47:04 +02:00
Cayo Puigdefabregas b36636d28e print macs 2024-09-20 18:22:27 +02:00
Cayo Puigdefabregas d144cef7b8 add mac 2024-09-20 18:05:37 +02:00
pedro b534d69750 docker-reset.sh: add debug flag 2024-09-20 12:28:48 -03:00
pedro ecb0877b36 docker: bugfix to make it work 2024-09-20 12:27:07 -03:00
pedro d491fdd47e docker-reset.sh: add force 2024-09-20 12:20:38 -03:00
pedro 1834aab36e add docker-reset
with the usual operations to restart everything
2024-09-20 12:19:12 -03:00
pedro fa59feaf77 docker: allow config of ALLOWED_HOSTS 2024-09-20 12:17:35 -03:00
Cayo Puigdefabregas f5f0ea3c35 fix delete token. only user tokens allowed 2024-09-20 14:30:31 +02:00
Cayo Puigdefabregas 2f4a85f79b add interface for create tokens by user for user 2024-09-20 14:25:49 +02:00