Commit Graph

3315 Commits

Author SHA1 Message Date
Andrew Kingston 0e6bf7a79c Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-09-01 12:54:21 +01:00
Andrew Kingston 3336dcdaa1 Update watch params to use polling and improve speed 2022-09-01 12:51:28 +01:00
mike12345567 f49d61bc5c Updating test cases to TS to get them working properly with the full TS implementations. 2022-08-31 19:21:45 +01:00
NEOLPAR 6daa49927e plugins npm and url working 2022-08-31 17:53:00 +01:00
mike12345567 e149b3d807 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 16:24:10 +01:00
NEOLPAR 0e2a86460c uploading npm and url plugins 2022-08-31 16:09:47 +01:00
mike12345567 320cbfada3 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 15:53:32 +01:00
Andrew Kingston 512d225389 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 34723260a8 Add test case for migrating navigation settings from old apps 2022-08-31 14:27:22 +01:00
Rory Powell 7c2c4a0f94 Add conditional around joiValidator schema.append 2022-08-31 12:24:12 +01:00
Rory Powell 5f022e04a3 Merge branch 'develop' into user-fixes 2022-08-31 11:39:41 +01:00
Rory Powell 32c26709fc Merge branch 'master' into develop 2022-08-31 11:35:07 +01:00
Rory Powell 435465f93a Update shutdown logging 2022-08-31 11:05:49 +01:00
Rory Powell dd86875ea2 Update shutdown logging 2022-08-31 10:47:41 +01:00
NEOLPAR e5446d2f8a plugin create npm 2022-08-30 21:37:08 +01:00
Andrew Kingston f2ce59e36c Update chokidar params to use polling to avoid problems with file watching 2022-08-30 19:23:34 +01:00
Rory Powell 368b48719c Conditionally enable elastic apm 2022-08-30 10:59:27 +01:00
Peter Clement a8eb172953 lint 2022-08-30 10:50:25 +01:00
Peter Clement b9b8d59005 add plugins ui 2022-08-30 10:49:19 +01:00
Martin McKeaveney 02c93071ee merge 2022-08-30 10:33:37 +01:00
Martin McKeaveney 2470d711b0 fixing s3 outage errors and scoping AWS configuration to service level 2022-08-25 17:01:12 +01:00
Martin McKeaveney 4aa99336d7 adding path variable 2022-08-25 11:07:35 +01:00
Martin McKeaveney d5c2f32df3 additional logging around component definitions 2022-08-25 10:57:30 +01:00
Andrew Kingston 62f1a07887 Remove commented out migrations 2022-08-25 08:37:52 +01:00
Andrew Kingston c0f26819dc Update types 2022-08-25 08:10:11 +01:00
Andrew Kingston 452eba8635 Automatically migrate old apps server-side when importing or using templates 2022-08-24 21:35:24 +01:00
Mel O'Hagan 1e9234da8e lint 2022-08-23 15:33:30 +01:00
Mel O'Hagan bbc40b2d2c Generic handle objectid 2022-08-23 15:33:04 +01:00
Rory Powell 6cdcfe18c8 Disable automation chaining in cloud 2022-08-23 12:35:53 +01:00
Rory Powell 7275ec5f99 Disable recursive row update on cloud automations 2022-08-23 11:41:58 +01:00
melohagan f56e72dffd 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 f0e158cc81 Improve websocket types 2022-08-23 08:48:16 +01:00
Andrew Kingston c1822ecac6 Clean up websocket initialisation 2022-08-22 18:24:34 +01:00
Andrew Kingston 36b067a600 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 975afc29d2 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 11:27:18 +01:00
Andrew Kingston 23a91b89a7 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 11:27:04 +01:00
Andrew Kingston 1a29554997 Remove log 2022-08-20 13:51:32 +01:00
Andrew Kingston d19a0f171e Serve builder preview via server to fix dependency on third party cookies 2022-08-20 13:47:57 +01:00
Rory Powell 917bb96ae6 add on() to mock queue 2022-08-20 11:42:51 +01:00
Rory Powell 28cdb16e08 enable stalled job disabling 2022-08-20 11:02:22 +01:00
Rory Powell f273a6f779 Add logging to all event listeners for automations + stalled handling stub 2022-08-19 23:14:19 +01:00
Rory Powell ad79aba93b 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 97cafac46c Add support for NODE_DEBUG to app-service in kubernetes 2022-08-19 15:21:53 +01:00
Mel O'Hagan ef7b7079b0 tableId null safety 2022-08-19 14:57:15 +01:00
Rory Powell 8fc8308530 Merge branch 'develop' into feature/day-pass-pricing 2022-08-19 14:08:03 +01:00
Andrew Kingston abd732fa52 Add tests for exporting data 2022-08-19 13:54:08 +01:00
Andrew Kingston 2c87d6e340 Initial work on websockets 2022-08-19 11:09:20 +01:00
Rory Powell af7c64255b usage page updates 2022-08-19 09:28:26 +01:00
mike12345567 f329f9868c Adding management of the new README.md file that is retrieved with the plugin skeletons. 2022-08-18 18:23:07 +01:00
mike12345567 2bb32253d8 Adding in hash handling for datasource plugins. 2022-08-18 15:21:55 +01:00
mike12345567 38e97c7cdb Adding check to make sure build/watch occurs inside a plugin directory. 2022-08-18 13:29:49 +01:00
Andrew Kingston 2d5d22c914 Add sanity checks to plugin watcher 2022-08-18 12:22:32 +01:00
Andrew Kingston c561156670 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-18 11:23:41 +01:00
Andrew Kingston 249b960ff6 Treat any tarball as plugins when watching plugins directory 2022-08-18 11:23:24 +01:00
mike12345567 7dfe049ae6 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 fb51090752 Allow list of named tables to be fetched 2022-08-17 18:16:11 +01:00
melohagan 5b9b071f62 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 b6a5ccbf10 Adding some controls around datasource config creation and updating minio fetch. 2022-08-17 11:01:25 +01:00
mike12345567 2aaff7576b Adding full flow for creating custom datasource. 2022-08-17 10:05:13 +01:00
Andrew Kingston e07327bd4e Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-16 15:18:58 +00:00
Andrew Kingston 50c0e9ca69 Default plugins dir to /plugins 2022-08-16 15:16:46 +00:00
Michael Drury a19790e93e Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-16 15:44:05 +01:00
Michael Drury 6ddf6c58d2 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-16 15:42:47 +01:00
Andrew Kingston 3518642b15 Add missing declaration of objectstore module 2022-08-16 14:42:32 +00:00
Michael Drury cfbc9b043c Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-16 15:39:40 +01:00
Andrew Kingston 468e840a0c Only watch plugins in single tenant envs 2022-08-16 14:02:51 +00:00
Andrew Kingston 12ac9caeb9 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-15 22:24:41 +01:00
Andrew Kingston 6093da79d6 Add hot reloading for component plugins via watched plugin directory 2022-08-15 22:23:45 +01:00
mike12345567 51e06a9c7a Adding custom datasources to UI. 2022-08-15 18:38:09 +01:00
mike12345567 4683c57e02 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-15 16:17:54 +01:00
Mel O'Hagan 1200f4d2a0 Allow delete attachments from builder data section 2022-08-15 15:46:55 +01:00
Mel O'Hagan 9aacc7cccb lint 2022-08-15 14:11:42 +01:00
Mel O'Hagan f810d1f134 Added unit tests for internalSearch 2022-08-15 14:11:15 +01:00
mike12345567 ae9ae26bd4 Merge branch 'develop' of github.com:Budibase/budibase into feature/multiselect-filters 2022-08-15 12:24:41 +01:00
Andrew Kingston 3a7c92e202 Support filtering data exports to only certain columns with internal tables 2022-08-13 15:38:21 +01:00
mike12345567 e5881e1f24 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-12 17:04:05 +01:00
mike12345567 970e7ee3e7 Making integrations more like what custom integrations look like (to simplify integration). 2022-08-12 17:03:06 +01:00
Andrew Kingston 6c7a7648d9 Fix rev when uploading a new plugin 2022-08-12 16:19:29 +01:00
Andrew Kingston 8eb6400252 Overwrite existing plugins of the same name and version 2022-08-12 14:41:37 +01:00
NEOLPAR e5e8f5ed7f Merge branch 'master' into fix/datasource-not-exporting 2022-08-12 14:37:44 +01:00
Andrew Kingston f1d5691fb7 Update name of types constant 2022-08-12 14:01:56 +01:00
NEOLPAR 53a01941eb code styles 2022-08-12 13:50:35 +01:00
Mel O'Hagan 5171fc09fb Delete attachments on field clear 2022-08-12 11:29:57 +01:00
Andrew Kingston f0d17b2039 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 17:05:58 +01:00
Andrew Kingston 846b58364f Notify client when plugins are added when saving screens 2022-08-11 17:04:47 +01:00
mike12345567 c9c468a424 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:36:07 +01:00
mike12345567 76d427001a Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:34:01 +01:00
mike12345567 1c7f860184 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-11 16:28:46 +01:00
Andrew Kingston 106cfe6687 Detect custom component usages in screens and save metadata in app doc 2022-08-11 15:31:21 +01:00
Andrew Kingston 58c9965bd9 Enrich component definitions with custom components 2022-08-11 15:30:59 +01:00
Andrew Kingston f6e67e3519 Export updateAppPackage function to be used elsewhere 2022-08-11 15:30:27 +01:00
Andrew Kingston 14ffb78176 Add fetch implementation for plugins and util for plugin params 2022-08-11 15:29:51 +01:00
Andrew Kingston f8324e4213 SSR scripts for custom components into app HTML 2022-08-11 15:28:59 +01:00
NEOLPAR 9408137826 the error thrown by pouchdb is propagated if it is other than not-found 2022-08-11 14:56:13 +01:00
mike12345567 fc6111272e Fixing viewname enumeration. 2022-08-11 14:40:17 +01:00
mike12345567 b803a3fd93 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
mike12345567 0efa0d375d 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 1134b01f39 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 ed751212eb Add plugin upload to core API client, add response to plugin upload endpoint 2022-08-11 10:37:57 +01:00
mike12345567 a683665a99 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 cfddedd9ab Merge pull request #7210 from Budibase/fix/6013
onEmptyFilter selection for automations
2022-08-10 17:32:42 +01:00
Martin McKeaveney b3ff94ea84 pr comments 2022-08-10 16:26:10 +01:00
mike12345567 7ce8a9e254 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 b417521725 onEmptyFilter selection for automations 2022-08-10 15:38:08 +01:00
Rory Powell c656b79e9b Merge branch 'develop' into merge-master 2022-08-10 15:29:46 +01:00
melohagan 964e1a2d5e 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 664cb2b0b0 Merge branch 'master' into develop 2022-08-10 14:36:49 +01:00
melohagan 180a009220 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 ec28bb8c63 Fix unit test 2022-08-10 13:56:15 +01:00
Mel O'Hagan 785cdea396 Use display field 2022-08-10 13:54:56 +01:00
NEOLPAR 720327b58f fixed pouchdb unable to find the view throwing error 2022-08-10 13:11:10 +01:00
Andrew Kingston 3745cf6b46 Add PoC of using a custom component inside client library 2022-08-10 12:04:58 +01:00
mike12345567 1ba804f507 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-10 11:55:53 +01:00
Rory Powell 54df92a8c3 Add timezone to served events 2022-08-10 11:29:11 +01:00
Rory Powell 500e697974 Trigger served events on ping endpoint 2022-08-10 11:01:54 +01:00
Mel O'Hagan 1109f1162c lint 2022-08-10 10:58:11 +01:00
Mel O'Hagan dc7566308e Ignore escaped double quotes within strings 2022-08-10 10:57:42 +01:00
Mel O'Hagan 9a10590414 lint 2022-08-09 17:28:21 +01:00
Mel O'Hagan 415f57e0ef Handle braces within quotes 2022-08-09 17:27:51 +01:00
Mel O'Hagan 55f53de412 Fix unit test 2022-08-09 15:54:08 +01:00
Mel O'Hagan 860880baf2 Rename to recordID 2022-08-09 14:59:05 +01:00
Mel O'Hagan 3323388b03 Add table field to Airtable update 2022-08-09 14:55:45 +01:00
Rory Powell f7210e96e4 Fix served events 2022-08-09 13:31:12 +01:00
Michael Drury f8e978f321 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 051779b013 lint 2022-08-08 21:57:36 +01:00
Mel O'Hagan 09a3052aa2 Nested braces parse fix added for MongoDB 2022-08-08 21:56:55 +01:00
mike12345567 fda15d3bd8 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 76f0c4a289 Adding multiple of same property test case for lucene building. 2022-08-08 19:19:33 +01:00
mike12345567 31e83b3f4c Adding unit tests for internal DB lucene syntax building. 2022-08-08 19:17:28 +01:00
Mel O'Hagan fe0163ac29 Bug fix findOneAndUpdate 2022-08-08 17:53:17 +01:00
Mel O'Hagan c289d72816 Add unit tests for ObjectId 2022-08-08 17:01:56 +01:00
Andrew Kingston 7c96eb3bda Fix crash when attempting to parse a nullish automation error 2022-08-08 16:44:00 +01:00
Mel O'Hagan 4d217bfc04 Merge branch 'develop' into bug/sev2/mongodb-fixes 2022-08-08 15:15:03 +01:00
mike12345567 2dea5c5614 Some various session fixes based on current data. 2022-08-05 21:35:26 +01:00
Michael Drury 0ec2fa8f38 Merge pull request #7114 from Budibase/fix/session-perf
Increasing time between updating session TTLs
2022-08-05 17:30:16 +01:00
mike12345567 52d16d1099 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 9fa463313c Insert table ID back into query for follow-up pagination query 2022-08-05 16:06:16 +01:00
mike12345567 cfe3db835b Updating pino logging to remove health check spam. 2022-08-04 20:23:45 +01:00
mike12345567 d14051bd62 Fixing test cases. 2022-08-03 18:20:07 +01:00
mike12345567 129c966226 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 4f01a7fb80 Merge branch 'master' of github.com:Budibase/budibase into fix/6737 2022-08-01 19:00:17 +01:00
mike12345567 de3ceeb119 Adding mechanism to allow displaying an error on data retrieval for tables. 2022-08-01 18:56:59 +01:00
mike12345567 87b583e51e 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 709e16a582 Merge pull request #7018 from Budibase/fix/query-val
Quick query JOI validation fix
2022-08-01 12:35:58 +01:00
mike12345567 a3baad6e04 Quick fix for query validation to fix issue with createdAt and updatedAt properties. 2022-08-01 12:07:49 +01:00
Peter Clement c3a4941119 Merge pull request #6989 from Budibase/pc/fixes
User Management UI fixes
2022-08-01 09:39:55 +01:00
Peter Clement 79f7fd380d pr comments and updating group check to be more safe 2022-07-30 11:38:08 +01:00
Michael Drury be79114081 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 c723deded3 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-29 15:45:27 +01:00
mike12345567 07f3897b55 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop 2022-07-29 14:31:18 +01:00