Commit Graph

173 Commits

Author SHA1 Message Date
flarum-bot
1b08d47f6e Bundled output for commit 0b1fe99ec5 [skip ci] 2020-10-15 22:29:20 +00:00
David Sevilla Martín
0b1fe99ec5 Add CDN constant & use jsDelivr in all places (#30)
* Add CDN file for twemoji version & assets base URL
* Add /assets/ to the URL so it's not repeated as much
   * The previous MaxCDN URL didn't need /assets/ because it was specificly for twemoji
* Remove export of CDN - shouldn't be part of this PR
2020-10-15 18:28:30 -04:00
Daniël Klabbers
acf0c51cb4 changelog and dep for v0.1.0-beta.14 2020-10-15 11:17:59 +02:00
flarum-bot
b90d637731 Bundled output for commit 77d5e2cd83 [skip ci] 2020-09-24 02:47:59 +00:00
Alexander Skvortsov
77d5e2cd83 Mithril 2 Update (#29)
Update for Mithril 2

- Please note that AutocompleteDropdown is now a Fragment, not a Component. Accordingly, it's location has been changed.
2020-09-23 22:46:54 -04:00
dependabot[bot]
61c99013ab Bump elliptic from 6.5.2 to 6.5.3 in /js (#28)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:32 +02:00
flarum-bot
b96d8dba50 Bundled output for commit 505068de95 [skip ci] 2020-07-24 22:34:32 +00:00
Franz Liedke
505068de95 Fix extension to work with Composer state changes
Refs flarum/core#2162.
2020-07-25 00:28:06 +02:00
dependabot[bot]
86e77812b8 Bump lodash from 4.17.15 to 4.17.19 in /js (#26)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 10:47:31 +02:00
flarum-bot
3e6f4260a2 Bundled output for commit a00619d75c [skip ci] 2020-07-01 21:16:15 +00:00
David Wheatley
a00619d75c Update to Twemoji 13 (#25)
* Update dependencies to Twemoji 13
* Update to simple-emoji-map 0.4.1
2020-07-01 17:15:20 -04:00
Alexander Skvortsov
3e9c764546 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 22:20:14 -04:00
Franz Liedke
5719d62415 Release v0.1.0-beta.13 2020-05-01 13:08:44 +02:00
Franz Liedke
6abc44f20f Update Webpack CLI 2020-05-01 12:02:14 +02:00
Franz Liedke
03212a4e6e Update Webpack 2020-05-01 11:51:03 +02:00
flarum-bot
a39a7349a8 Bundled output for commit a54425b926 [skip ci] 2020-05-01 09:30:11 +00:00
Golden
a54425b926 Use different CDN for loading Twemoji assets (#24)
Use jsDelivr to increase the loading speed (when compared to MaxCDN) in China.
2020-05-01 11:29:25 +02:00
Franz Liedke
474b1296b6 npm audit fix 2020-04-24 14:30:27 +02:00
dependabot[bot]
f847051413 Bump acorn from 6.4.0 to 6.4.1 in /js (#23)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 20:24:14 +01:00
Daniël Klabbers
a3455b7f30 remove author, updated deps 2020-03-03 13:27:43 +01:00
flarum-bot
969c081276 Bundled output for commit deaa4ad43c [skip ci] 2020-02-11 20:46:34 +00:00
Franz Liedke
deaa4ad43c Update Webpack 2020-02-11 21:45:24 +01:00
Franz Liedke
caf5bd22dc Apply fixes from StyleCI 2019-11-29 23:01:54 +00:00
Franz Liedke
fb8670da7a Update copyright claims in LICENSE 2019-11-30 00:00:59 +01:00
Daniël Klabbers
ba0b4b47a3 updated requirement with flarum/core v0.1.0-beta.10 2019-09-16 10:18:36 +02:00
Franz Liedke
c68a6280a7 Add changelog 2019-09-15 22:44:30 +02:00
Franz Liedke
94574514e4 Update vulnerable JS dependencies 2019-09-13 15:39:40 +02:00
Franz Liedke
b1f57ade19 Add GitHub workflow for JavaScript building 2019-08-20 23:54:22 +02:00
flarum-bot
68dcc83582 Bundled output for commit 5fe1de86dc [skip ci] 2019-08-01 21:18:40 +00:00
David Sevilla Martín
5fe1de86dc Update to Twemoji 12 and switch to 'simple-emoji-map' (#20) 2019-08-01 23:17:25 +02:00
Toby Zerner
7ae9b1263b Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
73b09c8161 Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
flarum-bot
58e29a6eff Bundled output for commit 547d9f9971 [skip ci] 2018-11-21 08:19:29 +00:00
Toby Zerner
547d9f9971 Make npm package private, update deps, change watch to dev 2018-11-21 18:44:50 +10:30
Toby Zerner
805000196b Remove copyright year from LICENSE 2018-11-21 18:37:20 +10:30
flarum-bot
54c750d147 Bundled output for commit 60e22f9304 [skip ci] 2018-11-17 08:26:14 +00:00
Toby Zerner
60e22f9304 Update dependencies 2018-11-17 18:53:38 +10:30
Toby Zerner
c0c48bcf87 Give emojis symmetrical margin 2018-11-14 13:53:07 +10:30
flarum-bot
072ad25dc0 Bundled output for commit a93ab1bdb0 [skip ci] 2018-11-12 21:20:16 +00:00
Clark Winkelmann
7a97d281ba Fix cursor not being placed correctly after emoji insertion 2018-11-12 22:17:34 +01:00
flarum-bot
a095f17ea3 Bundled output for commit d3329fe11c [skip ci] 2018-11-12 10:35:04 +00:00
Toby Zerner
d3329fe11c Make sure the emoji popup doesn't go off the top of the screen on mobile 2018-11-12 17:37:07 +10:30
Toby Zerner
b3d0dd3aa9 Add a small "type to search" instruction to the top of the emoji popup 2018-11-12 17:37:07 +10:30
Toby Zerner
3d0097ea12 Improve emoji suggestion sorting
Not sure why emoji suggestions were being sorted by the length of their
name... Reverting this means that exact matches are displayed at the
top again which is good.
2018-11-12 17:37:07 +10:30
Toby Zerner
00b3d7b19a Add emoji button to text editor toolbar 2018-11-12 17:37:07 +10:30
flarum-bot
0c5aa10812 Bundled output for commit 735f5c030a [skip ci] 2018-10-21 04:49:43 +00:00
Toby Zerner
735f5c030a Rename package 2018-10-21 15:16:21 +10:30
Toby Zerner
1af9f7f86b Change hyphens to underscores in filename 2018-10-20 20:28:07 +10:30
Franz Liedke
37cd29a38a Rename bootstrap.php 2018-10-17 23:39:49 +02:00
Toby Zerner
e385961d90 Rename package 2018-10-17 13:44:47 +10:30
Sajjad Hashemian
d618d69dcf add replace emoji shorcutes with unicode migration (#18) 2018-10-10 00:36:08 +02:00
flarum-bot
877dc41018 Bundled output for commit ab44c2b629 [skip ci] 2018-09-26 20:07:16 +00:00
Sajjad Hashemian
ab44c2b629 use twemoji (#16)
* use twemoji

* insert emoji instead of shortcode

* cleanups

* generate emojiMap using emojibase

* remove redunant spaces

* remove dead codes

* use prebuild and prewatch

* update dependencies
2018-09-26 22:06:08 +02:00
flarum-bot
680c5c3784 Bundled output for commit 8bf2ff4464 [skip ci] 2018-09-21 01:02:07 +00:00
Toby Zerner
8bf2ff4464 Update dependencies 2018-09-21 10:25:47 +09:30
Franz Liedke
a785f39387 Use new Frontend extender
See flarum/core#851.
2018-07-23 16:28:11 +02:00
Toby Zerner
d6823f4242 Merge branch 'tz/formatter-extender' 2018-06-22 12:24:53 +09:30
flarum-bot
602a7190f9 Bundled output for commit de0861aa19 [skip ci] 2018-06-20 05:26:36 +00:00
Toby Zerner
de0861aa19 Fix Travis' deploy key 2018-06-20 14:32:25 +09:30
Toby Zerner
76cc195c55 Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
b7346f39ad Webpack (#15)
See https://github.com/flarum/core/pull/1367

* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Restructure `less` directory
2018-06-20 13:35:08 +09:30
Toby Zerner
93ee7de0fc Use new Formatter extender 2018-06-17 15:01:19 +09:30
Toby Zerner
ae31581450 Restructure JS and LESS 2018-06-17 14:53:35 +09:30
Toby Zerner
d7191c19db Move to devDependencies 2018-04-25 10:31:52 +09:30
Toby Zerner
d5a4195cbc Update for webpack 2018-04-25 10:16:58 +09:30
Franz Liedke
22885b7796 Extender: List all assets explicitly 2018-01-21 21:09:04 +01:00
Miles Cellar
1578a4587f Update license year range to 2018 2018-01-15 19:34:37 +01:00
Toby Zerner
71bf905ec3 Require beta 8 2018-01-11 12:24:50 +10:30
Franz Liedke
ead3957c28 Use new extenders for bootstrapping 2018-01-03 09:59:10 +01:00
Toby Zerner
92017e5a40 Merge branch 'master' into next-back 2017-12-26 19:50:48 +10:30
Toby Zerner
41616e45ca Revert omission of image size
Turns out this is still required in SVG mode :D
2017-11-09 21:00:27 +10:30
Toby Zerner
ca788d711c Remove B) shortcut
It's pretty common in text (eg. and A), B), C) list) and is usually not
intended.
2017-11-08 20:21:41 +10:30
Zeokat
996f1724de Use SVG emoji instead of PNG 2017-11-08 20:18:26 +10:30
Mark
4bc06b4276 Fix downscaled image rendering in chrome 2017-10-28 10:13:26 +10:30
Charlie
f4e7a80033 Update for beta 8 (#11)
* Update for beta 8

* Never changed for the deprecated event
2017-09-05 08:32:01 +02:00
Toby Zerner
c43a940dd8 Update dependencies 2017-07-08 21:49:55 +09:30
VSN Reddy Janga
754c2e68b7 Hide diff for compiled diff files 2017-02-20 19:33:30 +05:30
Miles Cellar
ca77ca8837 Update year 2017-01-01 22:43:34 +01:00
Toby Zerner
ef76573cac Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:29:38 +00:00
Toby Zerner
37381a7ecb Recompile JS 2016-11-19 22:04:58 +10:30
Toby Zerner
91430aa6c9 Update StyleCI rules 2016-11-16 15:46:09 +10:30
Toby Zerner
2cb1a2a8c8 v0.1.0-beta.6 2016-10-19 21:12:56 +10:30
Toby Zerner
f1e1efdc31 Use new event name 2016-06-03 11:01:17 +09:30
Toby Zerner
ce537f195d Recompile dist JS using latest version of babel 2016-06-03 11:01:11 +09:30
Franz Liedke
16f3a09856 Deduplicate emojis even after using multiple matchers
Fixes flarum/core#968.
2016-05-28 16:22:31 +09:00
Franz Liedke
dbf82e4641 Use newly extracted KeyboardNavigatable util for emoji dropdown
Refs flarum/core#264.
2016-05-15 22:36:18 +09:00
Franz Liedke
a3b92ed02c Remove special case handling for certain emojis
This does not seem to be necessary anymore after the recent update of the emoji map.
2016-05-14 23:24:06 +09:00
Franz Liedke
5f7195b3fa Match emojis from the beginning before trying fuzzy matches
Fixes flarum/core#901.
2016-05-14 22:59:25 +09:00
cestrensem
c67091709c New icons (#7)
* Icons placed separately

* Actualized iconpack

* import new icons from separate file
2016-05-14 22:13:03 +09:00
Toby Zerner
6dd0f040f4 Require core v0.1.0-beta.5 2016-03-29 18:45:00 +10:30
Toby Zerner
fe194a097e Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:32:03 +10:30
Toby Zerner
45ddf48c69 Clean up linting stuff 2016-03-10 17:22:49 +10:30
Toby Zerner
87c98b49e7 Remove old file 2016-03-07 22:21:36 +10:30
Toby Zerner
869277cb10 Applied fixes from StyleCI 2016-02-25 22:54:28 -05:00
Toby Zerner
d3018a1fc3 Add StyleCI config 2016-02-26 14:01:58 +10:30
Toby Zerner
88bbd8ef3b Trigger autocomplete when : follows a newline too 2016-02-22 21:51:24 +10:30
Sajjad Hasehmian
37efc0c6a7 Update Autocomplete comments 2016-02-15 14:05:35 +03:30
Sajjad Hasehmian
15a87c55eb improve emoji popup 2016-02-12 20:11:30 +03:30
Toby Zerner
50d88d4547 Improve emoji autocomplete dropdown
- Add a key to each list item so that Mithril's diffing algorithm is used correctly. This prevents the emoji images from remaining for half a second before they update to a new suggestion.
- Clean up styles. The `PostPreview` doesn't really belong here.
2016-02-07 11:47:49 +10:30
Toby Zerner
7359407b54 Tweak emoticon aliases
- Make :) and :( map to "slight smile/frown"
- Remove :* to solve flarum/core#305
2016-02-07 11:44:48 +10:30