From a5952f64d631c9f1e34cad454af62bd14cfda685 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Tue, 5 Dec 2023 00:26:58 +0800 Subject: [PATCH] Add .env sample and add pycache folders to gitignore --- equipment_tracker/.env.sample | 21 +++++++++++++++++ .../__pycache__/__init__.cpython-311.pyc | Bin 153 -> 153 bytes .../__pycache__/admin.cpython-311.pyc | Bin 815 -> 896 bytes .../accounts/__pycache__/apps.cpython-311.pyc | Bin 528 -> 528 bytes .../__pycache__/models.cpython-311.pyc | Bin 4551 -> 4551 bytes .../__pycache__/permissions.cpython-311.pyc | Bin 1044 -> 1044 bytes .../__pycache__/serializers.cpython-311.pyc | Bin 3745 -> 3745 bytes .../accounts/__pycache__/urls.cpython-311.pyc | Bin 474 -> 474 bytes .../__pycache__/0001_initial.cpython-311.pyc | Bin 3755 -> 3755 bytes .../__pycache__/__init__.cpython-311.pyc | Bin 164 -> 164 bytes .../api/__pycache__/urls.cpython-311.pyc | Bin 433 -> 433 bytes .../__pycache__/settings.cpython-311.pyc | Bin 5915 -> 6025 bytes .../config/__pycache__/urls.cpython-311.pyc | Bin 1682 -> 1682 bytes .../__pycache__/__init__.cpython-311.pyc | Bin 161 -> 161 bytes .../__pycache__/admin.cpython-311.pyc | Bin 790 -> 808 bytes .../__pycache__/apps.cpython-311.pyc | Bin 551 -> 551 bytes .../__pycache__/models.cpython-311.pyc | Bin 3267 -> 3267 bytes .../__pycache__/0001_initial.cpython-311.pyc | Bin 3282 -> 3282 bytes .../__pycache__/__init__.cpython-311.pyc | Bin 172 -> 172 bytes .../__pycache__/__init__.cpython-311.pyc | Bin 155 -> 155 bytes .../__pycache__/admin.cpython-311.pyc | Bin 1137 -> 1134 bytes .../__pycache__/apps.cpython-311.pyc | Bin 534 -> 534 bytes .../__pycache__/models.cpython-311.pyc | Bin 4079 -> 4079 bytes .../__pycache__/serializers.cpython-311.pyc | Bin 12688 -> 12693 bytes .../__pycache__/urls.cpython-311.pyc | Bin 1767 -> 1767 bytes .../__pycache__/views.cpython-311.pyc | Bin 5622 -> 5622 bytes .../__pycache__/0001_initial.cpython-311.pyc | Bin 5615 -> 5615 bytes ...pment_description_and_more.cpython-311.pyc | Bin 1275 -> 1275 bytes .../__pycache__/__init__.cpython-311.pyc | Bin 166 -> 166 bytes equipment_tracker/schema.yml | 22 ++++-------------- 30 files changed, 25 insertions(+), 18 deletions(-) create mode 100644 equipment_tracker/.env.sample 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 3e9616e6d2e89e4bc4fb5a69d908fd504d44d29f..6aba6bcda4f40ef4576e3d52ec772339ac81cf1d 100644 GIT binary patch delta 19 ZcmbQqIFpfkIWI340}vEu=T7AA0{|)e1bzSj delta 19 ZcmbQqIFpfkIWI340}yPv9x#!+4*)GS1rPuL diff --git a/equipment_tracker/accounts/__pycache__/admin.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/admin.cpython-311.pyc index d594b060e0e6f8ffe2aa3d6d02e2147deb6969ff..fa866701b068b875f05f1e0f1e63ea0b0f7b3ca9 100644 GIT binary patch delta 240 zcmZ3_*1*oYoR^o20SF4Sb5j>j0^$L|XP3!LjH)WBtXb?30S1N?rWEEB#!SXE zrZmPXpkNex3R5tHCd*`9MrE#BY-yRPIVr`O9Fv0>ow;vuLb$0V#gnHpIx;#=zRswi zc0)k&ih%MBPTmO|7o>D9@ataS(EGs5q|Ww{fk}|9!4m|FgeU)HERYfcT2LemB1C}1 tFAkgB{FKt1RJ$VS$?Z(hTC9w09~dx+37H>3qF)eF0+V@|F%MrUEGeppGIz5FrF4esS33=BJeAq}mlpPQJkut;NJ> Z|A7IMn2`AqB>Dv*#WgvWS)K)C5CBb!B-sD} diff --git a/equipment_tracker/accounts/__pycache__/apps.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/apps.cpython-311.pyc index a2ff15cf343ccab0fad748a2dc4e1ebdc2091906..f53facf04160344e3e9f5f7bd12c8366ffe8b6ad 100644 GIT binary patch delta 20 acmbQhGJ%DAIWI340}vEu=WgU?WdZ;!{{#yF delta 20 acmbQhGJ%DAIWI340}yPv9g2Hw63u delta 20 acmZ1|yHJ*UIWI340}wEqMQ!As#s>f|m;^=u diff --git a/equipment_tracker/accounts/__pycache__/urls.cpython-311.pyc b/equipment_tracker/accounts/__pycache__/urls.cpython-311.pyc index fd784f670640c393f20d9527872ac033ecd17ec1..89895ee93213625e174e1293625628fa365b7d48 100644 GIT binary patch delta 20 acmcb`e2bZTIWI340}vEu=WgUa&j>gS1fKu^ delta 19 ZcmZ3&xP*~=IWI340}yPv9x#!6CIBwX1u*~s diff --git a/equipment_tracker/api/__pycache__/urls.cpython-311.pyc b/equipment_tracker/api/__pycache__/urls.cpython-311.pyc index 25ad2707d00e148cb2a0f9ceaecadd43574aca02..17422eb1608686e4c6229098ad13daa099ebf52e 100644 GIT binary patch delta 20 acmdnUypfrEIWI340}vEu=WgU)#s~m20tD*- delta 20 acmdnUypfrEIWI340}yPv9Yum5Z-rLAOX=L3x!hX2T%%yU1+V^V(Uj+nkGgQpqDo$we7Pak}l=z(!{he z@!-v76EE(8G^Qrn8%J+FdGz9?r~U+QUY(^!btcbDGVe3<%)B3!cdF;J$Kw*nn)N-c zckBr<$8qv!yvn#2E`F2XBgh0loIIf2fV(bQ{FY`sW*>|*(P#W-QJY_XZ3M*cvM6ZR z2+mg?i)0yO<2j4O0#yP26UK)r2Pg+I%tOQ*xnc=IFKjTI?@-X(2%eI}*MW@n%1066 z5sdIC!qn}?D8%{jz;APv#^(i z)OtT7HQ93Uf~61UUv@hC?L}49n%&y|o~C!Qo!0hlU2A1`tfWJ!Yumcs%`52c)}gnR zMyq-uRQjLnJFa~0@3t4MhTi#4pBgigLvPre@nz_(EU%PH#jQ$dvs_tQ-FjNuSl@Wk z&w3N0t4Wtx_qETBXTF~Q`jP$8E5ElNc`l{GFB=Ok{Sf57L;fbRf^i<$lp4hS194BM A#{d8T delta 546 zcmZutO-~bH5Z-y+x^e49Duq&@&{ClEYx^N8ej=cpP1MWWu+L_#O;#u+CMJBu#Dh0* z6EE(8aKHoJn&`oUSO0()PI~1JaCNqX#Dg<=X5M+9zWUsWlJ`Dyy7yiNZr)g(Bf zpWCj6_yO^t_yO?=4DygvCeP|LZGZUu^sjfKNE`~=QI9cv;Smh+D3YAQu=Fx8B6jqE znuJuKyToG{!#L8eLIxAa1`3my3bu6~$24-7fr)%i3xUCD6gh(u%0gtniOK+#KsAXc zQ01&NH&8STS7U9+dX@yXYV%2)p-i{cpCRP2ZLt>dCYU+ zF&=Oc3tW-riQPmif^tSxu{ zM4p?Obfej6lsoN}M$2j2Eoa5^HflCD8ZCJ1_N%t*clzE^-9PPn*ZmO7DsxrH!!N9V f^MCa3o7PU`cPzde*|EBv_;*D`znXZady?=MlbwMx diff --git a/equipment_tracker/config/__pycache__/urls.cpython-311.pyc b/equipment_tracker/config/__pycache__/urls.cpython-311.pyc index 791acf48dec3d094bc7a49d623476ea19473072a..7b05965f3f889b44f349fcb1537b0c9c6284baea 100644 GIT binary patch delta 20 acmbQlJBgQjIWI340}vEu=WgU~X9EB)mjtH( delta 20 acmbQlJBgQjIWI340}yPv9lg&MkQ-a z=38vVC5a`a#kaUp5=&C!6H`)BQ*QC(Bo>#%mllA8QZ!j^vE(J@rWSDm%_styU&IY0 aCI>S1i^~BS4RH8C%|qD5ey~^vO(&N}{*e vic1npN{cmFZn5Mg=B5^L0+mhHW0aa4&)6?41>`iq;RA8`30a$2nUom;Q4blY diff --git a/equipment_tracker/equipment_groups/__pycache__/apps.cpython-311.pyc b/equipment_tracker/equipment_groups/__pycache__/apps.cpython-311.pyc index 35227907a15fad734d66007439ebf94059b60c08..8d0ac3bb8557800d794664034d3188f14e573401 100644 GIT binary patch delta 20 acmZ3^vYdr`IWI340}vEu=WgVdVFCa!mjqA% delta 20 acmZ3^vYdr`IWI340}w2G6}gdHh6w;Ppak#$ diff --git a/equipment_tracker/equipment_groups/__pycache__/models.cpython-311.pyc b/equipment_tracker/equipment_groups/__pycache__/models.cpython-311.pyc index 53f2c92a52fdf07c9e8e6241e983b530b2632208..c5f7bc179817cb0c7cfbac99cdc2ad7271de3561 100644 GIT binary patch delta 20 acmX>sd03KrIWI340}vEu=WgWQ!2sd03KrIWI340}w2G6}gdn2M+)|{ss5| 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 3bc5c6a4a6a38086c1596cc35d1ee32670413afb..0c119f93a5ad1f2676e83dcd847cbaf7caecc4ab 100644 GIT binary patch delta 20 acmca4c}bFcIWI340}vEu=WgUa&I15DO$CJj delta 20 acmca4c}bFcIWI340}z-iWpCs@&I159_XPj| 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 84fffe733cc6cd1e0b6911ab88942903b62c71ab..711896f6783d5f979e3ff048eee0c20b2d022b35 100644 GIT binary patch delta 19 ZcmZ3(xQ3B?IWI340}vEu=T78a2mma)1h)VH delta 19 ZcmZ3(xQ3B?IWI340}w2G6*-Z6ApkHV1y=w7 diff --git a/equipment_tracker/equipments/__pycache__/__init__.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/__init__.cpython-311.pyc index d16071060682fd572435953c8ef49d7ba880c637..a039287d87c1f7097d41a2b891ccac9048c64a15 100644 GIT binary patch delta 19 ZcmbQuIGd4sIWI340}vEu=T79F001gQ1cU$p delta 19 ZcmbQuIGd4sIWI340}yPv9x#!60st+41r`7R diff --git a/equipment_tracker/equipments/__pycache__/admin.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/admin.cpython-311.pyc index c7b5adebb044fb5139c43d7828deff055a5545c4..8b4a9744ffec0830332c1066ba817197c637dffa 100644 GIT binary patch delta 256 zcmey!@s5LcIWI340}vEu=cYPrYxRUdp(HQFO8wliXxa zM%l@YOyaCXAU%_3Fv$lY)D`i8w1|KRQ4k>pA|zl0$f#l|AkhGa55!Cw{68=;iWoKc zfFMMh#AH$C2zjtRRI`3@*yQG?l;)(`6)8;aVP5LM%xLt10h72OtN#%s`~^gOWM*Je OzQU;VfeA$+*eU>(yfx+k delta 303 zcmaFI@sWdfIWI340}w2G6`9JlkvD^pQFC$`qY5`ju!tK-_-RgF%D9A4c(NChoPiKf zU^+u8Llk2QLljdAV-#}=Q!s-j^DQyg!qUuw+|;}h&%EN2#JuEG$CTX6yvYlh0YQikvB^Tr5%ORy zsK)%_u*uC&Da}c>E0UYs$-LBoiP7i-1151nR{tYN_zQ^m$jrc`e1%cz0~3luuvGwH CSU?8= diff --git a/equipment_tracker/equipments/__pycache__/apps.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/apps.cpython-311.pyc index c9b62fad322f7f17d2186339f745e9065ab4c8d1..1fb92d17450d61c5a75853949bde5065dfafb830 100644 GIT binary patch delta 20 acmbQnGL40MIWI340}vEu=WgWYW&!{$?*ttH delta 20 acmbQnGL40MIWI340}yPv9$$m`F`%YKV1BeS?9zo;@kGi7qUpy=jGUU3xwIW`Us delta 41 vcmbQ5JRzBPIWI340}zN?WT(#B$m`F`%XW(^BeS?9zo;@kGi7rgueu5V@pcSF diff --git a/equipment_tracker/equipments/__pycache__/urls.cpython-311.pyc b/equipment_tracker/equipments/__pycache__/urls.cpython-311.pyc index 35140b8728c9eccf2515399e97e9ea7b604d4178..3387376301c792069f199751e1228b0da2ca642e 100644 GIT binary patch delta 20 acmaFP`<$11IWI340}vEu=WgV_!v+96-vy=s delta 20 acmaFP`<$11IWI340}yPv9 delta 20 acmey(`J0n_IWI340}!z4WpCvEzybg}0R=4p diff --git a/equipment_tracker/equipments/migrations/__pycache__/__init__.cpython-311.pyc b/equipment_tracker/equipments/migrations/__pycache__/__init__.cpython-311.pyc index 1f4cad87352e5114474501f175256bd9cba7136d..2c4bf8882464475278652d9c881a71c50d3c238c 100644 GIT binary patch delta 19 ZcmZ3+xQvl|IWI340}vEu=T79F4FD_L1f>7~ delta 19 ZcmZ3+xQvl|IWI340}yPv9x#!6HUKXc1vdZy 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