summaryrefslogtreecommitdiffstats
path: root/api/reaction.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-8708 Remove api package (#8784)Joram Wilander2018-05-161-149/+0
| | | | | | | | | | | | | | | | | | | | | | * Remove api package * Remove api dependency from cmd package * Remove EnableAPIv3 setting * Update web tests * Add more websocket tests * Move some ws and oauth tests to api4 package * Move command tests into api4 package * Test fixes * Fix msg command test * Add some app file tests
* MM-8827: Add ADD_REACTION, REMOVE_REACTION and REMOVE_OTHERS_REACTIONS ↵Jesús Espino2018-02-191-4/+4
| | | | permissions (#8300)
* Reduce logging data races, fix MySQL test race condition (#7994)Chris2017-12-221-4/+0
| | | | | | | | * fix races * revert unintentional change * fix test as intended
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-18/+0
|
* remove global refs from api/api4 (#7496)Chris2017-09-221-4/+4
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* app type transition (#7167)Chris2017-09-061-9/+9
|
* Api: NewLocAppError -> NewAppError (#7280)George Goldberg2017-09-011-10/+6
|
* APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name (#6117)Saturnino Abril2017-04-221-19/+4
| | | | | | | | | | * APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name * updated v3 deleteReaction endpoint * update parameter of app.DeleteReactionForPost() * update utils.IsValidAlphaNum, add utils.IsValidAlphaNumHyphenUnderscore, and add related tests
* APIv4 POST /reactions (#6092)Saturnino Abril2017-04-181-8/+3
| | | | | | * APIv4 POST /reactions * update corresponding V3 endpoint
* 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
* Merge 3.7 changes into master (#5679)Joram Wilander2017-03-071-2/+7
| | | | | | | | * Save schema version for 3.7 (#5675) * Adding index and cache to reactinos store (#5654) * Fix badge count for push notifications (#5672)
* Fixing emoji reactions and Aurora read replica issue for master (#5499)Corey Hulen2017-02-221-39/+22
|
* Move permissions code into app package (#5146)Joram Wilander2017-01-231-3/+6
| | | | | | * Move permissions code into app package * Revert getPosts permission
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-9/+10
| | | | | | | | | | * 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-1378 Initial version of emoji reactions (#4520)Harrison Healey2016-11-301-0/+203
* 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