Граф коммитов

1111 Коммитов

Автор SHA1 Сообщение Дата
Joram Wilander
316b155a42 PLT-3562 Switch websocket over to post-connect authentication (#4327)
* Switch websocket over to post-connect authentication

* Add ability to specify token in websocket js driver, add unit tests

* Temporarily disable client websocket tests until issues are resolved

* Minor refactoring and fix status test

* Add isAuthenticated method to WebConn and minor status updates
2016-10-31 08:59:23 -04:00
Joram Wilander
ef363fd88e Fix channel autocomplete and fix channel member query to ignore deleted channels (#4371) 2016-10-28 09:41:28 -07:00
Asaad Mahmood
fcf7d185f6 Minor UI fixes (#4372) 2016-10-28 09:41:05 -07:00
Joram Wilander
87a3daf9a6 Remove order dependency on channels and channel members plus logging (#4370) 2016-10-28 09:36:41 -04:00
Joram Wilander
35ceedf968 Fix members being loaded before channel members and DM headers (#4369) 2016-10-28 08:55:17 -04:00
Thomas Hopkins
589329b5c5 PLT-4534 Avoid applying themed hover background color on mobile (#4345)
* Avoid applying themed hover background color on mobile

* Remove closing brace from post hover style css mod
2016-10-27 17:51:50 -07:00
Asaad Mahmood
c5a0ac8c6a Shift UI changes (#4353)
* Shift UI changes

* Reverting config.json
2016-10-27 16:49:32 -04:00
enahum
f82667f3b8 PLT-4430 improve slow channel switching (#4331)
* PLT-4430 improve slow channel switching

* Update client side unit tests

* Convert getChannelsUnread to getMyChannelMembers and address other feedback

* Pull channel members on websocket reconnect
2016-10-27 11:24:30 -04:00
Asaad Mahmood
14ce471311 Updating shift UI changes (#4326)
* Updating shift UI changes

* Adding border to last account settings item

* Fixing modals
2016-10-27 09:10:05 -04:00
enahum
4dca84c8b4 translations PR 20161025 (#4328) 2016-10-27 09:08:47 -04:00
Thomas Hopkins
dd1965ca34 PLT-4460 Fix disappearing topbar when jumping from right sidebar (#4339) 2016-10-26 13:24:22 -07:00
Pierre Rudloff
7e67eabca9 Fix URL parsing when URL has been encoded with escape() (fixes #4322) (#4338) 2016-10-26 12:36:16 -04:00
Harshavardhana
f02620b291 Moving away from goamz to use minio-go instead. (#4193)
minio-go does fully managed way of handling S3 API requests

  - Automatic bucket location management across all s3 regions.
  - Transparently upload large files in multipart if file 64MB
    or larger.
  - Right GetObject() API provides compatibility with
    io.ReadWriteSeeker interface.
  - Various other APIs including bulk deletes, server side object
    copy, bucket policies and bucket notifications.

Fixes #4182
2016-10-26 08:21:07 -04:00
Alexander Smaga
b354d25d37 GH-4095 Favorite/Starred Channels (#4222) 2016-10-26 08:20:45 -04:00
Harrison Healey
66ed155a58 Fixed autocomplete to work with TextareaAutosize (#4325) 2016-10-25 11:33:47 -03:00
Harrison Healey
0741d3be0a PLT-4404 Replace calls to onInput with onChange to better support IE11 (#4315)
* Replace calls to onInput with onChange to better support IE11

* Replaced react-textarea-autosize with react-autosize-textarea
2016-10-25 10:11:34 -04:00
S4KH
f8182022b6 4305 - Assigned error.id and message to <FormattedMessage/> component when error is returned. (#4306)
* Auto Changes

* Fixed error message for max users per team

* Update config.json

* Update config.json

* Removed formatted message component and directly assigned e.message
2016-10-25 10:25:03 -03:00
S4KH
57eb69927c Changed constants name MIN_TEAM_LENGTH value to 2 and the error message (#4149) 2016-10-24 23:22:55 -04:00
Asaad Mahmood
4d9f5173bc PLT-4293 - Adding status indicator to RHS thread (#4292)
* PLT-4293 - Adding status indicator to RHS thread

* Coming conditional

* Changing const position

* Uber UI changes

* Revert "Uber UI changes"

This reverts commit 6b756c38ccde7da6b8180e119a00beb92b4b8057.
2016-10-24 16:06:03 -04:00
Asaad Mahmood
510291e2e7 Updating shift UI changes (#4317) 2016-10-24 16:04:29 -04:00
Joram Wilander
3a0b0fe63f Save profiles for channel switcher autocomplete to fix switching to new DMs (#4313) 2016-10-24 15:03:56 -03:00
Joram Wilander
4834b68ad1 Filter out non-team members from invite to channel modal (#4312) 2016-10-24 09:00:42 -07:00
Joram Wilander
64f81762cb Remove legacy reference to hasDirectProfile (#4308) 2016-10-24 10:51:14 -04:00
Joram Wilander
d4c9123acf Fix bad use of websocket event when a new user is added (#4309) 2016-10-24 09:48:04 -04:00
Joram Wilander
e6d26bee51 Fixes for the team user lists in the system console (#4294) 2016-10-24 08:50:12 -04:00
Corey Hulen
486d12e1c3 PLT-4165 removing team name reserved words (#4289) 2016-10-21 17:19:28 -07:00
Joram Wilander
254cefee1a Clear emoji suggestion list if there no matches (#4290) 2016-10-21 08:52:09 -07:00
S4KH
234958e007 HW 4139: Make channel limits configurable in the System Console (#4154)
* Auto Changes

* 4139 Made channel limits configurable in the System Console as described in the issue

* Removed error message entries from other locales, made maxChannelsPerteam type to pointer

* Added * symbol to maxChannelsPerTeam inside isValid function

* Update team_test.go

* Restored to old test

* Checked maximum number channels per team when creating channel

* Fixed code to pass api/channel_test.go

* Reverted changes on config except MaxChannelsPerTeam

* Update channel.go

* Ran gofmt -w .

* Reverted vendor directoy
2016-10-21 08:36:13 -04:00
Harrison Healey
319ae6b38c Increased ChannelStore max listeners to match other stores (#4277) 2016-10-20 11:39:19 -07:00
Joram Wilander
0c663216cc Fix scrolling issues caused by performance branch (#4285) 2016-10-20 11:26:15 -07:00
Harrison Healey
6d7da26af0 PLT-4333 Fixed TeamMembersModal to not close when the main menu closes (#4284)
* Stopped adding # to url when opening about modal

* Dismissed sidebar header dropdown when opening Team Settings modal

* Fixed TeamMembersModal to not disappear when the sidebar header dropdown closes
2016-10-20 12:43:26 -04:00
enahum
6dc7ac5133 translations PR 20161017 (#4245) 2016-10-20 12:36:28 -03:00
Harrison Healey
484dd60dc9 Adding strings to en.json for mattermost-mobile (#4267) 2016-10-20 08:34:34 -07:00
Joram Wilander
4aa96c76b4 Fix autocomplete for old mechanisms and add partial fix for channel switcher (#4279) 2016-10-20 12:32:20 -03:00
Joram Wilander
86aa979310 Fix autocomplete not clearing suggestions properly (#4276) 2016-10-20 09:13:09 -04:00
Joram Wilander
365b8b465e Merging performance branch into master (#4268)
* improve performance on sendNotifications

* Fix SQL queries

* Remove get direct profiles, not needed anymore

* Add raw data to error details if AppError fails to decode

* men

* Fix decode (#4052)

* Fixing json decode

* Adding unit test

* Initial work for client scaling (#4051)

* Begin adding paging to profiles API

* Added more paging functionality

* Finish hooking up admin console user lists

* Add API for searching users and add searching to all user lists

* Add lazy loading of profiles

* Revert config.json

* Fix unit tests and some style issues

* Add GetProfilesFromList to Go driver and fix web unit test

* Update etag for GetProfiles

* Updating ui for filters and pagination (#4044)

* Updating UI for pagination

* Adjusting margins for filter row

* Adjusting margin for specific modals

* Adding relative padding to system console

* Adjusting responsive view

* Update client user tests

* Minor fixes for direct messages modal (#4056)

* Remove some unneeded initial load calls (#4057)

* UX updates to user lists, added smart counts and bug fixes (#4059)

* Improved getExplicitMentions and unit tests (#4064)

* Refactor getting posts to lazy load profiles correctly (#4062)

* Comment out SetActiveChannel test (#4066)

* Profiler cpu, block, and memory profiler. (#4081)

* Fix TestSetActiveChannel unit test (#4071)

* Fixing build failure caused by dependancies updating (#4076)

* Adding profiler

* Fix admin_team_member_dropdown eslint errors

* Bumping session cache size (#4077)

* Bumping session cache size

* Bumping status cache

* Refactor how the client handles channel members to be large team friendly (#4106)

* Refactor how the client handles channel members to be large team friendly

* Change Id to ChannelId in ChannelStats model

* Updated getChannelMember and getProfilesByIds routes to match proposal

* Performance improvements (#4100)

* Performance improvements

* Fixing re-connect issue

* Fixing error message

* Some other minor perf tweaks

* Some other minor perf tweaks

* Fixing config file

* Fixing buffer size

* Fixing web socket send message

* adding some error logging

* fix getMe to be user required

* Fix websocket event for new user

* Fixing shutting down

* Reverting web socket changes

* Fixing logging lvl

* Adding caching to GetMember

* Adding some logging

* Fixing caching

* Fixing caching invalidate

* Fixing direct message caching

* Fixing caching

* Fixing caching

* Remove GetDirectProfiles from initial load

* Adding logging and fixing websocket client

* Adding back caching from bad merge.

* Explicitly close go driver requests (#4162)

* Refactored how the client handles team members to be more large team friendly (#4159)

* Refactor getProfilesForDirectMessageList API into getAllProfiles API

* Refactored how the client handles team members to be more large team friendly

* Fix js error when receiving a notification

* Fix JS error caused by current user being overwritten with sanitized version (#4165)

* Adding error message to status failure (#4167)

* Fix a few bugs caused by client scaling refactoring (#4170)

* When there is no read replica, don't open a second set of connections to the master database (#4173)

* Adding connection tacking to stats (#4174)

* Reduce DB writes for statuses and other status related changes (#4175)

* Fix bug preventing opening of DM channels from more modal (#4181)

* 	Fixing socket timing error (#4183)

* Fixing ping/pong handler

* Fixing socket timing error

* Commenting out status broadcasting

* Removing user status changes

* Removing user status changes

* Removing user status changes

* Removing user status changes

* Adding DoPreComputeJson()

* Performance improvements (#4194)

* * Fix System Console Analytics queries
* Add db.SetConnMaxLifetime to 15 minutes
* Add "net/http/pprof" for profiling
* Add FreeOSMemory() to manually release memory on reload config

* Add flag to enable http profiler

* Fix memory leak (#4197)

* Fix memory leak

* removed unneeded nil assignment

* Fixing go routine leak (#4208)

* Merge fixes

* Merge fix

* Refactored statuses to be queried by the client rather than broadcast by the server (#4212)

* Refactored server code to reduce status broadcasts and to allow getting statuses by IDs

* Refactor client code to periodically fetch statuses

* Add store unit test for getting statuses by ids

* Fix status unit test

* Add getStatusesByIds REST API and move the client over to use that instead of the WebSocket

* Adding multiple threads to websocket hub (#4230)

* Adding multiple threads to websocket hub

* Fixing unit tests

* Fixing so websocket connections from the same user end up in the same… (#4240)

* Fixing so websocket connections from the same user end up in the same list

* Removing old comment

* Refactor user autocomplete to query the server (#4239)

* Add API for autocompleting users

* Converted at mention autocomplete to query server

* Converted user search autocomplete to query server

* Switch autocomplete API naming to use term instead of username

* Split autocomplete API into two, one for channels and for teams

* Fix copy/paste error

* Some final client scaling fixes (#4246)

* Add lazy loading of profiles to integration pages

* Add lazy loading of profiles to emoji page

* Fix JS error when receiving post in select team menu and also clean up channel store
2016-10-19 14:49:25 -04:00
Joram Wilander
0512bd26ee Fix date on license expiry messages (#4258) 2016-10-19 02:23:48 -07:00
Yang Chen
11bf05813a Changed “Apply New Theme to All Teams” to “Apply new theme to all my teams” (#4260) 2016-10-18 20:55:17 -03:00
Asaad Mahmood
d14a44cf98 Multiple UI Improvements (#4253)
Reverting config

Reverting config.json
2016-10-18 08:55:59 -07:00
Nick Frazier
06e5c097b3 fixed incorrect error display when trying a team URL with one character (#4223) 2016-10-17 11:49:59 -03:00
Huli
eac472b44f PLT-4387 Update browser tab when switching to System Console (#4221) 2016-10-17 10:44:42 -04:00
William Gathoye
b1e2b23b88 Be more explicit wrt. low level ports for newbies (#4158) 2016-10-17 08:11:24 -04:00
enahum
fbd1aa654c Fix a couple of strings in localization (#4228) 2016-10-17 08:06:39 -04:00
David Lu
e18e41d29d Fixing marking channels unread, again (#4215)
* Fixing marking channels unread, again

* Update channel_store.jsx
2016-10-14 10:17:25 -03:00
Joram Wilander
c902a0a773 Fix shortcut for selecting text with CMD/CTRL + SHIFT (#4213) 2016-10-13 12:29:10 -04:00
Alexander Smaga
3a369c9de8 GH-4187 Turn off dot menu for system messages (#4198) 2016-10-12 09:59:03 -04:00
Asaad Mahmood
39eee5e4ec Multiple UI Improvements (#4200)
* Multiple UI Improvements

* Adjusting return to call position on mobile
2016-10-12 09:58:09 -04:00
enahum
d195eea07d translations PR 20161011 (#4199) 2016-10-12 09:49:17 -04:00
Yuya Ochiai
0a2146692c PLT-4261 Set silent parameter for Notification (#4192)
In the desktop app, there are two kinds of sound on notifications,
`Utils.ding()` and `new Notification()` on Windows and Mac.
This commit stops both if the account setting is set to off.
2016-10-12 09:36:06 -04:00
Pepijn
944bb1ba61 First commit for toggling mentions using shortcut and button (#4169)
Also did some refactoring and moved code to actions

Fixed coding style errors
2016-10-11 09:07:38 -04:00