Commit Graph

15063 Commits

Author SHA1 Message Date
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
Budibase Staging Release Bot b1ad819898 Update pro version to 2.1.22-alpha.6 2022-11-16 13:37:23 +00:00
Budibase Staging Release Bot 5b1e0d3d4d v2.1.22-alpha.6 2022-11-16 13:33:51 +00:00
Rory Powell 77e402fcf3 Merge pull request #8623 from Budibase/subdomain-tenancy
Update tenancy detection to honour any subdomain pattern according to platform url
2022-11-16 13:20:20 +00:00
Rory Powell adbf90887e Test fixes 2022-11-16 13:06:30 +00:00
dependabot[bot] f029a5d360 Bump loader-utils from 1.4.1 to 1.4.2 in /packages/bbui
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 12:15:18 +00:00
Budibase Staging Release Bot 5070dbc29e Update pro version to 2.1.22-alpha.5 2022-11-16 12:08:51 +00:00
Budibase Staging Release Bot f36ccbe855 v2.1.22-alpha.5 2022-11-16 12:04:59 +00:00
Dean a7042dc9ba Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-16 11:58:17 +00:00
Rory Powell 9c169087e6 Add copy button to sso callback urls, e2e unit testing for OIDC, stub out other auth tests 2022-11-16 11:34:16 +00:00
Mitch-Budibase 5b53df8126 Skip revertApp Cypress Spec File
We have API Automation coverage for reverting applications
2022-11-16 11:33:30 +00:00
Mitch-Budibase d5df198bc4 Skipping createApp Tests & createAutomation Test Fix
Skipping createApp tests covered via API Automation.
Also updated the createAutomation test to fix an issue with the nightly build
2022-11-16 11:29:59 +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
Mitch-Budibase 4c546463e6 Skipping Screen Tests
There are 4 tests in this file
- Skipped create and delete screen tests (covered by API)
- Update URL test remains (will eventually be covered via E2E with QA Wolf)
- Create and filter screens by access level test remains (This is due for API coverage within another ticket)
2022-11-15 17:59:31 +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
Mel O'Hagan 2cec318af1 Allow underscores in column names 2022-11-15 16:57:18 +00:00
Budibase Staging Release Bot 042c6f5c92 Update pro version to 2.1.22-alpha.4 2022-11-15 16:52:47 +00:00
Budibase Staging Release Bot b752af6506 v2.1.22-alpha.4 2022-11-15 16:49:11 +00:00
mike12345567 e7e2d91fef Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-15 16:45:25 +00:00
Mitch-Budibase bdcfe4b477 Merge pull request #8692 from Budibase/cypress-automations-update
Updating createAutomation.spec.js
2022-11-15 16:35:29 +00:00
Mitch-Budibase ef7659d4bf Updating createAutomation.spec.js
The + symbol button for creating an automation has been removed. It has been replaced with a button which says 'Add automation'

I have updated the create automation test to now click on this button when creating a new automation. This test was failing due to the other button no longer existing
2022-11-15 16:20:40 +00:00
Rory Powell 1612044dc1 Merge branch 'develop' into subdomain-tenancy 2022-11-15 16:18:59 +00:00
Rory Powell bcc9374e77 Merge pull request #8684 from Budibase/test-updates
Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings
2022-11-15 16:09:20 +00:00
Rory Powell f48ff01045 ensure fetch and aws are always mocked 2022-11-15 15:50:15 +00:00
Budibase Release Bot 827a722484 Update pro version to 2.1.27 2022-11-15 15:33:11 +00:00
Budibase Release Bot f1cf5bda31 v2.1.27 2022-11-15 15:28:49 +00:00
mike12345567 3381b71e27 Updating pkg version from 5.7.0 -> 5.8.0. 2022-11-15 15:06:30 +00:00
Rory Powell f7af8621d5 Update waitForCompletion and pouch / backup type 2022-11-15 14:28:02 +00:00
Budibase Staging Release Bot 53027db66a Update pro version to 2.1.22-alpha.3 2022-11-15 13:22:40 +00:00
Budibase Staging Release Bot 00ecf2a9cc v2.1.22-alpha.3 2022-11-15 13:19:15 +00:00
Andrew Kingston fa3de9f0ac Lint 2022-11-15 13:04:09 +00:00
Andrew Kingston 1ab1329e49 Disregard block components from ejection which are unmounted during parent blocks lifecycles 2022-11-15 12:58:52 +00:00
Andrew Kingston e7061647da Ensure action parameters can never be null and fix display of close screen modal action 2022-11-15 12:52:06 +00:00
Andrew Kingston c4ecae90ff Merge branch 'master' of github.com:Budibase/budibase into fix/form-block 2022-11-15 12:45:24 +00:00
Pedro Silva 700d063a20 Fix Failing tests 2022-11-15 12:38:48 +00:00
Dean 0b75f6036d Fix to ensure an appropriate internal source is selected when creating an internal table 2022-11-15 12:18:04 +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
mike12345567 3f0e53f90c Updating context test, some minor adjustments based on getting the test working again. 2022-11-14 18:29:15 +00:00
mike12345567 3f6cdd787c Replacing CLS with local-storage, simplified usage which should remove the memory leak permenantly. 2022-11-14 18:00:20 +00:00
deanhannigan 5e2a77b37e Merge pull request #8670 from Budibase/fix/attachment-row-delete
Fix for attachment cleanup on internal table delete.
2022-11-14 15:01:22 +00:00
Budibase Release Bot d55998940f Update pro version to 2.1.26 2022-11-14 14:36:05 +00:00
Budibase Release Bot 80e2234650 v2.1.26 2022-11-14 14:32:46 +00:00
Budibase Staging Release Bot 4aa1b724e1 Update pro version to 2.1.22-alpha.2 2022-11-14 13:53:33 +00:00
Budibase Staging Release Bot 9fb4eb386c v2.1.22-alpha.2 2022-11-14 13:49:57 +00:00
Martin McKeaveney 303b6e20cf Merge pull request #8549 from Budibase/feature/martin-small-ux-updates
bunch of small UX updates around row creation, borders, new buttons
2022-11-14 13:38:08 +00:00
Rory Powell 5da699e27c Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +00:00
Budibase Staging Release Bot 684279f494 Update pro version to 2.1.22-alpha.1 2022-11-14 12:09:46 +00:00
Budibase Staging Release Bot 420bf19366 v2.1.22-alpha.1 2022-11-14 12:06:21 +00:00
Gerard Burns e70710f7b9 Add Row Explorer Block (#8454)
* Add Row Explorer Block and Row Details Component

* PR Feedback

* adding showSaveButton prop to formblock in row explorer

* PR Feedback

* PR Feedback

* Change row explorer name in manifest

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-11-14 11:54:44 +00:00
Andrew Kingston 4c366114f0 Fix date time field inconsistency with showing time 2022-11-14 09:33:01 +00:00
Andrew Kingston 2eeac325f3 Adjust styles so placeholder component is left aligned 2022-11-14 09:25:45 +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 0619fcd281 Added multiselect/array options support to the view contains filter 2022-11-13 18:16:04 +00:00
Dean 8f058e222b Fix for attachment cleanup on internal row delete. 2022-11-13 18:08:48 +00:00
Rory Powell c6fba4de3d Test fixes 2022-11-11 15:43:41 +00:00
Budibase Release Bot 0cf55b933e Update pro version to 2.1.25 2022-11-11 12:54:20 +00:00
Budibase Release Bot 08766b3c22 v2.1.25 2022-11-11 12:51:08 +00:00
mike12345567 b4b471e054 Re-jigging things a bit, hiding as much of the couch/pouch stuff away. 2022-11-11 12:46:32 +00:00
mike12345567 bc94f20794 Typescript conversions - trying to get all of context/db layer into TS. 2022-11-11 11:57:50 +00:00
Rory Powell a5a8b96be1 Fix logout race condition 2022-11-11 11:26:36 +00:00
Rory Powell 72562278c0 Support path variable tenancy detection, add /api/system/* tests, update no tenancy matchers to be more accurate 2022-11-11 11:10:07 +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
Budibase Release Bot 816382f638 Update pro version to 2.1.24 2022-11-10 15:56:42 +00:00
Budibase Release Bot 870bee4de5 v2.1.24 2022-11-10 15:53:01 +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
Mel O'Hagan be32ef1cb6 Add readable flag to datasource validation 2022-11-10 14:23:22 +00:00
Budibase Release Bot bda2310760 Update pro version to 2.1.23 2022-11-10 11:02:04 +00:00
Budibase Release Bot 291514f57b v2.1.23 2022-11-10 10:58:45 +00:00
melohagan 93a599f660 Merge pull request #8597 from Budibase/bug/sev3/special-character-sorting
Prevent special characters being used in new internal DB column
2022-11-10 10:47:42 +00:00
mike12345567 9e01a9d1be Some minor updates based on getting the worker using the new pouchlike impl. 2022-11-09 17:53:35 +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 a5624142a8 Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-09 14:44:01 +00:00
Budibase Release Bot d6ffeb1b73 Update pro version to 2.1.22 2022-11-09 14:31:12 +00:00
Budibase Release Bot 44fbdec0a2 v2.1.22 2022-11-09 14:27:49 +00:00
Budibase Staging Release Bot 2332bedb13 Update pro version to 2.1.22-alpha.0 2022-11-09 14:01:24 +00:00
Budibase Staging Release Bot f110fad3cd v2.1.22-alpha.0 2022-11-09 13:57:34 +00:00
Martin McKeaveney 217743e6fd patching sub dep for loader-utils to patch security vulnerability 2022-11-09 13:57:22 +00:00
mike12345567 ecb398bf98 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-09 13:41:51 +00:00
Budibase Staging Release Bot d61a13bc94 Update pro version to 2.1.19-alpha.1 2022-11-09 13:24:05 +00:00
Budibase Staging Release Bot c7dc27d6b9 v2.1.19-alpha.1 2022-11-09 13:20:20 +00:00
Michael Drury ed8d663645 Merge pull request #8582 from Budibase/dependabot/npm_and_yarn/packages/server/loader-utils-2.0.3
Bump loader-utils from 2.0.2 to 2.0.3 in /packages/server
2022-11-09 12:54:26 +00:00
Michael Drury b88173ecef Merge pull request #8583 from Budibase/dependabot/npm_and_yarn/packages/bbui/loader-utils-1.4.1
Bump loader-utils from 1.4.0 to 1.4.1 in /packages/bbui
2022-11-09 12:54:17 +00:00
Michael Drury cd00486f83 Merge pull request #8584 from Budibase/dependabot/npm_and_yarn/packages/client/loader-utils-1.4.1
Bump loader-utils from 1.4.0 to 1.4.1 in /packages/client
2022-11-09 12:54:08 +00:00
Andrew Kingston 43b5c120b5 Refactor form block to use a different structure depending on type, and fix issue with bindings breaking and forms not appearing 2022-11-09 10:28:15 +00:00
Budibase Release Bot 0a5cdeb886 Update pro version to 2.1.21 2022-11-08 20:48:06 +00:00
Budibase Release Bot 7db103cd6e v2.1.21 2022-11-08 20:44:21 +00:00
Michael Drury 2a4f6bd5fb Merge pull request #8599 from Budibase/fix/8578
Fix for groups access
2022-11-08 20:30:39 +00:00
Michael Drury 2f6330db4f Removing timeout for export apps - #8589. 2022-11-08 20:12:32 +00:00
Michael Drury 41a65bbe47 Exporting roles differently to fix issue raised by test. 2022-11-08 20:01:01 +00:00
Michael Drury 2240b060d4 Quick fix to not expose the builder ID outside of the role impl. 2022-11-08 19:48:16 +00:00
mike12345567 eb251fb48e Exporting some functions that were previously exported. 2022-11-08 18:35:21 +00:00
mike12345567 693d6b6242 Typescript re-write of the roles layer, this is the backbone of a lot of our security features, and I believe the issue was generally to do with a lack of handling of null-ish inputs. 2022-11-08 18:25:37 +00:00
Budibase Release Bot 195dc8c0de Update pro version to 2.1.20 2022-11-08 17:23:42 +00:00
Budibase Release Bot b159ed2da0 v2.1.20 2022-11-08 17:20:53 +00:00
Mel O'Hagan ca2f85b6f9 Use whitelist instead 2022-11-08 17:16:35 +00:00
Mel O'Hagan 4f1ecf6dc1 Missed colon 2022-11-08 17:07:25 +00:00
Mel O'Hagan 847fc9f83a Remove escaped characters 2022-11-08 17:03:13 +00:00
Mel O'Hagan 572e31fb29 Block lucene special characters from new column 2022-11-08 17:02:31 +00:00
mike12345567 9e7ac26aa0 Getting basic pouch replacement working. 2022-11-08 16:32:13 +00:00
Mel O'Hagan 5aba8e4a65 Added readable prop to aggregate function 2022-11-08 14:31:36 +00:00
mike12345567 f3144fa364 Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-08 13:03:51 +00:00
Budibase Release Bot 963fc738f4 Update pro version to 2.1.19 2022-11-08 12:46:43 +00:00
Budibase Release Bot 63d745ada6 v2.1.19 2022-11-08 12:42:41 +00:00
Michael Drury 83de9d18fe Merge pull request #8586 from Budibase/fix/x-amz-meta-invalid
Fixing x-amz-meta-fieldname invalid value issue
2022-11-08 12:27:58 +00:00
mike12345567 2f01caa88d Adding more type handling around the upload object store function. 2022-11-08 11:49:07 +00:00
mike12345567 913eb96ab0 Fixing an issue which was alerting, x-amz-meta-fieldname contains an invalid value, this error isn't really documented, but comes from if a metadata tag is sent up with nullish, or a non-string type. Fixing this in the core library, removing an invalid inputs. 2022-11-08 11:34:16 +00:00
dependabot[bot] 884a3d3cf6 Bump loader-utils from 2.0.2 to 2.0.3 in /packages/server
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 11:26:13 +00:00
Budibase Staging Release Bot e766d6dbf6 Update pro version to 2.1.19-alpha.0 2022-11-08 11:22:11 +00:00
Budibase Staging Release Bot d457a6da8a v2.1.19-alpha.0 2022-11-08 11:17:54 +00:00
dependabot[bot] a11fae620e Bump loader-utils from 1.4.0 to 1.4.1 in /packages/client
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 11:09:38 +00:00
dependabot[bot] 97a650570d Bump loader-utils from 1.4.0 to 1.4.1 in /packages/bbui
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 11:09:02 +00:00
Rory Powell 1c514c8493 Merge branch 'master' into develop 2022-11-08 10:28:05 +00:00
mike12345567 2426123686 First version of pouch-like system, a wrapper for Couch nano. 2022-11-07 18:27:39 +00:00
Budibase Staging Release Bot f4074c77aa Update pro version to 2.1.14-alpha.3 2022-11-07 17:50:28 +00:00
Budibase Staging Release Bot 99f8d865c5 v2.1.14-alpha.3 2022-11-07 17:46:24 +00:00
Mitch-Budibase f2a71ec62e Cypress - Skipping 2 Test Files
The files are:

- addMultiOptionDatatype
- addRadioButtons

These tests are flakey from time to time and we no longer need them to be run consistently through Cypress. We will have E2E coverage via QAWolf and will also have some coverage via API Automation
2022-11-07 17:10:35 +00:00
Budibase Release Bot f1ce58ed6f Update pro version to 2.1.18 2022-11-07 15:48:53 +00:00
Budibase Release Bot b6017587b5 v2.1.18 2022-11-07 15:45:04 +00:00
Rory Powell 6f995f3065 Configurable CDN 2022-11-07 15:27:03 +00:00
Budibase Staging Release Bot 603b2cdb84 Update pro version to 2.1.14-alpha.2 2022-11-07 14:46:13 +00:00
Budibase Staging Release Bot 0b2299413b v2.1.14-alpha.2 2022-11-07 14:42:51 +00:00
Rory Powell 998beddc30 Configurable CDN 2022-11-07 09:45:00 +00:00
Martin McKeaveney 83cdc07d61 tidy up 2022-11-06 22:45:49 +00:00
Martin McKeaveney 41e004b18b bunch of small UX updates around row creation, borders, new buttons 2022-11-06 22:35:33 +00:00
Budibase Release Bot d7e327db30 Update pro version to 2.1.17 2022-11-05 15:16:36 +00:00
Budibase Release Bot 09dfa4d565 v2.1.17 2022-11-05 15:13:19 +00:00
Martin McKeaveney 67bfa63861 stripping - from additional app name number 2022-11-05 14:43:07 +00:00
Budibase Release Bot a4c04fd329 Update pro version to 2.1.16 2022-11-05 14:14:51 +00:00
Budibase Release Bot 8f582b2349 v2.1.16 2022-11-05 14:11:32 +00:00
Martin McKeaveney 4f86462435 ensure /app prefix gets stripped from website templates 2022-11-05 13:55:17 +00:00
Budibase Release Bot cc88807038 Update pro version to 2.1.15 2022-11-04 20:43:24 +00:00
Budibase Release Bot 2307f26b32 v2.1.15 2022-11-04 20:40:02 +00:00
Mel O'Hagan 32f7843e55 Check schema exists for default value 2022-11-04 18:50:47 +00:00
Budibase Release Bot e6ebd869f1 Update pro version to 2.1.14 2022-11-04 10:59:28 +00:00
Budibase Release Bot 94b958eb6a v2.1.14 2022-11-04 10:56:19 +00:00
Michael Drury 2253d5c080 Merge pull request #8518 from Budibase/fix/8510
Merging 8510 to master
2022-11-04 10:45:42 +00:00
Budibase Staging Release Bot da14a2f452 Update pro version to 2.1.14-alpha.1 2022-11-04 08:47:31 +00:00
Budibase Staging Release Bot e2f5fdb116 v2.1.14-alpha.1 2022-11-04 08:44:19 +00:00
Rory Powell 016df010db Merge pull request #8517 from Budibase/add-extra-auth-logging
Add extra auth logging to authenticated.ts
2022-11-04 08:33:19 +00:00
Rory Powell b36634f510 Add extra auth logging to authenticated.ts 2022-11-04 08:30:44 +00:00