Commit Graph

71 Commits

Author SHA1 Message Date
Alexander Skvortsov
40a0f2e0c9 Fix dropdown going off top of screen
The previous solution didn't properly account for document scroll, so when replying to posts, the parent offset would be extremely large, and it'd fall back to the top coordinate, which is out of bounds on small screens.
2021-03-01 23:34:47 -05:00
flarum-bot
e83b88d17d Bundled output for commit 720ea6c576 [skip ci] 2021-02-26 21:19:24 +00:00
Alexander Skvortsov
720ea6c576 Update for Editor Drivers Abstraction (#34) 2021-02-26 16:18:32 -05:00
dependabot[bot]
3fd689a4bb Bump ini from 1.3.5 to 1.3.7 in /js
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 17:37:58 +00:00
flarum-bot
3889b4d654 Bundled output for commit 97c89bcc42 [skip ci] 2020-10-15 22:51:08 +00:00
David Sevilla Martín
97c89bcc42 Add lazy loading attribute to twemoji rendered images & autocomplete (#31) 2020-10-15 18:50:00 -04:00
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
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
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
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
94574514e4 Update vulnerable JS dependencies 2019-09-13 15:39:40 +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
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
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
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
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
flarum-bot
602a7190f9 Bundled output for commit de0861aa19 [skip ci] 2018-06-20 05:26:36 +00:00
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
c43a940dd8 Update dependencies 2017-07-08 21:49:55 +09:30
Toby Zerner
37381a7ecb Recompile JS 2016-11-19 22:04:58 +10:30
Toby Zerner
ce537f195d Recompile dist JS using latest version of babel 2016-06-03 11:01:11 +09:30