Commit Graph

3693 Commits

Author SHA1 Message Date
Andrew Kingston c01b9af1f0 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-22 16:52:09 +00:00
mike12345567 8a4da7d4ce Typescript conversion of the table controllers. 2022-11-22 13:56:01 +00:00
mike12345567 4cdcafac36 More Typescript conversion, as part of backend-core importing improvements. 2022-11-22 12:41:36 +00:00
mike12345567 8f94664ddd Merge branch 'develop' of github.com:Budibase/budibase into refactor/backend-core-import 2022-11-22 12:03:31 +00:00
mike12345567 de82eca502 Some typescript conversions, moving a few imports around. 2022-11-21 18:33:34 +00:00
Dean 192c9b56e2 Import refactoring and some review updates. 2022-11-21 15:53:47 +00:00
Dean 64e7239d42 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-21 15:40:11 +00:00
mike12345567 cfbed0b236 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-21 15:05:48 +00:00
Dean 0441704c57 Import fixes for backend core constants. Minor name change for default data source from Test DB to Sample Data 2022-11-21 12:47:36 +00:00
Dean 02a902ebd3 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-21 11:10:29 +00:00
Andrew Kingston c58067a589 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-21 10:30:25 +00:00
Rory Powell e6589fd4c1 Require params on db.remove 2022-11-21 10:07:51 +00:00
Mel O'Hagan 2d28bb4005 Break if any column is static formula 2022-11-18 12:32:04 +00:00
mike12345567 0d13a77409 Some minor updates after running qa-core tests, found some issues that likely exists before context update. 2022-11-17 16:30:38 +00:00
Dean e932aa105b Shifted the budibase datasource constant to backend-core 2022-11-17 16:28:48 +00:00
Dean 8657aaf922 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-17 15:39:40 +00:00
mike12345567 31c198888a Updating some enums, plural to single. 2022-11-17 14:59:18 +00:00
mike12345567 58e59bfacc Updating PouchLike to be an interface in types, with its impl stored in backend-core, now called Database. 2022-11-17 14:35:03 +00:00
mike12345567 bc857d7bb8 PR comments - still experiencing build issues. 2022-11-17 13:31:54 +00:00
Andrew Kingston 102d6084f1 Update table settings migration to handle new behaviour settings for table blocks 2022-11-17 10:11:25 +00:00
mike12345567 29dd98a7fc Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-16 18:12:31 +00:00
mike12345567 4328ed1b67 Updating middlewares to Typescript, as well as some fixes based on running tests. 2022-11-16 17:24:13 +00:00
mike12345567 535fab7997 Some major reworks towards higher levels of typescript. 2022-11-16 17:23:12 +00:00
mike12345567 c6366c573a Final server test fixes, after all updates to context/removal of context faking. 2022-11-15 19:04:39 +00:00
mike12345567 5f658a0398 Converting further DB layers to TS - fixing mocks. 2022-11-15 18:33:24 +00:00
mike12345567 b5472f882b Some updates for currentapp.spec.js test case. 2022-11-15 17:35:17 +00:00
Dean 2599748918 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-15 17:11:19 +00:00
Dean f73b4f8b01 Review updates 2022-11-15 17:03:35 +00:00
mike12345567 e7e2d91fef Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-15 16:45:25 +00:00
Rory Powell 1612044dc1 Merge branch 'develop' into subdomain-tenancy 2022-11-15 16:18:59 +00:00
Rory Powell f48ff01045 ensure fetch and aws are always mocked 2022-11-15 15:50:15 +00:00
Andrew Kingston 2b42b21b3a Add migration to automatically convert legacy table settings into new action setting 2022-11-15 11:54:45 +00:00
Rory Powell 9973f2e161 Bump jest and ts-jest to be consistent across backend packages to fix CI issue, test config updates 2022-11-14 22:55:47 +00:00
mike12345567 72c9aadae0 Updating test cases - trying to get everything in order for merge. 2022-11-14 20:25:05 +00:00
Dean ebccc21e7f Fixed imports 2022-11-13 22:34:01 +00:00
Dean ff7a3b8cef Default Datasource and sample row data 2022-11-13 21:37:50 +00:00
Dean 8f058e222b Fix for attachment cleanup on internal row delete. 2022-11-13 18:08:48 +00:00
mike12345567 bc94f20794 Typescript conversions - trying to get all of context/db layer into TS. 2022-11-11 11:57:50 +00:00
mike12345567 c63c3b48c5 Typescript conversions, as well as updating context to just use an object map. 2022-11-10 17:38:26 +00:00
mike12345567 45e7ef61ef Re-building the context module to use a single object, meaning we can create new context frames and copy over whatever exists, then update. 2022-11-10 16:38:32 +00:00
melohagan c7b19a9cec Merge pull request #8635 from Budibase/bug/sev3/app-import-automations
App import automations - null pointer fix
2022-11-10 15:35:24 +00:00
melohagan b6ff581d5e Merge pull request #8593 from Budibase/bug/sev2/mongodb-aggregate-readable
MongoDB aggregate readable
2022-11-10 15:27:08 +00:00
Mel O'Hagan 6d1449431e Null pointer fix 2022-11-10 15:22:05 +00:00
mike12345567 c744d23832 Major update - removing the use of context for PouchDB instances, swapping knowledge of PouchDB to the PouchLike structure that replaces it. 2022-11-09 16:53:42 +00:00
Rory Powell 6783fd713e Update tenancy detection to honour any subdomain pattern according to platform url 2022-11-09 16:35:16 +00:00
mike12345567 ecb398bf98 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-09 13:41:51 +00:00
Michael Drury 2f6330db4f Removing timeout for export apps - #8589. 2022-11-08 20:12:32 +00:00
Mel O'Hagan 5aba8e4a65 Added readable prop to aggregate function 2022-11-08 14:31:36 +00:00
Rory Powell 6f995f3065 Configurable CDN 2022-11-07 15:27:03 +00:00
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