-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
113 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"debug": true, | ||
"branches": "master", | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/npm", | ||
"@semantic-release/github" | ||
] | ||
} | ||
"debug": true, | ||
"branches": "master", | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/npm", | ||
"@semantic-release/github" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,43 @@ | ||
{ | ||
"name": "Casdoor", | ||
"description": "The Casdoor extension can help browser users automatically log into applications protected by Casdoor single-sign-on (SSO) system.", | ||
"version": "1.0.0", | ||
"manifest_version": 3, | ||
"permissions": ["storage", "identity"], | ||
"action": { | ||
"default_popup": "/src/popup.html", | ||
"default_icon": { | ||
"16": "/images/icon16.png", | ||
"32": "/images/icon32.png", | ||
"48": "/images/icon48.png", | ||
"128": "/images/icon128.png" | ||
} | ||
}, | ||
"icons": { | ||
"16": "/images/icon16.png", | ||
"32": "/images/icon32.png", | ||
"48": "/images/icon48.png", | ||
"128": "/images/icon128.png" | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"matches": [ | ||
"https://*/*", | ||
"http://*/*" | ||
], | ||
"js": [ | ||
"/src/content-script.js", | ||
"/src/sdk.js", | ||
"/src/oauth.js", | ||
"/src/config.js" | ||
] | ||
} | ||
], | ||
"host_permissions": [ | ||
"name": "Casdoor", | ||
"description": "The Casdoor extension can help browser users automatically log into applications protected by Casdoor single-sign-on (SSO) system.", | ||
"version": "1.0.0", | ||
"manifest_version": 3, | ||
"permissions": [ | ||
"storage", | ||
"identity" | ||
], | ||
"action": { | ||
"default_popup": "/src/popup.html", | ||
"default_icon": { | ||
"16": "/images/icon16.png", | ||
"32": "/images/icon32.png", | ||
"48": "/images/icon48.png", | ||
"128": "/images/icon128.png" | ||
} | ||
}, | ||
"icons": { | ||
"16": "/images/icon16.png", | ||
"32": "/images/icon32.png", | ||
"48": "/images/icon48.png", | ||
"128": "/images/icon128.png" | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"matches": [ | ||
"https://*/*", | ||
"http://*/*" | ||
] | ||
], | ||
"js": [ | ||
"/src/content-script.js", | ||
"/src/sdk.js", | ||
"/src/oauth.js", | ||
"/src/config.js" | ||
] | ||
} | ||
], | ||
"host_permissions": [ | ||
"https://*/*", | ||
"http://*/*" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<head> | ||
<link rel="stylesheet" href="popup.css"> | ||
</head> | ||
<body> | ||
<div class="background"> | ||
<h1 class="title" id="title">Casdoor</h1> | ||
<div id="user"></div> | ||
<div class="item"> | ||
endpoint: | ||
<input class="input" id="endpoint" name="endpoint" placeholder="your casdoor server url"/> | ||
</div> | ||
<div class="item"> | ||
applicationName: | ||
<input class="input" id="applicationName" name="applicationName" placeholder="your application name"/> | ||
</div> | ||
<div class="item"> | ||
Enable auto login: | ||
<label class="switch"> | ||
<input type="checkbox" id="enableAutoLogin"> | ||
<span class="slider"></span> | ||
</label> | ||
</div> | ||
<div class="control"> | ||
<button class="primary" id="loginOrLogout">Login</button> | ||
</div> | ||
</head> | ||
<body> | ||
<div class="background"> | ||
<h1 class="title" id="title">Casdoor</h1> | ||
<div id="user"></div> | ||
<div class="item"> | ||
endpoint: | ||
<input class="input" id="endpoint" name="endpoint" placeholder="your casdoor server url"/> | ||
</div> | ||
<script src="config.js"></script> | ||
<script src="sdk.js"></script> | ||
<script src="oauth.js"></script> | ||
<script src="popup.js"></script> | ||
</body> | ||
<div class="item"> | ||
applicationName: | ||
<input class="input" id="applicationName" name="applicationName" placeholder="your application name"/> | ||
</div> | ||
<div class="item"> | ||
Enable auto login: | ||
<label class="switch"> | ||
<input type="checkbox" id="enableAutoLogin"> | ||
<span class="slider"></span> | ||
</label> | ||
</div> | ||
<div class="control"> | ||
<button class="primary" id="loginOrLogout">Login</button> | ||
</div> | ||
</div> | ||
<script src="config.js"></script> | ||
<script src="sdk.js"></script> | ||
<script src="oauth.js"></script> | ||
<script src="popup.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters