Commit graph

23 commits

Author SHA1 Message Date
wulan17
e4fda9d266
Pyrofork: Update copyright headers
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:45 +07:00
wulan17
fb5aff5e21
PyroFork: storage: sqlite: fix derps
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-27 17:02:13 +07:00
wulan17
56f4d2b8ad
PyroFork: Use Dummy client object to check wether connection object is valid or not
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-23 00:20:02 +07:00
wulan17
2a93257fa2
PyroFork: Add async helper, and wrap sqlite3
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-23 00:20:01 +07:00
wulan17
b1b781eda8
Revert "Move to aiosqlite and enable WAL"
This reverts commit afd2e3f0bc.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-22 01:16:06 +07:00
wulan17
8272c706a6
PyroFork: storage: mongo: Use existing database connection
support both async_pymongo and motor

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-23 21:13:16 +07:00
wulan17
c76e9263dd
Revert "PyroFork: storage: mongo_storage: Move into async_pymongo"
This reverts commit 0280fc2572.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-23 20:48:58 +07:00
wulan17
0280fc2572
PyroFork: storage: mongo_storage: Move into async_pymongo
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-21 20:17:06 +07:00
Juan Simon .D
89feb4a4d8
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>
2023-05-21 20:17:05 +07:00
Animesh Murmu
955db61bc3
fix: Fix ValueError: Invalid peer type (Issue #2)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-17 18:31:37 +07:00
Animesh Murmu
b27d18c640
fix: Fix ValueError: Invalid peer type (Issue #2)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-17 18:31:19 +07:00
Animesh Murmu
c646595adb
Pyrofork: Add Mongodb Session Storage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 19:36:46 +07:00
Hitalo
c35e60de94
Move to aiosqlite and enable WAL
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 01:28:38 +07: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