Commit Graph
100 Commits
Author SHA1 Message Date
Daniel Hougaard faa842c3d2 Revert seed 2024-02-22 05:00:40 +01:00
Daniel Hougaard 28b24115b7 Move check to inside service 2024-02-22 05:00:40 +01:00
Daniel Hougaard 198dc05753 Allow getting bot, but not creating 2024-02-22 05:00:40 +01:00
Daniel Hougaard 178492e9bd Add logger to avoid crash 2024-02-22 05:00:40 +01:00
Daniel Hougaard fb9cdb591c Error renaming 2024-02-22 05:00:40 +01:00
Daniel Hougaard 4c5100de6b Update project-key-service.ts 2024-02-22 05:00:40 +01:00
Daniel Hougaard b587e6a4a1 Update models.ts 2024-02-22 05:00:40 +01:00
Daniel Hougaard 773756d731 Add transaction support 2024-02-22 05:00:40 +01:00
Daniel Hougaard 9efece1f01 Update models.ts 2024-02-22 05:00:40 +01:00
Daniel Hougaard bb6e8b1a51 Finished migration 2024-02-22 05:00:40 +01:00
Daniel Hougaard 0f98fc94f0 Ghost user and migration finished! 2024-02-22 05:00:40 +01:00
Daniel Hougaard 7f1963f1ac Update index.ts 2024-02-22 05:00:39 +01:00
Daniel Hougaard 6064c393c6 Ghost 2024-02-22 05:00:39 +01:00
Daniel Hougaard 0cecf05a5b Fix project seed (seeds old projects that can be upgraded) 2024-02-22 05:00:39 +01:00
Daniel Hougaard dc6497f9eb Update licence-fns.ts 2024-02-22 05:00:39 +01:00
Daniel Hougaard e445970f36 More gohst user 2024-02-22 05:00:35 +01:00
Daniel Hougaard c33741d588 Ghost user WIP 2024-02-22 05:00:26 +01:00
Daniel Hougaard 5dfc84190d Update bot-router.ts 2024-02-22 05:00:26 +01:00
Daniel Hougaard a1d11c0fcd Fixes 2024-02-22 05:00:26 +01:00
Daniel Hougaard 863bbd420c Added DAL methods 2024-02-22 05:00:26 +01:00
Daniel Hougaard 4b37b2afba Wired most of the frontend to support ghost users 2024-02-22 05:00:26 +01:00
Daniel Hougaard a366dbb16d Ghost user! 2024-02-22 05:00:26 +01:00
Daniel Hougaard 423ad49490 Helper functions for adding workspace members on serverside 2024-02-22 05:00:26 +01:00
Daniel Hougaard 2a4bda481d Crypto stuff 2024-02-22 05:00:26 +01:00
Daniel Hougaard 5b550a97a1 TS erros 2024-02-22 05:00:26 +01:00
Daniel Hougaard 0fa0e4eb0f Ghost user migration 2024-02-22 05:00:26 +01:00
Daniel Hougaard 65e3f0ec95 Update 3-project.ts 2024-02-22 05:00:26 +01:00
Daniel Hougaard c20f6e51ae Update project-router.ts 2024-02-22 05:00:26 +01:00
Daniel Hougaard cee8ead78a Update org-dal.ts 2024-02-22 05:00:26 +01:00
Daniel Hougaard 82fe0bb5c4 Update project-bot-service.ts 2024-02-22 05:00:26 +01:00
Daniel Hougaard 0b7efa57be Proper update project endpoint 2024-02-22 05:00:26 +01:00
Daniel Hougaard 9c11226b71 Renaming 2024-02-22 05:00:26 +01:00
Daniel Hougaard ae3606c9fb Optional slug on create project 2024-02-22 05:00:26 +01:00
Daniel Hougaard a0e25b8ea2 Describe 2024-02-22 05:00:26 +01:00
Daniel Hougaard 0931a17af5 Convert check to a standalone DAL operation 2024-02-22 05:00:26 +01:00
Daniel Hougaard c16bf2afdb Removed unused invite-signup endpoint (finally) 2024-02-22 05:00:26 +01:00
Daniel Hougaard 04b4e80dd1 Documentation 2024-02-22 05:00:26 +01:00
Daniel Hougaard f178220c5a Documentation 2024-02-22 05:00:26 +01:00
Daniel Hougaard ed353d3263 Extra 2024-02-22 05:00:26 +01:00
Daniel Hougaard ec6ec8813e Moved 2024-02-22 05:00:26 +01:00
Daniel Hougaard 3ea529d525 Update srp.ts 2024-02-22 05:00:26 +01:00
Daniel Hougaard f35f10558b Get last 700 secret versions instead of 100 2024-02-22 05:00:26 +01:00
Daniel Hougaard 28287b8ed4 Update project-queue.ts 2024-02-22 05:00:26 +01:00
Daniel Hougaard 0f3ec51d14 Update project-queue.ts 2024-02-22 05:00:26 +01:00
Daniel Hougaard 75813deb81 Fixed integrations & bulk update issue 2024-02-22 05:00:26 +01:00
Daniel Hougaard fb2a213214 Refactor migration to work with conflict/merge update logic 2024-02-22 05:00:26 +01:00
Daniel Hougaard bea24d9654 Remove rate limiter 2024-02-22 05:00:26 +01:00
Daniel Hougaard a7bc62f8e4 Akhil requested changes 2024-02-22 05:00:26 +01:00
Daniel Hougaard 2ef7e8f58e Improved invite user to project (even though this function isn't actually used.) 2024-02-22 05:00:26 +01:00
Daniel Hougaard 41d3b9314e Throw before completion (FOR TESTING!) 2024-02-22 05:00:26 +01:00
Daniel Hougaard 1e9d49008b Update project-service.ts 2024-02-22 05:00:26 +01:00
Daniel Hougaard 49d07a6762 Fixed versioning bug 2024-02-22 05:00:26 +01:00
Daniel Hougaard 9ce71371a9 cx -> twMerge 2024-02-22 05:00:26 +01:00
Daniel Hougaard c1c66da92b Improved polling 2024-02-22 05:00:26 +01:00
Daniel Hougaard 4121c1d573 Requested changes 2024-02-22 05:00:26 +01:00
Daniel Hougaard 108f3cf117 Requested changes 2024-02-22 05:00:26 +01:00
Daniel Hougaard a6e263eded Requested changes 2024-02-22 05:00:26 +01:00
Daniel Hougaard 419916ee0c Block secret mutations during upgrade 2024-02-22 05:00:25 +01:00
Daniel Hougaard f7e6a96a02 Cleanup 2024-02-22 05:00:25 +01:00
Daniel Hougaard b0356ba941 More tests 2024-02-22 05:00:25 +01:00
Daniel Hougaard 7ea5323a37 Update project-queue.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard 23e198d891 Update UpgradeProjectAlert.tsx 2024-02-22 05:00:25 +01:00
Daniel Hougaard 9f9849ccfd Move migration to latest 2024-02-22 05:00:25 +01:00
Daniel Hougaard 0c53eb8e22 Test decrypt fix 2024-02-22 05:00:25 +01:00
Daniel Hougaard 9b62937db2 More 2024-02-22 05:00:25 +01:00
Daniel Hougaard ebb8d632c4 Fix for "random" crash on creation 2024-02-22 05:00:25 +01:00
Daniel Hougaard 43aae87fb0 Update project-router.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard 3415514fde Update project-router.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard c0e0ddde76 Update project-router.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard 39ae66a84f Update project-router.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard e8ec5b8b49 Update check-api-for-breaking-changes.yml 2024-02-22 05:00:25 +01:00
Daniel Hougaard 592271de3b Fix for commonJS 2024-02-22 05:00:25 +01:00
Daniel Hougaard 5680b984cf Update srp.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard f378d6cc2b Update srp.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard 04c12d9a75 Revert seed 2024-02-22 05:00:25 +01:00
Daniel Hougaard 31b5f779fb Frontend bot logic 2024-02-22 05:00:25 +01:00
Daniel Hougaard bb92cef764 Fix dummy signup project to support V2 2024-02-22 05:00:25 +01:00
Daniel Hougaard 6090f86b74 Move check to inside service 2024-02-22 05:00:25 +01:00
Daniel Hougaard 8c3569a047 Check if project is v2 before allowing a bot to be created 2024-02-22 05:00:25 +01:00
Daniel Hougaard 6fa11fe637 Allow getting bot, but not creating 2024-02-22 05:00:25 +01:00
Daniel Hougaard 9287eb7031 Increase random size 2024-02-22 05:00:25 +01:00
Daniel Hougaard e54b261c0f Add new routes 2024-02-22 05:00:25 +01:00
Daniel Hougaard 60747b10b6 Error renaming 2024-02-22 05:00:25 +01:00
Daniel Hougaard bf278355c4 Delete membership by email 2024-02-22 05:00:25 +01:00
Daniel Hougaard d3d429db37 Delete membership by email 2024-02-22 05:00:25 +01:00
Daniel Hougaard f2dcc83a56 New doc routes 2024-02-22 05:00:25 +01:00
Daniel Hougaard 26576b6bcd Update project-membership-types.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard 4cca82c3c8 New service for deleting memberships by email 2024-02-22 05:00:25 +01:00
Daniel Hougaard 1b82a157cc Find membership by email 2024-02-22 05:00:25 +01:00
Daniel Hougaard 5409cffe33 Update project-key-service.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard 45327f10b1 Update project-bot-service.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard 37645ba126 Update project-router.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard 858b49d766 Add delete memberships by email 2024-02-22 05:00:25 +01:00
Daniel Hougaard a3a1a0007d Add auth methods 2024-02-22 05:00:25 +01:00
Daniel Hougaard 075f457bd1 Update models.ts 2024-02-22 05:00:25 +01:00
Daniel Hougaard 5156971d75 Add feature flag for showing upgrade project modal 2024-02-22 05:00:25 +01:00
Daniel Hougaard 8f3de3cc90 Small UI fixes on approvals page (color and capitalization and spelling) 2024-02-22 05:00:25 +01:00
Daniel Hougaard 69cba4e6c7 Make alert only visible to admins and add reloading on completion 2024-02-22 05:00:25 +01:00
Daniel Hougaard 6dcab6646c Make it impossible to log in with the ghost user 2024-02-22 05:00:25 +01:00
Daniel Hougaard 8e13eb6077 Update project-service.ts 2024-02-22 05:00:25 +01:00