wulan17
9841bd2303
pyrofork: Refactor test_mode
...
Pyrofork / build (macos-latest, 3.10) (push) Has been cancelled
Pyrofork / build (macos-latest, 3.11) (push) Has been cancelled
Pyrofork / build (macos-latest, 3.12) (push) Has been cancelled
Pyrofork / build (macos-latest, 3.13) (push) Has been cancelled
Pyrofork / build (macos-latest, 3.9) (push) Has been cancelled
Pyrofork / build (ubuntu-latest, 3.10) (push) Has been cancelled
Pyrofork / build (ubuntu-latest, 3.11) (push) Has been cancelled
Pyrofork / build (ubuntu-latest, 3.12) (push) Has been cancelled
Pyrofork / build (ubuntu-latest, 3.13) (push) Has been cancelled
Pyrofork / build (ubuntu-latest, 3.9) (push) Has been cancelled
Signed-off-by: wulan17 <wulan17@komodos.id>
2025-07-07 18:54:17 +07:00
wulan17
3115408b12
pyrofork: Retrive dc address and port from GetConfig
...
Signed-off-by: wulan17 <wulan17@komodos.id>
2025-07-07 18:53:44 +07:00
wulan17
3e24f006e0
pyrofork: Cleanup codes
...
Signed-off-by: wulan17 <wulan17@komodos.id>
2025-03-29 00:25:16 +07:00
wulan17
defda31c28
pyrofork: storage: mongo: fix derp
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-23 23:47:30 +07:00
wulan17
4bbbd5c460
pyrofork: Remove state when leaving chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-07-23 23:47:30 +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
wulan17
3b5db0b988
[DNM] Revert "feat(storage): migrated to aiosqlite"
...
This reverts commit 8193d87e2c .
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-03-23 18:44:34 +07:00
Marvin
a6a5f179cc
Fix execute() missing "await"
2024-02-29 22:30:42 +01:00
Hitalo M
8193d87e2c
feat(storage): migrated to aiosqlite
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-29 21:42:23 +07:00
wulan17
1b3f0933c7
Pyrofork: Update Copyright headers
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-07 20:25:08 +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
9e3103b6f6
Pyrofork: Storage: SqliteStorage: Save fragment username(s) to sessions database
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-28 23:10:21 +07:00
wulan17
2900a03dc5
Pyrofork: Storage: MongoStorage: Check if fragment usernames need to be updated
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-28 23:08:46 +07:00
wulan17
7fca0e87bb
Pyrofork: Clean usernames database before updating usernames database
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-28 23:08:42 +07:00
wulan17
71623e1080
[TEMP] Pyrofork: Storage: SqliteStorage: Add empty update_usernames function
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-26 20:00:01 +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
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
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
87ae79e0e2
Remove special cases for older Python versions
2022-12-25 10:29:00 +01:00
Dan
dbf2e471b5
Fix usages of removed attributes
2022-12-25 10:26:30 +01:00
Dan
81573bce76
Remove threading.Lock usages
2022-12-23 20:20:27 +01:00
Dan
7055ee648e
Update get_peer_by_username query
2022-09-01 21:27:59 +02:00
Dan
a762cbc237
Remove unused import
2022-04-29 11:02:58 +02:00
Dan
ade31f8989
Update the session string format
2022-04-24 11:56:07 +02:00
Dan
124bcb4db7
Remove API key requirement for existing sessions
2022-04-24 11:56:07 +02:00
Dan
626a1bd938
Update copyright year
2022-01-07 10:23:45 +01:00
Sam
fe764e0e2b
Update session string format ( #818 )
2021-12-20 20:34:57 +01:00
Dan
818aebcc7c
Fix memory session's delete() method not being implemented
...
Closes #660
2021-04-05 18:51:42 +02:00
Dan
7dda167c09
Update copyright notice
...
Year 2021
2021-01-01 22:58:48 +01:00
Dan
d82ecf048a
Remove non-python files
2020-12-20 18:29:01 +01:00
Dan
538f1e3972
Deep rewrite: preparing for v1.0
...
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
2020-08-22 08:05:05 +02:00