Skip to content

make v7 baseline - #473

Merged
EDM115 merged 113 commits into
masterfrom
v7
Oct 30, 2026
Merged

EDM115 merged 113 commits into
masterfrom
v7

Conversation

@EDM115

@EDM115 EDM115 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

v7 has been running in production for over 2 years now so it can replace the Arch-based version now

EDM115 and others added 30 commits November 11, 2024 14:16
- formatted imports using isort
- documented v6.3.5
- easier version retrieval
- switch to `unzip-bot` as the only way to describe the project
- coherent Readme
- renamed the module from `unzip` to `unzipbot` to avoid confusion. The `unzipbot` variable have been renamed to `unzipbot_client` in consequence
- uses python:3.12-alpine, correct deps, clones the right branch
- followup to #249 :
  - pzip have been replaced by 7zip
  - unrar have to be build by hand
  - this means we have some extra deps, also for some python deps
  - we could precompile them in another repo to remove deps such as g++, gcc, libffi-dev, make and musl-dev
  - the current image size is 530 MB which is a x4 improvement !
- added a unrar build script
- deletes 0B thumbnails caused by FILE_REFERENCE_EXPIRED. Also warns the user if such thing happens, going to automate the retrieval process later on
- special handling for rar files. splitted rars aren't handled yet. splitted zips and 7z (.001) still works
dependencies are built and installed on another container
the final image size shrinks from 530MB to only 294MB
closes #249, closes #286
especially with strings that gets directly parsed like MONGODB_URL
- ALL strings are in JSON files, which will help with future translation
- only english supported for now
- deleted unused strings, moved plain text to the JSON, fixed grammar mistakes
- splitted buttons and messages processing
- added a default language that gets used for non-user tied strings and logs
- untranslated strings falls back to english (or default language)
- strings keys aren't definitives, hence why I haven't already started a translation
- removed copyright mentions in files, added MIT notice in the start script
(also previous commit allowed more bot owner commands to run outside of DMs, example in the logs group as long as he's not anonymous)
- closes #366, installs 7zip from the edge branch to work around a volumes creation bug (see secont to last at https://www.7-zip.org/history.txt for 24.01)
- fixed some misplaced strings
- better help text
- when splitting a file, move it to a temp location to avoid filename clash
- fixed the cancel button in telegram file download (#28) HOWEVER the bot will currently panic and may not allow you to create other tasks later on, so...
- clears the canceled tasks list every 5min and at each restart
- set a memory limit on executed commands, by default 100% on heroku and 80% elsewhere
- we now use the ulimit shell tool instead of the resource python module
- actually limit the ram usage on heroku per #365
EDM115 and others added 18 commits April 10, 2025 23:23
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| pypi       | pillow  | 11.2.0 | 11.2.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 78.1.0 | 78.1.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
| datasource | package | from    | to      |
| ---------- | ------- | ------- | ------- |
| pypi       | aiohttp | 3.11.16 | 3.11.17 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 78.1.1 | 79.0.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
| datasource | package | from    | to      |
| ---------- | ------- | ------- | ------- |
| pypi       | aiohttp | 3.11.17 | 3.11.18 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 79.0.0 | 79.0.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 79.0.1 | 80.0.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 80.0.0 | 80.1.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fixed an oversight introduced nearly a year ago at 7eeffb6
they are really picky about that Procfile
I already disabled you in the settings bruh
@EDM115 EDM115 self-assigned this Oct 29, 2026
@github-actions github-actions Bot added the PR: draft PR is draft. label Oct 29, 2026
@EDM115
EDM115 marked this pull request as ready for review October 30, 2026 09:40
@EDM115
EDM115 merged commit 4a18397 into master Oct 30, 2026
1 of 4 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-10-30T09:41:19.294425Z 2e715cf Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@EDM115 EDM115 added PR: merged PR has merged. and removed PR: draft PR is draft. labels Oct 30, 2026
@EDM115 EDM115 linked an issue Oct 30, 2026 that may be closed by this pull request
5 of 25 tasks
@EDM115
EDM115 deleted the v7 branch October 30, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: merged PR has merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ROADMAP] The future of unzip-bot (v7)

1 participant