-
Notifications
You must be signed in to change notification settings - Fork 3
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
29 changed files
with
70 additions
and
67 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
4 changes: 4 additions & 0 deletions
4
...ges/IMAPClient-Core.package/ICEndPoint.class/class/accountFolderHashRelevantCharacters.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 @@ | ||
constants | ||
accountFolderHashRelevantCharacters | ||
|
||
^ 10 |
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICEndPoint.class/class/errorBadParameter.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...IMAPClient-Core.package/ICEndPoint.class/class/errorInvalidAuthenticationConfiguration.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICEndPoint.class/class/errorLoginFailed.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICEndPoint.class/class/errorNoConnection.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICEndPoint.class/class/errorNoPasswordSet.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICEndPoint.class/class/errorNoUsernameSet.st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...ages/IMAPClient-Core.package/ICEndPoint.class/class/refreshConnectionIntervalInSeconds.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 @@ | ||
constants | ||
refreshConnectionIntervalInSeconds | ||
|
||
^ 60 * 10 |
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
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICEndPoint.class/instance/host.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 | ||
host | ||
|
||
^ self accountInfo host |
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
7 changes: 1 addition & 6 deletions
7
packages/IMAPClient-Core.package/ICEndPoint.class/instance/refreshConnectionProcess.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,13 +1,8 @@ | ||
connection | ||
refreshConnectionProcess | ||
|
||
| delayTime | | ||
|
||
delayTime := 60 * 10. "Wait for 10 minutes." | ||
|
||
[self isConnected and: [self loggedIn]] | ||
whileTrue: [ | ||
self sendCommand: ICCommand noop. | ||
self fetchNextResponse. | ||
Transcript show: 'Prevent timeout'. | ||
(Delay forSeconds: delayTime) wait] | ||
(Delay forSeconds: self class refreshConnectionIntervalInSeconds) wait] |
4 changes: 3 additions & 1 deletion
4
packages/IMAPClient-Core.package/ICEndPoint.class/instance/rootFolderName.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,6 @@ | ||
accessing | ||
rootFolderName | ||
|
||
^ (SecureHashAlgorithm new hashMessage: self accountInfo host, self accountInfo username) asString first: 10 | ||
^ (SecureHashAlgorithm new | ||
hashMessage: self host, self username) | ||
asString first: self class accountFolderHashRelevantCharacters |
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICEndPoint.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
username | ||
|
||
^ self accountInfo 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
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/accountName.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 | ||
accountName | ||
|
||
^ self endpoint accountInfo accountName |
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/hierarchyDelimiter.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 | ||
hierarchyDelimiter | ||
|
||
^ self endpoint hierarchyDelimiter |
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/parentPath.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 | ||
parentPath | ||
|
||
^ self parent path |
4 changes: 2 additions & 2 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/path.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,6 +1,6 @@ | ||
folder hierarchy | ||
path | ||
|
||
^ (self parent == self endpoint rootFolder) | ||
^ (self parent == self rootFolder) | ||
ifTrue: [ self folderName ] | ||
ifFalse: [ self parent path, self endpoint hierarchyDelimiter, self folderName] | ||
ifFalse: [ self parentPath, self hierarchyDelimiter, self folderName] |
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/rootFolder.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 | ||
rootFolder | ||
|
||
^ self endpoint rootFolder |
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
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICStreamWrapper.class/class/connectionTimeout.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 @@ | ||
constants | ||
connectionTimeout | ||
|
||
^ 10 |
1 change: 0 additions & 1 deletion
1
packages/IMAPClient-Core.package/ICStreamWrapper.class/instance/lastResponse..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,5 +1,4 @@ | ||
accessing | ||
lastResponse: anOrderedCollection | ||
|
||
Transcript show: 'RECEIVED: ', (anOrderedCollection copy truncateTo:50); cr. | ||
lastResponse := anOrderedCollection |
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