Commit Graph

686 Commits

Author SHA1 Message Date
Martin McKeaveney 28f8f8b6ef custom google middleware 2021-04-21 18:40:32 +01:00
mike12345567 e85b7682e0 Initial CRUD interface for templates. 2021-04-21 18:15:57 +01:00
mike12345567 15223080d5 Formatting and linting. 2021-04-21 16:46:51 +01:00
mike12345567 76ceb6a951 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
Martin McKeaveney ffe167bbd3 google auth E2E 2021-04-21 12:12:22 +01:00
Martin McKeaveney 301f681c88 config creation and management APIs 2021-04-20 18:14:36 +01:00
mike12345567 de19e986c6 Linting and formatting. 2021-04-20 17:33:44 +01:00
mike12345567 b4c8bf81f7 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 1f8925ceb8 Merge branch 'next' of github.com:Budibase/budibase into feature/user-id-update 2021-04-20 14:03:42 +01:00
mike12345567 c3a1841f01 Updating auth package to remove use of email address (bar logging in). 2021-04-19 17:31:47 +01:00
Martin McKeaveney 4b5d302819 group CRUD 2021-04-19 16:16:46 +01:00
Martin McKeaveney 390b43c122 merge 2021-04-19 11:38:54 +01:00
Martin McKeaveney 34a12831a6 basic group apis 2021-04-19 11:34:07 +01:00
mike12345567 b887fd6b99 Changing user db to be called global db. 2021-04-16 18:09:34 +01:00
Martin McKeaveney fdfb9dafb2 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
mike12345567 af53ed2109 Fixing some issues with auth module. 2021-04-15 16:57:01 +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 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 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
Martin McKeaveney 509a04d914 logout button 2021-04-13 13:56:28 +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 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 dd0b4baef5 in progress - currentapp token 2021-04-12 12:02:28 +01:00
Martin McKeaveney e2ce7098c5 merge 2021-04-12 10:48:27 +01:00
Martin McKeaveney 98576f586e login page 2021-04-11 11:35:55 +01:00
mike12345567 e275553f60 Formatting. 2021-04-09 16:56:42 +01:00
mike12345567 3214abb89a Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
mike12345567 8cde219db9 First pass of global user configuration through existing user API with role mappings. 2021-04-08 16:58:33 +01:00
Martin McKeaveney fb2fda4055 encapsulate db ID generation functions 2021-04-08 11:26:08 +01:00
Martin McKeaveney c7f4070ff5 encapsulate more auth functionality into shared module and use in worker 2021-04-08 11:20:37 +01:00
Martin McKeaveney f135aa9db4 JWT auth on admin endpoints 2021-04-07 15:15:05 +01:00
Martin McKeaveney cf073a1e55 groundwork for budibase auth lib 2021-04-07 11:33:16 +01:00