* new pages
* added italics
* fixed colors
* added underline
* removed unnecessary comments
* moved italic and underline styles to globals.css
* added new blue
* moved alphabetical chapter list to separate file
* updated the email sending tests and functionality to match the new cookie updates
* changed the all of the complaint words from the code to message words
* created a link button component
* replaced links with buttons with linkbutton component
* updated linkbutton component to support button variants and sizes
* Create multiple choice exercise page
* Create multichoice exercise logic with basic user feedback
* Create multichoice.css, use Button component
* Fine-tune and clean up exercise CSS
* Remove reset of incorrect answers, small changes for improved readability
* Change to a more explicit structure for exercise data
* Change file and component names to more descriptive ones
* email sending functionality for talkback channel made
* tests made for email sending feedback functionality
* api vulnerability fixed
* improvement on tests
* changes
* updates to this branch
* timeout anti spam attack functionality added
* improved the tests for api/talkback/route.js
* admin page + auth hooks
* user context updates
* admin related fixes
* update readme
* middleware readme
* fix tests
* fix schema gen
* fixes based on feedback
* store actAs in localstorage to prevent flickering
* add basic mockup version of click exercise
* basic form for creating a click-on exercise
* refine frontend and template
* create schema for click
* schema
* add routing, not yet complete
* add dynamic route
* route click and connect to db complete
* fix
---------
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
* Took strike away from used wordboxes. Changed the wordbox font colors when dropped in dustbins
* Replacing dragged words with new ones
* Fixed the bug that when all words were in dustbins but the bug displayed placeholder words
* Fixed the bug (less than 5 words displayed)
* Fixed try again -button bug
* Made changes based on comments: made masc, fem and neutral colors, deleted console.logs
* Changed paths
* UI changes after master merge changed UI
* made a schema for grammar items
* changed all mentions of grammar1 to grammar
* fixed imports for exercises
* linked the alphabetical page to lessons page
* added grammar items in alphabetical order
* fixed link colors
* removed vocabulary link from the sidebar
* added subtopics to lessons page, removed exercise placeholders
* UI fixes
* changed lessons page to themes page, moved exercises folder to directly under grammar, fixed imports
* updated schema
* Create session check feature with logout link in navbar
* Create session context to update conditional user view on first render
* Add logout api call to navigation logout button
* Create middleware to restrict logged-in users from accessing login and register pages
* Add middleware for logged-in users only protected pages
* Redirect user back to original protected page after successful login
* Create tests for session api route
* Create documentation
* Added fill in the gap excercise
* Fixed few bugs
* fixed another bug
* another fix
* and another fix
---------
Co-authored-by: Visuri Emil A <evisuri@cubbli22-gold.local>
* Deleted footer and other unnecessary styling. Fixed h1-title
* Changed hard-coded colors back to variables
* Refactoring navbar styling
* Frontpage color fixes
* Fixed colors in auth and learning forms
* Fixed color issues
* Changed link color
* Added a success message after the exercise is complete
* Modified UI for drag and drop exercise
* Made dustbin height dynamic
* Made wordboxes align with the dustbins
* Update globals.css, fixed a curly braces typo syntax error here, on the .cta-button
* Update globals.css, fixed another syntax issue in the .feature card, added a }
* Update globals.css
* Testing openshift setups
* husky caused some error in the redhatopenshift environement so I am trying to debugg that
* trying to debugg the deployment for openshift
* more debbugging for getting the app deployed on openshift
* more debugging for openshift deployment
* same as the other previous 2 commits
* continuing the debugg
* making a memory optimization to Dockerfile for getting this next.js app deployed
* made a : Deploy Dockerimage to github registry functionality
* fixed a syntax issue, regarding to this push
* added 2 missing lines of code for deploying docker image to Github registry
* added a new tag and deleted unused files
* tags? (#133)
* openshift deployment functionality
* new frontend renewals made
* Toteutettu kommenteista saatuja palautteita, koskien etusivua ja nav baaria
* käännetty login ja sign up nyt saksaksi
* edited according to feedback some more
* fixed the coloring on the lessons page to a better direction
* triyng to fix formatting issues
* fixed a minor formatting issue
---------
Co-authored-by: Axel Adlercreutz <39679469+DoebelnAtz@users.noreply.github.com>
* Started the drag drop functionality
* Fixed a bug
* Deleted old ui boxes
* Hovering over the box doesn't change the title
* The dustbin shows all the placed items instead of the last dropped
* Changed styling to globals.css
* Wordbox doesn't move after it is already placed in a dustbin
* Added wordboxes. Moved itemtypes under exercises-dragdrop
* Made a reset button
* Refactoring code based on comments
* Fixed a typo
* Created sql schema for drag-and-drop exercise template
* Updated exercise schema
* Started making UI for drag-and-drop exercise template
* UI changes for the top box
* Updated schema
* Updated schema
* Started working with drag function
* Jukka/login refactor (#132)
* Refactor password verification logic into verifyPassword()
* Refactor: Move session.js to backend/auth and update imports and test mock paths
* Vili/username (#135)
* update db includes username
* add create username
* add username as login option
* update login test
* fix renaming migrate files (#136)
* RedHat OpenShift deployment functionality (#137)
* Testing openshift setups
* husky caused some error in the redhatopenshift environement so I am trying to debugg that
* trying to debugg the deployment for openshift
* more debbugging for getting the app deployed on openshift
* more debugging for openshift deployment
* same as the other previous 2 commits
* continuing the debugg
* making a memory optimization to Dockerfile for getting this next.js app deployed
* made a : Deploy Dockerimage to github registry functionality
* fixed a syntax issue, regarding to this push
* added 2 missing lines of code for deploying docker image to Github registry
* added a new tag and deleted unused files
* tags? (#133)
* openshift deployment functionality
---------
Co-authored-by: Axel Adlercreutz <39679469+DoebelnAtz@users.noreply.github.com>
* fix build error (#138)
* fix build error
* rm slug
* Fixed typo on schema
* Update data/migrations/00005_drag_and_drop_exercise.sql
* fix schema
---------
Co-authored-by: Jukka Kuusto <38991418+jkuusto@users.noreply.github.com>
Co-authored-by: Vili-Ilari Kaisto <162989993+w1ll1ey@users.noreply.github.com>
Co-authored-by: pronom8 <139699276+pronom8@users.noreply.github.com>
Co-authored-by: Axel Adlercreutz <39679469+DoebelnAtz@users.noreply.github.com>
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
* Testing openshift setups
* husky caused some error in the redhatopenshift environement so I am trying to debugg that
* trying to debugg the deployment for openshift
* more debbugging for getting the app deployed on openshift
* more debugging for openshift deployment
* same as the other previous 2 commits
* continuing the debugg
* making a memory optimization to Dockerfile for getting this next.js app deployed
* made a : Deploy Dockerimage to github registry functionality
* fixed a syntax issue, regarding to this push
* added 2 missing lines of code for deploying docker image to Github registry
* added a new tag and deleted unused files
* tags? (#133)
* openshift deployment functionality
---------
Co-authored-by: Axel Adlercreutz <39679469+DoebelnAtz@users.noreply.github.com>
* Added how you learn and learn grammar buttons to front page
* updated forms link
* Removed unnecessary buttons from front page
* Updated front page UI and navigation
* migrate form schema
* refactored sidebar & init form frontend
* added radio button (that dont radio)
* wip
* add to user test
* added tests
* auth
* working answers
* previous & next logic
* custom radio button
* custom radio button
* fix render issue
* answer page
* fix style
* regen data
* fix teil
* cleanup
* generic placeholder user
* Modified error and success messages on login and register pages
* deleted few old comments
* added prettier on devDependecies
* fixed bugs
* added username to users table
* deleted username from users table
* upgraded Zod
* fixed a few issues
---------
Co-authored-by: Visuri Emil A <evisuri@cubbli22-gold.local>
* 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
* 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>