Commit graph

2202 commits

Author SHA1 Message Date
Mohammad Parvin
46e6a14c73 Allow user to install mattermost on sd card (#2731)
Cannot install Mattermost when there is no enough space in internal memory, So when add this line
android:installLocation="auto" 
to the manifest file user can install Mattermost on the sd card.
https://developer.android.com/guide/topics/data/install-location
2019-04-30 16:45:18 -04:00
Elias Nahum
2d48215bf1
fix mattermostManaged event name (#2754) 2019-04-30 11:12:28 -04:00
Miguel Alatzar
c87845dee8
[MM-14777] Remove post for user after user deletes it (#2745)
* Remove post after delete

* Add unit test

* Fix check-style errors
2019-04-29 17:07:30 -07:00
Elias Nahum
412a009965 Remove the RN bridge from MattermostManaged (#2741)
* Remove the RN bridge from MattermostManaged

* Fix NativeEventEmitter

* Optimize for zero listeners
2019-04-29 16:24:04 -04:00
Courtney Pattison
ce5c30e9ca [MM-9454] Added fade to send button (#2677)
* [MM-9454] Added jest-enzyme to devDependencies

* [MM-9454] Refactored SendButton as component

* [MM-9454] Added fade to SendButton

* [MM-9454] Changed Fade to PureComponent
2019-04-29 07:54:00 -07:00
kmandagie
b3a586fd57 [MM-12599] Implement assets for Adaptive icons (#2663) 2019-04-26 13:08:15 -07:00
Miguel Alatzar
4faa211edb
Bump app build number to 188 (#2744) 2019-04-26 12:23:17 -07:00
Miguel Alatzar
214ea72666
Bump app version number to 1.19.0 (#2743) 2019-04-26 12:15:57 -07:00
Miguel Alatzar
cb0e4e225a
[MM-14887] Allow only jpeg, png, and bmp profile image uploads (#2715)
* Allow only for jpeg, png, and bmp profile image uploads

* Add file type if missing and update error id

* Update mattermost-redux commit hash

* Point mattermost-redux to latest master commit
2019-04-25 14:27:06 -07:00
Miguel Alatzar
dc554bdfa7
Delay PostTextbox animation on iOS when clearing text (#2739) 2019-04-25 07:51:47 -07:00
Miguel Alatzar
fab556c4eb Check for null activity before calling finish (#2738) 2019-04-25 09:23:16 -04:00
Ryan Davis
fffd31bf77 MM-14907 RN: iOS - No MattermostShare error when sharing text that is over server's max post size (#2713)
* RN: iOS - No MattermostShare error when sharing text that is over server's max post size

* MM-14907 Allow editing if over maxPostSize.

* MM-14907 Always On Character Count

* Readded work from MM-14836 Post-Merge

* Refactor of getMaxPostSize to match getMaxFileSize
2019-04-25 09:17:56 -04:00
Miguel Alatzar
89c0d1b5f9
Increase Typing animation duration and remove handleScrollToRecentPost (#2730) 2019-04-23 14:49:15 -07:00
Miguel Alatzar
9982a2d73f
Match lineHeight used in ChannelInfoHeader to PostBody's (#2721)
* Match lineHeight used in ChannelInfoHeader to PostBody's

* Apply lineHeight only for iOS
2019-04-23 13:47:54 -07:00
Miguel Alatzar
39587aa3ae
[MM-14836] Prevent sharing of images over max pixels (#2733)
* Prevent sharing of images over max image size

* Prevent sharing of images over max image pixels

* Move readableMaxImagePixels
2019-04-23 11:45:54 -07:00
Saturnino Abril
e3b4191af9
[MM-14619] Remove Client4.online and related setOnline function (#2718)
* remove Client4.online and related setOnline function

* update mattermost-redux commit to 16a39c671193db23006d848c7866adbb5cae6901
2019-04-24 00:34:34 +08:00
Miguel Alatzar
1a9b34f618
[MM-14699] Update image cache manager to handle correct file extensions (#2701)
* Update image cache manager to handle correct file extensions

* Use RNFetchBlob.fs.existsWithDiffExt to find cached images with
  extensions other than the default .png

* Add package-lock.json

* Use app/util/file's getExtensionFromMime

* Define DEFAULT_MIME_TYPE in image_cache_manager.js
2019-04-22 19:19:21 -07:00
Miguel Alatzar
a67863c5a2
[MM-14669] Return null dimensions when height or width is falsy (#2681)
* Return 50x50 dimensions when height or width is 0

* Refactor image constants

* Return null dimensions when height or width is falsy
2019-04-22 19:17:03 -07:00
Miguel Alatzar
10196d5fad
MM-14541 Fix search bar animation stutter in main search bar (#2672)
* Do not expand drawer on search start

* Add state.searching for determining showTeams

* Add leftComponent prop to SearchBar to render SwitchTeamsButton

* Update snapshot tests

* Use native driver when possible and fix start calls
2019-04-22 19:01:17 -07:00
Peter Dave Hello
d5a0b50d9a Optimize png image with zopflipng lossless compression (#2682) 2019-04-22 21:57:49 -04:00
Chris Duarte
2ca87f7ac4 Reminder message (/remind) do not show message text on mobile. (#2710) 2019-04-22 21:56:26 -04:00
Harrison Healey
2e756ba21a
MM-14741 Add default option to post action dropdown (#2724) 2019-04-22 14:42:42 -04:00
amyblais
e2dc33c4ac v1.18.1 Changelog (#2726)
* Update CHANGELOG.md

* Update CHANGELOG.md
2019-04-21 12:17:53 -04:00
Elias Nahum
f43c357972 MM-15216 Fix crash when cookie does not set expiration date on iOS 2019-04-18 18:24:36 -04:00
Elias Nahum
5183bc4b50 MM-15215 fix crash caused by malformed post textbox localize string 2019-04-18 18:24:36 -04:00
Elias Nahum
37c150f3c7 Bump app version number to 1.18.1 2019-04-18 18:24:36 -04:00
Elias Nahum
b9778bfc22 Bump app build number to 187 2019-04-18 18:24:36 -04:00
Martin Kraft
58f4346e5d
MM-14417: Add messaging for channel mentions of users not in constrai… (#2711)
* MM-14417: Add messaging for channel mentions of users not in constrained groups.

* MM-14417: Reorder translation.

* MM-14417: Update for new mobile app with old server install.
2019-04-17 10:45:29 -04:00
Jesús Espino
c769b536ae
Creating the concept of RedirectChannel and use it before the DefaultChannel when we are redirecting the user (#2674)
* Creating the concept of RedirectChannel and use it before the DefaultChannel when we are redirecting the user

* upgrading to the last mattermost-redux version
2019-04-16 23:34:02 +02:00
amyblais
53d4d33a60 v1.18 Changelog (#2671)
* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2019-04-16 16:13:23 -04:00
Seungje Jun
696c4dc94f DateHeader rendering bug fix (#2717)
* app/screens/search.js DateHeader part bug fix

* DateHeader parts fix
2019-04-16 09:03:39 -04:00
Saturnino Abril
51e0e06997
Bump app build number to 186 (#2716) 2019-04-16 11:56:42 +08:00
Saturnino Abril
bb5702edb5 add telemetry config for beta build (#2714) 2019-04-15 17:24:21 -04:00
Harrison Healey
9c53852128
Reorganize post state and make postsInChannel into a sparse array (#2693)
* MM-13957 Reorganize post actions (#2553)

* MM-13957 Reorganize post actions

* Update mattermost-redux

* Update mattermost-redux

* Update package-lock.json to resolve build issues

* MM-13958/MM-13959 Make postsInChannel into a sparse array (#2600)

* MM-13960 Re-add combined system messages (#2637)

* MM-13960 Re-add combined system messages

* Pass entire post to PostOptions

* Update mattermost-redux

* Update mattermost-redux

* Address feedback

* Update mattermost-redux
2019-04-15 17:20:23 -04:00
Jason Blais
07c2fe40a1 Proposed changelog update regarding AppConfig compatability (#2688)
Make it more obvious what action needs to be taken + some readability updates
2019-04-15 14:24:52 -04:00
Miguel Alatzar
45784e5fcd
Ensure the correct value for channelIsLoading is used (#2712) 2019-04-15 10:53:02 -07:00
Saturnino Abril
79a84dd9ab
Bump app build number to 185 (#2708) 2019-04-10 16:56:54 +08:00
Jesús Espino
95a9eb9118 Executing translation extraction script (#2703) 2019-04-09 15:24:43 -04:00
Elias Nahum
0449d7c53a MM-14959 iOS Share Extension channel search open by default (#2698) 2019-04-09 14:39:28 -04:00
kosgrz
6b5d0a49e5 [MM-14191] Render emojis in Interactive Message Buttons (#2640) 2019-04-09 11:41:39 -04:00
Carlos Tadeu Panato Junior
9ae71cf393
add mmjstool as dev dep (#2707)
* add mmjstool as dev dep

* run the mmjstool to fix issues

* add extra line

* update makefile

* update per feedback

* revert strings per request
2019-04-09 15:35:22 +02:00
Miguel Alatzar
d1ca9b874a Set canFlag to false for system messages (#2705) 2019-04-09 11:15:15 +08:00
Elias Nahum
825284517e MM-14960 Use the correct icon set for channel types (#2699) 2019-04-08 10:50:38 -07:00
Miguel Alatzar
ae1b81126c [MM-14830] Check for null pushNotification prior to calling sendNotificationScheduled on it (#2702)
* Update react-native-notifications dependency commit hash

* Add package-lock.json
2019-04-08 08:32:52 -04:00
Miguel Alatzar
8172320a19 [MM-14899] Support sharing of screenshots via the iOS share extension (#2697)
* Handle NSItemProvider item of type UIImage

* Create screenshot temp file with UploadSessionManager
2019-04-08 05:30:25 +08:00
Miguel Alatzar
50a83b63fa Remove package name from push notification content (#2700) 2019-04-08 05:23:53 +08:00
Miguel Alatzar
dd66405343 Avoid force casting items to URL (#2696) 2019-04-05 02:57:36 +08:00
Saturnino Abril
0ff59554fa
Bump app build number to 184 (#2695) 2019-04-05 00:21:25 +08:00
Saturnino Abril
26857bdae1
update commit of commonmark.js that fixes "blank spaces break markdown table" (#2694) 2019-04-05 00:12:45 +08:00
Daniel Schalla
dd5d11e1dd Add CSRF Header in File Upload and Profile Image Set Operations (#2686) 2019-04-04 10:43:54 -04:00