1
0
Fork 0
mirror of synced 2024-06-30 12:00:31 +12:00
Commit graph

123 commits

Author SHA1 Message Date
mike12345567 96ad77b41d Formatting 2021-05-21 14:49:59 +01:00
mike12345567 f56250824c Adding a debounced updated at timestamp to applications. 2021-05-21 13:07:10 +01:00
mike12345567 fba63134d1 Fixing some issues found when testing. 2021-05-20 20:48:24 +01:00
mike12345567 2d0122f7d6 A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 2021-05-14 15:43:41 +01:00
mike12345567 4652aaa16f Fixing two issues which were blocking previews, one the user was no longer being updated as an admin (when first building/creating an app) and two, role was not being carried across from global user properly. 2021-05-13 18:10:09 +01:00
mike12345567 e560390d8a Fixing an issue with portal calls causing the app to be re-locked. 2021-05-13 15:32:03 +01:00
mike12345567 799b3fc138 Updating locks to store the whole global user as well as implementing the locks on dev apps fetch. 2021-05-13 12:16:09 +01:00
mike12345567 2fa7ee5bcb Formatting. 2021-05-12 17:43:29 +01:00
mike12345567 f6fbeb4858 Putting together redis lock system. 2021-05-12 17:37:09 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 d985d338ec Updating test cases and some re-work of the email system. 2021-04-23 18:07:39 +01:00
Martin McKeaveney 737e9dba47 config specificity 2021-04-22 11:45:22 +01:00
mike12345567 bb5dbf27aa Some re-work of the auth package, making it a bit easier to use/less likely to make a mistake. 2021-04-21 16:42:44 +01:00
mike12345567 7612b5ed16 Swapping over everything to use the new user ID and updating everything after some end to end testing. 2021-04-20 17:17:44 +01:00
mike12345567 ade007482c Updating the server to remove use of the email in the user ID. 2021-04-19 16:26:33 +01:00
mike12345567 8e729f92e1 Some more server-side fixes, updating it so that builders have permissions to do anything for now (means that a builder user doesn't have to be present in app database to work. 2021-04-14 16:00:58 +01:00
mike12345567 8b20fcb573 Getting most of the test auth working, adding in global builder configuration. 2021-04-13 18:12:35 +01:00
mike12345567 a8f7977510 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 17:12:09 +01:00
mike12345567 d0bdd113e1 Removing the lookup of _id in usage quota when in dev/self host for performance reasons as part of usage quota, re-writing some bits of fetch self for cleaner implementation, fixing some issues with updating/saving users from within app. 2021-04-13 17:11:55 +01:00
Martin McKeaveney 06f3b1fbad ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
mike12345567 7e6855262b Fixing some issues with the ctx.user, this was previously filled in by the old auth middleware. 2021-04-13 15:27:47 +01:00
mike12345567 42ed66703a Updating current app to set up role in middleware. 2021-04-13 14:35:00 +01:00
mike12345567 f219b4e4fb Removing test cases which are no longer valid. 2021-04-13 13:37:54 +01:00
mike12345567 df55363133 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 13:35:21 +01:00
mike12345567 a209606739 Adding test cases for current app middleware as well as removing some old middlewares that were no longer used. 2021-04-13 13:32:09 +01:00
Martin McKeaveney b728fc1a3c currentapp being set correctly for user 2021-04-13 13:26:13 +01:00
Martin McKeaveney 654a53fc0a Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
mike12345567 2aa26a2302 Some work towards implementing the current app cookie, removing some old dead code and re-working some of the different middlewares involved. 2021-04-12 18:31:58 +01:00
Martin McKeaveney 22a3f1691f in progress - currentapp token 2021-04-12 12:02:28 +01:00
Martin McKeaveney 826da54731 Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-12 11:20:07 +01:00
Martin McKeaveney 0548fdc863 self endpoint, simple auth 2021-04-12 11:20:01 +01:00
mike12345567 47fa06675e Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-12 11:09:22 +01:00
mike12345567 eed1228803 Updating snapshot for middleware test. 2021-04-12 11:09:06 +01:00
Martin McKeaveney 6499213f90 merge 2021-04-12 10:48:27 +01:00
Martin McKeaveney b5a5df7f60 login page 2021-04-11 11:35:55 +01:00
mike12345567 dccd559b56 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
Martin McKeaveney 2d7823f314 Merge branch 'dev-experience' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-07 17:17:00 +01:00
mike12345567 29787032f0 Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on. 2021-04-07 16:08:29 +01:00
mike12345567 fed4910ac8 Merge branch 'dev-experience' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 15:22:22 +01:00
mike12345567 18ce4a1e19 Updating authorization test case to remove check for builder security and removing builder security while auth is being worked on - added an option to start stack without server so that user can start it in a debug mode if desired. 2021-04-07 11:54:51 +01:00
mike12345567 62360b1025 Fixing component definition test cases and fixing an issue found by authorized test case. 2021-04-07 11:27:15 +01:00
mike12345567 73e97e50f4 Updating some route middleware security. 2021-04-01 14:38:31 +01:00
Andrew Kingston 23641a5d56 Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Andrew Kingston 583faba9da Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
mike12345567 865baf6d16 Removing use of the , replacing to ctx.appId to make it clear appId not part of the auth. 2021-03-29 17:32:05 +01:00
mike12345567 73cf53d149 Getting rid of the CLOUD environment variable, this makes no sense anymore, now there is isDev() and isProd() which will work out the current state of the cluster. 2021-03-24 18:21:23 +00:00
mike12345567 e715423544 Fixing some test cases that were affected by file system refactor. 2021-03-23 18:04:53 +00:00
mike12345567 bf2adb0458 Updating API keys and changing over system to allow use of builder endpoints when running in cloud. 2021-03-22 16:39:11 +00:00
mike12345567 571ac3cf06 Testing some of the automation actions (still a few to complete) and adding quick test case for the self host stuff. 2021-03-11 18:29:48 +00:00