-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User management #275
User management #275
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @malcolmm20. the db file is off. the migration does not seem to be applying the new tables we need. Check my other comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The migration seems incorrect. It just drops a comment? Also please do not use alembic auto gen anymore: https://forumai.me/forum/courses/d79977ce-fa53-49a0-b541-eed0081fd10e/forum/24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont think I've been added to that course, it just takes me to an empty course page
I think other than Armin's comments, it looks good |
* user management * new files * updated migrations --------- Co-authored-by: Arman Moztarzadeh <[email protected]>
* user management * new files * updated migrations --------- Co-authored-by: Arman Moztarzadeh <[email protected]>
* user management * new files * updated migrations --------- Co-authored-by: Arman Moztarzadeh <[email protected]>
Create blank issue template (#246) Create blank issue tempalte Cleanup Migration (#238) * lots of cleanup on db side * attempt: fixed dup fkey genereation * ignoring pylance issues for old migration issues * formatting * vs code exclude ruff cache * merge heads 129 create privacy policy and terms of service (#248) * Add terms and privacy pages * Remove unneeded exports * fix lint * Fix errors in text and change wording * Create SECURITY.md (#243) * Create blank issue template (#246) Create blank issue tempalte * Create bug reporting issue template (#244) * Update issue templates * Update bug-report.md * Reimplement privacy and terms using MDX components * moved mdx types to dev deps --------- Co-authored-by: Arman Moztarzadeh <[email protected]> Co-authored-by: Armin Talaie <[email protected]> Remove duplicated blank issue template (#250) remove duplicated blank issue template desktop app setup with Tauri (#252) Tags API and migrations (#237) * migrations for roles and tags * migration works just update head * minor db model changes for semantics and due to errors * roles init commit * implemented several more apis * updated migrations to remove roles, commented out roles db and created new migration for only tags * init first get tag for roles * imports * comment out role code * commit to fix migration head * added post_tag and doc_tags tables * place migrations on top of new head * updated foreign key for post ID from INT to UUID (to match the changed type from merge) * added back queryhistory model * brought back get_all_tags from merge * comment out more courserole stuff * create tag endpoint * added general crud for tags * renamed tags specific to courses, course tags * added post_tags * fixed all errors with migration * minor refactor for post tags * added document tagging * lots of cleanup on db side * attempt: fixed dup fkey genereation * ignoring pylance issues for old migration issues * formatting * vs code exclude ruff cache * updated to grab authenticated user for created_by field * removed commented out roles * updated migrations, removed more role stuff * clean up + include pydantic schema * removed role imports * remove optional for course_id * updated migration head after pulling cleanup * kept enum model and fixed small insert error with post tag + doc tag * merge migrations from dev * merge heads for db * formatting * fixed type issues --------- Co-authored-by: harshamin <[email protected]> Co-authored-by: Armin Talaie <[email protected]> Co-authored-by: Arman Moztarzadeh <[email protected]> Update issue templates (#247) * Update issue templates * Update feature_request.md * Update feature_request.md Setting Theme Refresh (#258) * added revalidate route for cache, used when theme gets updated ya feel * real time setting updating, so real, fr fr * yarn format and lint Landing Page Initialization [V1] (#259) * init landing page * fix styling for mobile * switch to light theme Include type field for issue templates (#261) * Add type field to issue templates * Update feature issue tempalte * small change * Include related issues for feature re-order items in header fix fix button styling Updated Settings Page (#276) * better routing * formatting * migrated settings mgmt state to zustand + enhanced settings page * replaced coursecontext with coursestore * theme tuning User management (#275) * user management * new files * updated migrations --------- Co-authored-by: Arman Moztarzadeh <[email protected]> Execute jobs (#278) * feat: implement job scheduler and execution system with runnable * deleted test file * cleaned up code from PR, added a sample job for dev guidelining
* user management * new files * updated migrations --------- Co-authored-by: Arman Moztarzadeh <[email protected]>
* Add basic websocket implementation * revert migration file * Fix merge conflicts * Add temporary frontend files * add basic websocket implementation * Reset migrations and add template code for chat * Fix overlap by adding spacing and changing font size (#245) * Fix overlap by adding spacing and changing font size * fix lint * Create SECURITY.md (#243) * Create blank issue template (#246) Create blank issue tempalte * Create bug reporting issue template (#244) * Update issue templates * Update bug-report.md * Cleanup Migration (#238) * lots of cleanup on db side * attempt: fixed dup fkey genereation * ignoring pylance issues for old migration issues * formatting * vs code exclude ruff cache * merge heads * 129 create privacy policy and terms of service (#248) * Add terms and privacy pages * Remove unneeded exports * fix lint * Fix errors in text and change wording * Create SECURITY.md (#243) * Create blank issue template (#246) Create blank issue tempalte * Create bug reporting issue template (#244) * Update issue templates * Update bug-report.md * Reimplement privacy and terms using MDX components * moved mdx types to dev deps --------- Co-authored-by: Arman Moztarzadeh <[email protected]> Co-authored-by: Armin Talaie <[email protected]> * Remove duplicated blank issue template (#250) remove duplicated blank issue template * Create blank issue template (#246) Create blank issue tempalte * Cleanup Migration (#238) * lots of cleanup on db side * attempt: fixed dup fkey genereation * ignoring pylance issues for old migration issues * formatting * vs code exclude ruff cache * merge heads * 129 create privacy policy and terms of service (#248) * Add terms and privacy pages * Remove unneeded exports * fix lint * Fix errors in text and change wording * Create SECURITY.md (#243) * Create blank issue template (#246) Create blank issue tempalte * Create bug reporting issue template (#244) * Update issue templates * Update bug-report.md * Reimplement privacy and terms using MDX components * moved mdx types to dev deps --------- Co-authored-by: Arman Moztarzadeh <[email protected]> Co-authored-by: Armin Talaie <[email protected]> * Remove duplicated blank issue template (#250) remove duplicated blank issue template * Implement functional chat room * Add token verification * Remove supabase channel listening and use websockets to broadcast * Rename files and change naming conventions * Create blank issue template (#246) Create blank issue tempalte * Cleanup Migration (#238) * lots of cleanup on db side * attempt: fixed dup fkey genereation * ignoring pylance issues for old migration issues * formatting * vs code exclude ruff cache * merge heads * 129 create privacy policy and terms of service (#248) * Add terms and privacy pages * Remove unneeded exports * fix lint * Fix errors in text and change wording * Create SECURITY.md (#243) * Create blank issue template (#246) Create blank issue tempalte * Create bug reporting issue template (#244) * Update issue templates * Update bug-report.md * Reimplement privacy and terms using MDX components * moved mdx types to dev deps --------- Co-authored-by: Arman Moztarzadeh <[email protected]> Co-authored-by: Armin Talaie <[email protected]> * Remove duplicated blank issue template (#250) remove duplicated blank issue template * desktop app setup with Tauri (#252) * Tags API and migrations (#237) * migrations for roles and tags * migration works just update head * minor db model changes for semantics and due to errors * roles init commit * implemented several more apis * updated migrations to remove roles, commented out roles db and created new migration for only tags * init first get tag for roles * imports * comment out role code * commit to fix migration head * added post_tag and doc_tags tables * place migrations on top of new head * updated foreign key for post ID from INT to UUID (to match the changed type from merge) * added back queryhistory model * brought back get_all_tags from merge * comment out more courserole stuff * create tag endpoint * added general crud for tags * renamed tags specific to courses, course tags * added post_tags * fixed all errors with migration * minor refactor for post tags * added document tagging * lots of cleanup on db side * attempt: fixed dup fkey genereation * ignoring pylance issues for old migration issues * formatting * vs code exclude ruff cache * updated to grab authenticated user for created_by field * removed commented out roles * updated migrations, removed more role stuff * clean up + include pydantic schema * removed role imports * remove optional for course_id * updated migration head after pulling cleanup * kept enum model and fixed small insert error with post tag + doc tag * merge migrations from dev * merge heads for db * formatting * fixed type issues --------- Co-authored-by: harshamin <[email protected]> Co-authored-by: Armin Talaie <[email protected]> Co-authored-by: Arman Moztarzadeh <[email protected]> * Update issue templates (#247) * Update issue templates * Update feature_request.md * Update feature_request.md * Setting Theme Refresh (#258) * added revalidate route for cache, used when theme gets updated ya feel * real time setting updating, so real, fr fr * yarn format and lint * Landing Page Initialization [V1] (#259) * init landing page * fix styling for mobile * switch to light theme * Include type field for issue templates (#261) * Add type field to issue templates * Update feature issue tempalte * small change * Include related issues for feature * re-order items in header * fix * fix button styling * Updated Settings Page (#276) * better routing * formatting * migrated settings mgmt state to zustand + enhanced settings page * replaced coursecontext with coursestore * theme tuning * User management (#275) * user management * new files * updated migrations --------- Co-authored-by: Arman Moztarzadeh <[email protected]> * Execute jobs (#278) * feat: implement job scheduler and execution system with runnable * deleted test file * cleaned up code from PR, added a sample job for dev guidelining * Fix lint issues and use prettier --------- Co-authored-by: Arman Moztarzadeh <[email protected]> Co-authored-by: Armin Talaie <[email protected]> Co-authored-by: Caeleb Koharjo <[email protected]> Co-authored-by: harshamin <[email protected]> Co-authored-by: Diego Ayoubzadeh <[email protected]> Co-authored-by: Shreyas Goyal <[email protected]> Co-authored-by: Shreyas Goyal <[email protected]> Co-authored-by: malcolmm20 <[email protected]> Co-authored-by: Kangbin (Jay) Park <[email protected]>
Proposed Changes
Resolves #255