Commit Graph

4660 Commits

Author SHA1 Message Date
Martin McKeaveney 06f3b1fbad ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
mike12345567 7e6855262b 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 42ed66703a Updating current app to set up role in middleware. 2021-04-13 14:35:00 +01:00
Martin McKeaveney f5e5a415ca remove buildertoken refs 2021-04-13 14:00:09 +01:00
Martin McKeaveney bd48b02ab1 logout button 2021-04-13 13:56:28 +01:00
Martin McKeaveney 68cecda546 prevent login page flash on initial render 2021-04-13 13:41:12 +01:00
mike12345567 f219b4e4fb Removing test cases which are no longer valid. 2021-04-13 13:37:54 +01:00
mike12345567 af0df42c3c Formatting. 2021-04-13 13:35:30 +01:00
mike12345567 df55363133 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 a209606739 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 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 46b975186c Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 10:26:40 +01:00
Martin McKeaveney 2abb5d5759 small fixes 2021-04-13 09:20:30 +01:00
Martin McKeaveney 2c5a65cbb2 remove merge conflict 2021-04-12 20:11:21 +01:00
Martin McKeaveney 0fc957a13d v0.8.16 2021-04-12 19:51:11 +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 160d02a691 v0.8.15 2021-04-12 17:10:19 +01:00
Martin McKeaveney b1ea1b0fda lint 2021-04-12 16:51:07 +01:00
mike12345567 698c983056 Updating fetch self to get the global user as well as local metadata. 2021-04-12 15:54:14 +01:00
Martin McKeaveney 85f8229ef4
Update microsoftSqlServer.js 2021-04-12 15:01:52 +01:00
Martin McKeaveney d8a0f0f747 merge 2021-04-12 13:41:46 +01:00
Martin McKeaveney 9eb6b541e9 merge 2021-04-12 13:39:53 +01:00
mike12345567 e2762e046d Removing test case which was no longer needed. 2021-04-12 12:19:45 +01:00
Martin McKeaveney 22a3f1691f in progress - currentapp token 2021-04-12 12:02:28 +01:00
mike12345567 08ce2b0557 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 826da54731 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 0548fdc863 self endpoint, simple auth 2021-04-12 11:20:01 +01:00
mike12345567 185dd1c7a9 Fixing issue with 403 on schema endpoint due to change in middleware. 2021-04-12 11:16:41 +01:00
mike12345567 47fa06675e 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 eed1228803 Updating snapshot for middleware test. 2021-04-12 11:09:06 +01:00
Martin McKeaveney 6499213f90 merge 2021-04-12 10:48:27 +01:00
Martin McKeaveney d7e187d8f2 builder login 2021-04-12 10:47:48 +01:00
Martin McKeaveney c30e70c939 v0.8.14 2021-04-11 12:58:22 +01:00
Martin McKeaveney 4b6efc42ed v0.8.13 2021-04-11 12:53:39 +01:00
Martin McKeaveney 83abf8111b fix automation fields 2021-04-11 12:02:01 +01:00
Martin McKeaveney b5a5df7f60 login page 2021-04-11 11:35:55 +01:00
mike12345567 dccd559b56 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567 ac1f391383 Formatting. 2021-04-09 16:56:42 +01:00
mike12345567 dc62087dad 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 164ef9a22e Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
mike12345567 5cf3740fea Making sure volumes are removed when nuking. 2021-04-08 18:18:53 +01:00
mike12345567 13c368109e Some changes after trying system for first time. 2021-04-08 17:39:46 +01:00
mike12345567 76346d082d Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-08 17:00:17 +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 1306f4cd68 move auth controller into it's own dir 2021-04-08 11:57:23 +01:00
Martin McKeaveney edfda5ca4a further simplification of jwt auth 2021-04-08 11:53:40 +01:00
Martin McKeaveney 4390bc5c0c encapsulate db ID generation functions 2021-04-08 11:26:08 +01:00
Martin McKeaveney 1054e25c84 flip auth boolean 2021-04-08 11:21:52 +01:00
Martin McKeaveney b7f0891567 Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-08 11:20:42 +01:00
Martin McKeaveney 73dfad3001 encapsulate more auth functionality into shared module and use in worker 2021-04-08 11:20:37 +01:00
mike12345567 cc92b6c087 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-08 11:12:24 +01:00
mike12345567 6d5b13632f Adding a wait for authentication in cypress tests.# 2021-04-07 20:19:25 +01:00
mike12345567 9c0a879e86 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 17:52:36 +01:00
mike12345567 0f49868de8 Updating to make sure the envoy generated dev file is very obviously not to be edited. 2021-04-07 17:52:22 +01:00
Andrew Kingston 8a3a7cfe92 Update all scripts to use yarn rather than npm 2021-04-07 17:38:49 +01:00
Martin McKeaveney 2d7823f314 Merge branch 'dev-experience' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-07 17:17:00 +01:00
mike12345567 482525187d Attempting to use HBS to re-create the envoy file as needed in dev. 2021-04-07 17:13:19 +01:00
mike12345567 63135e3351 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 16:08:43 +01:00
mike12345567 29787032f0 Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on. 2021-04-07 16:08:29 +01:00
mike12345567 85d7dd4d20 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 15:22:52 +01:00
mike12345567 fed4910ac8 Merge branch 'dev-experience' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 15:22:22 +01:00
Martin McKeaveney 46ddcdce2c JWT auth on admin endpoints 2021-04-07 15:15:05 +01:00
Andrew Kingston a66389f8a2 Lint 2021-04-07 15:14:49 +01:00
Andrew Kingston 799a5285e3 Only hydrate state from URL once in design section to avoid cycles 2021-04-07 15:10:03 +01:00
Andrew Kingston e897a5ae61 Fix building loading settings modal before app package call finishes 2021-04-07 15:09:35 +01:00
Andrew Kingston a9f50556d3 Fix cypress tests not deleting old apps 2021-04-07 15:08:59 +01:00
Andrew Kingston 99c8897500 Format tests 2021-04-07 13:46:26 +01:00
Andrew Kingston 46a02ddb0c Fix route error when creating a view 2021-04-07 13:43:11 +01:00
mike12345567 6d20dcffc5 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 13:36:34 +01:00
mike12345567 c926206ad7 Fixing an issue with group by views. 2021-04-07 13:08:28 +01:00
mike12345567 78c6abbb62 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 11:55:04 +01:00
mike12345567 18ce4a1e19 Updating authorization test case to remove check for builder security and removing builder security while auth is being worked on - added an option to start stack without server so that user can start it in a debug mode if desired. 2021-04-07 11:54:51 +01:00
Andrew Kingston b861341997 Add dev script to do a one-time BBUI build so that the stylesheet exists 2021-04-07 11:47:01 +01:00
Martin McKeaveney 6e40e444fc Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-07 11:33:22 +01:00
Martin McKeaveney 87b1924470 groundwork for budibase auth lib 2021-04-07 11:33:16 +01:00
Andrew Kingston a027399d57 Fix missing import of automationStore 2021-04-07 11:33:14 +01:00
Andrew Kingston 48918a17f5 Fix typo 2021-04-07 11:31:59 +01:00
Andrew Kingston 62a5c1697d Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 11:31:26 +01:00
Andrew Kingston 4cb085d80d Add commonJS fields to package.json for client and standard components so the server can require them 2021-04-07 11:31:19 +01:00
mike12345567 62360b1025 Fixing component definition test cases and fixing an issue found by authorized test case. 2021-04-07 11:27:15 +01:00
Andrew Kingston 6d8f27ba4e Export manifext in package.json 2021-04-07 11:17:01 +01:00
Andrew Kingston 2ccdf54924 Use node_modules to fetch component manifest in test env 2021-04-07 11:16:48 +01:00
Andrew Kingston ac75c3cd65 Update string-templates tests 2021-04-07 10:56:06 +01:00
Andrew Kingston 4e200d0def Update locks 2021-04-07 10:52:41 +01:00
Andrew Kingston a788a161b8 Include BBUI CSS in standard components 2021-04-07 10:52:33 +01:00
Andrew Kingston 35c2e5dd94 Remove CORS hack now that the envoy proxy removes the need for it 2021-04-07 10:37:26 +01:00
mike12345567 bb777123d5 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 10:05:57 +01:00
Andrew Kingston 41d43eb479 Add back in Grid to backend UI 2021-04-07 09:03:47 +01:00
mike12345567 c659968bd9 Formatting. 2021-04-06 18:08:07 +01:00
Keviin Åberg Kultalahti 2ab41f8a98 fix ag-grid not working 2021-04-06 16:48:01 +02:00
Andrew Kingston 9c0fedbd21 Update BBUI to use vite and remove old svench config 2021-04-01 21:05:18 +01:00
Martin McKeaveney 349a47c1e1 basic couchDB authentication using passport 2021-04-01 20:34:43 +01:00
Andrew Kingston 2b31f7d8a1 Fix routing error when initially loading Data page 2021-04-01 19:49:51 +01:00
Andrew Kingston caee5e3cd9 Remove placeholder from iframe template 2021-04-01 19:43:44 +01:00
Andrew Kingston 0b14fe89f3 Restore proper client functionality with vite 2021-04-01 19:42:14 +01:00
Andrew Kingston 41fb64aa04 Properly dedupe svelte to allow context sharing 2021-04-01 19:41:54 +01:00
Andrew Kingston a858dd72c2 Ignore some client lib warnings 2021-04-01 19:25:56 +01:00
Andrew Kingston 52a93f9dd7 Add missing alt tag to dropzone image 2021-04-01 19:21:12 +01:00
Andrew Kingston e3cee769f4 Remove old code from container 2021-04-01 19:19:14 +01:00