Commit graph

2583 commits

Author SHA1 Message Date
Mattermost Build
dbf2eac879
Ensure myTeam.id is not undefined (#8375) (#8376)
(cherry picked from commit 7123c7f3c0)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-11-26 14:30:20 +02:00
unified-ci-app[bot]
fdac66adaf
Bump app build and version number (#8365)
* Bump app build number to 576

* Bump app version number to 2.23.0

---------

Co-authored-by: runner <runner@Mac-1732098906220.local>
2024-11-20 13:21:44 +01:00
Mattermost Build
eb8d3655e1
bump cross-spawn (#8357) (#8360) 2024-11-19 21:27:06 +08:00
Mattermost Build
c256c8f761
fix entry logic to not re-fetch data for the initial team (#8349) (#8354) 2024-11-18 18:19:23 +08:00
Mattermost Build
4cdf36c771
MM-61148 Rewrite table parsing and improve error handling around Markdown code (#8300) (#8352)
* MM-61148 Rewrite table parsing based off cmark-gfm

* MM-61148 Add better error handling to Markdown code

* Use logError instead of console.error

* Switch back to published release

* Update import paths

(cherry picked from commit 0efa409023)

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2024-11-15 12:30:55 -05:00
Mattermost Build
6aa27d18e3
Update README.md (#8330) (#8351)
* Update README.md

* Update full_description.txt

* Update changelog

(cherry picked from commit 1f28e9bd8b)

Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>
2024-11-15 08:10:20 -05:00
Mattermost Build
2554cd5ae6
Animate gif as default until MM-22242 is implemented (#8339) (#8341)
(cherry picked from commit 6e032a7a6f)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-11-13 07:36:09 -05:00
Mattermost Build
a4082402fe
remove patch warning (#8334) (#8338)
(cherry picked from commit 8c87ec1fc3)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-11-13 09:45:11 +08:00
Mattermost Build
ad46cec886
remove warning due to patch version missmatch (#8332) (#8336)
(cherry picked from commit f6bc8ae50b)

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2024-11-13 09:25:42 +08:00
Mattermost Build
d9e3bc9b6b
Login improvement (#8306) (#8333)
* refactor to improve requests on login

* include in team sidebar order by display name teams not present in the order preference

* Fix iOS reload while developing

* fix code causing tests to fail

* feedback review

* update network-client

(cherry picked from commit ea2cb45a18)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-11-13 08:13:19 +08:00
Joram Wilander
268bb807e7
MM-59444 Add tests for actions/remote/command (#8326)
* Add tests for actions/remote/command/executeCommand

* Add tests for actions/remote/command/executeAppCommand

* Add tests for the rest of actions/remote/command
2024-11-11 08:29:32 -05:00
unified-ci-app[bot]
91df3cea79
chore: Update NOTICE.txt file with updated dependencies (#8328)
Co-authored-by: unified-ci-app[bot] <121569378+unified-ci-app[bot]@users.noreply.github.com>
2024-11-11 08:28:13 -05:00
Weblate (bot)
66f5ce12cc
Translations update from Mattermost Weblate (#8329)
Automatic Merge
2024-11-11 13:47:13 +01:00
Daniel Espino García
e0992c0bf6
Add test notification tool (#8271)
* Add test notification menu

* Reduce the minimum version for testing purposes

* Address feedback

* Add missing strings

* Address feedback

* Fix snapshots

* Bump version limit and use correct link

* Fix tests

* Fix URL issues
2024-11-11 10:22:57 +01:00
Rahim Rahman
83189afa88
fix(MM-60638): Insecure File Provider Paths (#8294) 2024-11-08 08:28:19 -07:00
unified-ci-app[bot]
d27d56f102
Bump app build number to 572 (#8321)
Co-authored-by: runner <runner@Mac-1731051082886.local>
2024-11-08 07:51:29 -05:00
Jesse Hallam
09697c5a8b
bump Ruby verison (#8315) 2024-11-07 12:34:24 -04:00
Daniel Espino García
2649b4b63a
Remove app alias for imports (#8314) 2024-11-07 08:34:49 +08:00
Elias Nahum
d7e54999c9
fix iPad split screen (#8317) 2024-11-07 08:30:54 +08:00
Jesse Hallam
6f381cfcf5
MM-53775: hide Thread Overview until a reply occurs (#8316) 2024-11-06 13:01:42 -04:00
Rahim Rahman
97e74c92af
feat:proper badge theme use for server list (#8313)
* fix(MM-61209): mention badge incorrect theme color

* @asaadmahmood color correction

* @asaadmahmood borderWidth 1px

* remove borderWidth: 1
2024-11-05 07:11:17 -07:00
Rahim Rahman
aa85f22729
fix(MM-61209): mention badge incorrect theme color (#8312)
* fix(MM-61209): mention badge incorrect theme color

* removed expect-error with proper typing
2024-11-05 06:25:34 -07:00
Weblate (bot)
7eec0ff44d
Translations update from Mattermost Weblate (#8311)
Automatic Merge
2024-11-04 14:47:18 +01:00
Joram Wilander
3764bf031e
MM-59449 Add tests for actions/remote/post (#8301)
* Add cud tests to actions/remote/post

* Remove unused fetchPostsForCurrentChannel

* Add fetch tests to actions/remote/post

* Update app/actions/remote/post.ts

* fix tests

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-11-04 08:27:20 -05:00
Joram Wilander
a3582c42a9
MM-59423 Add tests to actions/remote/notifications (#8302)
* Add tests to actions/remote/notifications

* Fix typing error in test
2024-11-04 08:27:03 -05:00
Joram Wilander
cd2725ea31
MM-59422 Add tests to actions/remote/search (#8304)
* Add tests to actions/remote/search

* Better confirm results of searchFiles test
2024-11-04 08:26:50 -05:00
Joram Wilander
99db5bdee8
Add tests to actions/remote/groups (#8303) 2024-11-04 19:24:01 +08:00
TheoForger
ece82d75ca
[MM-60236] Remove ephemeral posts on refresh/during initial load (#8260)
* fix: remove ephemeral posts on refresh

* fix: remove ephemeral posts during app launch

* fix: remove code to await the cleanup

* use built in constant instead of string `system_ephemeral`

* remove sort from `queryPostsByType()`

* switch back to the `await` approach in `cleanupEphemeralPosts`

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-01 09:28:06 -06:00
unified-ci-app[bot]
2a02a61b6b
Bump app build number to 571 (#8307)
Co-authored-by: runner <runner@Mac-1730449069657.local>
2024-11-01 08:04:25 -04:00
Rahim Rahman
41ab86cd2d
fix(MM-53762): missing file and reaction (#8284)
* fix: missing file and reaction

* update import
* simplify code

* update post test to show the changes fix emoji and reaction
* clean up  test
2024-10-30 14:55:34 -06:00
Nicolas Le Cam
0c587ab427
feat: Switch FormattedDate component to Intl.DateTimeFormat (#8276)
* feat: Switch FormattedDate component to Intl.DateTimeFormat

* feat: Revert stylistic only changes

* Add tests

* Take code review into account

* Fix tests by forcing timezone

* Use constant formats in DateSeparator to avoid uneeded rerenders

* Add UserTimezone tests
2024-10-30 14:30:17 -06:00
Joram Wilander
f2198137aa
Add tests to actions/remote/preference (#8299) 2024-10-30 07:53:05 -04:00
Elias Nahum
534aeaaef6
Fix sidebar teams order (#8281) 2024-10-30 17:12:58 +08:00
Tanmay Thole
a580642114
feat: Add visible to you text on ephemeral posts (#8245)
* feat: Add visible to you text on ephemeral posts

* docs: update localization file

* style: system header of ephemeral post

* feat: visible to you text for ephemeral posts
2024-10-30 10:01:49 +01:00
dependabot[bot]
4ee91dc81b
Bump rexml from 3.3.7 to 3.3.9 in /fastlane (#8297)
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.7 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.3.7...v3.3.9)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-30 09:57:51 +08:00
Joram Wilander
e4d895df85
MM-59438 Add tests to actions/remote/session (#8296)
* Add tests to actions/remote/session

* Fix styling

* Fix typing in session_manager
2024-10-29 11:06:01 -04:00
Daniel Espino García
2e8c9ce9a5
Reconnect the network when we switch network types (#8034) 2024-10-29 10:14:31 +01:00
Weblate (bot)
3a712350a8
Translations update from Mattermost Weblate (#8292)
* Translated using Weblate (Ukrainian)

Currently translated at 74.1% (879 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 74.1% (879 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Polish)

Currently translated at 100.0% (1186 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/

* Translated using Weblate (Ukrainian)

Currently translated at 74.1% (879 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 74.1% (879 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 74.1% (879 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 76.4% (907 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 76.4% (907 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 77.7% (922 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 77.7% (922 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 82.4% (978 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 83.0% (985 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (1186 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/tr/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 98.0% (1163 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (1186 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 98.0% (1163 of 1186 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/

---------

Co-authored-by: Arsenii Potapov <arch130troll@gmail.com>
Co-authored-by: Serhii Khomiuk <sergiy.khomiuk@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Frank Paul Silye <frankps@gmail.com>
Co-authored-by: ThrRip <coding@thrrip.space>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
2024-10-29 08:57:25 +01:00
dependabot[bot]
ac6bdd8a8a
Bump rexml from 3.3.5 to 3.3.9 (#8295) 2024-10-29 08:22:11 +08:00
Elias Nahum
1beb9a99c2
Add logs when notification device tokens is registered or fails to do so (#8282) 2024-10-29 08:18:51 +08:00
Joram Wilander
c1b66b364b
Add tests to actions/remote/thread (#8289) 2024-10-28 09:40:06 -04:00
Joram Wilander
daf13fa1b9
Add tests to actions/remote/reactions (#8290) 2024-10-28 09:16:31 -04:00
TheoForger
e932cf30a0
Add Index to 'type' column in 'Post' table (#8278)
* update `Post` table schema and migration plan to index `type` column

* use `unsafeExecuteSql()` for adding index during migration

* Update SQL query to create index

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Update docs

* Remove `UNIQUE` from SQL query

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2024-10-26 14:14:56 +02:00
unified-ci-app[bot]
c5171418b6
Bump app build number to 569 (#8286)
Co-authored-by: runner <runner@Mac-1729845732528.local>
2024-10-25 08:43:30 -04:00
Claudio Costa
751bb2dfb1
Ensure full validation of Calls post props (#8279) 2024-10-24 16:10:49 -06:00
Rajat Dabade
e4dc8dbbfe
MM-59973: fix the emoji count 0 issue when archive and unarchive chan… (#8146)
* MM-59973: fix the emoji count 0 issue when archive and unarchive channels

* ref to null and initialing it

* refactor: added a safe condition

* refactor code

* more clean up

* clean-ups

* index to tosting as a key to component

* refactor code

* fix: (MM-59973) emoji count 0 update (#8256)

* reversed from all useMemo to useMemo + useEffect
* tried to include everything into useMemo was an anti-pattern
* moved back to useMemo + useEffect
* previousNumber and animateToNumber comparison has some flaw when dealing with difference length between the two

* simple fix

* fix more silly mistakes

* move _previousNumberString to constant

* Test: increase timeout-minutes to 120 for e2e test

* reverted the timeout-minutes back to 40

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-23 16:17:37 +05:30
Elias Nahum
8c7c02d298
Add support for Auth Scheme customization (#8261) 2024-10-23 08:44:12 +08:00
Joram Wilander
05f7875d22
Add tests to actions/remote/user (#8273) 2024-10-21 11:12:42 -04:00
Rahim Rahman
9338a1c479
chore: exhaustive-deps eslint rules from 'off' to 'warn' (#8272) 2024-10-21 09:06:28 -06:00
Weblate (bot)
7484583865
Translations update from Mattermost Weblate (#8277)
Automatic Merge
2024-10-21 16:44:34 +02:00