Commit graph

49 commits

Author SHA1 Message Date
mjentsch
5c488f9c8d Support downloads from foreign DCs 2014-10-02 12:29:02 +02:00
Christopher Althaus
164620f65d Add show user icons in buddy list 2014-09-20 23:20:14 +02:00
mjentsch
bb87200d5f Fix a bug that caused old messages to not be loaded on startup
Do not overwrite state file with secret chat file, provide flag for complete sync from start in do_get_difference
2014-09-18 22:26:08 +02:00
mjentsch
d94dc52df0 Remove remaining global variables 2014-09-01 21:43:22 +02:00
Christopher Althaus
fa9d45bd20 User State/Typing implemented
Send Messages activated
2014-08-23 16:23:37 +02:00
mjentsch
7ee334ec37 Fix user registration 2014-08-23 02:52:04 +02:00
mjentsch
1170ae5710 Implement state machine for dc discovery and login. 2014-08-08 08:45:58 +02:00
mjentsch
9e5b4ca5ec Refactor - Intermediate Commit 3 2014-08-06 19:45:46 +02:00
mjentsch
8a2c043db4 Refactor - Intermediate Commit 2 2014-07-29 15:36:59 +02:00
mjentsch
ed7aa7de5b Refactor Intermediate State 1 2014-07-29 15:36:59 +02:00
mjentsch
a005c015cd Implement phone number registration
When the current phone number is not registered with the telegram network, ask for first and last name and proceed with the regular sms-code authentication scheme.
2014-06-15 19:58:49 +02:00
mjentsch
62090b3ca0 Implement login and authentication mechanism and fix the logging mechanism
Use purple debugging functions by formatting the string beforehand and then passing the readily formatted string, instead of doing it with va_list. Log into the telegram network using the provided SMS code and hash or request a new one, in case one of those isn't provided. Store and load the state using the file config/auth, to be able to restore previous logins.
2014-06-15 13:38:38 +02:00
René van Dorst
a76d633705 Added command create_group_chat <user> <chat topic>.
Currently it supports only 1 user on creation.
Use chat_add_user to add more users to the chat.
2014-02-25 21:13:14 +01:00
Jeroen Bobbeldijk
046b0ce109 Fully working phone call support, might need some tweaks and checks 2014-02-24 07:59:20 +01:00
Vysheng
7de612f5f8 added delete/restore messages queries 2014-01-24 19:05:41 +04:00
vysheng
5069568590 Fixed load audio 2014-01-17 18:16:35 +04:00
Vysheng
03bd7f55a9 Fixed bug in document loading 2013-12-20 19:45:59 +04:00
Vysheng
ee1f45ec3d Manty fixes. Mostly binlog for messages 2013-11-30 01:43:56 +04:00
Vysheng
849d6a33a6 Sometimes new binlog works 2013-11-21 23:35:49 +04:00
Vysheng
f3edaaa346 Partial support for binlog. It now can track user, secret chat and auth updates. 2013-11-15 04:08:24 +04:00
vysheng
b93c9549f2 Added files for binlog 2013-11-13 04:11:25 +04:00
Vysheng
f16fdbe5c8 Fixed CE 2013-11-09 14:00:51 +04:00
vysheng
e297e27118 Added queries online/offline/contacts_search 2013-11-09 13:51:07 +04:00
vysheng
d95af09b30 Added queries to add/delete user to group 2013-11-07 04:08:16 +04:00
vysheng
dd3fb59dbe Add suggested contacts query 2013-11-07 02:46:17 +04:00
vysheng
a725c0959f Support for chat create 2013-11-06 02:24:26 +04:00
vysheng
a0ba6cc7c3 Many improvements in encrypted chats. Can not send/download encrypted messages, for example 2013-11-05 03:15:24 +04:00
vysheng
180cfd22f2 Partial support for encrypted chats. 2013-11-04 21:34:27 +04:00
vysheng
b6085fe801 Somthing fixed. Don't know what 2013-11-01 23:57:57 +04:00
Vysheng
2ae2406a91 Added search query. But it seems, that search does not use stemmer 2013-11-01 19:02:28 +04:00
vysheng
a18b898122 id for users and chats renamed to peer_id_t. This will make implementing secure chats and geochats easier 2013-11-01 03:18:34 +04:00
vysheng
f7be3b41cc Added add_contact/rename_contact queries 2013-10-30 14:10:16 +04:00
vysheng
6a804fcfb9 Fixed inerface 2013-10-30 04:08:30 +04:00
vysheng
27ee6923df Changed authorization. Sorry, if that fails anything. Now supports download of photos from other DC 2013-10-28 03:10:40 +04:00
vysheng
9565455d3f Load photo/video. Now works only with current DC. 2013-10-27 23:35:02 +04:00
Vysheng
c27ce7f6cb Support for chat rename 2013-10-26 02:33:17 +04:00
Vysheng
138198d0f8 Restart query on bad server salt 2013-10-26 01:08:52 +04:00
vysheng
f458444193 fwd message 2013-10-25 23:50:10 +04:00
vysheng
4fd6b44219 Added user_info query 2013-10-25 21:29:02 +04:00
Vysheng
0230038845 Ask dialog list at start. Try resend query on timeout 2013-10-25 02:32:13 +04:00
vysheng
e5cc589a0f Added GPL-headers to source files 2013-10-23 18:26:17 +04:00
vysheng
94d55325b4 Added chat_info query. Fixed interface 2013-10-23 14:24:59 +04:00
vysheng
db8a7a774b Some fixes 2013-10-22 19:28:41 +04:00
vysheng
b1d8835540 Added send_text query 2013-10-22 12:36:07 +04:00
Vysheng
1c0ba265f0 Support for sending photos. Some fixed bugs. Slightly changed interface 2013-10-21 22:24:31 +04:00
vysheng
6cc1b3d349 Fixed small bug. Changed interface 2013-10-18 23:30:24 +04:00
Vysheng
e40ae9590d Many bug fixes. Added dialog_list query 2013-10-18 20:00:47 +04:00
Vysheng
a8a18a8076 Sometimes updates work 2013-10-16 23:19:39 +04:00
Vysheng
3243c29a8c Big commit 2013-10-12 00:52:20 +04:00