Commit graph

4132 commits

Author SHA1 Message Date
wulan17
55dc2401fc
pyrofork: Add spoiler support for copy_message and send_cached_media methods #18
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-08 22:36:34 +07:00
wulan17
05ee0b0ec6
pyrofork: Append message_thread_id to reply bound methods if the message is a topic message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-08 22:36:34 +07:00
wulan17
92c7b0c883
pyrofork: Add InputReplyToMessage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-08 22:36:33 +07:00
wulan17
730c43f631
Pyrofork: Bump version to 2.2.8
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 15:00:18 +07:00
wulan17
b06422078e
Pyrofork: Add channel_shared and user_shared service message types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 15:00:12 +07:00
wulan17
d3ef8fb24a
Pyrofork: Add request_channel parameters to KeyboardButton class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 15:00:07 +07:00
wulan17
9299b9bd7d
Pyrofork: Add request_chat and request_user parameters to KeyboardButton class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 15:00:03 +07:00
wulan17
c3a61812ef
Pyrofork: fix derps
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 14:59:56 +07:00
wulan17
c96bfe8d08
Pyrofork: Bump version to 2.2.7
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 02:01:46 +07:00
wulan17
b3e692f0b1
Pyrofork: Add missing import
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 02:01:19 +07:00
wulan17
bded447cb6
Pyrofork: Add is_participants_hidden field to Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 02:00:52 +07:00
wulan17
89d19fa7a1
Pyrofork: Add spoiler support when sending animation, photo, and video using file_id #14
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-03 02:00:52 +07:00
wulan17
eb92414d03
Pyrofork: Bump version to 2.2.6
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:46 +07:00
wulan17
7089b01402
Pyrofork: Update some methods to layer 160
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:46 +07:00
Nick
2762a1e1c6
Added some story error
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:46 +07:00
Nick
59e5e1a0b3
Update API schema to Layer 160
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:46 +07:00
wulan17
e4fda9d266
Pyrofork: Update copyright headers
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:45 +07:00
wulan17
8b89bf7432
Pyrofork: Add get_bot_info and set_bot_info method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:45 +07:00
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