Commit graph

95 commits

Author SHA1 Message Date
ff7bfaaef2 Merge tag 'v4.1.0' 2023-02-12 20:23:07 +08:00
Nick Schonning
558ac411c4
Expand Stylelint glob to include CSS files (#22469) 2023-01-05 13:42:13 +01:00
Matt Hodges
4114a7088a
Embed js height fix (#22141)
* only begin iframe reheight once document state is complete

* format

* lint fixes

* Update public/embed.js to use readystatechange event listener

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Call loaded() if ready, otherwise add listenter

* lint fix

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 16:18:59 +01:00
7ef0a46ebb Merge tag 'v4.0.0rc1' 2022-11-06 11:59:14 +08:00
Eugen Rochko
e02812d5b6
Add assets from Twemoji 14.0 (#19733) 2022-11-04 16:08:41 +01:00
pea-sys
c68e6b52d9
png optimization(loss less) (#19630) 2022-11-01 15:06:52 +01:00
Yamagishi Kazutoshi
81e1cc5fec
Replace to workbox-webpack-plugin from offline-plugin (#18409) 2022-08-25 20:10:01 +02:00
Eugen Rochko
fe2d6fe105
Fix wrong aspect ratio of logo in icons (#18639) 2022-06-11 20:32:02 +02:00
Eugen Rochko
45aa5781ce
Change brand color and logotypes (#18592)
- Add rake task for generating Apple/Android icons and favicons from SVG
- Add rake task for generating PNG icons and logos for e-mails from SVG
- Remove obsolete Microsoft icons and configuration
- Remove PWA shortcut icons
2022-06-09 22:25:23 +02:00
86feff686d Merge tag 'v3.5.3' 2022-05-27 10:11:23 +08:00
2144252c5e Merge tag 'v3.5.2' 2022-05-04 10:08:14 +08:00
rinsuki
6e736f2452
fix: embed.js doesn't expands iframes height (#18301)
also including some refactoring:
- add `// @ts-check`
- use Map to completely avoid prototype pollution
- assign random id to each iframe for reduce chance to brute-force attack, and leak of iframe counts
- check iframe.contentWindow and MessageEvent.source to validate message is coming from correct iframe (it works on latest Chrome/Firefox/Safari but I'm not sure this is allowed by spec)

follow-up of #17420
fix #18299
2022-05-04 03:20:44 +02:00
Gaelan Steele
74e20f22cd
Fix light-mode emoji borders. (#18131) 2022-04-29 19:23:03 +02:00
30a67d2421 Merge remote-tracking branch 'upstream/main' 2022-02-03 22:11:25 +08:00
Rohan Sharma
4d6d4b43c6
Fixed prototype pollution bug and only allow trusted origin (#17420) 2022-02-01 17:34:48 +01:00
2bd2b5b391 Allow archive.org 2021-09-13 12:55:11 +08:00
8a732440ce Merge tag 'v3.4.1' 2021-06-03 11:53:08 +08:00
Eugen Rochko
abd7b4636a
Add assets from Twemoji 13.1.0 (#16345)
* Add assets from Twemoji 13.1.0

* Update emoji-mart
2021-06-01 14:35:49 +02:00
0eef5d946d Merge tag 'v3.4.0rc2' 2021-05-11 12:25:34 +08:00
Claire
e78d06eecf
Add border to 🚲 emoji (#16035) 2021-04-13 23:43:51 +02:00
Claire
a8139ab016
Add borders to 📱 and 📲 emojis (#15794) 2021-03-01 21:22:54 +01:00
49b73b1f65 Merge tag 'v3.3.0rc2' 2020-12-19 11:26:05 +08:00
Marcin Mikołajczak
9342705e6b
Add app shortcuts (#15234)
* Add app shortcuts

Signed-off-by: mkljczk <me@mkljczk.pl>

* Fix codeclimate issues

Signed-off-by: mkljczk <me@mkljczk.pl>

* Change shortcuts

Signed-off-by: mkljczk <me@mkljczk.pl>

* More consistent new-status icon

Signed-off-by: mkljczk <me@mkljczk.pl>
2020-12-15 02:04:56 +01:00
ef09081456 Merge remote-tracking branch 'upstream/master' into master 2020-09-27 00:55:40 +08:00
ThibG
91eecd1b3c
Add border around 🕺 emoji (#14769)
Fixes #14768
2020-09-10 19:08:03 +02:00
790c0364c4 Merge remote-tracking branch 'upstream/master' into master 2020-09-06 22:22:46 +08:00
ThibG
f0b6ddd979
Add border around 🐞 emoji (#14712) 2020-08-31 23:30:27 +02:00
40dd8aaed4 Merge tag 'v3.2.0rc1' 2020-07-16 09:34:25 +08:00
leo60228
e0f55f374c
Add emojis:generate_borders Rake task (#13773)
* Add emojis:generate_borders Rake task

* Address review

* Border all dark emoji

* Combine stroke with filter to reduce artifacting

* Cleanup Camera with Flash

* Add stroke-linejoin="round"

The previous filter and tweaks were effectively a poor imitation of it.
There are no artifacts for any dark emoji now!

* Set stroke-width using property

This fixes old versions of Firefox.

* Store emoji in string instead of array

* Use separate arguments for each path segment

* Remove "background: black;"
2020-06-09 00:12:20 +02:00
71cec2d153 Merge remote-tracking branch 'upstream/master' 2020-05-14 16:32:30 +08:00
ThibG
e1629a7758
Remove 'unsafe-inline' from Content-Security-Policy style-src (#13679)
* Make sure wicg-inert doesn't rely on inline CSS

* Remove unsafe-inline from style-src
2020-05-08 21:22:57 +02:00
D Anzorge
29f5353f8b
Update Twemoji to 12.1.5 (#13021)
* Update Twemoji to 12.1.5

SVGs from Twemoji repo https://github.com/twitter/twemoji

* Update emoji_map.json to Unicode 12
2020-04-19 23:38:31 +02:00
88290b9f5e Revert "fix: ReferenceError: regeneratorRuntime is not defined"
This reverts commit 84edc08928.

Revert "fix ocr can't recognize chinese characters"

This reverts commit 116cebaea4.
2020-04-05 23:37:27 +08:00
116cebaea4 fix ocr can't recognize chinese characters 2020-03-16 22:10:10 +08:00
820d11f96a Merge tag 'v3.1.0rc2' 2020-01-29 11:29:52 +08:00
koyu
823dcc4dc6 Updated Twemoji to 12.1.3 (#12342) 2019-11-11 00:04:24 +02:00
7ef197b663 Merge tag 'v3.0.0rc2' 2019-10-01 14:56:51 +08:00
Eugen Rochko
28636f43e4
Add OCR tool to media editing modal (#11566) 2019-08-15 15:13:26 +02:00
3479af4bba Mouring cmx.im 2019-07-08 23:18:57 +08:00
d137984dd3 Mourning cmx.im 2019-07-08 23:00:45 +08:00
b23a08bc37 Mouring cmx.im 2019-07-08 22:53:49 +08:00
e93631abe5 Ban spider 2019-07-08 17:42:09 +08:00
ThibG
c4f2433300 Disallow robots from indexing /interact/ (#10666)
This does not provide any new information and may just triple the number
of crawled pages
2019-05-02 00:10:19 +02:00
Eugen Rochko
80388a3ffe
Change error graphic to hover-to-play (#10055)
Fix #6060
2019-02-15 23:33:25 +01:00
nightpool
a5992e5883 Change robots.txt to exclude only media proxy URLs (#10038)
* Revert "Change robots.txt to exclude some URLs (#10037)"

This reverts commit 80161f4351.

* Let's block media_proxy

/media_proxy/ is a dynamic route used for requesting uncached media, so it's
probably bad to let crawlers use it

* misleading comment
2019-02-14 03:11:47 +01:00
Eugen Rochko
80161f4351
Change robots.txt to exclude some URLs (#10037)
- Exclude static assets
- Exclude uploaded files
- Exclude alternate versions of the profile page
- Exclude media proxy URLs
2019-02-13 21:28:18 +01:00
Dryusdan
17b928502a update twemojie to v2 (#7911) 2018-07-06 01:58:07 +02:00
Maciek Baron
ca2cc556f1 Crush PNGs to reduce overall size (#7954) 2018-07-05 15:20:16 +02:00
Renato "Lond" Cerqueira
268d90e810 Rename emoji sheet to avoid caching issue (#7777) 2018-06-10 16:12:47 +02:00
Renato "Lond" Cerqueira
0c3ce41031 Update to emojimart 2.6.1 (#7746)
* Update to emojimart 2.6.1
WIP using local updated version. Sheet comes from emoji-data@4.0.4,
file sheet_twitter_32_indexed_256.png.

* Update to 2.6.1 and uncompress data if needed

* Remove changes that were not needed

* Fix yarn lock file

* Match emojiToShowFilter behavior to new version of emoji-mart

* Fix codeclimate issue

* Match custom emoji behavior to new version of emoji-mart

* Replace emoji without shortcode in tests

* Fix code climate issues
2018-06-07 19:40:23 +02:00