From 6bf9e7574a82f48f445ef25afebcb62cfdc7d4bb Mon Sep 17 00:00:00 2001 From: Jose Hernandez Date: Fri, 11 Aug 2023 16:04:08 -0500 Subject: [PATCH 1/4] Added static files from lab 1 --- server/db.sqlite3 | Bin 0 -> 131072 bytes .../djangoapp/templates/djangoapp/about.html | 46 ++++++++++++++++++ .../templates/djangoapp/contact.html | 46 ++++++++++++++++++ .../djangoapp/templates/djangoapp/index.html | 29 +++++++++-- server/djangoapp/urls.py | 4 +- server/djangoapp/views.py | 14 +++--- 6 files changed, 124 insertions(+), 15 deletions(-) create mode 100644 server/db.sqlite3 create mode 100644 server/djangoapp/templates/djangoapp/about.html create mode 100644 server/djangoapp/templates/djangoapp/contact.html diff --git a/server/db.sqlite3 b/server/db.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..422cb02e95ec06ca193c2736a5a2bf03077cd100 GIT binary patch literal 131072 zcmeI5ZEPFKdB?dTMT(Zll_l%e&7IE_ZQq%ZWi8)HU#~fyOxv<0+LooWb?9NcBv;hR ze33{>vMxYd%D$vX+5%0H04>m_C{Un9`=PH0iZnoxqA1#;O!YnV6|4S$jw01G3wwr#~Xow z!{G>$|MYj~bBV0DIveCSXISsI8gyJ-|MDO;=D$yE1pfQJQ^VgKer5O%z3+Rzt>&7v)llkEsb1UKXtdYW zVtZ2}E9qD?E*8Xsv{h9%t>)vii`mRlHn5zVySFcx*saPRiNJkW=tjBmv zD}_;hk5M0w2Jt;vXc0_0i1?{dkMIr=zp$V9wkM)HAC8EH{A$`>_whsN?s0aI*^(MK`VGdn3(xgmoNMXWbas8yRvwJ9}sHx$~WBCD}vLW$*B)#!G-O`YheQa>*S-MTexKb8zc<{h6$*q!3` zc)d#WEIkJ()QU<~t|*cimh;hMT-Iwt&*kr54Z6`GT_3t6qy{?Tf}y>8BOW1>;U2x# zl=J2GdCJayw$Md1^uEQK;?oMTlzDSLYwS;~h7>F5NCGOU(2`OQVxmAhW!5b1p|*E@X2{L@IM)n`<$9CA*l-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SPo(7ICp^M!(p$zY1!oT?4So7=IvJ0r80X+XdA+T@@0w4eaAOHd&00JNY0w4ea zAOHeS5dl2^KSh-RDIfp>AOHd&00JNY0w4eaAOHd&@Pr89`Tq%lgGQv1^a&LSZb1M9KmY_l00ck)1V8`;KmY_l00f>20*3kj{8J$aB0vBHKmY_l z00ck)1V8`;KmY_l00bU80s8#U@&D!^Klp$E2!H?xfB*=900@8p2!H?xfB* + + + + Dealership Review + + + + + + + + + + + + + + + + +
+ About Me! +
+ + + diff --git a/server/djangoapp/templates/djangoapp/contact.html b/server/djangoapp/templates/djangoapp/contact.html new file mode 100644 index 0000000000..4e6316c012 --- /dev/null +++ b/server/djangoapp/templates/djangoapp/contact.html @@ -0,0 +1,46 @@ + + + + + Dealership Review + + + + + + + + + + + + + + + + +
+ Contact Us! +
+ + + diff --git a/server/djangoapp/templates/djangoapp/index.html b/server/djangoapp/templates/djangoapp/index.html index 1a9ee6e39a..944dd7684e 100644 --- a/server/djangoapp/templates/djangoapp/index.html +++ b/server/djangoapp/templates/djangoapp/index.html @@ -11,15 +11,34 @@ + + + - - This is the index page of your Django app! - - + - + Home Page diff --git a/server/djangoapp/urls.py b/server/djangoapp/urls.py index 37b1c89d01..3f6b28cd16 100644 --- a/server/djangoapp/urls.py +++ b/server/djangoapp/urls.py @@ -10,9 +10,9 @@ # name the URL # path for about view - + path(route='about', view=views.about, name='about'), # path for contact us view - + path(route='contact', view=views.contact, name='contact'), # path for registration # path for login diff --git a/server/djangoapp/views.py b/server/djangoapp/views.py index 61cc664da0..4df27b47bd 100644 --- a/server/djangoapp/views.py +++ b/server/djangoapp/views.py @@ -16,15 +16,13 @@ # Create your views here. +def about(request): + if request.method == "GET": + return render(request, 'djangoapp/about.html') -# Create an `about` view to render a static about page -# def about(request): -# ... - - -# Create a `contact` view to return a static contact page -#def contact(request): - +def contact(request): + if request.method == "GET": + return render(request, 'djangoapp/contact.html') # Create a `login_request` view to handle sign in request # def login_request(request): # ... From 302f27b3f04cbe80082e79b4b3a21a1e7a041d04 Mon Sep 17 00:00:00 2001 From: unlovingmotherboard Date: Fri, 11 Aug 2023 19:11:38 -0500 Subject: [PATCH 2/4] stopping before I start working on the sign-up page --- server/db.sqlite3 | Bin 131072 -> 131072 bytes .../djangoapp/templates/djangoapp/index.html | 27 ++++++++++++++++-- server/djangoapp/urls.py | 5 ++-- server/djangoapp/views.py | 22 +++++++++++--- 4 files changed, 46 insertions(+), 8 deletions(-) diff --git a/server/db.sqlite3 b/server/db.sqlite3 index 422cb02e95ec06ca193c2736a5a2bf03077cd100..fb28c3cc27eb023af1bc16d45588e9f38c163ce9 100644 GIT binary patch delta 483 zcmajbJ#L#&0KoBDYNaeq4$us4RjCt!_uzqJDFgPi9k5>r<~e+*Qfk0BVDn*!0kOnN zF3{efM@So~cj(wTORvxyv>hsC>wo_*zuj(cx7+*ps>Oaf?6=r2A6};K`@kt}dnD#H zqLrXn1*^!{CmAj2jdhkAQZqa^V^IY#FoBw6fqzMh6p$@nhXYwNw>?eQ zWy1;a)KmgutEZ<|jUWx8kkIR%;Z^YfNqTP;n9dNF_&6eGOxgvT*<71-X;mPcO!|(; zCxM+O>?QeUv!|(fi?eOQthvW;=lFy9iWqC1) zpkECjFKJ=(Q-YQZj84|G0mwadnDC`;#f!Fp`E@B&SXEYPtoQm8!#_WT08#{C36iXn zY>P%ML>{vZibW5{L%LW6g=iayDa(vqGU&Iz_{V znQNY7fGR~<$rM9b$;Ba@wOQPCe3ic;bBpjYo#|5r7MU7$*K8#d-}5R8VrJ#O zJaG?8LQ+PeD7t#7u9bywWD0P))_gzsF9zw?VyJ + + + Home Page - + \ No newline at end of file diff --git a/server/djangoapp/urls.py b/server/djangoapp/urls.py index 3f6b28cd16..0907f657e0 100644 --- a/server/djangoapp/urls.py +++ b/server/djangoapp/urls.py @@ -16,9 +16,10 @@ # path for registration # path for login - + path(route='login', view=views.login_request, name='login'), # path for logout - + path(route='logout', view=views.logout_request, name='logout'), + # path to home path(route='', view=views.get_dealerships, name='index'), # path for dealer reviews view diff --git a/server/djangoapp/views.py b/server/djangoapp/views.py index 4df27b47bd..54a7336e4a 100644 --- a/server/djangoapp/views.py +++ b/server/djangoapp/views.py @@ -24,12 +24,26 @@ def contact(request): if request.method == "GET": return render(request, 'djangoapp/contact.html') # Create a `login_request` view to handle sign in request -# def login_request(request): -# ... +def login_request(request): + context = {} + if request.method == "POST": + username = request.POST['username'] + password = request.POST['psw'] + user = authenticate(username=username, password=password) + if user is not None: + login(request, user) + return redirect('djangoapp:index') + else: + context['message'] = "Invalid username or password." + return render(request, 'djangoapp/index.html', context) + else: + return render(request, 'djangoapp/index.html', context) + # Create a `logout_request` view to handle sign out request -# def logout_request(request): -# ... +def logout_request(request): + logout(request) + return redirect('djangoapp:index') # Create a `registration_request` view to handle sign up request # def registration_request(request): From 56b235e8b757e86f104ec126f64f22f71c8c7a73 Mon Sep 17 00:00:00 2001 From: unlovingmotherboard Date: Mon, 14 Aug 2023 14:44:19 -0500 Subject: [PATCH 3/4] got the user login and registration working and tested views. --- server/db.sqlite3 | Bin 131072 -> 131072 bytes .../djangoapp/templates/djangoapp/about.html | 64 +++++++++++------- .../templates/djangoapp/contact.html | 64 +++++++++++------- .../djangoapp/templates/djangoapp/index.html | 7 +- .../templates/djangoapp/registration.html | 41 ++++++++++- server/djangoapp/urls.py | 2 +- server/djangoapp/views.py | 28 +++++++- 7 files changed, 149 insertions(+), 57 deletions(-) diff --git a/server/db.sqlite3 b/server/db.sqlite3 index fb28c3cc27eb023af1bc16d45588e9f38c163ce9..e5a7b3abbf8b1ee9570f1410b17a9dae1a5e2b87 100644 GIT binary patch delta 1024 zcmah{O-vI(6y9ML!V=dJ0Zr6ckjBIV?as{3cH4x+77!>D2rWVzO=;@!RICf9^!IrI(9qSweo57Be9Qt9gSqD$=!um{AFk&JGHBe8`EKvbedb_ckWHkMs&i3Ejg9n==h>t+ zGBo3t?yzjZGt7)Qb`)YM+@I5x(D-P-VjoW?wV-T_rm{|l)Jr5ndnC07%bnQil8K8- zHs(-@OjXi`naJo1M%17~+EONxiD_#m%CXainL|}&uaVQLN?x5wdO;6OOh`F@AU)F; z7%2?<{J|A-!n!tKu4KnN+GK#*GmavQrh-~Jy`uO`npcxi8te}&#x*T4IGQ-Y8oOj> zW0Fjr$4HaYNY|<jeD(!mdK>4QFb`g@_XYpk9N>b zr8WBwbt2dej+w+);>xty#oF6URVku~Fl zE@yCJRW8FP74O}cf6kSQGh(LV;X+|LGZ2c#v?-sG@_XH5^89pgEv#zG!IZ~4<%!G{ z4i`eyzx%6^Wr~ArJ>5l}XU*Jt!GCXoXpcj`&=0g%)%6)!8X*8Yti=W%0)cO-DuZaB zL%-2av|nj0eL?4WC;)g68Xy#e?KgnGP;I1h=mXkBdZkMWq9TR@hq{3X1h;%-42Aq5 z>-w*gRhy(Rg;Cs4htMMkISoPymNBS9$Ul%P|Bb;e;Ff48Ff;~&?3D5oj^nVu; delta 352 zcmZo@;Am*zm>|ulKT*b+QGa8?B6*P&3~c;m4E!(ouki2YFXQj#pT%FXSFX-P(WX>n>10|SFF2bfooT9lhvT%4IN&dhAgIQbxtFdLgN6SFSI=9~J4 z2AdTX?D!{p zeVc=l~mA8Hj+UTo@; z=i?leY@C-CnHS++=IKT s*tFmQzXBmUH*H|~u$kq-ANffWSeCOKU=#py*afz8KVW - - - - - +
About Me! diff --git a/server/djangoapp/templates/djangoapp/contact.html b/server/djangoapp/templates/djangoapp/contact.html index 4e6316c012..09736bb8f1 100644 --- a/server/djangoapp/templates/djangoapp/contact.html +++ b/server/djangoapp/templates/djangoapp/contact.html @@ -10,33 +10,49 @@ - - - - - +
Contact Us! diff --git a/server/djangoapp/templates/djangoapp/index.html b/server/djangoapp/templates/djangoapp/index.html index f5a9fe4941..c3b5b5a483 100644 --- a/server/djangoapp/templates/djangoapp/index.html +++ b/server/djangoapp/templates/djangoapp/index.html @@ -10,15 +10,12 @@ - - -
diff --git a/server/djangoapp/templates/djangoapp/registration.html b/server/djangoapp/templates/djangoapp/registration.html index ae11ea4b71..29bb88c91d 100644 --- a/server/djangoapp/templates/djangoapp/registration.html +++ b/server/djangoapp/templates/djangoapp/registration.html @@ -6,6 +6,45 @@ - +
+
+
+ Back to Home +
+
+ {% if register_message_error %} +
+ {{ register_message_error }} +
+ {% else %} + Get Your Next Ride In No Time + {% endif %} +
+
+
+ {% csrf_token %} +
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
+
+
\ No newline at end of file diff --git a/server/djangoapp/urls.py b/server/djangoapp/urls.py index 0907f657e0..7a9547d7b3 100644 --- a/server/djangoapp/urls.py +++ b/server/djangoapp/urls.py @@ -14,7 +14,7 @@ # path for contact us view path(route='contact', view=views.contact, name='contact'), # path for registration - + path(route='registration', view=views.registration_request, name='registration'), # path for login path(route='login', view=views.login_request, name='login'), # path for logout diff --git a/server/djangoapp/views.py b/server/djangoapp/views.py index 54a7336e4a..42de50b82e 100644 --- a/server/djangoapp/views.py +++ b/server/djangoapp/views.py @@ -46,9 +46,33 @@ def logout_request(request): return redirect('djangoapp:index') # Create a `registration_request` view to handle sign up request -# def registration_request(request): -# ... +def registration_request(request): + context = {} + if request.method == 'GET': + return render(request, 'djangoapp/registration.html') + elif request.method == 'POST': + username = request.POST['username'] + password = request.POST['password'] + first_name = request.POST['firstName'] + last_name = request.POST['lastName'] + user_exist = False + + try: + User.objects.get(username=username) + user_exist = True + except: + logger.error("New user") + if not user_exist: + user = User.objects.create_user(username=username, first_name=first_name, last_name=last_name, + password=password) + login(request, user) + return redirect('djangoapp:index') + else: + context['register_message_error'] = "User already exists" + print("Hi in else") + return render(request, 'djangoapp/registration.html', context) + # Update the `get_dealerships` view to render the index page with a list of dealerships def get_dealerships(request): context = {} From d16858cb3e4b0371cf4a676db9618fc814ace93a Mon Sep 17 00:00:00 2001 From: Jose Marin Hernandez <42702358+Unlovingmotherboard@users.noreply.github.com> Date: Mon, 14 Aug 2023 15:26:19 -0500 Subject: [PATCH 4/4] Update linter.yml --- .github/workflows/linter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 05ca50d23b..c02bb70232 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -3,6 +3,7 @@ name: 'Lint Code' on: push: branches: [master, main] + pull_request: branches: [master, main]