Commit Graph

1088 Commits

Author SHA1 Message Date
vysheng
105ccd2821 Merge pull request #618 from Floens/user_status_pack_peer
Add more info to the JSON user status event
2015-06-12 11:54:06 +03:00
vysheng
ae31d58d19 Merge pull request #606 from jonnywilliamson/master
Fix  "bind: Address already in use" error
2015-06-12 11:53:21 +03:00
vysheng
706aed07cb Merge pull request #603 from datamachine/master
Python version support fixes
2015-06-12 11:51:31 +03:00
vysheng
7600da7458 Merge pull request #596 from diff-/patch-1
Adding installation method for Archlinux
2015-06-12 11:49:52 +03:00
Vincent Castellano
4c5f9b797a Add missing null check 2015-06-10 00:28:01 -07:00
luckydonald
4afe21e98a Merge commit '11090500b2f97abe3c2abce1d2ff1bf27164fb6a' into fix_json_more_chat_info
* commit '11090500b2f97abe3c2abce1d2ff1bf27164fb6a':
  Fix typo
  Add install instructions for openSUSE
  lua: added import_chat_link()
  Implement msg.load_*
  Add msg action type enum
  Implement load_ functions
  Add constants for peer types and action types.
2015-06-09 20:35:25 +02:00
luckydonald
82cf03158c Added to group chats: "admin": peer, members.<user>.inviter 2015-06-09 15:51:04 +02:00
Floens
c33e8da795 Use pack_peer instead of pack_user in user_status
Gets more info e.g. the id and flags
2015-06-07 23:21:13 +02:00
Floens
fbff266dca Eliminate code duplication, remove the second argument of json_pack_peer
All callees were using it the same way
2015-06-07 23:21:05 +02:00
Floens
aee4b248a3 Document get_self 2015-06-07 23:19:17 +02:00
Floens
6dd3951948 Add "get_self" command
This executes user_info with our_id
2015-06-07 23:19:07 +02:00
Jonathan Williamson
90ba941804 Fix "bind: Address already in use" error if restart before socket is free 2015-06-05 09:10:03 -07:00
Vincent Castellano
5285cf2bd2 Grammar fixes. 2015-06-05 02:16:42 -07:00
Vincent Castellano
c31a7ef524 Adding doc for how to run script. 2015-06-05 02:05:24 -07:00
Vincent Castellano
c170e98bf7 Remove old docs. 2015-06-05 01:54:07 -07:00
Vincent Castellano
45aa6bf35d Add save_exit to tgl functions. 2015-06-05 01:52:49 -07:00
Vincent Castellano
b979de81ed Adding class attributes. 2015-06-05 01:49:35 -07:00
Vincent Castellano
f1ea76b9bb First pass at improved documentation. 2015-06-05 01:20:18 -07:00
Vincent Castellano
c13880e07c Adding new documentation 2015-06-04 23:37:21 -07:00
Vincent Castellano
495d33e92a Add support for tgl.import_chat_link(str)
Also fix bug with tgl.extf
2015-06-04 22:38:14 -07:00
Vincent Castellano
af9f7b6cfa Use a simple version of repr for Python < 2.7.9
This is due to a bug http://bugs.python.org/issue22023
This addresses https://github.com/vysheng/tg/issues/587
2015-06-04 21:25:49 -07:00
Vincent Castellano
ce2debce38 Merge branch 'master' of github.com:datamachine/tg 2015-06-04 21:05:03 -07:00
Vincent Castellano
0a1a3a9d7a Look for python3.2mu, specifically in Debian 7 2015-06-04 21:04:54 -07:00
Frenda
2930a63f2b Adding installation method for Archlinux 2015-06-04 14:22:37 +04:30
vysheng
11090500b2 Merge pull request #594 from datamachine/master
Fix typo
2015-06-03 11:17:55 +03:00
vysheng
908e4463e5 Merge pull request #593 from jubalh/os-instructions
Add install instructions for openSUSE
2015-06-03 11:17:44 +03:00
Vincent Castellano
e14062ff83 Fix typo 2015-06-02 12:39:17 -07:00
Michael Vetter
0d0be7d079 Add install instructions for openSUSE 2015-06-02 17:26:58 +02:00
vvaltman
a433579dae Merge github.com:vysheng/tg 2015-06-02 15:08:00 +03:00
vvaltman
0723957e93 lua: added import_chat_link() 2015-06-02 15:07:36 +03:00
vysheng
5f7b5e4068 Merge pull request #589 from datamachine/master
New Python Binding Changes
2015-06-02 13:01:09 +03:00
Vincent Castellano
5af46bdcd1 Merge remote-tracking branch 'upstream/master' 2015-06-02 01:36:34 -07:00
Vincent Castellano
ff704275c3 Implement msg.load_* 2015-06-02 01:30:21 -07:00
Vincent Castellano
49951819c5 Add msg action type enum 2015-06-02 01:24:17 -07:00
Vincent Castellano
a515e0c9b4 Implement load_ functions 2015-06-02 01:20:25 -07:00
Vincent Castellano
f37588b1b9 Add constants for peer types and action types. 2015-06-02 01:02:18 -07:00
vvaltman
77cfd51d92 fixed crash on empty photo 2015-06-01 15:44:48 +03:00
vvaltman
d81da1fe8d updated tgl 2015-06-01 14:23:33 +03:00
vvaltman
6f8bb4ce0c updated tgl 2015-06-01 13:30:37 +03:00
vvaltman
e3efc4f798 Merge branch 'master' of github.com:vysheng/tg 2015-06-01 12:34:59 +03:00
vvaltman
44a20ae419 main.c: fixed indents 2015-06-01 12:33:35 +03:00
vvaltman
ba1fb083fb Merge branch 'master' of https://github.com/datamachine/tg into datamachine-master 2015-06-01 12:33:24 +03:00
vysheng
0c573a985f Merge pull request #570 from dsnipe/patch-1
Add required library for OSX
2015-06-01 12:28:45 +03:00
vvaltman
90927315a7 add "ANSWER 0" line on empty answers to socket 2015-06-01 12:07:44 +03:00
Vincent Castellano
f6b14f633c Py_RETURN_NOTIMPLEMENTED macro not available in 2.7 2015-05-31 23:24:21 -07:00
Vincent Castellano
05c52fd498 Add global link preview method tgl.set_link_preview(bool) 2015-05-31 22:20:24 -07:00
Vincent Castellano
63f64a8e70 Adding tgl.safe_exit() 2015-05-31 22:20:24 -07:00
Vincent Castellano
cbe442b7c6 Add __hash__ to tgl.Peer. 2015-05-31 22:20:24 -07:00
Vincent Castellano
c2bb5346df Adding tgl.Peer comparisons, only eq/ne 2015-05-31 22:20:24 -07:00
Vincent Castellano
13c22f3b06 Need to pass tuple to a method call 2015-05-31 22:20:23 -07:00