Commit Graph

3493 Commits

Author SHA1 Message Date
Michael Drury ec02dda877 Merge pull request #8097 from Budibase/bug/sev3/public-api-equals-number
Public api equals query - support for number strings
2022-10-04 12:48:17 +01:00
melohagan 1db2481024 Merge pull request #7868 from Budibase/bug/sev3/display-column-relationship-bug
Ensure display columns are set when relationships are defined
2022-10-04 11:53:31 +01:00
Mel O'Hagan a95f32c5de Rename actionTypes to actionType 2022-10-04 11:29:13 +01:00
Mel O'Hagan 9580e83ae3 lint 2022-10-04 11:03:54 +01:00
Mel O'Hagan 55c112677e Added support for JSON array stages 2022-10-04 11:03:24 +01:00
mike12345567 a3348e3c8a Fix for #6880 - allow SQL table rows to be updated/deleted by their _id field from the public API. 2022-10-03 20:31:11 +01:00
Mel O'Hagan b3d549a170 Add aggregate method. Push results. 2022-10-03 20:08:47 +01:00
Mel O'Hagan b6eebad75f Fix types 2022-10-03 19:10:01 +01:00
Mel O'Hagan a9212a56ed lint 2022-10-03 17:18:16 +01:00
Mel O'Hagan 0d08eb60c5 Merge branch 'develop' into lab/mongodb 2022-10-03 17:10:21 +01:00
Mel O'Hagan fae4c9586a Wrap number in quotes if string search 2022-10-03 11:30:57 +01:00
Michael Drury 603dfbd530 Merge pull request #8061 from Budibase/fix/8056
Don't return raw query from query execution endpoint - only from preview
2022-10-03 09:51:26 +01:00
Shumpei Kishi 2f563f108a Adding a validation check for undefined 2022-10-03 17:34:06 +09:00
Shumpei Kishi 8aee6c95d8 Fixing the validation logic to accept boolean false value. 2022-10-03 15:55:11 +09:00
Michael Drury af603afbc3 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-10-01 15:44:11 +01:00
mike12345567 476bb79c29 Quick fix for development machines, when running Budibase development stack on systems that are not oracle compatiable it would fail to start due to the lack of dependency. 2022-09-30 15:19:34 +01:00
mike12345567 f9269faf08 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-09-30 14:55:00 +01:00
mike12345567 b484f29098 Minor fix for #8056 - don't return the raw data for the main query execution - but still return for the builder preview. 2022-09-30 12:30:26 +01:00
mike12345567 38f49dad2a Merge branch 'master' of github.com:Budibase/budibase into feature/plugin-icons 2022-09-30 11:17:43 +01:00
mike12345567 a3b7d7f8a9 Fix for #8023 - moving Oracle integration to ESM import rather than CJS. 2022-09-30 10:52:00 +01:00
mike12345567 95136a54f2 Adding ability for datasource plugins to have a custom icon svg. 2022-09-29 19:30:53 +01:00
Rory Powell e85e3828fd Test fix 2022-09-28 14:03:05 +01:00
Rory Powell d87e3904ae Create generic quota sync migration 2022-09-28 13:13:37 +01:00
Rory Powell 98168aee29 Merge branch 'develop' into feature/app-quotas 2022-09-28 12:33:39 +01:00
Rory Powell b230f16369 minor renaming 2022-09-28 11:57:58 +01:00
Rory Powell 79226777b1 Merge develop 2022-09-28 08:56:45 +01:00
Martin McKeaveney f789f364d3 make sure rows call goes to real couch 2022-09-26 18:46:09 +01:00
Martin McKeaveney 57bbf28119 merge with master 2022-09-26 17:57:23 +01:00
Mel O'Hagan f3d723c435 Merge branch 'master' into bug/sev3/display-column-relationship-bug 2022-09-26 16:14:14 +01:00
Martin McKeaveney 7884d60ed3 Merge pull request #7914 from Budibase/bug/sev4/mysql-multiple-statements
Mysql multiple statements
2022-09-26 15:33:39 +01:00
Andrew Kingston 02156387c7 Update delete endpoints to be called destroy 2022-09-26 14:18:31 +01:00
Andrew Kingston e3bb57b97a Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-26 14:15:25 +01:00
Andrew Kingston aeb0fd7356 Always try to migrate navigation settings when importing apps 2022-09-26 13:59:00 +01:00
Martin McKeaveney d9cdfd9357 Merge pull request #7964 from Budibase/qa/real-couch-integration-tests 2022-09-26 11:10:15 +01:00
Martin McKeaveney 886a90d1fd only run in test mode if couch url is not passed 2022-09-26 10:40:37 +01:00
Peter Clement f6d7b5dc8e Merge pull request #7944 from Budibase/pc/automation-fix
Automate fixes
2022-09-26 08:39:47 +01:00
Martin McKeaveney c309d25b16 Merge pull request #7881 from Budibase/feature/email-cc
Add CC and BCC (with multiple email support) to Send Email automation action step
2022-09-25 13:40:33 +01:00
Michael Drury e12a03d05f PR comments. 2022-09-24 16:55:22 +01:00
Martin McKeaveney 25ce82fa4b using real couch in integration tests 2022-09-24 13:17:21 +01:00
mike12345567 e460864091 Adding a migration for the plugin quotas to make sure they are always accurate in self host at startup. 2022-09-24 12:10:09 +01:00
Michael Drury c7fb092294 Fixing issue discovered by test. 2022-09-23 22:24:31 +01:00
mike12345567 e0b6ef66ac Fixing a few issues with roles being correctly reverted. 2022-09-23 17:45:26 +01:00
Peter Clement f069ddb27e Automation fixes 2022-09-23 13:35:27 +01:00
mike12345567 a1b1798e13 Minor update to feature flag name. 2022-09-23 13:08:18 +01:00
mike12345567 9b29bd6709 Merge branch 'develop' of github.com:Budibase/budibase into group-fixes 2022-09-22 18:44:16 +01:00
mike12345567 e3f054470a Updating a few core endpoints to better integrate the groups system and make sure users always have the correct role ID updated onto them. 2022-09-22 18:27:43 +01:00
Mel O'Hagan 1afc0fbdf8 Support multiple statements 2022-09-22 16:36:19 +01:00
mike12345567 429a89159c Fixing issue that refactoring file caused (some strings renamed to ts rather than js). 2022-09-22 15:18:10 +01:00
mike12345567 67d9495481 Some updates, typescripting some more APIs, as well as fixing a lot of Router creation which did not specify the 'new' operator. 2022-09-22 14:59:28 +01:00
mike12345567 6247f686e8 Adding group app cleanup. 2022-09-21 23:12:38 +01:00
Rory Powell c3ee8b0e56 Merge pull request #7859 from Budibase/feature/enterprise
Enterprise / license override support
2022-09-21 20:18:54 +01:00
Andrew Kingston 3b4ca9e5b3 Update public API operation IDs to be shorter 2022-09-21 19:11:47 +01:00
Mel O'Hagan 1b49f02092 CC and BCC interface 2022-09-21 15:58:04 +01:00
Rory Powell a8782c4629 License analytics 2022-09-21 15:45:29 +01:00
Mel O'Hagan 23fd67b5b9 Ensure display columns are set 2022-09-21 11:53:18 +01:00
Andrew Kingston 41d6c8c093 Fix incorrect event name being sent down websocket when hot reloading component plugins 2022-09-21 09:11:23 +01:00
Rory Powell 6cd872d7d2 Merge branch 'develop' into feature/enterprise 2022-09-20 16:01:28 +01:00
Andrew Kingston 3fd54967d9 Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-20 15:29:39 +01:00
Andrew Kingston ce1c801ff0 Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-20 11:25:54 +01:00
Andrew Kingston fadb1e498e Add operationIds to public API 2022-09-20 11:24:54 +01:00
Rory Powell f7ec431a45 Move tenancy/utils to db/tenancy to resolve circular imports between tenancy and db package. This should remove all reliance on the tenancy package from the db package 2022-09-20 10:20:36 +01:00
Rory Powell fca1dd72cd Add enterprise types and change from @budibase/pro to @budibase/types for licensing types 2022-09-20 08:02:14 +01:00
Martin McKeaveney 92221fe115 re-add missing reference to name variable in plugins 2022-09-18 16:00:51 +01:00
Martin McKeaveney 9b5ed59f34 Merge pull request #7792 from Budibase/feature/plugin-pro
Plugin pro integration
2022-09-18 10:34:06 +01:00
mike12345567 6bad41e3ce Minor fix - datasource hot reloading was working apart from the the CJS require caching, need to clear down the cache entry before reloading. 2022-09-16 11:25:28 +01:00
Martin McKeaveney c86bdffc52 Merge pull request #7646 from Budibase/qa/qa-core-jest
QA Core repo, and Jest API tests running end to end
2022-09-15 21:12:45 +01:00
Martin McKeaveney bc090f5f9d better tests and cleaner import for server 2022-09-15 19:51:11 +01:00
mike12345567 5b9c3a5608 Some minor fixes, plus typescript conversion to avoid issue in future. 2022-09-15 18:43:07 +01:00
mike12345567 b9321701b8 Merge branch 'develop' of github.com:Budibase/budibase into feature/plugin-pro 2022-09-15 15:14:18 +01:00
mike12345567 40688f6783 Adding budibase/pro integration for plugins, controlling quota limits. 2022-09-15 14:57:27 +01:00
Rory Powell a8747a0b6d Ignore empty name validation on app update and change free logo text 2022-09-15 14:23:25 +01:00
Rory Powell 060251ab03 Merge pull request #7782 from Budibase/feature/day-pass-pricing
Day pass pricing
2022-09-15 13:36:10 +01:00
Rory Powell a691f4035f Merge branch 'feature/day-pass-pricing' into feature/bb-logo 2022-09-15 13:03:53 +01:00
Michael Drury b8462eea0c Merge pull request #7774 from Budibase/events/plugins
Plugin init, imported and deleted events
2022-09-15 12:55:40 +02:00
Rory Powell 4787f9ccab Pre-review tidy, add new badge to plugins 2022-09-15 11:23:51 +01:00
Rory Powell 086d9ebdf9 Merge branch 'develop' into feature/day-pass-pricing 2022-09-15 10:56:50 +01:00
Rory Powell 0f98f2fcaa Merge branch 'master' into develop 2022-09-15 10:19:56 +01:00
Rory Powell 8cfd6a9faa Merge branch 'develop' into feature/day-pass-pricing 2022-09-15 08:55:33 +01:00
Martin McKeaveney ddc585fad3 Merge branch 'develop' into qa/qa-core-jest 2022-09-15 01:18:58 +01:00
Martin McKeaveney fdbe429581 complete refactor and total type safety of test suite - making use of OpenAPI types throughout 2022-09-15 00:58:08 +01:00
mike12345567 274e34044e Merge branch 'develop' of github.com:Budibase/budibase into events/plugins 2022-09-14 17:48:25 +01:00
Michael Drury f18a865d53 Merge pull request #7770 from Budibase/fix/datasource-rename
Data source -> datasource throughout code - plus friendly plugin name displayed
2022-09-14 18:47:54 +02:00
mike12345567 46c1590c83 Adding types for plugin events, specifically for plugin init, import and deletion, this is across the CLI and the server. 2022-09-14 17:35:46 +01:00
Peter Clement 3304f11560 Merge pull request #7766 from Budibase/fix/pc-fixes
Bug fixes #6836 and #7242
2022-09-14 14:39:10 +01:00
Andrew Kingston 1fa2bc193c Lint 2022-09-14 14:35:08 +01:00
mike12345567 70f2130cfc Fixing linting issue. 2022-09-14 14:07:00 +01:00
mike12345567 632d0e6e1a Merge branch 'develop' of github.com:Budibase/budibase into fix/datasource-rename 2022-09-14 14:06:38 +01:00
mike12345567 8744d0a86c Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
Andrew Kingston c1b0e126af Allow custom components in cloud 2022-09-14 12:01:49 +01:00
Andrew Kingston 64ee1677e6 Add validation to plugins uploaded using file upload and allow component uploads via non-file sources in cloud 2022-09-14 11:58:59 +01:00
Andrew Kingston d2a91bcbeb Allow component plugins in cloud 2022-09-14 10:14:17 +01:00
mike12345567 416a2c999f Fixing issue with plugin import for datasources - extract the integration correctly. 2022-09-13 12:16:00 +01:00
Peter Clement 3059e00c77 add backend name validation for app creation / update 2022-09-13 11:44:33 +01:00
Andrew Kingston 3283a0ab5a Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-09-13 11:31:45 +01:00
melohagan abdb156559 Merge pull request #7333 from Budibase/feature/select-tables-to-fetch
Allow list of named tables to be fetched
2022-09-13 11:19:49 +01:00
Mel O'Hagan 6e29e0a757 Case insensitive table fetch 2022-09-13 10:55:38 +01:00
Michael Drury 99e9bdea6b Merge pull request #7574 from Budibase/bug/sev4/delete-formula-column
Exclude formula columns from Sql drop column
2022-09-13 11:27:59 +02:00
Andrew Kingston 4c301e962f Refactor server websocket dependency tree to fix jest tests 2022-09-13 09:54:25 +01:00
melohagan 9be2f517ca Merge pull request #7737 from Budibase/bug/sev3/foreign-key-bigint-smallint
Postgres (and other external DBs) support foreign key bigint -> smallint
2022-09-13 08:26:02 +01:00
Andrew Kingston be15aff40f Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-12 20:00:32 +01:00
mike12345567 30817751ad Updating plugin backend, refactoring a bit, correctly allowing a set of headers to be used for a URL. 2022-09-12 19:12:05 +01:00
mike12345567 e7cfdd4fde Updating add/delete process to have better notifications, removing some errors. 2022-09-12 17:43:13 +01:00
mike12345567 f6e5524b07 Refactoring some plugin adding work - changing how source is specified to remove lower casing. 2022-09-12 17:04:27 +01:00
mike12345567 722a087af5 Reverting organisation page changes. 2022-09-12 16:21:47 +01:00
mike12345567 828066de46 Merge branch 'develop' of github.com:Budibase/budibase into feature/plugin-management-ui 2022-09-12 15:34:34 +01:00
mike12345567 82ed2d2cb7 Prefer worker/app port to generic port env variable - #7736. 2022-09-12 15:17:39 +01:00
mike12345567 bbed4cce74 Fixing an intermettient test issue. 2022-09-12 15:16:31 +01:00
Mel O'Hagan f782375e12 lint 2022-09-12 14:22:07 +01:00
Mel O'Hagan 32f004a890 Compare string versions of relationship columns 2022-09-12 14:21:32 +01:00
Rory Powell 45a43baee2 Merge branch 'master' into develop 2022-09-12 14:05:36 +01:00
Martin McKeaveney 35274583c6 Merge pull request #7734 from Budibase/fix/cr-header
Fix/cr header
2022-09-12 12:22:35 +01:00
Rory Powell 884f446671 Merge branch 'develop' into feature/day-pass-pricing-temp 2022-09-12 11:33:02 +01:00
Martin McKeaveney 37fa940661 adding friendlyname for legacy HTTP support 2022-09-12 10:18:18 +01:00
Martin McKeaveney 6bdf103e11 provide fix for CR header and backwards compatibility with legacy servers 2022-09-12 10:00:05 +01:00
Martin McKeaveney 6983d94d90 adding insecure HTTP parser 2022-09-12 09:27:16 +01:00
adamkingsbury 2eca405559 lint fix 2022-09-10 00:25:35 +01:00
adamkingsbury 18050936d8 don't enforce global agent for reject unauthorized 2022-09-10 00:14:57 +01:00
adamkingsbury 4cd182844a Fix issue with query string on sensitive APIs 2022-09-10 00:14:57 +01:00
adamkingsbury e33ea75ee0 Implement rejectUnauthorised logic 2022-09-10 00:10:09 +01:00
mike12345567 3d66e71d7d Fixing an issue with deleting large apps with a lot of internal table data and adding back the export modal which allows picking whether an export includes internal table rows - #7583. 2022-09-09 20:06:29 +01:00
mike12345567 2686d50523 Fixing test cases. 2022-09-09 17:18:19 +01:00
NEOLPAR 945665448d fixing node exports 2022-09-09 12:15:38 +01:00
NEOLPAR 171970108e fix build error exporting and declaring plugins 2022-09-09 12:01:04 +01:00
NEOLPAR 8261549131 added plugin validation 2022-09-09 11:13:18 +01:00
NEOLPAR 28e8ce329b fixed building issue 2022-09-09 11:10:48 +01:00
mike12345567 7c9d0594f8 Fixing #6980 - fixing choice of relational foreign key field name when working with fields named differently to the primary key. 2022-09-07 18:30:17 +01:00
Peter Clement 3ef877f886 fix build again 2022-09-07 18:11:17 +01:00
mike12345567 8e56a7a4d9 Fixing an issue with external tables containing time only fields. 2022-09-07 17:57:02 +01:00
Peter Clement ac0443a876 fix build 2022-09-07 17:49:29 +01:00
mike12345567 2fb96b29c9 Encoding query string URI parameters for REST requests - #7683. 2022-09-07 17:31:15 +01:00
mike12345567 86c8618e8f Fix for #7431 - reboot didn't work at all previously which is why apps couldn't be published with it enabled, this is now a self host only feature, I've removed the ability to enable a reboot cron in the Cloud and it will not run the lookup/execution. 2022-09-07 17:05:17 +01:00
Peter Clement 0ebe0b8275 remove verify and fix deletion bug 2022-09-07 16:08:29 +01:00
Peter Clement 43dbf96f47 add update modal 2022-09-07 13:51:14 +01:00
mike12345567 9f00e75207 Merge branch 'master' of github.com:Budibase/budibase into fix/sept-various-fixes 2022-09-07 13:42:30 +01:00
mike12345567 ca749aed86 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-09-07 12:40:45 +01:00
Andrew Kingston 2e72eb4f2e Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-07 12:07:25 +01:00
Andrew Kingston ac8dffcdaa Fix version being referenced in app plugin metadata 2022-09-07 12:06:05 +01:00
Andrew Kingston 0bc7ffe0a1 Update preview endpoint to be prefixed with /app to not require an updated proxy config 2022-09-07 10:40:00 +01:00
mike12345567 2d183e0c6c Adding compaction before each replication to try to reduce size of database, as well as removing the possibility of app metadata being in conflict as per issue #7494. 2022-09-06 18:07:18 +01:00
NEOLPAR c4bcee1d60 returning 400 error with message to be handled by frontend 2022-09-06 16:37:37 +01:00
NEOLPAR c2bca8a025 uploading plugin for github, npm and url 2022-09-06 16:28:35 +01:00
Rory Powell 165194658b Move day pass middleware from authenticated to licensing, sent activity to account portal 2022-09-06 16:24:36 +01:00
NEOLPAR b8dc676120 Merge branch 'feature/plugin-management-ui' of https://github.com/Budibase/budibase into feature/plugin-management-ui 2022-09-06 12:50:48 +01:00
Rory Powell 818e7fd5f4 Day pass middleware 2022-09-06 12:25:57 +01:00
Peter Clement e6f127c33f update upload request to handle source correctly 2022-09-06 10:37:49 +01:00
Andrew Kingston 3088616c47 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-09-06 08:53:10 +01:00
Mel O'Hagan 2cdd47042c lint 2022-09-05 18:31:20 +01:00
Mel O'Hagan 00f12698d7 type check 2022-09-05 18:31:12 +01:00
Mel O'Hagan 67f123d60f Parse incoming row as JSON 2022-09-05 18:31:03 +01:00
Martin McKeaveney c3f15b5af2 QA Core repo, and Jest API tests running end to end 2022-09-05 18:28:53 +01:00