Commit Graph

4034 Commits

Author SHA1 Message Date
Mattermost Build
20d106b609 MM-43904 - Fix: Calls: "Access to route for non-existent plugin" error log (#6210) (#6212)
* add isCallsPluginEnabled; refactor Calls.PluginId

* revert Podfile.lock changes

(cherry picked from commit 912287fbe0)

Co-authored-by: Christopher Poile <cpoile@gmail.com>
2022-05-03 15:10:46 -04:00
Mattermost Build
b476fc00ff Bump version 1.52.0 build 394 (#6201) (#6202)
* Bump app version number to  1.52.0

* Bump app build number to  394

(cherry picked from commit c1e3c878e3)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-04-29 18:28:04 -04:00
Mattermost Build
80357fa57b Update NOTICE.txt (#6198) (#6199)
(cherry picked from commit fe5bd60cec)

Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>
2022-04-29 10:18:55 -04:00
Elias Nahum
96256740ea Bump version 1.51.1 build 392 (#6187)
* Bump app version number to  1.51.1

* Bump app build number to  392
2022-04-22 10:46:09 -04:00
Elias Nahum
8303588d29 Show login options when using multiple SSO login methods (#6185) 2022-04-21 12:40:53 -04:00
dependabot[bot]
f665c74d2a Bump async from 2.6.3 to 2.6.4 (#6179)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 11:42:56 -04:00
KobeBergmans
21adcf6085 Latex rendering with react-native-math-view (#5651)
* Added a Latex code window that displays the given code using katex

* Latex is now displayed without having to go to the next screen

* MathView test

* MathView WIP:
Displays math good, but in verry small font
View does not load if there is a syntax error and we are hard stuck in the app

* Math view now is rendered properly, few working points:
Text is not fixed size, it renders in a weird size
Multi Line subscript is not working

* Latex is now rendered properly

* Fixed Error message and moved helper function to utils

* Added some padding and vertical scroll on latex screen

* Updated config option to work on real phone too

* Removed unused code and fixed tests

* Added LatexInline and tried to modify parser, not yet finished though. InlineLatexOption is not yet coded for

* Bugfixes and better line break checking

* Few margin changes for ios, also updated pod files

* padding is now dependend on system

* Add platform import

* Reverted package-lock change

* Added tests

* Bugfixes, UI tweaks and added unit test for latex util

* Added enableLatex to markdown options instead getting the state and config

* Changed the rendering a little bit, it is better but still far from perfect

* Width and height is now correctely displayed. Still not clean enough though

* Inline latex is now rendered properly for most equations

* Inline latex is now working properly

* tests for escaping and unescaping functions

* Added inline latex setting support

* Added inline latex tests

* Delete unused comment

* Added extra regex rule: there must be no word character in front of the inline latex code

* Upgraded math-view package and deleted duplicate entry from gemfile.lock

* Inline error functions are now class functions

* Updated error color to theme error color

* Latex screen now extends the code screen

* Markdown changes:
Now uses dimensions instead of windowdimensions
Removed inline latex function
extracted latex rendering into separate function

* updated latex util test

* Hardcoded latex language in latex code block

* Added proptypes and cleaned up latex code block

* Bugfix latex split lines

* ÃDeleted language prop from latex code block

* Changed commonmark packages to personal repo's

* Latex rendering now goes by commonmark

* Deleted unused function and tests

* Commonmark packages back to normal versions with patch package

* Updated commonmark patch file to right file and changed package lock to point at right repo

* Updated patch files to latest version

* Updated commonmark patch

* Fixed linter errors

* Integrety of commonmark fix

* First fix of ios problems

* Updated snapshot

Co-authored-by: Kobe Bergmans <kobe.bergmans@student.kuleuven.be>
Co-authored-by: Administrator <admin@Macintosh-3.localdomain>
Co-authored-by: kobe bergmans <kobebergmans@kobes-MacBook-Pro.local>
2022-04-19 09:16:38 -04:00
SilentYak
70d025fe1d feat: add .m4a file preview (#6051)
This leverages the video player to play .m4a video files. m4a, mp4, m4v use the same container format so they are all compatible in all players that support mp4.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-19 09:10:29 -04:00
Elias Nahum
608e9244be Translated using Weblate (Spanish)
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/es/
2022-04-19 10:39:03 +02:00
Tóth Csaba // Online ERP Hungary Kft
43b9884cb4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/hu/
2022-04-19 10:39:03 +02:00
Tom De Moor
b2b541c21a Translated using Weblate (Dutch)
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/nl/
2022-04-19 10:39:03 +02:00
Nathanaël
656dd609f3 Translated using Weblate (French)
Currently translated at 99.8% (790 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/fr/
2022-04-19 10:39:03 +02:00
Elias Nahum
e96dcc47aa update fastlane 2022-04-12 09:14:20 -04:00
Elias Nahum
31a1efaff9 Bump app build number to 391 (#6159) 2022-04-11 14:21:15 -04:00
Alexey Napalkov
7556da4b02 Translated using Weblate (Russian)
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ru/
2022-04-11 19:46:19 +02:00
Kaya Zeren
fb81cdf45b Translated using Weblate (Turkish)
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/tr/
2022-04-11 19:46:19 +02:00
Tom De Moor
df33004285 Translated using Weblate (Dutch)
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/nl/
2022-04-11 19:46:19 +02:00
Matthew Williams
7431fd9ae8 Translated using Weblate (English (Australia))
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/en_AU/
2022-04-11 19:46:19 +02:00
Nathanaël
474337c2d2 Translated using Weblate (French)
Currently translated at 98.2% (777 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/fr/
2022-04-11 19:46:19 +02:00
master7
b10b29cfff Translated using Weblate (Polish)
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/pl/
2022-04-11 19:46:19 +02:00
kaakaa
9fd93a6905 Translated using Weblate (Japanese)
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ja/
2022-04-11 19:46:19 +02:00
jprusch
e2c77cf396 Translated using Weblate (German)
Currently translated at 100.0% (791 of 791 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/
2022-04-11 19:46:19 +02:00
Tóth Csaba // Online ERP Hungary Kft
3c5dc46c1c Translated using Weblate (Hungarian)
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/hu/
2022-04-11 19:46:19 +02:00
Christopher Poile
3739d3d2f8 MM-42320: Calls - Fix for: iOS loses calls audio after leaving 1st call and entering next (#6143)
* allow 2nd+ calls to connect to iOS microphone/audio

* peerconnection callback & index.d.ts, webrtc and incallmanager deps
2022-04-11 12:03:44 -04:00
dependabot[bot]
018aba6ea8 Bump moment from 2.29.1 to 2.29.2 (#6153)
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-10 08:04:40 -04:00
dependabot[bot]
d2779eb8d8 Bump moment from 2.29.1 to 2.29.2 in /detox (#6152)
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-10 08:03:48 -04:00
Elias Nahum
a40399a98e Bump app build number to 390 (#6149) 2022-04-08 13:49:45 -04:00
Elias Nahum
6936d2bca8 Fix floating container using a hook inside the styles (#6146) 2022-04-08 12:42:50 -04:00
Elias Nahum
ce72fd874f [v1] Upgrade Commonmark (#6145)
* upgrade commonmark

* Fix messages with markdown being potentially cut off

* Fix messages with markdown from potentially being cut off
2022-04-08 10:01:44 -04:00
dependabot[bot]
a56b1eebdf Bump cocoapods-downloader from 1.5.1 to 1.6.3 in /ios (#6129)
Bumps [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader) from 1.5.1 to 1.6.3.
- [Release notes](https://github.com/CocoaPods/cocoapods-downloader/releases)
- [Changelog](https://github.com/CocoaPods/cocoapods-downloader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/CocoaPods/cocoapods-downloader/compare/1.5.1...1.6.3)

---
updated-dependencies:
- dependency-name: cocoapods-downloader
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 09:18:30 -04:00
Christopher Poile
368584a1b7 MM-42320: Calls - small fix for microphone permissions (#6134)
* small fix for microphone permissions

* use standard permissions check/denied popups

* tests and i18n

* permission wording

* 18n
2022-04-06 14:51:40 -04:00
Tom De Moor
dbb6ceea04 Translated using Weblate (Dutch)
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/nl/
2022-04-06 08:35:22 +02:00
Alexey Napalkov
369f11db75 Translated using Weblate (Russian)
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ru/
2022-04-06 08:35:22 +02:00
Guillermo Vayá
6b8f034eb5 Translated using Weblate (Spanish)
Currently translated at 98.4% (777 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/es/
2022-04-06 08:35:22 +02:00
aeomin
4c6c5a7795 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/zh_Hans/
2022-04-06 08:35:22 +02:00
master7
23734607e4 Translated using Weblate (Polish)
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/pl/

Translated using Weblate (Polish)

Currently translated at 98.8% (780 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/pl/
2022-04-06 08:35:22 +02:00
jprusch
e362eaea67 Translated using Weblate (German)
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/

Translated using Weblate (German)

Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/

Translated using Weblate (German)

Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/
2022-04-06 08:35:22 +02:00
Christopher Poile
10479d1d35 MM-42821 - Calls mobile: Default calls doesn't work on mobile (#6107)
* use call config when checking for Enable/Disable and StartCall permissions

* store config, refresh after 20 minutes

* load config on startup

* batch load calls and load config on startup/reconnect
2022-04-01 10:17:48 -04:00
Elias Nahum
6251c3ce2b Bump version 1.51.0 build 389 (#6110)
* Bump app version number to  1.51.0

* Bump app build number to  389

* update fastlane & critical deps

* detox npm audit
2022-03-31 11:29:31 -03:00
Kevin Sicong Jiang
0ca5627d78 MM-41909: Allow 1 char channel name (#6093)
* [MM-41909] Reduce displayname character limit to 1

* [MM-41909] Implement channel url min length check

* Use constant per comment

Co-authored-by: Kevin Jiang <>
2022-03-31 09:19:12 -03:00
Christopher Poile
2a56b6810b MM-42790 MM-42791 - UI Polish (#6103)
* polish UI

* update snapshots

* add the '(you)' to the end of the user's own name
2022-03-30 17:45:53 -04:00
Amy Blais
1d995ef91a Update README.md (#6104) 2022-03-30 12:28:23 -03:00
Elias Nahum
30a16d0bc1 [v1] Skip LoginOptions if only one SSO method is enabled (#6097)
* Skip LoginOptions if only one SSO method is enabled

* feedback review
2022-03-30 12:13:37 -03:00
Christopher Poile
734675978d MM-42623 - Calls: remove Feature Flag (#6091)
* removed CallsMobile feature flag; added server version check

* added on-demand check and Alert for Calls enabled

* merge with master

* fix deps, typo, test snapshots
2022-03-29 10:54:29 -04:00
Elias Nahum
87f891a457 Merge pull request #6096 from weblate/weblate-mattermost-mattermost-mobile_master
Translations update from Mattermost Weblate
2022-03-28 20:48:01 -03:00
Michael Kochell
0a4ec73ee3 [MM-34233] Only refresh App bindings if apps plugin is enabled (#5673)
Co-authored-by: Daniel Espino García <larkox@gmail.com>
2022-03-28 13:45:29 -04:00
MArtin Johnson
b2aa4c40e3 Translated using Weblate (Swedish)
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/sv/
2022-03-28 12:23:36 +02:00
Matthew Williams
3e32144f37 Translated using Weblate (English (Australia))
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/en_AU/
2022-03-28 12:23:36 +02:00
Alexey Napalkov
6e2d7ad78c Translated using Weblate (Russian)
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ru/
2022-03-28 12:23:35 +02:00
Maksim Matveev
f4428df0bf Translated using Weblate (Russian)
Currently translated at 100.0% (789 of 789 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ru/
2022-03-28 12:23:35 +02:00