Commit graph

4114 commits

Author SHA1 Message Date
Albert Einstein
42758e8c54
Add USERNAME_PURCHASE_AVAILABLE to known errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:45 +07:00
Nick
e7603fc0be
Added some missing errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:45 +07:00
4251060540
Merge pull request #12 from Mayuri-Chan/dependabot/pip/pymongo-4.4.1
Bump pymongo from 4.4.0 to 4.4.1
2023-07-22 15:43:39 +07:00
dependabot[bot]
b71b3d4f45
Bump pymongo from 4.4.0 to 4.4.1
Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/mongodb/mongo-python-driver/releases)
- [Changelog](https://github.com/mongodb/mongo-python-driver/blob/4.4.1/doc/changelog.rst)
- [Commits](https://github.com/mongodb/mongo-python-driver/compare/4.4.0...4.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 22:38:36 +00:00
wulan17
3871c2edf2
PyroFork: Bump version to 2.2.5
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-04 11:26:19 +07:00
wulan17
fd5e63a224
PyroFork: set STORED_MSG_IDS_MAX_SIZE to 500
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-04 11:24:24 +07:00
Malay Patra
e355e73f14
PyroFork: change datacenter port to 5222
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-04 11:23:20 +07:00
wulan17
d9ac3cf355
PyroFork: add TOPIC_CLOSED and TOPIC_DELETED to known errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-04 11:23:20 +07:00
mrmissx
ed4cbc34ca
fix: try to handle startup BadMsgNotification #11
Retry to generate a new msg_id to send before raising BadMsgNotification.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-04 11:22:12 +07:00
wulan17
e80ebe1a9e
PyroFork: Bump version to 2.2.4
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-27 19:14:49 +07:00
wulan17
b85430ca04
PyroFork: Add custom storage support
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-27 19:14:44 +07:00
wulan17
fb5aff5e21
PyroFork: storage: sqlite: fix derps
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-27 17:02:13 +07:00
69c49b91e3
Update FUNDING.yml 2023-06-24 18:54:43 +07:00
wulan17
9a6c4e8629
PyroFork: Fix docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-24 00:56:13 +07:00
wulan17
ebc23eb4bf
PyroFork: Bump version to 2.2.3
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-23 00:38:26 +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
de68ba1919
PyroFork: Remove aiosqlite from deps 2023-06-22 11:45:03 +07:00
65e7d9220d
Merge pull request #9 from Mayuri-Chan/dependabot/pip/pymongo-4.4.0
Bump pymongo from 4.3.3 to 4.4.0
2023-06-22 11:43:07 +07:00
dependabot[bot]
9fef4a08da
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-21 23:04:07 +00:00
wulan17
c25bc05fb3
PyroFork: Bump version to 2.2.2
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-06-22 01:17: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
973d9df40e
Merge pull request #8 from Mayuri-Chan/dependabot/pip/sphinx-rtd-theme-1.2.2
Bump sphinx-rtd-theme from 1.2.1 to 1.2.2
2023-06-08 09:43:58 +07:00
dependabot[bot]
d5e86f11e7
Bump sphinx-rtd-theme from 1.2.1 to 1.2.2
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.2.1 to 1.2.2.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.2.1...1.2.2)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 23:05:30 +00:00
e0487e557d
Merge pull request #6 from Mayuri-Chan/dependabot/pip/sphinx-rtd-theme-1.2.1
Bump sphinx-rtd-theme from 1.0.0 to 1.2.1
2023-05-24 21:44:27 +07:00
dependabot[bot]
eda14b667c
Bump sphinx-rtd-theme from 1.0.0 to 1.2.1
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.0.0 to 1.2.1.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.0.0...1.2.1)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 14:21:45 +00:00
803fd63a2f
Create dependabot.yml 2023-05-24 21:20:23 +07:00
wulan17
5213ddbffa
PyroFork: fix docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-23 21:49:00 +07:00
wulan17
bf66a1e439
PyroFork: Bump version to 2.2.1
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-23 21:18:50 +07:00
wulan17
903da76d6d
PyroFork: Build docs and publish packages on new tags
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-23 21:17:37 +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
e45001ca8c
Revert "PyroFork: Set minimal python version to 3.9"
This reverts commit bafef3d71e.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-23 20:48:56 +07:00
wulan17
6a17d55e66
PyroFork: Bump version to 2.2.0
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-21 20:36:37 +07:00
be5eacb998
Merge pull request #4 from Mayuri-Chan/snyk-fix-1cc37851c83cac39990cf6e4ddd33391
[Snyk] Security upgrade tornado from 6.2 to 6.3.2
2023-05-21 20:31:10 +07:00
snyk-bot
575f88e97e
fix: docs/requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-TORNADO-5537286
2023-05-21 13:26:36 +00:00
wulan17
a175b33d27
PyroFork: Add protect_content and drop_author parameters to forward bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-21 20:17:07 +07:00
kvrvgv
84a41e9aa2
PyroFork: add drop_author parameter to forward_messages method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-21 20:17:07 +07:00
wulan17
bafef3d71e
PyroFork: Set minimal python version to 3.9
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-21 20:17:06 +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
wulan17
5bc419ce2c
PyroFork: Bump version to 2.1.8
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-17 18:32:49 +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
wulan17
578b438804
PyroFork: Bump version to 2.1.7
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 19:36:47 +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
Dan
91ff2dc82d
Move the CDN DC IPv6 to the correct mapping
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 19:10:10 +07:00
Dan
c3eddf234c
Add RSA public keys & IP addresses for some CDN DCs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 19:10:10 +07:00
Dan
fadd6bc147
Update API schema to Layer 158
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-05-10 19:10:09 +07:00
ff4ee9dae8
Update FUNDING.yml 2023-05-09 22:58:41 +07:00