Commit graph

287 commits

Author SHA1 Message Date
Elias Nahum
f7f56e958b
MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799)
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard

* Fix tests

* feedback review

* add new line at the end of file

* feedback review and added todo list

* Track interactive dismiss keyboard and set scrollview bounds natively

* Fix snapshots

* Fastlane default to current branch when no BRANCH_TO_BUILD is set

* Set NODE_OPTIONS in ios build script

* Rebind scrollview when channel gets first set of posts

* Keep scrolling momentum on keyboard close

* Update react-native-keyboard-tracking-view

* Fix ScrollView offset with keyboard-tracking

* Fix offset while dragging the keyboard

* Allow action on channel drawer on tablets

* Fix typo

Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>

* Fix indentation
2019-05-20 12:02:00 -04:00
Martin Kraft
5f7ab2bf15 MM-15528: Updates to channel info for group-constrained channels. (#2786)
* MM-15528: Adds new group-managed text to channel info header.

* MM-15528: Hides 'Add Members' link if group-constrained.

* MM-15528: Sets member list to view-only if channel is group-constrained.

* Update app/screens/channel_members/index.js

Co-Authored-By: Harrison Healey <harrisonmhealey@gmail.com>
2019-05-13 17:14:47 -04:00
Jason Blais
d51d4e4c9c Update help text for at-here, at-channel, at-all (#2790)
* Update help text for at-here, at-channel, at-all

https://community.mattermost.com/core/pl/kqmabdzqb3df7xx5xjsaosozir

* Update at_mention.js
2019-05-13 11:13:39 -04:00
Saturnino Abril
e086d66ec2
[MM-13955] Add telemetry for Android (#2719)
* add markers for Android profiling

* update per comments

* Remove beta build flag

* update per comment, latest change on telemetry server and others

* rebase and fix merge conflicts, and update per comments

* update commit hash of mattermost-redux
2019-05-08 00:23:59 +08:00
kmandagie
b3a586fd57 [MM-12599] Implement assets for Adaptive icons (#2663) 2019-04-26 13:08:15 -07:00
Miguel Alatzar
cb0e4e225a
[MM-14887] Allow only jpeg, png, and bmp profile image uploads (#2715)
* Allow only for jpeg, png, and bmp profile image uploads

* Add file type if missing and update error id

* Update mattermost-redux commit hash

* Point mattermost-redux to latest master commit
2019-04-25 14:27:06 -07:00
Peter Dave Hello
d5a0b50d9a Optimize png image with zopflipng lossless compression (#2682) 2019-04-22 21:57:49 -04:00
Elias Nahum
5183bc4b50 MM-15215 fix crash caused by malformed post textbox localize string 2019-04-18 18:24:36 -04:00
Martin Kraft
58f4346e5d
MM-14417: Add messaging for channel mentions of users not in constrai… (#2711)
* MM-14417: Add messaging for channel mentions of users not in constrained groups.

* MM-14417: Reorder translation.

* MM-14417: Update for new mobile app with old server install.
2019-04-17 10:45:29 -04:00
Jesús Espino
95a9eb9118 Executing translation extraction script (#2703) 2019-04-09 15:24:43 -04:00
Carlos Tadeu Panato Junior
9ae71cf393
add mmjstool as dev dep (#2707)
* add mmjstool as dev dep

* run the mmjstool to fix issues

* add extra line

* update makefile

* update per feedback

* revert strings per request
2019-04-09 15:35:22 +02:00
Courtney Pattison
c3a1e3561e [MM-13381] Added reply to post options (#2665)
* [MM-13381] Added reply to post options

* [MM-13381] Fixes for adding reply to post options

* [MM-13381] Fixed logic for adding reply to post options

* [MM-13381] Fixed canReply logic for post options
2019-03-25 13:29:46 -07:00
Elias Nahum
676babf313
translations PR 20190318 (#2657) 2019-03-20 08:37:34 -03:00
Elias Nahum
a941ce5fff Add Office 365 login support (#2628) 2019-03-11 15:28:59 +05:30
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
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