-
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
Lorenz Woth
committed
Aug 7, 2020
1 parent
322ba3b
commit 0c92e9b
Showing
415 changed files
with
1,180 additions
and
1,201 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
10 changes: 0 additions & 10 deletions
10
packages/IMAPClient-Core.package/ICAccountInfo.class/README.md
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,11 +1 @@ | ||
An ICAccountInfo is a dataobject holding information needed to connect to a server such as server address and user credentials. It also ensures basic IMAP datatype validity. | ||
|
||
Instance Variables | ||
|
||
accountName: Name of the account set by the user. | ||
host: Hostname of the IMAP server. | ||
port: Port of the IMAP service on the server. Default: 993. | ||
username: Username to login at the IMAP server. | ||
password: Password of the user to login at the server. Will be deleted after login. | ||
|
||
|
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: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/^equals.st
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/accountNameUnused.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,5 @@ | ||
validating | ||
accessing | ||
accountNameUnused | ||
|
||
^ ICEndPoint connectionConfigurations | ||
noneSatisfy: [:each | (self accountName) = (each accountName)] | ||
noneSatisfy: [:credDict | (self accountName) = (credDict at: 'accountName')] |
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/asDictionary.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 @@ | ||
converting | ||
accessing | ||
asDictionary | ||
|
||
| dict | | ||
|
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/canConvert..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 @@ | ||
validating | ||
validation | ||
canConvert: aString | ||
|
||
^ ('"|\\' asRegex matchesIn: aString) isEmpty |
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/eraseStoredPassword.st
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/hasValidServerInfo.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 @@ | ||
validating | ||
validation | ||
hasValidServerInfo | ||
|
||
^ self host ~= self class invalidHost | ||
|
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/hasValidUserInfo.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 @@ | ||
validating | ||
validation | ||
hasValidUserInfo | ||
|
||
^ self username ~= self class invalidUsername | ||
|
5 changes: 0 additions & 5 deletions
5
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/hash.st
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/isValid.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 @@ | ||
validating | ||
validation | ||
isValid | ||
|
||
^ self hasValidServerInfo and: [self hasValidUserInfo] |
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/passwordAsIMAPString.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 @@ | ||
converting | ||
accessing | ||
passwordAsIMAPString | ||
|
||
^ '"', self password, '"' |
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICAccountInfo.class/instance/usernameAsIMAPString.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 @@ | ||
converting | ||
accessing | ||
usernameAsIMAPString | ||
|
||
^ '"', self 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
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: 2 additions & 2 deletions
4
packages/IMAPClient-Core.package/ICAddressBook.class/README.md
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,2 +1,2 @@ | ||
An ICAddressBook is a collection for the user's contacts containing email addresses of all accounts. | ||
This is a singleton which can be accessed with #new. | ||
An ICAddressBook is a collection for the user's contacts containing email addresses as entries. | ||
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICAddressBook.class/class/new.st
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICAddressBook.class/instance/addEmail..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 @@ | ||
action | ||
crud | ||
addEmail: aString | ||
|
||
self addIfNotPresent: aString | ||
|
8 changes: 8 additions & 0 deletions
8
packages/IMAPClient-Core.package/ICAddressBook.class/instance/change.with..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,8 @@ | ||
crud | ||
change: anOldEmailString with: aNewEmailString | ||
|
||
| entryToUpdate | | ||
entryToUpdate := self find: anOldEmailString. | ||
|
||
self remove: entryToUpdate. | ||
self addEmail: aNewEmailString |
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICAddressBook.class/instance/find..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 @@ | ||
action | ||
crud | ||
find: anEntry | ||
|
||
| index | | ||
|
3 changes: 2 additions & 1 deletion
3
packages/IMAPClient-Core.package/ICAddressBook.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
7 changes: 0 additions & 7 deletions
7
packages/IMAPClient-Core.package/ICEmail.class/class/newFromJsonStream..st
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
packages/IMAPClient-Core.package/ICEmail.class/instance/^equals.st
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICEmail.class/instance/bodyAsString.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 @@ | ||
converting | ||
bodyAsString | ||
|
||
^ self body asString | ||
|
8 changes: 8 additions & 0 deletions
8
packages/IMAPClient-Core.package/ICEmail.class/instance/deleteEmail.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,8 @@ | ||
endpoint interaction | ||
deleteEmail | ||
|
||
| anICEndPoint | | ||
|
||
anICEndPoint := self folder endpoint select: self folder path. | ||
self deleteEmailFromDisk. | ||
anICEndPoint deleteEmail: self |
5 changes: 5 additions & 0 deletions
5
packages/IMAPClient-Core.package/ICEmail.class/instance/deleteEmailFromDisk.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,5 @@ | ||
action | ||
deleteEmailFromDisk | ||
|
||
self folder removeMail: self. | ||
FileDirectory default deleteFileNamed: (self maildirFileName, FileDirectory slash, self uniqueID) |
7 changes: 0 additions & 7 deletions
7
packages/IMAPClient-Core.package/ICEmail.class/instance/deserializeFrom..st
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/IMAPClient-Core.package/ICEmail.class/instance/hash.st
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICEmail.class/instance/headerAsString.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 @@ | ||
converting | ||
headerAsString | ||
|
||
| headerFields | | ||
|
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICEmail.class/instance/maildirFileName.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 | ||
maildirFileName | ||
|
||
^ self folder endpoint maildirFileName |
10 changes: 10 additions & 0 deletions
10
packages/IMAPClient-Core.package/ICEmail.class/instance/minimalHeaderAsString.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,10 @@ | ||
minimalHeaderAsString | ||
|
||
^ | ||
'Content-Type: ', self contentType, String cr, | ||
'Content-Transfer-Encoding: ', self contentTransferEncoding, String cr, | ||
'from: ', self from, String cr, | ||
'to: ', self to, String cr, | ||
'subject: ', self subject, String cr, | ||
'date: ', self date |
Oops, something went wrong.