Skip to content

Commit effdb35

Browse files
committed
Merge origin/develop into develop
2 parents 6feaa10 + 4d9f20d commit effdb35

File tree

18 files changed

+56
-32
lines changed

18 files changed

+56
-32
lines changed

README.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
TelegramClient is a **Squeak-Client** for the widely used Telegram-Messenger. It aims to provide features such as Authentication, Contacts, Message and Media sending and a minimal UI as well as as a Zen-mode and receiving messages in the background.
1717

18-
*This Project is part of the "Softwaretechnik" Lecture 2020 at the Hasso Plattner Institute.*
18+
The current TelegramClient doesn't works because the TDLib (Version 1.8.0) is outdated and is not longer supported [further informations](https://github.com/hpi-swa-teaching/TelegramClient/wiki/TDLib#maintanance-required---updating-tdlib).
19+
20+
*This Project is part of the "Softwaretechnik" Lecture since 2020 at the Hasso Plattner Institute.*
1921

2022
## Features
2123

@@ -77,14 +79,34 @@ TelegramClient is a **Squeak-Client** for the widely used Telegram-Messenger. It
7779
</tr>
7880
<tr>
7981
<td>🖼</td>
80-
<td>Show profile pictures</td>
82+
<td>Show profile pictures, also in info screen</td>
83+
</tr>
84+
<tr>
85+
<td>🖼️</td>
86+
<td>Display, choose and send static sticker</td>
87+
</tr>
88+
<tr>
89+
<td>:)</td>
90+
<td>Display emoji as substitute for an animated sticker</td>
91+
</tr>
92+
<tr>
93+
<td>🙋</td>
94+
<td>Display, participate, create and send polls</td>
95+
</tr>
96+
<tr>
97+
<td>🎬</td>
98+
<td>view and send videos</td>
99+
</tr>
100+
<tr>
101+
<td>📄</td>
102+
<td>view, download and send documents</td>
81103
</tr>
82104
</tbody>
83105
</table>
84106

85107
## Running TelegramClient
86108

87-
We currently only support Squeak 5.3.
109+
We currently only support Squeak 6.
88110

89111
### Option 1 (online installation)
90112

@@ -123,11 +145,15 @@ Pre-Releases are created automatically whenever a commit is added to the develop
123145

124146
## Our Group
125147

148+
Group 13 of the 2024 SWT I module included [Jannes Konarski](https://github.com/gitjannes), [Tebbe Ubben](https://github.com/TebbeUbben), [Jonas Kubeler](https://github.com/jkubuni), [Elia Doumerc](https://github.com/elimatao), [Fabian Möller](https://github.com/famoe03), and [Alexander Ho](https://github.com/ShAlexHo08HPI).
149+
126150
Group 11 of the 2022 SWT I module included [Richard Wohlbold](https://github.com/rgwohlbold), [Til Bergmann](https://github.com/Till-B), [Antony Kamp](https://github.com/antonykamp), [Lucas Reisener](https://github.com/LucasDerReisende), [Erik Kohlros](https://github.com/kohlros), and [Jacob Schäfer](https://github.com/jacob271).
127151

128152
Group 2 of the 2021 SWT I module included [Romeo Sommerfeld](https://github.com/rsommerfeld), [Raphael Kunert](https://github.com/Storyxx), [Jannis Berndt](https://github.com/jb3rndt), [Philipp Keese](https://github.com/phkeese), [Tom Richter](https://github.com/tom-richter), and [Paul Ermler](https://github.com/permler).
129153

130-
Group 13 of the 2020 SWT I module included [Rohan Sawahn](https://github.com/rohansaw), [Jonas Schmidt](https://github.com/schmidtjonas), [Frederik Wollny](https://github.com/Freddy200), [Stefan Spangenberg](https://github.com/sspangenberg), [Lukas Laskowski](https://github.com/lasklu), and [Niklas Schilli](https://github.com/Mrnikbobjeff). Feel free to add your names to the list.
154+
Group 13 of the 2020 SWT I module included [Rohan Sawahn](https://github.com/rohansaw), [Jonas Schmidt](https://github.com/schmidtjonas), [Frederik Wollny](https://github.com/Freddy200), [Stefan Spangenberg](https://github.com/sspangenberg), [Lukas Laskowski](https://github.com/lasklu), and [Niklas Schilli](https://github.com/Mrnikbobjeff).
155+
156+
Feel free to add your names to the list.
131157

132158
## Acknowledgements
133159

packages/TelegramClient-Core.package/TCCCore.class/instance/handleMessageEvent..st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ handleMessageEvent: anEvent
33

44
| message |
55
message := anEvent at: 'message'.
6-
self chatsHandler handleNewMessage: message
6+
self chatsHandler handleNewMessage: message.

packages/TelegramClient-Core.package/TCCCore.class/instance/handlePendingEvent..st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ handlePendingEvent: anEvent
44
| callbackId |
55
callbackId := anEvent at: '@extra'.
66
(self pendingRequests at: callbackId) value: anEvent.
7-
self pendingRequests removeKey: callbackId ifAbsent: []
7+
self pendingRequests removeKey: callbackId ifAbsent: [].
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
accessing
22
pendingRequests: aDictionary
33

4-
pendingRequests := aDictionary
4+
pendingRequests := aDictionary.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
sending
22
send: aRequest
33

4-
self client send: aRequest
4+
self client send: aRequest.
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
sending
22
send: aRequest thenDo: aBlock
33

4-
| callbackId |
5-
6-
callbackId := self registerCallback: aBlock.
7-
aRequest at: '@extra' put: callbackId.
8-
self send: aRequest
4+
aRequest at: '@extra' put: (self registerCallback: aBlock).
5+
self send: aRequest.

packages/TelegramClient-Core.package/TCCCore.class/instance/tryHandleError..st

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ tryHandleError: anError
1010
otherwise: [
1111
((anError at: 'message') beginsWith: 'Can''t lock file')
1212
ifTrue: [UIManager default inform: TCCErrorConstants tdlibAlreadyInUse]
13-
ifFalse: [self halt: 'An Error Occured. Check Transcript Output.']].
13+
ifFalse: [self halt: 'An Error Occured. Check Transcript Output.']
14+
].

packages/TelegramClient-Core.package/TCCCore.class/methodProperties.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"generateCallbackId" : "pk 8/5/2021 17:04",
2121
"getOwnProfile" : "pk 8/5/2021 17:05",
2222
"handleEvent:" : "JK 5/16/2024 22:13",
23-
"handleMessageEvent:" : "rgw 5/12/2022 13:44",
24-
"handlePendingEvent:" : "per 8/2/2021 15:05",
23+
"handleMessageEvent:" : "ED 7/12/2024 14:58",
24+
"handlePendingEvent:" : "ED 7/12/2024 14:58",
2525
"imageStore" : "pk 6/19/2021 17:15",
2626
"imageStore:" : "TR 6/22/2021 09:33",
2727
"initialize" : "JK 7/12/2024 12:55",
@@ -30,17 +30,17 @@
3030
"loggedInUserId" : "pk 8/5/2021 17:04",
3131
"loggedInUserId:" : "pk 8/5/2021 17:04",
3232
"pendingRequests" : "pk 5/13/2021 09:46",
33-
"pendingRequests:" : "pk 5/13/2021 09:46",
33+
"pendingRequests:" : "ED 7/12/2024 14:59",
3434
"receiveLoop" : "rgw 7/24/2022 14:56",
3535
"registerCallback:" : "pk 8/5/2021 17:04",
3636
"searchChat:" : "pk 8/5/2021 16:39",
37-
"send:" : "rgw 6/2/2022 09:43",
38-
"send:thenDo:" : "rgw 6/2/2022 09:46",
37+
"send:" : "ED 7/12/2024 14:59",
38+
"send:thenDo:" : "ED 7/12/2024 15:00",
3939
"sendPhoneNumber:" : "RS 7/31/2021 15:57",
4040
"setUserId:" : "pk 8/5/2021 17:05",
4141
"stickerStore" : "JK 5/16/2024 21:25",
4242
"stickerStore:" : "JK 5/16/2024 21:25",
43-
"tryHandleError:" : "aka 5/21/2022 12:07",
43+
"tryHandleError:" : "ED 7/12/2024 15:01",
4444
"update" : "TU 6/28/2024 03:18",
4545
"userStore" : "per 7/15/2021 12:56",
4646
"userStore:" : "tr 7/25/2021 17:57",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
instance creation
22
newAnimatedStickerFrom: aJsonObject
33

4-
^ TCCAnimatedStickerMessage newFrom: aJsonObject.
4+
^ TCCAnimatedStickerMessage newFrom: aJsonObject

packages/TelegramClient-Core.package/TCCStickerMessage.class/methodProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"class" : {
3-
"newAnimatedStickerFrom:" : "JK 5/31/2024 11:36",
3+
"newAnimatedStickerFrom:" : "ED 7/12/2024 14:20",
44
"newFrom:" : "JK 6/23/2024 11:39" },
55
"instance" : {
66
"asSnippet" : "JK 6/23/2024 14:32",

0 commit comments

Comments
 (0)