Commit Graph

69 Commits

Author SHA1 Message Date
George Goldberg
140bdeb60f PLT-5279: Show username for slash cmd notification. (#5091) 2017-01-17 09:24:55 -05:00
Joram Wilander
97558f6a6e PLT-4938 Add app package and move logic over from api package (#4931)
* Add app package and move logic over from api package

* Change app package functions to return errors

* Move non-api tests into app package

* Fix merge
2017-01-13 13:53:37 -05:00
Zeger-Jan van de Weg
12662d0c87 Slack format for Slash command messages (#4999)
* Slash commands accept Slack format

Until this commit the slash commands only accepted 'text' properties.
For better styling however, Slack formatting support was added.

However, ephemeral messages are not supported, and only text will be
displayed.

* Allow emphemeral Slack messages
2017-01-09 09:25:02 -05:00
Christopher Speller
42e04d92c4 Adding memcache to getchannel (#4928) 2017-01-03 11:53:59 -03:00
Yusuke Nemoto
ddacfa58ba PLT-1598 Slash command works in RHS (#4367)
* PLT-1598 Slash command works in RHS

* fix UserProfile in the reply for Slash Command

* fix some problem about the system messages in RHS
* system message in RHS isn't displayed as comment for root message

* remove status indicator for system message in RHS

* system message in RHS is colored to grey

* system messages don't count as commented post

* fix bug about cleaning draft in RHS

* remove unnecessary function

* implement new model for executing command
2016-12-09 23:35:16 -05:00
Yusuke Nemoto
be74ec2241 plt-2610 allow slash command to override username/icon_url (#4378) 2016-11-17 09:19:11 -05:00
Brian Olecki
6297922ab9 Add support for editing slash commands (#4335) 2016-11-15 12:43:16 -03:00
Christopher Speller
420bc367fa Fixing permissions issue when deleting slash commands (#4414) 2016-11-01 13:16:16 -07:00
Christopher Speller
1e7985a87a Modifying permissions system. (#3897) 2016-09-13 12:42:48 -04:00
David Lu
d252e61c66 Revert/Fix PLT-2805 (#3873) 2016-08-29 09:51:29 -04:00
David Lu
ecb6fd8769 Split /shortcuts programmatically (#3850) 2016-08-22 15:19:29 -04:00
David Lu
8c2ea22892 Refactored CreatePost to not use context (#3813) 2016-08-19 08:08:31 -04:00
David Lu
8e810bc2eb PLT-3153 Converted slash command triggers to lowercase on save (#3577)
* Converted slash command triggers to lowercase on save

* Made slash commands case insensitive
2016-07-14 10:05:25 -04:00
David Lu
2e7e0d09b8 Removed system message on /msg success (#3579) 2016-07-14 08:17:24 -04:00
enahum
6ab893dcba PLT-2939 Fix Default slash command icon is invalid (#3250) 2016-06-06 08:59:19 -04:00
Joram Wilander
0788e83647 Close HTTP response bodies properly in golang driver (and some api functions) (#3217) 2016-06-02 12:40:34 -07:00
David Lu
0d0734ac98 Added duplicated trigger validation (#3124) 2016-05-27 08:35:55 -07:00
Corey Hulen
2e5617c29b PLT-2057 User as a first class object (#2648)
* Adding TeamMember to system

* Fixing all unit tests on the backend

* Fixing merge conflicts

* Fixing merge conflict

* Adding javascript unit tests

* Adding TeamMember to system

* Fixing all unit tests on the backend

* Fixing merge conflicts

* Fixing merge conflict

* Adding javascript unit tests

* Adding client side unit test

* Cleaning up the clint side tests

* Fixing msg

* Adding more client side unit tests

* Adding more using tests

* Adding last bit of client side unit tests and adding make cmd

* Fixing bad merge

* Fixing libraries

* Updating to new client side API

* Fixing borken unit test

* Fixing unit tests

* ugg...trying to beat gofmt

* ugg...trying to beat gofmt

* Cleaning up remainder of the server side routes

* Adding inital load api

* Increased coverage of webhook unit tests (#2660)

* Adding loading ... to root html

* Fixing bad merge

* Removing explicit content type so superagent will guess corectly (#2685)

* Fixing merge and unit tests

* Adding create team UI

* Fixing signup flows

* Adding LDAP unit tests and enterprise unit test helper (#2702)

* Add the ability to reset MFA from the commandline (#2706)

* Fixing compliance unit tests

* Fixing client side tests

* Adding open server to system console

* Moving websocket connection

* Fixing unit test

* Fixing unit tests

* Fixing unit tests

* Adding nickname and more LDAP unit tests (#2717)

* Adding join open teams

* Cleaning up all TODOs in the code

* Fixing web sockets

* Removing unused webockets file

* PLT-2533 Add the ability to reset a user's MFA from the system console (#2715)

* Add the ability to reset a user's MFA from the system console

* Add client side unit test for adminResetMfa

* Reorganizing authentication to fix LDAP error message (#2723)

* Fixing failing unit test

* Initial upgrade db code

* Adding upgrade script

* Fixing upgrade script after running on core

* Update OAuth and Claim routes to work with user model changes (#2739)

* Fixing perminant deletion. Adding ability to delete all user and the entire database (#2740)

* Fixing team invite ldap login call (#2741)

* Fixing bluebar and some img stuff

* Fix all the different file upload web utils (#2743)

* Fixing invalid session redirect (#2744)

* Redirect on bad channel name (#2746)

* Fixing a bunch of issue and removing dead code

* Patch to fix error message on leave channel (#2747)

* Setting EnableOpenServer to false by default

* Fixing config

* Fixing upgrade

* Fixing reported bugs

* Bug fixes for PLT-2057

* PLT-2563 Redo password recovery to use a database table (#2745)

* Redo password recovery to use a database table

* Update reset password audits

* Split out admin and user reset password APIs to be separate

* Delete password recovery when user is permanently deleted

* Consolidate password resetting into a single function

* Removed private channels as an option for outgoing webhooks (#2752)

* PLT-2577/PLT-2552 Fixes for backstage (#2753)

* Added URL to incoming webhook list

* Fixed client functions for adding/removing integrations

* Disallowed slash commands without trigger words

* Fixed clientside handling of errors on AddCommand page

* Minor auth cleanup (#2758)

* Changed EditPostModal to just close if you save without making any changes (#2759)

* Renamed client -> Client in async_client.jsx and fixed eslint warnings (#2756)

* Fixed url in channel info modal (#2755)

* Fixing reported issues

* Moving to version 3 of the apis

* Fixing command unit tests (#2760)

* Adding team admins

* Fixing DM issue

* Fixing eslint error

* Properly set EditPostModal's originalText state in all cases (#2762)

* Update client config check to assume features is defined if server is licensed (#2772)

* Fixing url link

* Fixing issue with websocket crashing when sending messages to different teams
2016-04-21 22:37:01 -07:00
Christopher Speller
35320efe1a Revert "PLT-2183 Slash command auto-complete" 2016-03-18 13:16:51 -04:00
Nicolas Clerc
5e2596598f add external slashcommands management 2016-03-17 01:45:37 +01:00
Harrison Healey
c18cac1f71 Merge pull request #2374 from mattermost/PLT-2040
PLT-2040 disable executing of commands
2016-03-08 10:04:49 -05:00
=Corey Hulen
2f92a94c3c PLT-2040 disable executing of commands 2016-03-07 17:24:09 -08:00
=Corey Hulen
8c3b4d0a4e PLT-2039 fixing slash builtin cmds showing as webhook 2016-03-07 17:12:47 -08:00
Christopher Speller
be70bbc2f0 Merge pull request #2083 from mattermost/plt-1879
PLT-1879 Add config setting to accept unsigned TLS certs for SSO and outgoing hooks, also fix delete…
2016-02-08 07:34:39 -05:00
=Corey Hulen
2b32bad993 Fixing slash commands 2016-02-05 14:10:57 -08:00
JoramWilander
9f5f18a93a Make insecure TLS connections configurable 2016-02-05 12:40:32 -05:00
=Corey Hulen
0f1f3d24e5 Fixing slash commands 2016-02-05 09:00:57 -08:00
=Corey Hulen
dffc5323ec PLT-1429 Fixing code review comments 2016-02-04 08:03:42 -08:00
=Corey Hulen
950e25df5a Fixing build 2016-02-03 16:11:54 -08:00
=Corey Hulen
4da7b0ccbd Fixing based on feedback 2016-02-03 12:16:37 -08:00
=Corey Hulen
4c6c94d47c Fixing unit test 2016-02-02 08:46:43 -08:00
=Corey Hulen
ff54da2e4a Adding loc to front-end 2016-02-02 08:42:36 -08:00
=Corey Hulen
27586a320a Adding loc to new command backend 2016-02-01 18:52:43 -08:00
=Corey Hulen
6b534f1b0d Merging 2016-01-22 16:42:38 -06:00
=Corey Hulen
6e2c1b7fd5 Adding test command 2016-01-15 10:58:51 -06:00
=Corey Hulen
6d6cada097 Merge branch 'master' into PLT-1429 2016-01-14 09:08:13 -06:00
=Corey Hulen
b1251b9393 Upgrade logging package 2016-01-11 09:12:51 -06:00
=Corey Hulen
a70d550409 Adding loading testing commands 2016-01-10 01:13:51 -06:00
=Corey Hulen
3edcf960a0 Fixing unit tests 2016-01-09 09:22:14 -06:00
=Corey Hulen
b1a7c1acf1 adding different commands 2016-01-09 08:54:07 -06:00
=Corey Hulen
e1f4cc4bb0 Adding web service methods 2016-01-08 22:57:38 -06:00
=Corey Hulen
3fba8e42b1 partial fix for UI 2016-01-08 12:41:26 -06:00
=Corey Hulen
001a4448ca PLT-1429 adding sql storage for slash commands 2016-01-06 21:09:05 -06:00
hmhealey
fd229a5023 Added /loadtest url command to load arbitrary files as posts 2015-11-23 13:47:47 -05:00
Corey Hulen
16171468dd Merge pull request #1263 from yuvipanda/add-me
Add a /me command
2015-11-02 09:02:46 -08:00
YuviPanda
47fcb79e99 PLT-394: Add a /me command
- Just italicizes the message to mark it as 'action'
- Same behavior as slack
- Is super useful for people moving from IRC, since /me is often
  burnt into muscle memory
2015-11-01 17:49:43 -08:00
Pat Lathem
7d60d96c91 Fix spelling of environment 2015-10-30 12:42:26 -05:00
Christopher Speller
f05da1fa6d Merge pull request #1179 from florianorben/issue-827
Mattermost can not send message start with slash
2015-10-26 08:47:40 -04:00
Florian Orben
c6bbebbf6f Mattermost can not send message start with slash
resolves #827
2015-10-25 23:55:50 +01:00
Florian Orben
9be2f34194 Fix /shrug command 2015-10-25 18:37:48 +01:00