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

7228 Коммитов

Автор SHA1 Сообщение Дата
Corey Hulen
c07cdd666a PLT-4488 adding in loop breaking (#4330) 2016-10-26 12:19:19 -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
Corey Hulen
3e1fc76bf9 Fixing clustering problem (#4320) 2016-10-25 08:56:06 -04: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
Corey Hulen
9071553165 PLT-4359 fixing push notification for more than 1 device (#4318)
* PLT-4359 fixing push notification for more than 1 device

* Addressing feedback
2016-10-24 21:04:11 -03: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
enahum
5fdb8223fc Add database indexes to timestamp columns (#4314)
* Add database indexes to timestamp columns

* add indexes to session table
2016-10-24 16:05:27 -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
3885532750 Fix notifications for public/private channels and add basic unit test (#4295) 2016-10-21 16:23:59 -04: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
George Goldberg
d13ba8c55c Flush log and exit after CLI Slack Import. (#4286)
Some log messages were previously being lost at the very end of the
Slack import via CLI process, due to not flushing the logs after
completing.
2016-10-20 13:17:47 -07: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
Harrison Healey
b775b545fc Changed ConsoleLogLevel back to DEBUG during development (#4278) 2016-10-20 12:32:38 -03: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
Harrison Healey
4688d4981a Explicitly set Content-Type field when getting file attachments (#4280) 2016-10-20 12:31:15 -03:00
Joram Wilander
0a75b277dc Fix the multiple column full text search index for Postgres (#4282) 2016-10-20 12:30:44 -03:00
enahum
162282d42c PLT-4358 Exclude Channels from query when not necessary (#4269) 2016-10-20 10:28:19 -04:00
Joram Wilander
2e34d8843e PLT-4138 Fix /join command for non-admin accounts (#4265)
* Fix /join command for non-admin accounts

* Implement found check in join command unit test properly
2016-10-20 10:27:18 -04:00
Harrison Healey
6517b0f9e1 Fixed handleImages to properly capture loop variables (#4275) 2016-10-20 09:13:33 -04:00
Joram Wilander
86aa979310 Fix autocomplete not clearing suggestions properly (#4276) 2016-10-20 09:13:09 -04:00
enahum
530b5f5011 Fix HA User Typing bug (#4273) 2016-10-20 08:36:17 -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
Harrison Healey
821f1f9a03 Added -e to sed command in Makefile to make it work on all platforms (#4256) 2016-10-18 12:37:27 -04: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
enahum
38568c2769 PLT-3968 Require user for getMe API (#4225) 2016-10-17 10:43:28 -04:00
Jason Blais
6cb0652c3d Specify which localization files need to be updated in PRs (#4234) 2016-10-17 10:43:04 -04:00
Harrison Healey
3660f78733 Re-enable console logging by default (#4210)
* Re-enable console logging by default

* Disable LogSettings.EnableConsole while packaging release

* Updated defaults in config.json to match the ones generated by the server

* Fixed make package and changed it to reduce the log level instead of disabling console logging entirely
2016-10-17 10:52:47 -03:00
Corey Hulen
219f4e36e5 Bumping up the defaults (#4229) 2016-10-17 10:50:41 -03:00
Alexander Smaga
e7b25f4cd8 GH-4187 Create direct channel during incoming webhook if not exists (#4206) 2016-10-17 08:12:56 -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