Commit Graph

4683 Commits

Author SHA1 Message Date
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
Andrew Kingston 65fe57ee23 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +01:00
Andrew Kingston eff0313e4e Update locks 2021-04-01 19:07:06 +01:00
Andrew Kingston 810400d760 Add missing file from update 2021-04-01 18:01:36 +01:00
Andrew Kingston 230e9ed988 Update to support new backend table structure 2021-04-01 18:00:46 +01:00
Andrew Kingston 66ef52bf73 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston 9f276cb183 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 17:07:56 +01:00
Andrew Kingston 249f58c3b4 Add standard components yarn.lock 2021-04-01 17:07:43 +01:00
mike12345567 be41ff0064 Adding back server lock file. 2021-04-01 17:07:31 +01:00
Andrew Kingston 43b13a9cba Add builder yarn.lock 2021-04-01 17:06:48 +01:00
mike12345567 e9e01f00cc Fixing issue with node modules path. 2021-04-01 16:36:27 +01:00
mike12345567 07c4d519f6 Fixing an issue with server still expecting tmp directory to be created externally and updating component library to not cache with require in dev. 2021-04-01 16:28:51 +01:00
mike12345567 b25cd7a23f Fixing node modules path. 2021-04-01 16:22:44 +01:00
mike12345567 fa269eb043 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:20:06 +01:00
mike12345567 e2c5051467 Updating standard components to make use of the development version in node_modules. 2021-04-01 16:19:31 +01:00
Andrew Kingston a77ed6d545 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:09:37 +01:00
Andrew Kingston 8241dbcd58 Fix string-templates and client buindling for ESM 2021-04-01 16:09:16 +01:00
mike12345567 73e97e50f4 Updating some route middleware security. 2021-04-01 14:38:31 +01:00
mike12345567 e2bae54b97 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 14:12:30 +01:00
mike12345567 3672188f4e Some refactoring of utilities and constants, as well as documenting work carried out here. 2021-04-01 14:11:58 +01:00
Andrew Kingston dab183cc8a Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston 5ebb31e472 Fix syntax error in BBUI package.json 2021-04-01 13:53:21 +01:00
Andrew Kingston 1726bd0b79 Remove dev script from BBUI as it is bundled from other packages in the dev stack now 2021-04-01 13:52:52 +01:00
Andrew Kingston 557a26c18c Fix BBUI rollup 2021-04-01 13:52:06 +01:00
Andrew Kingston ecf15f9207 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:51:48 +01:00
Andrew Kingston 808a30fa07 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:44:18 +01:00
Andrew Kingston db2a710168 Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Keviin Åberg Kultalahti d62c4bef95 adds sorting to cypress views test 2021-04-01 14:28:38 +02:00
Keviin Åberg Kultalahti 9c0186debb adds some more waits to the cypress views tests 2021-04-01 14:10:58 +02:00
Keviin Åberg Kultalahti f67a64e74b bump wait times in cypress views test 2021-04-01 13:56:27 +02:00
mike12345567 8ea12c30a6 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
Keviin Åberg Kultalahti 28666a7a81 Merge branch 'next' into feat/store-tests 2021-04-01 13:33:05 +02:00
Keviin Åberg Kultalahti 4f8c89f5dc update yarn.lock file 2021-04-01 13:13:59 +02:00
mike12345567 d2bdb439ef Updating dev server rendered svelte app client link. 2021-04-01 12:08:47 +01:00
mike12345567 bdb751a8ff Adding a nuke stack option at top of repo and then setting up proxy for dev experience through envoy. 2021-04-01 12:02:31 +01:00
Keviin Åberg Kultalahti 1c29edb830 lint fixes 2021-04-01 12:55:09 +02:00
Andrew Kingston 6a4c981b60 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Keviin Åberg Kultalahti 2e13c5f10e re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti 7c6fc51e80 removes unneeded wait in view cypress test 2021-04-01 11:59:56 +02:00
Andrew Kingston f2a898147f Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Keviin Åberg Kultalahti 92fde68965 fixes views store 2021-04-01 11:53:22 +02:00
Andrew Kingston 677c3e0e86 Fix merge conflict 2021-04-01 10:33:51 +01:00
Andrew Kingston 46745a757a Update to support new stores 2021-04-01 10:29:47 +01:00
Keviin Åberg Kultalahti adab566c9d increase wait times in cypress tests 2021-04-01 11:08:58 +02:00
Andrew Kingston 23641a5d56 Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Keviin Åberg Kultalahti 7d436fea70 add back packages that were accidently removed 2021-04-01 10:48:11 +02:00
Andrew Kingston d945d76e59 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:42:56 +01:00
Keviin Åberg Kultalahti 9d6fc5ecbe adds string-templates to trasnformIgnorePatterns 2021-04-01 10:40:49 +02:00
Keviin Åberg Kultalahti 0a38b963e8 version bumps 2021-04-01 10:12:36 +02:00
Andrew Kingston d4cc872b5c Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01:00
Keviin Åberg Kultalahti d803aa0bd7 adds back babel-jest 2021-04-01 09:26:36 +02:00
Keviin Åberg Kultalahti 214243fc22 lint fix 2021-04-01 08:40:30 +02:00
Andrew Kingston 72590acc18 Import image assets as needed to allow proper bundling 2021-03-31 19:58:30 +01:00
Andrew Kingston 2fb3a30e57 Update gitignore in server 2021-03-31 19:58:08 +01:00
Andrew Kingston e7b65719d5 Ignore builder files inside server 2021-03-31 19:57:48 +01:00
Andrew Kingston 96e8dfc68f Support serving vite-bundled builder from server 2021-03-31 19:55:55 +01:00
Andrew Kingston 7d0641746b Export package.json from string-templates repo 2021-03-31 19:55:35 +01:00
Andrew Kingston cc2d59f564 Remove hardcoded builder assets in server 2021-03-31 19:55:21 +01:00
Andrew Kingston 6785fd9b5a Prefix builder URLs with 'builder' in both routify and vite to lay groundwork for server proxying 2021-03-31 19:27:52 +01:00
Andrew Kingston ecd55f6c27 Adjust iframe builder preview to prevent requirement of rollup-plugin-html 2021-03-31 19:12:56 +01:00
Andrew Kingston cf6c15170b Prune builder dependencies 2021-03-31 19:12:28 +01:00
Andrew Kingston 6dae8a83ec Update string-templates to use a better node polyfill rollup plugin 2021-03-31 19:07:09 +01:00
Andrew Kingston aa450c08b4 Fix issue with polyfilling node globals 2021-03-31 18:49:53 +01:00
Martin McKeaveney 7720b13676
Merge pull request #1341 from Budibase/cli-analytics
Cli analytics
2021-03-31 16:27:56 +01:00
Andrew Kingston 583faba9da Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
Keviin Åberg Kultalahti 958cae212d fix templates not being passed correct param 2021-03-31 14:23:58 +02:00
Keviin Åberg Kultalahti dc0f04c43a fix merge regression 2021-03-31 13:48:30 +02:00
Andrew Kingston 3ec4d67852 Merge branch 'datasource-refactor' of github.com:Budibase/budibase into spectrum-bbui 2021-03-31 11:11:01 +01:00
Andrew Kingston 02b8b68bc7 Add BBUI package to monorepo 2021-03-31 10:59:07 +01:00
Keviin Åberg Kultalahti c729b8654b merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti 1f7bd5d387 wip: views store tests 2021-03-30 18:10:58 +02:00
Keviin Åberg Kultalahti 53bff4a4d9 adds tables store tests 2021-03-30 15:37:53 +02:00
Martin McKeaveney 5f2a18c2b2 lint 2021-03-30 11:50:49 +01:00
Martin McKeaveney 578c63c9df adding distinct CLI id to hosting 2021-03-30 11:04:13 +01:00
Martin McKeaveney d0b5986266 tidy up 2021-03-30 10:51:37 +01:00
Martin McKeaveney b5c32f8488 adding abstraction for config manager 2021-03-30 10:50:42 +01:00
Keviin Åberg Kultalahti 7bb01a152c adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Keviin Åberg Kultalahti e83cebde03 fix last roles store test 2021-03-30 10:49:42 +02:00