mattermost-mobile-upstream/app/queries/servers
Pablo Vélez 7df4a0ab97
Some checks are pending
ci / lint-typecheck (push) Waiting to run
ci / detox-lint-typecheck (push) Waiting to run
ci / test (push) Waiting to run
Mm 68219 show placeholder for redacted files (#9719)
* MM-68219 - Add redacted files placeholder and related functionality

* add feature flag control and e2e tests

* adjust placeholder design, polish code, fix permalink preview issue

* polish code and add missing test

* use import path with right path

* gate post refetch behind the feature flag, refetch the open thread and avoid observeCount

* restore filesInfo for the permalink files prop added upstream

* fix stale redaction on background servers, consume the flag on every fetch path and share the viewport emitter

* replace the in-memory redaction flag with a persisted per-post epoch so ABAC file decisions survive restarts and stale posts stay hidden

* raise the redaction epoch on every resync, capture the epoch counter, only invalidate channels on role changes, and store the newer epoch when a re-verified post is otherwise unchanged

* store superseded responses unverified instead of dropping them, keep the since-fetch when re-verifying, verify permalink embeds against the linked channel, and capture the websocket epoch on arrival

* nvalidate file decisions when a user attribute field changes or all its values are cleared

* batch channel invalidations, close file viewers only when affected, reset the epoch on unstamped redaction changes, and only  re-verify the newest page's attachment posts

* re-check older channel posts a page at a time instead of one request per post

* skip the unstamped epoch lookup for posts with no files, redacted count or permalink

* keep the attribute-view retry after later invalidations, retry linked posts unless refused for the current epoch, and stop older payloads from rolling back edits via the redaction check

* MM-70905 - disable and grey out the attachment button when an ABAC pe… (#10195)

* MM-70905 - disable and grey out the attachment button when an ABAC permission policy denies uploads in the channel

* only back off render permission fetches when the server request fails, and log other errors without retrying

* remove the disableServer helper and have removeServer do both steps

* split defaultAllowed into allowWhenUnenforced and allowWhenNotEvaluated, and treat render permissions as unenforced  on servers without the decisions API

* MM-69627: Add playbook task requirements support on mobile (#10035)

* MM-69627: Add playbook task requirements support on mobile

Allow filling required task fields when checking off checklist items during
a run, gated by the same Playbooks beta setting used on web.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Address PR review feedback for task requirements

Propagate settings write failures, harden fill-requirements save/title handling, and add missing unit coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Fix TypeScript errors in new unit tests

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Use defineMessages for fill requirements titles

Keep i18n extraction able to find the header titles after moving them to the route.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Address review feedback for task requirements

Update checklist items locally when saving requirement values instead of
refetching the run, add missing query/navigation tests, and apply small
callback/reduce cleanups from review.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Fix task requirements review follow-ups

Propagate local checklist write failures, clear a stale task-requirements
flag when playbooks is unsupported, and cap fill values at the desktop/
server max length.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Move requirement field into its own component

Keep one component per file on the fill-requirements screen.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69122: Add file element support to interactive dialogs (#9898)

* Implement Interactive Dialog - file upload

* update demo plugin version for e2etests

* fix and add e2etests

* review fixes

* Fix version bump checkout when a tag shares the branch name (#10229)

* Fix Android crashes caused by animated custom emoji (#10030)

* Route GIF decoding through Glide

- Keep APNG4Android for APNG, animated WebP, and animated AVIF support.
- Prepend Glide's GIF decoders to avoid APNG4Android's native GIF overflow.

* Clear Expo image resources with Glide targets

- Detach drawables when Glide clears their custom target.
- Prevent recycled GIF frame resources from remaining attached to Expo image views.

* Preserve foreground image during GIF target recycling

---------

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Nuno Simões <nuno.simoes@mattermost.com>
Co-authored-by: MangelSpec <74370284+MangelSpec@users.noreply.github.com>

* detox - fix clobbering of feature flags that cause failures in other suites.  Also small fix of a incorrectly set test-id

---------

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Nuno Simões <nuno.simoes@mattermost.com>
Co-authored-by: MangelSpec <74370284+MangelSpec@users.noreply.github.com>
Co-authored-by: Nate Schlossberg <nate.schlossberg@mattermost.com>
2026-10-15 15:59:13 -07:00
..
categories.ts [MM-68255] Enable mobile support for Managed Categories (#9683) 2026-04-16 10:01:51 -04:00
channel_bookmark.ts fix bookmarks sort order when WS does not bump update_at (#8264) 2024-10-17 09:05:01 +08:00
channel.nomock.test.ts Unify Is Read Only logic to avoid code repetition and improve redability (#8720) 2025-04-06 17:50:19 +02:00
channel.test.ts [MM-67253] Add support for DMs and GMs for autotranslations (#9505) 2026-02-16 16:32:02 +01:00
channel.ts Mm 70299 channel labels display phase 1 (#10113) 2026-09-17 21:37:43 +02:00
custom_emoji.ts [Gekidou] Extract common observers to queries (#5984) 2022-03-23 09:19:29 -03:00
custom_profile.test.ts [MM-62565] Custom Profile attributes websocket changes (#8758) 2025-05-27 16:24:40 +02:00
custom_profile.ts [MM-62565] Custom Profile attributes websocket changes (#8758) 2025-05-27 16:24:40 +02:00
drafts.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
entry.test.ts Remove playbooks on delete channel (#8994) 2025-07-17 11:54:14 +02:00
entry.ts fix critical crashes on Android (#9871) 2026-06-23 02:40:21 +08:00
features.test.ts [MM-69723, MM-69705] Version-gate ChannelBookmarks and CustomProfileAttributes for flag removal (#9916) 2026-07-29 17:14:33 -03:00
features.ts [MM-69723, MM-69705] Version-gate ChannelBookmarks and CustomProfileAttributes for flag removal (#9916) 2026-07-29 17:14:33 -03:00
file.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
group.ts Sanitize sqlite like queries and allow non-latin characters (#7141) 2023-02-16 11:18:05 +02:00
post.test.ts Mm 68768 auto cache rolling cleanup (#9958) 2026-09-03 12:46:19 +02:00
post.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
preference.test.ts MM-59787 Add tests for preference query functions (#8530) 2025-01-29 17:10:21 -05:00
preference.ts Remove watermelondb limitation on updating an already updated model (#7067) 2023-02-03 17:11:57 +02:00
properties.test.ts MM-70813 - support multi value attribute chips (#10192) 2026-09-30 12:08:22 +02:00
properties.ts MM-70813 - support multi value attribute chips (#10192) 2026-09-30 12:08:22 +02:00
reaction.ts Do not access record children directly to avoid crashes if the child is not present in the db (#7028) 2023-01-27 17:57:38 +02:00
render_permissions.test.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
render_permissions.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
role.test.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
role.ts [MM-67923] Add channel settings for shared channels (#9591) 2026-04-14 11:43:44 +02:00
scheduled_post.test.ts Remaining test for draft and Scheduled post (#8887) 2025-07-01 13:47:02 +05:30
scheduled_post.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
security.test.ts Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
security.ts Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
system.test.ts Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
system.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
team.test.ts Remove playbooks on delete channel (#8994) 2025-07-17 11:54:14 +02:00
team.ts Remove playbooks on delete channel (#8994) 2025-07-17 11:54:14 +02:00
terms_of_service.test.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
terms_of_service.ts Update Dependencies and bug fixes (#7000) 2023-01-24 09:14:23 +02:00
thread.test.ts fix: Product fixes to run e2e tests (#10081) 2026-08-26 16:12:37 +05:30
thread.ts fix: Product fixes to run e2e tests (#10081) 2026-08-26 16:12:37 +05:30
user.ts Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00