Commit Graph

151 Commits

Author SHA1 Message Date
Alexander Skvortsov
aa62e69dab MarkdownEditorDriver should be its own driver.
Splitting it out instead of hacking it onto BasicEditorDriver gives us more flexibility in customizing it for markdown area.
2021-02-27 15:37:19 -05:00
flarum-bot
9579871378 Bundled output for commit 690f4619f8 [skip ci] 2021-02-27 03:19:41 +00:00
Alexander Skvortsov
690f4619f8 Update mdarea
This is included because it fixes a bug where the last character isn't included, introduced by the shift in core's editor implementation + the way mdarea used to handle state
2021-02-26 22:18:54 -05:00
Alexander Skvortsov
3bdfbf9349 Editor driver support 2021-02-26 22:18:54 -05:00
Robert Korulczyk
0ea9ef1c48 Move locale files from language pack to extension. (#21) 2021-02-17 16:25:57 -05:00
flarum-bot
7124f42805 Bundled output for commit 14adb2bed1 [skip ci] 2021-01-26 01:00:41 +00:00
Alexander Skvortsov
14adb2bed1 mdarea: disable inlines
This was accidentially introduced when updating for v1.0.0 of the mdarea library, and causes user inconvenience.

Fixes https://github.com/flarum/core/issues/2569
2021-01-25 19:57:43 -05:00
Daniël Klabbers
1df1b136aa changelog and constraint for beta 15 2020-12-15 09:04:29 +01:00
Daniël Klabbers
d6c7f5b921 npm audit fix 2020-12-15 09:03:27 +01:00
Alexander Skvortsov
a35f8967b2 Update composer metadata for admin dashboard 2020-12-08 19:56:58 -05:00
Alexander Skvortsov
79f7102eda Add composer metadata for admin ux redesign 2020-11-25 01:21:48 -05:00
Daniël Klabbers
b0e466a43d changelog and dep for v0.1.0-beta.14 2020-10-15 14:31:50 +02:00
flarum-bot
6ff20798c3 Bundled output for commit ab63a55d60 [skip ci] 2020-09-24 02:52:46 +00:00
Alexander Skvortsov
ab63a55d60 Mithril 2 Update (#19)
Update for Mithril 2
2020-09-23 22:51:50 -04:00
flarum-bot
5081cd47c1 Bundled output for commit c0aa73f01a [skip ci] 2020-08-17 00:44:32 +00:00
Alexander Skvortsov
c0aa73f01a Update mdarea to v1.0.1 (#20)
* Update mdarea to v1.0.1
2020-08-16 20:43:45 -04:00
flarum-bot
6d06fcf731 Bundled output for commit a232d8bcfc [skip ci] 2020-08-16 20:33:20 +00:00
Alexander Skvortsov
a232d8bcfc Remove polyfills: we don't support IE anymore (#18)
* Remove polyfills: we don't support IE anymore
2020-08-16 16:32:19 -04:00
dependabot[bot]
f390676f2f Bump elliptic from 6.5.2 to 6.5.3 in /js (#17)
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:07:59 +02:00
dependabot[bot]
84d3bf79c4 Bump lodash from 4.17.15 to 4.17.19 in /js (#16)
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:16 +02:00
Alexander Skvortsov
6defee4fc4 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:18:56 -04:00
flarum-bot
8a029e666b Bundled output for commit 8d84d1dea6 [skip ci] 2020-05-20 21:08:46 +00:00
Matteo Contrini
8d84d1dea6 Change default URL value in link/image markdown button (#11)
* Change default URL value in link/image markdown button
2020-05-20 17:07:10 -04:00
Daniël Klabbers
903d81e04c incorrect compared versions in changelog 2020-05-04 10:42:11 +02:00
Daniël Klabbers
fa5f01eb10 Release v0.1.0-beta.13 2020-05-04 10:14:22 +02:00
Franz Liedke
e454704153 Update Webpack 2020-05-01 11:56:01 +02:00
Franz Liedke
be67f73760 Tweak spoiler code
Refs #13, #14, flarum/core#2053.
2020-04-24 22:10:36 +02:00
Matt Kilgore
ebd30401a8 fix: Removed mentions specific spoiler code (#14)
Also fixed links, code and images in spoiler, and hopefully all other children.

The block spoiler works fine without fixes, global spoiler class causes issues.
2020-04-24 17:58:38 +02:00
flarum-bot
86577e26d2 Bundled output for commit cb3f14b186 [skip ci] 2020-04-24 12:32:32 +00:00
Franz Liedke
cb3f14b186 npm audit fix 2020-04-24 14:30:29 +02:00
dependabot[bot]
82bd8aecd1 Bump acorn from 6.4.0 to 6.4.1 in /js (#15)
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:22:55 +01:00
Daniël Klabbers
a2c02a5a2e remove author, updated deps 2020-03-03 14:21:27 +01:00
Matthew Kilgore
8a71c6f17d Hide mentions in inline spoilers
Fixes #2033
2020-03-01 09:52:30 -05:00
flarum-bot
990201cb95 Bundled output for commit 93122c9b8e [skip ci] 2020-02-11 20:45:19 +00:00
Franz Liedke
93122c9b8e Update Webpack 2020-02-11 21:44:25 +01:00
Franz Liedke
04ba8e95eb Update LICENSE to allow auto-detection 2019-12-04 21:17:33 +01:00
Franz Liedke
99a003100e Apply fixes from StyleCI 2019-11-29 23:02:13 +00:00
Franz Liedke
e29085421f Update copyright claims in LICENSE 2019-11-30 00:01:01 +01:00
Daniël Klabbers
07b116433f updated requirement with flarum/core v0.1.0-beta.10 2019-09-16 09:50:11 +02:00
Franz Liedke
c4211ee015 Update changelog for beta.10 2019-09-15 22:43:46 +02:00
Franz Liedke
cca8ca9ad7 Update vulnerable JS dependencies 2019-09-13 15:38:59 +02:00
flarum-bot
811116638a Bundled output for commit db3a037c97 [skip ci] 2019-09-10 00:23:18 +00:00
David Sevilla Martin
db3a037c97 Add license code to index.js, and line to LICENSE 2019-09-09 20:21:58 -04:00
flarum-bot
1091117e0f Bundled output for commit b04b82b3a5 [skip ci] 2019-09-10 00:07:51 +00:00
David Sevilla Martin
b04b82b3a5 Add copyright notice for markdown toolbar code taken from GitHub
Refs #8
2019-09-09 20:06:18 -04:00
flarum-bot
df8869a39f Bundled output for commit 6ca55ec8ad [skip ci] 2019-09-06 19:25:34 +00:00
Daniël Klabbers
6ca55ec8ad Merge pull request #8 from flarum/ds/1702-fix-toolbar-in-ie-11
Use custom JSX implementation of GitHub's markdown toolbar that works in IE
2019-09-06 21:24:14 +02:00
Franz Liedke
34d71f1df9 Add GitHub workflow for JavaScript building 2019-08-20 23:54:24 +02:00
David Sevilla Martin
8277b54651 Add image button (flarum/core#1679) 2019-08-11 16:06:30 -04:00
David Sevilla Martin
eb561e6343 Fix 'polyfills' incorrect spelling, add LICENSE text for startsWith polyfill 2019-08-03 09:14:24 -04:00
David Sevilla Martín
f4e250f514 Simplify some code in MarkdownButton component 2019-07-10 12:41:05 -04:00
David Sevilla Martín
50a4530cfc Use custom JSX implementation of GitHub's markdown toolbar that works in IE 11 2019-07-10 12:30:35 -04:00
Daniël Klabbers
a1c00ee5de update constraint 2019-06-24 12:01:37 +02:00
Daniël Klabbers
b787ce43ad changelog for 0.1.0-beta.9, with the correct link 2019-06-24 11:25:19 +02:00
Daniël Klabbers
7d4304d620 changelog for 0.1.0-beta.9 2019-06-24 11:25:04 +02:00
Franz Liedke
6d9dd5b59e Add changelog 2019-06-13 01:32:12 +02:00
flarum-bot
9292606fa4 Bundled output for commit 02048cd075 [skip ci] 2019-04-11 07:26:29 +00:00
David Sevilla Martín
3726307f16 Add custom-elements pollyfill & markdown bar if Reflect API is present
Ref #1702
2019-04-10 18:13:09 -04:00
flarum-bot
fd53498280 Bundled output for commit 8f8714134b [skip ci] 2019-03-20 19:52:52 +00:00
David Sevilla Martín
8f8714134b Add harmony-reflect to fix issues with markdown bar in IE (#6) 2019-03-20 20:51:23 +01:00
Toby Zerner
9bdc10a09a Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
67f45c265d 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
b8dc63ba07 Bundled output for commit 8b54e4695d [skip ci] 2018-11-21 08:21:29 +00:00
Toby Zerner
8b54e4695d Make npm package private, update deps, change watch to dev 2018-11-21 18:45:27 +10:30
Toby Zerner
65e46f74ba Remove copyright year from LICENSE 2018-11-21 18:37:21 +10:30
Toby Zerner
b4dc7c6e1e Update dependencies 2018-11-17 19:06:18 +10:30
flarum-bot
a03b8c72ce Bundled output for commit f75f2214a6 [skip ci] 2018-11-13 20:15:19 +00:00
Toby Zerner
f75f2214a6 Add custom elements polyfill 2018-11-14 06:43:45 +10:30
flarum-bot
a06ffc85c7 Bundled output for commit 87909a8186 [skip ci] 2018-11-12 11:40:21 +00:00
Toby Zerner
87909a8186 Fix Travis' deploy key 2018-11-12 22:08:51 +10:30
Toby Zerner
8417a1fe25 Set up Travis 2018-11-12 22:05:48 +10:30
Toby Zerner
40438fd0a6 Add markdown toolbar buttons and textarea helper 2018-11-12 21:02:50 +10:30
Toby Zerner
437ab2b4c6 Rename package 2018-10-17 13:44:48 +10:30
Toby Zerner
ec0bd3f206 Rename bootstrap.php 2018-09-21 11:44:32 +09:30
Toby Zerner
b36a1d809c Use new Formatter extender 2018-06-17 15:00:42 +09:30
Miles Cellar
1742c95ae7 Update license year range to 2018 2018-01-15 19:35:59 +01:00
Toby Zerner
12fbbb6102 Require beta 8 2018-01-11 12:25:38 +10:30
Franz Liedke
c497eadb09 Use new extenders for bootstrapping 2018-01-03 09:58:06 +01:00
Franz Liedke
5dcfccd2d8 Update namespaces for beta 8
Refs flarum/core#1235.
2017-10-01 19:55:56 +02:00
Miles Cellar
acf21e75a9 Update year 2017-01-01 22:49:02 +01:00
Toby Zerner
be405e7a33 Update StyleCI rules 2016-11-16 15:46:18 +10:30
Toby Zerner
9703fb46fe v0.1.0-beta.6 2016-10-19 21:13:24 +10:30
Toby Zerner
56d8cc9849 Require core v0.1.0-beta.5 2016-03-29 18:47:28 +10:30
Toby Zerner
6231af033b Clean up linting stuff 2016-03-10 17:22:24 +10:30
Toby Zerner
24998653ff Applied fixes from StyleCI 2016-02-25 22:55:49 -05:00
Toby Zerner
21c4fff41c Add StyleCI config 2016-02-26 14:02:29 +10:30
Maël Soucaze
33bd3208ff Update license year range to 2016 2016-01-25 16:53:22 +01:00
Toby Zerner
b453dac32c Add Composer branch-alias
This allows installations to require version 0.1.0 with minimum-stability=dev, and they will get the latest from master.

See flarum/core#727
2016-01-19 17:18:28 +10:30
Toby Zerner
a49426c17d Rename package 2015-12-29 12:55:32 +10:30
Toby Zerner
d88d0baca0 Update metadata 2015-10-12 15:01:03 +10:30
Toby Zerner
faa0b6f2ce Update for composer branch 2015-10-11 16:35:01 +10:30
Toby Zerner
d0ef8e1c69 Add gitattributes 2015-09-17 09:09:47 +09:30
Toby Zerner
a3f5c7dde9 Add LICENSE information 2015-09-04 12:31:41 +09:30
Toby Zerner
1b0aebbaed Update npm dependency 2015-09-04 12:07:08 +09:30
Toby Zerner
817f4d7f00 Update flarum.json 2015-09-04 11:48:03 +09:30
Toby Zerner
41ff781144 Add phpcs, Travis, clean up editorconfig and eslint 2015-09-04 11:36:18 +09:30
Toby Zerner
4553dd6a0f Use new listen API 2015-08-13 12:49:43 +09:30
Toby Zerner
0cc80224a5 Add icon 2015-08-13 12:49:40 +09:30
Toby Zerner
cb08b9b76a Update gulp module configuration 2015-07-27 14:19:29 +09:30
Toby Zerner
a3d6cde5b6 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:21 +09:30