Commit graph

786 commits

Author SHA1 Message Date
Elias Nahum
a2af6b5fd6
Fix inApp notification handler (#1749) 2018-06-08 16:18:14 -04:00
Elias Nahum
e3e2456ecd Fix android share extension channel switching and searching 2018-06-08 15:25:00 -04:00
Saturnino Abril
2f3488f622 MM-10340 Fix "More New Messages Above" that appears on top of the channel after joining (#1710)
* Replace "More New Messages Above" with "New Messages" that appears on top of the channel after joining

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* add conditions in adding entry of start of new messages in preparing post IDs for post list

* remove post unread for user joinining the channel

* refactor and remove unnecessary conditional check

* fix and add test cases
2018-06-07 17:14:41 -04:00
Harrison Healey
b12d4cd91b MM-10823 Switch to default channel after leaving channel (#1743) 2018-06-07 17:13:29 -04:00
Harrison Healey
bbe27df6ea MM-10784 Remove keyboard animation (#1742)
* Patch layout bug

* Fixed warnings
2018-06-07 16:24:24 -04:00
Elias Nahum
2dcf718f81
Fix iOS type error warnings (#1737) 2018-06-07 15:58:04 -04:00
Saturnino Abril
90adb0524b remove converted channel (into private) from "MoreChannels" screen of joinable channels (#1740) 2018-06-07 15:52:40 -04:00
Chris Duarte
c63ca6a7e0 Ping server after setting app offline/online. Also include timeout (#1739)
* Ping server after setting app offline/online.  Also include timeout

* Add missing semicolon
2018-06-07 14:47:09 -04:00
Elias Nahum
c0b41cff33
Fix Team icon background and radius in team lists (#1735) 2018-06-07 10:17:41 -04:00
Harrison Healey
fa17e9ad9d Fixed dev-mode error relating to adjacent images (#1731) 2018-06-07 10:17:08 -04:00
Elias Nahum
4841678213 Fix inline images in long posts (#1732) 2018-06-07 03:36:50 +08:00
Elias Nahum
43cf9b5294
Fix change team and channel in iOS share extension (#1727) 2018-06-06 13:00:53 -04:00
Saturnino Abril
37484f104b [MM-10303] Fix scrolling issue on profiles when adding user/s to a channel (#1725)
* fix scrolling issue on profiles when adding user/s to a channel

* use existing emptyFunction at utils/general
2018-06-06 13:00:07 -04:00
Harrison Healey
0910bef8ae MM-10372 Get channel if necessary when loading from push notification (#1730) 2018-06-05 15:37:44 -04:00
Elias Nahum
8673bc69c4 Fix iPhone X safe area insets to avoid jumps (#1728) 2018-06-05 11:47:59 -04:00
Saturnino Abril
4db67a9734
fix DM's channel displayname (instead of "Someone") after creating a DM (#1721) 2018-06-05 03:18:14 +08:00
Saturnino Abril
78acd89222 [MM-10727 and MM-10755] Fix missing username and styling issue of combined system messages (#1719)
* fix missing username by supporting backward compatibility on `addedUsername` props when adding user to the channel or team

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* updated mattermost-redux with related PR merged
2018-06-04 14:59:38 -04:00
Harrison Healey
861b46d605
MM-9547 Added CustomUrlSchemes option (#1718)
* MM-9547 Added CustomUrlSchemes option

* Switched mattermost-redux back to master
2018-06-04 10:25:34 -04:00
Elias Nahum
6179c031cd Fix long post detection (#1713) 2018-06-04 08:54:59 -04:00
Elias Nahum
cf3683272e Entry screen and Channel Loader improvements (perf part 4) (#1707)
* Entry screen and Channel Loader improvements

* Feedback review

* Removed unnecessary style array
2018-05-29 10:58:06 -04:00
Saturnino Abril
b500df868e MM-10722 Fix display name of other user after joining a channel (#1709)
* fix bundling failed with "mime-db" error

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* fix display name of other user after joining a channel

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-29 10:28:58 -04:00
Saturnino Abril
bc57bf5163 remove desktop duration on notify props (#1706)
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-25 09:47:40 -04:00
Chris Duarte
5604836a9d Save credentials immediately after login (#1703)
* Save credentials immediately after login

* Add mock app class to login.test.js
2018-05-25 09:21:18 -04:00
Saturnino Abril
38daeb95cf
[MM-10394] Make hidden town-square (on read-only) be available to view by joining in more channels (#1666)
* make hidden town-square (on read-only) be available to view by joining in more channels

* updated

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-25 04:38:39 +08:00
Saturnino Abril
1e4ee0716f [MM-10594] Add feature to combine join/add/leave/remove to channel/team system messages (#1682)
* add feature to combine system messages

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* updated copyright to 2015

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* updated per comments

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-24 16:34:33 -04:00
Elias Nahum
e72bb48d98 Cold-start channel drawer improvements (#1702) 2018-05-24 11:04:24 -04:00
Elias Nahum
efa3f59d12 Remove test code from MattermostManaged (#1701) 2018-05-24 09:29:41 +08:00
Elias Nahum
c171ae4809
Enable Android Unbundle strategy (perf part 2) (#1700)
* Enable Android Unbundle strategy

* feedback review

* Update modulePaths

* Add npm start and use it in the Makefile

* feedback review #2
2018-05-23 13:23:38 -04:00
Elias Nahum
e07a738dcd Remove orientation dependency (#1698)
* Remove orientation dependency

* Update NOTICES
2018-05-23 10:39:23 -04:00
Elias Nahum
b8f6160f73 Update Android JavaScriptCore in release mode (#1697) 2018-05-23 10:39:09 -04:00
Chris Duarte
4cebfdfd5d Fix issue where auto closed DMs would not show again (#1689)
* Fix issue where auto closed DMs would not show again

* Fix lint error

* Review feedback
2018-05-22 12:26:09 -04:00
Elias Nahum
8e0d167f95 Fix push notification and emm race conditions (#1691)
* Fix push notification and emm race conditions

* feedback review

* Removed unnecesary code
2018-05-22 11:02:14 -04:00
Chris Duarte
e8712f9199 Cold startup js refactor (#1598)
* Switch to SingleDex and remove all locales

* WIP Mattermost Start Component for lazy loading modules

* Add files changed for native modules

* Add Entry component and app global object

* dispatch setStatusBarHeight for iOS

* Update screen imports

* Include Entry screen

* Refactor app to mattermost.android.js

* Override unnecessary java files

* Fix minor issues in changes

* Display empty state based on user credentials

Also, add proper background theme for empty loading screen

* Add native module constant cache support

* Fix startup theme regression

* Add Keychain support for credentials

* Fix Orientation regression

*  Fix SharedExtension regression

* Emit NATIVE_APP_LAUNCHED across bridge only once during cold start

* Add iOS Support

* Revert to previous implementation of i18n

* Fix styling issues

* Include listener for SERVER_VERSION_CHANGED

* Add SafeAreaView in Entry screen

* Register deviceToken early, in order to get iOS PN Support

* Include StartTimeModule

* Add ReplyFromPush support and remove NATIVE_APP_LAUNCHED listener

* Package native constants in StartTimeModule and avoid bridge calls

* Fix check-style errors

* Code cleanup

* Rename StartTimeModule to InitializationModule

* Remove NavigationApplication

* Documentation and minor changes

* Account for app opening after SharedExtension

* Refactor getIntl to getTranslations

* Move native module constants into it's own forked repos

* Include FetchBlob and DeviceInfo forked repos
2018-05-18 17:13:00 -04:00
Saturnino Abril
8cf1f07ad8 fix JS error on announcement banner when no license is set (#1679) 2018-05-18 09:58:49 -04:00
Harrison Healey
5884bd4dc1 MM-10617 Fixed checking if a link is an image (#1681)
* MM-10617 Fixed checking if a link is an image

* Added unit tests
2018-05-18 01:10:17 +08:00
Saturnino Abril
7863ebc588
Include "id" to data for UserTypes actions - RECEIVED_PROFILE_IN_CHANNEL (#1676)
* Include "id" to data for UserTypes actions - RECEIVED_PROFILE_IN_CHANNEL

* update commit of mattermost-redux
2018-05-16 05:21:00 +08:00
Jesse Hallam
210b3512b1 MM-10460: avoid double post on restore (#1667)
* add test to messageRetention to verify outgoing action type

* ensure messageRetention passes the original action type through

* fix linting issues
2018-05-15 11:39:35 -04:00
Jesús Espino
f4d1294ae0 MM-10454: Adding roles to the cleanup middleware (#1661) 2018-05-14 09:12:29 -04:00
Elias Nahum
8bbc8ddb78 Fix commented on Someone message (#1665)
* Fix commented on Someone message

* Feedback review
2018-05-11 17:14:05 -04:00
Elias Nahum
23ca490525
Ability to upload other file types (#1662) 2018-05-11 18:05:49 -03:00
Elias Nahum
76e664cdae
Prevent duplicate flagged posts (#1670)
* Make sure date component keys are always different

* update mattermost-redux
2018-05-11 18:05:32 -03:00
Elias Nahum
0d92c61a41
Cache team icon and set background to always be white (#1669) 2018-05-11 18:05:16 -03:00
Harrison Healey
40dc8912b7 Fixed empty OpenGraph previews from trying to render an empty string (#1660) 2018-05-08 22:03:43 +08:00
Harrison Healey
4b11195120 MM-10360 Only show link previews if they have a url defined (#1655) 2018-05-07 16:40:55 +08:00
Harrison Healey
4d506b6e4d
Moved getCurrentUserLocale to mattermost-redux (#1652) 2018-05-04 11:21:34 -04:00
Sudheer
4517fcaa8c Add Loading animation to skeleton screen (#1609)
* Add a view for message with linear gradient,move position
   and change opacity using animation interpolation.
2018-05-03 10:06:08 -04:00
Harrison Healey
3b33b51f11
MM-10360 Render OpenGraph previews for pages with an empty description (#1651)
* MM-10360 Render OpenGraph previews for pages with an empty description

* Updated mattermost-redux
2018-05-03 10:02:09 -04:00
Harrison Healey
29d015bd32 Fixed Markdown links when SiteURL isn't configured (#1650) 2018-05-03 21:08:36 +08:00
Chris Duarte
ad21a8cfb2 Add selectDefaultTeam (#1613) 2018-04-30 11:58:31 -03:00
Elias Nahum
aebe22f58d
Fix Android sharing files without extension (#1646) 2018-04-30 11:57:24 -03:00