KurimuzonAkuma
4e2d553f35
Ignore PersistentTimestamp errors
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:11 +07:00
KurimuzonAkuma
ee8f11e2a0
Extract recovering gaps into a separate method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:11 +07:00
RabbitFoRed
d062b6795f
pyrofork: fix "Ignoring non-existent module error" warning when using a paths string as plugin root dir. ( #94 )
...
example code:
app = Client(...., plugins=dict(root="bot/plugins", exlude=['toremove']))
warning:
pyrogram.client - [UNLOAD] Ignoring non-existent module "bot/plugins.toremove"
2024-09-07 20:50:12 +07:00
wulan17
1d0ad21328
pyrofork: fix peer_id saved as raw id in usernames table
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-21 16:12:48 +07:00
Martin Müller
4c99132f3b
Fix documentation URLs
2024-07-25 12:44:47 +02:00
shriMADhav U k
fb2d49efbd
Add business_user_connection_cache similar to message_cache
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:29:23 +07:00
KurimuzonAkuma
8584ea3599
Allow to specify a limit to message cache size
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-14 20:29:20 +07:00
Artem Ukolov
bb4ea00d4e
Implement non-blocking TCP connection ( KurimuzonAkuma/pyrogram#71 )
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:32 +07:00
wulan17
7c0481d2f0
Partial Revert "pyrofork: Handle FLOOD_PREMIUM_WAIT"
...
This reverts commit e414aa2812 .
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:09 +07:00
KurimuzonAkuma
a592c984fa
pyrofork: Fix recovering gaps in case of private channel
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:50 +07:00
KurimuzonAkuma
4aa4d1a74a
pyrofork: Add skip_updates parameter to Client class
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:41 +07:00
KurimuzonAkuma
ef002e0416
pyrofork: Add support for clicking web app and user profile buttons
...
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:02 +07:00
shriMADhav U k
e414aa2812
pyrofork: Handle FLOOD_PREMIUM_WAIT
...
Squashed commit of the following:
commit 546b603
commit 0ac858d
commit c8a9725
Ref: https://t.me/swiftgram/72
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:34:47 +07:00
KurimuzonAkuma
92e4ca845b
Increase watchdog interval to 15 minutes
...
https://core.telegram.org/api/updates#recovering-gaps
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-03-23 18:50:28 +07:00
KNF Apps
4b8fceecdc
fix(client): add FloodWait exception to media download
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-22 23:25:13 +07:00
wulan17
b36a46efc0
Pyrofork: Move ListenerTypes to pyrogram.enums
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-13 12:09:40 +07:00
wulan17
7a7225b08f
Pyrofork: Move pyromod's client bound methods to its own class
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-13 12:09:40 +07:00
˹ᴧɴσɴʏᴍσᴜs ꭙ˼
79e6db333f
Pyrofork: Add missing import #37
2023-12-12 20:32:36 +07:00
Cezar H
8aee144313
Added Conversation Support Based on Pyromodv2
...
Co-authored-by: Alisson Lauffer <alissonvitortc@gmail.com>
Co-authored-by: Yasir Aris M <git@yasirdev.my.id>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-11-25 21:51:41 +07:00
wulan17
c7985b5131
Pyrofork: only load MongoStorage module when pymongo is available #32
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-11-17 22:17:20 +07:00
wulan17
db576b8a2f
Pyrofork: Storage: MongoStorage: Save fragment username(s) to sessions database
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-26 19:17:53 +07:00
wulan17
acb08eb990
PyroFork: Add custom storage support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:33 +07:00
Animesh Murmu
b43b20351f
Pyrofork: Add Mongodb Session Storage
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Use session name as database name, add some parameters informations and some cleanup (#3 )
Changes to be committed:
modified: pyrogram/client.py
modified: pyrogram/storage/mongo_storage.py
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: storage: mongo: Use existing database connection
support both async_pymongo and motor
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Use Dummy client object to check wether connection object is valid or not
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:37:39 +07:00
wulan17
9e82bd0b57
Pyrofork: Add alt_port parameter to Client
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 03:30:28 +07:00
wulan17
7a1684f074
PyroFork: rebrand
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 01:35:50 +07:00
Dan
0a90d54010
Separate cases between Channel and ChannelForbidden
2023-03-12 17:52:03 +01:00
Dan
a3a4a0204c
Update chat username parsing in case of multiple usernames
2023-03-11 16:45:32 +01:00
Dan
82b8c7792e
Allow to specify a limit to concurrent transmissions
2023-01-12 18:19:15 +01:00
Dan
d53e1c235b
Lower the logging level of some log calls
2023-01-09 15:19:55 +01:00
Dan
8441ce2f47
Limit the amount of concurrent transmissions
2023-01-08 17:11:02 +01:00
Dan
2de8f1921c
Fix resolving peers for users with multiple usernames
...
This currently makes it work for the first available username only
2022-12-30 18:07:15 +01:00
Dan
1e6209da3b
Add support for email sign in codes
...
Fixes #1183
2022-12-30 15:55:52 +01:00
Dan
9bf742abc0
Introduce back some previously reverted changes
2022-12-27 13:40:42 +01:00
Dan
bff583ed75
Revert some of the latest changes
2022-12-26 22:26:55 +01:00
Dan
01cd8bb57f
Optimize log calls
2022-12-26 16:38:12 +01:00
Dan
7e5d593544
Keep lang_code lowercase
2022-12-26 16:19:26 +01:00
Dan
b23e34494e
Add messages for mismatched checks
2022-12-25 15:08:02 +01:00
omg-xtao
c4a47b99ae
Add support for Fragment SMS codes ( #1170 )
2022-12-23 20:36:00 +01:00
Dan
a9e7d15bf6
Add a watchdog for incoming updates
2022-12-23 15:40:56 +01:00
Anton Kovalevich
a76269ddaf
Handle all given updates, avoid short circuit ( #1162 )
2022-12-12 21:53:09 +01:00
Dan
4edaa21c19
Don't create download dirs for in-memory downloads
2022-09-20 16:39:53 +02:00
Dan
71f263b30d
Re-raise asyncio.CancelledError to avoid continuations
2022-09-18 17:55:50 +02:00
Dan
3940ca9611
Revamp handling of partial downloads
2022-09-18 17:32:02 +02:00
Nyan
468ebf50cf
Add tempfile deletion in case of asyncio task cancellation. ( #1080 )
2022-09-18 17:24:51 +02:00
Dan
d71db29a8c
Store the "me" user object
2022-06-20 10:28:49 +02:00
Dan
956e5c1a4f
Clean up on download's stop_transmission and return None
2022-05-04 09:04:25 +02:00
Evgen Fil
795ffc027a
Allow non-interactive migration from storage v2 to v3 ( #979 )
2022-04-29 12:40:19 +02:00
Hitalo
045fe0bf21
Remove wrong Client.parse_mode assignment ( #973 )
2022-04-27 09:13:47 +02:00
Dan
6e3dbbde5a
Allow passing the api_id as string
2022-04-24 21:20:13 +02:00
Dan
228b45b179
Update docstrings
2022-04-24 21:19:36 +02:00