vysheng / tg

telegram-cli
GNU General Public License v2.0
6.51k stars 1.54k forks source link

test branch #488

Open vysheng opened 9 years ago

vysheng commented 9 years ago

I've added test branch. It uses new version of tgl (also test =)). There no new functionality in client, because I want to make it work first of all. Then I'll add new features to client.

For now probably messaging (except secret chats) should work. Please let me know about problems with this version. Please duplicate bug reports to my telegram. Also replies do not work now, but they should not lead to crashes.

Also you may (or may not, if you are lucky) need to reauthorize. To do it if you didn't use custom configuration delete contents of ~/.telegram-cli folder.

jonnywilliamson commented 9 years ago

WIll have a look at this when I can, away with work for a couple of days. Thanks!!

severeski commented 9 years ago

Remeber ... have fun dude :)

Met vriendelijke groet,Sander Takens

2015-04-23 16:43 GMT+02:00 Jonathan notifications@github.com:

WIll have a look at this when I can, away with work for a couple of days. Thanks!!

— Reply to this email directly or view it on GitHub https://github.com/vysheng/tg/issues/488#issuecomment-95609283.

SyRenity commented 9 years ago

@vysheng Thanks for the update, will give it a try.

By replies, you mean answering contact following his/her message?

vysheng commented 9 years ago

@SyRenity I mean like here https://telegram.org/blog/replies-mentions-hashtags

SyRenity commented 9 years ago

@vysheng Tried the latest version, still need to call dialog_history to be able to contact anyone.

jonnywilliamson commented 9 years ago

@vysheng Hello. My apologies for only finding time this evening to test out the new test branch.

Having problems compiling it at the moment. Looks like it's a problem in loop.c

I've pasted my entire commands and output here. http://pastebin.com/WuMbA0mu

If you think I should revert to a previous commit and try again please let me know and I'll do that.

SyRenity commented 9 years ago

@jonnywilliamson Make sure to switch the tgl subtree to test and pull as well, it solved the compilation issue for me.

jonnywilliamson commented 9 years ago

@SyRenity

Thank you

@vysheng Compiling now!

jonnywilliamson commented 9 years ago

@vysheng - I'm not sure what type of feedback you want at the moment?

Installed the latest commit last night 86352f2985e2794bbbddac91f8dfa1cd22a1fb93 , and everything appears to be working for my requirements.

Long commandline arguments are very nice, some extra info when sending and receiving messages (pts = xxx, pts_count etc), the biggest fix for me is the sending filename to the other person (fixes https://github.com/vysheng/tg/issues/457, https://github.com/vysheng/tg/issues/428, https://github.com/vysheng/tg/issues/389).

I use a lua script, but I probably only utilise about 1% of the features, but it seems to be working for all I currently need from it.

Thanks for keeping the project updated!

Also some big updates today. One in particular that caught my eye was captions for images.

https://telegram.org/blog/captions-places

vysheng commented 9 years ago

@SyRenity @jonnywilliamson the better way is git submodule update --recursive

vysheng commented 9 years ago

I want to know, that it works. I am not sure, that I didn't break anything

vysheng commented 9 years ago

Added layer 28 support.

jonnywilliamson commented 9 years ago

@vysheng - OK. I haven't dealt with submodules before in git. So if I want to pull the latest changes to the TG/test branch AND make sure the correct commit is also in the TGL/test repository, do I just do:

git pull
git submodule update --recursive

or do I only need the second command?

jonnywilliamson commented 9 years ago

Ok Just did a test and I need both. Cool. Another new command learnt :)

Something that is happening to this new version of TG is that it seems to be restarting more often.

I have TG setup to be watched by supervisor and restarted if it crashes. On my old server I am using a version of TG compiled from an old commit. It's been up for 40+ days

The test branch seems to crash a bit more often. What's the best way to log any debug info to provide it to you?

SyRenity commented 9 years ago

You probably mean layer 18, meaning now it's possible to search by username? Does it includes contacting by username as well?

Added layer 28 support.

SyRenity commented 9 years ago

Just tried msg and user_search with @jaconda (another public bot), unfortunately no results.

@vysheng Any idea when the ability to contact user by username will be operational?

luckydonald commented 9 years ago

481: load_photo crashes,Assertion failed: (ev->bev == bev), function read_incoming, file loop.c, line 575.

vysheng commented 9 years ago

try now

luckydonald commented 9 years ago

Working now for me. (Commit 081c65ce8f1cab6ea6b697bed4bd1753f17614f9)

Side note: Is it possible to share the infomation from the debug print "Already downloaded" in json e.g. cached=true ?