summaryrefslogtreecommitdiffstats
path: root/store
Commit message (Collapse)AuthorAgeFilesLines
...
* | PLT-7302: Aggregate Elasticsearch indexes over a certain age. (#7224)George Goldberg2017-08-172-8/+25
| | | | | | | | | | | | | | | | | | * PLT-7302: Aggregate Elasticsearch indexes over a certain age. This is done by a scheduled daily job, in order to keep the shard count to a sensible level in Elasticsearch. * Use map[string]string instead of StringMap
* | PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-166-0/+210
| | | | | | | | | | | | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* | add preparatory upgrade code for 4.2 (#7157)Saturnino Abril2017-08-081-0/+9
|/
* uncomment upgrade for 4.1 (#7128)Saturnino Abril2017-08-081-9/+8
|
* PLT-7223: Update "Database schema cannot be upgraded" error message to ↵Jonathan2017-08-041-14/+15
| | | | | | | | | | indicate expected version (#7079) * PLT-7223: Updated error message to include relevant schema versions * PLT-7223: Removed unit test. It poisons database state, and there's no recovery mechanism, because the code under test causes an ungraceful exit, so we can't fix the database in a defer statement. This causes the next test execution or server start to fail. * PLT-7223: Incorporated @crspeller's suggestions into error message string
* Adding debugging to index creation (#7053)Corey Hulen2017-08-031-3/+4
| | | | | | | | * Adding debugging to index creation * Fixing debug stmt * Fixing debug stmt
* PLT-6987 User access token UI (#7007)Joram Wilander2017-08-012-1/+7
| | | | | | | | | | * Add user access token UI * Fix enter press and update mattermost-redux * Updating UI for access token stuff (#7066) * Revert segment key
* Revert " #4755 Combining consecutive user join/leave system messages to ↵Saturnino Abril2017-08-013-62/+2
| | | | | | | | | | | | single message and few other changes." (#7072) * Revert "PLT-6603: Don't return all posts on invalid query. (#7061)" This reverts commit 25a2013890c7e07b4621fa9b18342e7f35363049. * Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945)" This reverts commit 8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c.
* #4755 Combining consecutive user join/leave system messages to single ↵Debanshu Kundu2017-08-013-2/+62
| | | | | | | | | message and few other changes. (#5945) fix 7 and 8 remove @ at "{username} joined the channel" refactor and update test
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-316-20/+390
| | | | | | | | | | | | | | | | * Implement user access tokens and new roles * Update config.json * Add public post permission to apiv3 * Remove old comment * Fix model unit test * Updates to store per feedback * Updates per feedback from CS
* make cli team / channel delete operations also delete webhooks and slash ↵Chris2017-07-315-3/+147
| | | | commands (#7028)
* PLT-5308 Caching layer part 2 (#6973)Christopher Speller2017-07-3110-331/+525
| | | | | | | | | | | | * Adding Reaction store cache layer example * Implementing reaction store in new caching system. * Redis for reaction store * Adding redis library * Adding invalidation for DeleteAllWithEmojiName and other minor enhancements
* PLT-6595-Server: Job Management APIs. (#6931)George Goldberg2017-07-203-14/+101
| | | | | | | | * PLT-6595-Server: Job Management APIs. * MANAGE_JOBS Permission * Fix test.
* Merge branch 'release-4.0'Christopher Speller2017-07-182-0/+43
|\
| * Postgres fixJoramWilander2017-07-131-1/+9
| |
| * Minor fixJoramWilander2017-07-122-0/+35
| |
* | PLT-7092 Fixed creation of PostList with null Posts fields (#6924)Harrison Healey2017-07-132-3/+2
| |
* | PLT-6475: Elasticsearch Indexing Worker. (#6879)George Goldberg2017-07-113-0/+111
| |
* | PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-079-352/+685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit redesigns the jobserver to be based around an architecture of "workers", which carry out jobs of a particular type, and "jobs" which are a unit of work carried by a particular worker. It also introduces "schedulers" which are responsible for scheduling jobs of a particular type automatically (jobs can also be scheduled manually when apropriate). Workers may be run many times, either in instances of the platform binary, or the standalone jobserver binary. In any mattermost cluster, only one instance of platform OR jobserver must run the schedulers. At the moment this is controlled by a config variable, but in future will be controlled through the cluster leader election process.
* | add preparatory upgrade code for 4.1 (#6870)Saturnino Abril2017-07-071-0/+9
|/
* Uncomment upgrade for 4.0 (#6844)Saturnino Abril2017-07-061-5/+3
|
* PLT-6753 Fixed deactivated users counting against max members on a team (#6758)Harrison Healey2017-07-052-2/+24
| | | | | | * PLT-6753 Fixed deactivated users counting against max members on a team * Removed nested sql query when checking the number of team members
* Adding back ping retry (#6810)Corey Hulen2017-07-041-6/+20
|
* Add paging to the GET /emojis endpoint (#6802)Joram Wilander2017-07-033-6/+7
|
* Add some basic sorting support for GET /users endpoint (#6801)Joram Wilander2017-06-303-9/+59
|
* PLT-6909 Remove deleted emojis from cache (#6757)Harrison Healey2017-06-291-1/+5
| | | | | | * PLT-6909 Remove deleted emojis from cache * Fixed unit tests
* Fixed error information being obscured when joining teams with API v4 (#6751)Harrison Healey2017-06-281-2/+2
|
* Stage 1 of caching layer. Framework (#6693)Christopher Speller2017-06-2730-1036/+1235
|
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-2/+2
|
* PLT-6759 Show deactivated users in GMs (#6703)Joram Wilander2017-06-221-1/+1
| | | | | | * Show deactivated users in GMs * Fix runtime error when DMing deactivated user
* PLT-6761 fixing unit tests (#6671)Corey Hulen2017-06-195-157/+157
|
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-194-31/+488
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6080 adding cluster discovery service * Adding memberlist lib * Adding memberlist lib * WIP * WIP * WIP * WIP * Rolling back config changes * Fixing make file * Fixing config for cluster * WIP * Fixing system console for clustering * Fixing default config * Fixing config * Fixing system console for clustering * Tweaking hub setting * Bumping up time * merging vendor dir * Updating vendor dir * Fixing unit test * Fixing bad merge * Remove some testing code * Moving comment * PLT-6868 adding db ping retry * Removing unused loc strings * Adding defer to cancel
* Add preparatory upgrade code for 4.0 (#6616)Joram Wilander2017-06-091-0/+10
|
* Uncomment upgrade for 3.10 (#6600)Joram Wilander2017-06-061-5/+3
|
* PLT-6752/PLT-6755 Fixed users removed from a team counting against max team ↵Harrison Healey2017-06-063-3/+106
| | | | | | | | | | members (#6578) * PLT-6752 Fixed users removed from a team counting against max team members * Updated unit tests for max team members * Fixed being able to have MaxUserPerTeam+1 users in a team
* PLT-6341/PLT-6342 Update gorp to mattermost fork and add connection timeout ↵Joram Wilander2017-05-295-20/+22
| | | | | | | | | | | | setting (#6410) * Update gorp to mattermost fork and add connection timeout setting * Add go dependency * Rename from connection timeout to query timeout * Properly add gorp dependency
* Set length for OriginalId for new installs (#6437)Joram Wilander2017-05-241-0/+1
|
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-184-0/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added initial job server * Added job server to be ran as part of platform * Added test job to the enterprise repo * Fixed job server not loading license * Renamed job package to jobs * Fixed TE not being buildable * Added JobStatus table to database * Changed fields used by JobStatus * Added APIs to query job status * Added config change listener to server * Added option to run job server from Makefile * Added ability to enable/disable jobs from config * Commented out placeholder for search indexing job * Fixed govet * Removed debug messages and fixed job api init message
* PLT-6472: Basic Elastic Search implementation. (#6382)George Goldberg2017-05-183-0/+70
| | | | | | | | | | | | | | * PLT-6472: Basic Elastic Search implementation. This currently supports indexing of posts at create/update/delete time. It does not support batch indexing or reindexing, and does not support any entities other than posts yet. The purpose is to more-or-less replicate the existing full-text search feature but with some of the immediate benefits of using elastic search. * Alter settings for AWS compatability. * Remove unneeded i18n strings.
* PLT-6019: Add APIv4 Endpoint for restoring Channels (#6263)Robin Naundorf2017-05-153-0/+33
|
* Add API Endpoint for deleted Channels (#5889)Robin Naundorf2017-05-093-0/+108
|
* Add preparatory upgrade code for 3.10 (#6337)Joram Wilander2017-05-061-10/+20
|
* Uncomment upgrade for 3.9 (#6336)Joram Wilander2017-05-041-6/+5
| | | | | | * Uncomment upgrade for 3.9 * Add 3.9.0 to model/version.go
* Copy users in/out out profileByIds cache to prevent data race (#6179)Joram Wilander2017-05-011-2/+5
|
* PLT-6355: Use separate Read Replicas for Search. (#6216)George Goldberg2017-05-013-23/+56
|
* Fix error not appearing when updating to existing username (#6255)Joram Wilander2017-04-281-2/+2
|
* Fixing token size issue (#6258)Christopher Speller2017-04-271-0/+1
|
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-276-194/+137
| | | | (#6213)
* PLT-4457 Added API to get multiple users by their usernames (#6218)Harrison Healey2017-04-252-16/+57
| | | | | | | | | | * Allow getting profiles by username without a team * Changed UserStore.GetProfilesByUsernames to return an array * PLT-4457 Added API to get multiple users by their usernames * Changed users/names route to users/usernames
* Fix the flaky TestTeamStoreSearchByName test in store/sql_team_store_test.go ↵Justin Wyer2017-04-241-2/+3
| | | | (#6187)