Commit graph

703 commits

Author SHA1 Message Date
Elias Nahum
d5856f7b06
Bump app build number to 398 (#6236) 2022-05-05 14:25:17 -04:00
Elias Nahum
cd34873c23
Bump app build number to 396 (#6218) 2022-05-03 18:11:52 -04:00
Elias Nahum
c1e3c878e3
Bump version 1.52.0 build 394 (#6201)
* Bump app version number to  1.52.0

* Bump app build number to  394
2022-04-29 18:14:53 -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
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
Elias Nahum
31a1efaff9
Bump app build number to 391 (#6159) 2022-04-11 14:21:15 -04: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
Elias Nahum
a40399a98e
Bump app build number to 390 (#6149) 2022-04-08 13:49:45 -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
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
Elias Nahum
75927c87d0
Bump version 1.50.1 build 388 (#6071)
* Bump app version number to  1.50.1

* Bump app build number to  388
2022-03-19 10:20:22 -03:00
Elias Nahum
2349aa0441
Bump version 1.50.0 build 387 (#6045)
* Bump app version number to  1.50.0

* Bump app build number to  387
2022-03-09 16:33:53 -03:00
Elias Nahum
dfbeef9fab
Bump version build 1.49.1 build 386 (#6003)
* Bump app version number to  1.49.1

* Bump app build number to  386
2022-02-23 16:00:57 -03:00
Elias Nahum
f929bf9b3a
Bump app build number to 385 (#5975) 2022-02-15 21:47:54 -03:00
Elias Nahum
a05cfe7908
Bump app build number to 384 (#5970) 2022-02-15 09:33:20 -03:00
Claudio Costa
b073ba1d45
Keep audio on when app is on background (#5959) 2022-02-14 22:00:32 +01:00
Elias Nahum
1694023299
Version 1.49 Build 383 (#5938)
* Bump app version number to  1.49.0

* Bump app build number to  383
2022-02-07 18:05:36 -03:00
Elias Nahum
5ea470a235
V1 dependencies and bump to RN 0.67.2 (#5908)
* update dependencies

* eslint fixes

* Upgrade to RN 67

* update other deps

* Update to RN 0.67.2

* fix Android build (mmkv)

* Fix crash when root message is deleted from the thread screen

* Fix gif emoji playing at high speed on iOS ProMotion capable devices
2022-02-02 15:28:57 -03:00
Claudio Costa
2267f0a408
Update Calls (#5875)
* Fix adding tracks

* Use server websocket handler to do signaling

* Start using react-native-webrtc fork to fix track issues

* Update deps lock files

* Use ICE servers list from config if present

* Properly replace voice track

* Remove translations

* Use DeviceEventEmitter to handle voice events

* Fix bad checksum

* Restore non-english translations to avoid conflicts

* Address review

* Remove flaky integrity

* Improve state handling

* Update snapshots and tests

* Update call connecting logic

* Fix permissions check
2022-01-27 08:19:26 +01:00
Elias Nahum
4c86efbcad
Version 1.48.2 build 382 (#5896)
* Bump app version number to  1.48.2

* Bump app build number to  382
2022-01-06 16:04:20 +02:00
Elias Nahum
62d1ff5744
update dependencies (#5886) 2022-01-03 10:10:01 +02:00
Elias Nahum
687469b0cf
Update dependencies (#5870)
* Update dependencies

* Remove storybook env type def

* fix android build
2021-12-15 16:44:35 +02:00
Elias Nahum
f453c77ac6
Bump Version 1.48.1 build 381 (#5860)
* Bump app version number to  1.48.1

* Bump app build number to  381
2021-12-03 11:35:57 +02:00
Elias Nahum
3e0ad378f1
Fix android broken build cause by rudderstack (#5856)
* Fix android broken build cause by rudderstack

* update dependencies
2021-11-30 11:39:12 +02:00
Anurag Shivarathri
805b90205a
MM-36687, MM-38302, MM-37598 Fix push notifications with CRT (#5669)
* initalised

* Removed unused packages

* Android: Added groupId for supporting both threadId & channelId

* Fixed ios condition check

* Removed commented code

* Removed unwanted condition

* Removed unused variable

* CRT reduced chunk size to 30, Android global threads showing GlobalThreads & iOS is_crt_enabled field is expected to be a boolean

* Update android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java

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

* Misc fixes

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-15 10:42:05 +05:30
Elias Nahum
e4dafb4d3b
Bump app build number to 380 (#5828) 2021-11-11 16:43:03 -03:00
Elias Nahum
94f683d743
Bump app build number to 379 (#5824) 2021-11-11 08:29:40 -03:00
Jesús Espino
8ef65d8b24
Voicechannels (#5753)
* Some extra work on voice channels interface

* Fixing some TODOs

* Improving styling of call in channel

* Improve calls monitoring

* Replacing some of the fontawesome icons with the compass ones

* Improving the layout

* Migrating to webrtc2 for unified plan

* Add screen on and off behavior

* Adding incall manager plugin

* Moving everything into the products/calls folder

* Make products modules routes relatives

* Make products modules routes @mmproducts

* Removing initiator parameter

* Removing trickle parameter

* Simplifying code

* Removing underscore from private variables

* Removing underscore from private things

* More simplifications

* More simplifications

* More simplifications

* Changing sha sum for mmjstool

* Fixing typo

* Migrating simple-peer to typescript

* Migrating simple-peer to typescript

* Improving the size of the screen share

* Adding feature flag to disable the calls feature in mobile

* Fixing some tests

* Removing obsolte tests

* Added call ended support for the post messages

* Fixing some warnings in the tests

* Adding JoinCall tests

* Adding CallMessage tests

* Adding CurrentCall unit tests

* Adding CallAvatar unit tests

* Adding FloatingCallContainer unit tests

* Adding StartCall unit tests

* Adding EnableDisableCalls unit tests

* Adding CallDuration tests

* Improving CallDuration tests

* Adding CallScreen unit tests

* Adding CallOtherActions screen tests

* Fixing some dark theme styles

* Fixing tests

* More robustness around connecting/disconnecting

* Adding FormattedRelativeTime tests

* Adding tests for ChannelItem

* Adding tests for ChannelInfo

* Adding selectors tests

* Adding reducers unit tests

* Adding actions tests

* Removing most of the TODOs

* Removing another TODO

* Updating tests snapshots

* Removing the last TODO

* Fixed a small problem on pressing while a call is ongoing

* Remove all the inlined functions

* Replacing usage of isLandscape selector with useWindowDimensions

* Removed unnecesary makeStyleSheetFromTheme

* Removing unneded  properties from call_duration

* Fixing possible null channels return from getChannel selector

* Moving other inlined functions to its own constant

* Simplifiying enable/disable calls component

* Improving the behavior when you are in the call of the current channel

* Adding missing translation strings

* Simplified a bit the EnableDisableCalls component

* Moving other inlined functions to its own constant

* Updating snapshots

* Improving usage of makeStyleSheetFromTheme

* Moving data reformating from the rest client to the redux action

* Adding calls to the blocklist to the redux-persist

* Fixing tests

* Updating snapshots

* Update file icon name to the last compass icons version

* Fix loading state

* Only show the call connected if the websocket gets connected

* Taking into consideration the indicator bar to position the calls new bars

* Making the MoreMessagesButton component aware of calls components

* Updating snapshots

* Fixing tests

* Updating snapshot

* Fixing different use cases for start call channel menu

* Fixing tests

* Ask for confirmation to start a call when you are already in another call

* Update app/products/calls/components/floating_call_container.tsx

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

* Memoizing userIds in join call

* Applying suggestion around combine the blocklist for calls with the one for typing

* Adding explicit types to the rest client

* Removing unneeded permission

* Making updateIntervalInSeconds prop optional in FormattedRelativeTime

* Making updateIntervalInSeconds prop optional in CallDuration

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-11-11 11:32:39 +01:00
Elias Nahum
cbc4d5add2
Version 1.48.0 build 378 (#5811)
* Bump app version number to  1.48.0

* Bump app build number to  378
2021-11-04 09:17:28 -03:00
Elias Nahum
8287e620d8
Upgrade to rn 0.66.1 (#5727)
* Upgrade to rn 0.66.0

* Add keys to re-render post list and channel list

* Finish dep updates and rn to 0.66.1

* upgrade more dependencies

* Fix select_server tests
2021-10-31 13:57:07 -03:00
Elias Nahum
de564513c3
Bump app build number to 377 (#5786) 2021-10-24 16:54:11 -03:00
Elias Nahum
acffc7796f
Bump to 1.47.2 Build 376 (#5783)
* Bump app version number to  1.47.2

* Bump app build number to  376
2021-10-24 15:01:23 -03:00
Elias Nahum
61c6f5693b
Fix TextInput blur crash (#5780) 2021-10-24 14:43:44 -03:00
Elias Nahum
c3cb9a5d34
Bump Version 1.47.1 build 375 (#5769)
* Fastlane build and version

* Bump app version number to  1.47.1

* Bump app build number to  375
2021-10-19 16:14:34 -03:00
Matthew Birtch
7df996dcc6
updated ios app icon to flattened version as per marketing team request (#5767) 2021-10-19 16:14:08 -03:00
Elias Nahum
e5142f8524
Fix Post Input and drawers gesture conflict (#5762) 2021-10-18 17:55:25 -03:00
Elias Nahum
5e0c75d772
Bump app build number to 374 (#5741) 2021-10-10 11:52:35 -03:00
Elias Nahum
93dbe4af9e
Bump app build number to 373 (#5739) 2021-10-10 11:08:02 -03:00
Elias Nahum
16583c2a3b
Fix send message with physical keyboard on iPad 15 (#5737) 2021-10-10 10:49:11 -03:00
Elias Nahum
42071314d3
Bump app build number to 372 (#5734) 2021-10-08 09:49:07 -03:00
Elias Nahum
e301c9d5d1
Bump app build number to 371 (#5715) 2021-10-04 15:56:51 -03:00
Elias Nahum
a28a3826fa
update dependencies (#5706) 2021-10-01 11:45:53 -03:00
Elias Nahum
523777a207
Use @mattermost/react-native-paste-input to allow pasting of images & files (#5703)
* Use @mattermost/react-native-paste-input to allow pasting of images & files

* upgrade @mattermost/react-native-paste-input
2021-09-30 09:34:57 -03:00
Elias Nahum
d9e8b3e08e
Bump app build number to 370 (#5700) 2021-09-28 11:38:35 -03:00
Elias Nahum
ada6be9b7a
Update dependencies (#5686)
* Update dependencies

* Fix unsigned builds
2021-09-22 13:54:12 -03:00
Elias Nahum
2380c520d2
Bump Version to 1.47.0 (#5683)
* Bump app build number to  369

* Bump app version number to  1.47.0
2021-09-20 20:45:48 -03:00
Shaz Amjad
64223efafe
MM-28474: Custom Sidebar Categories (#5460)
* Further cleanup and fixes

Tests clean-up

Tests fixed?

Plays nicely with threads

Tests fixed

Fixes ESR and show experimental flags

Failing test fixed

DM Fix

WIP: Bottom bar UX

Fixes for unreads

Failing test

Always show current channel

Create a channel in a category!

* Unreads on top

* Various fixes

* Improves category collapsing

* Passes correct ID through

* Tests cleanup

* Redo unreads and unread-button

* Reverts to just using ids

* More unreads back to using ids

* Uses appropriate selectors for pref updates

* Unreads sorted by recency

* Fixes test for recency

* Fixes re-rendering bug

* Code review updates, websocket event debounced
2021-09-20 14:11:57 -04:00
Martin Kraft
c704a752f8
MM-37781: Only evaluates some config settings if the server is less than v6. (#5627)
* MM-37781: Only check deprecated config settings if server is older than v6.

* Feedback review

* Add isMinimumServerVersion helper for iOS Native

* MM-37781: Adds missing parameters.

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-09-15 16:52:39 -04:00
Elias Nahum
558c90c8da
Upgrade iOS minimum version to 12.1 and ESR to 5.37 (#5660) 2021-09-02 09:01:04 -04:00
Elias Nahum
1a518111b6
Fix Share extension authentication and error alerts (#5659) 2021-09-01 14:50:19 -04:00