[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 122/459: remove cruft
From: |
gnunet |
Subject: |
[reclaim-ui] 122/459: remove cruft |
Date: |
Fri, 11 Jun 2021 23:23:34 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.
commit 9428befd1a2f87e9bbc4bb4001a321201f972fc0
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Mon Jul 15 16:19:52 2019 +0200
remove cruft
---
src/app/identity-list/identity-list.component.ts | 50 ++----------------------
1 file changed, 3 insertions(+), 47 deletions(-)
diff --git a/src/app/identity-list/identity-list.component.ts
b/src/app/identity-list/identity-list.component.ts
index a8e9777..3cbaf06 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -61,53 +61,11 @@ export class IdentityListComponent implements OnInit {
this.ticketAttributeMapper = {};
this.modalOpened = false;
this.oidcService.parseRouteParams(this.route.snapshot.queryParams);
- // On opening the options page, fetch stored settings and update the UI
with
- // them.
- /*browser.storage.local.get().then(uaSettings => {
- var uaParams = {};
- if (true == <boolean>uaSettings["request"]) {
- var searchStr = <string>uaSettings["search"];
- var keyVals = searchStr.split("&");
- for (var i = 0; i < keyVals.length; i++) {
- uaParams[keyVals[i].split("=")[0]] = keyVals[i].split("=")[1];
- }
- console.log(uaParams);
- this.oidcService.parseRouteParams(uaParams);
- }
- this.getClientName();
- // this.newIdentity = new Identity('', '', {});
- this.identityInEditName = "";
- this.identityNameMapper = {};
- this.updateIdentities();
- browser.storage.local.remove("request").then(
- () => { console.log("Local storage request removed."); },
- (e) => { console.log(e); });
- browser.storage.local.remove("search").then(
- () => { console.log("Local storage request removed."); },
- (e) => { console.log(e); });
- console.log("processed localstorage");
- });*/
this.getClientName();
- // this.newIdentity = new Identity('', '', {});
this.identityInEditName = '';
this.identityNameMapper = {};
this.updateIdentities();
console.log('processed nginit');
- // browser.storage.onChanged.addListener(this.handleStorageChange);
- }
-
- handleStorageChange(): void {
- // Greedy
- /*browser.storage.local.get().then(uaSettings => {
- var uaParams = {};
- var searchStr = <string>uaSettings["search"];
- var keyVals = searchStr.split("&");
- for (var i = 0; i < keyVals.length; i++) {
- uaParams[keyVals[i].split("=")[0]] = keyVals[i].split("=")[1];
- }
- console.log(uaParams);
- this.oidcService.parseRouteParams(uaParams);
- });*/
}
confirmDelete(identity) { this.showConfirmDelete = identity; }
@@ -121,6 +79,9 @@ export class IdentityListComponent implements OnInit {
getClientName() {
this.clientNameFound = undefined;
this.clientName = this.oidcService.getClientId();
+ if (!this.oidcService.inOpenIdFlow()) {
+ return;
+ }
this.gnsService.getClientName(this.oidcService.getClientId())
.subscribe(record => {
const records = record.data;
@@ -137,11 +98,6 @@ export class IdentityListComponent implements OnInit {
}, () => { this.clientNameFound = false; });
}
- // clientNameFound()
- // {
- // return this.clientName !== this.oidcService.getClientId();
- // }
-
intToRGB(i) {
i = this.hashCode(i);
const c = (i & 0x00FFFFFF).toString(16).toUpperCase();
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 128/459: update, (continued)
- [reclaim-ui] 128/459: update, gnunet, 2021/06/11
- [reclaim-ui] 131/459: Merge branch 'master' into 'master', gnunet, 2021/06/11
- [reclaim-ui] 115/459: reverted minor change, gnunet, 2021/06/11
- [reclaim-ui] 121/459: Merge branch 'angular-8' into 'master', gnunet, 2021/06/11
- [reclaim-ui] 123/459: move cancel button, gnunet, 2021/06/11
- [reclaim-ui] 125/459: minor, gnunet, 2021/06/11
- [reclaim-ui] 111/459: Merge branch 'master' of https://gitlab.com/reclaimid/ui, gnunet, 2021/06/11
- [reclaim-ui] 113/459: fixed a persistent bug, gnunet, 2021/06/11
- [reclaim-ui] 133/459: cancel authZ by removing parameters, gnunet, 2021/06/11
- [reclaim-ui] 129/459: fix #13, gnunet, 2021/06/11
- [reclaim-ui] 122/459: remove cruft,
gnunet <=
- [reclaim-ui] 119/459: added search pipe provider to fix build issue, change search logic, gnunet, 2021/06/11
- [reclaim-ui] 135/459: hard reset, gnunet, 2021/06/11
- [reclaim-ui] 116/459: authentication screen update - retry client verification, gnunet, 2021/06/11
- [reclaim-ui] 139/459: timeout, gnunet, 2021/06/11
- [reclaim-ui] 132/459: do not re-authorize, gnunet, 2021/06/11
- [reclaim-ui] 137/459: only retry once, gnunet, 2021/06/11
- [reclaim-ui] 138/459: we actually dont need the retry, gnunet, 2021/06/11
- [reclaim-ui] 126/459: change add identity button, gnunet, 2021/06/11
- [reclaim-ui] 127/459: prettify search icon, gnunet, 2021/06/11
- [reclaim-ui] 106/459: changed authentication ui and gnunet offline information, added modals, gnunet, 2021/06/11