Skip to content

Commit

Permalink
Merge origin/develop into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jkubuni committed Jun 22, 2024
2 parents ec98917 + e2f8a4e commit 68554e3
Show file tree
Hide file tree
Showing 27 changed files with 194 additions and 81 deletions.
142 changes: 74 additions & 68 deletions .squot-materialize
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
[
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.squot'
],
#encoding : 'TXT'
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.github',
Expand All @@ -14,124 +8,145 @@
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.github',
'ISSUE_TEMPLATE',
'feature_request.md'
'.smalltalk.release.ston'
],
#encoding : 'TXT'
},
SquotCypressMapper {
#package : MCPackage {
#name : 'TelegramClientTests-Core'
},
#path : FSAbsolutePath [
'packages'
]
},
SquotCypressMapper {
#package : MCPackage {
#name : 'TelegramClientTests-Misc'
},
#path : FSAbsolutePath [
'packages'
]
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.gitignore'
'.smalltalk.lint.ston'
],
#encoding : 'TXT'
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'CONTRIBUTING.md'
'.github',
'ISSUE_TEMPLATE',
'bug_report.md'
],
#encoding : 'TXT'
},
SquotCypressMapper {
#package : MCPackage {
#name : 'TelegramClientTests-UI'
#name : 'TelegramClient-UI'
},
#path : FSAbsolutePath [
'packages'
]
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.smalltalk.ston'
'.github',
'ISSUE_TEMPLATE',
'feature_request.md'
],
#encoding : 'TXT'
},
SquotCypressMapper {
#package : MCPackage {
#name : 'BaselineOfTelegramClient'
},
SquotImageMapper {
#path : FSAbsolutePath [
'packages'
]
'assets',
'logo.png'
],
#encoding : Class [ #PNGReadWriter ]
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'README.md'
'.gitignore'
],
#encoding : 'TXT'
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.smalltalk.release.ston'
'LICENSE'
],
#encoding : 'TXT'
},
SquotPlaintextMapper {
SquotImageMapper {
#path : FSAbsolutePath [
'.github',
'ISSUE_TEMPLATE',
'bug_report.md'
'assets',
'playbutton.jpg'
],
#encoding : 'TXT'
#encoding : Class [ #JPEGReadWriter2 ]
},
SquotCypressMapper {
#package : MCPackage {
#name : 'TelegramClient-UI'
},
SquotImageMapper {
#path : FSAbsolutePath [
'packages'
]
'assets',
'play_circle_outline_icon.png'
],
#encoding : @23
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'CONTRIBUTING.md'
],
#encoding : 'TXT'
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.github',
'workflows',
'main.yml'
'ci-linter.yml'
],
#encoding : 'TXT'
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.github',
'stale.yml'
'README.md'
],
#encoding : 'TXT'
},
SquotCypressMapper {
#package : MCPackage {
#name : 'TelegramClientTests-Misc'
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'packages'
]
'.github',
'workflows',
'main.yml'
],
#encoding : 'TXT'
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.github',
'pull_request_template.md'
'stale.yml'
],
#encoding : 'TXT'
},
SquotImageMapper {
#path : FSAbsolutePath [
'assets',
'logo.png'
'file-icon.png'
],
#encoding : Class [ #PNGReadWriter ]
#encoding : @23
},
SquotCypressMapper {
#package : MCPackage {
#name : 'TelegramClientTests-Core'
#name : 'TelegramClientTests-UI'
},
#path : FSAbsolutePath [
'packages'
]
},
SquotPlaintextMapper {
SquotCypressMapper {
#package : MCPackage {
#name : 'BaselineOfTelegramClient'
},
#path : FSAbsolutePath [
'.smalltalk.lint.ston'
],
#encoding : 'TXT'
'packages'
]
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
Expand All @@ -142,15 +157,7 @@
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'LICENSE'
],
#encoding : 'TXT'
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.github',
'workflows',
'release.yml'
'.smalltalk.ston'
],
#encoding : 'TXT'
},
Expand All @@ -162,26 +169,25 @@
'packages'
]
},
SquotImageMapper {
SquotPlaintextMapper {
#path : FSAbsolutePath [
'assets',
'playbutton.jpg'
'.squot'
],
#encoding : Class [ #JPEGReadWriter2 ]
#encoding : 'TXT'
},
SquotPlaintextMapper {
#path : FSAbsolutePath [
'.github',
'workflows',
'ci-linter.yml'
'release.yml'
],
#encoding : 'TXT'
},
SquotImageMapper {
SquotPlaintextMapper {
#path : FSAbsolutePath [
'assets',
'play_circle_outline_icon.png'
'.github',
'pull_request_template.md'
],
#encoding : @40
#encoding : 'TXT'
}
]
Binary file modified assets/playbutton.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added file-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
data-represantation of a single text message in a chat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
instance creation
newFrom: aJsonObject

^ self new
filename: ((aJsonObject at: 'document') at: 'file_name');
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
asSnippet

^ self filename
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
asText

^ self filename
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
filename: aString

filename := aString
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
filename

^ filename
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"class" : {
"newFrom:" : "AH 6/21/2024 14:02" },
"instance" : {
"asSnippet" : "AH 6/21/2024 13:54",
"asText" : "AH 6/21/2024 13:54",
"filename" : "AH 6/21/2024 13:54",
"filename:" : "AH 6/21/2024 13:55" } }
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"category" : "TelegramClient-Core",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "<historical>",
"instvars" : [
"filename" ],
"name" : "TCCDocumentMessage",
"pools" : [
],
"super" : "TCCMessage",
"type" : "normal" }
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"class" : {
},
"extractPathFrom:" : " 6/22/2024 13:42:57",
"imageFormFrom:" : " 6/22/2024 13:42:57",
"newWith:" : " 6/22/2024 13:42:57" },
"instance" : {
} }
"core" : " 6/22/2024 13:42:57",
"core:" : " 6/22/2024 13:42:57",
"getFormFor:" : " 6/22/2024 13:42:57",
"getFormPromiseFor:" : " 6/22/2024 13:42:57",
"requestImageFor:with:" : " 6/22/2024 13:42:57" } }
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ newMessageWith: aJsonObject
['messagePhoto'] -> [TCCPhotoMessage newFrom: aJsonObject].
['messageVideo'] -> [TCCVideoMessage newFrom: aJsonObject].
['messageSticker'] -> [TCCStickerMessage newFrom: aJsonObject].
['messageDocument'] -> [TCCDocumentMessage newFrom: aJsonObject].
['messageChatAddMembers'] -> [TCCAddMembersMessage newFrom: aJsonObject].
['messageChatDeleteMember'] -> [TCCDeleteMemberMessage newFrom: aJsonObject].
} otherwise: [TCCNotSupportedMessage new]
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"class" : {
"maxReplySnippetSize" : "rgw 5/12/2022 16:05",
"newFromMessageEvent:in:with:" : "rgw 6/2/2022 09:01",
"newMessageWith:" : "TU 6/14/2024 09:39",
"newMessageWith:" : "AH 6/21/2024 14:29",
"timeStampToDateAndTime:" : "JB 5/16/2021 09:42" },
"instance" : {
"asReplySnippet" : "rgw 5/12/2022 16:05",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{
"class" : {
"extractPathFrom:" : " 6/22/2024 13:42:57",
"imageFormFrom:" : "JK 6/21/2024 13:46",
"newWith:" : "JK 6/20/2024 22:18" },
"newWith:" : "JK 6/20/2024 22:18",
"stickerFormFrom:" : " 6/22/2024 13:42:57" },
"instance" : {
"core" : " 6/22/2024 13:42:57",
"core:" : " 6/22/2024 13:42:57",
"downloadStickerSet:" : "JK 6/19/2024 11:33",
"getFormFor:" : " 6/22/2024 13:42:57",
"getFormPromiseFor:" : " 6/22/2024 13:42:57",
"getInstalledStickers" : "JK 6/5/2024 11:37",
"loadStickerIds" : "JK 6/20/2024 23:39",
"requestStickerFor:with:" : "JK 5/16/2024 21:40",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"class" : {
},
"extractPathFrom:" : " 6/22/2024 13:42:57",
"imageFormFrom:" : " 6/22/2024 13:42:57" },
"instance" : {
"getFormFor:" : " 6/22/2024 13:42:57",
"getFormPromiseFor:" : " 6/22/2024 13:42:57",
"getVideoFor:" : "JK 6/12/2024 19:48",
"getVideoPromiseFor:" : "JK 6/12/2024 19:56" } }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a single text message displayed in a TCUMessageList
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
asset
getIcon

^ (GitAssetLoader for: 'TelegramClient') loadForm: 'file-icon.png'

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
default values
maxHeight

^ 200
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
constructing
addContent

self addIcon.
self addText
Loading

0 comments on commit 68554e3

Please sign in to comment.