Commit Graph

5260 Commits

Author SHA1 Message Date
mike12345567 c3a1841f01 Updating auth package to remove use of email address (bar logging in). 2021-04-19 17:31:47 +01:00
mike12345567 eaa89c824e Updating the server to remove use of the email in the user ID. 2021-04-19 16:26:33 +01:00
Michael Drury 954a46278a Merge pull request #1386 from Budibase/global-db
Updating user database to be the global database
2021-04-19 11:24:33 +01:00
mike12345567 b887fd6b99 Changing user db to be called global db. 2021-04-16 18:09:34 +01:00
mike12345567 aa467e7d63 Formatting. 2021-04-16 17:25:53 +01:00
mike12345567 3a6cc28df0 Merge branch 'master' of github.com:Budibase/budibase into next 2021-04-16 17:01:35 +01:00
mike12345567 d19e350df8 Formatting. 2021-04-16 14:43:20 +01:00
Martin McKeaveney a1bcb2f857 Merge pull request #1383 from Budibase/feature/global-user-management
Feature/global user management
2021-04-16 14:02:04 +01:00
mike12345567 370ffde901 Merge branch 'master' of github.com:Budibase/budibase 2021-04-16 13:47:40 +01:00
mike12345567 9f22ab0a1a Some fixes for creation/editing of table columns. 2021-04-16 13:47:30 +01:00
Martin McKeaveney d27609de40 default user 2021-04-15 23:14:10 +01:00
Martin McKeaveney 201b26059c account for empty user id in automations 2021-04-15 21:34:03 +01:00
Martin McKeaveney 508730db6b lint 2021-04-15 18:34:49 +01:00
Martin McKeaveney 4c20427c33 login step configured correctly 2021-04-15 18:29:11 +01:00
Martin McKeaveney 015bb72daf lint 2021-04-15 17:46:47 +01:00
Martin McKeaveney fdfb9dafb2 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
mike12345567 1ab5064ecb Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-15 16:57:35 +01:00
mike12345567 af53ed2109 Fixing some issues with auth module. 2021-04-15 16:57:01 +01:00
Martin McKeaveney b94a964775 uncomment code 2021-04-15 16:50:06 +01:00
Martin McKeaveney 9cebd859f8 merge 2021-04-15 16:49:35 +01:00
mike12345567 9e1315c535 Updating auth lib so that it takes in a pouch instance rather than creating its own. 2021-04-15 16:45:21 +01:00
mike12345567 aacfb6adba Updating worker/server to run in cypress properly. 2021-04-15 16:25:48 +01:00
mike12345567 9af9761753 Some changes to initial login form, improvements based on testing and attempts to fix cypress test failures. 2021-04-15 15:57:55 +01:00
mike12345567 68c113225e Linting. 2021-04-15 13:23:42 +01:00
Martin McKeaveney 52920beb78 login command - need to run worker in cypress env 2021-04-15 12:14:50 +01:00
mike12345567 3dfe255eb4 Removing test case that isn't valid anymore. 2021-04-14 17:27:58 +01:00
github-actions[bot] 98b52e35c2 @mike12345567 has signed the CLA from Pull Request #1383 2021-04-14 16:20:20 +00:00
github-actions[bot] 4d5b3c60a3 Creating file for storing CLA Signatures 2021-04-14 16:19:03 +00:00
Martin McKeaveney 6cd43f545a Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-14 17:02:18 +01:00
Martin McKeaveney 0f6bfb53fc removing initial user creation 2021-04-14 17:02:12 +01:00
mike12345567 c7171d0303 Linting. 2021-04-14 16:44:10 +01:00
mike12345567 6852d3c461 Formatting. 2021-04-14 16:01:28 +01:00
mike12345567 dc20151c19 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 56552d02ef Removing server 403. 2021-04-14 15:44:18 +01:00
mike12345567 6c58c90a7a Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
mike12345567 a76964d12e Updating environment in auth package, easily see required env settings. 2021-04-14 14:13:48 +01:00
Martin McKeaveney 77c98009b8 joi syntax, adding db user builder key to cookie 2021-04-14 13:22:57 +01:00
mike12345567 e8383653c1 Formatting. 2021-04-13 20:26:26 +01:00
mike12345567 c7c158dd84 Fixing up tests, need to mock most of the worker functionality so that worker doesn't need to run during tests. 2021-04-13 20:25:43 +01:00
mike12345567 105e1cc16f Getting most of the test auth working, adding in global builder configuration. 2021-04-13 18:12:35 +01:00
mike12345567 f1e37a501c Fixing an issue with save row, changing how pre existing was handled caused an issue. 2021-04-13 17:41:32 +01:00
mike12345567 b9381e04a2 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 17:12:56 +01:00
mike12345567 ad626d3e47 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 a1227c5819 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
Michael Shanks cccdb61779 Merge pull request #1382 from Budibase/cla
Contributor license agreement
2021-04-13 17:08:24 +01:00
Michael Shanks a61c54f07e lint fix + remove electron.js 2021-04-13 16:57:22 +01:00
Martin McKeaveney a68227735c ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
Michael Shanks 55ce7367ae cla - changes to corporate process 2021-04-13 16:41:22 +01:00
mike12345567 56b4b1583c 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
Michael Shanks f2f640aca9 Contributor license agreement
licenses and new GitHub action
2021-04-13 14:43:33 +01:00