-
Notifications
You must be signed in to change notification settings - Fork 53
Dev/2.4.1 #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Dev/2.4.1 #88
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
a45eb49
feat: support updating group photos
ink-developer 64f821b
feat: make upload timeout configurable
ink-developer 6b590ca
feat: add one-shot client connection
ink-developer 68e13c4
feat: add version-aware mobile runtime
ink-developer 185436e
feat: extend message scheduling and reactions
ink-developer f2a497e
chore: add TODO tracker
ink-developer a5e2954
fix: tests
ink-developer 358bf8f
fix: finalize 2.4.1 runtime behavior
ink-developer 8d01d6b
docs: prepare 2.4.1 release
ink-developer eff532a
chore: update release TODO tracker
ink-developer fde4f4e
test: update fixtures for 2.4.1 runtime
ink-developer 74daf94
fix: lint
ink-developer defb939
fix: some minor fixes
ink-developer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # PyMax TODO :3 | ||
|
|
||
| > [!NOTE] | ||
| > This file is maintained by the project owner. Please do not edit it in pull requests. | ||
|
|
||
| Format: | ||
| - Refactoring / Bugs: `TEXT. PATH. PRIORITY` | ||
| - Features: `TEXT. TARGET. PRIORITY` | ||
|
|
||
| ## Refactoring | ||
|
|
||
| - [ ] Перевести все аргументы, связанные со временем, на `DateTimeUnion`. `api/messages/service.py:65`. P: 50 | ||
| - [ ] Перенести часть общих типов в `common`, например `SendAttachments`. -. P: 40 | ||
| - [ ] Пересмотреть систему типов, возможно разбить её на более мелкие части. -. P: 70 | ||
|
|
||
| ## Bugs | ||
|
|
||
| - [X] Исправить голосовые/кружки. `api/upload/service.py`. P: 100 | ||
| - [X] Исправить генерацию device_id. `src/pymax/base.py:111`. P: 80 | ||
|
|
||
| ## Features | ||
|
|
||
| - [ ] FSM. Почти готово. `2.5.0`. P: 80 | ||
| - [ ] DI. `2.5.0`. P: 75 | ||
| - [ ] Улучшенная система фильтров. Почти готово. `2.5.0`. P: 90 | ||
|
|
||
|
|
||
| # Autogenerated TODO. Please, dont touch it | ||
| - [ ] src/pymax/api/chats/payloads.py:100: ENUMM!!! | ||
| - [ ] src/pymax/api/chats/payloads.py:123: ENUMM!!! | ||
| - [ ] src/pymax/api/messages/payloads.py:32: enum? | ||
| - [ ] src/pymax/api/messages/service.py:94: TypeAlias | ||
| - [ ] src/pymax/api/uploads/service.py:68: ENUM!!!! | ||
| - [ ] src/pymax/api/uploads/service.py:286: Error handing (yes, with 200 status 💔) | ||
| - [ ] src/pymax/api/users/service.py:133: maybe also return phone mapping? | ||
| - [ ] src/pymax/base.py:226: maybe impl it better way | ||
| - [ ] src/pymax/config.py:52: delete maybe | ||
| - [ ] src/pymax/dispatch/dispatcher.py:190: create iter_on_start_handlers | ||
| - [ ] src/pymax/protocol/tcp/payload.py:34: deprecate? idk | ||
| - [ ] src/pymax/transport/websocket.py:28: origin should be configurable | ||
| - [ ] src/pymax/types/domain/attachments/video.py:70: idk maybe | None = None better | ||
| - [ ] src/pymax/types/domain/user.py:14: move to another file | ||
| - [ ] src/pymax/types/events/message.py:49: impl it in the better way maybe | ||
| - [ ] src/pymax/versions/catalog.py:56: msg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,3 +33,5 @@ Auth API | |
|
|
||
| .. autoclass:: pymax.ConsoleQrHandler | ||
| :members: | ||
|
|
||
| .. autoclass:: pymax.PasswordAttemptsExceededError | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| Session storage | ||
| =============== | ||
|
|
||
| .. currentmodule:: pymax.session | ||
|
|
||
| ``Client`` и ``WebClient`` используют этот контракт для token, | ||
| device/user-agent и sync-state. Выбор и lifecycle хранилища описаны в разделе | ||
| :ref:`client-session-guide`. | ||
|
|
||
| .. autoclass:: SessionInfo | ||
| :members: | ||
|
|
||
| .. autoclass:: StoreProtocol | ||
| :members: | ||
|
|
||
| .. autoclass:: SessionStore | ||
| :members: | ||
|
|
||
| .. autoclass:: InMemoryStore | ||
| :members: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| Version Catalog | ||
| =============== | ||
|
|
||
| .. currentmodule:: pymax.versions | ||
|
|
||
| ``VersionCatalog`` связывает версию Android-клиента с build number и | ||
| fingerprint, которые использует ``Client``. | ||
|
|
||
| .. autoclass:: VersionCatalog | ||
| :members: | ||
|
|
||
| .. autoclass:: VersionNotFoundError |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,3 +23,5 @@ Clients API | |
| client-client | ||
| client-web | ||
| client-config | ||
| client-session | ||
| client-versions | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Синхронизируйте FAQ с новым режимом
connect().Здесь
connect()описан как режим с активным соединением, который продолжает принимать события. Но вdocs/faq.rstна строках 15–18 диагностика по-прежнему требует проверить толькоawait client.start(). Для пользователяconnect()эта инструкция неверна. Укажите в FAQ оба способа запуска.🤖 Prompt for AI Agents