Skip to content

Releases: hpi-swa-teaching/TelegramClient

Squeak64-5.3 20210613-162955

13 Jun 15:29
5bdd69b
Compare
Choose a tag to compare
Pre-release
TestCore implements TestSpy pattern (#393)

* make TestCore implement the Test Spy pattern and add a test

* refactor TestCore query methods

* revert 793dce5 but keep the refactored interface

Squeak64-5.3 20210613-134633

13 Jun 12:46
b135684
Compare
Choose a tag to compare
Pre-release
show senders in chat messages (#387)

* show senders in chat messages

* rebuild lost changes

* fix tests, add TCCUser>>= and hash

* Some formatting

* fix linter test to allow for non-letter method names

* Minor formatting

* test message sender name in ui

* Fixing Linter

* Whoopsies

* fix hash

* test user hash and equality operator

* minor formatting and redundant code removal

* please linter

* Removing defensive parenthesis

Co-authored-by: Jannis Berndt <[email protected]>

Squeak64-5.3 20210611-113336

11 Jun 10:33
4f7b94e
Compare
Choose a tag to compare
Pre-release
Refactor: Linter trailing whitespace (#385)

* Adding a linter test for trailing whitespaces and removing them

* Removing false dot

Squeak64-5.3 20210610-215159

10 Jun 20:51
Compare
Choose a tag to compare
Pre-release
Trunk20210610-215159

Adding a linter test for trailing whitespaces and removing them

Squeak64-5.3 20210610-215257

10 Jun 20:52
bc4b053
Compare
Choose a tag to compare
Pre-release
Split tests into two packages and create new mock cores (#384)

* move UI tests into TCTUTest package

* fix linter issue

* add new packages to baseline

* add test packages

* add basic teleclient mock to allow testing core without tdlib

* add CoreResource

* fix auth tests and CoreResource

* remove ensureAwaitingPhoneNumber

* refactor tests

* remove mocks from core package

* structural changes to debug squot

* add tests-misc package

* add misc package at correct position in directory

* add gitignore and fix .squot file

* re-add files from file in

* add tests-misc to baseline

* add resources method on tdlib testcase

* add message tests

* refactor users tests as a NoTdlibTest

* Code formatting, categorizing and fixing the linter

* add UI package to coverage and adapt other pipelines to new naming and packages

* take some tests out of authTests

* rename screenshot file of testMessageShrinksCorrectly

* Adding Tests for TCUModal and TCUTelegram and TCUAuthentication

* fix linter tests

* fix testTelegramOpensAuthentication

Co-authored-by: Tom Richter <[email protected]>
Co-authored-by: Jannis Berndt <[email protected]>

Squeak64-5.3 20210609-130313

09 Jun 12:03
bc4b053
Compare
Choose a tag to compare
Pre-release
Split tests into two packages and create new mock cores (#384)

* move UI tests into TCTUTest package

* fix linter issue

* add new packages to baseline

* add test packages

* add basic teleclient mock to allow testing core without tdlib

* add CoreResource

* fix auth tests and CoreResource

* remove ensureAwaitingPhoneNumber

* refactor tests

* remove mocks from core package

* structural changes to debug squot

* add tests-misc package

* add misc package at correct position in directory

* add gitignore and fix .squot file

* re-add files from file in

* add tests-misc to baseline

* add resources method on tdlib testcase

* add message tests

* refactor users tests as a NoTdlibTest

* Code formatting, categorizing and fixing the linter

* add UI package to coverage and adapt other pipelines to new naming and packages

* take some tests out of authTests

* rename screenshot file of testMessageShrinksCorrectly

* Adding Tests for TCUModal and TCUTelegram and TCUAuthentication

* fix linter tests

* fix testTelegramOpensAuthentication

Co-authored-by: Tom Richter <[email protected]>
Co-authored-by: Jannis Berndt <[email protected]>

Squeak64-5.3 20210602-132155

02 Jun 12:21
66abfdb
Compare
Choose a tag to compare
Pre-release
Refactor/assert order + linter test (#366)

* renamed app to core, fixed assert order in tests

* add testAssertOrder linter test

* fix args order of two asserts

* rename some missing app to core

Co-authored-by: Paul Ermler <[email protected]>

Squeak64-5.3 20210531-160207

31 May 15:02
34e76c1
Compare
Choose a tag to compare
Pre-release
Feature/group description (#379)

* add initial version of Group description

(cherry-picked from commit f741db64a956c30d5b4a12b0c3fb7e19e8d78604)

* refactor info page description

(cherry-picked from commit ad3d81f2518751f89f53f4ad15eed624a09e5814)

* Solving merge conflicts

* Fixing formatting and corrected screenshot hash

* Adding screenshot test to expectedFailures for Squeak5.2

* Making TCCChat constructor better

Co-authored-by: Jannis Berndt <[email protected]>

Squeak64-5.3 20210531-081523

31 May 07:15
a167fe3
Compare
Choose a tag to compare
Pre-release
Feature/add chat member count in title bar (#381)

* fix spacing in TitleBar

* fix linter

* member count is now displayed when it finished loading, basicGroup member count is now correct

* ui test for chat member count

* test all chats in lists

* Removed the need for shrinkWrap by manually implementing the same thing

* Removed Vivide from baseline

* Updating screenshot test hash

* fixed merge

* Removing cellGap for Squeak 5.2

* hide after addMorphFront to stay compatible with 5.2

* fix formatting, remove unused code

* fix MockData and tests

* remove TCTMockCore

* merge user count

* manually fix some squeak auto merging errors

* fix linter and add extended linter failure info

* Adding newline for linter

Co-authored-by: Paul Ermler <[email protected]>
Co-authored-by: Jannis Berndt <[email protected]>
Co-authored-by: rsommerfeld <[email protected]>

Squeak64-5.3 20210530-203308

30 May 19:33
89884b0
Compare
Choose a tag to compare
Pre-release
Add blocking interface to request a user (#368)

* test TCCCore callback and TCCUser constructor (+5 squashed commit)

Squashed commit:

[28b327f] refactor TCCCore

[153d794] Show message author in group chat notification

[54d9c3a] add user api call with callback for new messages

[fdb11cb] fix sender user id key in message constructor

[54f21dd] Message includes chat object (+1 squashed commits)

Squashed commits:

[f5056f3] show title of chat in notification

* use TCCChat>>newFromNewChatEvent constructor in TCCChatsHandler

* Notification shows sender, chat and more of the message

* TCCNullMessage does not rely on the chat inst var

* fixed most linter tests

* fix some remarks of PR #339

* test API assumptions

* integrate pr feedback

* fix last remarks of PR #339

* fixed most linter tests

* fixed typo in method names

* Swalint considered harmful

* test Notification

* You can't see me

* beautiful acceptance tests

* im done with this linter

* go return yourself

* test message chatID method

* exclude TCTAcceptanceTests from long method test in linter; remove too many inst vars test

* rename testing* -> mock* in TCTAcceptanceTests; use ifFalse in TCUNotification>>chatTitle

* Added class Users and updated Core for promise handling.

* Added test for getUserFor in TCCUsers.

* integrate users getUserFor: into TCCCore

* use TCTNoTDLibCore in acceptance tests

* fix regressions from merge

* remove dead code and move mocks to TCTMocks

* use TCTNoTDLibCore only in specific test in TCTAcceptanceTests

* remove dead code, use NoTDLibCore in Users test (we mock all events)

Co-authored-by: permler <[email protected]>
Co-authored-by: Raphael Kunert <[email protected]>