Commit Graph

114 Commits

Author SHA1 Message Date
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
6dd781021c Merge pull request 'sst/tinkeing' (#2) from sst/tinkeing into master
Reviewed-on: #2
2024-04-25 20:37:14 +02:00
7e0fc86b7f running migration without interaction in entrypoint script 2023-12-11 00:34:43 +01:00
7a1bf054f5 disabling django ssl redirection in order to run this in docker (without ssl obviously) 2023-12-11 00:23:36 +01:00
5b6f4e16ef tinkered around to get this app running inside a container using alpine and socket based psql 2023-12-10 23:09:33 +01:00
191705c6a6 Add migration command for old file name structure 2022-08-05 21:49:58 +02:00
ba0da19810 Rework file upload structure to use subfolders for better file performance 2022-08-05 21:49:00 +02:00
873e13542a Correctly implement filtering for components 2022-01-04 20:06:22 +01:00
1e302e4595 Revert "Add filtering to component API"
This reverts commit c6fae17154.
2022-01-04 20:05:11 +01:00
c6fae17154 Add filtering to component API 2022-01-04 20:03:20 +01:00
3b1eb6118f Revert "Add filtering to component API"
This reverts commit 76c79403f2.
2022-01-04 20:02:13 +01:00