-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
* removed trunk (#130) * removed trunk also in main.yml (#134) * removed trunk * also changed main.yml * Fixed .sqout and package structure (#120) * fix for linter * replaced ui package Co-authored-by: Jonas Schmidt <jonas.schmidt@student-hpi.de> * Fixed installation Instructions * fixed linux installation instructions * added FFI installation instruction * detailled instruction 2, removed instruction 5 * Update Windows installation instructions * Fixed image link * Removed duplicate text Co-authored-by: sspangenberg <49531479+sspangenberg@users.noreply.github.com> Co-authored-by: Niklas Schilli <schillinik@yahoo.de> * Refactored chatsList and added Back Button at Auth (#135) * added tccchats * added tccrequest * fixed tdparams * fixes * Fixed UI problems * Now properly sorting chatsList * Started refactoring loading of Chats. This is only a Backup commit if squeak crashes! * Now cleanly handling loading of Chats with ChatsHandler. But order not working yet * removed accidental halt * addChat is now part of ChatsHandler * Added BackButton, in case that User enters wrong phone number and want to go a step back * Merged Dev into this branch Co-authored-by: Jonas Schmidt <jonas.schmidt@student.hpi.de> * Revert "Refactored chatsList and added Back Button at Auth (#135)" (#136) This reverts commit 43fc1d2. * Refactored chatsList to follow tdLib standards (#137) * small fixes * removed debugging code * added tccchats * added tccrequest * fixed tdparams * fixes * Fixed UI problems * Now properly sorting chatsList * Started refactoring loading of Chats. This is only a Backup commit if squeak crashes! * Now cleanly handling loading of Chats with ChatsHandler. But order not working yet * removed accidental halt * addChat is now part of ChatsHandler * Added BackButton, in case that User enters wrong phone number and want to go a step back Co-authored-by: Jonas Schmidt <jonas.schmidt@student-hpi.de> Co-authored-by: Jonas Schmidt <jonas.schmidt@student.hpi.de> Co-authored-by: Jonas Schmidt <mail@schmidt-jonas.de> * Sending of Messages added (#138) * added tccchats * added tccrequest * fixed tdparams * fixes * Fixed UI problems * Now properly sorting chatsList * Started refactoring loading of Chats. This is only a Backup commit if squeak crashes! * Now cleanly handling loading of Chats with ChatsHandler. But order not working yet * removed accidental halt * addChat is now part of ChatsHandler * added send message methods in core without ui wip * merge * random merge * merge fix * Fixed identation * Satisfiying linterTests - categorized all uncategorized * Removed Legacy Stuff Co-authored-by: Jonas Schmidt <jonas.schmidt@student.hpi.de> Co-authored-by: Frederik Wollny <cfwy@gmx.de> Co-authored-by: Jonas Schmidt <mail@schmidt-jonas.de> * Support sending Messages via UI (#139) * Can now selected and deselct chats - hiding and showing inputField for sending Message to this chat * Added Welcome Message and Listeners * Send Button and TextInput added, needs to be connected to Core now * Connected UI to chat sending * Linter Tests satisfied now :) * classified class-side methods * Custom Linting Tests and Refactoring of Testing Package (#140) * started editing linting rules * refactoring linter tests * some linter fixes * formatting linter * no more testing for ffi methods * wip linting * custom linter tests yay * better custom linter tests * more linter tests * class comments and scoped environment for faster testing * some fixes * linter fixes * refactoring * refactored to make all linter tests happy * final linting changes * removed two tests * Added Support for Telegram TestDatabase Service (#142) * added TCUApp newWithTCCTestApp for automatic test db login * Refactored so that TestApp and TestAuthHandler inherits from parent. They are now located in TCT Package * Added LoginWithTestData method for TCCApp to use our registered TestData and directly be logged In * Satisfying Linter now :) Co-authored-by: Frederik Wollny <cfwy@gmx.de> * Added running command to Readme (#147) * Added some fancy stuff in the README * Moved logout button Moved logout button to the top right corner * Added a Messages-Window displaying sent messages per chat (#151) * displaying messages and fixed logout button * changed structure for chatlist and added better redrawing logic * fixed linting problems Co-authored-by: Rohan Sawahn <rohan.sawahn@student.hpi.de> * fixed wrong links * removed unnecessary method Co-authored-by: Jonas Schmidt <43679965+schmidtjonas@users.noreply.github.com> Co-authored-by: Jonas Schmidt <jonas.schmidt@student-hpi.de> Co-authored-by: Lasklu <49564344+Lasklu@users.noreply.github.com> Co-authored-by: sspangenberg <49531479+sspangenberg@users.noreply.github.com> Co-authored-by: Rohan Sawahn <49531442+rohansaw@users.noreply.github.com> Co-authored-by: Jonas Schmidt <jonas.schmidt@student.hpi.de> Co-authored-by: Jonas Schmidt <mail@schmidt-jonas.de> Co-authored-by: Frederik Wollny <cfwy@gmx.de> Co-authored-by: Rohan Sawahn <rohan.sawahn@student.hpi.de>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,39 @@ | ||
# TelegramClient | ||
## CI Status | ||
Develop: ![CI](https://github.com/hpi-swa-teaching/TelegramClient/workflows/CI/badge.svg?branch=develop) | ||
Master(Release): ![CI](https://github.com/hpi-swa-teaching/TelegramClient/workflows/CI/badge.svg?branch=master) | ||
<p align="center"><img width=50% src="https://i.ibb.co/VHG620F/Telegram-unterschrift.png"></p> | ||
|
||
|
||
<p align="center"> | ||
<a href="https://github.com/hpi-swa-teaching/TelegramClient/commits/" title="Last Commit"><img src="https://img.shields.io/github/last-commit/hpi-swa-teaching/TelegramClient?style=flat"></a> | ||
<a href="https://github.com/hpi-swa-teaching/TelegramClient/issues" title="Open Issues"><img src="https://img.shields.io/github/issues/hpi-swa-teaching/TelegramClient"></a> | ||
<a href="https://github.com/hpi-swa-teaching/TelegramClient/actions" title="Build Status"><img src="https://github.com/hpi-swa-teaching/TelegramClient/workflows/CI/badge.svg?branch=develop"></a> | ||
<a href="https://github.com/hpi-swa-teaching/TelegramClient/stargazers" title="Stars"><img src="https://img.shields.io/github/stars/hpi-swa-teaching/TelegramClient"></a> | ||
<a href="./LICENSE" title="License"><img src="https://img.shields.io/github/license/hpi-swa-teaching/TelegramClient"></a> | ||
</p> | ||
|
||
TelegramClient is a **Squeak-Client** for the widely used Telegram-Messenger. It provides features such as Authentication, Contacts, Message and Media sending and a minimal, clean UI. We also provide features such as a Zen-mode and receiving messages in the background. | ||
## Overview | ||
TeleSqueak is a **Squeak-Client** for the widely used Telegram-Messenger. It provides features such as Authentication, Contacts, Message and Media sending and a minimal, clean UI. We also provide features such as a Zen-mode and receiving messages in the background. | ||
|
||
*This Project is part of the "Softwaretechnik" Lecture 2020 at the Hasso Plattner Institute.* | ||
|
||
## CI Status | ||
Develop: ![CI](https://github.com/hpi-swa-teaching/TelegramClient/workflows/CI/badge.svg?branch=develop) | ||
Master(Release): ![CI](https://github.com/hpi-swa-teaching/TelegramClient/workflows/CI/badge.svg?branch=master) | ||
|
||
## Installation | ||
Make sure you have the current version of Squeak installed. | ||
1. Install the Squeak Git Client | ||
2. Install the Squeak FFI Workload | ||
3. Download the required native Binaries for your system. | ||
* [Windows](https://drive.google.com/open?id=14tOoIfxioIe8bn2kPxPKmCk_Eg0tSYiJ) | ||
* [Mac](https://drive.google.com/open?id=1H2l_V6zkIx4t_SKQKL3MmdtvOV2haFjV) | ||
* [Ubuntu 18 lts](https://drive.google.com/open?id=1CpSPcB-5MPA95fEWI-X5MxbUEZUcU3g2) | ||
4. Place the unzipped binaries inside of your squeak image. On Windows, place them inside the Win32 folder, on Linux and Mac Os place them inside the resources folder. | ||
* Step 1: Install the Squeak Git Client | ||
* Step 2: Install the Squeak FFI Workload. To do so, open the Workspace in Squeak and execute the following command: `(Installer repository: 'http://source.squeak.org/FFI') | ||
install: 'FFI-Pools'; | ||
install: 'FFI-Kernel'.` | ||
* Step 3: Download the required native Binaries for your system. [Windows](https://drive.google.com/open?id=14tOoIfxioIe8bn2kPxPKmCk_Eg0tSYiJ), [Mac](https://drive.google.com/open?id=1H2l_V6zkIx4t_SKQKL3MmdtvOV2haFjV), [Ubuntu 18 lts](https://drive.google.com/open?id=1CpSPcB-5MPA95fEWI-X5MxbUEZUcU3g2). | ||
* Step 4: Place the unzipped binaries inside of your squeak image. On Windows, place them inside the Win32 folder, on Linux in "Contents/Linux-x86_64/lib/squeak/\<versionnumber>/" and on Mac place them inside the resources folder. | ||
* Step 5 (Windows only): Install Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019: [32Bit](https://aka.ms/vs/16/release/vc_redist.x86.exe) or [64Bit](https://aka.ms/vs/16/release/vc_redist.x64.exe) | ||
|
||
## Running TelegramClient | ||
In a workspace window execute the command | ||
In a workspace window execute the command `TCUApp newWithTCCApp` | ||
|
||
## Building Tdlib | ||
Tdlib build instructions are available on their Github page. They also have a wonderful build instruction generator available which was the basis for our workflow . [Check it out here.](https://tdlib.github.io/td/build.html) | ||
|
||
# Notes on Tdlib | ||
## Notes on Tdlib | ||
The TelegramClient is build on the TelegramDatabseLibrary which provides access to Telegram API via a JSON-Interface. | ||
We include Tdlib library in our project and can access the C-Library via FFI from Squeak, giving us the possibility to access the Telegram API via JSON-Interface. |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This abstract factory can be used to create a new TeleClient. |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Creation | ||
creation | ||
createClient: anOsName | ||
|
||
^ self subclassResponsibility |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The main component for the core, that handles incoming events. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
as yet unclassified | ||
newTestApp |
This file was deleted.