Commit Graph

45 Commits

Author SHA1 Message Date
mike12345567 d985d338ec Updating test cases and some re-work of the email system. 2021-04-23 18:07:39 +01:00
mike12345567 46c9df6245 Adding testing to worker, still WIP. 2021-04-23 14:58:06 +01:00
Martin McKeaveney 83f9e00aff fix imports 2021-04-22 15:27:09 +01:00
Martin McKeaveney 17d20b3faf only keep userId in payload 2021-04-22 14:53:19 +01:00
Martin McKeaveney ad63faf448 tidy up 2021-04-22 14:07:00 +01:00
Martin McKeaveney 9a12239e62 scoped configuration management 2021-04-22 13:46:54 +01:00
Martin McKeaveney 737e9dba47 config specificity 2021-04-22 11:45:22 +01:00
Martin McKeaveney 1c7689e694 google login reading from couch 2021-04-21 21:08:04 +01:00
Martin McKeaveney 1da29900c7 merge 2021-04-21 18:43:20 +01:00
Martin McKeaveney 1f831f1281 custom google middleware 2021-04-21 18:40:32 +01:00
mike12345567 e057217b48 Initial CRUD interface for templates. 2021-04-21 18:15:57 +01:00
mike12345567 ec099a9e6f Formatting and linting. 2021-04-21 16:46:51 +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
Martin McKeaveney b61a29f2ff google auth E2E 2021-04-21 12:12:22 +01:00
Martin McKeaveney 1b54845c5e config creation and management APIs 2021-04-20 18:14:36 +01:00
mike12345567 a464aa09db Linting and formatting. 2021-04-20 17:33: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 f24a9d8593 Merge branch 'next' of github.com:Budibase/budibase into feature/user-id-update 2021-04-20 14:03:42 +01:00
mike12345567 e787f22daa Updating auth package to remove use of email address (bar logging in). 2021-04-19 17:31:47 +01:00
Martin McKeaveney 657ae2b554 group CRUD 2021-04-19 16:16:46 +01:00
Martin McKeaveney 07ac411b12 merge 2021-04-19 11:38:54 +01:00
Martin McKeaveney 95b768c073 basic group apis 2021-04-19 11:34:07 +01:00
mike12345567 9cc640ac0e Changing user db to be called global db. 2021-04-16 18:09:34 +01:00
Martin McKeaveney 191c085f17 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
mike12345567 ee1a7a69ac Fixing some issues with auth module. 2021-04-15 16:57:01 +01:00
mike12345567 2edb559fcf 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 3697a270ec Linting. 2021-04-14 16:44:10 +01:00
mike12345567 29f6582ec0 Formatting. 2021-04-14 16:01:28 +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 e580628b9c Updating environment in auth package, easily see required env settings. 2021-04-14 14:13:48 +01:00
Martin McKeaveney eef989f375 joi syntax, adding db user builder key to cookie 2021-04-14 13:22:57 +01:00
Martin McKeaveney bd48b02ab1 logout button 2021-04-13 13:56:28 +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 6499213f90 merge 2021-04-12 10:48:27 +01:00
Martin McKeaveney b5a5df7f60 login page 2021-04-11 11:35:55 +01:00
mike12345567 ac1f391383 Formatting. 2021-04-09 16:56:42 +01:00
mike12345567 164ef9a22e Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
mike12345567 792114ef46 First pass of global user configuration through existing user API with role mappings. 2021-04-08 16:58:33 +01:00
Martin McKeaveney 4390bc5c0c encapsulate db ID generation functions 2021-04-08 11:26:08 +01:00
Martin McKeaveney 73dfad3001 encapsulate more auth functionality into shared module and use in worker 2021-04-08 11:20:37 +01:00
Martin McKeaveney 46ddcdce2c JWT auth on admin endpoints 2021-04-07 15:15:05 +01:00
Martin McKeaveney 87b1924470 groundwork for budibase auth lib 2021-04-07 11:33:16 +01:00