summaryrefslogtreecommitdiffstats
path: root/store/store.go
Commit message (Collapse)AuthorAgeFilesLines
* PLT-7644: Improve job scheduler architecture. (#7532)George Goldberg2017-09-281-0/+2
|
* PLT-7619: Cleanup flags in data retention. (#7501)George Goldberg2017-09-221-0/+1
|
* PLT-7639: Batch delete methods for data retention. (#7444)George Goldberg2017-09-151-0/+4
|
* Renaming repoChristopher Speller2017-09-061-1/+1
|
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-251-0/+1
| | | | | | | | | | | | | | | | | * Prepare file upload infrastructure for Data Retention. This commit prepares the file upload infrastructure for the data retention feature that is under construction. Changes are: * Move file management code to utils to allow access to it from jobs. * From now on, store all file uploads in a top level folder which is the date of the day on which they were uploaded. This commit is based on Harrison Healey's branch, but updated to work with the latest master. * Use NewAppError
* PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-161-0/+8
| | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* Revert " #4755 Combining consecutive user join/leave system messages to ↵Saturnino Abril2017-08-011-1/+0
| | | | | | | | | | | | 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-011-0/+1
| | | | | | | | | 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-311-0/+10
| | | | | | | | | | | | | | | | * 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-311-0/+3
| | | | commands (#7028)
* PLT-5308 Caching layer part 2 (#6973)Christopher Speller2017-07-311-2/+0
| | | | | | | | | | | | * 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-201-0/+1
| | | | | | | | * PLT-6595-Server: Job Management APIs. * MANAGE_JOBS Permission * Fix test.
* PLT-6475: Elasticsearch Indexing Worker. (#6879)George Goldberg2017-07-111-0/+1
|
* PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-071-3/+7
| | | | | | | | | | | | | | 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 paging to the GET /emojis endpoint (#6802)Joram Wilander2017-07-031-1/+1
|
* Add some basic sorting support for GET /users endpoint (#6801)Joram Wilander2017-06-301-1/+2
|
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-181-0/+1
| | | | | | | | | | | | | | * 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-151-0/+1
|
* Add API Endpoint for deleted Channels (#5889)Robin Naundorf2017-05-091-0/+1
|
* PLT-6355: Use separate Read Replicas for Search. (#6216)George Goldberg2017-05-011-0/+1
|
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-6/+6
| | | | (#6213)
* Refactor OAuth 2.0 code into app layer (#6037)Joram Wilander2017-04-121-3/+3
|
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* APIv4 GET /users/{user_id}/posts/flagged (#5984)Saturnino Abril2017-04-051-0/+1
| | | | | | * APIv4 GET /users/{user_id}/posts/flagged * change permission check
* APIv4 post /teams/search (#5931)Saturnino Abril2017-04-031-0/+2
|
* Add store unit tests and add make target for testing store with postgres (#5925)Joram Wilander2017-04-031-1/+0
| | | | | | | | * Add store unit tests and add make target for testing store with postgres * Remove postgres target form test-server target * Fix audit test
* PLT-6162: Search for users not in a given team. (#5943)George Goldberg2017-04-031-0/+1
|
* PLT-5483 Fix bug where flagged posts endpoint returned posts on other teams ↵Joram Wilander2017-03-311-0/+1
| | | | | | | | (#5765) * Fix bug where flagged posts endpoint returned posts on other teams * Include flagged posts from DMs/GMs
* PLT-2713 Added ability for admins to list users not in any team (#5844)Harrison Healey2017-03-291-0/+1
| | | | | | * PLT-2713 Added ability for admins to list users not in any team * Updated style of unit test
* PLT-6083: API to get users not in a specific team. (#5888)George Goldberg2017-03-291-0/+2
|
* APIv4 post /channels/ids (#5845)Saturnino Abril2017-03-271-0/+1
| | | | | | * APIv4 post /channels/ids * updated enpoint as /teams/{team_id}/channels/ids
* Implement POST /users/search endpoint for APIv4 (#5822)Joram Wilander2017-03-231-0/+1
| | | | | | | | | | * Implement POST /users/search endpoint for APIv4 * PLT-2713 Added store functions for searching users that don't have a team * PLT-2713 Added 'without_team' option when searching users * PLT-2713 Added 'without_team' option when searching users (v4)
* Implement some channel endpoints for APIv4 (#5767)Joram Wilander2017-03-161-0/+1
|
* Implement GET and POST /hooks/outgoing endpoints for APIv4 (#5645)Joram Wilander2017-03-131-2/+3
|
* Implement compliance endpoints for APIv4 (#5683)Joram Wilander2017-03-131-1/+1
| | | | | | * Implement compliance endpoints for APIv4 * Add paging to get reports endpoint
* Implement some team endpoints for APIv4 (#5745)Joram Wilander2017-03-131-1/+2
| | | | | | | | | | * Implement PUT /teams/{team_id} endpoint for APIv4 * Implement GET /users/{user_id}/teams/{team_id}/unread endpoint for APIv4 * Implement POST /teams/{team_id}/members/ids endpoint for APIv4 * Remove debug statement
* Endpoint for APIv4: GET /team/{team_id}/channels (#5681)Saturnino Abril2017-03-131-0/+1
|
* Add pinned posts (#4217)Gabin Aureche2017-03-131-0/+1
|
* Merge 3.7 changes into master (#5679)Joram Wilander2017-03-071-1/+3
| | | | | | | | * Save schema version for 3.7 (#5675) * Adding index and cache to reactinos store (#5654) * Fix badge count for push notifications (#5672)
* PLT-5367: Basic post bulk importing. (#5562)George Goldberg2017-02-281-0/+2
|
* Get all teams api4 (#5542)Andrei Stanciu2017-02-281-0/+2
|
* Revert "Adding caching to get channel member (#5518)"Christopher Speller2017-02-271-2/+1
| | | | This reverts commit ba028ed74b69bd1dd902344663fbf8ba4f1dfb87.
* Adding edit of incoming webhook (#5272)Poornima2017-02-261-0/+3
| | | | | | | Adding edit of outgoing webhook Fixing spelling of error Fixing style Changing from PUT to POST for updates Fixing test failures due to merge
* PLT-5070: Server side component of Telemetry. (#5514)George Goldberg2017-02-241-0/+3
|
* Adding caching to get channel member (#5518)Christopher Speller2017-02-241-1/+2
|
* PLT-3193 Add channel notification preferences for push and email noti… (#5500)enahum2017-02-231-0/+2
| | | | | | | | | | | | | | | | * PLT-3193 Add channel notification preferences for push and email notifications * unit tests, model validation and localization * Feedback review * Adding back allowFromCache check * Setting push and email to use default settings * Move props as constants * address feedback
* Implement create and get incoming webhook endpoints for APIv4 (#5407)Joram Wilander2017-02-211-1/+2
| | | | | | | | * Implement POST /hooks/incoming endpoint for APIv4 * Implement GET /hooks/incoming endpoint for APIv4 * Updates per feedback
* Implement endpoint for APIv4: GET /users/{user_id}/audits (#5472)Saturnino Abril2017-02-211-1/+1
|