Commit graph

276 commits

Author SHA1 Message Date
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
Ryan Wang
f071deb003 [MM-13975] Add Terms of Service and Privacy Policy Links (#2559)
* [MM-13975] Add terms of service and privacy policy links

* [MM-13975] Address comments
2019-02-20 09:08:07 -05:00
Elias Nahum
614e8e32ca
MM-13974 Missing translations (#2549)
* Missing translations

* update snapshots
2019-02-05 19:15:31 -03:00
Daniel Schalla
409d36d375 [MM-13839] Remove possibility to change eMail within mobile app (#2540)
* Make eMail setting read only

* Add translation entry, change wording

* Update wording
2019-02-01 19:34:57 -03:00
Brad Coughlin
ac2bdc9fe3
MM-13876 React Native: Webhook icon is misaligned and bottom edges are cut off (#2536) 2019-01-30 12:17:07 -08:00
Elias Nahum
0cb7227d52 MM-13673 combine reset cache & delete files into one action (#2499) 2019-01-28 09:35:34 -05:00
Daniel Mills
aea4b096e4 MM-13439 change close edit profile window text to Cancel (#2520) 2019-01-28 09:22:13 -05:00
Elias Nahum
53f4288872 translations PR 20190121 (#2518) 2019-01-23 23:52:56 +05:30
Sudheer
e27b57649a
MM-13405 Change warning message to be singular when adding last user to GM (#2478) 2019-01-04 16:49:10 +05:30
Chris Duarte
008d81caab MM-12906 - Add thumbnails to theme selection (#2381) 2018-12-12 09:40:09 -03:00
Tsilavina Razafinirina
92469f2f21 [MM-8404] Channel notification setting for disabling channel mentions (#MM-8404) (#2302)
* Channel notification setting for disabling channel mentions (#MM-8404)

* Replaces raw string value by constants (#MM-8404)

* Updates import according to redux update (#MM-8404)
2018-12-06 12:08:27 -05:00
Elias Nahum
fc5948fcc8
Add Ukrainian to Mattermost (#2392) 2018-11-28 15:08:23 -03: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
de812107b5
Disable segment for dev env (#2372) 2018-11-23 14:05:42 -03:00
Elias Nahum
f42fedf889
Add pinned post support (#2364)
* Add pinned post

* Update pinned posts assets
2018-11-23 12:57:28 -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
Elias Nahum
678c2599ac
Update post header to support flagged/pinned posts (#2350)
* Update post header to support flagged/pinned posts

* Fix header cutoff when commented on visible

* Update snapshots
2018-11-20 08:23:42 -03:00
Harrison Healey
883de604d8 Fix comma splice typo (#2343) 2018-11-19 14:51:37 -03:00
Chris Duarte
4d5b49f104 Network consolidation (#2324)
* Create network listener component

* Remove unnecessary network/websocket logic

* Remove offline indicator. Fix linting issue

* Fix websocketStatus prop issue

* Refactor and remove animation from state

* Fix AppState listener. Add connection retry.
2018-11-14 18:19:59 -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
Chetanya Kandhari
68eff30eda [#MM-12410] Custom Terms of Service (#2234)
* [#MM-12410] Custom Terms of Service Modal.

- Create a new screen for terms of service
- Register it in app navigation
- Open it as a modal when login succeeds or app is opened when already logged in.
- Get terms of service and render it as markdown

* Refactor service terms to terms of service

* Show terms modal when launching channel instead of componentDidMount

* Remove footer text

* Close modal before logging out

* Use dismissAllModals instead od this.close

* Update header styles

* Update the back icon

* Add left icon conditinally based on os

* Update en.json

* - Integrate Accept/Reject API
- Refactor show navigator to util
- Remove title
- Code refactoring

* Handle Accept/Reject API errors

* Update package-lock

* - Show Alert to handle API error
- Handle API error for GetTerms error, Accept/Reject error and Reject success
- Changes in en.json
- Remove error banner
- Open terms modal in sso and experimental certificate

* Enable navigator buttons after getting terms

* Rename Ok to OK in Alert

* Add retry for API error

* Fix check-style

* Fix FailedNetworkAction Error Message

* - Use Close button instead of back button
- Update en.json

* Remove unused import

* Disable hashtags and atmentions in terms modal

* Enable close button when terms text fails to load

* Minor changes

* Fix show terms on sso login

* Handle restartApp event

* Add test cases

* Revert change to app/components/formatted_markdown_text.js

* Show the terms modal on the channel page

* Remove remaining references to showTermsOfService

* Disable Hashtags, AtMentions and ChannelLinks

* Update the props to markdown component

* Pass the text as literal to renderText

* Return the generated renderTexts

* Fix lint

* Render ~, #, @ with Channel link, Hashtags and At Mentions

* Fix failing tests
Revert unwanted changes

* Hide the channel page content before the terms are accepted

* Fix lint and failing tests

* Revert changes to hide channel while terms are not accepted

* Open modal in componentDidMount instead of constructor
Code refactoring
Disable back button on android

* Remove unused import

* No need to await for showModal

* No need to await for accept and reject

* Update flag for updateTermsOfServiceStatus to updateMyTermsOfServiceStatus
- as phase 2 redux PR was mered.

* Fix check-style

* Change opacity in terms of service text

- Fix tests

* Revert package-lock.json changes
2018-11-14 11:36:45 -03:00
Elias Nahum
592fab2375 Refactor CustomList to use Section and Flat Lists (#2332) 2018-11-13 18:16:57 -05:00
Chris Duarte
5c24375dae Reorganize sidebar channel items via pref (#1928)
* Reorganize sidebar channel items via pref
Add onItemPress


Add isModal prop


Add options modal for ungrouped sidebar


Filter zero item unreads from sections


Refactor unread filtering

Add SidebarSectionTypes to constants

Update mm-redux dep

Remove unused variable

* Fix lint errors. Update redux commit

* Add recent activity title

* Review feedback

* Fix issues after rebase

* Review feedback

* Change to use getAllDirectChannels

* Update redux library

* Fix lint error

* Update modal list snapshot
2018-11-09 13:06:21 -03:00
Elias Nahum
729d69a541 Add ability to include custom headers with requests (#2273)
* Add ability to include custom headers with requests

* feedback review

* Feedback review
2018-10-18 19:47:11 +08:00
Elias Nahum
b20e976dff
Properly handle max file size (#2248)
* Properly handle max file size

* Feedback review
2018-10-11 14:11:05 -03:00
Elias Nahum
de7878ec78 Set Roboto as the default font family for Android (#2244) 2018-10-11 19:33:11 +05:30
Saturnino Abril
953a087948
Add deactivated to separate row on user list and fix truncating user info (#2232) 2018-10-09 20:50:34 +08:00
Elias Nahum
f9e49d8c66
Missing translations on login screen (#2227) 2018-10-08 12:26:12 -03:00
Elias Nahum
43cdaa81a5
Fix Option to capture and share video (#2225) 2018-10-05 17:46:47 -03:00
Saturnino Abril
bf36a7533e [MM-12145] Make user info of user list on two rows: first with username and second with teammate display (#2185)
* make user list row on two columns: first is username, second is teammate display

* move style of filler
2018-09-28 11:36:43 -03:00
Christopher Speller
cd38d8690f Switching broken image error text to icon. (#2156) 2018-09-28 10:28:40 +08:00
Jesús Espino
9bd89930b7
MM-11567: Autocomplete search in: for DMs and GMs (#2133)
* MM-11567: Autocomplete search in: for DMs and GMs

* More robust behavior on older versions and a fix on autocompletion

* Moving get display_name for search to a selector
2018-09-27 18:38:07 +02:00
Saturnino Abril
ce47c23100
[MM-9490] Add reaction list (#2125)
* add reaction list

* update styles and add tests

* update styles

* update per comment
2018-09-27 21:54:17 +08:00
Elias Nahum
48b945d6f9
Localization support for the calendar (#2182) 2018-09-27 10:40:21 -03:00
Elias Nahum
a584cc67f1
translations PR 20180924 (#2162) 2018-09-26 00:38:06 -03: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
Joram Wilander
ef3ba7eb00
MM-11934 Add interactive action menus (#2099)
* Add interactive action menus

* Add snapshot tests

* Updates per feedback

* Update styling of menu action

* Updates per feedback

* Update submitted message color

* Update snapshots
2018-09-20 14:01:51 -04:00
Elias Nahum
46b6687d1f Show local notification when replying to PN fails (#2142) 2018-09-21 00:58:21 +08:00
Elias Nahum
8a93b6b91e
translations PR 20180917 (#2132) 2018-09-20 11:53:27 -03:00
Elias Nahum
b4dbfaf62c
translations PR 20180911 (#2101) 2018-09-11 12:53:50 -03:00
Sudheer
0e6ffab1e0 MM-11603 Fix select_team ui to have failed request scenario (#2063)
* MM-11603 Fix select_team ui to have failed request scenario

* Change error title and description
2018-09-04 09:48:22 -03:00
Elias Nahum
ddc4a3057e Disallow download of all file types on RN apps when disallowed in System Console (#2038) 2018-08-29 14:04:36 -04:00
Elias Nahum
96e9c6c707 Update rn-fetch-blob and CBA support for iOS (#2033)
* Update rn-fetch-blob and CBA support for iOS

* remove trusty

* remove react-native-fast-image dependency
2018-08-29 14:01:37 -04:00
Elias Nahum
96f967ec56
translations PR 20180827 (#2037) 2018-08-28 19:51:49 -03:00
Dmitry Samuylov
1ecb209712 Feature/search after before on (#2028)
* initial partial implementation of search date flags UI (on: before: after:)

* Make the calendar show correctly

* dismiss keyboard when showing the date suggestion since this type of input will primarily be entered through the calendar and later edited if needed

* fixed code style errors

* updates as per pull request comments

* fixed eslint errors

* changes as per pull request comments, removing unnecessary code

* added handling for hiding the date filter feature if the server version doesn't support it

* fixed eslint errors

* removed unnecessary property defaults and server version checks, as per PR suggestions

* this default is needed for the initial load of the component

* changed the way we capture the flag from the search string, this handles scenarios where multiple flags might be present in the search string that are handled by the same suggestion component as is the case here with date based flags

* need property declared to pass jslint rules

* eslint style fix, moved regex out into constants

* removed unused code and references

* updated as per pull request feedback

* updated to latest redux version

* changed to new search posts api that supports passing in of time zone utc offset to support date based search flags

* updated to the upcoming release version in preparation for merging to master

* Properly memoize DateSuggestion mapStateToProps

* Remove moment-timezone
2018-08-28 18:01:11 -04:00
Elias Nahum
ec35efcc5c
translations PR 20180820 (#2023) 2018-08-22 21:06:39 -03:00
Elias Nahum
3894f820e6
translations PR 20180813 (#2004) 2018-08-14 08:02:12 -03:00
Sudheer
f06e90407a [MM-11487] Add a defensive check for channel obj (#1967)
* [MM-11487] Add a defensive check for channel obj

* Fix review comments

* Add a modal to show feedback to user about failed join

* Fix error message
2018-08-13 10:26:05 -03:00
Elias Nahum
f2d21f585c
Fix About dialog layout (#1985) 2018-08-09 08:32:47 -04:00
Elias Nahum
22455fe682
Handle YouTube video errors (#1978) 2018-08-08 14:24:47 -04:00