Skip to content

Commit

Permalink
The Announcement Update (#20)
Browse files Browse the repository at this point in the history
* update package

* update gitignore

* add prisma

* add user service

* add auth service

* add password encryption

* implement login route

* add auth guard

* remove test files

* add dotenv package

* add jwt generation

* add jwt guard with profile controller

* add profile site

* improve code style with prettier

* remove hello worlds

* add helmet

* add vue framework

* connect vue to nest

* add css

* add login route

* add logger middleware + loggin route

* update package

* add catch for duplicate user registration

* implement submit method

* make login and registerView more dynamic

* hotfix

* update prisma schema

* update structure

* generate Movie db service

* add env tmp

* update movie relation and service

* create movie route and add imdb package

* hotfix

* implement GET movie:id

* fix auth bugs

* add info

* implement POST movie

* add try catch

* implement GET movie/all

* implement movie table

* add client profile

* client: add movie add button

* prisma: add vote table

* backend: edit structure

* backend: add vote boilerplate

* edit structure

* backend: implement POST vote

* db: improve naming

* backend: add DELETE Vote

* backend: add GET vote

* update vote output

* update proposer output

* update package

* Client: implement client-side state management to react on loading and logged_in

* client: add history view

* client: improve movie component table

* backend: update route GET movie/all

* client: display movie votes

* client: implement vote

* client: implement router logout

* BD: add "name" attribute to userDB

* backend: remove middleware from auth

* backend: implement email confirm

* common: update env tmp

* client: add privacy

* client: hot fix

* client: hot fix

* client: add AlertComponent.vue

* backend: update movie information

* backend: implement movie delete

* client: implement delete own movie

* client: implement form validation

* common: add port configuration

* client: add vertical scrolling in movie table

* client: rename page title

* client: add regex to imdb upload

* client: outsource api call

* client: hotfix

* backend: fix initial interest (now server handled instead of client handled)

* backend: restrict unvoting for own proposed movie

* client: implement triggerable alert components

* common: implemented client warnings on auth

* common: implemented better version of client warnings on auth

* client: style hotfix

* common: update README.md

* client: add GitHub Link

* client: update login regex + add password confirm

* client: create e-mail verified page

* client: edit plugin structure

* client: hot fix

* client: hot fix

* client: implement profile page style

* client: divide form inputs into separate components

* client: text improve

* client: hotfix

* client: hotfix

* client: change route api/profile to api/user

* backend: update auth (outsource password service + reduce payload to user_id)

* backend: implemented user routes for self-management of own account

* client: add profile options + implement get all user data

* backend: add gravatar generation

* client: add api logic to profile

* backend: allow gravatar in helmet

* backend: implement md5 hash algorithm

* client: add logic to delete account

* backend: outsource gravatar in a service + update gravatar url on email change

* update README.md

* prisma: Update database model to support history and watchlist

* backend: add event service

* backend: add job schedule structure

* backend: add db infrastructure for history and watchlist model

* backend: implement get_most_voted in vote db

* backend: add event module

* backend: implement watchlist job

* backend: implement history job

* backend: add routes GET movie/watchlist & movie/history

* client: movie ts folder in components folder to util folder in src + add CardComponent

* backend: add start_time to watchlist

* backend: restrict deleting watchlist movies

* client: hotfix

* client: update favicon

* backend: hotfix

* backend: update GET watchlist information

* common: improve packages

* client: create TableComponent to outsource tables

* client: add watchlist

* client: implement history view

* backend: implement GET public user information

* backend: hotfix

* client: implement watchlist interested feature

* client: replace bad emojis with cool svg

* client: add trash icon

* backend: replace node-schedule with @nest/schedule

* client: hotfix

* backend: restrict user deletion, when proposed video is in watchlist + restrict already watched movies

* client: alerts now shown when adding a movie

* client: alerts now shown when deleting a movie

* client: make tables responsive

* client: hotfix

* backend: hotfix password reset

* backend: email send now html instead of text

* backend: add route GET auth/reset/:username to send a pw reset request + add pw reset flag in db

* backend: add route POST auth/reset/:username to reset password via challenge

* backend: change challenge url for pw reset

* client: edit structure (replace some components with views)

* client: add ResetRequestView

* backend: hotfix

* client: create FormComponent and outsource Form from ResetViews

* client: Outsource form from Login and Register

* client: edit component structure

* client: add router link to reset page in login view

* client: remove bootstrap-table in plugins folder for now

* backend: implement discord.service for sending messages to a webhook + create announce job to sende invites to endpoints like discord

* backend: add notify opt in value for users + logic to notify every opt-in user

* backend: add route POST email_opt_in

* client: add profile option email_opt_in

* backend: emails now only send via text instead of html

* client: import cookie library and create cookie util

* client: replace localstorage with cookie
  • Loading branch information
EliasSchaut committed Nov 28, 2022
1 parent 351d866 commit 52d4a5c
Show file tree
Hide file tree
Showing 47 changed files with 1,366 additions and 695 deletions.
2 changes: 2 additions & 0 deletions .env.tmp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ PROJECT_NAME="Movie-Monday-Manager"
FRONTEND_URL="http://localhost:3000/"
PORT="3000"

DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/ID/TOKEN

SCHEDULE_WATCHLIST="0 15 * * 1"
SCHEDULE_START="0 19 * * 1"
SCHEDULE_HISTORY="45 23 * * 1"
Expand Down
47 changes: 27 additions & 20 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
"bootstrap": "^5.2.0",
"bootstrap-table": "^1.21.1",
"jquery": "^3.6.1",
"js-cookie": "^3.0.1",
"vue": "^3.2.37",
"vue-router": "^4.1.3"
},
"devDependencies": {
"@types/jquery": "^3.5.14",
"@types/bootstrap": "^5.2.6",
"@types/jquery": "^3.5.14",
"@types/js-cookie": "^3.0.2",
"@types/node": "^16.11.47",
"@vitejs/plugin-vue": "^3.0.1",
"@vue/tsconfig": "^0.1.3",
Expand Down
File renamed without changes.
41 changes: 0 additions & 41 deletions client/src/components/HistroyComponent.vue

This file was deleted.

96 changes: 0 additions & 96 deletions client/src/components/LoginComponent.vue

This file was deleted.

File renamed without changes.
Loading

0 comments on commit 52d4a5c

Please sign in to comment.