1818 Commits

Author SHA1 Message Date
Alexander Skvortsov
668de47095 Update for search filter split 2021-03-13 15:35:53 -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
SychO9
c7fdb79ce3 Ignore generated tmp 2021-03-11 13:07:31 -05:00
SychO9
ca8b7424b8 Add required argument 2021-03-11 13:07:31 -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
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
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
b92854c8fb Change category (#35) 2021-03-08 14:21:08 -05:00
Alexander Skvortsov
ce0e5c99a6 Use mockery 1.4 2021-03-06 18:58:07 -05:00
Alexander Skvortsov
19763f8641 Update PHPUnit to v9 2021-03-06 18:38:34 -05:00
Alexander Skvortsov
dd6897cb6f Update BuildsHttpRequests for new token system 2021-03-06 18:38:12 -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
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
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
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
Robert Korulczyk
9fb0356e71 Move locale files from language pack to extension. (#24) 2021-02-17 16:26:05 -05:00
Robert Korulczyk
0ea9ef1c48 Move locale files from language pack to extension. (#21) 2021-02-17 16:25:57 -05:00
Robert Korulczyk
5c1fa4aea8 Move locale files from language pack to extension. (#32) 2021-02-17 16:24:42 -05:00
Robert Korulczyk
2c1ab2504f Move locale files from language pack to extension. (#32) 2021-02-17 16:24:33 -05:00
Alexander Skvortsov
230c5f24a3 Merge pull request #17 from rob006/move-locale-files-to-extensions 2021-02-17 16:24:04 -05:00
Robert Korulczyk
b864bc09ef Fix date_format message in validation.yml (#152) 2021-02-16 17:40:35 -05:00
Charlie
01819f0e45 Change Category 2021-02-16 13:25:01 -08:00
Qiaeru
3ef0c6e226 Fix alphabetical order (#184) 2021-02-16 11:39:18 -05:00
Alexander Skvortsov
e8f3d23ded Configurable Tmp Dir Location (#2) 2021-02-10 08:59:08 -05:00
Sami Mazouz
01d8a69dd1 Add bypass tag requirements permission label (#182) 2021-01-26 17:09:23 -05:00
flarum-bot
7124f42805 Bundled output for commit 14adb2bed1038c203ff080cd3c8a89a96f8357d8 [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
Ian Morland
705ea7f2bc Add Created and Deleting events (#35) 2021-01-25 08:49:27 -05:00
Alexander Skvortsov
6eafce0660 If current package is an extension, add it to the extension manager (#1)
Core's ExtensionManager only looks for extensions in the vendor directory, which makes sense for a Flarum instance, but is problematic if used in the context of a test suite for an extension. This PR:

- Adds a class extending ExtensionManager to include the current package
- Adds an extender that replaces ExtensionManager with this new class in container bindings

Effectively, this package can now be used to test extensions.
2021-01-24 12:13:27 -05:00