Commit Graph

24501 Commits

Author SHA1 Message Date
mike12345567 58b5055642 Merge branch 'dependabot/npm_and_yarn/packages/client/minimatch-3.1.2' of github.com:Budibase/budibase into merge/21-nov 2022-11-21 14:44:00 +00:00
mike12345567 bbd5a2cbf2 Merge branch 'dependabot/npm_and_yarn/packages/builder/minimatch-3.1.2' of github.com:Budibase/budibase into merge/21-nov 2022-11-21 14:43:43 +00:00
mike12345567 7e0641c959 Fix for table deletion, updating DatabaseImpl to define pouch functions directly. 2022-11-21 14:41:19 +00:00
Budibase Release Bot 027ff0e42f Update pro version to 2.1.31 2022-11-21 12:58:23 +00:00
Budibase Release Bot 26c060039a v2.1.31 2022-11-21 12:54:57 +00:00
Dean a123e65e78 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
Michael Drury 3b7a68aa50
Merge pull request #8717 from Budibase/fix/backup-event
App backup triggered event
2022-11-21 12:43:35 +00:00
dependabot[bot] 208a337405
Bump loader-utils from 2.0.3 to 2.0.4 in /packages/server
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 12:22:32 +00:00
dependabot[bot] 39dee36ddc
Bump minimatch from 3.0.4 to 3.1.2 in /packages/builder
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 12:20:52 +00:00
Budibase Staging Release Bot 8722fbde9d Update pro version to 2.1.22-alpha.9 2022-11-21 12:20:47 +00:00
dependabot[bot] 7b7754cd93
Bump minimatch from 3.0.4 to 3.1.2 in /packages/client
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 12:19:08 +00:00
dependabot[bot] df60caf0ad
Bump minimatch from 3.0.4 to 3.1.2 in /packages/string-templates
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 12:18:57 +00:00
Budibase Staging Release Bot 7c1867ce36 v2.1.22-alpha.9 2022-11-21 12:17:27 +00:00
mike12345567 fd80ceed6e Adding IDs to backup events. 2022-11-21 12:12:57 +00:00
Budibase Release Bot 9ec9dccfaf Update pro version to 2.1.30 2022-11-21 12:08:44 +00:00
Budibase Release Bot 105b7bb83f v2.1.30 2022-11-21 12:04:40 +00:00
Rory Powell 523368655d Add remove overload to allow for doc removal 2022-11-21 11:38:37 +00:00
melohagan 26b5737a2d
Merge pull request #8723 from Budibase/bug/sev3/static-formulas-conflict
Prevent static formulas conflict
2022-11-21 11:33:31 +00:00
Dean 4a94ef8bf9 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-21 11:10:29 +00:00
Andrew Kingston 3ef79c1acb Use overlay side panel and update table block side panel heading 2022-11-21 11:05:06 +00:00
Andrew Kingston 8d8e33a19e Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-21 10:30:25 +00:00
Rory Powell 626576dbee Require params on db.remove 2022-11-21 10:07:51 +00:00
Mel O'Hagan 2a9266e22e Don't allow cell edit for dynamic filter col conf 2022-11-18 16:19:49 +00:00
Mel O'Hagan 3683204632 Allow custom labels for dynamic filter 2022-11-18 15:52:30 +00:00
Mel O'Hagan 0fddf09cdc Break if any column is static formula 2022-11-18 12:32:04 +00:00
Budibase Staging Release Bot 7d31af5c6a Update pro version to 2.1.22-alpha.8 2022-11-18 09:33:37 +00:00
Budibase Staging Release Bot d9dff5c7ad v2.1.22-alpha.8 2022-11-18 09:29:55 +00:00
Rory Powell 01bf5a5bd1 Cypress fix 2022-11-18 09:15:42 +00:00
Mel O'Hagan aa75b9c3d5 Extend date formatting 2022-11-18 09:15:15 +00:00
mike12345567 33827af592 Adding type to triggered. 2022-11-17 23:09:49 +00:00
Michael Drury 027eda2231 PR comments. 2022-11-17 19:38:47 +00:00
mike12345567 575a64d32a Adding an event for when a backup is triggered. 2022-11-17 17:15:35 +00:00
Budibase Staging Release Bot 79969586a8 Update pro version to 2.1.22-alpha.7 2022-11-17 17:07:04 +00:00
Budibase Staging Release Bot c90a987eb1 v2.1.22-alpha.7 2022-11-17 17:02:41 +00:00
mike12345567 318233d812 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 2d81f516e0 Shifted the budibase datasource constant to backend-core 2022-11-17 16:28:48 +00:00
Dean 5845a17511 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-17 15:39:40 +00:00
Dean ebded7c0b1 Merge remote-tracking branch 'origin/develop' into feature/auto-select-dataprovider-source 2022-11-17 15:36:20 +00:00
mike12345567 fcb6f985a6 Updating some enums, plural to single. 2022-11-17 14:59:18 +00:00
Andrew Kingston a83ce95f8e Improve makeComponentUniqueUtil and improve ejected table block structure 2022-11-17 14:49:13 +00:00
mike12345567 6e659f873c Fixing permission types. 2022-11-17 14:47:52 +00:00
Dean 2a990189f0 Ensure the navigation does not show the settings bar 2022-11-17 14:40:16 +00:00
mike12345567 1d7e9d2b62 Minor adjustment to interface type. 2022-11-17 14:38:02 +00:00
mike12345567 c4f041e511 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
Andrew Kingston f022646810 Allow custom naming of components inside blocks for better ejection 2022-11-17 14:20:18 +00:00
Andrew Kingston 2451ba2e9f Ensure side panel ejection works properly and tidy up table block structure 2022-11-17 14:18:55 +00:00
Andrew Kingston 29188145a7 Close side panel whenever screen changes 2022-11-17 14:18:17 +00:00
Andrew Kingston d79016945a Ensure all search requests specify a sort field to avoid random sorting 2022-11-17 14:15:24 +00:00
Dean 312bc96770 Don't show delete or duplicate actions in the component settings bar 2022-11-17 14:10:55 +00:00
mike12345567 4c44b7a224 PR comments - still experiencing build issues. 2022-11-17 13:31:54 +00:00
Dean 2a7b90e46f Component settings bar now on by default. Manifest config cleared of showSettingsBar properties 2022-11-17 11:08:23 +00:00
Budibase Release Bot eaa6114d85 Update pro version to 2.1.29 2022-11-17 10:43:38 +00:00
Budibase Release Bot 997343feb2 v2.1.29 2022-11-17 10:40:06 +00:00
Andrew Kingston abaa83d4ad
Merge pull request #8608 from Budibase/fix/form-block
Fix form block issues
2022-11-17 10:28:33 +00:00
Andrew Kingston bc6a0b2f22 Add working side panels to table blocks 2022-11-17 10:16:45 +00:00
Andrew Kingston e85cc09611 Fix flatpickr random error 2022-11-17 10:16:27 +00:00
Andrew Kingston f47ae91ce1 Update table settings migration to handle new behaviour settings for table blocks 2022-11-17 10:11:25 +00:00
mike12345567 242a529b2e Fixes post merge. 2022-11-16 18:28:45 +00:00
Budibase Release Bot 4ef348a02e Update pro version to 2.1.28 2022-11-16 18:23:35 +00:00
Budibase Release Bot c659741a2f v2.1.28 2022-11-16 18:19:48 +00:00
mike12345567 0357d1c8e4 Some worker typescript conversions. 2022-11-16 18:13:34 +00:00
mike12345567 bf86640e9d Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-16 18:12:31 +00:00
mike12345567 4f64798ada Updating middlewares to Typescript, as well as some fixes based on running tests. 2022-11-16 17:24:13 +00:00
mike12345567 b0f6224c18 Some major reworks towards higher levels of typescript. 2022-11-16 17:23:12 +00:00
Dean b616378519 Ensure 'table' type sources are updated with a default datasource. Search visible settings sections for other elements IF a source is not already set. 2022-11-16 15:03:45 +00:00
Budibase Staging Release Bot f81c20811a Update pro version to 2.1.22-alpha.6 2022-11-16 13:37:23 +00:00
Budibase Staging Release Bot 395a9a21c2 v2.1.22-alpha.6 2022-11-16 13:33:51 +00:00
Rory Powell 78087eb2b3
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 dc70022708 Test fixes 2022-11-16 13:06:30 +00:00
dependabot[bot] 29a402d72b
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 ec178a95d1 Update pro version to 2.1.22-alpha.5 2022-11-16 12:08:51 +00:00
Budibase Staging Release Bot 0367d466c3 v2.1.22-alpha.5 2022-11-16 12:04:59 +00:00
Dean 0df1779af1 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-16 11:58:17 +00:00
Dean 982f070676 Merge remote-tracking branch 'origin/develop' into feature/auto-select-dataprovider-source 2022-11-16 11:57:20 +00:00
Rory Powell 6017f6be47 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 32a12eff00 Skip revertApp Cypress Spec File
We have API Automation coverage for reverting applications
2022-11-16 11:33:30 +00:00
Mitch-Budibase 0a5839a82b 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 cca1b59c76 Final server test fixes, after all updates to context/removal of context faking. 2022-11-15 19:04:39 +00:00
mike12345567 8b2cfd9dfa Converting further DB layers to TS - fixing mocks. 2022-11-15 18:33:24 +00:00
Mitch-Budibase 5692fca1e5 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 3faac89c7a Some updates for currentapp.spec.js test case. 2022-11-15 17:35:17 +00:00
Dean 433a5d5f54 Merge remote-tracking branch 'origin/develop' into feature/auto-select-dataprovider-source 2022-11-15 17:13:41 +00:00
Dean eb57c6604d Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-15 17:11:19 +00:00
Dean f082e4596c Review updates 2022-11-15 17:03:35 +00:00
Mel O'Hagan a632f942e8 Allow underscores in column names 2022-11-15 16:57:18 +00:00
Budibase Staging Release Bot faab0a8405 Update pro version to 2.1.22-alpha.4 2022-11-15 16:52:47 +00:00
Budibase Staging Release Bot 061f060aeb v2.1.22-alpha.4 2022-11-15 16:49:11 +00:00
mike12345567 806c7dd1af Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-15 16:45:25 +00:00
Mitch-Budibase 590f2f36ca
Merge pull request #8692 from Budibase/cypress-automations-update
Updating createAutomation.spec.js
2022-11-15 16:35:29 +00:00
Mitch-Budibase 1246d25f0f 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 ad81adb30f Merge branch 'develop' into subdomain-tenancy 2022-11-15 16:18:59 +00:00
Rory Powell c16f731058
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 d205b5136b ensure fetch and aws are always mocked 2022-11-15 15:50:15 +00:00
Budibase Release Bot 7846f4cc38 Update pro version to 2.1.27 2022-11-15 15:33:11 +00:00
Budibase Release Bot dd901cb835 v2.1.27 2022-11-15 15:28:49 +00:00
mike12345567 8cd36e25a8 Updating pkg version from 5.7.0 -> 5.8.0. 2022-11-15 15:06:30 +00:00
Dean c41a0f8d78 Default datasource behaviour with order of preference: DefaultDB, Internal then External 2022-11-15 14:29:58 +00:00
Rory Powell e4810dff1e Update waitForCompletion and pouch / backup type 2022-11-15 14:28:02 +00:00
Budibase Staging Release Bot 53c1f63965 Update pro version to 2.1.22-alpha.3 2022-11-15 13:22:40 +00:00
Budibase Staging Release Bot 7c77ec1536 v2.1.22-alpha.3 2022-11-15 13:19:15 +00:00
Andrew Kingston 03cf4153fc Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-15 13:05:11 +00:00
Andrew Kingston 3b0bc310b3 Lint 2022-11-15 13:04:09 +00:00
Andrew Kingston 7b80dabfe2 Disregard block components from ejection which are unmounted during parent blocks lifecycles 2022-11-15 12:58:52 +00:00
Andrew Kingston e9c6aa2593 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 17ebbc6c53 Merge branch 'master' of github.com:Budibase/budibase into fix/form-block 2022-11-15 12:45:24 +00:00
Pedro Silva 18b4d024dd Fix Failing tests 2022-11-15 12:38:48 +00:00
Dean 847245f275 Fix to ensure an appropriate internal source is selected when creating an internal table 2022-11-15 12:18:04 +00:00
Andrew Kingston 68bc18ad1b Fix table block manifest entry after settings migration 2022-11-15 11:58:10 +00:00
Andrew Kingston 0935738fbd Add migration to automatically convert legacy table settings into new action setting 2022-11-15 11:54:45 +00:00
Andrew Kingston d7988a918e Use explicit actions for opening and closing side panels, and automatically close side panels when using form blocks 2022-11-15 11:54:20 +00:00
Rory Powell 2212305f08 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 1af47003c5 Updating test cases - trying to get everything in order for merge. 2022-11-14 20:25:05 +00:00
mike12345567 380ee221b1 Updating context test, some minor adjustments based on getting the test working again. 2022-11-14 18:29:15 +00:00
mike12345567 c6d31a856a Replacing CLS with local-storage, simplified usage which should remove the memory leak permenantly. 2022-11-14 18:00:20 +00:00
Andrew Kingston 1d8763acf5 Update tables to use button actions rather than link settings 2022-11-14 15:47:14 +00:00
Andrew Kingston 7d97ef1ff5 Add button action for showing/hiding side panels 2022-11-14 15:02:57 +00:00
deanhannigan d357b0135a
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 1ca2d0f312 Update pro version to 2.1.26 2022-11-14 14:36:05 +00:00
Budibase Release Bot c61155e61e v2.1.26 2022-11-14 14:32:46 +00:00
Budibase Staging Release Bot 30e5550325 Update pro version to 2.1.22-alpha.2 2022-11-14 13:53:33 +00:00
Budibase Staging Release Bot ead55d1aed v2.1.22-alpha.2 2022-11-14 13:49:57 +00:00
Martin McKeaveney 0dba0f6b4b
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 fd913a5e76 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
Andrew Kingston d3528443d1 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-14 13:24:47 +00:00
Budibase Staging Release Bot 11f796a17f Update pro version to 2.1.22-alpha.1 2022-11-14 12:09:46 +00:00
Budibase Staging Release Bot 1e415f89bd v2.1.22-alpha.1 2022-11-14 12:06:21 +00:00
Gerard Burns a33d4cae52
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 7506b6384a Fix date time field inconsistency with showing time 2022-11-14 09:33:01 +00:00
Andrew Kingston dcc98e69f8 Adjust styles so placeholder component is left aligned 2022-11-14 09:25:45 +00:00
Dean 355419a722 Fixed imports 2022-11-13 22:34:01 +00:00
Dean 00545ee884 Default Datasource and sample row data 2022-11-13 21:37:50 +00:00
Dean 9974f78d5b Added multiselect/array options support to the view contains filter 2022-11-13 18:16:04 +00:00
Dean 15a96fb496 Fix for attachment cleanup on internal row delete. 2022-11-13 18:08:48 +00:00
Rory Powell 80b823f6cf Test fixes 2022-11-11 15:43:41 +00:00
Budibase Release Bot 1ecc6a42b4 Update pro version to 2.1.25 2022-11-11 12:54:20 +00:00
Budibase Release Bot 664bfae982 v2.1.25 2022-11-11 12:51:08 +00:00
mike12345567 a15a265bda Re-jigging things a bit, hiding as much of the couch/pouch stuff away. 2022-11-11 12:46:32 +00:00
mike12345567 3035c3a3a1 Typescript conversions - trying to get all of context/db layer into TS. 2022-11-11 11:57:50 +00:00
Rory Powell fbbc5f01b8 Fix logout race condition 2022-11-11 11:26:36 +00:00
Rory Powell 0bad2dd9ae 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 fd624e097a Typescript conversions, as well as updating context to just use an object map. 2022-11-10 17:38:26 +00:00
mike12345567 c356e0d152 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 5b8c49cf3a Update pro version to 2.1.24 2022-11-10 15:56:42 +00:00
Budibase Release Bot 97484b62e2 v2.1.24 2022-11-10 15:53:01 +00:00
melohagan 8bb7230655
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 b13723b1a3
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 531e30fa3d Null pointer fix 2022-11-10 15:22:05 +00:00
Andrew Kingston d4826ab806 Update side panel styles and ensure side panel properly reveals itself in the builder 2022-11-10 14:34:23 +00:00
Mel O'Hagan 1532395033 Add readable flag to datasource validation 2022-11-10 14:23:22 +00:00
Budibase Release Bot 92fed8030c Update pro version to 2.1.23 2022-11-10 11:02:04 +00:00