Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added basic page routing with home and mentor login * Added Private Routing * Added login styling and fixed privateroute * Adjusted workspace css * Added header component * Implemented basic css color scheme * activities can only belong to one topic * commit development db and rewrote db script for other environment imports * added classroom, mentor, school, session, student, submission models * updated db dump * WIP: Committing Minor Style Updates * Render school list on teacher dashboard * submissions don't exist under a session * add user to metor * add result and status to submission * update dev db dump * add custom session logic for getting by code, creating, and joining * Adding session listings * update dev db * fix sequence on session table * added validation to session/join * check the classroom for join * add antd and less; begin styling workspace w/ color scheme * add second pannel to workspace view; use logo; style panels; * finished general styling for workspace view * add carousel for activity diagrams * remove unused styles * init cd * fix container height issue * blockly canvas expand a little more on larger screen * Manual cleanup from merge conflict * Added auth to route requests * change .css files to .less files; basic styling for home and login pages * removed submissions/attempts till we flesh this out more * sessions now have activities * sessions has students, and students has sessions * get /sessions/code/:code returns a list of classroom students * post /sessions/join logs in a classroom student * added required fields to session and added validation to create session * cleaned up validation errors * cleaned up find topics * Cleaned up warnings * display mentor session data in table * Now authenticating student and storing jwt * update jwt config * created isStudent policy * added student info to ctx state in the permissions policy * created /sessions/student/activities * added student to normal user object to eliminate proxy student user * moved frontend middleware settings to middleware config * added /students/me * comments * added /mentor/me * modified student auth * created hasClassroom policy to check if a mentor has access to a classroom * Added new student view * Setup basic routing from student to workspace * added hasClassroom to create session and now do 404 instead of 400 * updated dump * Fixed error on arduino code alert * updated cms/api documentation * Update README.md * align table items * Updating /client docs * add filter on classes; add sort alphabetically on session name; update db on session active toggle * Added basic errors for logins * Added bearer auth to /toolbox request * WIP: Not populating with data * created hasSession policy * added custom update logic and moved the util functions into session service * fix sessions table populating bug * move setSessions into getClassrooms callback * changed code generation and made the code a string to support leading 0s * fixed session table and mentor update perm in db dump * fix workspace UI bugs * added policy to create mentor and added custom logic * init test * fix init mentor tests * init documentation and other tweaks * init k6 load test * update scripts and dependenices * finished join code/teacher login UI * began student login view * add and populate student name/animal dropdowns * use array of ids on student jwt token * fix student/me endpoint; fix setUser session bug * set placeholder for student login selectors * fix 'lo0se join code on refresh' bug * css refactor and minor styling fixes to workspace * style student view; handle routing to workspace for activity * added fault protection to policies * added validator service * fixed join logic and beefed up other session controllers * finished stuents/me and simplified student user token * await the attach call for new students to a session * fix postJoin function in client * join with studentId as ints * Added sandbox view and basic routing, need /toolbox/all * Created /all request and cleaned up leftover code from workspace * added sandbox toolbox endpoint * make /sandbox/toolbox * fix errors and warnings on render of new views * broke out sandbox toolbox endpoint to its own controller * updated db dump * fix set state before mount * remove useCallback * remove dashboard logging * Fixed render error for toolbox map * student view styling fix * Added sandbox button back * removed old config * updated frontend routes * Update README.md add style info to readme * Update README.md add info on how to enable web serial api * fix home page styling * added favicon; change index.html title to CASMM * begin redoing mentor view with class cards * In strapi admin: use casmm theme, update favicon, and add casmm-logo * set admin homepage title * set grid layout for classroom cards in dashboard; start roster view * set grid layout for classroom cards in dashboard; start roster view * add routing for /roster/:id; create table of students with edit feature * settings for serving admin seperate in the future * only use en translation * increase margin on admin panel menu logo; add logo to login and style * add MentorSubHeader component and implement in dashboard and roster. * create togglable list/card views for roster view * fix header-nav styling; fix miscellaneous console warnings/errors * fix styling issues on dashboard and roster * created BlocklyCanvasPanel component and implemented in workspace and sandbox * create component for reusable activity info panel * remove unnecessary divs * remove unnecessary divs * move styling from workspace to panel components; add navigation to canvas panel via props * migrated session logic/routes to classroom * added int validator function * added code to classroom and created seperate teacher entity * stripped session content type down * created generic classroomManager policy and updated routes and related perms * fixed weird forEach not returing bug * if student role doesn't exist set user undefined * create the basic roles if bootstrap function * don't try to create a role, just log * update db dump * cms -> server && stem-c -> casmm * use yarn in compile * add mentor activity view; add activity catalogue view * add autocomplete searchbar to activity catalogue * update review workflows * Create start-review.yml * updated init script perms * rm server frontend files * fix bundling * fix list view hrefs * fixed client requests to handle new data models * added view student modal to roster * i goofed and left out the s * fix modal bug * add enrolled attribute to student model; add set enrollment status endpoint * fix toggle enrollment validation bug; toggle enrollment from roster list view * Fetch activities to populate catalogue; re-set student state on toggle enrolled * Create end-review.yml * Update end-review.yml * update review flows * fix name in docker compose * add and implement hasStudentsClassroom policy * update client built amd move * fix build * fix review misspelling * add new routes to middleware * i'm over it * this shouild do the trick * multiple stage build and update push * add update student endpoint; edit students in roster updates db * fix view student modal displays * update dockerignore * compile server stage into final for server os * add casmm to client * deploy script * use new deploy script in all workflows * fix deploy script * add get pr * add github token * encapsulate variable * fix typ * add token to the other workflows * prepend review-pr- in update review * don't use minor version on a release * update script * don't use multistage builds for now for better caching * don't use docker copy * build client in app folder * Bump lodash from 4.17.15 to 4.17.19 in /test Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.19) Signed-off-by: dependabot[bot] <[email protected]> * fix client bundling in build * update testing framework and commit test db dump * remove teacher from create classrooms * don't exit 0 from script * include && for client bundling * update dump and require enrollment * Update README.md * Update README.md * Update README.md * Added workflow for tagging onto master Co-authored-by: Dakota Rennemann <[email protected]> Co-authored-by: Adam Tamargo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information