You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/09/06 13:24:06 UTC

[brooklyn-ui] branch master updated (3ee5801 -> 711ef04)

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git.


    from 3ee5801  Merge pull request #280 from algairim/app-inspector-streams
     new 17c65ca  refreshing blueprint to prevent display glitches
     new 678a27b  This closes #281
     new ed47bb3  Forzing wrong login attept for invalidating basic auth
     new 80029a2  This closes #282
     new 711ef04  minor tidy to #282

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../app/components/providers/blueprint-service.provider.js       | 2 +-
 ui-modules/logout/app/views/main/main.controller.js              | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

[brooklyn-ui] 03/05: This closes #281

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git

commit 678a27b1e95b6c4f90cea0901ff8464cece181ee
Merge: 3ee5801 17c65ca
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Mon Sep 6 14:22:36 2021 +0100

    This closes #281

 .../app/components/providers/blueprint-service.provider.js              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[brooklyn-ui] 01/05: refreshing blueprint to prevent display glitches

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git

commit 17c65ca0a2c3b8c7d274fea211a4e70a8109fb89
Author: John Athanasiou <ja...@users.noreply.github.com>
AuthorDate: Mon Sep 6 14:08:26 2021 +0100

    refreshing blueprint to prevent display glitches
---
 .../app/components/providers/blueprint-service.provider.js              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
index c4325e2..b6e72c8 100644
--- a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
+++ b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
@@ -162,7 +162,7 @@ function BlueprintService($log, $q, $sce, paletteApi, iconGenerator, dslService,
         }
         setBlueprintFromJson(newBlueprint);
         $log.debug(TAG + 'Blueprint set from YAML', blueprint);
-        // do we need to refresh the blueprint now?  see comments in yaml.state.js and on refreshBlueprint; think not.
+        refreshBlueprintMetadata(); // needed to prevent graph child nodes from disappearing when the "Add to catalog" modal is opened
     }
 
     function getBlueprint() {

[brooklyn-ui] 05/05: minor tidy to #282

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git

commit 711ef04421380a2118dd2d2a184b357e43561957
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Mon Sep 6 14:23:55 2021 +0100

    minor tidy to #282
---
 ui-modules/logout/app/views/main/main.controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-modules/logout/app/views/main/main.controller.js b/ui-modules/logout/app/views/main/main.controller.js
index 15b968e..981923a 100644
--- a/ui-modules/logout/app/views/main/main.controller.js
+++ b/ui-modules/logout/app/views/main/main.controller.js
@@ -81,7 +81,7 @@ export function mainStateController($scope, $http, $state, $stateParams, $log, $
         if (ua.indexOf('MSIE ') >= 0 || ua.indexOf(' Edge/') >= 0 || ua.indexOf(' Trident/') >= 0) {
             document.execCommand('ClearAuthenticationCache', 'false');
         } else if (ua.indexOf('Mozilla') >= 0) {
-            console.log('logging out')
+            // this forces the page cache to be cleared so page will be re-requested (but it doesn't clear basic auth cache)
             $http({
                 method: 'GET',
                 url: '/',

[brooklyn-ui] 04/05: This closes #282

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git

commit 80029a2ba6c00dc8f2c617cf3c9c32e57ea06c6e
Merge: 678a27b ed47bb3
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Mon Sep 6 14:23:06 2021 +0100

    This closes #282

 ui-modules/logout/app/views/main/main.controller.js | 9 +++++++++
 1 file changed, 9 insertions(+)

[brooklyn-ui] 02/05: Forzing wrong login attept for invalidating basic auth

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git

commit ed47bb35de785fc3fd5925f4955b4bbfe6f54b52
Author: Juan Cabrerizo <ju...@cloudsoft.io>
AuthorDate: Mon Sep 6 14:21:53 2021 +0100

    Forzing wrong login attept for invalidating basic auth
---
 ui-modules/logout/app/views/main/main.controller.js | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ui-modules/logout/app/views/main/main.controller.js b/ui-modules/logout/app/views/main/main.controller.js
index 7fda72f..15b968e 100644
--- a/ui-modules/logout/app/views/main/main.controller.js
+++ b/ui-modules/logout/app/views/main/main.controller.js
@@ -80,6 +80,15 @@ export function mainStateController($scope, $http, $state, $stateParams, $log, $
         let ua = window.navigator.userAgent;
         if (ua.indexOf('MSIE ') >= 0 || ua.indexOf(' Edge/') >= 0 || ua.indexOf(' Trident/') >= 0) {
             document.execCommand('ClearAuthenticationCache', 'false');
+        } else if (ua.indexOf('Mozilla') >= 0) {
+            console.log('logging out')
+            $http({
+                method: 'GET',
+                url: '/',
+                headers: {
+                    'Authorization': 'Basic ' + btoa("logout:logout")
+                }
+            });
         }
     }