Commit Graph

5279 Commits

Author SHA1 Message Date
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
mike12345567 02c9f69143 Updating current app to set up role in middleware. 2021-04-13 14:35:00 +01:00
Martin McKeaveney d82516d949 remove buildertoken refs 2021-04-13 14:00:09 +01:00
Martin McKeaveney 509a04d914 logout button 2021-04-13 13:56:28 +01:00
Martin McKeaveney 252c50029f prevent login page flash on initial render 2021-04-13 13:41:12 +01:00
mike12345567 7685d2949e Removing test cases which are no longer valid. 2021-04-13 13:37:54 +01:00
mike12345567 96b4549a4c Formatting. 2021-04-13 13:35:30 +01:00
mike12345567 81d7d1f4c6 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 c51dacd0fe 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 d72a6dc8df currentapp being set correctly for user 2021-04-13 13:26:13 +01:00
Martin McKeaveney 3226ee90e2 Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
mike12345567 a52f296d78 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 10:26:40 +01:00
Martin McKeaveney 651b57fbb2 small fixes 2021-04-13 09:20:30 +01:00
Martin McKeaveney 20a00d1225 remove merge conflict 2021-04-12 20:11:21 +01:00
Martin McKeaveney b0ffb8dcb8 v0.8.16 2021-04-12 19:51:11 +01:00
mike12345567 eaad867780 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 fe5dd7e2ac v0.8.15 2021-04-12 17:10:19 +01:00
Martin McKeaveney f5c31f73b3 lint 2021-04-12 16:51:07 +01:00
mike12345567 0e583eb185 Updating fetch self to get the global user as well as local metadata. 2021-04-12 15:54:14 +01:00
Martin McKeaveney 947da97d62 Update microsoftSqlServer.js 2021-04-12 15:01:52 +01:00
Martin McKeaveney b5baf9f892 merge 2021-04-12 13:41:46 +01:00
Martin McKeaveney c02306e6fb merge 2021-04-12 13:39:53 +01:00
mike12345567 5993ae6242 Removing test case which was no longer needed. 2021-04-12 12:19:45 +01:00
Martin McKeaveney dd0b4baef5 in progress - currentapp token 2021-04-12 12:02:28 +01:00
mike12345567 d2a3dc4a2f Some fixes for automations, removing password obsfucation in create user step as not useful and making update row work with correct row ID. 2021-04-12 11:53:37 +01:00
Martin McKeaveney ce55f99a0a 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 c4a9d8c9f0 self endpoint, simple auth 2021-04-12 11:20:01 +01:00
mike12345567 9b77f4e518 Fixing issue with 403 on schema endpoint due to change in middleware. 2021-04-12 11:16:41 +01:00
mike12345567 a2c7ea9ba4 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 4516e3d798 Updating snapshot for middleware test. 2021-04-12 11:09:06 +01:00
Martin McKeaveney e2ce7098c5 merge 2021-04-12 10:48:27 +01:00
Martin McKeaveney 468b9b97f9 builder login 2021-04-12 10:47:48 +01:00