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

1461 Коммитов

Автор SHA1 Сообщение Дата
Saturnino Abril
8f8a978e84 [PLT-6838] Restrict channel delete option per permission policy even for last channel member (#6706)
* channel delete option is hidden from the menu unless there is appropriate permissions as set in the policy page

* apply to public channel only and add restriction to API layer

* updated channel deletion
2017-07-05 06:32:27 +08:00
Joram Wilander
8ec8948c84 PLT-6554 Add config setting to control enabling API version 3 (#6835)
* Add config setting to control enabling API version 3

* Update help text for APIv3 config setting (#6843)

* Update configuration_settings.jsx

* Update en.json
2017-07-04 16:12:02 -04:00
94117nl
29b98ec383 PLT-6445 Migrate add_command.jsx to be pure and use Redux (#6804)
* Migrate add_command.jsx to be pure and use redux

* Add basic test for AddCommand component
2017-07-04 08:58:45 -04:00
Joram Wilander
9f5fb98b75 Fix system admin not seeing manage channel members options (#6831) 2017-07-04 09:06:18 +01:00
Joram Wilander
7a09b4bd78 Make channel switcher partially obey RestrictDirectMessage setting (#6830) 2017-07-04 09:01:27 +01:00
George Goldberg
0a3bb8fdb1 Refactor system console buttons into RequestButton component. (#6808)
Since I was going to make yet another button for the ElasticSearch test
config button, I refactored all of them to use a single common component
and tidied that component up and gave it some unit tests.
2017-07-04 00:00:17 -07:00
Corey Hulen
093dfd6c7f Reverting tutorial fix (#6812) 2017-06-30 18:18:04 -07:00
Saturnino Abril
6b77a054c2 remove font setting and default to Open Sans (#6643) 2017-06-30 23:29:14 +08:00
Saturnino Abril
eea64f8049 [PLT-5864] Move teammate name display setting to the System Console (#6681)
* move teammate name display setting to the system console

* update all the likes of TeammateNameDisplay names

* fix gofmt error

* rebase and fix conflict
2017-06-30 09:06:59 +01:00
Corey Hulen
f79101a279 Fixes issues with the tutorial (#6786)
* PLT-6907 Increased hit area for tutorial

* PLT-6907 Show the tutorial no matter what channel you're in

* Fixing eslint issue
2017-06-29 12:40:13 -07:00
Chris
5d239317dc fix slash command add / edit front-ends (#6799) 2017-06-29 11:05:16 -07:00
Joram Wilander
bf81fea9f8 More scrolling fixes (#6780)
* Added MarkdownImage component

* Fixed unit tests

* More scrolling fixes
2017-06-29 07:49:55 -07:00
Saturnino Abril
648f333850 [PLT-6496] Remove System Console and config settings for image height and width (#6688)
* remove System Console and config settings for image height and width

* add constants and update config.json

* updated as per review
2017-06-29 10:39:57 -04:00
Carlos Tadeu Panato Junior
e1168ab7cc [PLT-6847] If a message starts with a / but is not a slash command, put the text back in the input box when it fails to send (#6695)
* If a message starts with a / but is not a slash command, put the text back in the input box when it fails to send

* update string per review

* update per review
2017-06-29 10:39:13 -04:00
Jaehyun, Park
50b662040c Add /help slash command (#6650)
* Add /help slash command

* Fix copyright year

* go fmt

* Add help command test at api4

* Fix jasonblais's issue

* Update test code

* Fix unit test issue - keep config unchanged
2017-06-29 10:38:56 -04:00
Saturnino Abril
94e734c1bd [PLT-6655] Remove 1024 character limit with text settings at system console, except sitename of custom branding (#6597)
* remove 1024 character limit with text settings at system console, except sitename of custom branding

* add ability to set textarea of TextSetting
2017-06-29 10:36:55 -04:00
Joram Wilander
fcc9a8e6ae Fix bad merge (#6796) 2017-06-29 10:14:51 -04:00
Joram Wilander
bef07fc53e Fix sidebar status not updating (#6752) 2017-06-29 09:37:57 -04:00
Pieter Lexis
227586e09a [PLT-5639] Show a message when invited addresses are blocked (#6691)
* Show a message when invited addresses are blocked

When using the "Send Email Invite" functionality. Emails were sent to
domains that were not on the `RestrictCreationToDomains` list. This
would lead to users getting a message that they can't create an account
if they follow the link in the email.

This commit will check the email addresses before the mails are sent and
warn the user typing them in which ones are blocked.

* Add unit test for domain restrictions on invite

* Invite Member: Clear serverError on toggle
2017-06-29 09:04:14 -04:00
Carlos Tadeu Panato Junior
976030ea25 [PLT-6707] /header [text] slash command: Edit the channel header (#6566)
* add /header slash command

* update websocket

* updater per review
2017-06-29 08:06:17 -04:00
Harrison Healey
c6602ae2b8 PLT-6844 Change file uploading to use superagent (#6785)
* PLT-6844 Change file uploading to use superagent

* Fixed handling of upload errors
2017-06-28 15:42:54 -04:00
94117nl
28e0b8dc27 PLT-6456 Migrate installed_commands.jsx to be pure and use Redux (#6759)
* Add documentation to props, migrate to pure component

* Migrate commands_container and installed_commands to redux

* Partially move confirm_integration to redux

* Add more props to commands_container

* Fix identation issue

* Remove unused import

* Update command token to reference redux store
2017-06-28 07:38:57 -07:00
Joram Wilander
005dd0754b Update gorp to support query timeouts on postgres (#6730)
* Update gorp to support query timeouts on postgres

* Update help text to remove postgres exception

* Fix glide.lock
2017-06-28 07:34:00 -07:00
Harrison Healey
2dea567dcf Added MarkdownImage component (#6774)
* Added MarkdownImage component

* Fixed unit tests
2017-06-28 07:30:02 -07:00
Joram Wilander
5492ca28b1 Fix account creation redirect (#6765) 2017-06-28 09:38:19 -04:00
Joram Wilander
bc2cad397a Fix searching by user id in system console (#6763) 2017-06-28 09:36:13 -04:00
Harrison Healey
c66799a839 Fixed error information being obscured when joining teams with API v4 (#6751) 2017-06-28 07:56:29 -04:00
George Goldberg
99fc4b0988 PLT-6900: Hide DotMenu container when DotMenu empty. (#6770) 2017-06-28 13:44:02 +08:00
Carlos Tadeu Panato Junior
155c6600aa [PLT-6599] Add link to check Websocket port error message (#6743) 2017-06-28 13:38:57 +08:00
Saturnino Abril
0b62078712 [PLT-6745] Fix action of SHIFT+UP by fixing latest replay-able post (#6738)
* fix latest replayable post

* use PostUtils.isSystemMessage instead of checkin that post.type is empty
2017-06-27 14:59:08 -04:00
Saturnino Abril
e2daa425fa fix JS errors in saving preferences - for user's display (including custom theme vector) and advanced settings (#6764) 2017-06-27 18:27:31 +01:00
Saturnino Abril
ffaab0bf22 Update dialog help text of 'MoreDirectChannels' and 'AddUsersToTeam' modals (#6744) 2017-06-26 14:34:44 -04:00
Joram Wilander
82b36b3721 PLT-6815 Do not disconnect websocket when joining a team (#6746)
* Do not disconnect websocket when joining a team

* Fix eslint error
2017-06-26 13:25:43 -04:00
Joram Wilander
23ccfc845c Move remaining actions over to use redux and v4 endpoints (#6720) 2017-06-26 08:16:57 -04:00
Saturnino Abril
fe7e9d95b3 fix JS error when saving a custom theme vector (#6734) 2017-06-23 19:12:34 -04:00
Chris
4df36a504c PLT-6714: add /settings command (#6716)
* add /settings command

* update receiver name
2017-06-23 15:47:24 -07:00
Joram Wilander
458d7d0021 Fix JS error from null posts (#6722) 2017-06-23 16:21:52 -04:00
Jason Blais
647d5b1b45 Fix places where we still refer to "/loadtest" (#6732)
* Update README.md

* Update developer_settings.jsx

* Update command_loadtest_test.go
2017-06-23 13:36:13 -04:00
Joram Wilander
ca8d57c4db PLT-6890 Fix various scrolling issues (#6727)
* Fix various scrolling issues

* Move reaction scrolling to reaction list

* Handle scrolling when RHS opens

* Only run scroll update code when posts change
2017-06-23 12:09:56 -04:00
Joram Wilander
b01da39887 Fix manange channel members search (#6707) 2017-06-22 22:29:49 -04:00
Asaad Mahmood
dfbb16521c Minor bug and UI fixes (#6729)
* PLT-6797 - Code block language tag not selectable

* PLT-6771 - Aligning search box with RHS

* PLT-6827 - Fixing link color in error bar

* PLT-6241 - Adding edge detection
2017-06-22 22:28:04 -04:00
Carlos Tadeu Panato Junior
a429430823 fix order in the RHS menu (#6719) 2017-06-22 23:59:57 +08:00
Saturnino Abril
8f7e6e1fa3 fix JS errors when Ctrl + Enter is used to send message (#6708) 2017-06-22 10:50:21 -04:00
ftKnox
b50e7dc7a9 fixes issue for channel change failure #6529 (#6705) 2017-06-22 10:38:07 -04:00
Saturnino Abril
bc6a7d8810 fix CTRL+SHIFT+K to toggle open or close when pressed (#6701) 2017-06-22 10:34:38 -04:00
Joram Wilander
98844449b0 Allow closing of favorited GMs (#6700) 2017-06-22 10:34:15 -04:00
Joram Wilander
fafeadf8ae Show comment count when deleting from RHS (#6711) 2017-06-22 21:50:43 +08:00
Joram Wilander
3f1fca9463 PLT-6759 Show deactivated users in GMs (#6703)
* Show deactivated users in GMs

* Fix runtime error when DMing deactivated user
2017-06-22 11:36:46 +01:00
Harrison Healey
ac4e9909fa Fixed incorrect formatting of numbers and plural words (#6696)
* Fixed incorrect formatting of numbers and plural words

* Removed unused i18n strings

* Fixed eslint errors
2017-06-22 11:30:03 +01:00
Saturnino Abril
5cd718b7d9 remove channel members dropdown when its menu is empty (#6713) 2017-06-21 19:05:17 -07:00