Commit graph

73 commits

Author SHA1 Message Date
Elias Nahum
614e8e32ca
MM-13974 Missing translations (#2549)
* Missing translations

* update snapshots
2019-02-05 19:15:31 -03:00
Elias Nahum
0cb7227d52 MM-13673 combine reset cache & delete files into one action (#2499) 2019-01-28 09:35:34 -05:00
Elias Nahum
8a8aa5e992
Fix settings screen not showing joinable teams (#2500) 2019-01-10 09:11:05 -03:00
Elias Nahum
432e266180
Fix Keywords modal title on Android (#2498) 2019-01-09 19:02:37 -03:00
Elias Nahum
ca78514941
MM-13362 Update account settings header color when changing theme (#2431)
* MM-13362 Update account settings header color when changing theme

* Removed unneded static var
2018-12-07 12:20:46 -03:00
Vasily Naumkin
2a6ad4f9ae Fixed typo in i18nId (#2384)
There are should be `mobile.advanced_settings.delete_file_cache` instead of `mobile.advanced_settings.clear_downloads`.
2018-12-05 20:54:23 +08:00
Chris Duarte
7c711caf2d Theme selection screen (#2320)
* Theme selection screen (initial commit)

PR Review changes

Add custom theme option for users who are already using a custom theme

Fix for limited allowed themes

Selected item case fix

Memoized available themes request, other optimizations

updated snapshots

* Custom theme option changes - title. spacing, save option on state for life-cycle of screen
2018-11-23 14:49:28 -03:00
Elias Nahum
68a3825d95
Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
Elias Nahum
1c40604a70
Fix update keywords field on Android (#2229) 2018-10-09 11:56:35 -03:00
Saturnino Abril
3c99672af5
Update unit test: use default theme, snapshot on wrapped elements and removal of unnecessary adapter (#2171)
* use default theme when unit testing the component

* update snapshots by getting wrapped elements only

* fix merge conflicts
2018-10-01 15:11:00 +08:00
Jesús Espino
8884293b18 Add t() translation mark to i18nable strings and update translations (#2026)
* Add t() translation mark to i18nable strings and update translations

* Small fixes

* Adding  to the packager

* Rebase fixes

* Added missed texts
2018-09-21 11:25:38 -03:00
Elias Nahum
07f88071c6
Update dependencies (#2040)
* Update dependencies

* Update snapshots
2018-09-17 10:22:38 -03:00
Elias Nahum
2f88ae2f3c Fix mention keywords setting (#2127) 2018-09-17 13:34:24 +05:30
Saturnino Abril
059db1a788
fix warnings in running jest test (#2087) 2018-09-07 23:05:35 +08:00
Saturnino Abril
dbd77b87e0 fix email notification setting on Android (#2065) 2018-08-31 09:38:36 -04:00
Elias Nahum
c24492be8f
Android notification support for O and P (#2060) 2018-08-30 19:45:21 -03:00
Saturnino Abril
320f1d9c91 fix email notification settings (#2051) 2018-08-29 14:25:09 -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
1a822ee547 set default value whenever the getPreference returns null or undefined (#1958) 2018-08-01 13:04:22 -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
Saturnino Abril
cd50ca72eb fix RadioButtonGroup's on change values 2018-07-10 15:50:06 +08:00
Saturnino Abril
e4a0a4b4ec [MM-10215] Fix saving of email notification props when email batching is enabled (#1654)
* fix saving of email notification props when email batching is enabled

* fix email notification settings for android

* make screen for Android email notification

* update per comment

* leave as is "...email.everyXMinutes", and fix prop type error on emailInterval

* add "mobile." prefix to newly introduced translation ID
2018-07-04 13:17:59 -04:00
Stan Chan
583d6b74ee Timezone feature (#1456)
* Add automatic and manual timezone support

Update users timezone and scrollTo selected timezone in SelectTimezone coponent

Clean styles for SelectTimezone screen

Add auto-timezone update when login or enter app

Hide timezone feature behind config

Fix requested changes

Parse SupportedTimezone from config

Add localTime and localized post stamps

Add trailing commas

Include all timezone util methods from redux

Remove EnableTimezoneSelection flag

WIP get timezones from server

Pull supportedTimezones from api

Minor fixes

Remove wrapWithPreventDoubleTap

Revert back to react-intl formatDate

Include timeZone prop in FormattedTime

Refactor Timezone row into component

Minor cosmetic changes

Add minimum server support for the timezone feature

Move getSupportedTimezones to componentWillMount

Move autoUpdateTimezone function to handleSuccessfulLogin

Specify user timezone in profile_header

Remove format props from FormattedTime

Add ExperimentalTimezone flag

Replace Client().getServerVersion() with entities.general.serverVersion

Add isTimezoneEnabled helper function

Move isMinimumServerVersion to utils/timezone.js

* Fix style errors

* Remove date-time-format-timezone polyfill

* Feedback changes

* Use timezone selector from redux

* Explicitly pass hour12 props to intl.formatDate

* Update package-lock

* Revert iOS project file changes

* Fix license header

* Include timezone related paths in modulePaths

* Fix license header

* Fix minor issue with rebasing

* Fix issue with getconfig in GeneralSettings

* Update package-lock
2018-06-27 06:55:03 -04:00
Chris Duarte
1a3558bc5e Auto responder feature (#1500)
* Add Auto Responder support

Add Auto Responder message support for <Post/>

Add Out Of Office support

Add Confirmation dialog for Out Of Office status reset

Fixing styling issues

Ensure AutoResponder is enabled in settings with ooo status

Save AutoResponder according to Out Of Office status

Fix copy for AutoResponder hint

Fix eslint errors

* Add constants from Redux

* Small refactor

* Add name consistency with the feature "auto responder"

* Add minimum server version of 4.9 for AutoResponder support

* Add ViewTypes.PROFILE_PICTURE_SIZE in post_profile_picture

* Add ExperimentalEnableAutomaticReplies flag

* Update copy and auto responder styles

* Remove unwanted imports

* AutoResponder feauture in 4.9

* Add AutoResponder Thread support

* Fix OOF copy from review

* Change copy for Auto Responder

* Address feedback

* Fix license headers

* Status name translated in Alert

* Add umbrella icon for AutoResponder

* Fix minor issues with rebase

* Fix License headers
2018-06-22 13:09:37 -04:00
Martin Kraft
3bde858a64 MM-10717: Update longpress buttons when add reaction, edit post, or d… (#1779)
* MM-10717: Update longpress buttons when add reaction, edit post, or delete post permissions change.

* MM-10717: Makes tooltip actions prop required.

* MM-10717: Switches all direct access of 'config' and 'license' to use selectors.
2018-06-21 08:43:17 -04:00
Jesse Hallam
8372e95d4a add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -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
Elias Nahum
006c5a08d7
Use local Images when possible (#1580)
* Fix advance settings android layout

* include react-native-image-gallery dependency

* ImageCacheManager

* Add support for isGif, isDocument, isVideo and purge to file utils

* Remove file fetch cache

* include progressive image component

* Refactor image previewer

* Add image preview support for open graph and embed images

* Cache user profile picture

* Fix post additional content images for android

* Preview markdown inline images

* Improve progressive image

* feedback review
2018-04-13 12:23:15 -03:00
Harrison Healey
80c09b588d MM-9647 Replaced usage of preventDoubleTap with wrapWithPreventDoubleTap (#1471)
* MM-9467 Replaced usage of preventDoubleTap with wrapWithPreventDoubleTap

* MM-9467 Renamed wrapWithPreventDoubleTap to preventDoubleTap
2018-03-02 11:22:37 +00:00
Jesse Hallam
58b72302d6 update eslint's comma-dangle rule to always-multiline (#1457)
* update eslint's `comma-dangle` rule to `always-multiline`

* add check and fix scripts to package.json

* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
2018-02-23 09:06:02 -05:00
Harrison Healey
f75d35b66e RN-9379 Updated react-native-sentry to 0.34.0 (#1447)
* RN-9379 Updated react-native-sentry to 0.34.0

* Removed translations for sentry debugging options
2018-02-21 01:01:06 +08:00
enahum
d0f96c0887
[ICU-650] Upgrade React Native to 0.52.2 (#1421)
* Upgrade to React Native 0.52.2

* Bump app version to 1.7.0

* Update fastlane

* Upgrade mattermost redux

* feedback review
2018-02-07 18:24:01 -03:00
Chris Duarte
8b62ec7133 Clock Display Settings (#1334)
* Clock Display Settings

Add api call for saving militaryTime

WIP Android Clock Display Modal

Clean up styles for iOS and Android

header info no longer required in Sectin component

Add Display Settings option

Clean up Advance Settings

* Add requested changes

* Move Display options below Notifications option
2018-01-19 19:37:03 -03:00
enahum
bef0248daf
Android header height consistent across screens (#1324)
* Android header height consistent across screens

* Feedback review
2018-01-04 13:22:55 -03:00
enahum
86efb2d321
Ensure the user has permission to access ringtones (#1313) 2017-12-22 16:05:42 -03:00
enahum
a708a1755b
Right drawer (#1275)
* Add right sidebar

* initial implementation of the right drawer

* Do not hide status bar on drawer open

* initial options in the RHD

* Fix android layout

* feedback review
2017-12-22 15:50:02 -03:00
Bohdan V
3a535daab6 Added text about description of the problem (RN-247)(#1267) (#1292) 2017-12-11 10:13:29 -05:00
Harrison Healey
a5ed41a696 Added ScrollViews to all settings pages (1.5) (#1270)
* Added ScrollViews to all settings pages

* Added alwaysBounceVertical to settings pages
2017-12-06 13:38:57 -03:00
enahum
7068cbd043 Fix Android crash for mobile notifications screen (#1233) 2017-11-29 17:42:41 -05:00
enahum
c36eb9a9f4
Fix styling when theme is change in another device (#1229)
* Fix styling when theme is change in another device

* Fix drawer showing behind channel screen
2017-11-29 13:55:33 -03:00
enahum
87261e9a59
Make layout compatible with iPhone X (#1205)
* Make layout compatible with iPhone X

* feedback review
2017-11-28 09:04:53 -03:00
Harrison Healey
dc90ce46ae RN-483 Ensured switch statements used for i18n have a default case (#1196)
* RN-483 Ensured switch statements used for i18n have a default case

* Made VectorIcon use a PureComponent
2017-11-24 20:25:21 -03:00
enahum
c69bf5a950
Remove unneded ownProps (#1177) 2017-11-21 12:35:03 -03:00
enahum
bc1554e1bd
Add Document and Video previews (#1170)
* Video file previewer

* Document preview support

* Fix tests

* Feedback review

* feedback review 2

* feedback review 3

* Fix video_controls copyright

* Fix mime undefined
2017-11-20 18:28:20 -03:00
enahum
4896716668 Prevent notify props from causing a crash (#1127) 2017-11-13 11:32:38 -05:00
Chris Duarte
9e0831e984 Allow profile button configuration (#947)
* Allow profile button configuration

* Renamed config to experimental and moved to separate function
2017-10-27 14:15:14 -04:00
Chris Duarte
54ddec3d46 Prompt/require user to upgrade to new version (#948)
* Prompt/require user to upgrade to new version

* Update en.json

* Update app message text

* Fix typo and add copyright
2017-10-26 10:45:34 -04:00
enahum
770af754b9 Fix undefined when default or selected sound not found (#1026) 2017-10-16 15:07:38 -03:00
enahum
30dea1dcf0 Fix undefined when selected sound not found (#1025) 2017-10-16 15:07:22 -03:00