472 Commits
Author SHA1 Message Date
enahum 2bea17251e Fix badge count for push notifications (#5672) 2017-03-07 16:54:25 +00:00
Christopher Speller 33b8b72a02 Adding index and cache to reactinos store (#5654) 2017-03-07 09:37:00 -05:00
Joram Wilander 115acb1fb1 Save schema version for 3.7 (#5675) 2017-03-07 13:30:34 +00:00
George Goldberg 378f02b445 Update schema for version 3.7. (#5674) 2017-03-07 12:44:28 +00:00
Joram Wilander 2e911b77c3 Usernames must start with a letter (#5581) 2017-03-03 12:04:15 -05:00
Joram Wilander 3a91d4e5e4 PLT-3077 Add group messaging (#5489)
* Implement server changes for group messaging

* Majority of client-side implementation

* Some server updates

* Added new React multiselect component

* Fix style issues

* Add custom renderer for options

* Fix model test

* Update ENTER functionality for multiselect control

* Remove buttons from multiselect UI control

* Updating group messaging UI (#5524)

* Move filter controls up a component level

* Scroll with arrow keys

* Updating mobile layout for multiselect (#5534)

* Fix race condition when backspacing quickly

* Hidden or new GMs show up for regular messages

* Add overriding of number remaining text

* Add UI filtering for team if config setting set

* Add icon to channel switcher and class prop to status icon

* Minor updates per feedback

* Improving group messaging UI (#5563)

* UX changes per feedback

* Update email for group messages

* UI fixes for group messaging (#5587)

* Fix missing localization string

* Add maximum users message when adding members to GM

* Fix input clearing on Android

* Updating group messaging UI (#5603)

* Updating UI for group messaging (#5604)
2017-03-02 17:48:56 -05:00
George Goldberg 2e5ebac615 PLT-5612: Don't show error on invalid search query. (#5596)
Log a warning to the logs, but don't show an error to the user in the
WebUI, just an empty set of query results, when the fulltext search
query they enter generates a syntax error from the database.
2017-03-02 09:11:59 -05:00
George Goldberg f7682ad11a PLT-5367: Basic post bulk importing. (#5562) 2017-02-28 20:55:21 -03:00
Andrei Stanciu 45edfbe719 Get all teams api4 (#5542) 2017-02-28 08:41:38 +00:00
Christopher Speller 83c113595a Revert "Adding caching to get channel member (#5518)"
This reverts commit ba028ed74b.
2017-02-27 17:43:23 -05:00
Poornima 19b753467d Adding edit of incoming webhook (#5272)
Adding edit of outgoing webhook
Fixing spelling of error
Fixing style
Changing from PUT to POST for updates
Fixing test failures due to merge
2017-02-26 13:48:20 -05:00
Poornima c0bb6f99f8 Updating user attributes on oauth login (#5324)
Moving update function to app package
Fixing duplicate userID on create user test
2017-02-26 13:48:01 -05:00
George Goldberg f182d196ff PLT-5070: Server side component of Telemetry. (#5514) 2017-02-24 17:33:59 +00:00
Christopher Speller ba028ed74b Adding caching to get channel member (#5518) 2017-02-24 09:15:36 -05:00
enahum 748a416961 PLT-3193 Add channel notification preferences for push and email noti… (#5500)
* PLT-3193 Add channel notification preferences for push and email notifications

* unit tests, model validation and localization

* Feedback review

* Adding back allowFromCache check

* Setting push and email to use default settings

* Move props as constants

* address feedback
2017-02-23 11:08:48 -03:00
Corey Hulen ca7d3b6e7b Adding device Id for version 2 of native apps (#5505)
* Adding device Id for version 2

* Changing ids
2017-02-23 08:53:43 -05:00
Joram Wilander 69cac604e0 Implement create and get incoming webhook endpoints for APIv4 (#5407)
* Implement POST /hooks/incoming endpoint for APIv4

* Implement GET /hooks/incoming endpoint for APIv4

* Updates per feedback
2017-02-21 19:42:34 -05:00
Saturnino Abril 5c19d9be7f Implement endpoint for APIv4: GET /users/{user_id}/audits (#5472) 2017-02-21 12:07:57 +00:00
Corey Hulen 274b9b6032 Fixing file info caching issue with Aurora for master (#5477) 2017-02-20 13:40:32 -05:00
Joram Wilander 91fe8bb2c0 Implement upload and get file endpoints for APIv4 (#5396)
* Implement POST /files endpoint for APIv4

* Implement GET /files/{file_id} endpoint for APIv4
2017-02-17 10:31:21 -05:00
Corey Hulen 26e44d9b32 Bumping base cache numbers for master (#5451) 2017-02-17 08:21:06 -05:00
Harrison Healey eadf37ad7a Added NewPostList constructor to set fields to be non-null (#5440) 2017-02-16 15:53:04 -05:00
Harrison Healey 677195641a Ensured getPostsSince route doesn't return a null posts field (#5436) 2017-02-15 21:16:42 -05:00
Corey Hulen a7ea2d20cf Fixing emoji bug (#5438) 2017-02-15 21:06:30 -05:00
Corey Hulen 01a8114aa3 Adding emoji caching (#5433) 2017-02-15 19:25:33 -05:00
Corey Hulen c6cd6feabe Increasing the time between db recycles (#5389) 2017-02-14 10:26:30 -05:00
Corey Hulen 1359f7f391 Adding go vet from hack-a-thon (#5328)
* Adding go vet to the api package

* Adding go vet to app package

* Adding go vet to manualtesting package

* Adding go vet to the model package

* Adding go vet to the store dir

* Adding go vet to utils package

* Adding missing dirs with go files

* Fixing up makefile

* Fixing up makefile

* Removing root dir
2017-02-09 21:39:15 +00:00
Joram Wilander f1c9ae5686 Error on blank post IDs for get post query (#5326) 2017-02-08 02:07:17 -08:00
Joram Wilander 5462f0119e Implement a few channel member endpoints for APIv4 (#5304)
* Implement GET /channels/{channel_id}/members

* Implement GET /channels/{channel_id}/members/{user_id} endpoint for APIv4

* Implement /users/{user_id}/teams/{team_id}/channels/members endpoint for APIv4

* Fix unit test
2017-02-07 14:58:27 -08:00
Joram Wilander 487bb56a9b Add caching for file infos (#5330) 2017-02-07 12:36:37 -08:00
Joram Wilander eb767d2c1c Implement password reset endpoints for APIv4 (#5256) 2017-02-07 10:46:40 -08:00
Joram Wilander ba18374bd1 Implement a few team endpoints for APIv4 (#5296)
* Implement GET /teams/{team_id} endpoint for APIv4

* Implement GET /users/{user_id}/teams endpoint for APIv4

* Implement GET /teams/{team_id}/members/{user_id} endpoint for APIv4
2017-02-07 08:57:41 -08:00
Christopher Speller aa75f981e1 Adding PostId index (#5300) 2017-02-03 18:34:37 -05:00
Christopher Speller 30cd39ae05 Removing parentId from delete post queries (#5298) 2017-02-03 18:34:20 -05:00
Joram Wilander 7ff2aef7fa Implement GET /users endpoint for APIv4 (#5277) 2017-02-03 15:17:34 -05:00
Joram Wilander ccb0343828 Implement POST /users/ids endpoint for APIv4 (#5274) 2017-02-03 09:30:57 -05:00
Joram Wilander 365514174e Add tear down to APIv4 tests (#5250)
* Add tear down to APIv4 tests

* Defer tear downs
2017-02-02 11:46:42 -05:00
Joram Wilander 609d4f43d9 Implement POST /channels endpoint for APIv4 (#5241) 2017-02-02 09:04:36 -05:00
Joram Wilander 7431050b42 Implement POST /teams endpoint (#5220) 2017-01-31 07:59:36 -05:00
Joram Wilander c01d9ad6cf Implement APIv4 infrastructure (#5191)
* Implement APIv4 infrastructure

* Update parameter requirement functions per feedback
2017-01-30 08:30:02 -05:00
Harrison Healey 65b76c2712 PLT-5225 Added separate post types for certain system messages (#5193)
* Added separate post types for system_join_leave and system_add_remove posts

* Added username prop to channel deleted posts

* Changed slack import to properly generate the new join/leave messages

* Added username prop to channel update posts

* Moved Post(AddTo/RemoveFrom)ChanneMessage into app package
2017-01-27 15:58:50 -05:00
Joram Wilander 097289f8e4 Merge 3.6.2 into master (#5211)
* Add webhook cache

* Add channel by name cache

* Fxing profiles in channels cache

* Fix merge
2017-01-27 14:07:34 -05:00
Christopher Speller 8d2e8525a4 Merge branch 'release-3.6' 2017-01-27 09:30:33 -05:00
George Goldberg f7476b2fb6 PLT-4378 Slack import when channel name is deleted (#4649)
This fixes the issue where the channel fails to Import from Slack if
there is already a channel with the same name on Mattermost that has
been deleted.
2017-01-25 23:14:12 -03:00
Joram Wilander d245b29f82 More app code migration (#5170)
* Migrate admin functions into app package

* More user function refactoring

* Move post functions into app package
2017-01-25 09:32:42 -05:00
Christopher Speller 11a688d381 Adding active users statistics to system console (#5141) 2017-01-20 17:24:53 -03:00
Joram Wilander d3a285e64d Migrate functions to app package (#5106)
* Refactor and move session logic into app package

* Refactor email functions into the app package

* Refactor password update into app package

* Migrate user functions to app package

* Move team functions into app package

* Migrate channel functions into app package

* Pass SiteURL through to app functions

* Update based on feedback
2017-01-19 09:00:13 -05:00
Harrison Healey dd6fac50f2 Removed index on Teams.Description column (#5095)
* Removed index on Teams.Description column

* Fixed RemoveIndexIfExists when running with MySQL

* Fixed RemoveIndexIfExists when running Postgres and added unit tests
2017-01-18 08:50:01 -05:00
Joram Wilander 28599d1df8 Fix error from quote in channel autocomplete (#5092) 2017-01-17 09:15:57 -05:00
Debanshu Kundu 739f32272f PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4923) 2017-01-12 10:47:29 -05:00