Commit Graph

7727 Commits

Author SHA1 Message Date
Maurits Lourens 090da34a99 fix openapi 3 test doc and tests 2022-03-03 15:19:36 +01:00
Budibase Staging Release Bot ecc99a3eac v1.0.79-alpha.10 2022-03-03 12:44:58 +00:00
mike12345567 86f649c5db Upping test rate limit level. 2022-03-03 12:31:56 +00:00
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
Maurits Lourens c1d2a4680a initial implementation of openapi 3 2022-03-03 00:18:15 +01: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 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
Budibase Staging Release Bot 3a3f3d5a06 v1.0.79-alpha.4 2022-03-01 13:45:26 +00:00
Budibase Staging Release Bot cbb9fe5fcf v1.0.79-alpha.3 2022-03-01 12:22:03 +00:00
Budibase Staging Release Bot 42941942a5 v1.0.79-alpha.2 2022-03-01 12:09:29 +00:00
Budibase Staging Release Bot ca2b3e003a v1.0.79-alpha.1 2022-03-01 11:49:32 +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
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
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 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
Budibase Release Bot 4a16d695ee v1.0.76 2022-02-28 08:22:58 +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
mike12345567 f3418044dc Starting to fix up test cases. 2022-02-25 15:55:19 +00:00
Budibase Staging Release Bot 2cf00112ad v1.0.76-alpha.5 2022-02-25 13:45:29 +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
Rory Powell f37a4eef8c Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-25 08:22:21 +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
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
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
Rene Pot 933030054a Rename filter to be condition 2022-02-23 15:07:05 +01:00
Budibase Staging Release Bot 200135d412 v1.0.76-alpha.1 2022-02-23 13:04:02 +00:00
Budibase Staging Release Bot 9d824683bf v1.0.76-alpha.0 2022-02-23 12:50:13 +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
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
Rory Powell c65d4e9888 Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-22 15:15:17 +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 8b2a720e92 Revert server lock file 2022-02-22 12:37:41 +00:00
Martin McKeaveney 3e703a0b58 removing need for handlebars in nginx script, automating proxy service deployment 2022-02-22 13:24:21 +01:00
Rory Powell a1e2bd86c6 Prevent local port conflicts between account portal and cypress 2022-02-22 11:20:58 +00:00
Rory Powell 332e5a4424 Merge branch 'master' into merge-master 2022-02-22 09:09:36 +00:00
Budibase Release Bot 0fdd50d583 v1.0.74 2022-02-22 08:12:54 +00:00
mike12345567 7443a17458 Adding in all endpoints/open API definitions, need to flesh everything out. 2022-02-21 19:04:13 +00:00
Budibase Staging Release Bot 5862fc2322 v1.0.74-alpha.0 2022-02-21 16:59:03 +00:00
mike12345567 282fa6cac2 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-21 16:54:39 +00:00
mike12345567 d5fdd5e627 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-02-21 16:51:08 +00:00
mike12345567 23ccb924f7 Updating table schema and adding query endpoints. 2022-02-21 16:37:02 +00:00
Budibase Release Bot 46aafb076b v1.0.73 2022-02-21 16:10:18 +00:00
Rory Powell e313693bdc
Merge pull request #4607 from Budibase/migration-tenantIds
Respect custom tenantIds in run migrations endpoint
2022-02-21 15:32:33 +00:00
mike12345567 cf9664969f Fixing issue with formula column validation breaking row save. 2022-02-21 15:01:42 +00:00
mike12345567 97337db4ee Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-21 14:34:06 +00:00
Budibase Staging Release Bot afcc6ffd11 v1.0.73-alpha.0 2022-02-21 14:17:54 +00:00
Rory Powell aedc264346 Merge branch 'master' into merge-master 2022-02-21 12:19:30 +00:00
Budibase Release Bot 8977e8a027 v1.0.72 2022-02-21 12:08:35 +00:00
Budibase Staging Release Bot c3826e2fd9 v1.0.72-alpha.0 2022-02-21 11:46:11 +00:00
Rory Powell 982babbbcd Merge branch 'master' into merge-master-into-develop 2022-02-21 10:51:01 +00:00
Budibase Release Bot ecd1bb2f46 v1.0.71 2022-02-21 10:46:11 +00:00
Rory Powell 496ed45c11
Merge pull request #4571 from Budibase/deprovision-and-couch-fix
Deprovision and local couch db url fix
2022-02-21 10:38:50 +00:00
Budibase Release Bot e91697a037 v1.0.70 2022-02-20 21:32:17 +00:00
Tobias Speicher 9d25f26791
Replace deprecated String.prototype.substr()
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-02-20 15:28:39 +01:00
mike12345567 85103cdf13 Adding a schema for tables. 2022-02-18 18:06:58 +00:00
mike12345567 94b5d771f8 Minor adjustment to get the right header for app ID. 2022-02-18 17:54:03 +00:00
Budibase Release Bot 2e2ffc138a v1.0.69 2022-02-18 17:45:29 +00:00
mike12345567 890a17679c Adding in row schema for create/update, making sure all existing endpoints have appId specified. 2022-02-18 17:44:08 +00:00
Rory Powell d9ead48c59 Deprovision and local couch db url fix 2022-02-18 17:36:23 +00:00
mike12345567 9b28414bbb Rows API mostly complete, starting into tables. 2022-02-18 15:47:15 +00:00
Rory Powell 1d429242d4 Fix lockfile 2022-02-18 12:06:18 +00:00
Rory Powell 2ee496fba8 Merge branch 'master' into develop 2022-02-18 11:57:54 +00:00
mike12345567 23bd6d39e2 Adding a structure for breaking up examples and parameters. 2022-02-17 19:55:37 +00:00
mike12345567 dc56d06a11 Adding in public endpoint definitions. 2022-02-17 18:58:09 +00:00
mike12345567 d9eabe5404 Fixing up generation of openapi. 2022-02-17 12:40:08 +00:00
Budibase Release Bot daf8284a5b v1.0.68 2022-02-17 10:27:59 +00:00
Martin McKeaveney e37e5d137c bug fix for handlebars expression, show budibase version in updates panel 2022-02-17 10:12:35 +01:00
mike12345567 fb43a971e6 Specing out search endpoint. 2022-02-16 18:51:17 +00:00
mike12345567 b440657a54 Adding variables to generator. 2022-02-16 18:23:38 +00:00
mike12345567 d7b7900d91 Adding openAPI generation. 2022-02-16 16:42:50 +00:00
mike12345567 eb0916d4fe Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-16 15:30:48 +00:00
Budibase Release Bot 139e9bd43e v1.0.67 2022-02-16 14:42:28 +00:00
Martin McKeaveney cf87c26fa2 adding k8s resolver and updating watchtower variable 2022-02-16 15:33:57 +01:00
Martin McKeaveney d66adabffd
Merge pull request #4481 from Budibase/fix/docker-things
increase burst limit, remove log mounts
2022-02-16 14:58:31 +01:00
Budibase Release Bot 5bc084d0b2 v1.0.66 2022-02-16 13:50:45 +00:00
Martin McKeaveney 2ebcca828d Merge branch 'master' of github.com:Budibase/budibase into fix/docker-things 2022-02-16 14:43:04 +01:00
Martin McKeaveney 97bf3e68dd adding watchtower service 2022-02-16 14:29:08 +01:00
Martin McKeaveney a85f667dbe templatize nginx configuration into one prod configuration and add NPM scripts to manage 2022-02-16 14:12:53 +01:00
Budibase Staging Release Bot 59a2e0c108 v1.0.66-alpha.0 2022-02-15 17:15:15 +00:00
mike12345567 664b43edfa Merge branch 'master' of github.com:Budibase/budibase into develop 2022-02-15 16:54:21 +00:00
Budibase Release Bot c8da7b9cf0 v1.0.65 2022-02-15 15:43:32 +00:00
Budibase Staging Release Bot 71885ba55f v1.0.58-alpha.7 2022-02-15 10:36:59 +00:00
Michael Drury 2f89a827b0
Merge pull request #4494 from Budibase/dependabot/npm_and_yarn/packages/server/vm2-3.9.6
Bump vm2 from 3.9.5 to 3.9.6 in /packages/server
2022-02-15 10:27:36 +00:00
Budibase Staging Release Bot 166093f997 v1.0.58-alpha.6 2022-02-15 09:23:08 +00:00
Budibase Release Bot 1339c066bd v1.0.64 2022-02-15 09:22:36 +00:00
dependabot[bot] 0b2f22d4d5
Bump vm2 from 3.9.5 to 3.9.6 in /packages/server
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.5 to 3.9.6.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.6)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 00:48:56 +00:00
mike12345567 93f2ed11ff Shifting over all of self API, deprecating old endpoints. 2022-02-14 18:11:35 +00:00
Budibase Staging Release Bot 2d209bead3 v1.0.58-alpha.5 2022-02-14 18:05:17 +00:00
Budibase Staging Release Bot bc96e0b5dc v1.0.58-alpha.4 2022-02-14 15:04:23 +00:00
Michael Drury bd910b3931
Merge pull request #4462 from Budibase/dependabot/npm_and_yarn/packages/server/follow-redirects-1.14.8
Bump follow-redirects from 1.14.5 to 1.14.8 in /packages/server
2022-02-14 14:58:20 +00:00
Budibase Staging Release Bot 131b599086 v1.0.58-alpha.3 2022-02-14 12:04:23 +00:00
Budibase Staging Release Bot d3f4c4a68b v1.0.58-alpha.2 2022-02-14 11:00:33 +00:00