Commit Graph

3529 Commits

Author SHA1 Message Date
mike12345567 1f36eec89a Some updates towards supporting attachments in app exports. 2022-10-10 20:08:59 +01:00
Dean 07be0208e5 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Martin McKeaveney 5838eb70b4 turn on gsheets 2022-10-10 09:02:17 +01:00
Rory Powell 84685d3340 Add locking framework 2022-10-10 08:21:17 +01:00
Martin McKeaveney 052bc0aeed ensure correct revert endpoint being hit, update call to revert 2022-10-09 19:31:35 +01:00
mike12345567 9efb8f98bc Updating koa versions to align with pro - types were inaccurate and couldn't be imported correctly. 2022-10-07 21:08:20 +01:00
mike12345567 2d4eb10aba Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-07 20:48:28 +01:00
mike12345567 d80c966cf1 Fixing test mocks. 2022-10-07 18:05:26 +01:00
mike12345567 197d195cb4 Switching from scan for app locks to mget - which is a fast O(N) operation that only retrieves what we need. 2022-10-07 18:05:18 +01:00
Martin McKeaveney 4e04fc84b2 only prevent rollback in cypress env 2022-10-07 18:04:18 +01:00
Michael Drury 060b2aba3c Merge pull request #8175 from Budibase/fix/remove-app-scans
Removing Redis SCAN operation from app services
2022-10-07 17:35:05 +01:00
mike12345567 39410a07af Fixing test mocks. 2022-10-07 16:24:04 +01:00
mike12345567 0c4a40c795 Switching from scan for app locks to mget - which is a fast O(N) operation that only retrieves what we need. 2022-10-07 16:05:01 +01:00
Andrew Kingston bdce3fc9fc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
Dean c09154b03e Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
mike12345567 ef52bde670 Building out initial SDK work - converting some existing exporting work to typescript. 2022-10-06 19:10:45 +01:00
mike12345567 ea2fb6de1b Merge branch 'master' of github.com:Budibase/budibase into develop 2022-10-06 16:54:25 +01:00
Rory Powell aff6e5cbbb Process quota emails in account-portal 2022-10-06 16:03:47 +01:00
Dean e251c914ff Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Peter Clement 32b54f9b33 Merge pull request #8133 from Budibase/fix/automation-looping-issues
Fix issues with looping in automations
2022-10-05 12:51:37 +01:00
Michael Drury 3f4bdece64 Merge pull request #8125 from Budibase/fix/table-options-csv
Fixing options type import with CSV
2022-10-05 10:06:06 +01:00
Peter Clement bd47c948c5 one more log 2022-10-05 10:01:11 +01:00
Andrew Kingston 84626294fd Merge pull request #8124 from Budibase/plugin-url-updates
Plugin url updates
2022-10-05 09:57:22 +01:00
Peter Clement f4c9fc6897 remove logs 2022-10-05 09:53:47 +01:00
Dean 2ec21741d1 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Peter Clement 2f220d668b fix looping issues in automations 2022-10-05 09:20:59 +01:00
Andrew Kingston f2f842444a Update plugin URL utility export to use CJS syntax 2022-10-05 08:57:26 +01:00
Andrew Kingston 788dac0f8d Use CJS style imports in plugin URL helper to work in jest, and respect plugin bucket env var 2022-10-05 08:25:50 +01:00
mike12345567 1dabc59ff5 Fixing a regression of CSV table creation - normally if a CSV was used to create a table with an options column all of the options would be filled in but this had been broken. 2022-10-04 17:54:33 +01:00
Andrew Kingston 021316c73f Lint 2022-10-04 16:43:20 +01:00
Mel O'Hagan 3490996c5a Add unit test and fix 2022-10-04 16:28:29 +01:00
Andrew Kingston b487855348 Update plugin JS URL handling 2022-10-04 16:28:21 +01:00
Andrew Kingston d5cde049a7 Enrich plugin JS URLs when SSR'ing apps 2022-10-04 16:28:01 +01:00
Andrew Kingston b148b7d004 Enrich plugin JS URLs when fetching appPackage 2022-10-04 16:27:42 +01:00
Andrew Kingston de9b2c44cb Add utility for generating plugin JS URLs 2022-10-04 16:27:04 +01:00
Mel O'Hagan 91d00ecdb4 Fix table block search 2022-10-04 13:55:43 +01:00
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