summaryrefslogtreecommitdiffstats
path: root/model/emoji.go
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to bulk import emoji (#9048)Joram Wilander2018-07-051-2/+6
| | | | | | | | * Add ability to bulk import emoji * Improve error handling * Update test config
* [MM-9777] Avoids adding custom emojis with the same name as a system emoji ↵Fede2018-03-231-1/+6
| | | | | | | | | | | | | | | | | | (#8461) * Emoji validation fails if name exists in system emojis * Use hashmap instead of array to improve performance * Changed utils/StringInMap to emoji/isSystemEmoji * Load system emojis from model/emoji.json * Added emoji.json from webapp * Load system emojis from emoji_data.go instead of emoji.json * Run `gofmt -w model/emoji_data.go`
* general cleanup (#8387)Chris2018-03-071-4/+0
|
* unnamed return (#8170)Chris2018-01-301-27/+9
|
* Add sort query parameter to GET /emojis (#8121)Joram Wilander2018-01-191-0/+1
|
* [XYZ-6] Add sampledata platform command (#8027)Jesús Espino2018-01-111-1/+5
| | | | | | | | * Add fake dependency * [XYZ-6] Add sampledata platform command * Creating EMOJI_NAME_MAX_LENGTH as a constant and using it where needed
* Model: NewLocAppError -> NewAppError (#7450)George Goldberg2017-09-151-5/+6
|
* APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name (#6117)Saturnino Abril2017-04-221-1/+1
| | | | | | | | | | * 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
* 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
* PLT-3143 Added serverside code for custom Emoji (#3311)Harrison Healey2016-06-141-0/+95
* Added model objects for emoji * Added database tables for emoji * Added settings for custom emoji * Added serverside APIs and unit tests for custom emoji * Added additional validation to catch duplicate emoji names earlier on * Added additional validation to prevent users from adding emoji as another user