Commit Graph

1991 Commits

Author SHA1 Message Date
b22a193014
IPC and peer fixes 2020-10-06 11:55:19 +02:00
ba59131926
Use wait just this once 2020-10-06 11:11:49 +02:00
9511ebab38
Initialize reference database on cleanup 2020-10-06 10:44:53 +02:00
e5ab5cabac
merge branch 'master' of github.com:danog/MadelineProto into master 2020-10-05 19:29:15 +02:00
43bd176908
Bugfix 2020-10-05 19:28:52 +02:00
Alexander Pankratov
e4aa39c624 Allow simple proxy_extra 2020-10-04 20:25:49 +03:00
a21f8205e5
Fix hints 2020-10-04 16:35:33 +02:00
d31b798df9
Final fixes, and update to latest version of websocket lib 2020-10-04 16:27:22 +02:00
d49f59eec5
Various psalm fixes 2020-10-04 14:55:05 +02:00
e3f3e19cf5
Resolve contacts, too 2020-10-04 13:37:27 +02:00
cdeb93b165
Polyfill to_id 2020-10-03 17:41:21 +02:00
118cf244b1
More type improvements 2020-10-03 15:36:03 +02:00
4f69701cfc
Update even more typehints 2020-10-03 15:04:35 +02:00
6076118320
Merge branch 'master' of github.com:danog/MadelineProto into master 2020-10-03 12:37:10 +02:00
967c9b5a93
Improvements for static typing 2020-10-03 12:36:08 +02:00
Alexander Pankratov
34f34964a2 Fix bugs in banned session handler
https://t.me/pwrtelegramgroupru/35066
2020-10-03 02:30:18 +03:00
Alexander Pankratov
58a3efacc6 Set ipc slow mode from settings array 2020-10-03 01:44:29 +03:00
76ca2b19ab
Manual psalm fixes 2020-10-02 16:13:19 +02:00
1da9cad6b9
Improved typehints 2020-10-01 21:36:07 +02:00
76c4fe480c
Further automated improvements 2020-10-01 21:06:37 +02:00
297dca7f2c
Fix smore typehints 2020-10-01 21:04:53 +02:00
ca2cbe4ecb
Add missing return typehints 2020-10-01 21:03:25 +02:00
05a859ea50
Update docs 2020-10-01 20:48:22 +02:00
4fcfe1ccd2
Update to layer 117 2020-10-01 18:02:54 +02:00
d792263e86
Fixes 2020-09-28 23:20:12 +02:00
db24e8e871
Fix nullCache backends 2020-09-28 21:09:10 +02:00
f18e197319
Avoid closing connection if in worker 2020-09-28 17:54:36 +02:00
e5c430dfc9
Minor fixes 2020-09-28 17:19:41 +02:00
f5e4d29db1
Fix serialization 2020-09-28 11:56:14 +02:00
a6b4c0f5cf Further improvements 2020-09-27 23:50:27 +02:00
16040141ae Try setting memory limit 2020-09-27 23:06:57 +02:00
05b6266669 Fix HTTPS 2020-09-27 22:57:52 +02:00
1cd41cc159 Dark magic to allow serializing session to database on shutdown 2020-09-27 22:15:16 +02:00
5560b140f5 Multiple bugfixes 2020-09-27 22:15:16 +02:00
86fc8b6e6e Localize login 2020-09-27 22:15:16 +02:00
c9ebdd0fa8 Add PSR logger, remove CombinedAPI 2020-09-27 22:15:16 +02:00
b0bafaf431 fix 2020-09-27 22:15:16 +02:00
63c52fef50 Add configs to db properties 2020-09-27 22:15:16 +02:00
afaf80d549 Shutdown wrappers, too 2020-09-27 22:15:16 +02:00
5779732cd0 Shutdown wrappers, too 2020-09-27 22:15:16 +02:00
d558d17d1f Implement downloadTo* and uploadFrom* via IPC 2020-09-27 22:15:16 +02:00
2b387b5c0f Implement IPC callbacks 2020-09-27 22:15:16 +02:00
3d9d975f79 Avoid bit width compatibility problems, fix fallback to normal session 2020-09-27 22:15:16 +02:00
6984893103 Update MTProto.php 2020-09-27 22:15:16 +02:00
50ee77c229 Store main session in database 2020-09-27 22:15:16 +02:00
4123941df3 Remove legacy FastAPI 2020-09-27 22:15:16 +02:00
f90159c8bd Finalize IPC API 2020-09-27 22:15:16 +02:00
164000b591 Final IPC improvements 2020-09-27 22:15:16 +02:00
7a550311ac Windows support 2020-09-27 22:15:16 +02:00
bc13e61526 Final fixes 2020-09-27 22:15:16 +02:00
a3a331542b IPC improvements 2020-09-27 22:15:16 +02:00
1c99fd2658 Implement FastAPI in API 2020-09-27 22:15:16 +02:00
bcadbcbe53 Update SqlAbstract.php 2020-09-27 22:15:16 +02:00
89da6d5a45 Serialization and database improvements 2020-09-27 22:15:16 +02:00
0001a45cd2 Completely refactor settings, remove old (internal and external) APIs, generic code cleanup 2020-09-27 22:15:16 +02:00
26d746d749
Update MysqlArray.php 2020-09-18 22:27:11 +02:00
0cc1627220
Fix IPC server 2020-09-18 20:44:30 +02:00
Alexander Pankratov
c643cd063a Fix missing yield 2020-09-17 19:14:41 +03:00
Alexander Pankratov
2b4398bee1
support multiple schemas for photoStrippedSize (#853) 2020-09-13 10:38:13 +02:00
d3dc7a0155 Avoid JSON issues with request field and inflated photo payloads 2020-09-13 01:06:08 +02:00
22dd19a9de
Fix table renaming 2020-09-12 20:14:58 +02:00
e85fef23a5
Yield from reference database 2020-09-12 20:01:34 +02:00
9df1e27780
Add redis backend 2020-09-12 19:06:42 +02:00
5a5c02e56b
Improve caching mechanism, deduplicate SQL code 2020-09-12 17:12:23 +02:00
5567490c7a
Improve performance of memory backend and misc fixes 2020-09-12 15:14:26 +02:00
1c45c6c65b
Async reference/min database 2020-09-12 14:24:57 +02:00
07248a4803
Merge branch 'new_db_properties' of https://github.com/xtrime-ru/MadelineProto into xtrime-ru-new_db_properties 2020-09-12 14:03:56 +02:00
e188d647c6
Increase version 2020-09-12 13:59:57 +02:00
ce41b6b60b
Avoid database issues in async TL callbacks 2020-09-12 13:50:49 +02:00
2e7f8b38a7
Update to layer 117 2020-09-12 12:50:22 +02:00
c5d12ac95d Do not use typehint to avoid 32-bit issues 2020-09-12 00:21:42 +02:00
16719ec28f
Check output buffering level 2020-09-11 09:30:08 +02:00
Alexander Pankratov
2f81a14b95 Encode non-utf-8 symbols in keys 2020-09-10 12:00:40 +03:00
Alexander Pankratov
b90e92ee68 Move min and reference databases from memory 2020-09-10 12:00:40 +03:00
1d323a7e4b
Do not unset file references 2020-09-02 14:00:38 +02:00
a5e18e0afd
Change a few defaults 2020-08-29 17:58:02 +02:00
d4ca5f1d47
Use internalLoop 2020-08-27 19:23:34 +02:00
c4cf967198
Try setting signal handler before passing control to loop 2020-08-27 18:04:55 +02:00
d07e290ca6
Start web version too 2020-08-10 14:07:40 +02:00
b103ac3087
Merge branch 'master' of github.com:danog/MadelineProto into master 2020-07-31 20:40:10 +02:00
8eac5cc0ac
Proper exception handling in wsstream 2020-07-31 20:40:04 +02:00
Daniil
226cb3bbd8
Postgres support for sessions (#846) 2020-07-30 19:51:16 +02:00
e618bf36d4
Remove debug 2020-07-28 20:59:29 +02:00
444d55355a
Switch to external loop 2020-07-28 20:39:32 +02:00
553e4c4da0
Fix CDN DCs 2020-07-23 18:08:14 +02:00
cd1716645d
Merge #840 2020-07-14 12:36:40 +02:00
d177762371 Final improvements 2020-07-12 14:08:36 +00:00
bb6f221939 Fixes 2020-07-12 13:04:22 +00:00
86f6887148
IPC improvements 2020-07-12 14:55:21 +02:00
06e347ca85
Move logs 2020-07-12 11:42:53 +02:00
3e15063da0
Fixes 2020-07-12 01:31:51 +02:00
a6fdf813c4
Fixes 2020-07-12 01:27:26 +02:00
45067af046
Final fixes 2020-07-12 01:12:20 +02:00
84ba71475d
Fix redirect 2020-07-12 00:34:09 +02:00
2463fd7261
IPC fixes 2020-07-12 00:17:47 +02:00
699f0660e0
Finalize IPC 2020-07-11 20:13:06 +02:00
c8cdf328c0
Implement IPC 2020-07-11 20:01:54 +02:00
7d29bd84bc
Fixes 2020-07-10 14:50:00 +02:00
bd07a2b4b9
Add missing files 2020-07-10 13:39:56 +02:00
488a42e6c5
Use global session lock 2020-07-09 21:42:06 +02:00