Commit graph

33 commits

Author SHA1 Message Date
Norbi Peti 7573b7f2e5
Teacher dashboard 2022-05-14 21:58:29 +02:00
Norbi Peti 441b6ce68d
Student dashboard, automatic redirection for home page 2022-05-14 20:27:38 +02:00
Norbi Peti ef5e2f6cfb
Add feature to assign user to course, add date editing support
It seems like the button click event doesn't work in an ngFor. That took a while to debug
2022-05-14 17:42:27 +02:00
Norbi Peti 0ea057eee1
Fix registration, make E-mail unique, fix seeder generating duplicates 2022-05-14 15:50:12 +02:00
Norbi Peti ee4fee004d
Add requirements list and editing, fix type issues
Added suport for numbers and dates
2022-05-14 14:56:06 +02:00
Norbi Peti 744cc29346
Separate create inputs, add fulfillment mode creation on course page 2022-05-13 23:58:49 +02:00
Norbi Peti 832cf07aa5
Remove old controllers, add fulfillment mode, fix relations, add missing GraphQL queries and mutations
Added create mutations for the models
2022-05-13 20:46:17 +02:00
Norbi Peti d076e0a013
Fix and improve custom titles, add course support, fix things
Implemented hasManyThrough repository with count() method
2022-05-07 20:19:08 +02:00
Norbi Peti 38b06f54e6
Edit subjects, work on user list, add authentication support
Improved type safety
2022-05-07 01:56:14 +02:00
Norbi Peti a0bc7d3585
Add queries for subjects and courses, list subjects on frontend
Also added logout mutation
2022-05-03 22:24:09 +02:00
Norbi Peti 8471825e5d
Revoked token implementation and GraphQL on frontend 2022-05-02 23:01:19 +02:00
Norbi Peti bf4a08ac90
Begin converting backend to GraphQL 2022-03-13 02:39:18 +01:00
Norbi Peti 8cd769ff7f
Add course alias and custom titles for components 2022-03-13 00:06:31 +01:00
Norbi Peti 9f78639690
Add course lists to subjects with add/edit option
Added count() method for hasManyThrough relations in a slightly hacky way
2022-03-10 19:23:18 +01:00
Norbi Peti 2a7aa2a65a
Fix toolbar and reformat backend code 2022-03-03 00:08:40 +01:00
Norbi Peti 1f45a3fb84
Allow disabling fields, add auth checks with logout, don't allow self-unadmining 2022-03-02 23:36:17 +01:00
Norbi Peti 079449d980
Add subject list, edit/create pages 2022-02-05 19:34:36 +01:00
Norbi Peti ed266d440f
Fixed paginator and improved edit page to return to the list page and support checkboxes 2022-02-05 19:05:24 +01:00
Norbi Peti bf6e34fd56
Added database seeder for creating fake users 2022-02-05 18:28:53 +01:00
Norbi Peti 3fe37ac6e0
Add support for creating items, add boolean support in list
Also added subject controller
2022-01-30 19:40:33 +01:00
Norbi Peti 512cbb9af6
Add customizable edit page
Adding the item being edited to local storage, so it doesn't have to request it again
2022-01-30 18:13:25 +01:00
Norbi Peti 79fb876da8
Specify the columns at the specific component 2022-01-21 17:20:01 +01:00
Norbi Peti fc995858e6
Add custom material table and list components
Automatically querying the specified endpoint for the list data
2022-01-21 17:10:36 +01:00
Norbi Peti e4ff4f5acf
Get page title from routes, including for menu items
- Fixed the user always being set to root instead of node because of the $USERNAME variable
2022-01-20 17:56:29 +01:00
Norbi Peti dd375b6948
Store auth info in local storage 2022-01-12 23:50:02 +01:00
Norbi Peti bd07e1a306
Moved auth and new user list component to separate modules 2022-01-12 23:08:48 +01:00
Norbi Peti dbf093e72e
Implement authentication on frontend
- Added error handling on login
- Added login support, fixed register
- Added logout support on backend and frontend
- Changed role to isAdmin
- Added permission checking to menu
2021-11-19 18:19:45 +01:00
Norbi Peti aa6f3f51de
Fix backend production deploy and database connection
- Fixed database URL locally and in production
- Set separate DB user just to be safe
- Migrate DB schema on each launch
- Use node user during dev but use root during deploy
- Fix output of the dev container (tsc-watch --noClear)
2021-11-15 22:47:41 +01:00
Norbi Peti 8e855fd454
Add build watching for backend project 2021-11-09 22:57:51 +01:00
Norbi Peti 0e684a69be
Add backend app with basic Docker support 2021-11-09 21:52:42 +01:00
Norbi Peti 49480c5d67
Add production build and deploy command 2021-11-09 01:55:57 +01:00
Norbi Peti 59eba56153
Make it work with Docker Compose and remove Firebase API from code 2021-11-08 23:53:39 +01:00
Norbi Peti c3f94cca45
Move to frontend folder 2021-11-08 22:10:03 +01:00