Guo Xiang Tan
|
5012d46cbd
|
Add rubocop to our build. (#5004)
|
2017-07-28 10:20:09 +09:00 |
Robin Ward
|
574681dc47
|
FIX: Show emoji in inline oneboxes
|
2017-07-21 14:24:48 -04:00 |
Joffrey JAFFEUX
|
54e0075a3e
|
use the EMOJI_VERSION constant
|
2017-07-21 19:42:49 +02:00 |
Joffrey JAFFEUX
|
6de258d4cf
|
FEATURE: Introduces new emoji-picker
|
2017-07-19 16:48:23 +02:00 |
Guo Xiang Tan
|
fa35137d3a
|
PERF: Reduce allocations in `Emoji.unicode_replacements`.
```
MemoryProfiler.report { Emoji.unicode_replacements }.pretty_print
```
Before:
```
Total allocated: 2032131 bytes (30219 objects)
Total retained: 798059 bytes (10734 objects)
allocated memory by gem
-----------------------------------
1270762 discourse/app
690149 2.4.1/lib
48764 activesupport-4.2.8
11405 bootsnap-1.0.0
5266 logster-1.2.7
2473 hiredis-0.6.1
2056 redis-3.3.3
840 discourse/lib
240 activerecord-4.2.8
176 thread_safe-0.3.6
```
After:
```
Total allocated: 1715713 bytes (22449 objects)
Total retained: 797985 bytes (10737 objects)
allocated memory by gem
-----------------------------------
957250 discourse/app
690028 2.4.1/lib
48764 activesupport-4.2.8
11445 bootsnap-1.0.0
2745 hiredis-0.6.1
2624 redis-3.3.3
1473 logster-1.2.7
928 discourse/lib
280 activerecord-4.2.8
176 thread_safe-0.3.6
```
|
2017-06-20 13:50:37 +09:00 |
Guo Xiang Tan
|
40ef5c4f14
|
PERF: Reduce memory allocation by `Emoji.unicode_replacements`.
Calling `Emoji.tonable_emojis` fetches from the cache but creates
a giant array each time it is called.
```
MemoryProfiler.report { Emoji.unicode_replacements }.pretty_print
```
Before:
```
Total allocated: 16560770 bytes (246364 objects)
Total retained: 784793 bytes (10624 objects)
allocated memory by gem
-----------------------------------
10224581 activesupport-4.2.8
3504241 hiredis-0.6.1
1449466 discourse/app
679314 2.4.1/lib
419592 discourse/lib
226720 redis-3.3.3
56680 activerecord-4.2.8
176 thread_safe-0.3.6
```
After:
```
Total allocated: 2127703 bytes (30556 objects)
Total retained: 798099 bytes (10735 objects)
allocated memory by gem
-----------------------------------
1270762 discourse/app
690149 2.4.1/lib
106977 bootsnap-1.0.0
48764 activesupport-4.2.8
5266 logster-1.2.7
2473 hiredis-0.6.1
2056 redis-3.3.3
840 discourse/lib
240 activerecord-4.2.8
176 thread_safe-0.3.6
```
|
2017-06-20 13:10:44 +09:00 |
Régis Hanol
|
f77e6c8fc6
|
Merge pull request #4928 from jjaffeux/transform-native-emojis-to-names
Transforms native emojis to valid names
|
2017-06-14 15:43:09 +02:00 |
Joffrey JAFFEUX
|
ab6086bce9
|
Transforms native skin toned emojis to valid names
|
2017-06-14 15:35:37 +02:00 |
Régis Hanol
|
04e175bc06
|
Merge pull request #4925 from jjaffeux/adds-tones-to-clear-cache
Makes sure we clear tonable_emojis cache
|
2017-06-14 14:56:41 +02:00 |
Joffrey JAFFEUX
|
fa508042ff
|
Makes sure we clear tonable_emojis cache
|
2017-06-14 11:11:02 +02:00 |
Joffrey JAFFEUX
|
299339a373
|
Fixes emoji name to code missing tones
|
2017-06-13 14:10:26 -04:00 |
Joffrey JAFFEUX
|
2aae6cfdbe
|
look for aliases in Emoji.lookup_unicode
|
2017-06-05 18:53:11 +02:00 |
Joffrey JAFFEUX
|
64336a8c75
|
Emoji 5.0 support
|
2017-06-05 14:06:23 +02:00 |
Sam
|
44d7fe89ed
|
FIX: unescape emoji in pretty title
This makes emoji in title consistent, it is later escaped back when needed
|
2017-05-15 10:28:05 -04:00 |
Guo Xiang Tan
|
e61959e6a8
|
FIX: `CustomEmoji` may contain an invalid upload_id.
https://meta.discourse.org/t/white-screen-after-deleting-custom-emoji/61608
|
2017-05-05 14:53:38 +08:00 |
Guo Xiang Tan
|
99abbc2e2d
|
UX: Order custom emojis by name.
|
2017-03-30 13:24:18 +08:00 |
Régis Hanol
|
747f4812e4
|
fix custom emoji support when using subfolder
|
2017-03-24 02:09:39 +01:00 |
Guo Xiang Tan
|
58de40154d
|
Bump `EMOJI_VERSION` to clear cache.
|
2017-03-14 15:31:01 +08:00 |
Guo Xiang Tan
|
1a7e954e09
|
FIX: Store custom emojis as uploads.
* Depending on a hardcoded directory was a flawed design
which made it impossible to debug when custom emojis go
missing.
|
2017-03-14 13:07:18 +08:00 |
Rafael dos Santos Silva
|
9ee67ad89c
|
FIX: Use full path for emoji resize job
|
2017-01-02 13:34:32 -02:00 |
Sam
|
89daa43754
|
FEATURE: remap emojis back for push notifications and desktop alerts
|
2016-10-11 13:03:48 +11:00 |
Robin Ward
|
af266acac1
|
FIX: Plugin Custom emoji weren't working correctly on the server side
|
2016-07-22 12:59:43 -04:00 |
Robin Ward
|
3fe4903e63
|
FIX: Support unicode replacements with multiple codepoints
|
2016-07-05 13:55:41 -04:00 |
Robin Ward
|
55ba81494f
|
FIX: Allow `👍` and `👎` to work even though not in emoji.json
|
2016-04-27 14:56:23 -04:00 |
Robin Ward
|
616006a9ce
|
FIX: All unicode replacements beside words. Omit some symbols.
|
2016-03-09 14:59:36 -05:00 |
Régis Hanol
|
d7bc340310
|
FIX: Emoji.clear_cached wasn't deleting the right caches
|
2016-03-07 19:47:40 +01:00 |
Robin Ward
|
396713718b
|
FEATURE: Adds ~200 more emoji
This includes all new emoji from Unicode 7 and Unicode 8 with the
exception of skin tones which will require a new interface.
|
2016-03-04 15:10:14 -05:00 |
Robin Ward
|
0167f6bb57
|
FIX: Don't substitute emojis within code blocks
|
2016-03-02 14:32:00 -05:00 |
Robin Ward
|
74780c1688
|
Add more server side unicode replacements for emoji
|
2015-12-30 14:46:52 -05:00 |
Robin Ward
|
b17e5c99cc
|
PERF: Use a regexp for unicode replacements
|
2015-12-30 14:35:25 -05:00 |
Régis Hanol
|
86f76e5b4d
|
FIX: better plugin emojis API
|
2015-11-06 15:02:40 +01:00 |
Régis Hanol
|
13e96ffd3b
|
FEATURE: add support for custom emojis via plugins
|
2015-11-05 17:25:26 +01:00 |
Neil Lalonde
|
d8d18ee0c3
|
FIX: emoji upload on subfolder install
|
2015-08-21 16:42:37 -04:00 |
Régis Hanol
|
4ff1e19712
|
FIX: emoji aliases were not recognised
|
2015-03-16 18:28:11 +01:00 |
Sam
|
103d42a9d9
|
FIX: emoji cache could get corrupt
FEATURE: enforce 1 day expiry by default on discourse cache
remove family expiry concept as the implementation was fragile
|
2015-02-19 16:58:22 +11:00 |
Régis Hanol
|
86c7071559
|
remove all calls to the distributed mutex in emojis
|
2015-02-13 19:34:24 +01:00 |
Régis Hanol
|
324a3da723
|
remove distributed mutex for emojis (not working)
|
2015-02-13 19:26:26 +01:00 |
Régis Hanol
|
1e6f886886
|
FIX: use distributed mutex to prevent errors when uploading emojis in batches
|
2015-02-09 18:54:57 +01:00 |
Régis Hanol
|
2507f99135
|
FEATURE: background job to make sure emoticons aren't too big
|
2015-01-29 18:36:35 +01:00 |
Gerhard Schlager
|
361b3fb07a
|
FIX: Loading of Emoji files depended on working directory
The importer scripts could not be used unless the working directory was
the Discourse root directory.
|
2015-01-24 00:07:39 +01:00 |
Régis Hanol
|
23aede6eb5
|
FIX: use cache to store custom emoji
|
2014-12-23 01:55:13 +01:00 |
Régis Hanol
|
45dbdb6896
|
FEATURE: custom emojis
|
2014-12-23 01:12:26 +01:00 |