Commit Graph

3644 Commits

Author SHA1 Message Date
Rory Powell 998beddc30 Configurable CDN 2022-11-07 09:45:00 +00:00
mike12345567 b9caf0aef5 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-02 20:12:01 +00:00
melohagan a9575db549 Merge pull request #8472 from Budibase/bug/sev3/validation-error-attachments
Validation error attachments
2022-11-02 09:56:28 +00:00
Rory Powell 496ba57655 Fix attachments upload path 2022-11-01 21:17:39 +00:00
Mel O'Hagan 702e7fe184 Map attachment string to array if needed 2022-11-01 15:59:04 +00:00
mike12345567 19669575e4 Fixing issue with self host build - import of backend-core changes mean that loading the public API files can require setup of backend-core, making it so that the JWT Strategy doesn't need to be setup to load backend-core. 2022-11-01 12:59:10 +00:00
Mel O'Hagan a57dc85b60 Remove ! from error message 2022-11-01 12:37:42 +00:00
Mel O'Hagan f51599f2a8 Merge branch 'develop' into bug/sev3/automation-mysql-id-relationship-uri-decode 2022-11-01 12:36:27 +00:00
melohagan cc44430638 Merge pull request #7521 from Budibase/feature/s3-bucket-connector
S3 bucket connector improvements
2022-11-01 09:56:47 +00:00
Rory Powell bf35717449 Merge pull request #8386 from chaoticefx/elasticsearch-rejectUnauthorized
Custom ssl config for Elasticsearch datasource
2022-11-01 08:47:27 +00:00
Mel O'Hagan 64eff3bab5 Merge branch 'develop' into bug/sev3/automation-mysql-id-relationship-uri-decode 2022-11-01 08:10:03 +00:00
chaoticefx a45c16bc42 Cleaned up config declaration in constructor 2022-11-01 09:08:17 +08:00
Martin McKeaveney 87717ebdf5 merge with master 2022-10-31 13:44:23 +00:00
Martin McKeaveney b498941e1a Merge pull request #8382 from Budibase/feature/meta-tag
adding opengraph metatags for better shareable links
2022-10-31 10:36:50 +00:00
Martin McKeaveney 5fd4f29c61 Merge pull request #8422 from Budibase/bug/sev5/public-api-404
Public rows API: Return correct status codes
2022-10-31 10:36:32 +00:00
mike12345567 eab9806ee3 Fixing an issue with some browsers sending the gzip type as x-gzip rather than gzip, which caused the processing to fail. 2022-10-27 19:14:31 +01:00
Mel O'Hagan ea34856896 Check for string type before decode 2022-10-27 17:55:46 +01:00
Mel O'Hagan ee6a5bffd5 Patch: Throw 404 if row not found 2022-10-27 17:52:28 +01:00
Mel O'Hagan f8fab8d51b Merge branch 'develop' into bug/sev3/automation-mysql-id-relationship-uri-decode 2022-10-27 17:35:47 +01:00
mike12345567 a9b406ea66 Fixing issue with pro import. 2022-10-27 17:31:39 +01:00
Mel O'Hagan 73f54c8133 Decode id if needed 2022-10-27 16:28:26 +01:00
mike12345567 3d98acc28a Minor test rework after improving startup, a lot of mocks weren't being used correctly. 2022-10-27 15:15:08 +01:00
Mel O'Hagan a809700ec2 Throw 400 when validation fails 2022-10-27 15:10:22 +01:00
Mel O'Hagan efc73caf44 lint 2022-10-27 13:49:59 +01:00
Mel O'Hagan 5aa98fcbac Remove try catch from rows. Correct status codes. 2022-10-27 13:49:19 +01:00
chaoticefx 46a0197cd6 Ran npx prettier against elasticsearch.ts 2022-10-27 16:24:01 +08:00
chaoticefx ac9c52e70f Fixed code styling 2022-10-27 15:52:49 +08:00
mike12345567 51251b1fe2 Adding backup queue to bullboard if enabled. 2022-10-26 18:50:40 +01:00
Mel O'Hagan 86fef02567 lint 2022-10-26 16:44:25 +01:00
Mel O'Hagan d69abc4569 Merge branch 'develop' into feature/s3-bucket-connector 2022-10-26 16:37:11 +01:00
Martin McKeaveney 3e348908f5 merge 2022-10-26 11:47:25 +01:00
Martin McKeaveney 37d76cd39d fix typo 2022-10-26 11:45:52 +01:00
mike12345567 a24694a4ea 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 7166a48382 Unused import 2022-10-25 15:19:46 +01:00
Mel O'Hagan e11f4932d3 Handle multiple automation loop bindings 2022-10-25 15:19:07 +01:00
Rory Powell 56456f3f6d Startup fixes 2022-10-25 13:37:26 +01:00
Rory Powell 9face50a07 Fix build failure around PouchDB type 2022-10-25 09:02:55 +01:00
chaoticefx 1ac362f90c Implemented custom ssl config in elasticsearch.ts 2022-10-25 11:59:34 +08:00
Martin McKeaveney 17205052b7 update OG title 2022-10-24 18:04:14 +01:00
Martin McKeaveney 4c7d6cf2af adding opengraph metatags for better shareable links 2022-10-24 17:53:18 +01:00
Rory Powell 39c83d8fb1 Move backup processing into pro 2022-10-24 15:28:43 +01:00
Rory Powell d746c42503 Remove pro mock and invert if condition on backups enabled 2022-10-24 14:23:16 +01:00
mike12345567 a25cc7fbaf Merge branch 'feature/app-backups' of github.com:Budibase/budibase into feature/app-backups 2022-10-24 13:37:53 +01:00
mike12345567 bc2d499625 Adding a check to see if app backups feature is enabled. 2022-10-24 13:33:36 +01:00
Rory Powell 5614c5db61 Replace isTest check with mock for triggering app backup 2022-10-24 13:05:40 +01:00
mike12345567 fbed8923dc Moving statistics under backups sdk subfolder. 2022-10-24 10:14:35 +01:00
mike12345567 4daf9c2615 Addressing majority of PR comments. 2022-10-24 10:04:14 +01:00
mike12345567 e1dca87507 Fixing test case. 2022-10-21 18:52:39 +01:00
mike12345567 74484fc054 Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-21 18:41:25 +01:00
mike12345567 fe5d11232f Update with PR comments. 2022-10-21 18:25:35 +01:00
mike12345567 2a2f41a861 Fixing issue discovered by tests. 2022-10-21 16:02:13 +01:00
Martin McKeaveney 975134caea Merge pull request #8295 from weslien/patch-8294
Fix arangoDB connector
2022-10-20 22:01:07 +01:00
mike12345567 854cb23947 Getting the import system to carry out a backup of the app before the restore. 2022-10-20 19:07:10 +01:00
mike12345567 f5557fd805 Fetching a list of backup/restore events includes the full user object. 2022-10-20 15:05:50 +01:00
mike12345567 f11c0bbfd7 Some type updates and processor handling for backup document being created before backup/restore occurs. 2022-10-19 19:19:36 +01:00
mike12345567 10c81c1adc Fixing issue with using templates. 2022-10-19 16:57:14 +01:00
mike12345567 113a23ba3d Adding statistics output for backups. 2022-10-19 16:48:32 +01:00
mike12345567 59bf052b70 Fixing issue with metadata name not being provided for uploaded backup on publish. 2022-10-19 13:52:56 +01:00
mike12345567 f5845a8a6e Protection for real app IDs. 2022-10-19 11:47:07 +01:00
mike12345567 bdc4e29b2d 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 b52f413aa5 Removing attachment dir constant - no longer needed. 2022-10-18 17:04:18 +01:00
mike12345567 caa4954d8e Updating export/import to include the budibase client and manifest. 2022-10-18 16:42:25 +01:00
Gustav Weslien e8b9b196d0 Fix arangoDB connector :
https://github.com/Budibase/budibase/issues/8294#issue-1412041907
2022-10-17 20:56:30 +02:00
mike12345567 f795cb0e33 Reformatting types to allow queue to be used for import and export. 2022-10-17 19:42:36 +01:00
mike12345567 11115aab56 Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-17 14:49:31 +01:00
mike12345567 1373630b33 Minor fixes after testing manual backup system. 2022-10-14 20:10:44 +01:00
mike12345567 0bd2a18e46 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 b702c7482a Fixes for cronjob stop - correctly handle this without stalled job handle. 2022-10-14 13:26:42 +01:00
mike12345567 d620e54fdb Handling listeners as part of queue creation, rather than external part. 2022-10-13 17:55:05 +01:00
mike12345567 b6ca14aa85 Renaming some queue to automationQueue, getting build working. 2022-10-13 17:39:26 +01:00
mike12345567 35525bfedd Moving queue implementation into backend-core - so that pro can access. 2022-10-13 17:27:04 +01:00
deanhannigan aa1293f15a Merge pull request #8153 from Budibase/feature/qr-barcode-reader
Feature/qr barcode reader
2022-10-13 16:43:54 +01:00
melohagan 9c8aa0dd84 Merge pull request #8117 from Budibase/lab/mongodb
Add aggregate method to MongoDB
2022-10-13 16:32:30 +01:00
Dean 7125e3f6e3 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-13 16:16:28 +01:00
mike12345567 8fdba78bde Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-13 15:59:31 +01:00
mike12345567 907b838db3 Fixing multi-app import from cloud. 2022-10-13 15:46:53 +01:00
Mel O'Hagan 10367dfb43 Rename flow to pipeline 2022-10-13 13:05:45 +01:00
Rory Powell 807182b9e2 Merge pull request #8227
Deprecate legacyHttpParser, fix rest tests
2022-10-12 19:56:02 +01:00
mike12345567 d1c9a56e9a 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 10e6c61081 lint 2022-10-12 18:55:22 +01:00
Mel O'Hagan 436cbed74b Add support for ObjectId in aggregations 2022-10-12 18:54:53 +01:00
mike12345567 2eae3f2a6c Fixes for find functionality after testing. 2022-10-12 17:57:31 +01:00
Mel O'Hagan 29f995256e Merge branch 'develop' into lab/mongodb 2022-10-12 17:53:09 +01:00
mike12345567 f5dd87f8f9 Adding first pass of attachments updating. 2022-10-12 17:34:17 +01:00
mike12345567 8d7f40e443 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 9f60a6c485 Allow template to be used when changed body blank 2022-10-12 16:20:11 +01:00
Mel O'Hagan 53475f1312 Add all the stage templates 2022-10-12 16:03:51 +01:00
Mel O'Hagan 33c36c1112 Include stage templates 2022-10-12 15:31:53 +01:00
Rory Powell 281eb151e2 Merge pull request #8164 from Budibase/feature/quota-emails
Approaching and Exceeded Usage Limit Notifications
2022-10-12 12:31:17 +01:00
mike12345567 9d34ccfaca Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-12 11:59:00 +01:00
Mel O'Hagan 4c781eb667 Merge branch 'develop' into lab/mongodb 2022-10-12 11:19:50 +01:00
Rory Powell e29330093b Fix tests 2022-10-12 11:18:57 +01:00
Rory Powell c7dac5f417 Deprecate legacyHttpParser, fix rest tests 2022-10-12 11:05:16 +01:00
Mel O'Hagan c67c784e15 Merge branch 'develop' into lab/mongodb 2022-10-12 10:29:27 +01:00
Rory Powell 6e083c85a4 Fix linting 2022-10-12 10:25:02 +01:00
Rory Powell 7c9767e186 Merge pull request #7716 from adamkingsbury/rejectUnauthorized
Reject unauthorized
2022-10-12 10:22:01 +01:00
Rory Powell 2f0f36e635 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
Rory Powell d2882a3779 Merge branch 'develop' into rejectUnauthorized 2022-10-12 10:06:50 +01:00
Dean f5edeb5ddc Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-12 09:12:09 +01:00
Rory Powell 80915c6105 Merge pull request #8212 from Budibase/fix/user-metadata-update
Fix user metadata update
2022-10-12 08:20:36 +01:00
mike12345567 19133f08e6 Adding import functionality - still need to update the attachments URL. 2022-10-11 20:25:22 +01:00
mike12345567 f237befbce Some fixes + cleanup of tmp directory. 2022-10-11 19:28:13 +01:00
mike12345567 7c71f76b70 Export to tarball through tmp. 2022-10-11 18:21:58 +01:00
Rory Powell ef4b1dd32b Fix user metadata update 2022-10-11 12:42:35 +01:00
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