Alexander Skvortsov
63a71d58c5
Apply fixes from StyleCI
2021-03-13 20:36:07 +00:00
Alexander Skvortsov
668de47095
Update for search filter split
2021-03-13 15:35:53 -05:00
Alexander Skvortsov
8266966fec
Remove unused import
2021-03-13 15:18:56 -05:00
Alexander Skvortsov
70cbe1d186
Update to use new extenders
2021-03-13 15:15:11 -05:00
flarum-bot
32bd64f427
Bundled output for commit ae6a652a724b06914cfa86942dbf6d203dd41cdf [skip ci]
2021-03-11 18:12:58 +00:00
Alexander Skvortsov
ae6a652a72
Fix typo
2021-03-11 13:11:56 -05:00
flarum-bot
c1308f395f
Bundled output for commit 752c43376e8fccffea7dbf3fdbbcc4c964c49798 [skip ci]
2021-03-11 00:24:16 +00:00
Alexander Skvortsov
752c43376e
Run oninput and input listeners on timeout
...
This is necessary for the setTimeout callback to be run after the new value has been applied; otherwise, mobile iOS doesn't respect the timeout.
Fixes https://github.com/flarum/core/issues/2681
2021-03-10 19:23:27 -05:00
flarum-bot
3f7fb66502
Bundled output for commit 50da5ffd455def46cde9d00cffb60d8fb8ab47ef [skip ci]
2021-03-08 21:10:12 +00:00
Alexander Skvortsov
50da5ffd45
Handle editor-driven input events.
...
The mdarea extension's handleKey method only applies when input is accompanied by an actual key press, and won't register programmatic inputs via `app.composer.editor` methods. We add an additional listener for custom events, which are dispatched in `setValue`.
2021-03-08 16:09:18 -05:00
Alexander Skvortsov
80efe35b16
Add defaults to params that should have it.
...
This fixes PHP8 warnings about required parameters following optional ones.
2021-03-08 15:51:56 -05:00
dependabot[bot]
7fbf5ba6ed
Bump elliptic from 6.5.3 to 6.5.4 in /js
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 19:39:59 +00:00
Charlie
e8f46e04ce
Change Category ( #11 )
2021-03-08 14:39:41 -05:00
Alexander Skvortsov
df7be8d2ff
Merge pull request #18 from flarum/ck/adminux-category
...
Change Category
2021-03-08 14:39:10 -05:00
Charlie
a915382cfd
Change Category ( #36 )
2021-03-08 14:38:58 -05:00
Charlie
d8a39508dd
Change Category ( #39 )
2021-03-08 14:33:13 -05:00
Charlie
2a74e2ceca
Change Category ( #27 )
2021-03-08 14:32:52 -05:00
Charlie
cea10c8e9b
Change Category ( #27 )
2021-03-08 14:24:57 -05:00
Charlie
32708281b2
Change Category ( #26 )
2021-03-08 14:24:49 -05:00
Charlie
e17b088c20
Change Category ( #24 )
2021-03-08 14:22:03 -05:00
Charlie
6cbd641ad5
Change category ( #25 )
2021-03-08 14:21:37 -05:00
Charlie
23c03e058a
change category ( #62 )
2021-03-08 14:21:21 -05:00
Charlie
b92854c8fb
Change category ( #35 )
2021-03-08 14:21:08 -05:00
Charlie
5b312bc280
Change Category ( #33 )
2021-03-08 14:20:55 -05:00
Charlie
7c1a96119c
Change category ( #118 )
2021-03-08 14:20:41 -05:00
Sami Mazouz
b78b097724
Eagerload lastPostedDiscussion needed relationships ( #120 )
2021-03-06 10:37:26 -05:00
Ian Morland
6cb68bcd01
Provide a target for can ability ( #35 )
...
This ensures that the default user policy applies, and `user.hasPermission` is called.
2021-03-05 10:28:53 -05:00
Daniël Klabbers
162167fe23
made compatible with illuminate 8 and beta 16 ( #121 )
2021-03-05 09:44:20 -05:00
flarum-bot
6dc433470f
Bundled output for commit 181229ae93c93a0ec812c0ad70801dac4cc8f05e [skip ci]
2021-03-05 03:16:09 +00:00
Sami Mazouz
181229ae93
Check for selectable tags before opening tag selection modal ( #112 )
2021-03-04 22:15:27 -05:00
flarum-bot
f79506ea9f
Bundled output for commit 40a0f2e0c91dba6ebad2f1043b40e7b2081470b9 [skip ci]
2021-03-02 04:36:18 +00:00
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
37f0a100bd
Bundled output for commit 0ad97bb4edbdd53f1d445badda4b1f5921a56b9e [skip ci]
2021-03-02 04:33:37 +00:00
Alexander Skvortsov
0ad97bb4ed
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:32:30 -05:00
Alexander Skvortsov
302687b11a
Use one instance of formatter extender
2021-03-01 23:26:35 -05:00
flarum-bot
cacb6ffd0b
Bundled output for commit 09b14b980a2cfa1c61352e6e1bc67c7b46c30d1b [skip ci]
2021-02-27 21:06:27 +00:00
Alexander Skvortsov
09b14b980a
Attach oninput, inputListeners, onsubmit via mdarea extension
...
Recent versions of mdarea are quite powerful, and have internal state data structures. As a result, updating current editor value via `oninput` event listeners isn't reliable. Instead, we can use the mdarea extension API to handle keypresses exactly when markdownarea wants us to.
This also removes the `super` call from `build`, and directly creates/configures the applicable DOM elements. Since the mdarea editor driver's initialization is already quite different from BasicEditorDriver, it should fully own this step.
2021-02-27 16:05:25 -05:00
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 690f4619f83739f22d72ec5387ac4f6b7b616d42 [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
flarum-bot
8c78af4b1c
Bundled output for commit d4db946c31dbeaf636a2a296596f76e1005af000 [skip ci]
2021-02-26 21:20:57 +00:00
Alexander Skvortsov
d4db946c31
Update for Editor Drivers Abstraction ( #61 )
2021-02-26 16:20:07 -05:00
flarum-bot
e83b88d17d
Bundled output for commit 720ea6c576c4f9c7dba1b8c73fe3ee1118731fd6 [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
imzhi
687e1c41db
ApproveContent then refresh user table DiscussionCount and CommentCount ( #16 )
2021-02-19 08:18:01 -05:00
Robert Korulczyk
c315ba49e5
Move locale files from language pack to extension. ( #3 )
2021-02-17 16:46:21 -05:00
Robert Korulczyk
8dea58eac6
Move locale files from language pack to extensions. ( #175 )
2021-02-17 16:26:52 -05:00
Robert Korulczyk
04f4b1f14e
Move locale files from language pack to extension. ( #22 )
2021-02-17 16:26:31 -05:00
Robert Korulczyk
5606fcc06b
Move locale files from language pack to extension. ( #23 )
2021-02-17 16:26:14 -05:00