Commit Graph

1802 Commits

Author SHA1 Message Date
mike12345567 83c16a9f14 Formatting. 2021-05-05 17:49:53 +01:00
mike12345567 2ee4fd21e4 Updating testing system across the board after playing around with it, having the worker tests run when top level test is ran, fixing environment in worker when testing, removing the use of redis (replacing with ioredis-mock) when in test. 2021-05-05 17:49:34 +01:00
Keviin Åberg Kultalahti ae43bbe008 add analytics toggling 2021-05-05 18:39:36 +02:00
Keviin Åberg Kultalahti 1f451d07de introduces portal stores concept and adds an org one that handles configs 2021-05-05 17:50:45 +02:00
Keviin Åberg Kultalahti df30e594df allow navigation to other URLs than /builder 2021-05-05 11:22:39 +02:00
mike12345567 1cf778845a Fixing issues with Redis/Bull and the integration with new redis module. 2021-05-04 18:13:44 +01:00
mike12345567 b01da0aad5 Merge branch 'next' of github.com:Budibase/budibase into feature/password-reset 2021-05-04 15:21:53 +01:00
mike12345567 e5f3b3956c Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Martin McKeaveney 4086d39535 merge with next 2021-05-04 11:49:34 +01:00
Martin McKeaveney 8ecb70a8f7 merge with next 2021-05-04 11:40:59 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
mike12345567 d3ef4224a6 Merge branch 'labday/mike-formulas' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:50:52 +01:00
mike12345567 dcf69b2181 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Martin McKeaveney 72ed644803 merge 2021-05-04 09:55:14 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Michael Drury 48a0c66972 Fixing cypress tests. 2021-04-30 19:17:00 +01:00
Martin McKeaveney 6d32d5f8b1 tidy up 2021-04-30 15:44:37 +01:00
Martin McKeaveney 784ac20dd8 external data connector block 2021-04-29 21:35:16 +01:00
mike12345567 a14c80bf6c Adding handlebars formulas to the system, it is now possible to set a formula at a column level which will always be applied on the way out with a relationship depth of one. 2021-04-29 19:06:58 +01:00
Martin McKeaveney b876e91ae6 merge with next 2021-04-29 11:45:47 +01:00
mike12345567 58ca0d4224 Updating auth middleware to accomodate public endpoints for the server properly and some refactoring. 2021-04-28 18:13:21 +01:00
Andrew Kingston 9c903feed0 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
mike12345567 2b58d695af Updating packages so that @budibase/auth doesn't stop installations. 2021-04-28 15:25:49 +01:00
mike12345567 102f4bf1d4 Stripping out conjunction in view filter if its the first one. 2021-04-28 14:57:52 +01:00
mike12345567 60b61f1322 Fixing login issue. 2021-04-28 14:28:25 +01:00
mike12345567 08c158c121 Adding a redis client to the auth system, as part of work towards the reset password flow. 2021-04-27 17:29:05 +01:00
mike12345567 819d6e79f5 Updates after finding a better template to use and adding some real email testing with Ethereal platform. 2021-04-26 14:14:51 +01:00
mike12345567 0dd46d12fa Updating test cases and some re-work of the email system. 2021-04-23 18:07:39 +01:00
mike12345567 ea8e3b7d3f Adding testing to worker, still WIP. 2021-04-23 14:58:06 +01:00
Martin McKeaveney 6462848191 config specificity 2021-04-22 11:45:22 +01:00
mike12345567 e85b7682e0 Initial CRUD interface for templates. 2021-04-21 18:15:57 +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
mike12345567 89fef34401 Updating cypress tests to work with the new user ID system. 2021-04-21 11:33:12 +01:00
mike12345567 de19e986c6 Linting and formatting. 2021-04-20 17:33:44 +01:00
mike12345567 ec3a9db383 Updating test cases now that login has changed a bit. 2021-04-20 17:27:23 +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 eaa89c824e Updating the server to remove use of the email in the user ID. 2021-04-19 16:26:33 +01:00
mike12345567 3a6cc28df0 Merge branch 'master' of github.com:Budibase/budibase into next 2021-04-16 17:01:35 +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
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 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 3dfe255eb4 Removing test case that isn't valid anymore. 2021-04-14 17:27:58 +01: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 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
Keviin Åberg Kultalahti 255512e309 adds focus action to first input field of modals 2021-04-14 10:22:45 +02: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 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
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
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
mike12345567 7685d2949e Removing test cases which are no longer valid. 2021-04-13 13:37:54 +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 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 65be3e9ede v0.8.14 2021-04-11 12:58:22 +01:00
Martin McKeaveney c19cc4f3c9 v0.8.13 2021-04-11 12:53:39 +01:00
Martin McKeaveney 98576f586e login page 2021-04-11 11:35:55 +01:00
mike12345567 4f71e11c94 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567 e34894dd92 Global user management now functioning as expected, there were some errant db.destroy functions from the system previously, this is now cleaned up. 2021-04-09 16:55:56 +01:00
mike12345567 3214abb89a Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
Andrew Kingston e76f40548b Disable image processing of attachments 2021-04-09 14:22:11 +01:00
mike12345567 30a7303762 Updating to make sure a relative URL is always used for attachments. 2021-04-09 13:49:16 +01:00
mike12345567 d508b905be Making attachments always a relative path on the way out. 2021-04-09 13:41:39 +01:00
mike12345567 0c34f1a108 Making sure volumes are removed when nuking. 2021-04-08 18:18:53 +01:00
mike12345567 15900efc35 Some changes after trying system for first time. 2021-04-08 17:39:46 +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