Commit Graph

4098 Commits

Author SHA1 Message Date
Michael Drury 84f1325320 Fixing MS-SQL variable sub. 2022-03-12 11:13:41 +00:00
Michael Drury ffbf3a2eca Switching to correct concat function for oracle. 2022-03-11 00:40:01 +00:00
Michael Drury 07bcaf2d0a Adding a mechanism to concat strings in queries, there was a problem when char const strings were wrapping bindings, this should find instances of that and replace with a datasource specific method of concating the constant with the variable. 2022-03-11 00:19:26 +00:00
Budibase Release Bot 92bf490066 v1.0.83 2022-03-10 17:45:17 +00:00
mike12345567 30651e81d5 Making the URL optional for application creation/update in OpenAPI spec, removing unused parameter and fixing getRedisOptions function to work with fully qualified URLs. 2022-03-10 15:53:23 +00:00
Martin McKeaveney 06db377b31 update yarn lock 2022-03-10 13:33:10 +00:00
Martin McKeaveney b166c5dcdc revert NPM script to update OpenAPI 2022-03-10 11:17:15 +00:00
Andrew Kingston 0b7919cd3d Update date filtering to only use a between statement when 2 dates are provided 2022-03-10 10:18:03 +00:00
Martin McKeaveney 6c236eacb2 Merge branch 'develop' of github.com:Budibase/budibase into fix/patch-relationships 2022-03-10 10:17:30 +00:00
Budibase Release Bot ff11d0ed02 v1.0.82 2022-03-10 01:06:14 +00:00
Budibase Staging Release Bot acd3549345 v1.0.81-alpha.7 2022-03-10 01:04:00 +00:00
Martin McKeaveney 129cdf9c4b Merge pull request #4867 from Budibase/develop
develop -> master
2022-03-10 02:00:02 +01:00
Martin McKeaveney 45f158dcc5 Merge pull request #4587 from CommanderRoot/rm-deprecated-substr
Replace deprecated String.prototype.substr()
2022-03-10 01:57:57 +01:00
Budibase Release Bot 1a76729412 v1.0.81 2022-03-10 00:46:03 +00:00
Maurits Lourens b987dc345f finish up Firebase implementation 2022-03-10 00:23:36 +01:00
Budibase Staging Release Bot 627bb87b45 v1.0.81-alpha.6 2022-03-09 22:11:25 +00:00
Maurits Lourens 792021616c fix connection to firebase using service account 2022-03-09 17:46:25 +01:00
Budibase Staging Release Bot 54ba0958cb v1.0.81-alpha.5 2022-03-09 16:37:44 +00:00
Martin McKeaveney ce984348a0 fixing enrichment of relationships in patch call 2022-03-09 16:08:55 +01:00
Martin McKeaveney f62d76c664 reverting package.json to versions before merge 2022-03-09 15:54:43 +01:00
mike12345567 53386909ab Updating row search bookmark to handle numbers as bookmarks. 2022-03-09 10:12:26 +00:00
mike12345567 a3a6aeb777 Fixing an inconsistency that was raised by a community member. 2022-03-08 18:00:49 +00:00
mike12345567 b96c6218d6 Quick fix for openAPI spec, improving the search spec. 2022-03-08 17:42:26 +00:00
Budibase Staging Release Bot deab04bba0 v1.0.81-alpha.4 2022-03-08 17:23:38 +00:00
Budibase Staging Release Bot e0580147d0 v1.0.81-alpha.3 2022-03-08 16:48:36 +00:00
Maurits Lourens c2d48bebd7 initial setup for google firebase integration 2022-03-08 17:31:36 +01:00
Budibase Staging Release Bot e106bc7160 v1.0.81-alpha.2 2022-03-08 15:58:48 +00:00
Budibase Staging Release Bot 08bd8ae284 v1.0.81-alpha.1 2022-03-08 15:31:24 +00:00
Budibase Staging Release Bot 64658d9880 v1.0.81-alpha.0 2022-03-08 12:05:17 +00:00
Martin McKeaveney 14cffcd6ff merge 2022-03-08 12:40:41 +01:00
Martin McKeaveney 975eb0b99e merge from master 2022-03-08 12:34:27 +01:00
Martin McKeaveney 01e14346ed Merge pull request #4824 from Budibase/feature/export-from-client
Export selected rows from button action
2022-03-08 12:31:47 +01:00
Budibase Staging Release Bot 84f40bcac2 v1.0.80-alpha.5 2022-03-08 11:06:36 +00:00
Budibase Staging Release Bot f995dc1e57 v1.0.80-alpha.4 2022-03-08 10:03:32 +00:00
Michael Drury ec10ed2270 Merge pull request #4834 from Budibase/fix/4811
Renaming SQL columns - don't drop old column
2022-03-08 09:55:30 +00:00
Budibase Release Bot 6ae5ead5f1 v1.0.80 2022-03-08 08:51:10 +00:00
Budibase Staging Release Bot db033231e3 v1.0.80-alpha.3 2022-03-07 17:22:25 +00:00
mike12345567 5bbbcde978 Removing org ID from cloud spec. 2022-03-07 16:41:22 +00:00
mike12345567 8185227ff1 Fixing issue #4811 - when renaming SQL columns use an actual rename alteration rather than dropping the column. 2022-03-07 16:31:35 +00:00
mike12345567 3becf1b8a4 Adding the tenant ID to the Budibase Cloud URL, as well as setting up variables for them all as part of the server URL. 2022-03-07 13:21:30 +00:00
Maurits Lourens baf53f2a9d implement review comments 2022-03-07 13:58:04 +01:00
Peter Clement ed2c210db8 Add button action allowing for export of client row selection 2022-03-07 12:06:11 +00:00
Peter Clement e3670d6737 Merge remote-tracking branch 'origin/develop' into feature/export-from-client 2022-03-07 12:04:56 +00:00
Rory Powell 5ee150566b Fix build, additional tests, updated body detection, support variables in urls 2022-03-07 10:41:28 +00:00
Budibase Staging Release Bot 7b3bf46a28 v1.0.80-alpha.2 2022-03-07 10:14:10 +00:00
Michael Drury ee09b504c4 Merge pull request #4795 from Budibase/fix/sql-issues
Various SQL fixes
2022-03-07 10:08:17 +00:00
Budibase Staging Release Bot 7d8b80f4fe v1.0.80-alpha.1 2022-03-06 21:05:20 +00:00
mike12345567 7f9334ae5e Making sure that tables are created within the correct schema for MS-SQL. 2022-03-04 15:50:19 +00:00
mike12345567 a4ed8fe5e8 Adding the ability to support schemas in MS-SQL. 2022-03-04 15:12:07 +00:00
mike12345567 e9ff42bf76 Fixing various other ms-sql types. 2022-03-04 13:48:21 +00:00
mike12345567 bf63ea29f6 Merge branch 'develop' of github.com:Budibase/budibase into fix/sql-issues 2022-03-04 12:47:02 +00:00
Budibase Staging Release Bot 19849472fb v1.0.80-alpha.0 2022-03-04 11:33:27 +00:00
mike12345567 63bb4f34c4 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-03-04 11:25:32 +00:00
Budibase Release Bot cb857ca017 v1.0.79 2022-03-04 10:13:53 +00:00
Peter Clement 9fc605ac06 backend for client export of rows 2022-03-04 10:05:46 +00:00
Michael Drury 64e65e25ec Updating test case to handle new promise library. 2022-03-03 23:50:46 +00:00
mike12345567 ba3940f825 Attempting to fix mysql issue by changing our usage of mysql2 to use the promise version, making sure disconnection always occurs correctly and using a slightly different syntax/approach. 2022-03-03 19:20:26 +00:00
mike12345567 9f6635045a Correctly parsing the bit type in ms-sql to boolean. 2022-03-03 17:20:21 +00:00
Budibase Staging Release Bot 31f3956bfb v1.0.79-alpha.11 2022-03-03 14:33:26 +00:00
Michael Drury 987c9ea0c1 Merge pull request #4764 from Budibase/feature/rate-limiting
Public API IP rate limiting
2022-03-03 14:26:29 +00:00
Maurits Lourens 5bc9051efa fix openapi 3 test doc and tests 2022-03-03 15:19:36 +01:00
Budibase Staging Release Bot e682e07bbe v1.0.79-alpha.10 2022-03-03 12:44:58 +00:00
mike12345567 f74b83279d Upping test rate limit level. 2022-03-03 12:31:56 +00:00
mike12345567 823b2cb6c4 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 69418e9711 Fixing review comments. 2022-03-03 12:03:29 +00:00
mike12345567 1751ebf6ca Merge branch 'develop' of github.com:Budibase/budibase into feature/rate-limiting 2022-03-03 11:48:18 +00:00
Budibase Staging Release Bot 959bb352f0 v1.0.79-alpha.9 2022-03-03 09:13:11 +00:00
Martin McKeaveney b28bffbb15 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 97509b561b initial implementation of openapi 3 2022-03-03 00:18:15 +01:00
Budibase Staging Release Bot a7bd7fb325 v1.0.79-alpha.8 2022-03-02 23:16:59 +00:00
Michael Drury ec910b8fd2 Fixing issue brought up by test case. 2022-03-02 22:51:50 +00:00
Michael Drury 546bbc2ff6 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 1b45a9190d Fixes for SQL issues raised by Marty. 2022-03-02 17:40:50 +00:00
mike12345567 a1b95c15e5 Adding check to disable rate limit redis connection in test. 2022-03-02 12:50:10 +00:00
mike12345567 2247987df2 Updating rate limiter to make use of Redis. 2022-03-02 12:27:09 +00:00
mike12345567 a962f6cabd 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 af5210e4dc v1.0.79-alpha.7 2022-03-02 10:47:17 +00:00
mike12345567 bcf90791cb 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 6d2de3c436 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 2088b1984c 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 8b80379e92 v1.0.79-alpha.6 2022-03-02 10:01:25 +00:00
dependabot[bot] 54bb65b227 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] c102119682 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] c53a020ea1 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 a78b70799e Review comments and linting. 2022-03-01 22:37:42 +00:00
mike12345567 60acca5d95 Changing how types are generated from the open api spec a bit. 2022-03-01 19:00:28 +00:00
mike12345567 fa41548e13 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-03-01 18:43:52 +00:00
mike12345567 aa2d43b232 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 f056bdd353 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 48114a05dd Merge branch 'feature/budibase-api' of github.com:Budibase/budibase into feature/budibase-api 2022-03-01 14:38:35 +00:00
mike12345567 8680faa3da Updating summaries, adding descriptions, wrapping responses with generic wrapper 'data'. 2022-03-01 14:37:35 +00:00
Budibase Staging Release Bot 295ac7669c v1.0.79-alpha.5 2022-03-01 14:10:17 +00:00
Budibase Staging Release Bot 9c37633459 v1.0.79-alpha.4 2022-03-01 13:45:26 +00:00
Budibase Staging Release Bot 563f4530a0 v1.0.79-alpha.3 2022-03-01 12:22:03 +00:00
Budibase Staging Release Bot b2014b979c v1.0.79-alpha.2 2022-03-01 12:09:29 +00:00
Budibase Staging Release Bot a595c39cbe v1.0.79-alpha.1 2022-03-01 11:49:32 +00:00
Budibase Staging Release Bot ce54070c1e v1.0.79-alpha.0 2022-03-01 10:34:25 +00:00
Rory Powell 8f1b638f3b Merge branch 'master' into merge-master 2022-03-01 10:04:23 +00:00
Budibase Staging Release Bot 576e79ecdd v1.0.76-alpha.6 2022-03-01 09:48:46 +00:00
Budibase Release Bot e563403f51 v1.0.78 2022-03-01 09:46:34 +00:00
Michael Drury a5246d5998 Fixing an issue with webhook controller. 2022-02-28 20:03:02 +00:00
mike12345567 c958e93aed Fixing another issue raised by test cases. 2022-02-28 19:27:37 +00:00
mike12345567 84ef694712 Fixing test case. 2022-02-28 18:53:03 +00:00
mike12345567 8b6a9b7273 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-28 18:43:45 +00:00
mike12345567 4a31045233 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 fc3ff320aa Moving swagger defs to dev dependencies. 2022-02-28 13:41:11 +00:00
mike12345567 7b3318a19e Switching the basic single row read to use the enrich endpoint. 2022-02-28 12:54:32 +00:00
Budibase Release Bot 2f7ca2518c v1.0.77 2022-02-28 12:19:05 +00:00
mike12345567 c4f5b42a90 Updating application output schema. 2022-02-28 11:29:48 +00:00
Budibase Release Bot 6aaa239c33 v1.0.76 2022-02-28 08:22:58 +00:00
mike12345567 716bc5acf1 Rounding out user schema and query schema as required. 2022-02-25 19:26:19 +00:00
mike12345567 bc81b3f22c Removing test case. 2022-02-25 19:02:27 +00:00
mike12345567 b6e6f81d15 Adding test cases for user implementation with mocks. 2022-02-25 19:01:17 +00:00
mike12345567 cf27667580 Users implementation added. 2022-02-25 19:00:12 +00:00
mike12345567 295b65678c Adding test cases for all implemented endpoints. 2022-02-25 18:02:08 +00:00
mike12345567 83d4994f55 Starting to fix up test cases. 2022-02-25 15:55:19 +00:00
Budibase Staging Release Bot 2e4cfb3312 v1.0.76-alpha.5 2022-02-25 13:45:29 +00:00
mike12345567 c1a1c02e73 Updating validators, make sure everything that is optional is really optional. 2022-02-25 11:39:46 +00:00
Budibase Staging Release Bot a01cb16684 v1.0.76-alpha.4 2022-02-25 09:11:42 +00:00
Rory Powell e2d1ede339 Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-25 08:22:21 +00:00
Michael Drury 4b3da534e3 Fixing some errors in the generated spec. 2022-02-24 23:25:03 +00:00
Michael Drury 01bb56cbf4 Adding a testing system which generates the schema and compares against responses. 2022-02-24 23:21:10 +00:00
mike12345567 53f108865a Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-24 18:19:20 +00:00
mike12345567 26c2fc8702 Generating from typescript files. 2022-02-24 18:15:13 +00:00
mike12345567 dce23a9eb8 Updating specs. 2022-02-24 15:42:59 +00:00
mike12345567 74dcce6b1d Refactoring to TS on public endpoints. 2022-02-24 15:13:14 +00:00
mike12345567 812f69815f Fix for validator adding. 2022-02-24 12:03:46 +00:00
mike12345567 051b46bd47 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 e29967c877 v1.0.76-alpha.3 2022-02-24 10:07:41 +00:00
Martin McKeaveney aa56638877 Merge pull request #4664 from Budibase/update-filter-automation
Rename filter to be condition
2022-02-24 11:00:41 +01:00
Michael Drury aeae61342a Adding table public API. 2022-02-23 22:13:16 +00:00
mike12345567 8f6e55e65b Adding controllers for row, query and applications public APIs. 2022-02-23 18:31:32 +00:00
Rene Pot 916cf2c8b1 linting 2022-02-23 16:56:51 +01:00
Budibase Staging Release Bot 89ac67a6f0 v1.0.76-alpha.2 2022-02-23 14:53:13 +00:00
Rene Pot bf6bc429d8 Rename filter to be condition 2022-02-23 15:07:05 +01:00
Budibase Staging Release Bot b97e2df584 v1.0.76-alpha.1 2022-02-23 13:04:02 +00:00
Budibase Staging Release Bot 214b97463b v1.0.76-alpha.0 2022-02-23 12:50:13 +00:00
Rory Powell a009cec2fd Merge branch 'develop' into merge-master 2022-02-23 12:16:03 +00:00
Rory Powell 6fca8ca936 Merge branch 'master' into merge-master 2022-02-23 12:14:04 +00:00
Budibase Staging Release Bot 002f816949 v1.0.74-alpha.2 2022-02-23 10:11:50 +00:00
Rory Powell 83d8c70419 Change ports 2022-02-23 07:00:57 +00:00
mike12345567 8685abf99e 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 b3a7bed086 Getting prettier running on the public routes. 2022-02-22 17:38:27 +00:00
Rory Powell e097554972 Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-22 15:15:17 +00:00
mike12345567 948c520a6a 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 d08c3bd6b5 Adding in request bodies. 2022-02-22 14:28:57 +00:00
Budibase Staging Release Bot 205d4c5c81 v1.0.74-alpha.1 2022-02-22 14:18:29 +00:00
mike12345567 be07f2ffb7 Updating output schemas and adding examples to everything. 2022-02-22 14:10:01 +00:00
Budibase Release Bot 5a6cc0c592 v1.0.75 2022-02-22 12:59:24 +00:00
Andrew Kingston adeb9d4b3f Revert server lock file 2022-02-22 12:37:41 +00:00