fe60b3f8a5
Changed album config path
2023-04-24 12:44:10 +02:00
aa82a8f382
Fixed SyntaxError
2023-04-24 12:40:06 +02:00
826e031a39
Update dependency pyrogram to v2.0.104 ( #18 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [pyrogram](https://github.com/pyrogram ) ([source](https://github.com/pyrogram/pyrogram )) | patch | `==2.0.102` -> `==2.0.104` |
---
### Release Notes
<details>
<summary>pyrogram/pyrogram</summary>
### [`v2.0.104`](https://github.com/pyrogram/pyrogram/compare/v2.0.103...v2.0.104 )
[Compare Source](https://github.com/pyrogram/pyrogram/compare/v2.0.103...v2.0.104 )
### [`v2.0.103`](https://github.com/pyrogram/pyrogram/compare/v2.0.102...v2.0.103 )
[Compare Source](https://github.com/pyrogram/pyrogram/compare/v2.0.102...v2.0.103 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->
Reviewed-on: #18
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-04-24 13:36:39 +03:00
0681338970
Update dependency psutil to v5.9.5 ( #17 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [psutil](https://github.com/giampaolo/psutil ) | patch | `==5.9.4` -> `==5.9.5` |
---
### Release Notes
<details>
<summary>giampaolo/psutil</summary>
### [`v5.9.5`](https://github.com/giampaolo/psutil/blob/HEAD/HISTORY.rst#​595 )
[Compare Source](https://github.com/giampaolo/psutil/compare/release-5.9.4...release-5.9.5 )
\=====
2023-04-17
**Enhancements**
- 2196\_: in case of exception, display a cleaner error traceback by hiding the
`KeyError` bit deriving from a missed cache hit.
- 2217\_: print the full traceback when a `DeprecationWarning` or `UserWarning`
is raised.
- 2230\_, \[OpenBSD]: `psutil.net_connections`\_ implementation was rewritten from
scratch:
- We're now able to retrieve the path of AF_UNIX sockets (before it was an
empty string)
- The function is faster since it no longer iterates over all processes.
- No longer produces duplicate connection entries.
- 2238\_: there are cases where `Process.cwd()`\_ cannot be determined
(e.g. directory no longer exists), in which case we returned either `None`
or an empty string. This was consolidated and we now return `""` on all
platforms.
- 2239\_, \[UNIX]: if process is a zombie, and we can only determine part of the
its truncated `Process.name()`\_ (15 chars), don't fail with `ZombieProcess`\_
when we try to guess the full name from the `Process.cmdline()`\_. Just
return the truncated name.
- 2240\_, \[NetBSD], \[OpenBSD]: add CI testing on every commit for NetBSD and
OpenBSD platforms (python 3 only).
**Bug fixes**
- 1043\_, \[OpenBSD] `psutil.net_connections`\_ returns duplicate entries.
- 1915\_, \[Linux]: on certain kernels, `"MemAvailable"` field from
`/proc/meminfo` returns `0` (possibly a kernel bug), in which case we
calculate an approximation for `available` memory which matches "free"
CLI utility.
- 2164\_, \[Linux]: compilation fails on kernels < 2.6.27 (e.g. CentOS 5).
- 2186\_, \[FreeBSD]: compilation fails with Clang 15. (patch by Po-Chuan Hsieh)
- 2191\_, \[Linux]: `disk_partitions()`*: do not unnecessarily read
/proc/filesystems and raise `AccessDenied`* unless user specified `all=False`
argument.
- 2216\_, \[Windows]: fix tests when running in a virtual environment (patch by
Matthieu Darbois)
- 2225\_, \[POSIX]: `users()`\_ loses precision for `started` attribute (off by
1 minute).
- 2229\_, \[OpenBSD]: unable to properly recognize zombie processes.
`NoSuchProcess`\_ may be raised instead of `ZombieProcess`\_.
- 2231\_, \[NetBSD]: *available* `virtual_memory()`\_ is higher than *total*.
- 2234\_, \[NetBSD]: `virtual_memory()`\_ metrics are wrong: *available* and
*used* are too high. We now match values shown by *htop* CLI utility.
- 2236\_, \[NetBSD]: `Process.num_threads()`\_ and `Process.threads()`\_ return
threads that are already terminated.
- 2237\_, \[OpenBSD], \[NetBSD]: `Process.cwd()`\_ may raise `FileNotFoundError`
if cwd no longer exists. Return an empty string instead.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->
Reviewed-on: #17
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-04-24 13:36:12 +03:00
7c8e07bbc9
Made some dependencies strict
2023-04-24 12:13:14 +02:00
ad653146e1
Update dependency pillow to ~=9.5.0 ( #15 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [pillow](https://python-pillow.org ) ([source](https://github.com/python-pillow/Pillow ), [changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )) | minor | `~=9.4.0` -> `~=9.5.0` |
---
### Release Notes
<details>
<summary>python-pillow/Pillow</summary>
### [`v9.5.0`](https://github.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#​950-2023-04-01 )
[Compare Source](https://github.com/python-pillow/Pillow/compare/9.4.0...9.5.0 )
- Added ImageSourceData to TAGS_V2 [#​7053](https://github.com/python-pillow/Pillow/issues/7053 )
\[radarhere]
- Clear PPM half token after use [#​7052](https://github.com/python-pillow/Pillow/issues/7052 )
\[radarhere]
- Removed absolute path to ldconfig [#​7044](https://github.com/python-pillow/Pillow/issues/7044 )
\[radarhere]
- Support custom comments and PLT markers when saving JPEG2000 images [#​6903](https://github.com/python-pillow/Pillow/issues/6903 )
\[joshware, radarhere, hugovk]
- Load before getting size in **array_interface** [#​7034](https://github.com/python-pillow/Pillow/issues/7034 )
\[radarhere]
- Support creating BGR;15, BGR;16 and BGR;24 images, but drop support for BGR;32 [#​7010](https://github.com/python-pillow/Pillow/issues/7010 )
\[radarhere]
- Consider transparency when applying APNG blend mask [#​7018](https://github.com/python-pillow/Pillow/issues/7018 )
\[radarhere]
- Round duration when saving animated WebP images [#​6996](https://github.com/python-pillow/Pillow/issues/6996 )
\[radarhere]
- Added reading of JPEG2000 comments [#​6909](https://github.com/python-pillow/Pillow/issues/6909 )
\[radarhere]
- Decrement reference count [#​7003](https://github.com/python-pillow/Pillow/issues/7003 )
\[radarhere, nulano]
- Allow libtiff_support_custom_tags to be missing [#​7020](https://github.com/python-pillow/Pillow/issues/7020 )
\[radarhere]
- Improved I;16N support [#​6834](https://github.com/python-pillow/Pillow/issues/6834 )
\[radarhere]
- Added QOI reading [#​6852](https://github.com/python-pillow/Pillow/issues/6852 )
\[radarhere, hugovk]
- Added saving RGBA images as PDFs [#​6925](https://github.com/python-pillow/Pillow/issues/6925 )
\[radarhere]
- Do not raise an error if os.environ does not contain PATH [#​6935](https://github.com/python-pillow/Pillow/issues/6935 )
\[radarhere, hugovk]
- Close OleFileIO instance when closing or exiting FPX or MIC [#​7005](https://github.com/python-pillow/Pillow/issues/7005 )
\[radarhere]
- Added **int** to IFDRational for Python >= 3.11 [#​6998](https://github.com/python-pillow/Pillow/issues/6998 )
\[radarhere]
- Added memoryview support to Dib.frombytes() [#​6988](https://github.com/python-pillow/Pillow/issues/6988 )
\[radarhere, nulano]
- Close file pointer copy in the libtiff encoder if still open [#​6986](https://github.com/python-pillow/Pillow/issues/6986 )
\[fcarron, radarhere]
- Raise an error if ImageDraw co-ordinates are incorrectly ordered [#​6978](https://github.com/python-pillow/Pillow/issues/6978 )
\[radarhere]
- Added "corners" argument to ImageDraw rounded_rectangle() [#​6954](https://github.com/python-pillow/Pillow/issues/6954 )
\[radarhere]
- Added memoryview support to frombytes() [#​6974](https://github.com/python-pillow/Pillow/issues/6974 )
\[radarhere]
- Allow comments in FITS images [#​6973](https://github.com/python-pillow/Pillow/issues/6973 )
\[radarhere]
- Support saving PDF with different X and Y resolutions [#​6961](https://github.com/python-pillow/Pillow/issues/6961 )
\[jvanderneutstulen, radarhere, hugovk]
- Fixed writing int as UNDEFINED tag [#​6950](https://github.com/python-pillow/Pillow/issues/6950 )
\[radarhere]
- Raise an error if EXIF data is too long when saving JPEG [#​6939](https://github.com/python-pillow/Pillow/issues/6939 )
\[radarhere]
- Handle more than one directory returned by pkg-config [#​6896](https://github.com/python-pillow/Pillow/issues/6896 )
\[sebastic, radarhere]
- Do not retry past formats when loading all formats for the first time [#​6902](https://github.com/python-pillow/Pillow/issues/6902 )
\[radarhere]
- Do not retry specified formats if they failed when opening [#​6893](https://github.com/python-pillow/Pillow/issues/6893 )
\[radarhere]
- Do not unintentionally load TIFF format at first [#​6892](https://github.com/python-pillow/Pillow/issues/6892 )
\[radarhere]
- Stop reading when EPS line becomes too long [#​6897](https://github.com/python-pillow/Pillow/issues/6897 )
\[radarhere]
- Allow writing IFDRational to BYTE tag [#​6890](https://github.com/python-pillow/Pillow/issues/6890 )
\[radarhere]
- Raise ValueError for BoxBlur filter with negative radius [#​6874](https://github.com/python-pillow/Pillow/issues/6874 )
\[hugovk, radarhere]
- Support arbitrary number of loaded modules on Windows [#​6761](https://github.com/python-pillow/Pillow/issues/6761 )
\[javidcf, radarhere, nulano]
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->
Reviewed-on: #15
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-04-20 16:04:39 +03:00
2b520760d3
Fixed branch name in Renovate config
2023-04-20 13:35:52 +02:00
9d340b32c1
Added Renovate config
2023-04-20 13:32:52 +02:00
4dd754055e
Removed optional dependencies as a concept
2023-03-23 15:13:38 +01:00
ae654d686e
TgCrypto is no longer optional dependency
2023-03-23 15:12:53 +01:00
af2bcd088f
Album check returned
2023-03-22 15:52:34 +01:00
Profitroll
cc6523f604
Added updates checker
2023-03-22 11:03:03 +01:00
Profitroll
5ad52aa3f8
Changed aiohttp module location
2023-03-22 11:02:55 +01:00
Profitroll
45789ad013
Updates wiki init
2023-03-22 11:02:13 +01:00
Profitroll
4422a13ba9
Improved async context
2023-03-22 10:33:21 +01:00
f82c7b309f
Added media removal
2023-03-21 14:34:25 +01:00
399fc5050d
Updated user messages
2023-03-20 14:50:57 +01:00
56adb16a3e
Replaced strings
2023-03-20 13:59:22 +01:00
1684c5177c
Replaced /reboot with /shutdown
2023-03-20 13:56:18 +01:00
fba52bcfc4
Updated docs
2023-03-20 13:55:55 +01:00
20666fc0f8
Improved shutdown
2023-03-20 13:55:42 +01:00
03b6bbe039
Prototype: Files import
2023-03-20 12:03:03 +01:00
1749d49a52
Fixed enumerate error
2023-03-18 21:17:04 +01:00
a4323981fb
WIP: Media import/export
2023-03-18 20:53:26 +01:00
06b6b49f43
This commit closes #13
2023-03-17 14:51:41 +01:00
1f345e87f7
Improved logging
2023-03-17 14:44:37 +01:00
717586a9f0
Improved logging
2023-03-17 14:13:28 +01:00
95351f247c
This commit closed #12
2023-03-17 13:52:16 +01:00
b5e3abd4ad
WIP: default config replacement for ( #12 )
2023-03-16 16:32:26 +01:00
4ec69c2a05
This commit closes #9
2023-03-16 15:03:14 +01:00
Profitroll
62e0a4986c
WIP: ID returns
2023-03-16 12:58:57 +01:00
Profitroll
be8f0262d0
This commit closes #11
2023-03-15 21:58:14 +01:00
Profitroll
ba5a0f116c
Merge branch 'dev' of https://git.end-play.xyz/profitroll/TelegramPoster into dev
2023-03-15 21:52:48 +01:00
Profitroll
e85adeafd0
Added info about venv to the README
2023-03-15 21:50:06 +01:00
87d2a2c6d3
Improved README
2023-03-13 13:02:06 +01:00
bc6080e832
Added venv guide to README
2023-03-13 11:33:30 +01:00
9bf4663b9e
Made execution order correct
2023-03-12 22:58:55 +01:00
b74ce9ec89
Small fixes
2023-03-12 22:58:41 +01:00
6ed3673682
Fixed a typo
2023-03-12 22:45:06 +01:00
c593be156d
Rearranged content
2023-03-12 22:30:35 +01:00
c96f98560c
WIP: New readme
2023-03-12 22:29:53 +01:00
e1c1b58ffb
Added warning about readme not being ready yet
2023-03-12 22:26:16 +01:00
bd2a1f0b12
WIP: New readme
2023-03-12 22:23:02 +01:00
8cc7808afb
Disabled slash-escape for .json
2023-03-12 22:14:41 +01:00
6684c4d750
Bump Pyrogram to 2.0.102
2023-03-12 22:14:23 +01:00
c670db72fa
Added user-friendly CLI
2023-03-12 22:14:03 +01:00
48acab2d5e
WIP: New readme
2023-03-12 19:57:22 +01:00
62f076148c
Wiki pages init
2023-03-12 19:43:51 +01:00
59b504e6d9
Temp: removed strings about API based in config
2023-03-12 19:34:27 +01:00
ad281ba981
WIP: New readme
2023-03-12 19:25:35 +01:00
0073120bf2
Moved ujson to required dependencies
2023-03-12 14:54:06 +01:00
244173e556
Bumped Pyrogram to 2.0.101
2023-03-12 14:25:22 +01:00
98e9c5f5a2
Fixed line being displayed incorrectly
2023-03-09 16:17:35 +01:00
a8545dd097
Fixed project name align
2023-03-09 16:16:38 +01:00
3f22340852
Added license and code style badges
2023-03-09 11:48:50 +01:00
c2fb88ed65
Bumped APScheduler to 3.10.1
2023-03-09 11:35:02 +01:00
88692ebc85
Now using black for formatting
2023-03-09 11:33:02 +01:00
4331af415e
Moved to aiohttp and aiofiles
2023-03-02 22:38:48 +01:00
a913ba19c6
WIP: aiohttp migration
2023-03-02 16:39:59 +01:00
2387823151
Added missing texts
2023-02-25 23:31:09 +01:00
88f8bb4a52
WIP: Photos and queue removal
2023-02-25 23:19:08 +01:00
cf6c1f03d7
Disabled notification for accepted submissions
2023-02-25 23:12:33 +01:00
0a309a9f59
Added one more rule
2023-02-25 23:10:57 +01:00
7810f3b7b9
Fixed absence of None check
2023-02-24 21:06:18 +01:00
7b2534012d
Fixed typo
2023-02-24 13:48:06 -05:00
6e8b47cf4b
Improved submissions randomness
2023-02-24 13:33:34 -05:00
c27b1c5a5b
Temporarily disabled album creation on start
2023-02-24 13:25:57 -05:00
c7228a006b
Improved randomness
2023-02-24 13:25:36 -05:00
64ae3fb047
Added option to mention submissions
2023-02-24 12:39:33 -05:00
Profitroll
056fc52353
This commit closes #4 and closes #6
2023-02-19 20:54:58 +01:00
Profitroll
8bafd0cb35
This commit closes #3
2023-02-19 20:44:00 +01:00
Profitroll
fd47217bad
This commit closes #5
2023-02-19 20:31:08 +01:00
Profitroll
6b7b5c22f2
Reverted web preview disable
2023-02-18 00:58:09 +01:00
Profitroll
b3698cfa70
Added support for duplicates access tokens
2023-02-18 00:55:58 +01:00
Profitroll
7607003f55
Added callback message for "nothing"
2023-02-17 23:45:55 +01:00
Profitroll
7918049f49
Fixed language code typo
2023-02-17 23:18:54 +01:00
Profitroll
fcd59b7aca
Fixed caption display
2023-02-17 23:18:34 +01:00
Profitroll
8c478072c6
Fixed reply message not getting quoted
2023-02-17 23:18:19 +01:00
Profitroll
b766d0c52c
Improved linting and removed unused imports
2023-02-17 22:59:03 +01:00
Profitroll
807e629ae7
Moved cooldowns to PosterUser class
2023-02-17 22:48:37 +01:00
Profitroll
87af9fd333
Fixed captions not getting detected
2023-02-17 22:26:07 +01:00
Profitroll
a54081a2ae
Fixed some issues with locale
2023-02-17 21:58:46 +01:00
Profitroll
664284a6f8
Integrated previous commits
2023-02-17 21:55:38 +01:00
Profitroll
bd9917fb17
Replaced user block logic
2023-02-17 21:54:52 +01:00
Profitroll
68ea087963
Integrated interval-based schedule
2023-02-17 21:54:30 +01:00
Profitroll
d1813856d9
Imported callback "nothing"
2023-02-17 21:54:14 +01:00
Profitroll
cf204577e4
Added external address for links
2023-02-17 21:53:57 +01:00
Profitroll
68c887999e
Divided admins and owner
2023-02-17 21:53:43 +01:00
Profitroll
642e17ee55
Image resize when too big
2023-02-17 16:46:44 +01:00
Profitroll
25af9b31f8
Changed Client to PosterClient
2023-02-17 16:46:33 +01:00
Profitroll
28fc359593
WIP: export and import
2023-02-17 16:46:13 +01:00
Profitroll
07203a9db9
Changed the way exceptions are handled
2023-02-17 16:45:51 +01:00
Profitroll
663a7b0db8
Submission without confirmation added
2023-02-17 16:44:56 +01:00
Profitroll
0d2e9fa6ec
Using PosterClient instead of Client
2023-02-17 16:44:30 +01:00
Profitroll
c90e5eb697
Added Pillow to requirements
2023-02-17 16:44:03 +01:00
Profitroll
f4359aa6cd
Added upload_pic method
2023-02-17 11:51:38 +01:00
4cd37be5dc
WIP: New submission system
2023-02-16 16:41:01 +01:00
05042f01c6
Disabled WIP warning
2023-02-15 14:07:40 +01:00