Commit Graph

19314 Commits

Author SHA1 Message Date
mike12345567 54137ec9fb Removing koa rate limit types, was requiring types for every store, types didn't work correctly. 2022-03-03 12:19:12 +00:00
mike12345567 216af35aeb Fixing review comments. 2022-03-03 12:03:29 +00:00
mike12345567 f01a072f98 Merge branch 'develop' of github.com:Budibase/budibase into feature/rate-limiting 2022-03-03 11:48:18 +00:00
Budibase Staging Release Bot fcdc10fdda v1.0.79-alpha.9 2022-03-03 09:13:11 +00:00
Martin McKeaveney 28c788ec84
Merge pull request #4631 from Budibase/ci/deploy-proxy
removing need for handlebars in nginx script, automating proxy servic…
2022-03-03 09:06:49 +00:00
Budibase Staging Release Bot 7162937493 v1.0.79-alpha.8 2022-03-02 23:16:59 +00:00
Michael Drury 65b52f359b Fixing issue brought up by test case. 2022-03-02 22:51:50 +00:00
Michael Drury 94041ced55 Changing how SQL vars are generated so that when new SQL implementations are added they must implement a generation mechanism. 2022-03-02 22:45:10 +00:00
mike12345567 8ce1b471fd Fixes for SQL issues raised by Marty. 2022-03-02 17:40:50 +00:00
mike12345567 32e7f27dfa Adding check to disable rate limit redis connection in test. 2022-03-02 12:50:10 +00:00
mike12345567 a8a8498a9c Updating rate limiter to make use of Redis. 2022-03-02 12:27:09 +00:00
mike12345567 b1167fd444 Adding public API rate limiting, with env variable option, defaults to 120 requests per minute. 2022-03-02 11:36:30 +00:00
Budibase Staging Release Bot 29454f2b97 v1.0.79-alpha.7 2022-03-02 10:47:17 +00:00
mike12345567 8aee8c560f Merge branch 'dependabot/npm_and_yarn/packages/server/prismjs-1.27.0' of github.com:Budibase/budibase into develop 2022-03-02 10:40:59 +00:00
mike12345567 5b79c9ae48 Merge branch 'dependabot/npm_and_yarn/packages/server/urijs-1.19.8' of github.com:Budibase/budibase into develop 2022-03-02 10:40:45 +00:00
mike12345567 17a9aa16ab Merge branch 'dependabot/npm_and_yarn/packages/worker/urijs-1.19.8' of github.com:Budibase/budibase into develop 2022-03-02 10:40:28 +00:00
mike12345567 dce7e73a96 Merge branch 'dependabot/npm_and_yarn/packages/server/url-parse-1.5.10' of github.com:Budibase/budibase into develop 2022-03-02 10:40:13 +00:00
Budibase Staging Release Bot e932338f30 v1.0.79-alpha.6 2022-03-02 10:01:25 +00:00
dependabot[bot] d565c220d4
Bump url-parse from 1.5.3 to 1.5.10 in /packages/server
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 09:56:27 +00:00
dependabot[bot] b4bb35e84f
Bump urijs from 1.19.7 to 1.19.8 in /packages/server
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.7 to 1.19.8.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.7...v1.19.8)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 09:56:26 +00:00
dependabot[bot] 8af7ead8a5
Bump prismjs from 1.25.0 to 1.27.0 in /packages/server
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 09:56:25 +00:00
mike12345567 dadf3fef02 Review comments and linting. 2022-03-01 22:37:42 +00:00
mike12345567 2603024792 Changing how types are generated from the open api spec a bit. 2022-03-01 19:00:28 +00:00
mike12345567 2436bc2e32 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-03-01 18:43:52 +00:00
mike12345567 d7dbcb2175 Adding a top level script for generating specs, symlinking the openapi yaml and json to top level as well. 2022-03-01 18:42:52 +00:00
mike12345567 d8b5cae569 Adding new generation technique, converting openAPI spec to typescript definitions, which are then applied in mapping output middlewares to make sure that the structures of the response are fully respected. 2022-03-01 18:35:08 +00:00
mike12345567 6cc9d2d61c Merge branch 'feature/budibase-api' of github.com:Budibase/budibase into feature/budibase-api 2022-03-01 14:38:35 +00:00
mike12345567 5ba723f935 Updating summaries, adding descriptions, wrapping responses with generic wrapper 'data'. 2022-03-01 14:37:35 +00:00
Budibase Staging Release Bot 44063d9d9f v1.0.79-alpha.5 2022-03-01 14:10:17 +00:00
Peter Clement c630a18946
Merge pull request #4390 from Budibase/feature/automation-data-types
Adding ability to toggle between Automation input types.
2022-03-01 14:00:21 +00:00
Budibase Staging Release Bot 3a3f3d5a06 v1.0.79-alpha.4 2022-03-01 13:45:26 +00:00
Rory Powell 3c2849a6ab
Merge pull request #4752 from Budibase/fix/cypress-ci
Update cy:run:ci to not use --record
2022-03-01 13:39:23 +00:00
Budibase Staging Release Bot cbb9fe5fcf v1.0.79-alpha.3 2022-03-01 12:22:03 +00:00
Mitch-Budibase 92eb199c86
Merge pull request #4751 from Budibase/cypress-testing
Changes for Table test - Commands.js
2022-03-01 12:15:44 +00:00
Rory Powell 54250b5d13 Update cy:run:ci to not use --record 2022-03-01 12:11:19 +00:00
Budibase Staging Release Bot 42941942a5 v1.0.79-alpha.2 2022-03-01 12:09:29 +00:00
Peter Clement 9931deceba
Merge pull request #4638 from Budibase/feature/table-row-selection
Allow selection of rows from table component
2022-03-01 12:03:24 +00:00
Peter Clement b6ed6fe90f fix automation 2022-03-01 11:58:20 +00:00
Mitch-Budibase 4906dc6337 Changes for Table test - Commands.js
Seems like a potential timing issue for the Create Table test

Specifically:
-The datasource modal looks to be sometimes delayed when appearing after app creation
--increasing wait time for after app creation
--Reducing wait within the createTable command
--Updating specific ID to use 'data-cy'
--Updating another ID for the data source modal

I am unable to reproduce this potential issue locally, so making changes in hopes the CI picks it up (if the timing issue still exists)
2022-03-01 11:49:40 +00:00
Budibase Staging Release Bot ca2b3e003a v1.0.79-alpha.1 2022-03-01 11:49:32 +00:00
Andrew Kingston 440eb80df0
Merge pull request #4700 from Budibase/rest-api-endpoint-naming
Improve REST query naming in navigation
2022-03-01 11:41:56 +00:00
Peter Clement 32ac53a004 fix cypress, maybe? 2022-03-01 11:39:48 +00:00
Peter Clement e730a447e9 Merge remote-tracking branch 'origin/develop' into feature/automation-data-types 2022-03-01 11:18:11 +00:00
Andrew Kingston c8717d83eb Make component setting updates sequential to prevent 409s 2022-03-01 11:11:56 +00:00
Peter Clement 8ef013f173 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-03-01 10:37:26 +00:00
Budibase Staging Release Bot 85ba9ef5b3 v1.0.79-alpha.0 2022-03-01 10:34:25 +00:00
Rory Powell 09fcfccede Merge branch 'master' into merge-master 2022-03-01 10:04:23 +00:00
Andrew Kingston 11cd5d1570 Update more option picker logic to only hide nullish rather than falsey values when using a dynamic options source 2022-03-01 10:00:08 +00:00
Andrew Kingston b738fcf030 Update option picker logic to only hide nullish rather than falsey values when using a dynamic options source 2022-03-01 09:51:48 +00:00
Budibase Staging Release Bot 93eb042c4e v1.0.76-alpha.6 2022-03-01 09:48:46 +00:00
Budibase Release Bot 457fb4fae1 v1.0.78 2022-03-01 09:46:34 +00:00
Andrew Kingston 7783e4dd78
Merge pull request #4734 from Budibase/fix/esc-nested-modals
Fix soft bricking app when closing nested modals using escape key
2022-03-01 09:42:25 +00:00
Rory Powell 01e97b0fda Fix REST Import 2022-03-01 07:36:47 +00:00
Michael Drury 62e1f8196b Fixing an issue with webhook controller. 2022-02-28 20:03:02 +00:00
mike12345567 e9d344952b Fixing another issue raised by test cases. 2022-02-28 19:27:37 +00:00
mike12345567 3028c34564 Fixing test case. 2022-02-28 18:53:03 +00:00
mike12345567 eaec0e2e17 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-28 18:43:45 +00:00
mike12345567 c5c10cbc79 Fixes for review comments. 2022-02-28 18:39:05 +00:00
Andrew Kingston 74468808f3 Improve parsing of REST query strings to support equals symbol in values 2022-02-28 16:23:53 +00:00
Andrew Kingston c4ebc85f3c Fix soft bricking app when closing nested modals using escape key 2022-02-28 15:04:32 +00:00
mike12345567 6415abb3d4 Changing the API key modal to have a copy input which allows copying the API key easily. 2022-02-28 14:29:19 +00:00
mike12345567 1ecd2f298f Moving swagger defs to dev dependencies. 2022-02-28 13:41:11 +00:00
mike12345567 172850ae87 Switching the basic single row read to use the enrich endpoint. 2022-02-28 12:54:32 +00:00
Budibase Release Bot 87403f6a99 v1.0.77 2022-02-28 12:19:05 +00:00
mike12345567 2bc2d17066 Updating application output schema. 2022-02-28 11:29:48 +00:00
Andrew Kingston e0df3787ca Make view UI read only and limit rows to 10 2022-02-28 08:37:59 +00:00
Budibase Release Bot 4a16d695ee v1.0.76 2022-02-28 08:22:58 +00:00
dependabot[bot] f580056dad
Bump urijs from 1.19.7 to 1.19.8 in /packages/worker
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.7 to 1.19.8.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.7...v1.19.8)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26 03:25:44 +00:00
Andrew Kingston 47d8a1e628 Add error notification if executing a query in a button action fails 2022-02-25 21:29:02 +00:00
Andrew Kingston 4f5d3fc446 Fix incorrect syntax for showing a notification while executing custom queries 2022-02-25 21:26:08 +00:00
mike12345567 eed4111fe2 Rounding out user schema and query schema as required. 2022-02-25 19:26:19 +00:00
mike12345567 5567ca49c4 Removing test case. 2022-02-25 19:02:27 +00:00
mike12345567 91508ae141 Adding test cases for user implementation with mocks. 2022-02-25 19:01:17 +00:00
mike12345567 1152229719 Users implementation added. 2022-02-25 19:00:12 +00:00
mike12345567 033e320e49 Adding test cases for all implemented endpoints. 2022-02-25 18:02:08 +00:00
Andrew Kingston 02c688539a Pls cypress 2022-02-25 16:24:36 +00:00
mike12345567 f3418044dc Starting to fix up test cases. 2022-02-25 15:55:19 +00:00
Andrew Kingston 4304205224 Handle leading double slash when displaying REST queries in navigation 2022-02-25 14:29:25 +00:00
Andrew Kingston 2786f657c7 Improve REST query naming in navigation 2022-02-25 14:18:26 +00:00
Andrew Kingston 7274ea236f Merge branch 'develop' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-25 13:49:24 +00:00
Budibase Staging Release Bot 2cf00112ad v1.0.76-alpha.5 2022-02-25 13:45:29 +00:00
Andrew Kingston 63e64f0da1 Try to fix cypress tests again 2022-02-25 13:40:23 +00:00
Andrew Kingston 69548f90ef
Merge pull request #4681 from Budibase/fix/asset-type-selection
Fix asset type selection
2022-02-25 13:38:10 +00:00
Andrew Kingston caa18aeeda Merge branch 'develop' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-25 13:34:40 +00:00
mike12345567 390e3e627f Updating validators, make sure everything that is optional is really optional. 2022-02-25 11:39:46 +00:00
Budibase Staging Release Bot 830d56f165 v1.0.76-alpha.4 2022-02-25 09:11:42 +00:00
Andrew Kingston 0338e8c7b5 Ensure data binding generation doesn't crash if no asset is selected 2022-02-25 08:25:56 +00:00
Rory Powell f37a4eef8c Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-25 08:22:21 +00:00
Andrew Kingston 15f4c02851 Merge branch 'develop' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-25 08:20:28 +00:00
Michael Drury f84a459d24 Fixing some errors in the generated spec. 2022-02-24 23:25:03 +00:00
Michael Drury 46d23cfb25 Adding a testing system which generates the schema and compares against responses. 2022-02-24 23:21:10 +00:00
mike12345567 f2c2c903e5 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-24 18:19:20 +00:00
mike12345567 c62203a4a2 Generating from typescript files. 2022-02-24 18:15:13 +00:00
mike12345567 d4db4f4525 Updating specs. 2022-02-24 15:42:59 +00:00
mike12345567 06327604eb Refactoring to TS on public endpoints. 2022-02-24 15:13:14 +00:00
Rory Powell 9fcf702a32 Add status banner that reacts to cypress healthcheck failures 2022-02-24 14:41:24 +00:00
Andrew Kingston dd706d84fb Key client app layout rendering by builder store asset type to ensure preview is always remounted properly 2022-02-24 12:26:31 +00:00
Andrew Kingston 4eb4f20fb5 Always update asset type when required, even if no assets of that type exist 2022-02-24 12:25:14 +00:00
mike12345567 d0e0889cc6 Fix for validator adding. 2022-02-24 12:03:46 +00:00
mike12345567 bc87e2b562 Moving validators to a single location, simplify route files and all re-usability. 2022-02-24 11:39:38 +00:00
Budibase Staging Release Bot 32491291e0 v1.0.76-alpha.3 2022-02-24 10:07:41 +00:00
Martin McKeaveney d7f1d6d5bf
Merge pull request #4664 from Budibase/update-filter-automation
Rename filter to be condition
2022-02-24 11:00:41 +01:00
Andrew Kingston 664fd945f4 Fix table row selection bindings not being generated, add row selection bindings for table blocks, update readable text for row selection bindings 2022-02-24 09:17:27 +00:00
Andrew Kingston 08d6e104c7 Fix missing prop from table block and add fixed context provider ID for tables inside table blocks to support row selection bindings 2022-02-24 09:16:35 +00:00
Andrew Kingston defe725bcc Fix table selection defaulting to true, reset selected rows when unmounting tables, remove position absolute on row selection text 2022-02-24 09:15:37 +00:00
Andrew Kingston 04624ece07 Fix selecting all rows and fix table click events clashing with row selection 2022-02-24 09:14:16 +00:00
Andrew Kingston c4dcd29dc3 Fix spacing in SelectEditRenderer 2022-02-24 09:12:45 +00:00
Andrew Kingston d7d7559402 Don't show checkbox label if no label specified 2022-02-24 09:12:14 +00:00
Michael Drury 88e0f67f42 Adding table public API. 2022-02-23 22:13:16 +00:00
mike12345567 c189550614 Adding controllers for row, query and applications public APIs. 2022-02-23 18:31:32 +00:00
Rene Pot b28d69e21e linting 2022-02-23 16:56:51 +01:00
Budibase Staging Release Bot 611ab95c38 v1.0.76-alpha.2 2022-02-23 14:53:13 +00:00
Andrew Kingston 49738cf599 Merge branch 'develop' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-23 14:47:06 +00:00
Rene Pot 933030054a Rename filter to be condition 2022-02-23 15:07:05 +01:00
Andrew Kingston 3f84c51c81 Try to fix cypress tests 2022-02-23 13:53:15 +00:00
Andrew Kingston b6f90f7fe3 Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-23 13:25:48 +00:00
Andrew Kingston fa6cf0c101 Try to fix cypress tests 2022-02-23 13:14:28 +00:00
Budibase Staging Release Bot 200135d412 v1.0.76-alpha.1 2022-02-23 13:04:02 +00:00
Mitch-Budibase 9baa4efc6c
Merge pull request #4663 from Budibase/cypress-testing
Increasing wait times for Assign User Roles test
2022-02-23 12:58:20 +00:00
Budibase Staging Release Bot 9d824683bf v1.0.76-alpha.0 2022-02-23 12:50:13 +00:00
Mitch-Budibase 89f29b00c0 Increasing wait times for Assign User Roles test
Assign Roles test within createUserAndRoles is failing on CI.

It is not failing locally for me so i suspect a timing issue
2022-02-23 12:32:16 +00:00
Rory Powell c579771a35 Merge branch 'develop' into merge-master 2022-02-23 12:16:03 +00:00
Rory Powell f60aacb270 Merge branch 'master' into merge-master 2022-02-23 12:14:04 +00:00
Andrew Kingston 653a024d48 Merge branch 'table-cell-config' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-23 12:10:03 +00:00
Andrew Kingston 54ce2d7370 Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-23 11:32:51 +00:00
Andrew Kingston 0a155c30f6 Merge branch 'develop' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-23 11:32:14 +00:00
Budibase Staging Release Bot 5c1f78cfc6 v1.0.74-alpha.2 2022-02-23 10:11:50 +00:00
Rory Powell eb3f192950 Change ports 2022-02-23 07:00:57 +00:00
mike12345567 6a416cad59 Refactoring how endpoints are specified so that the middlewares can be applied in a more generic fashion. 2022-02-22 18:40:09 +00:00
mike12345567 baf806275b Getting prettier running on the public routes. 2022-02-22 17:38:27 +00:00
Peter Clement 9b3cedd457 remove console log 2022-02-22 16:14:19 +00:00
Peter Clement 4a119afb15 simplify add all method 2022-02-22 15:56:11 +00:00
Rory Powell 17d11b46ff Update cypress commands to work in local dev 2022-02-22 15:23:54 +00:00
Peter Clement 53c207691c add ability to select rows from different tables and provide bindings 2022-02-22 15:18:08 +00:00
Peter Clement 8d5cf7cbb5 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-22 15:17:38 +00:00
Rory Powell c65d4e9888 Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-22 15:15:17 +00:00
Mitch-Budibase ac4a2a972e Setting Video flag to False
There seems to be an issue sometimes with video processing and test runs - Removing this for now
2022-02-22 15:08:08 +00:00
mike12345567 4e522e39da Refactoring resource system, so that examples and schemas have individual files rather than all being lumped into one. 2022-02-22 15:06:08 +00:00
mike12345567 1f8da07767 Adding in request bodies. 2022-02-22 14:28:57 +00:00
Budibase Staging Release Bot 0e1338f9eb v1.0.74-alpha.1 2022-02-22 14:18:29 +00:00
mike12345567 710a340006 Updating output schemas and adding examples to everything. 2022-02-22 14:10:01 +00:00
Budibase Release Bot c1e6e00ea4 v1.0.75 2022-02-22 12:59:24 +00:00
Andrew Kingston 03529d1450
Merge pull request #4549 from Budibase/fix/screen-creation-roles
Fix role being stale when creating screens
2022-02-22 12:51:12 +00:00
Andrew Kingston b23e3d06c4 Add nuxt config file to actually silence vite spam 2022-02-22 12:38:24 +00:00
Andrew Kingston 12133aed07 Remove accidental file 2022-02-22 12:38:07 +00:00
Andrew Kingston 8b2a720e92 Revert server lock file 2022-02-22 12:37:41 +00:00
Andrew Kingston fae2d13de9 Fix client package.json and lock file after merges 2022-02-22 12:37:27 +00:00
Andrew Kingston 2af922dda8 Fix builder lock file 2022-02-22 12:37:02 +00:00
Andrew Kingston 6279d698e8 Fix usage of className instead of class 2022-02-22 12:36:51 +00:00
Andrew Kingston 524cdc69c2 Remove accidental file 2022-02-22 12:36:06 +00:00