Commit Graph

5437 Commits

Author SHA1 Message Date
mike12345567 4a71252731 Updating test cases to TS to get them working properly with the full TS implementations. 2022-08-31 19:21:45 +01:00
NEOLPAR 1c67772973 plugins npm and url working 2022-08-31 17:53:00 +01:00
mike12345567 f2c79c1f3b Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 16:24:10 +01:00
NEOLPAR ac33190ff0 uploading npm and url plugins 2022-08-31 16:09:47 +01:00
mike12345567 5411f3c8e3 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 15:53:32 +01:00
Andrew Kingston 96a0dd06d7
Merge pull request #7450 from Budibase/cheeks-fixes
App navigation and screen migration for imports and templates
2022-08-31 15:27:18 +01:00
Andrew Kingston e6e0fedd7b Add test case for migrating navigation settings from old apps 2022-08-31 14:27:22 +01:00
Rory Powell 472990b684 Add conditional around joiValidator schema.append 2022-08-31 12:24:12 +01:00
Rory Powell 6077814823 Merge branch 'develop' into user-fixes 2022-08-31 11:39:41 +01:00
Rory Powell 8fbe1378f0 Merge branch 'master' into develop 2022-08-31 11:35:07 +01:00
Rory Powell 7ae3d1d19f Update shutdown logging 2022-08-31 11:05:49 +01:00
Rory Powell ae3e4a7d6e Update shutdown logging 2022-08-31 10:47:41 +01:00
NEOLPAR 7bd7c7a868 plugin create npm 2022-08-30 21:37:08 +01:00
Andrew Kingston bfc3c840ca Update chokidar params to use polling to avoid problems with file watching 2022-08-30 19:23:34 +01:00
Rory Powell a734d385f8 Conditionally enable elastic apm 2022-08-30 10:59:27 +01:00
Peter Clement 700614f3e6 lint 2022-08-30 10:50:25 +01:00
Peter Clement accdfd9b9e add plugins ui 2022-08-30 10:49:19 +01:00
Martin McKeaveney 0089a07096 merge 2022-08-30 10:33:37 +01:00
Martin McKeaveney 446008d263 fixing s3 outage errors and scoping AWS configuration to service level 2022-08-25 17:01:12 +01:00
Martin McKeaveney cab86d2563 adding path variable 2022-08-25 11:07:35 +01:00
Martin McKeaveney 07b6516991 additional logging around component definitions 2022-08-25 10:57:30 +01:00
Andrew Kingston 5e15922ca4 Remove commented out migrations 2022-08-25 08:37:52 +01:00
Andrew Kingston 44a191d00d Update types 2022-08-25 08:10:11 +01:00
Andrew Kingston a6bf8084e7 Automatically migrate old apps server-side when importing or using templates 2022-08-24 21:35:24 +01:00
Mel O'Hagan e0744000a4 lint 2022-08-23 15:33:30 +01:00
Mel O'Hagan da4107b26c Generic handle objectid 2022-08-23 15:33:04 +01:00
Rory Powell c104a15122 Disable automation chaining in cloud 2022-08-23 12:35:53 +01:00
Rory Powell cbc4a65749 Disable recursive row update on cloud automations 2022-08-23 11:41:58 +01:00
melohagan bfe5b010da
Merge pull request #7364 from Budibase/bug/sev2/app-action-no-field-crash
Null safety for App Action no fields
2022-08-23 11:28:29 +01:00
Andrew Kingston c192ac534c Improve websocket types 2022-08-23 08:48:16 +01:00
Andrew Kingston b8bd1b51c1 Clean up websocket initialisation 2022-08-22 18:24:34 +01:00
Andrew Kingston 4531e77225 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-08-22 17:54:14 +01:00
Andrew Kingston f144288cf8 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 11:27:18 +01:00
Andrew Kingston 223a44a359 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 11:27:04 +01:00
Andrew Kingston ed2496c686 Remove log 2022-08-20 13:51:32 +01:00
Andrew Kingston 1e98f03bd7 Serve builder preview via server to fix dependency on third party cookies 2022-08-20 13:47:57 +01:00
Rory Powell ec33a47999 add on() to mock queue 2022-08-20 11:42:51 +01:00
Rory Powell 96c110abe6 enable stalled job disabling 2022-08-20 11:02:22 +01:00
Rory Powell b9c16331ce Add logging to all event listeners for automations + stalled handling stub 2022-08-19 23:14:19 +01:00
Rory Powell 9e071ea4d8
Merge pull request #7367 from Budibase/enable-node-debug
Add support for NODE_DEBUG to app-service in kubernetes
2022-08-19 15:26:29 +01:00
Rory Powell 65d4544cc5 Add support for NODE_DEBUG to app-service in kubernetes 2022-08-19 15:21:53 +01:00
Mel O'Hagan 326548c7fa tableId null safety 2022-08-19 14:57:15 +01:00
Rory Powell cb03d26980 Merge branch 'develop' into feature/day-pass-pricing 2022-08-19 14:08:03 +01:00
Andrew Kingston 1d0125fb94 Add tests for exporting data 2022-08-19 13:54:08 +01:00
Andrew Kingston dced5d1c0f Initial work on websockets 2022-08-19 11:09:20 +01:00
Rory Powell 5a74207ecd usage page updates 2022-08-19 09:28:26 +01:00
mike12345567 65659225e1 Adding management of the new README.md file that is retrieved with the plugin skeletons. 2022-08-18 18:23:07 +01:00
mike12345567 e53f86c0b2 Adding in hash handling for datasource plugins. 2022-08-18 15:21:55 +01:00
mike12345567 9d22f83e4e Adding check to make sure build/watch occurs inside a plugin directory. 2022-08-18 13:29:49 +01:00
Andrew Kingston a32b3705dc Add sanity checks to plugin watcher 2022-08-18 12:22:32 +01:00
Andrew Kingston 186f559fb4 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-18 11:23:41 +01:00
Andrew Kingston cf4696ad8a Treat any tarball as plugins when watching plugins directory 2022-08-18 11:23:24 +01:00
mike12345567 0db9a4ec6e Adding full builder integration of custom components - splitting into own section properly - fixing some issues with SVG class overlap. 2022-08-17 23:13:51 +01:00
Mel O'Hagan 99c2a043b8 Allow list of named tables to be fetched 2022-08-17 18:16:11 +01:00
melohagan 3cadbee1b9
Merge pull request #7243 from Budibase/bug/sev2/orphaned-minio-attachment
Delete attachments on field clear from minio bucket
2022-08-17 16:48:27 +01:00
mike12345567 ffb4ba48e7 Adding some controls around datasource config creation and updating minio fetch. 2022-08-17 11:01:25 +01:00
mike12345567 9a49f58a88 Adding full flow for creating custom datasource. 2022-08-17 10:05:13 +01:00
Andrew Kingston af01874ab1 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-16 15:18:58 +00:00
Andrew Kingston 623a5ee563 Default plugins dir to /plugins 2022-08-16 15:16:46 +00:00
Michael Drury 8c5fb91433 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-16 15:44:05 +01:00
Michael Drury 09372e2ad7 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-16 15:42:47 +01:00
Andrew Kingston bb19810e36 Add missing declaration of objectstore module 2022-08-16 14:42:32 +00:00
Michael Drury b96db6d7b7 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-16 15:39:40 +01:00
Andrew Kingston 2a6719d3ac Only watch plugins in single tenant envs 2022-08-16 14:02:51 +00:00
Andrew Kingston 30406f7f35 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-15 22:24:41 +01:00
Andrew Kingston 54907ad7b0 Add hot reloading for component plugins via watched plugin directory 2022-08-15 22:23:45 +01:00
mike12345567 3388008f0b Adding custom datasources to UI. 2022-08-15 18:38:09 +01:00
mike12345567 3fb5a2251b Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-15 16:17:54 +01:00
Mel O'Hagan 1f66cf9a83 Allow delete attachments from builder data section 2022-08-15 15:46:55 +01:00
Mel O'Hagan 6f3ad479b3 lint 2022-08-15 14:11:42 +01:00
Mel O'Hagan 3d55b60add Added unit tests for internalSearch 2022-08-15 14:11:15 +01:00
mike12345567 2904b1a5db Merge branch 'develop' of github.com:Budibase/budibase into feature/multiselect-filters 2022-08-15 12:24:41 +01:00
Andrew Kingston 33deeb6e9e Support filtering data exports to only certain columns with internal tables 2022-08-13 15:38:21 +01:00
mike12345567 b26fe01945 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-12 17:04:05 +01:00
mike12345567 97466f183b Making integrations more like what custom integrations look like (to simplify integration). 2022-08-12 17:03:06 +01:00
Andrew Kingston 449905116e Fix rev when uploading a new plugin 2022-08-12 16:19:29 +01:00
Andrew Kingston e9fc30afda Overwrite existing plugins of the same name and version 2022-08-12 14:41:37 +01:00
NEOLPAR d3e61832e2 Merge branch 'master' into fix/datasource-not-exporting 2022-08-12 14:37:44 +01:00
Andrew Kingston 860c75c0bc Update name of types constant 2022-08-12 14:01:56 +01:00
NEOLPAR fe51fe4df0 code styles 2022-08-12 13:50:35 +01:00
Mel O'Hagan 404e5414b5 Delete attachments on field clear 2022-08-12 11:29:57 +01:00
Andrew Kingston ac8e4ecaeb Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 17:05:58 +01:00
Andrew Kingston b123a056ab Notify client when plugins are added when saving screens 2022-08-11 17:04:47 +01:00
mike12345567 ba16af1daa Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:36:07 +01:00
mike12345567 8871738c31 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:34:01 +01:00
mike12345567 2fbf39947a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-11 16:28:46 +01:00
Andrew Kingston 301eecd2c3 Detect custom component usages in screens and save metadata in app doc 2022-08-11 15:31:21 +01:00
Andrew Kingston ac6057480e Enrich component definitions with custom components 2022-08-11 15:30:59 +01:00
Andrew Kingston 6e668f32c6 Export updateAppPackage function to be used elsewhere 2022-08-11 15:30:27 +01:00
Andrew Kingston c9ab2c4fcb Add fetch implementation for plugins and util for plugin params 2022-08-11 15:29:51 +01:00
Andrew Kingston 184936217c SSR scripts for custom components into app HTML 2022-08-11 15:28:59 +01:00
NEOLPAR e24e672559 the error thrown by pouchdb is propagated if it is other than not-found 2022-08-11 14:56:13 +01:00
mike12345567 86ab50fe33 Fixing viewname enumeration. 2022-08-11 14:40:17 +01:00
mike12345567 b920f8cb05 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
mike12345567 f48fcfd0c8 Fixes based on re-trying everything with the new type structures (some empty structures being filled out affected things). 2022-08-11 12:24:36 +01:00
mike12345567 5dce4fc16a Moving all datasource types around - this is needed to make the SDK/Document types more accesible for the development datasource plugins. 2022-08-11 11:48:58 +01:00
Andrew Kingston f2ee01d58f Add plugin upload to core API client, add response to plugin upload endpoint 2022-08-11 10:37:57 +01:00
mike12345567 b7116ccc18 Adding plugin upload API - takes a file form-data and then extracts, uploads to minio and stores data about the plugin to CouchDB. 2022-08-10 20:01:48 +01:00
Martin McKeaveney bb923c751c
Merge pull request #7210 from Budibase/fix/6013
onEmptyFilter selection for automations
2022-08-10 17:32:42 +01:00
Martin McKeaveney 25571d7751 pr comments 2022-08-10 16:26:10 +01:00
mike12345567 7dc9abf54b Validating datasources fully, initial work towards validating components and including the build in the CLI. 2022-08-10 16:19:08 +01:00
Martin McKeaveney 0095a9a566 onEmptyFilter selection for automations 2022-08-10 15:38:08 +01:00
Rory Powell 41672cedbe Merge branch 'develop' into merge-master 2022-08-10 15:29:46 +01:00
melohagan 44b723f7c8
Merge pull request #6895 from Budibase/bug/sev2/mongodb-fixes
Support ObjectId in MongoDB operators
2022-08-10 14:54:47 +01:00
Rory Powell 3d12db8b2b Merge branch 'master' into develop 2022-08-10 14:36:49 +01:00
melohagan b43e8a0130
Merge pull request #7179 from Budibase/bug/sev2/airtable-update-add-table-field
Airtable update: add table field
2022-08-10 14:21:42 +01:00
Mel O'Hagan 69ee22f563 Fix unit test 2022-08-10 13:56:15 +01:00
Mel O'Hagan ba4b20bb62 Use display field 2022-08-10 13:54:56 +01:00
NEOLPAR 3f1b2d6d63 fixed pouchdb unable to find the view throwing error 2022-08-10 13:11:10 +01:00
Andrew Kingston 0ec6ac3372 Add PoC of using a custom component inside client library 2022-08-10 12:04:58 +01:00
mike12345567 3a340379e9 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-10 11:55:53 +01:00
Rory Powell 3e0cab64f5 Add timezone to served events 2022-08-10 11:29:11 +01:00
Rory Powell 4525cf4c6e Trigger served events on ping endpoint 2022-08-10 11:01:54 +01:00
Mel O'Hagan 9ce34aa4c0 lint 2022-08-10 10:58:11 +01:00
Mel O'Hagan 334d9a956d Ignore escaped double quotes within strings 2022-08-10 10:57:42 +01:00
Mel O'Hagan f7c816bce9 lint 2022-08-09 17:28:21 +01:00
Mel O'Hagan 40c846ce8f Handle braces within quotes 2022-08-09 17:27:51 +01:00
Mel O'Hagan 15fe3650dc Fix unit test 2022-08-09 15:54:08 +01:00
Mel O'Hagan ea6f0938da Rename to recordID 2022-08-09 14:59:05 +01:00
Mel O'Hagan a5065411cc Add table field to Airtable update 2022-08-09 14:55:45 +01:00
Rory Powell cf37563c89 Fix served events 2022-08-09 13:31:12 +01:00
Michael Drury 1b574bc58f
Merge pull request #7049 from Budibase/fix/2585
Updating filters to allow multiple uses of the same property and exposing allOr option
2022-08-09 11:00:38 +01:00
Mel O'Hagan e23d29b7ef lint 2022-08-08 21:57:36 +01:00
Mel O'Hagan 88f06539a4 Nested braces parse fix added for MongoDB 2022-08-08 21:56:55 +01:00
mike12345567 2bb0dbdc06 Adding a test for the case where a user has added a number: at the start of the column - could have broken things. 2022-08-08 19:21:06 +01:00
mike12345567 be80839573 Adding multiple of same property test case for lucene building. 2022-08-08 19:19:33 +01:00
mike12345567 77947e8ba9 Adding unit tests for internal DB lucene syntax building. 2022-08-08 19:17:28 +01:00
Mel O'Hagan 98d8080826 Bug fix findOneAndUpdate 2022-08-08 17:53:17 +01:00
Mel O'Hagan d02e5ae87f Add unit tests for ObjectId 2022-08-08 17:01:56 +01:00
Andrew Kingston 3c5e933577 Fix crash when attempting to parse a nullish automation error 2022-08-08 16:44:00 +01:00
Mel O'Hagan c57fc1cfcd Merge branch 'develop' into bug/sev2/mongodb-fixes 2022-08-08 15:15:03 +01:00
mike12345567 a24f2157a5 Some various session fixes based on current data. 2022-08-05 21:35:26 +01:00
Michael Drury bf1b7543b0
Merge pull request #7114 from Budibase/fix/session-perf
Increasing time between updating session TTLs
2022-08-05 17:30:16 +01:00
mike12345567 a2f18e2e44 Updating sessions to TS, adding env var to set the session update length, adding reasons for invalidation, making sure errors are never considered authenticated. 2022-08-05 17:13:03 +01:00
Andrew Kingston 1f3b1b675f Insert table ID back into query for follow-up pagination query 2022-08-05 16:06:16 +01:00
mike12345567 2f665362e4 Updating pino logging to remove health check spam. 2022-08-04 20:23:45 +01:00
mike12345567 df074c6004 Fixing test cases. 2022-08-03 18:20:07 +01:00
mike12345567 5eeb2ea600 Updating the filter system to allow adding multiple filter properties of the same name at once, as well as enabling the use of the allOr property from within the UI - resolves an old issue #2585. 2022-08-02 18:34:58 +01:00
mike12345567 a99ed3bf52 Merge branch 'master' of github.com:Budibase/budibase into fix/6737 2022-08-01 19:00:17 +01:00
mike12345567 5aea08fdce Adding mechanism to allow displaying an error on data retrieval for tables. 2022-08-01 18:56:59 +01:00
mike12345567 41683c1f6d Fix for #6737 - making it so that if a column is deleted externally tables can be re-fetched and this will be fixed. 2022-08-01 17:40:35 +01:00
Michael Drury 62d3fb5cb2
Merge pull request #7018 from Budibase/fix/query-val
Quick query JOI validation fix
2022-08-01 12:35:58 +01:00
mike12345567 e267242d8e Quick fix for query validation to fix issue with createdAt and updatedAt properties. 2022-08-01 12:07:49 +01:00
Peter Clement dbaebf0df3
Merge pull request #6989 from Budibase/pc/fixes
User Management UI fixes
2022-08-01 09:39:55 +01:00
Peter Clement 323c23b4d8 pr comments and updating group check to be more safe 2022-07-30 11:38:08 +01:00
Michael Drury 88ba63d77e
Merge pull request #6898 from Budibase/feature/automation-error-stop
CRON automation stop after a number of errors
2022-07-29 16:20:51 +01:00
Martin McKeaveney 7bad805e5f Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-29 15:45:27 +01:00
mike12345567 1366bcd87c Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop 2022-07-29 14:31:18 +01:00
Mel O'Hagan 27fafe546c Merge branch 'develop' into feature/multiselect-filters 2022-07-29 14:23:12 +01:00
mike12345567 34432d5862 Fixing some issues with automations + lucene filtering (with string templating on the backend) as well as type coercion in the query rows action. 2022-07-28 13:39:11 +01:00