Commit graph

901 commits

Author SHA1 Message Date
Elias Nahum
dabc24892f
Fix Android timestamp when timezone is not enabled (#1982)
* Fix Android timestamp when timezone is not enabled

* Remove unnecesary comments
2018-08-08 14:24:26 -04:00
Elias Nahum
c7807d910a
Clear Cookies before login in with SSO (#1984) 2018-08-08 12:53:44 -04:00
Harrison Healey
34a37cef05 MM-11477 Ensure client calls are wrapped with error handling (#1976) 2018-08-07 13:11:48 -04:00
Harrison Healey
979b80d34f MM-11477 Fix error in breadcrumb generation and parse URL correctly (#1977) 2018-08-07 13:05:59 -04:00
Saturnino Abril
1c758e2287 [MM-10918] Filter system_remove_channel messages of a current user based on hiding/showing join/leave messages (#1955)
* filter system_remove_channel messages of a current user based on hiding/showing join/leave messages

* update mattermost-redux

* makes the remove_from_channel/team shows after leave_channel/team

* update per comments

* revert change on mattermost-redux commit to prevent conflict with existing PR
2018-08-07 12:18:09 -04:00
Harrison Healey
b01849be39 MM-11477 Attempt to capture uncaught redux errors as Sentry breadcrumbs (#1974) 2018-08-07 10:32:04 -04:00
Sudheer
8ab2373d7b [MM-11051] Add a loading_palceholder when user info is loading (#1972)
* MM-11051] Add a loading_palceholder when user info is loading

* Update package json and lock
2018-08-07 10:30:52 -04:00
Saturnino Abril
c1317f0e94 add protection (emoty object) when accessing id after declaring an object. (#1970) 2018-08-07 08:11:50 -04:00
Saturnino Abril
2fe9d8842a [MM-11492] Add protection in accessing ".team_id" field when it's immediately accessed after the object is created (#1963)
* add protection in accessing ".team_id" field when it's immediately accessed after the object is created.

* remove lastChannelId since lastChannel is being checked already
2018-08-03 10:52:43 -04:00
Elias Nahum
102faceb2b
Wrap set credentials for the keychain in a try/catch (#1962)
* Wrap set credentials for the keychain in a try/catch

* Only wrap the setGenericPassword method
2018-08-02 15:44:30 -04:00
Elias Nahum
5bed4d7400
translations PR 20180802 (Adds Romanian) (#1964)
* translations PR 20180802

* Add Romanian
2018-08-02 12:27:23 -04:00
Saturnino Abril
3a70e5c43f add extra protection to those channel/object followed immediately by accessing its "channel_id" field (#1960) 2018-08-01 13:04:58 -04:00
Sudheer
1783bf9731 Fix render prop of replyBarStyle (#1959) 2018-08-01 13:04:36 -04:00
Saturnino Abril
1a822ee547 set default value whenever the getPreference returns null or undefined (#1958) 2018-08-01 13:04:22 -04:00
Sudheer
d329c6fb4c [MM-11213] Fix post layout including line spacing for consecutive posts (#1947)
* Fix style issues with consecutive posts

 * Remove commented on message for immediate comment by
   same user.
 * Change replyBar to be on post and not on postHeader

* Fix padding on messages

* Fix date_header spacing

* Fix snapshots

* Change renderReplyBar variable name
2018-07-31 16:21:57 -04:00
Martin Kraft
0d0dfb1057 MM-11070: Adds ability to view archived channels. (#1927)
* MM-11070: Adds ability to view archived channels.

* MM-11070: Switches to existing selector.

* MM-11070: Uses boolean prop instead of object.

* MM-11070: Reuses web translations.

* MM-11070: Adds archived message to thread view. Switches to selector for postIDs of archived channels.

* MM-11070: Removed unused import.

* MM-11070: Removes edit and delete options from longpress of archived posts.

* MM-11070: Moves closure variable.

* MM-11070: Switch from hard-coded to theme color.

* MM-11070: Hides actions in header of archived channels.

* MM-11070: Updates Redux.

* MM-11070: Re-adds the 'Leave Channel' option for archived channels.
2018-07-31 15:27:38 -04:00
Elias Nahum
2f3a6f98ac Fix close setting sidebar when setting status (#1954) 2018-07-31 14:13:20 -04:00
Saturnino Abril
b2f7fcc346 [MM-11454] Update the value of QuickTextInput on componentDidUpdate (#1941)
* update the value of QuickTextInput on componentDidUpdate

* update condition in updating input from props
2018-07-31 11:50:20 -04:00
Chris Duarte
26950abb61 Add deep linking support (#1805) 2018-07-31 08:43:54 -04:00
Harrison Healey
0f84f4752d Fixed warnings on login screen (#1949) 2018-07-28 14:25:27 +08:00
Sudheer
e45a3a0bb9
[MM-11258] Clear jumpTo focus on drawerClose (#1944)
* Clear jumpTo focus on drawerClose
* Fix conditional if for clearSearch
2018-07-27 12:47:13 +05:30
Harrison Healey
154def4af8 Only update Client4.setAcceptLanguage when locale changes (#1942) 2018-07-26 07:54:33 -04:00
Harrison Healey
0272cd5d47 MM-11421 Add max lengths when editing user profile fields (#1940) 2018-07-25 14:20:22 +05:30
Elias Nahum
c7e1a70236 Recycle the post list (#1938) 2018-07-20 16:58:38 -04:00
Saturnino Abril
59d077a71d fix embedded long URL in message attachment (#1937) 2018-07-20 16:58:18 -04:00
Elias Nahum
b47c7db4dc
Fix cropped images (#1936)
* Fix cropped images

* Unit tests
2018-07-20 13:34:46 -04:00
Saturnino Abril
c714072b9b [MM-11274 & MM-10797] Add profile pop-up to combined system messages and fix it's translation issue (#1926)
* add profile pop-up to combined system messages and fix it's translation issue

* Pushing userlink changes

* add spacing

* fix styling and spacing issue. also removed tests due to transpiling issue

* update per comment
2018-07-20 03:53:23 -04:00
Elias Nahum
f6a1927a27
Fix closing app with Android Back Button (#1933) 2018-07-18 12:20:18 -04:00
Sudheer
e27ed497b1
MM-10924 Add forgot password screen (#1878)
* MM-10924 Add forgot password screen
 * Add a new screen for the user to reset password.
   but can only verify the link through web UI

* Update mattermost-redux version to include isEmail helper
2018-07-18 14:16:02 +05:30
Harrison Healey
0d91ef64a1 MM-11207 Fixed wrapping of username in menu (#1930) 2018-07-18 07:22:02 +08:00
Harrison Healey
8ada284f6f MM-11323 Added defensive code in LongPost makeMapStateToProps (#1923) 2018-07-13 16:23:23 -04:00
Harrison Healey
d410b1eed3 MM-11324 Added defensive code to hashCode function (#1925) 2018-07-13 22:25:10 +05:30
Elias Nahum
977575e4b8
Merge pull request #1924 from mattermost/release-1.10
Merge Release 1.10 into master
2018-07-13 09:35:07 -04:00
Elias Nahum
087096de88
Fix autocomplete 2018-07-12 20:28:25 -04:00
Elias Nahum
26389994d7
If slash command fails leave the command in the textbox 2018-07-12 19:21:53 -04:00
Elias Nahum
a8202b8311
Fix regression DMs will not open using jump to (#1920) 2018-07-12 11:18:26 -04:00
Martin Kraft
7675dd1af2 Render escaped HTML in FormattedMarkdownText; no throw error. (#1911) 2018-07-12 14:16:04 +05:30
Elias Nahum
3aad874ac6
Fix join channel from jump to drawer (#1915) 2018-07-11 19:31:15 -04:00
Elias Nahum
145520f676
Mark flagged posts for consecutive messages (#1913) 2018-07-11 19:30:51 -04:00
Saturnino Abril
199a49b221 fix email preference to not change value on cancel (#1912) 2018-07-11 17:06:36 -04:00
Saturnino Abril
3af831f7d9 change defaultValue to value in using TextInputWithLocalizedPlaceholder (#1910) 2018-07-11 12:28:20 -04:00
Elias Nahum
bc2e8bb0ea
Merge pull request #1909 from saturninoabril/MM-11217
[MM-11217] Fix RadioButtonGroup's on change values - on Android
2018-07-11 12:27:05 -04:00
Elias Nahum
f89c45f986
Fix replying from push notification (#1894) 2018-07-10 08:57:26 -04:00
Saturnino Abril
cd50ca72eb fix RadioButtonGroup's on change values 2018-07-10 15:50:06 +08:00
Jesse Hallam
36dd3f19e2 MM-11198: avoid duplicate date line keys (#1901)
* MM-11198: avoid duplicate keys in date lines

Ensure each dateline rendered as part of search, recent mentions, or flagged post list has a unique key, even if the same date itself appears multiple times.

* update post_list.test.js to actually test date boundaries, relying on TZ=utc export in package.json

* unit test makePreparePostIdsForSearchPosts

* fix eslint issues

* try TZ=GMT

* encode date lines using timestamps instead

This requires a few extra changes to the post list proper, but largely
simplifies things anyway.
2018-07-09 18:35:43 -04:00
Elias Nahum
ca4d08fc7e
Use TextInput instead of QuickTextInput on Android (#1904) 2018-07-09 18:33:31 -04:00
Elias Nahum
01792f2b54
Handle bad state (#1903)
* Upgrade mattermost-redux

* Check if url start with http before pinging

* Remove required status prop in settings sidebar

* Prevent the app to get into a bad state and if that happens try and recover
2018-07-09 18:33:13 -04:00
Elias Nahum
360c8cd2e3
Prevent drawer from swiping to teams when jump to channel is focused (#1902) 2018-07-09 18:32:48 -04:00
Saturnino Abril
6458ed871b fix profile upload by using RNFetchBlob (#1900) 2018-07-09 18:32:09 -04:00
Elias Nahum
91a4abbd24
Fix race condition when opening the app from push notification (#1898) 2018-07-09 16:15:50 -04:00