diff --git a/equipment_tracker/.env.sample b/equipment_tracker/.env.sample new file mode 100644 index 0000000..9a5e266 --- /dev/null +++ b/equipment_tracker/.env.sample @@ -0,0 +1,21 @@ +# Django +SECRET_KEY = "" + +# Superuser Credentials +DJANGO_ADMIN_USERNAME = "" +DJANGO_ADMIN_EMAIL = "" +DJANGO_ADMIN_PASSWORD = "" + +# Production Email Credentials +PROD_EMAIL_HOST = "" +PROD_EMAIL_HOST_USER = "" +PROD_EMAIL_HOST_PASSWORD = "" +PROD_EMAIL_PORT = "" +PROD_EMAIL_TLS = "" + + +# Dev Email Credentials +DEV_EMAIL_HOST = "" +DEV_EMAIL_HOST_USER = "" +DEV_EMAIL_HOST_PASSWORD = "" +DEV_EMAIL_PORT = "" diff --git a/equipment_tracker/accounts/__pycache__/__init__.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/__init__.cpython-311.pyc index 3e9616e..6aba6bc 100644 Binary files a/equipment_tracker/accounts/__pycache__/__init__.cpython-311.pyc and b/equipment_tracker/accounts/__pycache__/__init__.cpython-311.pyc differ diff --git a/equipment_tracker/accounts/__pycache__/admin.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/admin.cpython-311.pyc index d594b06..fa86670 100644 Binary files a/equipment_tracker/accounts/__pycache__/admin.cpython-311.pyc and b/equipment_tracker/accounts/__pycache__/admin.cpython-311.pyc differ diff --git a/equipment_tracker/accounts/__pycache__/apps.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/apps.cpython-311.pyc index a2ff15c..f53facf 100644 Binary files a/equipment_tracker/accounts/__pycache__/apps.cpython-311.pyc and b/equipment_tracker/accounts/__pycache__/apps.cpython-311.pyc differ diff --git a/equipment_tracker/accounts/__pycache__/models.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/models.cpython-311.pyc index 2e08770..3cebb93 100644 Binary files a/equipment_tracker/accounts/__pycache__/models.cpython-311.pyc and b/equipment_tracker/accounts/__pycache__/models.cpython-311.pyc differ diff --git a/equipment_tracker/accounts/__pycache__/permissions.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/permissions.cpython-311.pyc index 2a5017a..b47a84c 100644 Binary files a/equipment_tracker/accounts/__pycache__/permissions.cpython-311.pyc and b/equipment_tracker/accounts/__pycache__/permissions.cpython-311.pyc differ diff --git a/equipment_tracker/accounts/__pycache__/serializers.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/serializers.cpython-311.pyc index 6cad693..40b7893 100644 Binary files a/equipment_tracker/accounts/__pycache__/serializers.cpython-311.pyc and b/equipment_tracker/accounts/__pycache__/serializers.cpython-311.pyc differ diff --git a/equipment_tracker/accounts/__pycache__/urls.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/urls.cpython-311.pyc index fd784f6..89895ee 100644 Binary files a/equipment_tracker/accounts/__pycache__/urls.cpython-311.pyc and b/equipment_tracker/accounts/__pycache__/urls.cpython-311.pyc differ diff --git a/equipment_tracker/accounts/migrations/__pycache__/0001_initial.cpython-311.pyc b/equipment_tracker/accounts/migrations/__pycache__/0001_initial.cpython-311.pyc index 83fa4ae..227be5b 100644 Binary files a/equipment_tracker/accounts/migrations/__pycache__/0001_initial.cpython-311.pyc and b/equipment_tracker/accounts/migrations/__pycache__/0001_initial.cpython-311.pyc differ diff --git a/equipment_tracker/accounts/migrations/__pycache__/__init__.cpython-311.pyc b/equipment_tracker/accounts/migrations/__pycache__/__init__.cpython-311.pyc index 6447e93..5a70566 100644 Binary files a/equipment_tracker/accounts/migrations/__pycache__/__init__.cpython-311.pyc and b/equipment_tracker/accounts/migrations/__pycache__/__init__.cpython-311.pyc differ diff --git a/equipment_tracker/api/__pycache__/urls.cpython-311.pyc b/equipment_tracker/api/__pycache__/urls.cpython-311.pyc index 25ad270..17422eb 100644 Binary files a/equipment_tracker/api/__pycache__/urls.cpython-311.pyc and b/equipment_tracker/api/__pycache__/urls.cpython-311.pyc differ diff --git a/equipment_tracker/config/__pycache__/settings.cpython-311.pyc b/equipment_tracker/config/__pycache__/settings.cpython-311.pyc index d8c3599..bab2bfd 100644 Binary files a/equipment_tracker/config/__pycache__/settings.cpython-311.pyc and b/equipment_tracker/config/__pycache__/settings.cpython-311.pyc differ diff --git a/equipment_tracker/config/__pycache__/urls.cpython-311.pyc b/equipment_tracker/config/__pycache__/urls.cpython-311.pyc index 791acf4..7b05965 100644 Binary files a/equipment_tracker/config/__pycache__/urls.cpython-311.pyc and b/equipment_tracker/config/__pycache__/urls.cpython-311.pyc differ diff --git a/equipment_tracker/equipment_groups/__pycache__/__init__.cpython-311.pyc b/equipment_tracker/equipment_groups/__pycache__/__init__.cpython-311.pyc index 683ba00..260befc 100644 Binary files a/equipment_tracker/equipment_groups/__pycache__/__init__.cpython-311.pyc and b/equipment_tracker/equipment_groups/__pycache__/__init__.cpython-311.pyc differ diff --git a/equipment_tracker/equipment_groups/__pycache__/admin.cpython-311.pyc b/equipment_tracker/equipment_groups/__pycache__/admin.cpython-311.pyc index 38a8337..3528662 100644 Binary files a/equipment_tracker/equipment_groups/__pycache__/admin.cpython-311.pyc and b/equipment_tracker/equipment_groups/__pycache__/admin.cpython-311.pyc differ diff --git a/equipment_tracker/equipment_groups/__pycache__/apps.cpython-311.pyc b/equipment_tracker/equipment_groups/__pycache__/apps.cpython-311.pyc index 3522790..8d0ac3b 100644 Binary files a/equipment_tracker/equipment_groups/__pycache__/apps.cpython-311.pyc and b/equipment_tracker/equipment_groups/__pycache__/apps.cpython-311.pyc differ diff --git a/equipment_tracker/equipment_groups/__pycache__/models.cpython-311.pyc b/equipment_tracker/equipment_groups/__pycache__/models.cpython-311.pyc index 53f2c92..c5f7bc1 100644 Binary files a/equipment_tracker/equipment_groups/__pycache__/models.cpython-311.pyc and b/equipment_tracker/equipment_groups/__pycache__/models.cpython-311.pyc differ diff --git a/equipment_tracker/equipment_groups/migrations/__pycache__/0001_initial.cpython-311.pyc b/equipment_tracker/equipment_groups/migrations/__pycache__/0001_initial.cpython-311.pyc index 3bc5c6a..0c119f9 100644 Binary files a/equipment_tracker/equipment_groups/migrations/__pycache__/0001_initial.cpython-311.pyc and b/equipment_tracker/equipment_groups/migrations/__pycache__/0001_initial.cpython-311.pyc differ diff --git a/equipment_tracker/equipment_groups/migrations/__pycache__/__init__.cpython-311.pyc b/equipment_tracker/equipment_groups/migrations/__pycache__/__init__.cpython-311.pyc index 84fffe7..711896f 100644 Binary files a/equipment_tracker/equipment_groups/migrations/__pycache__/__init__.cpython-311.pyc and b/equipment_tracker/equipment_groups/migrations/__pycache__/__init__.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/__pycache__/__init__.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/__init__.cpython-311.pyc index d160710..a039287 100644 Binary files a/equipment_tracker/equipments/__pycache__/__init__.cpython-311.pyc and b/equipment_tracker/equipments/__pycache__/__init__.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/__pycache__/admin.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/admin.cpython-311.pyc index c7b5ade..8b4a974 100644 Binary files a/equipment_tracker/equipments/__pycache__/admin.cpython-311.pyc and b/equipment_tracker/equipments/__pycache__/admin.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/__pycache__/apps.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/apps.cpython-311.pyc index c9b62fa..1fb92d1 100644 Binary files a/equipment_tracker/equipments/__pycache__/apps.cpython-311.pyc and b/equipment_tracker/equipments/__pycache__/apps.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/__pycache__/models.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/models.cpython-311.pyc index 97c1c87..819abd1 100644 Binary files a/equipment_tracker/equipments/__pycache__/models.cpython-311.pyc and b/equipment_tracker/equipments/__pycache__/models.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/__pycache__/serializers.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/serializers.cpython-311.pyc index 7dca595..f7c3202 100644 Binary files a/equipment_tracker/equipments/__pycache__/serializers.cpython-311.pyc and b/equipment_tracker/equipments/__pycache__/serializers.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/__pycache__/urls.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/urls.cpython-311.pyc index 35140b8..3387376 100644 Binary files a/equipment_tracker/equipments/__pycache__/urls.cpython-311.pyc and b/equipment_tracker/equipments/__pycache__/urls.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/__pycache__/views.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/views.cpython-311.pyc index 9d53abc..6c5b48c 100644 Binary files a/equipment_tracker/equipments/__pycache__/views.cpython-311.pyc and b/equipment_tracker/equipments/__pycache__/views.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/migrations/__pycache__/0001_initial.cpython-311.pyc b/equipment_tracker/equipments/migrations/__pycache__/0001_initial.cpython-311.pyc index 0ff86ba..1b91541 100644 Binary files a/equipment_tracker/equipments/migrations/__pycache__/0001_initial.cpython-311.pyc and b/equipment_tracker/equipments/migrations/__pycache__/0001_initial.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/migrations/__pycache__/0002_alter_equipment_description_and_more.cpython-311.pyc b/equipment_tracker/equipments/migrations/__pycache__/0002_alter_equipment_description_and_more.cpython-311.pyc index 2f58f2a..b5b2411 100644 Binary files a/equipment_tracker/equipments/migrations/__pycache__/0002_alter_equipment_description_and_more.cpython-311.pyc and b/equipment_tracker/equipments/migrations/__pycache__/0002_alter_equipment_description_and_more.cpython-311.pyc differ diff --git a/equipment_tracker/equipments/migrations/__pycache__/__init__.cpython-311.pyc b/equipment_tracker/equipments/migrations/__pycache__/__init__.cpython-311.pyc index 1f4cad8..2c4bf88 100644 Binary files a/equipment_tracker/equipments/migrations/__pycache__/__init__.cpython-311.pyc and b/equipment_tracker/equipments/migrations/__pycache__/__init__.cpython-311.pyc differ diff --git a/equipment_tracker/schema.yml b/equipment_tracker/schema.yml index e042267..1282edd 100644 --- a/equipment_tracker/schema.yml +++ b/equipment_tracker/schema.yml @@ -520,7 +520,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -548,7 +547,6 @@ paths: required: true security: - jwtAuth: [] - - {} responses: '201': content: @@ -569,7 +567,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -593,7 +590,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -626,7 +622,6 @@ paths: required: true security: - jwtAuth: [] - - {} responses: '200': content: @@ -658,7 +653,6 @@ paths: $ref: '#/components/schemas/PatchedEquipmentInstance' security: - jwtAuth: [] - - {} responses: '200': content: @@ -679,7 +673,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '204': description: No response body @@ -690,7 +683,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -707,7 +699,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -724,7 +715,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -752,7 +742,6 @@ paths: required: true security: - jwtAuth: [] - - {} responses: '201': content: @@ -773,7 +762,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -797,7 +785,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -830,7 +817,6 @@ paths: required: true security: - jwtAuth: [] - - {} responses: '200': content: @@ -862,7 +848,6 @@ paths: $ref: '#/components/schemas/PatchedEquipment' security: - jwtAuth: [] - - {} responses: '200': content: @@ -883,7 +868,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '204': description: No response body @@ -894,7 +878,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -911,7 +894,6 @@ paths: - api security: - jwtAuth: [] - - {} responses: '200': content: @@ -1172,6 +1154,9 @@ components: history_id: type: integer readOnly: true + id: + type: integer + readOnly: true name: type: string readOnly: true @@ -1193,6 +1178,7 @@ components: - history_date - history_id - history_user + - id - name PasswordResetConfirm: type: object