Commit Graph

5743 Commits

Author SHA1 Message Date
Mel O'Hagan e8cd6facfd lint 2022-10-27 13:49:59 +01:00
Mel O'Hagan 4ec5ce1bbd Remove try catch from rows. Correct status codes. 2022-10-27 13:49:19 +01:00
chaoticefx 20a231b842
Ran npx prettier against elasticsearch.ts 2022-10-27 16:24:01 +08:00
chaoticefx b41cffab7b
Fixed code styling 2022-10-27 15:52:49 +08:00
mike12345567 80d4220cb5 Adding backup queue to bullboard if enabled. 2022-10-26 18:50:40 +01:00
Mel O'Hagan f240f5ffbf lint 2022-10-26 16:44:25 +01:00
Mel O'Hagan 4661c083e2 Merge branch 'develop' into feature/s3-bucket-connector 2022-10-26 16:37:11 +01:00
Martin McKeaveney 1a27cc9c47 merge 2022-10-26 11:47:25 +01:00
Martin McKeaveney a6841cd1de fix typo 2022-10-26 11:45:52 +01:00
mike12345567 d32e4586c2 Refactoring a lot of content around webhooks to Typescript, as well as fixing webhooks and automation app IDs on import of new app. 2022-10-25 18:19:18 +01:00
Mel O'Hagan aceb7f7107 Unused import 2022-10-25 15:19:46 +01:00
Mel O'Hagan b21919f9b0 Handle multiple automation loop bindings 2022-10-25 15:19:07 +01:00
Rory Powell 5c80b2ca06 Startup fixes 2022-10-25 13:37:26 +01:00
Rory Powell 0b7ca49418 Fix build failure around PouchDB type 2022-10-25 09:02:55 +01:00
chaoticefx 0744e00814
Implemented custom ssl config in elasticsearch.ts 2022-10-25 11:59:34 +08:00
Martin McKeaveney 82934e11f1 update OG title 2022-10-24 18:04:14 +01:00
Martin McKeaveney 28a0392b11 adding opengraph metatags for better shareable links 2022-10-24 17:53:18 +01:00
Rory Powell 27cde2c3cf Move backup processing into pro 2022-10-24 15:28:43 +01:00
Rory Powell 20dffc0a07 Remove pro mock and invert if condition on backups enabled 2022-10-24 14:23:16 +01:00
mike12345567 4d0f5f22ac Merge branch 'feature/app-backups' of github.com:Budibase/budibase into feature/app-backups 2022-10-24 13:37:53 +01:00
mike12345567 12d0187211 Adding a check to see if app backups feature is enabled. 2022-10-24 13:33:36 +01:00
Rory Powell 0274b6755a Replace isTest check with mock for triggering app backup 2022-10-24 13:05:40 +01:00
mike12345567 147799ba0a Moving statistics under backups sdk subfolder. 2022-10-24 10:14:35 +01:00
mike12345567 6edffb0d5e Addressing majority of PR comments. 2022-10-24 10:04:14 +01:00
mike12345567 49e103e8ef Fixing test case. 2022-10-21 18:52:39 +01:00
mike12345567 a191989fdf Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-21 18:41:25 +01:00
mike12345567 ba2c387d9c Update with PR comments. 2022-10-21 18:25:35 +01:00
mike12345567 1e190886fb Fixing issue discovered by tests. 2022-10-21 16:02:13 +01:00
Martin McKeaveney f9f971cb1a
Merge pull request #8295 from weslien/patch-8294
Fix arangoDB connector
2022-10-20 22:01:07 +01:00
mike12345567 4716eaaab5 Getting the import system to carry out a backup of the app before the restore. 2022-10-20 19:07:10 +01:00
mike12345567 0478d9b154 Fetching a list of backup/restore events includes the full user object. 2022-10-20 15:05:50 +01:00
mike12345567 6112d097af Some type updates and processor handling for backup document being created before backup/restore occurs. 2022-10-19 19:19:36 +01:00
mike12345567 e5ebd97ecc Fixing issue with using templates. 2022-10-19 16:57:14 +01:00
mike12345567 0ca72f99d1 Adding statistics output for backups. 2022-10-19 16:48:32 +01:00
mike12345567 2eebd077e7 Fixing issue with metadata name not being provided for uploaded backup on publish. 2022-10-19 13:52:56 +01:00
mike12345567 a1065cc143 Protection for real app IDs. 2022-10-19 11:47:07 +01:00
mike12345567 0cf5bf26a0 Finishing import processor - download backup, delete dev DB and then import over the top of this. Also includes a rollback feature if the backup fails to restore for whatever reason. 2022-10-18 19:43:19 +01:00
mike12345567 ed35a8281f Removing attachment dir constant - no longer needed. 2022-10-18 17:04:18 +01:00
mike12345567 bd1300b82a Updating export/import to include the budibase client and manifest. 2022-10-18 16:42:25 +01:00
Gustav Weslien 8c3617d89c
Fix arangoDB connector :
https://github.com/Budibase/budibase/issues/8294#issue-1412041907
2022-10-17 20:56:30 +02:00
mike12345567 07d4d9ee4d Reformatting types to allow queue to be used for import and export. 2022-10-17 19:42:36 +01:00
mike12345567 5e802ceb10 Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-17 14:49:31 +01:00
mike12345567 758c46ce83 Minor fixes after testing manual backup system. 2022-10-14 20:10:44 +01:00
mike12345567 a20ad3233e Main types and work for the CRUD operations of app backup backend in pro + the listeners to handle exporting apps from the server. 2022-10-14 19:24:03 +01:00
mike12345567 3507704680 Fixes for cronjob stop - correctly handle this without stalled job handle. 2022-10-14 13:26:42 +01:00
mike12345567 94188771df Handling listeners as part of queue creation, rather than external part. 2022-10-13 17:55:05 +01:00
mike12345567 9c57300030 Renaming some queue to automationQueue, getting build working. 2022-10-13 17:39:26 +01:00
mike12345567 50ca437f03 Moving queue implementation into backend-core - so that pro can access. 2022-10-13 17:27:04 +01:00
deanhannigan c042b363f9
Merge pull request #8153 from Budibase/feature/qr-barcode-reader
Feature/qr barcode reader
2022-10-13 16:43:54 +01:00
melohagan c3f556dc8a
Merge pull request #8117 from Budibase/lab/mongodb
Add aggregate method to MongoDB
2022-10-13 16:32:30 +01:00
Dean c162ad458c Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-13 16:16:28 +01:00
mike12345567 9242f695ab Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-13 15:59:31 +01:00
mike12345567 488e0c44c0 Fixing multi-app import from cloud. 2022-10-13 15:46:53 +01:00
Mel O'Hagan 34a1d5e36b Rename flow to pipeline 2022-10-13 13:05:45 +01:00
Rory Powell 163c8127fb
Merge pull request #8227
Deprecate legacyHttpParser, fix rest tests
2022-10-12 19:56:02 +01:00
mike12345567 ae0bfebae7 Full import implementation - needs further testing, untars the file with all apps, then adds each of them individually. 2022-10-12 19:15:28 +01:00
Mel O'Hagan cd5930450e lint 2022-10-12 18:55:22 +01:00
Mel O'Hagan 98871064a9 Add support for ObjectId in aggregations 2022-10-12 18:54:53 +01:00
mike12345567 92484fa240 Fixes for find functionality after testing. 2022-10-12 17:57:31 +01:00
Mel O'Hagan c0cc261b3f Merge branch 'develop' into lab/mongodb 2022-10-12 17:53:09 +01:00
mike12345567 a2d12ef0a6 Adding first pass of attachments updating. 2022-10-12 17:34:17 +01:00
mike12345567 33e31fe2e4 Refactoring more to Typescript, adding the ability to use the _find API of CouchDB. 2022-10-12 17:02:23 +01:00
Mel O'Hagan 910991eb8c Allow template to be used when changed body blank 2022-10-12 16:20:11 +01:00
Mel O'Hagan 8fd592d6d0 Add all the stage templates 2022-10-12 16:03:51 +01:00
Mel O'Hagan 9ee4788147 Include stage templates 2022-10-12 15:31:53 +01:00
Rory Powell a414f92265
Merge pull request #8164 from Budibase/feature/quota-emails
Approaching and Exceeded Usage Limit Notifications
2022-10-12 12:31:17 +01:00
mike12345567 7439ade518 Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-12 11:59:00 +01:00
Mel O'Hagan bf7b0ab7dd Merge branch 'develop' into lab/mongodb 2022-10-12 11:19:50 +01:00
Rory Powell 3ba5f4ed21 Fix tests 2022-10-12 11:18:57 +01:00
Rory Powell cabfe00ef5 Deprecate legacyHttpParser, fix rest tests 2022-10-12 11:05:16 +01:00
Mel O'Hagan 3cb43c0650 Merge branch 'develop' into lab/mongodb 2022-10-12 10:29:27 +01:00
Rory Powell 40d204fbb2 Fix linting 2022-10-12 10:25:02 +01:00
Rory Powell 98b6629a25
Merge pull request #7716 from adamkingsbury/rejectUnauthorized
Reject unauthorized
2022-10-12 10:22:01 +01:00
Rory Powell ef433633b2 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
Rory Powell 51566deeae
Merge branch 'develop' into rejectUnauthorized 2022-10-12 10:06:50 +01:00
Dean a39f6afde1 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-12 09:12:09 +01:00
Rory Powell 1900146bc6
Merge pull request #8212 from Budibase/fix/user-metadata-update
Fix user metadata update
2022-10-12 08:20:36 +01:00
mike12345567 5a05e0bf28 Adding import functionality - still need to update the attachments URL. 2022-10-11 20:25:22 +01:00
mike12345567 2f5170f70c Some fixes + cleanup of tmp directory. 2022-10-11 19:28:13 +01:00
mike12345567 a41b362040 Export to tarball through tmp. 2022-10-11 18:21:58 +01:00
Rory Powell 507401b75c Fix user metadata update 2022-10-11 12:42:35 +01:00
mike12345567 bb65cf8ef9 Some updates towards supporting attachments in app exports. 2022-10-10 20:08:59 +01:00
Dean 91e63ca2c9 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Martin McKeaveney 2855fbea66 turn on gsheets 2022-10-10 09:02:17 +01:00
Rory Powell e92a31bd45 Add locking framework 2022-10-10 08:21:17 +01:00
Martin McKeaveney 83f3a02d23 ensure correct revert endpoint being hit, update call to revert 2022-10-09 19:31:35 +01:00
mike12345567 3860ec4e5e 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 a05369977e Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-07 20:48:28 +01:00
mike12345567 39c9acb740 Fixing test mocks. 2022-10-07 18:05:26 +01:00
mike12345567 dc589f7fb5 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 270836b30e only prevent rollback in cypress env 2022-10-07 18:04:18 +01:00
Michael Drury 7e38e86087
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 5b299c878f Fixing test mocks. 2022-10-07 16:24:04 +01:00
mike12345567 2c40394bc6 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 e41078f265 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
Dean ad13bbb25c 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 06599e0f17 Building out initial SDK work - converting some existing exporting work to typescript. 2022-10-06 19:10:45 +01:00
mike12345567 fd74cb3960 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-10-06 16:54:25 +01:00
Rory Powell af24f72166 Process quota emails in account-portal 2022-10-06 16:03:47 +01:00
Dean 4b5fa6a093 Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Peter Clement c7b6a1a0d3
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 d5eeb0291f
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 a289d06301 one more log 2022-10-05 10:01:11 +01:00
Andrew Kingston 753e80b33b
Merge pull request #8124 from Budibase/plugin-url-updates
Plugin url updates
2022-10-05 09:57:22 +01:00
Peter Clement 0f0040bc8a remove logs 2022-10-05 09:53:47 +01:00
Dean 5836c2b3c4 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Peter Clement 523e770db4 fix looping issues in automations 2022-10-05 09:20:59 +01:00
Andrew Kingston 0674efbca8 Update plugin URL utility export to use CJS syntax 2022-10-05 08:57:26 +01:00
Andrew Kingston 43879527f4 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 e3980d072a 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 05b7edb55d Lint 2022-10-04 16:43:20 +01:00
Mel O'Hagan 4e7e067eef Add unit test and fix 2022-10-04 16:28:29 +01:00
Andrew Kingston ae38d75be0 Update plugin JS URL handling 2022-10-04 16:28:21 +01:00
Andrew Kingston 4e6f3d44b7 Enrich plugin JS URLs when SSR'ing apps 2022-10-04 16:28:01 +01:00
Andrew Kingston 62b29c1339 Enrich plugin JS URLs when fetching appPackage 2022-10-04 16:27:42 +01:00
Andrew Kingston 3309b84d71 Add utility for generating plugin JS URLs 2022-10-04 16:27:04 +01:00
Mel O'Hagan 3451a1817d Fix table block search 2022-10-04 13:55:43 +01:00
Michael Drury d2c5338446
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 d1280ba550
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 12f0ebba7a Rename actionTypes to actionType 2022-10-04 11:29:13 +01:00
Mel O'Hagan 9a5b3b27aa lint 2022-10-04 11:03:54 +01:00
Mel O'Hagan dbf58fcfe9 Added support for JSON array stages 2022-10-04 11:03:24 +01:00
mike12345567 3a712d368f 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 eaf6a5e40c Add aggregate method. Push results. 2022-10-03 20:08:47 +01:00
Mel O'Hagan 6ef497992a Fix types 2022-10-03 19:10:01 +01:00
Mel O'Hagan 268dd0ace5 lint 2022-10-03 17:18:16 +01:00
Mel O'Hagan 4f238d9c10 Merge branch 'develop' into lab/mongodb 2022-10-03 17:10:21 +01:00
Mel O'Hagan bd62ac1000 Wrap number in quotes if string search 2022-10-03 11:30:57 +01:00
Michael Drury 22baa8574e
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 fb0a1468f7 Adding a validation check for undefined 2022-10-03 17:34:06 +09:00
Shumpei Kishi 12fe55a7f0 Fixing the validation logic to accept boolean false value. 2022-10-03 15:55:11 +09:00
Michael Drury 69abe9c5db Merge branch 'master' of github.com:Budibase/budibase into develop 2022-10-01 15:44:11 +01:00
mike12345567 0182996260 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 48514da625 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-09-30 14:55:00 +01:00
mike12345567 6296849012 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 791f6a36a5 Merge branch 'master' of github.com:Budibase/budibase into feature/plugin-icons 2022-09-30 11:17:43 +01:00
mike12345567 b059d95e02 Fix for #8023 - moving Oracle integration to ESM import rather than CJS. 2022-09-30 10:52:00 +01:00
mike12345567 1f5de9b71d Adding ability for datasource plugins to have a custom icon svg. 2022-09-29 19:30:53 +01:00
Rory Powell ba706319f4 Test fix 2022-09-28 14:03:05 +01:00
Rory Powell 61aafa87cb Create generic quota sync migration 2022-09-28 13:13:37 +01:00
Rory Powell 79d53042d8 Merge branch 'develop' into feature/app-quotas 2022-09-28 12:33:39 +01:00
Rory Powell 59527b29f0 minor renaming 2022-09-28 11:57:58 +01:00
Rory Powell 9af16738e5 Merge develop 2022-09-28 08:56:45 +01:00
Martin McKeaveney 71e9f9c191 make sure rows call goes to real couch 2022-09-26 18:46:09 +01:00
Martin McKeaveney d0ad7bbb67 merge with master 2022-09-26 17:57:23 +01:00
Mel O'Hagan 59ba882a58 Merge branch 'master' into bug/sev3/display-column-relationship-bug 2022-09-26 16:14:14 +01:00
Martin McKeaveney bbed2bd0af
Merge pull request #7914 from Budibase/bug/sev4/mysql-multiple-statements
Mysql multiple statements
2022-09-26 15:33:39 +01:00
Andrew Kingston aa21f44a3e Update delete endpoints to be called destroy 2022-09-26 14:18:31 +01:00
Andrew Kingston 0ebfad7606 Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-26 14:15:25 +01:00
Andrew Kingston f056807f79 Always try to migrate navigation settings when importing apps 2022-09-26 13:59:00 +01:00