Commit Graph

1991 Commits

Author SHA1 Message Date
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
1e690d1a8f
Avoid certain issues 2020-07-09 20:53:01 +02:00
4923eec9cd
2GB file limit, async RPC reporting, file reference and MTProto fixes 2020-07-09 18:23:16 +02:00
bfd08f5744
Fix shutdown loop, automatically inflate stripped photoSizes, improve composer reporter 2020-06-23 20:30:40 +02:00
58e0985d33
Misc fixes 2020-06-20 13:03:15 +02:00
d9a471678b
fix 2020-06-16 17:54:25 +02:00
69f33dce34
Layer 113 2020-06-16 17:52:55 +02:00
0e9f107754
Merge branch 'master' of github.com:danog/MadelineProto 2020-06-15 20:08:06 +02:00
e147fe3695
Clean up 2020-06-15 20:06:48 +02:00
Alexander Pankratov
321787f718 Disable isset, optimize getInstance, concurrent offsetSet 2020-06-11 00:23:35 +03:00
Alexander Pankratov
ca03bc662a New mysql cache cleanup 2020-06-09 01:48:06 +03:00
Alexander Pankratov
2aab5e8cc8 getParticipantsHash generator fix 2020-06-07 21:56:54 +03:00
Alexander Pankratov
1e23970ab3 DbArray refactoring and convertation improvement 2020-06-07 01:20:03 +03:00
Alexander Pankratov
e0832390ce Type fixes 2020-05-23 15:10:47 +03:00
Alexander Pankratov
7c1b602779 Fix Undefined index: value in ArrayCacheTrait.php:34 2020-05-23 15:10:47 +03:00
Alexander Pankratov
d0e57f2535 Decrease default cache_ttl 2020-05-23 15:10:47 +03:00
Alexander Pankratov
fea71efc99 Upgrade for MysqlArray initialization 2020-05-23 15:10:47 +03:00
Alexander Pankratov
9016a7c0dd Allow dots in mysql table names 2020-05-23 15:10:47 +03:00
Alexander Pankratov
fa1d73009d Add more async requests 2020-05-23 15:10:47 +03:00
Alexander Pankratov
123e3fadfd Remove unavailable method call 2020-05-23 15:10:47 +03:00
Alexander Pankratov
912577617e Mysql try ... catch 2020-05-23 15:10:47 +03:00
Alexander Pankratov
8254360d2f MemoryArray undefined offset fix 2020-05-23 15:10:47 +03:00
Alexander Pankratov
6cf1ef504f Always fill usernames cache. Cache fixes. 2020-05-23 15:10:47 +03:00
Alexander Pankratov
dedf20ea1b Update create table statements. 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ab168ce655 Additional mysql settings 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ae9edd5512 Mysql errors catch 2020-05-23 15:10:47 +03:00
Alexander Pankratov
46f7e63734 Async refactor 2020-05-23 15:10:47 +03:00
Alexander Pankratov
a883684f05 Cache for Mysql Data Provider 2020-05-23 15:10:47 +03:00
Alexander Pankratov
26abf9f04e Bugfixes and optimizations 2020-05-23 15:10:47 +03:00
Alexander Pankratov
0d191f4157 Bugfixes and optimizations 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ed493330a6 Database properties types 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ff7d93f52d phpDoc fix 2020-05-23 15:10:47 +03:00
Alexander Pankratov
21750f8d68 Allow downloadToResponse for media without size 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ddc81d8764
Allow downloadToResponse for media without size (#817) 2020-05-23 14:08:04 +02:00
Alexander Pankratov
d5b2cbefd3
Fix memory leaks when downloading files to callback. (#816) 2020-05-22 12:30:14 +02:00
17e85d361c
Merge 2020-04-29 14:57:21 +02:00
995a4228c9
Report memory usage 2020-04-29 14:43:43 +02:00
giuseppeM99
1f71ef8258
Pollfix (#805)
* Add support for quiz solutions
also throws execeptions

* Style fix
2020-04-24 20:14:42 +02:00
giuseppeM99
234065987a
Update to layer v112 (#804)
* Update to layer v112
TL file taken from tdlib

* Added TL file
2020-04-24 11:16:10 +02:00
77a955c25e
More psalm fixes 2020-04-05 22:22:47 +02:00
8b80396ddb
Further psalm fixes 2020-04-05 15:33:01 +02:00
23e3c5b12c
Apply misc fixes 2020-04-05 14:57:33 +02:00
979d7575fc
Update docs 2020-04-03 14:10:46 +02:00
giuseppeM99
eb43707118
Add support for layer 111 (#782) 2020-03-31 17:30:25 +02:00
832aff00da
Properly set call layer 2020-03-28 17:10:35 +01:00
6720ffff79
32-bit filename bugfix 2020-03-28 11:42:02 +01:00
iDavidef
ae00a307a0
Bugfix that fixes stuff (#779) 2020-03-20 16:24:20 +01:00
68e3f99757
Bugfix 2020-03-20 15:13:40 +01:00
93bd9073e1
Bugfix 2020-03-14 17:29:49 +01:00
ce0e12c747
More fixes 2020-03-08 17:36:29 +01:00
0a467beb53
Misc bugfixes 2020-03-08 17:24:31 +01:00
ec2719db4e
Small cleanups 2020-03-07 21:45:50 +01:00
a545e3463e
Possibly fix upgrade issue 2020-03-06 14:30:00 +01:00
2a5a84a6f1
Add scheme file 2020-03-06 13:17:10 +01:00
91d730ab66
Update to layer 110 2020-03-06 13:11:40 +01:00
5232d477b4
Update to layer 110 2020-03-06 13:09:52 +01:00
32acc99581 Improvement for factorization 2020-03-04 01:08:19 +01:00
74187b8132 Bugfix 2020-03-03 00:15:21 +01:00
80f162a116 Bugfix 2020-03-03 00:08:39 +01:00
c0af617862
Update settings when upgrading 2020-03-01 17:36:55 +01:00
55d4de2df9
Update for latest php-libtgvoip 2020-03-01 16:31:56 +01:00
38382bf053
Link eventHandler APIFactory 2020-02-28 16:02:19 +01:00
997b3d3b3b
Misc improvements 2020-02-28 15:19:11 +01:00
98e56ba62f
ipv6 fixes 2020-02-28 14:14:02 +01:00
883ace5d3c Bugfix 2020-02-27 00:36:33 +01:00
936729ba45 Bugfix 2020-02-27 00:05:53 +01:00
43ee5342f4
Bugfix 2020-02-26 19:17:46 +01:00
5af7130b25
Further public API improvements 2020-02-26 18:12:00 +01:00
fe8e795f8a
Bugfixes 2020-02-26 15:59:34 +01:00
b0d512b77d
Reduce boilerplate 2020-02-26 15:15:37 +01:00
86672d6683
Add startAndLoopBackground method 2020-02-26 14:14:26 +01:00
e50dd79e70
Send the logfile when reporting errors 2020-02-26 12:45:30 +01:00
753e6575ac
Bugfix 2020-02-26 11:47:30 +01:00
f22263ed78
Provide DNS fallback 2020-02-26 00:11:06 +01:00
e03e707815
Final fixes 2020-02-25 19:10:49 +01:00
b5267beaa2
Refactor and clean up serialization and APIFactory APIs, automatically unreference instance on destruction to clean up memory 2020-02-25 18:02:32 +01:00
82599e686e
Merge branch 'master' of github.com:danog/MadelineProto 2020-02-23 19:30:11 +01:00
c3270a5c63
Add native error reporting functions and slash boilerplate 2020-02-23 19:28:42 +01:00
Sean
dfe9edb132
Update copyrights (#767) 2020-02-17 14:13:46 +01:00
ebd4245d9d bugfix 2020-02-15 22:03:41 +01:00
0aa75af3e4
Upload from stream 2020-02-15 20:02:32 +01:00
5d50e90f59
Update Noop.php 2020-02-15 14:45:21 +01:00
df8f50dff8
Update Events.php 2020-02-15 14:34:53 +01:00
6b2f812a7e
Add stripped inflater 2020-02-13 14:04:00 +01:00
c8635c12d6
Bugfix 2020-02-12 21:15:22 +01:00
afbc6a3e0e
Make logging less verbose 2020-02-12 18:51:53 +01:00
23d27e4d47
Final fixes 2020-02-12 18:36:11 +01:00
4289661094
Fix file download 2020-02-12 18:16:08 +01:00
e4d56f32c2
Merge branch 'master' of github.com:danog/MadelineProto 2020-02-09 19:29:34 +01:00
4b1cf229e5
Adding getUrl command in the downloadbot 2020-02-09 17:29:39 +01:00
47228712a6
Improve tests 2020-02-09 16:24:57 +01:00
3b21304d8b
Implement downloadToBrowser and downloadToResponse methods 2020-02-08 19:32:36 +01:00
f899fc56e6 Create mIdHandler on startup 2020-02-08 01:51:07 +01:00
bdd86d4efb
7.0 backwards compatiblity 2020-02-07 21:23:29 +01:00
f8ea85a551
Performance improvements 2020-02-07 21:13:49 +01:00
17bacd1389 Improve multi logic 2020-02-06 02:44:00 +01:00
36495bffe9
Improve composer reporter 2020-02-05 23:11:29 +01:00
c0a0c693e3
Bugfix 2020-02-05 21:21:31 +01:00
2e3f49ef36
Enable DataCenter tests 2020-02-05 19:01:48 +01:00
377b266d7b
Bugfix 2020-02-05 18:47:36 +01:00
ce94a70263
Fully implement bot API file IDs 2020-02-05 18:41:37 +01:00