Commit Graph

4020 Commits

Author SHA1 Message Date
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
Martin McKeaveney 1cbca0578a removing need for handlebars in nginx script, automating proxy service deployment 2022-02-22 13:24:21 +01:00
Rory Powell b9306b5a7a Prevent local port conflicts between account portal and cypress 2022-02-22 11:20:58 +00:00
Rory Powell 1adf43733a Merge branch 'master' into merge-master 2022-02-22 09:09:36 +00:00
Budibase Release Bot f666457733 v1.0.74 2022-02-22 08:12:54 +00:00
mike12345567 d0f18d109e Adding in all endpoints/open API definitions, need to flesh everything out. 2022-02-21 19:04:13 +00:00
Budibase Staging Release Bot 102e2c43a5 v1.0.74-alpha.0 2022-02-21 16:59:03 +00:00
mike12345567 e1352ffbd2 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-21 16:54:39 +00:00
mike12345567 629bf6177a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-02-21 16:51:08 +00:00
mike12345567 e71dda53bf Updating table schema and adding query endpoints. 2022-02-21 16:37:02 +00:00
Budibase Release Bot f7d7f1693f v1.0.73 2022-02-21 16:10:18 +00:00
Rory Powell 469682f7d9 Merge pull request #4607 from Budibase/migration-tenantIds
Respect custom tenantIds in run migrations endpoint
2022-02-21 15:32:33 +00:00
mike12345567 738cd50030 Fixing issue with formula column validation breaking row save. 2022-02-21 15:01:42 +00:00
mike12345567 6cbf186ead Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-21 14:34:06 +00:00
Budibase Staging Release Bot c050426e34 v1.0.73-alpha.0 2022-02-21 14:17:54 +00:00
Rory Powell ada72fa8c9 Merge branch 'master' into merge-master 2022-02-21 12:19:30 +00:00
Budibase Release Bot bcf64c91ff v1.0.72 2022-02-21 12:08:35 +00:00
Budibase Staging Release Bot 132fcc6ba7 v1.0.72-alpha.0 2022-02-21 11:46:11 +00:00
Rory Powell 0593b852a5 Merge branch 'master' into merge-master-into-develop 2022-02-21 10:51:01 +00:00
Budibase Release Bot 82510630a4 v1.0.71 2022-02-21 10:46:11 +00:00
Rory Powell 8680016c5d 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 ea40d1dc53 v1.0.70 2022-02-20 21:32:17 +00:00
Tobias Speicher 491bcb86ed 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 604bad89fd Adding a schema for tables. 2022-02-18 18:06:58 +00:00
mike12345567 67bbba4747 Minor adjustment to get the right header for app ID. 2022-02-18 17:54:03 +00:00
Budibase Release Bot 0f46cf8525 v1.0.69 2022-02-18 17:45:29 +00:00
mike12345567 bb917467ff 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 02c0c49594 Deprovision and local couch db url fix 2022-02-18 17:36:23 +00:00
mike12345567 edcb138366 Rows API mostly complete, starting into tables. 2022-02-18 15:47:15 +00:00
Rory Powell a4ea1dd8c0 Fix lockfile 2022-02-18 12:06:18 +00:00
Rory Powell 814b5ae5ab Merge branch 'master' into develop 2022-02-18 11:57:54 +00:00
mike12345567 51b4d42492 Adding a structure for breaking up examples and parameters. 2022-02-17 19:55:37 +00:00
mike12345567 6a09fdc3e5 Adding in public endpoint definitions. 2022-02-17 18:58:09 +00:00
mike12345567 5f94ed7fe0 Fixing up generation of openapi. 2022-02-17 12:40:08 +00:00
Budibase Release Bot 8a5a1bf1ab v1.0.68 2022-02-17 10:27:59 +00:00
Martin McKeaveney e8d5d54f5d bug fix for handlebars expression, show budibase version in updates panel 2022-02-17 10:12:35 +01:00
mike12345567 4ec9794eb4 Specing out search endpoint. 2022-02-16 18:51:17 +00:00
mike12345567 2bc2669ed7 Adding variables to generator. 2022-02-16 18:23:38 +00:00
mike12345567 6dc0dde9d7 Adding openAPI generation. 2022-02-16 16:42:50 +00:00
mike12345567 f0b02cf9a9 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-16 15:30:48 +00:00
Budibase Release Bot e044e5a193 v1.0.67 2022-02-16 14:42:28 +00:00
Martin McKeaveney a7a82dc679 adding k8s resolver and updating watchtower variable 2022-02-16 15:33:57 +01:00
Martin McKeaveney 76589813a7 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 de3ad814b2 v1.0.66 2022-02-16 13:50:45 +00:00
Martin McKeaveney 551931758e 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 6361565dc7 v1.0.66-alpha.0 2022-02-15 17:15:15 +00:00
mike12345567 db45086105 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-02-15 16:54:21 +00:00
Budibase Release Bot 83e0f68597 v1.0.65 2022-02-15 15:43:32 +00:00
Budibase Staging Release Bot e22f0fe5d1 v1.0.58-alpha.7 2022-02-15 10:36:59 +00:00
Michael Drury 165fdce29f 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 fd7da375e0 v1.0.58-alpha.6 2022-02-15 09:23:08 +00:00
Budibase Release Bot 6f267526c5 v1.0.64 2022-02-15 09:22:36 +00:00
dependabot[bot] f1e7702aec 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 edd4a3233e Shifting over all of self API, deprecating old endpoints. 2022-02-14 18:11:35 +00:00
Budibase Staging Release Bot 8233a522e0 v1.0.58-alpha.5 2022-02-14 18:05:17 +00:00
Budibase Staging Release Bot 410e8a2888 v1.0.58-alpha.4 2022-02-14 15:04:23 +00:00
Michael Drury d2951fab05 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 b010c2fd63 v1.0.58-alpha.3 2022-02-14 12:04:23 +00:00
Budibase Staging Release Bot 709e5ac547 v1.0.58-alpha.2 2022-02-14 11:00:33 +00:00
Andrew Kingston d34e57382e Replace all spaces with underscores in column names rather than just the first one 2022-02-14 10:21:31 +00:00
Budibase Release Bot 0862c8db84 v1.0.63 2022-02-14 09:34:12 +00:00
dependabot[bot] 09bad475e3 Bump follow-redirects from 1.14.5 to 1.14.8 in /packages/server
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 14:54:53 +00:00
Budibase Release Bot 3f46eb4fd0 v1.0.62 2022-02-12 12:01:26 +00:00
Budibase Release Bot adbfbb62c1 v1.0.61 2022-02-12 11:04:28 +00:00
mike12345567 126499f383 Fix for #4440, fixing validation of API endpoints. 2022-02-12 10:35:10 +00:00
Maurits Lourens 8ca38cf135 fix tests 2022-02-12 10:06:55 +00:00
Maurits Lourens 88383eabf1 add properties which are present when previewing an existing query 2022-02-12 10:06:48 +00:00
Maurits Lourens f86222a98d Fix validation for query preview endpoint 2022-02-12 10:06:37 +00:00
Budibase Release Bot c27a552d88 v1.0.60 2022-02-11 18:47:34 +00:00
Budibase Staging Release Bot e4d5aa6521 v1.0.58-alpha.1 2022-02-11 18:29:37 +00:00
Budibase Release Bot 93336bf798 v1.0.59 2022-02-11 18:25:35 +00:00
Martin McKeaveney f894fe624a Merge pull request #4414 from mslourens/preview_rest_query
Fix validation for query preview endpoint
2022-02-11 19:23:15 +01:00
mike12345567 7109b34ea3 Fix for #4431 - converting SQL joins back to left joins, syntax specifying join type as string is old which doesn't work in latest versions of knex. 2022-02-11 17:28:57 +00:00
Maurits Lourens a3626986a1 fix tests 2022-02-11 17:28:19 +01:00
mike12345567 f77b596a07 Fix for #4431 - converting SQL joins back to left joins, syntax specifying join type as string is old which doesn't work in latest versions of knex. 2022-02-11 14:04:23 +00:00
Budibase Release Bot 16106548ac v1.0.58 2022-02-10 18:13:24 +00:00
Budibase Staging Release Bot 7f7bd8f447 v1.0.58-alpha.0 2022-02-10 18:04:34 +00:00