Andrea Cavalli
152595963b
Fix
2022-07-12 18:35:08 +02:00
Andrea Cavalli
e31131b62c
Load chats after startup
2022-07-12 17:53:52 +02:00
Dhina17
3d0efdb5cd
common: utils: Beautify the console readline too
...
- Now it aligns with Scanner
2022-07-10 11:29:44 +05:30
Andrea Cavalli
93d501dbbf
Fix typo
2022-05-20 10:26:15 +02:00
Andrea Cavalli
53cc412d5a
Fix exports
2022-04-09 02:46:33 +02:00
Andrea Cavalli
9f1a4e5292
Lazy initialization of tdlib native library
2022-02-25 15:48:13 +01:00
Andrea Cavalli
9c682cc666
Update response receiver
2022-01-12 18:21:53 +01:00
Andrea Cavalli
901e446ba4
Update client manager
2022-01-12 18:17:08 +01:00
Andrea Cavalli
0390481825
Reduce overhead
2022-01-11 15:39:25 +01:00
Andrea Cavalli
39bbe60e50
Remove duplicate shutdown hooks
2021-12-08 11:51:18 +01:00
Andrea Cavalli
b27c736866
Use TDLib 1.7.10, add BOM, fix null updates, rewrite pom.xml
...
Fix #64 : null updates sent to the updates handler
Fix gradle import issue (#61 ) by rewriting the maven dependency structure, and adding a BOM to being able to keep the natives version in sync with tdlight-java version
Fix #63 by adding the required dependencies for windows, linux and macOS in the README.md
2021-12-08 02:24:23 +01:00
Andrea Cavalli
5bbe67f68f
Avoid errors during startup/shutdown
2021-11-09 15:59:59 +01:00
Andrea Cavalli
868c6bd366
Cleanup code
2021-11-06 11:48:53 +01:00
Andrea Cavalli
ca67a5620b
Bugfix
2021-10-24 01:11:13 +02:00
Andrea Cavalli
4f3c8cb6b7
Update
2021-10-24 01:03:16 +02:00
Andrea Cavalli
d79cf305cb
Bugfix
2021-10-24 00:38:28 +02:00
Andrea Cavalli
9bfd22b57d
Add askAuthData in consoleLogin
2021-10-24 00:33:57 +02:00
Andrea Cavalli
e4bda0a3c7
Use interruptible readLine
2021-10-24 00:22:47 +02:00
Andrea Cavalli
52541b0ca8
Use scanner if no console is found
2021-10-24 00:12:01 +02:00
Andrea Cavalli
9e7f2c8f75
Remove scanner
2021-10-23 23:50:42 +02:00
Andrea Cavalli
be04d8ac40
Reduce default verbosity level
2021-10-23 03:09:46 +02:00
Andrea Cavalli
75df4b0b46
Fix NPE
2021-10-23 02:29:25 +02:00
Andrea Cavalli
a10d73a535
Fix version misprint
2021-10-23 01:58:08 +02:00
Andrea Cavalli
eed9a189b5
Improve error messages
2021-10-23 01:46:27 +02:00
Andrea Cavalli
1ed9a7739e
Improve library loading
2021-10-23 01:25:23 +02:00
Andrea Cavalli
bc3246913a
Deploy snapshot if no tag is found
2021-10-22 20:20:31 +02:00
Andrea Cavalli
c0a275ae87
Reimplement legacy logging
2021-10-22 19:53:23 +02:00
Andrea Cavalli
708cff9e05
Fix compilation issues
2021-10-22 13:33:03 +02:00
Andrea Cavalli
e0f70138c1
Code cleanup
2021-10-22 12:54:28 +02:00
Andrea Cavalli
c3cdefe5c3
Separate native versions, add editorconfig
2021-10-22 12:45:25 +02:00
Andrea Cavalli
f46bcd6a1d
Call GetVersion() instead of GetAuthorizationState()
...
👀
2021-10-21 18:56:48 +02:00
Andrea Cavalli
6558bd9ba9
Performance optimization
...
Reuse the same arrays
Clear only the range that needs to be cleared
Reduce the MAX_EVENTS constant to 100
2021-10-21 09:52:59 +02:00
Andrea Cavalli
887d95f2c2
Optionally skip shutdown wait
2021-10-21 00:52:57 +02:00
Andrea Cavalli
646330ae19
Use generics to check tdlib functions return types
2021-10-20 23:51:06 +02:00
Andrea Cavalli
d0992fa7a9
Fix phone number parsing
2021-10-20 02:13:24 +02:00
Andrea Cavalli
32e936bee0
Print errors in the console if exceptions are not handled ( #50 )
2021-10-16 20:23:13 +02:00
Andrea Cavalli
aa1d93d97a
Configurable shutdown hook
2021-10-06 20:43:57 +02:00
Andrea Cavalli
c39f101002
Close the clients when the JVM is shutting down
2021-10-06 20:39:53 +02:00
Andrea Cavalli
d273db0df9
Unregister closed clients
2021-10-06 11:47:48 +02:00
Andrea Cavalli
9b449fd3a8
Stop clients when interrupted
2021-10-05 13:46:38 +02:00
Andrea Cavalli
7ed2df1f4f
Stop anyway if the thread is interrupted
2021-10-05 12:36:47 +02:00
Andrea Cavalli
e1465d4cb1
Close tdlib receiver on jvm shutdown
2021-10-05 12:25:28 +02:00
Andrea Cavalli
fceec2a6ec
Reimplement reactive client using simple listeners
2021-10-03 23:51:58 +02:00
Andrea Cavalli
606335512f
Log timed out queries
2021-10-02 22:52:27 +02:00
Andrea Cavalli
4f9405225d
Add logging marker
2021-10-02 16:35:53 +02:00
Andrea Cavalli
2f50d407d7
Ignore aborted requests errors
2021-10-02 16:28:44 +02:00
Andrea Cavalli
19d3a845ef
Add timeouts in reactive telegram clients
2021-10-02 15:15:42 +02:00
Andrea Cavalli
a4393e2769
Ask login parameters explicitly
2021-09-28 00:20:54 +02:00
Andrea Cavalli
ff712809b5
Add shutdown hook
2021-09-28 00:19:34 +02:00
Andrea Cavalli
88ca5ce8ac
Show QR code into the console
2021-09-27 22:52:12 +02:00