Commit Graph

88 Commits

Author SHA1 Message Date
Kris Moore
62371377f0 Fix building on FreeBSD and install server.pub file to correct
location
2014-11-18 15:08:02 -05:00
Vysheng
2c340e59bf Detached libtgl 2014-11-12 17:39:22 +03:00
Vysheng
56fe7bed54 Refactored code a bit to better separation of library. Library can now be compiled without libevent. 2014-10-24 21:43:08 +04:00
Grishka
4882b0adb5 Add an option to use IDs instead of names
Useful for bots
2014-10-12 04:27:34 +04:00
mk-pmb
e914359a18 print config dir debug info only if output is enabled 2014-10-10 13:49:30 +02:00
mk-pmb
09bb322d7e When creating a new config, determine config dir by default strategy. 2014-10-10 13:30:17 +02:00
mk-pmb
fab13d7722 add support for XDG_CONFIG_HOME as per FreeDesktop basedir spec 2014-10-10 11:34:47 +02:00
mk-pmb
9804997b19 pick home and config path from environment if set. 2014-10-10 10:59:39 +02:00
vvaltman
e5419d2da6 Check return code when downloading files 2014-10-02 23:20:03 +04:00
vvaltman
ecdec4620d Added '-e' option 2014-10-02 22:54:06 +04:00
Vysheng
641f9a8e88 Fixed typo 2014-10-02 15:00:37 +04:00
Pietro Cerutti
a9139222fb netinet/in.h is required for struct sockaddr_in
main.c:739:24: error: variable has incomplete type 'struct sockaddr_in'
    struct sockaddr_in serv_addr;
2014-10-02 10:14:55 +02:00
Vysheng
3eeeb5d03e Fixed absolute path for downloads 2014-09-29 18:38:06 +04:00
Vysheng
ce1d3a1369 Fixed readline_disable mode 2014-09-23 18:39:28 +04:00
Vysheng
c03d91a574 Fixed small memory leaks. Added functions to clear most part of data 2014-09-23 16:58:49 +04:00
vvaltman
6f51f9662b Support for unix sockets 2014-09-23 02:23:40 +04:00
vvaltman
091b0608cb Added listening socket support 2014-09-21 02:22:35 +04:00
Vysheng
04630cb0e9 Added reset authorization key 2014-09-18 17:57:23 +04:00
Vysheng
466aa0bd76 Fixed small memory leaks 2014-09-18 14:11:23 +04:00
vvaltman
1a921e70d4 added SIGUSR1 handler to rotate logs 2014-09-10 01:01:22 +04:00
Vysheng
c85f085244 Merge github.com:vysheng/tg
Conflicts:
	main.c
2014-09-09 22:07:30 +04:00
Vysheng
e23f4e3333 Added -U and -G keys to make setuid and setgid at start if started as root 2014-09-09 22:05:56 +04:00
vvaltman
4fe0014a66 Added [-D] (disable output) key 2014-09-09 21:05:36 +04:00
Vysheng
95e9c69b9c Fixed config search 2014-09-09 19:10:01 +04:00
Vysheng
bda16d36be Daemonize options 2014-09-09 19:01:27 +04:00
vvaltman
e179f25fe9 Added PFS support. Parallel auth_key generation. Small bug fixes 2014-08-29 17:33:15 +04:00
vvaltman
ea6af6a163 Fixed name 2014-08-27 01:06:59 +04:00
vvaltman
a00f67c3a8 Added disable_readline. Do not try read stdin, after end of stdin reached 2014-08-26 22:26:00 +04:00
vvaltman
dc38df0694 Updated test lua script 2014-08-26 20:30:30 +04:00
vvaltman
aa4e46f8a3 Fixed args parse 2014-08-25 04:54:12 +04:00
vvaltman
49eb22916b interface updates 2014-08-25 04:11:41 +04:00
vvaltman
e57b7064bb Fixed licenses. libtgl is now distributed under LGPL 2.1+ 2014-08-22 02:02:43 +04:00
Vysheng
e5f524b0a8 fix queries_num 2014-08-22 15:45:16 +04:00
vvaltman
d33d24d1f0 changes 2014-08-21 07:24:52 +04:00
Vysheng
6707c11952 updates 2014-08-21 19:38:51 +04:00
vvaltman
cedc1d17d4 many fixes 2014-08-15 02:16:01 +04:00
Vysheng
e2e7d0c906 fixes 2014-08-15 18:57:43 +04:00
Vysheng
b12ca53816 many updates 2014-08-14 22:03:33 +04:00
vysheng
fe08f0c5e7 more code 2014-08-14 01:31:24 +00:00
Vysheng
bf86f75604 fixes 2014-08-13 19:55:16 +04:00
Vysheng
418cad58d1 Some refactoring 2014-08-13 16:56:55 +04:00
Dennis Koot
50059df3ed better list of options for -h 2014-02-27 10:17:07 +01:00
antma
8b632ed4d4 replace ENABLE_LIBCONFIG by HAVE_LIBCONFIG (use macro AC_CHECK_LIBdefault ACTION-IF-FOUND behavior)
fix unused write result in undefined HAVE_EXECINFO_H case
2014-02-05 15:07:58 +04:00
Vysheng
12e8e5c7b7 Added /etc/telegram/server.pub as default server public key place 2014-02-04 20:35:16 +04:00
Vysheng
57cff060a3 Added -W key to wait dialog list before processing input 2014-02-03 19:50:57 +04:00
Vysheng
051a64fb76 main.c: fixed gcc warning. 2014-02-03 19:26:43 +04:00
vysheng
75ac98863a Update main.c 2014-02-03 16:19:41 +03:00
antma
7a76b66fe2 remove printf from signal handlers
use AC_SEARCH_LIB in configure.ac (shorter code)
replace '-lm -lcrypto -lz' by  @LIBS@ in Makefile.in and AC_CHECK_LIB macros in configure.ac
replace NO_BACKTRACE by HAVE_EXECINFO_H
2014-02-03 16:25:09 +04:00
Vysheng
ec0d7274be main.c: deleted include execinfo if no backtrace needed 2014-01-30 15:49:26 +04:00
Vysheng
50bec2d164 Added cygwin fixes 2014-01-30 15:01:16 +04:00