Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove react from docker-compose * fixed react import issue * renamed containers created with compose * updated to latest beta of strapi and removed sqlite3 dependency * use mysql for all database environments * host helper for getting cms and compile hosts * add client homepage for build * root docker file builds client and cms and packages them together * host helper just saves consts * use postgres for production * Basic dynamic block rendering * database connection settings * don't use localhost * Added example model * Final cleanup * renmae host hellper * fix hosts import * dep update cms * Rename Hosts.js to hosts.js * use postgres * updated documentation * + documentation improvements * init app.json * added postgresql addon * as and options for app.json * use relative path for cms api calls * use localhost for development * Cleaned up warning messages, renamed app in manifest * Solves issue #18 - React builds but is not usable #18 * Updated client README * Cleaning up documentation * Changed client to use hosts.js in place of deployment config files * Updated git flow documentation * dakota made me do this :( * Setting correct paths for blockly libs * Added button hover information * created a middleware to serve the frontend w/ react router * updated documentation * public/frontend * fixed json parsing err on cms readme * update read me * dep * added public url to build process for cleaner client dev * fixed host resolution for cms @home view * git ignore public/frontend * include frontend folder * fix prod app bundling * Changed root routing from /Home to / * topics now has activities * Changed dependency use to imported script * Fixed CORS issue with strapi query during development * Cleaning up console.log statements for dev merge Fixing Merge conflict * Changed path to "/workspace" and fixed warnings * fixed build-frontend script err * added the .env file to the client setup documentation * updated root documentation to follow client setup * add localhost:1337 to development cors * removed client .env and added cross-env for build-frontend script * block category belongs to many blocks * updated admin build * activities are only related to their blocks now and return a custom toolbox * remove block category definition * blocks now have descriptions not definitions * enable dev db to build from an sql file * remove .cache * cross-env is not good * display nested activity details * Refactored activities to pull from updated API * Moved some js functionality to helper file * added type to topic find * restored activities find controller and created seperate route/hander for activities toolbox * created dataaccess layer to simplify api calls * implemented new api in client and added dataaccess calls * condensed dataaccess files * moved hosts to dataaccess * fix compile preflight err * bump * fixed missing toolbox on re-render * Update README.md * Update README.md * Formatting dump * clean up, clean up * update workspace useEffect for render err and sensitivety * added alert for arduino code * Abstraction is trash and so are you * wrote an init script that uses pg_restore rather than importing a .sql * updated documentation for adding the dump to scripts * script formating * All .sh files now keep LF line endings when pulled to windows * Updated documentation for /admin not beuilding * fixed comment in .gitattributes * migrated to strapi 3.0.1 * added custom ssl config * added template field to activity and removed topic from activity * review apps as containers * import staging db in review app * updated documentation links to latest strapi docs * get xml from workspace and load workspace w/ activity xml * Removed unnecessary function * Workspace now saves on page refresh * Removed alert for compile request * Added basic login component and renamed home -> dashboard * 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 * 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 * 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 Co-authored-by: Dakota Rennemann <[email protected]> Co-authored-by: nionata <[email protected]> Co-authored-by: Adam Tamargo <[email protected]>
- Loading branch information