Commit Graph

124 Commits

Author SHA1 Message Date
6e51085210 removed the trusted origin foo again - added proper detection of https 2024-11-19 23:31:56 +01:00
5163834de4 added CSRF trusted origin config, added tzdata - needed in debug mode 2024-11-19 23:09:53 +01:00
841be4f1bb Merge pull request 'correct type conversion in csv import' (#19) from bugfix/import-fuckups into develop
Reviewed-on: #19
2024-11-19 20:42:59 +01:00
0d4019832f Merge branch 'develop' into bugfix/import-fuckups 2024-11-19 20:41:15 +01:00
fed63fd45f Merge pull request 'feature/small-useability-improvements' (#20) from feature/small-useability-improvements into develop
Reviewed-on: #20
Reviewed-by: Mario Hüttel <mario.huettel@linux.com>
2024-11-19 20:32:58 +01:00
d10c48f2b9 fixed usage of input fields 2024-11-19 00:39:15 +01:00
a54cd33880 Merge pull request 'mhu/4-port-to-django-5.1 Port to recent Django version' (#18) from mhu/4-port-to-django-5.1 into develop
Reviewed-on: #18
2024-11-19 00:03:22 +01:00
7c1465428f automatically select first finding in autocomplete fields on enter 2024-11-18 23:55:38 +01:00
9afa7d709b automatically select the search input when the start of a scanned uuid is detected 2024-11-18 23:55:12 +01:00
f2ea45cd19 correct type conversion in csv import 2024-11-18 23:08:34 +01:00
7678e6ad88 remove unnecessary uuid import from distributor views 2024-11-18 21:31:25 +01:00
5ce7d99db2 Fix import oder in package views 2024-11-18 21:28:37 +01:00
5109f8d094 Fixup imports in storage/stock views 2024-11-18 21:27:21 +01:00
6d0ec7e448 Fixup imports in package views 2024-11-18 21:19:59 +01:00
8422ff0eeb Fixup imports in manufacturer views 2024-11-18 21:17:31 +01:00
1f3ed7f8ed Fixup imports of distributor views 2024-11-18 21:15:05 +01:00
b3f8041f08 Fixup import of component_views.py 2024-11-18 21:08:55 +01:00
173f0e3c91 Fix trailing whitespace 2024-11-18 20:58:39 +01:00
a2f96ed4f0 Unclutter the views and move them to separate files 2024-11-18 20:56:23 +01:00
741a634546 Update reqirements.txt for Django 5.1.3 2024-11-18 20:19:38 +01:00
74e0be71b9 Upgrade to Dajngo 5.1.3 2024-11-18 20:17:55 +01:00
ce00f018fd Merge branch 'develop' into mhu/4-port-to-django-5.1 2024-11-18 20:08:42 +01:00
6c6ef9e5fc Move vscode folder up by one to include everything in the workspace 2024-11-18 19:53:09 +01:00
b9d788935d Merge pull request 'extended api with read only fields to improve label writing' (#17) from feature/expand-components-in-storage-api into develop
Reviewed-on: #17
Reviewed-by: Mario Hüttel <mario.huettel@linux.com>
2024-11-17 23:42:24 +01:00
aa08de0d10 extended api with read only fields to improve label writing 2024-11-17 23:28:15 +01:00
4ee55c1675 Change pencil icon to pen with square to be consistent with the rest of the app 2024-11-17 23:06:06 +01:00
9adafeb882 Finish broken sentence in comment 2024-11-17 23:03:43 +01:00
f1e366c7af Merge pull request 'added CSV upload to enable fast creation of similar components' (#14) from feature/csv-import into develop
Reviewed-on: #14
Reviewed-by: Mario Hüttel <mario.huettel@linux.com>
2024-11-17 21:55:43 +01:00
390eaac396 Merge branch 'develop' into feature/csv-import 2024-11-17 21:44:53 +01:00
3d63357534 made the readme and example for the CSV import accessible from the form directly 2024-11-17 21:44:30 +01:00
1c08f433d4 Merge pull request 'Implement #11 mhu/11-add-docker-compose-setup: Add compose setup' (#12) from mhu/11-add-docker-compose-setup into develop
Reviewed-on: #12
Reviewed-by: Stefan Strobel <stefan.strobel@shimatta.net>
2024-11-17 20:19:28 +01:00
8a8f2cdea4 Fix typo in comment 2024-11-17 20:08:53 +01:00
20a83c7e91 added CSV upload to enable fast creation of similar components 2024-11-17 19:54:15 +01:00
66f4eea77d Update env file example to contain Volume mount point for DB folder 2024-11-17 19:36:27 +01:00
561b2aed27 Add the /healthcheck path which returns an HTTP200 OK response for checking the helath of the container after startup 2024-11-17 19:10:28 +01:00
a59fad4866 Add self hosted entrypoint file for easier debugging which will use the integrated django server to serve all files 2024-11-17 17:33:45 +01:00
144a65ee05 Fix typo in eample env file 2024-11-17 16:52:18 +01:00
fc5fa9f740 Fix startup issue with postgres on first start. Implement health check of postgres and delay django container until it's healthy. 2024-11-17 16:50:10 +01:00
d2ce635f05 Add compose setup
* Use a dedicated postgresql container as database
* Controlled via .env file
* Ecample script for interactive container startup
2024-11-17 16:37:23 +01:00
64d0a1bfb3 Make gunicorn listen to all incoming IPs on Port 8000. This is necessary to use a spearate net with the postgres container. 2024-11-17 16:36:36 +01:00
b057fedb5f Add optional env variable DJANGO_FORCE_DEV_MODE to force production settings to dev mode for debugging 2024-11-17 16:34:58 +01:00
254bf2bdf0 made the verbose storage name optional in form 2024-11-16 19:11:25 +01:00
6e01b1939d Merge pull request 'feature/sst_storage_verbose_name' (#10) from feature/sst_storage_verbose_name into develop
Reviewed-on: #10
Reviewed-by: Mario Hüttel <mario.huettel@linux.com>
2024-11-16 13:27:19 +01:00
a77f46d697 added verbose name to storages to be printed on labels etc. 2024-11-16 13:22:59 +01:00
50ecaa2cc0 Merge pull request 'sst/storage_templates' (#3) from sst/storage_templates into develop
Reviewed-on: #3
2024-11-15 22:58:18 +01:00
3e72cfe5d8 fixed usage of if instead of elif 2024-11-15 22:55:30 +01:00
5e478ba624 removed bullshit 2024-11-10 21:21:07 +01:00
8280fe7116 added option to change storages 2024-11-10 21:13:56 +01:00
2e295e4691 removed unneeded stuff 2024-11-10 20:47:21 +01:00
0b27e9f064 added templating mechanism for storages 2024-11-10 20:46:45 +01:00