generated from hpi-swa-teaching/SWT-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
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
36 changed files
with
72 additions
and
62 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
2 changes: 1 addition & 1 deletion
2
Squello-Core.package/SPBAuthenticationForm.class/instance/token.st
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,4 +1,4 @@ | ||
accessing | ||
token | ||
|
||
^ token ifNil: [token := SPBGithubAPI token]. | ||
^ token ifNil: [token := SPBAuthenticator token]. |
2 changes: 1 addition & 1 deletion
2
Squello-Core.package/SPBAuthenticationForm.class/instance/username.st
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,4 +1,4 @@ | ||
accessing | ||
username | ||
|
||
^ username ifNil: [username := SPBGithubAPI username]. | ||
^ username ifNil: [username := SPBAuthenticator username]. |
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
token | ||
|
||
^ Token. |
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
Squello-Core.package/SPBAuthenticator.class/class/username.st
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
username | ||
|
||
^ Username |
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
3 changes: 0 additions & 3 deletions
3
Squello-Core.package/SPBAuthenticator.class/instance/checkIfCredentialsMissing.st
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,7 +1,4 @@ | ||
authentication | ||
checkIfCredentialsMissing | ||
|
||
self username: SPBGithubAPI username. | ||
self token: SPBGithubAPI token. | ||
|
||
^ self username isNil or: [self token isNil]. |
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
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,4 +1,4 @@ | ||
accessing | ||
token: aString | ||
|
||
token := aString. | ||
self class token: aString. |
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,4 +1,4 @@ | ||
accessing | ||
token | ||
|
||
^ token. | ||
^ self class token. |
2 changes: 1 addition & 1 deletion
2
Squello-Core.package/SPBAuthenticator.class/instance/username..st
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,4 +1,4 @@ | ||
accessing | ||
username: aString | ||
|
||
username := aString. | ||
self class username: aString. |
2 changes: 1 addition & 1 deletion
2
Squello-Core.package/SPBAuthenticator.class/instance/username.st
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,4 +1,4 @@ | ||
accessing | ||
username | ||
|
||
^ username. | ||
^ self class username. |
24 changes: 14 additions & 10 deletions
24
Squello-Core.package/SPBAuthenticator.class/methodProperties.json
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,21 +1,25 @@ | ||
{ | ||
"class" : { | ||
"newWith:" : "mcr 8/2/2022 17:38" }, | ||
"newWith:" : "mcr 8/2/2022 17:38", | ||
"token" : "FP 7/12/2024 12:50", | ||
"token:" : "FP 7/12/2024 12:50", | ||
"username" : "FP 7/12/2024 12:50", | ||
"username:" : "FP 7/12/2024 12:50" }, | ||
"instance" : { | ||
"authenticate" : "mcr 8/4/2022 00:26", | ||
"authenticate" : "FP 7/12/2024 12:55", | ||
"boardProvider" : "mcr 8/2/2022 18:26", | ||
"boardProvider:" : "mcr 8/2/2022 18:26", | ||
"checkIfCredentialsMissing" : "mcr 8/4/2022 02:19", | ||
"checkIfCredentialsMissing" : "FP 7/12/2024 12:56", | ||
"checkIfTokenValid" : "mcr 8/4/2022 02:23", | ||
"detectInsufficientScopes:" : "mcr 8/4/2022 00:33", | ||
"errorAuthenticationCanceled" : "mcr 8/2/2022 21:49", | ||
"errorGarbageToken" : "mcr 8/2/2022 22:08", | ||
"errorInvalidTokenScopes" : "mcr 8/3/2022 23:31", | ||
"errorNoScopes" : "mcr 8/2/2022 22:31", | ||
"errorGarbageToken" : "FP 7/12/2024 13:00", | ||
"errorInvalidTokenScopes" : "FP 7/12/2024 13:00", | ||
"errorNoScopes" : "FP 7/12/2024 12:52", | ||
"errorRepoNotFound" : "mcr 8/2/2022 21:50", | ||
"getTokenScopes" : "mcr 8/4/2022 00:34", | ||
"token" : "mcr 8/2/2022 18:26", | ||
"token:" : "mcr 8/2/2022 18:26", | ||
"token" : "FP 7/12/2024 12:52", | ||
"token:" : "FP 7/12/2024 12:52", | ||
"tryQueryRepo" : "mcr 8/4/2022 01:12", | ||
"username" : "mcr 8/2/2022 18:27", | ||
"username:" : "mcr 8/2/2022 18:27" } } | ||
"username" : "FP 7/12/2024 12:53", | ||
"username:" : "FP 7/12/2024 12:53" } } |
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
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
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,4 +1,4 @@ | ||
accessing | ||
token | ||
|
||
^ Token. | ||
^ SPBAuthenticator token. |
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,4 +1,4 @@ | ||
accessing | ||
username | ||
|
||
^ Username. | ||
^ SPBAuthenticator username. |
6 changes: 2 additions & 4 deletions
6
Squello-Core.package/SPBGithubAPI.class/methodProperties.json
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
This file was deleted.
Oops, something went wrong.
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,4 +1,4 @@ | ||
accessing | ||
token | ||
|
||
^ Token. | ||
^ SPBAuthenticator token. |
6 changes: 6 additions & 0 deletions
6
Squello-Core.package/SPBNewGithubAPI.class/instance/authError.st
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
errors | ||
authError | ||
|
||
UserDialogBoxMorph | ||
inform: 'Please make sure that your token has a suffient scope for this project.' title: 'Insufficient token scope'. | ||
^ Error signal. |
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
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
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