Commit graph

148 commits

Author SHA1 Message Date
Elias Nahum
dad72467dd
MM-15532 properly mark channel as read when reading the channel in another client (#2789) 2019-05-13 13:24:40 -04:00
Miguel Alatzar
bc0c31d707 Update react-native-fetch-blob dependency to use okhttp3 v3.13.1 (#2782) 2019-05-09 14:51:10 -07:00
Miguel Alatzar
67d09a7303 [MM-15379] Avoid possible reading of .name on undefined (#2778)
* Avoid possible reading of property on undefined

* Add unit test for handleSelectChannelByName

* Update mattermost-redux hash
2019-05-08 13:24:02 -07:00
Miguel Alatzar
86f2b0a7b9 Allow only jpeg, png, and bmp profile image uploads (#2742) 2019-04-26 08:44:03 -04:00
Saturnino Abril
c318f92470 [MM-14619] Remove Client4.online and related setOnline function (#2718) 2019-04-24 00:48:13 +08:00
Miguel Alatzar
d5bf5bec78 [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:22:39 -07:00
JoramWilander
78b23ae37e Update mattermost-redux 2019-04-09 13:27:09 -04:00
Miguel Alatzar
caac14907e
[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:33:33 -04:00
Saturnino Abril
00e05c5e8f update commit of commonmark.js that fixes "blank spaces break markdown table" (#2694) 2019-04-05 00:14:54 +08:00
Christopher Speller
370fa9b952
MM-13618 Adding bot tags. (#2669)
* Adding bot tags.

* Snapshot update.

* Moving bot tag to own component.

* Snapshots.

* Adding missing bot tags, fixing bot profile, allowing tap of bot username to open profile.

* Snapshots and tests.
2019-03-26 17:01:17 -07:00
Harshil Sharma
52e379ae51
#MI-372 updated mattermost-redux commit ID to use the latest changes (#2670)
* #MI-372 updated mattermost-redux commit ID to use the latest changes

* Updated commit ID in package lock as well
2019-03-26 18:38:56 -03:00
Elias Nahum
d2d1af2584
Transfer dependencies from enahum to mattermost (#2666) 2019-03-23 12:30:09 -03:00
Saturnino Abril
b5effd3ea3
fix showing o fpost options for system admin (#2644) 2019-03-21 17:52:36 +08:00
Elias Nahum
ae66a81e10 MM-14154 Update react-native-image-gallery (#2655) 2019-03-20 14:12:20 +05:30
Elias Nahum
e053219fb0 MM-13795 Detect timezone updates on Android (#2660) 2019-03-19 18:10:45 -07:00
Saturnino Abril
914e24dccd
[MM-14527] Fix default behavior when enabling/disabling email batching (#2642)
* fix default behavior when enabling/disabling email batching

* update redux commit to master - 98856a3
2019-03-14 01:57:49 +08:00
Elias Nahum
b0a18025c4
Wait for VPN connection only when appconfig flag is set (#2627) 2019-03-05 12:01:43 -03:00
Saturnino Abril
8798179618
fix undefined site URL when copying permalink (#2629) 2019-03-05 19:38:01 +08:00
Elias Nahum
6e7a49cccd Fix crash when fresh install android when getting the fcm token (#2608) 2019-02-28 11:16:16 -08:00
Elias Nahum
ad5d0adeff Handle pending posts when dispatching RECEIVED_NEW_POST (#2606) 2019-02-28 10:37:09 -05:00
Elias Nahum
b91ad11fad
Update sentry to fix android build (#2603) 2019-02-27 16:42:38 -03:00
Miguel Alatzar
d8146ca41e
Use forked react-native-navigation with v1 patch (#2596) 2019-02-26 12:38:16 -08:00
Elias Nahum
3feaa8e6bb
iOS Native Share Extension (Swift) (#2575)
* iOS Native Share Extension (Swift)

* Re-arrange files

* Fix .gitignore
2019-02-26 14:31:57 -03:00
Elias Nahum
7916895689
Update mattermost-redux (#2587) 2019-02-21 10:22:06 -03:00
Elias Nahum
98094866d9 Migrate Android from GCM to FCM (#2577) 2019-02-20 12:21:08 -08:00
Elias Nahum
88f5848850
Dependencies update (#2576)
* Dependencies update

* Fix WebView

* Update to RN 0.58.5 and include the WebSocket fix

* Update react-native-video

* Fix RNFetchBlob
2019-02-20 17:17:04 -03:00
Miguel Alatzar
c72ea6a281
[MM 13161] Mobile: Add paging to Select Teams screen (#2468)
* Use updated getJoinableTeams function from mattermost-redux

* Use onEndReached for infinite scrolling of paginated teams

* Add onRefresh

* Update Settings screen to expect joinableTeams as array

* Fix linter issues

* Test that page is updated after getTeams() call

* Revert package-lock.json changes

* Update mattermost-redux dependency

* Update mattermost-redux dependency

* Only call getTeams if more can be loaded and only after a previous
call has completed

* Update snapshot due to  prop

* Update CustomList to support refreshing as well as option to not
render the separator

* Use CustomList in SelectTeam
2019-02-20 09:12:36 -08:00
Elias Nahum
a0a1fa28ce
MM-13896 Sync channel as read between clients (including opening Push Notifications) (#2548)
* Update mattermost-redux to use latest WS changes

* Properly mark channel as read, keep the new message indicator, and fix push notification flow

* unneeded parameter in setCurrentUserStatusOffline

Co-Authored-By: enahum <nahumhbl@gmail.com>

* Feedback review

* Update mm-redux ref
2019-02-16 15:09:22 -03:00
Joram Wilander
cc23ac032a Update mattermost-redux to latest (#2574) 2019-02-15 19:07:18 -03:00
Sudheer
336f4fcbf9
MM-13428 Updating mm-redux hash (#2566) 2019-02-12 16:57:40 +05:30
Elias Nahum
b9f55dcb60 MM-13337 Fix EMM connections using VPN on-demand (#2558)
* Fix EMM connections using VPN on-demand

* Update package.json

* Update package-lock.json
2019-02-11 10:22:31 -08:00
Dean Whillier
4a51013316
[MM-13677] Fix to ensure unsupported unicode emoji can be rendered jumbo size (#2545)
* fixes unicode emoji not rendering jumbo

- replace inline emoji regex with npm emoji-regex library
- update notice.txt with emoji-regex license
- jumbo emoji issue automatically fixed with updated unicode emoji regex

* Add several tests specifically for 🤟emoji.
2019-02-05 11:58:07 -05:00
George Goldberg
bbc7221ac4
Bump redux version. (#2531) 2019-01-30 16:40:17 +00:00
Harrison Healey
ff51501b0c
MM-11232 Fix table column width to better support wide tables (#2467)
* MM-11232 Fix table column width to better support wide tables

* Fix horizontal scrolling on Android
2019-01-07 13:53:04 -05:00
Sudheer
f02e0fc4f5
MM-13432 Remove unsed request flags from channel_members (#2490)
* Remove unsed request flags from channel_members

* Fix intial state to match redux state

* Update redux hash
2019-01-04 18:52:00 +05:30
Saturnino Abril
af8faa8a2c
[MM-13433] Fix unnecessary rendering for reactions component and reaction list screen (#2464)
* fix unnecessary rendering for reactions component and reaction list screen

* update redux commit
2018-12-18 23:07:42 +08:00
Elias Nahum
6601a17923
Update react-native-image-picker dependency (#2446) 2018-12-10 17:37:24 -03:00
Saturnino Abril
f668381873
update redux commit to fix sorting of channels at sidebar unreads section (#2444) 2018-12-10 22:58:11 +08:00
Elias Nahum
6c6441421a
Sort pinned posts from newest to oldest (#2440)
* Sort pinned posts from newest to oldest

* Update mattermost-redux
2018-12-07 15:56:19 -03:00
Elias Nahum
2184696e65
post menu and file attachments (#2414)
* post menu and file attachments

* Fix post list selector test

* Use new Gesture handler to avoid gesture conflicts in post menu and reaction list

* Allow reaction list to scroll the header on Android

* Feedback review

* Add some comments

* Fix eslint
2018-12-05 14:59:41 -03:00
Elias Nahum
9d2ae070dc
Update mattermost-redux sidebar sorting and WS fixes (#2410) 2018-11-30 19:12:13 -03:00
Joram Wilander
e431bd36c4
MM-12845 Add widgets and interactive dialogs (#2353)
* Add widgets and interactive dialogs

* Update snapshots

* Updates per feedback and fix slash command

* Fix style

* Update styling

* Updates per feedback

* Updates per feedback

* More styling changes

* Remove extra space above message menu
2018-11-23 12:30:12 -05:00
Elias Nahum
0b33b8ea4a Upgrade sentry to 0.39.1 (#2365) 2018-11-23 11:58:45 -05:00
Elias Nahum
736a955be8
Use post metadata to prevent scroll pop (#2304)
* Use post metadata to prevent scroll pop

* Fix not to fetch for reactions every time

* Update post-metadata mm-redux ref

* Update mattermost-redux to include post-metadata
2018-11-22 19:47:27 -03:00
Elias Nahum
c8777422ce
Fix network indicator layout and reconnect logic (#2351)
* Fix network indicator layout and reconnect logic

* Reconnection logic to cover more use cases

* Check for internet connectivity when bringing the app to the foreground
2018-11-22 10:25:08 -03:00
Sudheer
bfb0db866e
MM-12755 Add reply mention highlight for replyBar (#2359)
* MM-12755 Add reply mention highlight for replyBar
* Update MM-redux hash
2018-11-21 00:02:51 +05:30
Harrison Healey
f9303f911f MM-13020 Update mattermost-redux (#2358) 2018-11-20 15:09:57 +08:00
Elias Nahum
68a3825d95
Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
Elias Nahum
fb51e38733
Replace WebView with React Native Community WebView (#2340) 2018-11-16 13:28:54 -03:00
Elias Nahum
ae629a455c
Update UX for post long press menu (#2325)
* Update UX for post long press menu

* Post menu feedback review
2018-11-14 17:29:09 -03:00