summaryrefslogtreecommitdiffstats
path: root/store/sql_post_store_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Revert " #4755 Combining consecutive user join/leave system messages to ↵Saturnino Abril2017-08-011-34/+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/+34
| | | | | | | | | message and few other changes. (#5945) fix 7 and 8 remove @ at "{username} joined the channel" refactor and update test
* PLT-6475: Elasticsearch Indexing Worker. (#6879)George Goldberg2017-07-111-0/+69
|
* PLT-6761 fixing unit tests (#6671)Corey Hulen2017-06-191-81/+81
|
* PLT-6472: Basic Elastic Search implementation. (#6382)George Goldberg2017-05-181-0/+42
| | | | | | | | | | | | | | * 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-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-2/+119
| | | | | | * APIv4 GET /users/{user_id}/posts/flagged * change permission check
* PLT-5483 Fix bug where flagged posts endpoint returned posts on other teams ↵Joram Wilander2017-03-311-0/+168
| | | | | | | | (#5765) * Fix bug where flagged posts endpoint returned posts on other teams * Include flagged posts from DMs/GMs
* PLT-5367: Basic post bulk importing. (#5562)George Goldberg2017-02-281-0/+138
|
* Error on blank post IDs for get post query (#5326)Joram Wilander2017-02-081-0/+4
|
* Add tear down to APIv4 tests (#5250)Joram Wilander2017-02-021-0/+14
| | | | | | * Add tear down to APIv4 tests * Defer tear downs
* PLT-5225 Added separate post types for certain system messages (#5193)Harrison Healey2017-01-271-1/+1
| | | | | | | | | | | | * Added separate post types for system_join_leave and system_add_remove posts * Added username prop to channel deleted posts * Changed slack import to properly generate the new join/leave messages * Added username prop to channel update posts * Moved Post(AddTo/RemoveFrom)ChanneMessage into app package
* More app code migration (#5170)Joram Wilander2017-01-251-0/+23
| | | | | | | | * Migrate admin functions into app package * More user function refactoring * Move post functions into app package
* Adding caching of last 60 posts. (#4880)Christopher Speller2016-12-221-1/+27
|
* Modifying post etag cache to apply to getPostsSince (#4837)Christopher Speller2016-12-201-10/+17
|
* Adding caching layer to some posts calls (#4779)Christopher Speller2016-12-141-4/+39
|
* PLT-3105 Files table migration (#4068)Harrison Healey2016-09-301-15/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implemented initial changes for files table * Removed *_benchmark_test.go files * Re-implemented GetPublicFile and added support for old path * Localization for files table * Moved file system code into utils package * Finished server-side changes and added initial upgrade script * Added getPostFiles api * Re-add Extension and HasPreviewImage fields to FileInfo * Removed unused translation * Fixed merge conflicts left over after permissions changes * Forced FileInfo.extension to be lower case * Changed FileUploadResponse to contain the FileInfos instead of FileIds * Fixed permissions on getFile* calls * Fixed notifications for file uploads * Added initial version of client code for files changes * Permanently added FileIds field to Post object and removed Post.HasFiles * Updated PostStore.Update to be usable in more circumstances * Re-added Filenames field and switched file migration to be entirely lazy-loaded * Increased max listener count for FileStore * Removed unused fileInfoCache * Moved file system code back into api * Removed duplicate test case * Fixed unit test running on ports other than 8065 * Renamed HasPermissionToPostContext to HasPermissionToChannelByPostContext * Refactored handleImages to make it more easily understandable * Renamed getPostFiles to getFileInfosForPost * Re-added pre-FileIds posts to analytics * Changed files to be saved as their ids as opposed to id/filename.ext * Renamed FileInfo.UserId to FileInfo.CreatorId * Fixed detection of language in CodePreview * Fixed switching between threads in the RHS not loading new files * Add serverside protection against a rare bug where the client sends the same file twice for a single post * Refactored the important parts of uploadFile api call into a function that can be called without a web context
* Fixing the console level debug statements (#4092)Corey Hulen2016-09-271-3/+1
|
* Prevent flagging of deleted posts and don't show deleted posts in flagged ↵Joram Wilander2016-08-221-0/+23
| | | | post list (#3846)
* PLT-3506 Added flagged posts functionality (#3679)Joram Wilander2016-08-041-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added flagged posts functionality * UI Improvements to flags (#3697) * Added flag functionality for mobile * Updating flagged text (#3699) * Add back button to RHS thread when coming from flagged posts * Updating position of flags (#3708) * Plt 3506 - Reverting flag position (#3724) * Revert "Updating position of flags (#3708)" This reverts commit aaa05632c5d9eda35a048300a5bd7e99584c5b58. * Fixing the icon in search * Help text and white space improvements (#3730) * Updatng help text and some white spacing. * Updating help text
* Recent mention searches now OR terms instead of AND (#2931)Joram Wilander2016-05-091-0/+5
|
* Update search unit testsJoramWilander2016-03-181-2/+7
|
* Added extra system-wide statistics for EEJoramWilander2016-02-021-1/+1
|
* Update search query to ignore system messagesJoramWilander2016-01-261-0/+7
|
* Revert " PLT-7 adding loc for db calls"Corey Hulen2016-01-201-118/+118
|
* PLT-7 adding loc db calls for posts table=Corey Hulen2016-01-201-111/+111
|
* PLT-7 adding loc db calls for oauth table=Corey Hulen2016-01-201-5/+5
|
* PLT-7 adding loc db calls for team table=Corey Hulen2016-01-201-2/+2
|
* Update unit testJoramWilander2015-12-071-1/+1
|
* PLT-1035: Remove last data point in graphs on #statistics pageFlorian Orben2015-11-281-2/+3
|
* Adding perm delete to cmd line=Corey Hulen2015-11-161-0/+70
|
* Merge pull request #1285 from mattermost/plt-824Joram Wilander2015-11-041-0/+105
|\ | | | | PLT-824 Adding ability to fetch posts around a specifc post
| * Adding ability to fetch posts around a specifc postChristopher Speller2015-11-031-0/+105
| |
* | Improved tests for search wildcards and removed duplicate search codehmhealey2015-11-021-6/+6
|/
* PLT-25 fixing stats for postgres=Corey Hulen2015-10-271-22/+19
|
* Fixing unit test=Corey Hulen2015-10-261-18/+25
|
* Adding analytics tab=Corey Hulen2015-10-221-0/+128
|
* Added from:, in:, and channel: search modifiershmhealey2015-10-191-11/+11
|
* Changing SpinPunch to Mattermost in copyrightChristopher Speller2015-10-081-1/+1
|
* Parse special characters out of search strings and replace with spaces.JoramWilander2015-10-061-8/+18
|
* Moved ChannelMember.NotifyLevel into ChannelMember.NotifyPropshmhealey2015-10-011-1/+0
|
* Replaced ChannelMember.MarkUnreadLevel with ChannelMember.NotifyPropshmhealey2015-10-011-1/+1
|
* Added additional test cases and fixed existing ones for ↵hmhealey2015-09-301-0/+1
| | | | ChannelMember.MarkUnreadLevel
* PLT-404 adding basic error checking to config file.=Corey Hulen2015-09-291-7/+0
|
* Making changes to versioning=Corey Hulen2015-09-171-4/+4
|
* PLT-92 Adding server side versioning to the binary=Corey Hulen2015-09-161-4/+4
|
* Merge pull request #475 from nickago/MM-1773Christopher Speller2015-08-311-7/+10
|\ | | | | MM-1773a Add wildcard searching for postgresql
| * Added unit testsnickago2015-08-271-7/+10
| |
* | Merge pull request #486 from asubset/masterJoram Wilander2015-08-281-1/+1
|\ \ | |/ |/| Fix getParentsPosts() query
| * fix GetParentPosts() queryJason Rossman2015-08-271-1/+1
| |