Commit graph

4095 commits

Author SHA1 Message Date
wulan17
a551153d92
PyroFork: Use Dummy client object to check wether connection object is valid or not
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-25 23:39:52 +07:00
wulan17
9ed73e0b56
PyroFork: Add async helper, and wrap sqlite3
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-25 23:39:52 +07:00
7a3ceab60a
PyroFork: Remove aiosqlite from deps 2023-06-25 23:39:52 +07:00
dependabot[bot]
7d5c2352cb
Bump pymongo from 4.3.3 to 4.4.0
Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 4.3.3 to 4.4.0.
- [Release notes](https://github.com/mongodb/mongo-python-driver/releases)
- [Changelog](https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst)
- [Commits](https://github.com/mongodb/mongo-python-driver/compare/4.3.3...4.4.0)

---
updated-dependencies:
- dependency-name: pymongo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-25 23:39:52 +07:00
wulan17
0ee360aa7d
PyroFork: Bump version to 2.2.2
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-25 23:39:51 +07:00
wulan17
7a4e5d679b
Revert "Move to aiosqlite and enable WAL"
This reverts commit afd2e3f0bc.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-25 23:39:47 +07:00
wulan17
5df7eedd8e
PyroFork: Bump version to 2.2.1
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-21 12:57:43 +07:00
wulan17
b62adc60c8
PyroFork: storage: mongo: Use existing database connection
support both async_pymongo and motor

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-21 12:57:01 +07:00
wulan17
8ca1b35f81
Revert "PyroFork: storage: mongo_storage: Move into async_pymongo"
This reverts commit 0280fc2572.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-21 12:55:58 +07:00
wulan17
4312012db0
Revert "PyroFork: Set minimal python version to 3.9"
This reverts commit bafef3d71e.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-21 12:55:58 +07:00
wulan17
fce16657bf
PyroFork: Bump version to 2.2.0
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-22 19:38:27 +07:00
wulan17
ea86ec634b
PyroFork: Add protect_content and drop_author parameters to forward bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-21 00:40:57 +07:00
kvrvgv
2a80a4e9b1
PyroFork: add drop_author parameter to forward_messages method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-21 00:40:56 +07:00
wulan17
8b842fe030
PyroFork: Set minimal python version to 3.9
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-19 21:14:18 +07:00
wulan17
e757a1ea44
PyroFork: storage: mongo_storage: Move into async_pymongo
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-19 21:12:58 +07:00
Juan Simon .D
2bf362ca0a
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-18 15:07:57 +07:00
wulan17
a736a18c83
PyroFork: Bump version to 2.1.8
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-18 13:53:01 +07:00
Animesh Murmu
e762aa2c7c
fix: Fix ValueError: Invalid peer type (Issue #2)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-18 13:53:00 +07:00
Animesh Murmu
69e24e06bd
fix: Fix ValueError: Invalid peer type (Issue #2)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-18 13:53:00 +07:00
wulan17
9b896cbd03
PyroFork: Bump version to 2.1.7
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-18 13:53:00 +07:00
Animesh Murmu
e3d134492b
Pyrofork: Add Mongodb Session Storage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 19:03:27 +07:00
Dan
6b69943007
Move the CDN DC IPv6 to the correct mapping
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 18:27:47 +07:00
Dan
fd75d715df
Add RSA public keys & IP addresses for some CDN DCs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 18:27:47 +07:00
Dan
7f8ac4459e
Update API schema to Layer 158
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 18:27:41 +07:00
wulan17
0fee849400
PyroFork: Bump version to 2.1.6
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 01:40:04 +07:00
MrMissx
d07e35d28c
Fix AttributeError when received ChatForbidden
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 00:51:17 +07:00
Alisson Lauffer
853b304e02
Bump aiosqlite to latest version
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 00:43:33 +07:00
reaitten
9ea5800253
InputMessageContent.write is a coroutine
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 00:43:33 +07:00
Deshdeepak
7f7691fbb2
Add file_name where missing and pass thumb as Union
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 00:43:33 +07:00
Devesh Pal
da3fef270e
Add bound method stop() to the Poll object
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 00:43:33 +07:00
Hitalo
afd2e3f0bc
Move to aiosqlite and enable WAL
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 00:43:32 +07:00
Alisson Lauffer
c034a2da27
Make some methods static
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 00:40:51 +07:00
wulan17
9e913e6512
PyroFork: Add usernames field to User
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-15 00:39:08 +07:00
wulan17
2ef278805b
Merge remote-tracking branch 'origin/master' into staging 2023-04-12 17:26:38 +07:00
664b525530
Merge pull request #1 from DoellBarr/master
Fix NameError on line 240
2023-04-12 17:21:59 +07:00
Shohih Abdul
1d4948309f
Fix NameError on line 240 2023-04-12 14:03:22 +07:00
wulan17
caf80f239b
PyroFork: Fix derps
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 23:11:14 +07:00
wulan17
d5b2a76fc6
PyroFork: Bump version to 2.1.5
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:29:36 +07:00
wulan17
f38d90cc0a
PyroFork: Add AddStickerToSet Methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:56 +07:00
wulan17
7a58c865b5
PyroFork: Add CreateStickerSet Methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:56 +07:00
wulan17
9966bd92a5
PyroFork: Add GetStickerSet methods and StickerSet types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:56 +07:00
wulan17
2cd117f301
PyroFork: Add usernames field to Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:56 +07:00
Alisson Lauffer
4401c62244
Add full_name property to User and Chat objects
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:56 +07:00
Nick
2afbe7f4fd
Update API schema to Layer 157
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:55 +07:00
Nick
66c7d64b6b
Update API schema to Layer 156
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:55 +07:00
wulan17
e2afef240d
PyroFork: Update dev versioning
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-08 00:41:03 +07:00
wulan17
24d933b7c1
PyroFork: Publish dev build
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-20 09:57:28 +07:00
wulan17
a6bced2bc5
Revert "PyroFork: Bring back docs"
This reverts commit d91b933715.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-20 09:31:54 +07:00
wulan17
e8604d74ff
Revert "PyroFork: Update docs"
This reverts commit 41b771f4bf.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-20 09:31:54 +07:00
wulan17
9c94dac120
Revert "PyroFork: Rebrand docs"
This reverts commit bec44280a4.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-20 09:31:54 +07:00