Skip to content

Commit

Permalink
Merge 5fd2c19 into 6108533
Browse files Browse the repository at this point in the history
  • Loading branch information
timgarrels committed Jul 26, 2019
2 parents 6108533 + 5fd2c19 commit 82be194
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ populate: anEmail withHeadersFrom: aHeaderChunk
headerField := (aHeaderChunk first subStrings: ' ') first.
(headerField includesSubString: ':') ifTrue: [headerField := headerField allButLast].

aHeaderContentChunk := (aHeaderChunk joinSeparatedBy: ' ') copyReplaceFrom: 1 to: (aHeaderChunk first indexOf: $:) + 1 with: String empty.
aHeaderContentChunk := ((aHeaderChunk joinSeparatedBy: ' ')
copyReplaceFrom: 1
to: (aHeaderChunk first indexOf: $:)
with: String empty) withoutLeadingBlanks.

method := (self parseMethods at: headerField ifAbsent: nil).
method ifNil: [Transcript show: 'WARNING: No method for parsing Header field:', headerField; cr]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"populate:withContentType:" : "pm 7/25/2019 17:37",
"populate:withDate:" : "pm 7/25/2019 17:37",
"populate:withFlags:" : "pm 7/25/2019 17:37",
"populate:withHeadersFrom:" : "pm 7/25/2019 17:34",
"populate:withHeadersFrom:" : "tg 7/26/2019 11:06",
"populate:withReceiver:" : "pm 7/25/2019 17:37",
"populate:withSender:" : "pm 7/25/2019 17:38",
"populate:withSubject:" : "pm 7/25/2019 17:38",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
login
login


| accountInfo |
(self password = nil)
ifTrue: [
UserDialogBoxMorph inform: 'Please put in a password' title: ''.
self inform: 'Please put in a password'.
^ self].

self data at: 'password' put: (self password asString).

((ICEndPoint new) testAccountWith: (ICAccountInfo newWith: data))
[accountInfo := ICAccountInfo newWith: data.]
on: Error
do: [:e | self inform: e asString. ^ self].

((ICEndPoint new) testAccountWith: accountInfo)
ifTrue: [
self folderDialogInstance addPasswordToCollection: (self data).
self window abandon]
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"data:" : "pm 6/9/2019 17:14",
"folderDialogInstance" : "C.G. 7/25/2018 14:25",
"folderDialogInstance:" : "pm 6/9/2019 17:14",
"login" : "tg 7/11/2019 10:04",
"login" : "tg 7/26/2019 11:45",
"loginWithPassword:" : "fr 6/13/2019 14:39",
"password" : "C.G. 7/25/2018 14:25",
"password:" : "fr 6/13/2019 14:44",
Expand Down

0 comments on commit 82be194

Please sign in to comment.