483 Commits
Author SHA1 Message Date
Mari LehtikariandGitHub ccb70241c2 Updated the header (#112)
* Added new placeholder logo and linked it to the front page

* Removed unnecessary link, linked Anmeldung to the Login page

* Added lock icon to the login link
2025-02-26 12:20:17 +02:00
8045cc4175 Created simple lesson and exercise pages (#91)
* Added basic lessons page. Added a logo placeholder.

* Added basic navigation bar

* Added styling to navigation bar

* Added sidebar navigation

* Added a drop-down menu, color corrections

* Fixed text wrapping issue

* Some fixes to lessons-page and cleaning the code

* Added grammar boxes and fixed ui

* Added two more grammatik boxes. Made show more -links to each box and some css-styling to links

* Changed Übung-texts to links and changed css styling for different links

* Changed the code so you don't have to do so much manual work when adding a new grammatik box. Still needs some styling though

* Fixed the h1-title bug so that it is not hidden underneath the sidebar anymore

* Made links from lessons-page to one exercise-page. Created a route to exercises, however, it still needs to be changed since one page isn't enough.

* Changed the ui for exercise-page

* Made changes based on the comments in PR draft

* Started implementing simple test

* Deleted the unnecessary test. Fixed lessons-page based on comments. Changed back filenames

* Changed button name to German

---------

Co-authored-by: Mari Lehtikari <mari.lehtikari@helsinki.fi>
2025-02-26 11:31:53 +02:00
Axel AdlercreutzandGitHub dea5aaf376 Axel/user survey (#92)
* config file

* init formcomponent

* form migration

* form migration

* init populate migration

* form route

* cleanup and test fixesgps

* cleanup

* cleanup

* button

* fix zod issue

* fix tests

* update tests to use mock requests
2025-02-19 17:57:59 +02:00
Axel AdlercreutzandGitHub 229f1a59c8 fix zod issue (#100) 2025-02-19 13:58:42 +02:00
Jukka KuustoandGitHub a5c58b10eb Jukka/session cookie (#96)
* Add session cookie creation

* Create logout function, create tests, refactoring, minor chores

* Fix logout api and test, some housekeeping
2025-02-19 10:55:02 +02:00
Axel AdlercreutzandGitHub 55a6070f50 axel/custom components (#98)
* button

* dropdown
2025-02-19 10:28:28 +02:00
Mari LehtikariandGitHub ccb75bb6b5 Added Radix UI Library (#94) 2025-02-18 14:02:38 +02:00
Vili-Ilari KaistoandGitHub 660d6e3de8 Update README.md (#51) 2025-02-13 12:17:01 +02:00
Axel AdlercreutzandGitHub e91c537976 axel/fix-script (#87) 2025-02-12 16:27:45 +00:00
Salla RautiainenandGitHub 485b6332bb Added priority to logo to fix a warning. (#80) 2025-02-11 10:53:08 +02:00
Axel AdlercreutzandGitHub 8a90a000c0 added test factory (#81)
* added test factory

* update comment
2025-02-11 09:30:27 +02:00
Axel AdlercreutzandGitHub c89b54d1d1 axel/fix nav styles (#75)
* fix formatting

* fixed styles
2025-02-06 15:52:51 +02:00
Axel AdlercreutzandGitHub 023a529e2e fix formatting (#71) 2025-02-06 15:22:15 +02:00
Jukka KuustoandGitHub ecb0457314 Add try-catch statement for upcoming login validation, globals.css support (#55) 2025-02-06 09:24:34 +02:00
Vili-Ilari KaistoandGitHub 88696d4f9b vili/register (#61)
* add register page

* update register

* fix register
2025-02-05 19:06:23 +02:00
a580bfb9e1 Basic navigation bars (#59)
* Basic navigation bar

* Added basic navigation bar

* Added styling to navigation bar

* Added sidebar navigation

* Added a dropdown menu, color corrections

* Fixed text wrapping issue

* Update gradesa/src/components/ui/sidenavigation.js

Co-authored-by: Axel Adlercreutz <39679469+DoebelnAtz@users.noreply.github.com>

* small fixes

* Fixed style issues in code with Prettier

---------

Co-authored-by: Salla Rautiainen <152855958+rautiais@users.noreply.github.com>
Co-authored-by: Axel Adlercreutz <39679469+DoebelnAtz@users.noreply.github.com>
2025-02-05 17:07:17 +02:00
84da650a8f Emil/db migrations (#58)
* Add users table migration

* Add users table migration and update schema

* Add users table migration

* updated schema, users table and .env.test

* added public.users table

* Add users table migration

* Add users table migration

* more fixing

* prettier, husky and editorconfig

* husky

* update actions

* Move deps

* fixed workflow

* regenerate schema

* fix generated schema

* move to dev dep

---------

Co-authored-by: Visuri Emil A <evisuri@cubbli22-gold.local>
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
2025-02-05 16:20:18 +02:00
Jukka KuustoandGitHub 2d4ce31cdf Create route for Login page (#35)
* Create route for Login page

* Add login form and basic layout pattern for auth with placeholder styling

* Add basic event handling for form

* Add controlled inputs to form
2025-02-04 20:18:01 +02:00
Axel AdlercreutzandGitHub db2362d8cd add color variables (#43) 2025-02-03 21:05:19 +02:00
Axel AdlercreutzandGitHub 96ab39f77e accidentally made the hook a function call rather than having it return a fumnction... (#41) 2025-02-03 13:00:40 +02:00
Axel AdlercreutzandGitHub f68fd577ae axel/fetching logic (#39)
* simple implementation

* refetch, useRequest

* show error
2025-02-03 12:56:08 +02:00
Jukka KuustoandGitHub 24bfaa2841 Update README, create package-lock.json (#34) 2025-01-31 10:02:11 +02:00
Axel AdlercreutzandGitHub 21e465a002 axel/update port (#33)
* updated port

* updated port

* fix script ports
2025-01-30 14:44:28 +02:00
Salla RautiainenandGitHub 190fe5feb0 Update README.md (#32)
Delete duplication
2025-01-29 14:24:34 +02:00
Axel AdlercreutzandGitHub 72bddbb197 add bypass (#31)
* add bypass

* update readme
2025-01-29 11:43:13 +02:00
Axel AdlercreutzandGitHub 556a801ebf axel/setup test env (#30)
* setup db & migrations

* bugfixes

* README updates

* updates to readme

* not tracking .env.dev

* README update

* cleanup

* init tests

* updated db logic to allow for test db

* remove unnecessary await

* semi working tests

* rm jest

* init test environment

* cleanup

* github actions

* fix conflict

* force npm

* maybe fix pipeline?

* workflow debugging

* permission issue?

* more debug

* empty migration?

* fix

* include test env in repo

* more tests

* added logging

* bugfix

* comments
2025-01-26 19:16:02 +02:00
6ded19a4ec axel/setup db n migrations (#29)
* setup db & migrations

* bugfixes

* README updates

* updates to readme

* not tracking .env.dev

* README update

* cleanup

* updated db logic to allow for test db

* remove unnecessary await

---------

Co-authored-by: Jukka Kuusto <38991418+jkuusto@users.noreply.github.com>
2025-01-24 15:09:46 +02:00
Mari LehtikariandGitHub c0c4d96e0d Update new backlogs to README.md (#28) 2025-01-24 13:39:13 +02:00
rautiaisandGitHub 6cc2feaae6 Create README.md (#5) 2025-01-21 14:16:20 +02:00
Axel AdlercreutzandGitHub 27f218d9e9 6 setup nextjs (#7)
* yeet django & vite-react

* setup nextjs

* update workflow
2025-01-19 12:14:23 +02:00
Axel AdlercreutzandGitHub 97f4dc1abb add gh workflow (#1)
* add gh workflow

* cache node_modules

* cache subdir
2025-01-17 12:51:01 +02:00
DoebelnAtz 1e88b5065d compose 2025-01-14 19:58:04 +02:00
DoebelnAtz f535953a52 init django & react 2025-01-14 19:38:50 +02:00