summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
* PLT-5366, PLT-5364, PLT-5363: Bulk Import Part 1. (#5204)George Goldberg2017-01-271-8/+14
| | | | | | | This commit provides the first part of the bulk import system. The CLI command is provided, complete with validation & apply modes. All the basic properties of Teams and Channels can be imported. Users & Posts will follow separately in a future commit.
* More app code migration (#5170)Joram Wilander2017-01-251-0/+7
| | | | | | | | * Migrate admin functions into app package * More user function refactoring * Move post functions into app package
* Move permissions code into app package (#5146)Joram Wilander2017-01-232-1/+23
| | | | | | * Move permissions code into app package * Revert getPosts permission
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-0/+4
| | | | | | | | | | | | | | | | | | * Refactor and move session logic into app package * Refactor email functions into the app package * Refactor password update into app package * Migrate user functions to app package * Move team functions into app package * Migrate channel functions into app package * Pass SiteURL through to app functions * Update based on feedback
* Message Editing and Deleting permissions (#4692)Amit Yadav2017-01-182-0/+40
|
* PLT-2978: Add channel purpose change system message. (#5094)George Goldberg2017-01-171-1/+2
| | | Completes original patch by David Lu.
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+4
| | | | | | | | | | * 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
* PLT-5050 (Server). API to update channel member roles. (#5043)George Goldberg2017-01-132-1/+33
| | | Implements API reference proposal mattermost-api-reference:#66.
* Merge branch 'release-3.6'Christopher Speller2017-01-121-0/+11
|\
| * Use status cache for checking @here notifications (#5035)Joram Wilander2017-01-101-0/+11
| |
* | PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4923)Debanshu Kundu2017-01-121-0/+1
| |
* | inital draft (#4883)Carlos Tadeu Panato Junior2017-01-061-0/+15
|/
* Update schema for version 3.6 (#4972)Harrison Healey2017-01-041-0/+1
| | | | | | * Update schema for version 3.6 * Update version for version 3.6
* Removing old signup team API (#4950)Christopher Speller2017-01-043-76/+0
|
* Removing old createTeamFromSignup api (#4945)Christopher Speller2017-01-031-13/+2
|
* Add initial unit test for post.getPostById() (#4910)Carlos Tadeu Panato Junior2016-12-301-0/+15
| | | | | | | | | | * add itinial tests for GetPostById update per review fix lint * add missing comment
* Add API call to get a user by their email address (#4884)Carlos Tadeu Panato Junior2016-12-281-0/+15
| | | | | | * Add API call to get a user by their email address * update per review
* PLT-5073 Improve performance of /channels/view endpoint (#4881)Joram Wilander2016-12-233-5/+3
| | | | | | * Improve performance of /channels/view endpoint * Fix store unit test
* PLT-5080 (Server): Channel-Admin level permissions (#4874)George Goldberg2016-12-221-3/+4
| | | | Adds permissions for manage/delete public/private channels at the Channel Admin level.
* Skip intensive stat DB queries when more than a set number of users on the ↵Joram Wilander2016-12-221-0/+10
| | | | system (#4876)
* fix GH-4857 | Add a default value for the FileSettings.InitialFont (#4878)Carlos Tadeu Panato Junior2016-12-221-0/+9
|
* API for getting channel members by IDs. (#4877)George Goldberg2016-12-221-0/+12
|
* PLT-5012 Combine updateLastViewedAt, setLastViewedAt and setActiveChannel ↵Joram Wilander2016-12-212-0/+62
| | | | | | | | into a single API (#4840) * Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API * Remove preference DB writes
* Fix teams unread count (#4848)enahum2016-12-211-0/+8
| | | | | | | | * Fix teams unread * Moving logic out of the store * fix unit test
* PLT-4990 - Server: Split out channel permissions to Create/Manage/Delete (#4864)George Goldberg2016-12-211-0/+28
| | | | | | * Server side changes. * Fix unit tests and default config.
* Fix channel_deleted post type (#4841)enahum2016-12-201-1/+3
|
* Prevent accidental removal of user from town square (#4842)Joram Wilander2016-12-201-1/+1
|
* GH-4685 Post a System Message when channel is renamed (#4762)Nick Frazier2016-12-201-1/+2
| | | | | | | | | | * test changes * added system message when displayname changed * added test * gofmt
* PLT-4167 Team Sidebar (#4569)enahum2016-12-194-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-4167 Team Sidebar * Address feedback from PM * change route from my_members to members * bug fixes * Updating styles for teams sidebar (#4681) * Added PM changes * Fix corner cases * Addressing feedback * use two different endpoints * Bug fixes * Rename model and client functions, using preferences to store last team and channel viewed * Fix mobile notification count and closing the team sidebar * unit test, fixed bad merge and retrieve from cached when available * bug fixes * use id for last channel in preferences, query optimization * Updating multi team css (#4830)
* PLT-4332 Position field for Users (#4632)George Goldberg2016-12-143-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add User.Position field to store & model. * GOFMT * Add Position to user settings. * Unit tests. * Add position to profile popup. * i18n * Fix log message for invalid position. * Add Position field attribute to LDAP config. * Add Position field attribute to SAML config. * Reword empty position message. * Change Position Max Length to 35. * Better invalid position error message. * Add new fields to config.json. * Ensure position is never longer than max when displayed. * Hard limit of 64 chars with soft limit still 35 * Put field with other attributes.
* PLT-4767 Implement MFA Enforcement (#4662)Joram Wilander2016-12-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create MFA setup page and remove MFA setup from account settings modal * Add enforce MFA to system console and force redirect * Lockdown mfa required API routes, add localization, other changes * Minor fixes * Fix typo * Fix some unit tests * Fix more unit tests * Minor fix * Updating UI for MFA screen (#4670) * Updating UI for MFA screen * Updating styles for MFA page * Add the ability to switch between email/sso with MFA enabled * Added mfa change email * Minor UI updates for MFA enforcement * Fix unit test * Fix client unit test * Allow switching email to ldap and back when MFA is enabled * Fix unit test * Revert config.json
* Add API call to get a channel by its name (#4700)Carlos Tadeu Panato Junior2016-12-111-0/+10
| | | | | | | | | | | | * add api for getByChannelName * add tests * fix test * rename and tests * check for permissions and test
* PLT-1598 Slash command works in RHS (#4367)Yusuke Nemoto2016-12-092-6/+39
| | | | | | | | | | | | | | | | | | | | | * 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
* Adding block profiling to metrics (#4741)Christopher Speller2016-12-091-2/+8
|
* Add API call to get a team by its name (#4690)Carlos Tadeu Panato Junior2016-12-081-0/+12
| | | | | | | | | | * Add API call to get a team by its name * add tests for client side and update route regex * remove action * add check for permissions and create tests
* PLT-4853 Adding cache purging to the server (server) (#4735)Corey Hulen2016-12-081-0/+10
| | | | | | * PLT-4853 Adding caching invalidation to HA * PLT-4853 Adding cach purging to the server
* PLT-4839 Split too-long Slack messages on import. (#4679)George Goldberg2016-12-021-5/+10
| | | | | | | | | | * PLT-4839 Split too-long Slack messages on import. This PR also takes the opportunity to make the max values for Post properties into constants for easier use elsewhere, as has previously been done for Channel properties. * Only count runes once.
* Add Team Description to the Team Settings (#4652)Carlos Tadeu Panato Junior2016-12-011-0/+5
| | | | | | | | | | | | | | * draft * Add Team Description to the Team Settings * add tooltips for team description * made changes per PM review * add message when there is no description set in the team * squash
* PLT-1378 Initial version of emoji reactions (#4520)Harrison Healey2016-11-305-0/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactored emoji.json to support multiple aliases and emoji categories * Added custom category to emoji.jsx and stabilized all fields * Removed conflicting aliases for :mattermost: and :ca: * fixup after store changes * Added emoji reactions * Removed reactions for an emoji when that emoji is deleted * Fixed incorrect test case * Renamed ReactionList to ReactionListView * Fixed :+1: and :-1: not showing up as possible reactions * Removed text emoticons from emoji reaction autocomplete * Changed emoji reactions to be sorted by the order that they were first created * Set a maximum number of listeners for the ReactionStore * Removed unused code from Textbox component * Fixed reaction permissions * Changed error code when trying to modify reactions for another user * Fixed merge conflicts * Properly applied theme colours to reactions * Fixed ESLint and gofmt errors * Fixed ReactionListContainer to properly update when its post prop changes * Removed unnecessary escape characters from reaction regexes * Shared reaction message pattern between CreatePost and CreateComment * Removed an unnecessary select query when saving a reaction * Changed reactions route to be under /reactions * Fixed copyright dates on newly added files * Removed debug code that prevented all unit tests from being ran * Cleaned up unnecessary code for reactions * Renamed ReactionStore.List to ReactionStore.GetForPost
* PLT-4697 Update channel switcher to autocomplete all users on the system (#4624)Joram Wilander2016-11-291-0/+13
| | | | | | * Add autocomplete API for system-wide users * Update channel switcher to autocomplete all users on the system
* PLT-4357 Adding stats to HA (#4638)Corey Hulen2016-11-282-0/+55
| | | | | | | | * PLT-4357 adding stats to HA * PLT-4357 adding stats to HA * Fixing getting stats from the current server
* PLT-2077 Support CJK hashtags (#4555)Hyeseong Kim2016-11-241-1/+1
| | | | | | | | | | | | | | | | | | * Add Korean character ranges to exist CJK pattern * Add constant for CJK hashtags Becuase most of keywords in CJK are two characters * Add CJK ranges to hashtag pattern to handle it. * Fixes hashtag pattern to apply numbers at last * Remove a wrong test case `test_` shouldn't be a hashtag * Fix hashtag regex to support standard unicodes * Remove wrong escapes from regex
* PLT-4403 Add server-based channel autocomplete, search and paging (#4585)Joram Wilander2016-11-244-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add more channel paging API * Add channel paging support to client * Add DB channel search functions * Add API for searching more channels * Add more channel search functionality to client * Add API for autocompleting channels * Add channel autocomplete functionality to the client * Move to be deprecated APIs to their own file * Final clean-up * Fixes related to feedback * Localization changes * Add unit as suffix to timeout constants
* PLT-4429 disabling at_all at_channel metions mentions when channel has more ↵Corey Hulen2016-11-241-0/+10
| | | | | | | | | | | | than 1k users (#4627) * PLT-4429 disabling explicit mentions when channel has more than 1k users * Fixing test case * Adding setting to the admin console * Fixing bad translation
* PLT-4357 adding performance monitoring (#4622)Corey Hulen2016-11-223-0/+32
| | | | | | | | | | | | | | | | | | * WIP * WIP * Adding metrics collection * updating vendor packages * Adding metrics to config * Adding admin console page for perf monitoring * Updating glide * switching to tylerb/graceful
* PLT-4598 add team id to push notification (#4623)Corey Hulen2016-11-211-0/+1
|
* PLT-3762 - Add API call to get a user by their username (#4611)Carlos Tadeu Panato Junior2016-11-211-0/+11
| | | | | | | | | | | | | | * PLT-3762 - Add API call to get a user by their username * fix lint * update rote * update per code review * update per code review * remove first/last name is not used in this test
* plt-2610 allow slash command to override username/icon_url (#4378)Yusuke Nemoto2016-11-171-0/+2
|
* Fixing panic of incoming webhook with float64 values (#4444) (#4445)Fares Rihani2016-11-151-1/+2
|
* Add support for editing slash commands (#4335)Brian Olecki2016-11-151-0/+10
|