Commit Graph

7957 Commits

Author SHA1 Message Date
Saturnino Abril
623560481b Implementation endpoint for APIv4: GET /teams/name/{name} (#5473)
* APIv4: GET /teams/name/{name}

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* reorganized test with SystemAdminClient

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2017-02-20 13:27:57 -03:00
Asaad Mahmood
22118fafc8 PLT-5573 - Fixing emoticons (#5461) 2017-02-19 21:10:54 -05:00
Saturnino Abril
00d11e961f Implement GET teams/{team_id}/stats - apiv4 (#5453)
* api4 GET teams/{team_id}/stats

* api4 GET teams/{team_id}/stats

* moved TeamStats router to team.go
2017-02-17 15:50:17 -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
Ruzette Tanyag
4e7dbc3bb0 Implement user sessions endpoints for APIv4 (#5449)
* added get session and revoke session endpoints, unittests and drivers

* removed BasicUser2 and added teardown

* added badrequest unit test case for sessions

* added session loop to check if user id and session user id matches

* fixed indentation issues for user_test

* match indentation from spaces to tabs
2017-02-17 10:31:01 -05:00
enahum
2f96814a8b translations PR 20170213 (#5393) 2017-02-17 12:29:39 -03:00
Joram Wilander
96f01d8c6c Move channel permission check back to using cache (#5454) 2017-02-17 09:33:38 -05:00
laur89
210b510c87 config.json: remove duplicate "EnableUserTypingMessages" (#5445) 2017-02-17 14:09:57 +00:00
Josta Yee
c817c5d740 Simplify code (#5452)
https://github.com/mattermost/platform/blob/master/app/authentication.go#L149 has compared `user.AuthService` with `model.USER_AUTH_SERVICE_LDAP`, so this check is useless here.
2017-02-17 14:04:19 +00:00
fengpan
b3afe9fb16 Rename channel (#5322)
* fix react proptypes

* Replace the handle field and label with url

* Update rename channel url correctly

* fix merge

* fix after test-1

* update i18n
2017-02-17 08:58:39 -05:00
Corey Hulen
26e44d9b32 Bumping base cache numbers for master (#5451) 2017-02-17 08:21:06 -05:00
Corey Hulen
da448cedc8 Fix issue with Aurora read replica (#5448) 2017-02-17 08:20:29 -05:00
Robin Naundorf
48b785aded Add APIv4 /system/ping endpoint (#5443) 2017-02-17 10:57:19 +00:00
Harrison Healey
eadf37ad7a Added NewPostList constructor to set fields to be non-null (#5440) 2017-02-16 15:53:04 -05:00
Joram Wilander
38c42ca53f Fix load profile for new DM message (#5441) 2017-02-16 12:13:22 -05:00
Asaad Mahmood
c6ffb73999 Multiple Ui improvements (#5398)
* PLT-5475 - Adjusting tutorials on mobile

* PLT-5475 - Adjusting tutorials on mobile

* PLT-5457 - Adjusting save button

* PLT-5443 - Updating highllight on status compact

* PLT-5413 - Team sidebar not scrolling

* PLT-5358 - Maintaing aspect ratio for emojis

* PLT-5411 - Removing help text from LDAP signin

* PLT-5420 - Updating emoticon for headings

* Updating emoji size

* Updating emoji size

* Removing emoticon tag

* Updating emoticon sizes

* Updating emoji size
2017-02-16 09:54:30 -05:00
George Goldberg
d60d05f2d8 PLT-5521: Mandatory version in line 1 of bulk import. (#5400) 2017-02-16 09:49:01 -05:00
George Goldberg
821939e5da Bulk import success message not shown on error. (#5401) 2017-02-16 09:48:30 -05:00
Joram Wilander
f87d42916f Implement PUT /users/{user_id}/patch endpoint for APIv4 (#5418) 2017-02-16 09:46:55 -05:00
Joram Wilander
8f26224159 Fix JS error on joining some channels (#5439) 2017-02-16 09:38:24 -05:00
enahum
c8cbc3f0f3 (at)-mention preceded by ^, $, # or & to trigger a mention (#5419) 2017-02-16 09:13:08 +00: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
Joram Wilander
e505577abf Clean-up unread counting and fix commenting (#5437) 2017-02-15 21:06:13 -05:00
Corey Hulen
01a8114aa3 Adding emoji caching (#5433) 2017-02-15 19:25:33 -05:00
Joram Wilander
727d067fce Handle matching updateats for post list etag (#5435) 2017-02-15 18:55:47 -05:00
Corey Hulen
1d6ea40022 Adding caching to profile images to master (#5428)
* Adding caching to profile images

* Fixing break

* Adding back in failed read

* Fixing build break

* Fixing break
2017-02-15 18:54:41 -05:00
Joram Wilander
db2966b7cb Remove MakeDirectChannelVisible and add client handling for showing DMs (#5430) 2017-02-15 18:54:24 -05:00
Robin Naundorf
745e2f4923 Add .idea to gitignore (#5427) 2017-02-15 18:58:58 +00:00
enahum
daf7a15d3b APIv3 append offset and limit to getProfiles etag (#5421)
* APIv3 append offset and limit to getProfiles etag

* add separator between offset and limit
2017-02-15 14:36:10 -03:00
Corey Hulen
2e0cf56e86 Fixing websocket auth then sending challenge (#5406) 2017-02-14 17:25:40 -05:00
Joram Wilander
b86e0daf83 Fix commenting in RHS marking channel unread (#5405) 2017-02-14 15:55:35 -05:00
Jason Blais
86a92f8c75 Revert "display loading screen when changing team" (#5403) 2017-02-14 15:20:38 -05:00
Joram Wilander
247ac8d1cc Increment channel counts for own messages (#5399) 2017-02-14 11:38:07 -05:00
Ruzette Tanyag
28aa7cdbf2 Implement GET channels endpoints for APIv4 (#5363)
* implement get channels endpoints and updated drivers and unittests

* removed channel deletion on tear down, removed manage permission on get channels endpoints, and updated utils to add constant channel length

* added constants for user, team and channel length, updated context to use the model functions

* make sure team name length should be less than the minimum length and revert underscore to team name validity

* changed post test condition from notfound to unauthorized
2017-02-14 10:28:08 -05:00
Joram Wilander
9dabd10da9 Fix back button on sign-up pages (#5376) 2017-02-14 10:27:55 -05:00
Joram Wilander
4149e82455 Fix here notifications (#5377) 2017-02-14 10:27:34 -05:00
Joram Wilander
a2e6553b7f Prevent CSS stacking when changing themes (#5378) 2017-02-14 10:27:08 -05:00
Corey Hulen
c6cd6feabe Increasing the time between db recycles (#5389) 2017-02-14 10:26:30 -05:00
Saturnino Abril
4aeb78e94a PLT-5441 Disabled the "Add Comment" button in the right-hand side unless there is a valid input (#5320) 2017-02-14 13:42:33 +00:00
George Goldberg
6251e836b0 PLT-5398 Bulk loading of user display preferences. (#5382) 2017-02-14 08:38:48 -05:00
Joram Wilander
8da1c696d4 Fix JS error on out of channel mentions and slash commands (#5395) 2017-02-13 22:22:21 -05:00
Corey Hulen
62e20e98f9 Fixing push notificaiton (#5394) 2017-02-13 22:20:37 -05:00
fengpan
452a7c29a2 Switch list of hex values to theme name value pairs (#5301)
* use theme name value pairs

* format

* Beautify view

* handle split
2017-02-13 22:08:52 -05:00
Saturnino Abril
1cfafed23e [PLT-1412] Updated search buttons on mobile GH-5261 (#5306)
* Update search buttons on mobile

* removed commented codes in _mobile.scss

* deleted 'search_bar.cancel'  from webapp/i18n/en.json
2017-02-13 18:07:43 -03:00
Joram Wilander
06f89cea30 Final fixes for moving unread handling to client (#5392) 2017-02-13 15:19:41 -05:00
Joram Wilander
892f8f4651 Fix ignore unread and DM unreads (#5391)
* Fix ignoring unreads in channels

* Fix DM unreads
2017-02-13 13:50:08 -05:00
Joram Wilander
67dd6c1ec6 Fix unread error (#5390) 2017-02-13 13:23:39 -05:00
Corey Hulen
0a21eed004 Disabling email mention test (#5381) 2017-02-13 11:36:18 -05:00
Asaad Mahmood
88889a9b0e PLT-5470 - Timestamps not visible on dark theme (#5379)
* PLT-5277 - Adjusting textbox on tablet view

* PLT-5277 - Adjusting text area on mobile view

* PLT-5097 - Updating styles for remove image

* PLT-5217 - Updating styles for mobile code block

* PLT-5470 - Timestamps not visible on dark theme
2017-02-13 10:54:36 -05:00