summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Bumping version to: 3.5.0-rc1Mattermost Build2016-11-051-0/+1
|
* Increase Channel Purpose length to 250, and add channel field length ↵Christopher Speller2016-11-042-9/+18
| | | | | | | | | | | | | | | | handling code to the slack importer (#4458) * Increase Channel Purpose length to 250. This commit increases the maxmimum length of the channel purpose field to 250, including the database migration necessary. It also adds a method to the Slack importer to check the lengths of channel properties before importing, and truncate them if necessary. Fixes #4168 * Fix database migration.
* PLT-4481 Fix member count for team user lists and channel invite list (#4422)Joram Wilander2016-11-041-2/+3
| | | | | | * Fix member count for team user lists and channel invite list * Fix client unit test
* PLT-4550 move webrtc to TE (#4440)enahum2016-11-042-6/+21
| | | | | | * PLT-4550 move webrtc to TE * remove webrtc from makefile enterprise tests
* EE: PLT-4512 Show secret in addition to QR code when activating MFA (#4427)Joram Wilander2016-11-031-5/+6
| | | | | | | | * EE: Update MFA to display secret for manual entry * Width adjustments for secret (#4423) * Add unit test
* PLT-4535/PLT-4503 Fix inactive users in searches and add option ↵Joram Wilander2016-11-023-4/+60
| | | | | | | | | | | | | | functionality to DB user search (#4413) * Add options to user database search * Fix inactive users showing up incorrectly in some user searches * Read JSON for searchUsers API into anonymous struct * Move anonymous struct to be a normal struct in model directory and upadte client to use it * Added clarification comment about slightly odd query condition in search
* Prevent system_admin role mistake (#4405)Christopher Speller2016-11-011-0/+5
|
* PLT-3562 Switch websocket over to post-connect authentication (#4327)Joram Wilander2016-10-312-10/+15
| | | | | | | | | | | | * 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
* PLT-4430 improve slow channel switching (#4331)enahum2016-10-273-33/+39
| | | | | | | | | | * 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
* Moving away from goamz to use minio-go instead. (#4193)Harshavardhana2016-10-261-31/+30
| | | | | | | | | | | | | 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
* Changed constants name MIN_TEAM_LENGTH value to 2 and the error message (#4149)S4KH2016-10-242-4/+4
|
* Fixes for the team user lists in the system console (#4294)Joram Wilander2016-10-241-1/+0
|