summaryrefslogtreecommitdiffstats
path: root/api/emoji.go
Commit message (Collapse)AuthorAgeFilesLines
* Add sort query parameter to GET /emojis (#8121)Joram Wilander2018-01-191-1/+1
|
* Reduce logging data races, fix MySQL test race condition (#7994)Chris2017-12-221-4/+0
| | | | | | | | * fix races * revert unintentional change * fix test as intended
* Reorganize file util functionality (#7848)Chris2017-11-161-3/+2
| | | | | | | | * reorganize file util functionality * fix api test compilation * fix rebase issue
* Remove unused variables / code (#7736)Chris2017-10-301-4/+0
| | | | | | * remove unused variables / code * fix bug in testPostStoreGetOldest
* Performance improvements for 40M posts (#7708)Christopher Speller2017-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Optimizing get root posts SQL query * Setting session invalidation to be reliable * Adding app reciever to SessionHasPermissionToUser * Adding app reciever to SessionHasPermissionToTeam * Adding app reciever to SessionHasPermissionTo * Clear session cache if permission was denied * Fixing rebase issues * Revert "Optimizing get root posts SQL query" This reverts commit f364757e7015cfb4ec673d0a4fc3d57cd25d8dd7. * Fixing build
* Reduce utils.Cfg references (#7650)Chris2017-10-181-7/+7
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-1/+1
|
* remove global refs from api/api4 (#7496)Chris2017-09-221-5/+5
|
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-7/+8
|
* Api: NewLocAppError -> NewAppError (#7280)George Goldberg2017-09-011-26/+13
|
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-3/+3
|
* Add paging to the GET /emojis endpoint (#6802)Joram Wilander2017-07-031-1/+1
|
* PLT-3711: Add websocket event for emoji addition (#6211)VeraLyu2017-06-231-0/+4
| | | | | | | | | | | | * PLT-3711: Add websocket event for emoji addition * (SA) updated as per review This PR is edited directly to merge into master. * (SA) updated as per review This PR is edited directly to merge into master.
* [APIV4] GET /emoji/{emoji_id}/image for apiV4 (#6141)Carlos Tadeu Panato Junior2017-04-201-21/+7
| | | | | | * implement GET /emoji/{emoji_id}/image for apiV4 * update per request
* implement DELETE /emoji/{emoji_id} fro apiV4 (#6021)Carlos Tadeu Panato Junior2017-04-171-29/+12
| | | implement GET /emoji/{emoji_id} for apiv4
* 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
* implement GET /emoji for apiV4 (#6007)Carlos Tadeu Panato Junior2017-04-071-4/+4
|
* implement POST /emoji for apiV4 (#5868)Carlos Tadeu Panato Junior2017-04-061-67/+5
|
* Adding emoji caching (#5433)Corey Hulen2017-02-151-2/+3
|
* Move permissions code into app package (#5146)Joram Wilander2017-01-231-1/+1
| | | | | | * Move permissions code into app package * Revert getPosts permission
* Refactor and migrate more functions out of api into app package (#5063)Joram Wilander2017-01-131-5/+5
|
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-7/+8
| | | | | | | | | | * 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-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-4277: Allow larger custom emojis by resizing (#4447)Iraquitan Cordeiro Filho2016-11-211-8/+79
| | | | | | | | | | | | | | | | | Add function to resize image using resize.Thumbnail. Add function to resize gif using previous function. Add function to convert image.Image to image.Palleted. Add logic to identify image type and resize them if they are larger than MaxEmojiHeight or MaxEmojiWidth. Also increase MaxEmojiFileSize. * fix: Add github.com/nfnt to vendor * fix: Fix max file size and if logic in resizeEmoji * test: Fix and add new tests for new resize feature * fix: Fix and update translations to fit new feature * fix: Add requested changes
* Modifying permissions system. (#3897)Christopher Speller2016-09-131-1/+1
|
* PLT-3145 Custom Emojis (#3381)Harrison Healey2016-07-051-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reorganized Backstage code to use a view controller and separated it from integrations code * Renamed InstalledIntegrations component to BackstageList * Added EmojiList page * Added AddEmoji page * Added custom emoji to autocomplete and text formatter * Moved system emoji to EmojiStore * Stopped trying to get emoji before logging in * Rerender posts when emojis change * Fixed submit handler on backstage pages to properly support enter * Removed debugging code * Updated javascript driver * Fixed unit tests * Fixed backstage routes * Added clientside validation to prevent users from creating an emoji with the same name as a system one * Fixed AddEmoji page to properly redirect when an emoji is created successfully * Fixed updating emoji list when an emoji is deleted * Added type prop to BackstageList to properly support using a table for the list * Added help text to EmojiList * Fixed backstage on smaller screen sizes * Disable custom emoji by default * Improved restrictions on creating emojis * Fixed non-admin users seeing the option to delete each other's emojis * Fixing gofmt * Fixed emoji unit tests * Fixed trying to get emoji from the server when it's disabled
* PLT-3143 Added serverside code for custom Emoji (#3311)Harrison Healey2016-06-141-0/+252
* 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