Commit Graph

8565 Commits

Author SHA1 Message Date
Alexander Skvortsov
fa8a2e37e3 Fix missing PostRepository argument
This was accidentially removed in 9157efe426
2021-03-01 00:30:04 -05:00
Alexander Skvortsov
9157efe426 Use filterer for ListPostsController (#2479) 2021-02-28 14:06:07 -05:00
Sami Mazouz
e9abcd59db Allow overriding routes (#2577) 2021-02-28 14:01:30 -05:00
flarum-bot
cacb6ffd0b Bundled output for commit 09b14b980a [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 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
flarum-bot
8c78af4b1c Bundled output for commit d4db946c31 [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 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
flarum-bot
fa428c9c0b Bundled output for commit edc81bb380 [skip ci] 2021-02-26 21:18:01 +00:00
Alexander Skvortsov
edc81bb380 Editor Driver Abstraction (#2594)
This will allow drop-in replacements of the editor with a more advanced WYSIWYG solution such as ProseMirror
2021-02-26 16:17:05 -05:00
Sami Mazouz
26d291199a Fix keyboard on small mobile screens hiding composer (#2631) 2021-02-26 16:07:29 -05:00
Matt Kilgore
a0734d2787 Centralized IP Handler (#2624) 2021-02-25 20:08:52 -05:00
Alexander Skvortsov
87e58f390a Search Filter Split, Use Same Controller (#2454) 2021-02-24 11:17:40 -05:00
Alexander Skvortsov
2b69deef72 Recalculate enabled extensions and their dependencies if some listed in settings aren't installed (#2629) 2021-02-23 17:57:53 -05:00
flarum-bot
75359162c6 Bundled output for commit 35e7876f09 [skip ci] 2021-02-23 19:23:05 +00:00
Alexander Skvortsov
35e7876f09 NotificationList: Fix load on mobile
Followup to https://github.com/flarum/core/pull/2524.

In that PR, we fixed infinite scroll for the panel, but accidentially used document.body. Since scrollTop on body is (almost always) 0, this means that new pages of notifications were loaded on every scroll, which quickly becomes overwhelming. Instead, we can use `document.documentElement` for getting scrollTop, which results in the expected behavior.
2021-02-23 14:21:18 -05:00
Daniël Klabbers
a008734b63 Update composer.json (#2625)
update authors
2021-02-23 10:32:03 +01:00
Alexander Skvortsov
0d81f248f8 Refactor password checker, add extender (#2176) 2021-02-22 17:08:36 -05:00
Alexander Skvortsov
c4ffa73d31 Optional Dependencies (#2579)
* Add and calculate optional dependencies
* Add extension dependency resolver (Kahn's algorithm), plus unit tests
* Resolve extension dependency on enable/disable
2021-02-21 13:49:33 -05:00
Alexander Skvortsov
8dcd452d0d Adminux Patch Translations (#2616) 2021-02-19 16:12:11 -05:00
KyrneDev
fb91aec385 Adminux locale 2021-02-19 13:03:26 -08:00
KyrneDev
3298f314b6 Adminux locale 2021-02-19 13:02:42 -08:00
imzhi
687e1c41db ApproveContent then refresh user table DiscussionCount and CommentCount (#16) 2021-02-19 08:18:01 -05:00
flarum-bot
5f32fcac3a Bundled output for commit c06632ba4b [skip ci] 2021-02-18 23:46:54 +00:00
Charlie
c06632ba4b AdminUX Patch and Admin Page (#2593)
* AdminPage

* More fixes

* Settings Modal Drop

* Translation and docblock

* settingS

* Convert Fieldset to JSX

* info -> headerInfo, className

* Overflow fixes

* MailPage

* Admin Less

* Basics Page

* Changes

* Cleanup

* Permission Page

* Add padding
2021-02-18 15:45:43 -08: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
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
69cf76f294 Move locale files from language pack to extension. (#26) 2021-02-17 16:25:48 -05:00
Robert Korulczyk
eb458b6700 Move locale files from language pack to extension. (#13) 2021-02-17 16:25:40 -05:00
Robert Korulczyk
d0452d6e89 Move locale files from language pack to extension. (#21) 2021-02-17 16:25:16 -05:00
Robert Korulczyk
5f5cb9318d Move locale files from language pack to extension. (#34) 2021-02-17 16:25:03 -05:00
Robert Korulczyk
2d85cc8c38 Move locale files from language pack to extension. (#28) 2021-02-17 16:24:51 -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
Robert Korulczyk
0bf6384bb2 Move locale files from language pack to extension (#99) 2021-02-17 16:24:19 -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
b06f6470e7 Move locale files from language pack to extension. (#56) 2021-02-17 16:23:40 -05:00
Robert Korulczyk
b234d37332 Move locale files from language pack to core (#2408) 2021-02-17 16:23:13 -05:00
flarum-bot
c281c19bd0 Bundled output for commit 7f53920598 [skip ci] 2021-02-17 15:37:58 +00:00
Alexander Skvortsov
7f53920598 Various iOS scroll improvements (#2548)
* Don't update scrubber while post pages loading

This alleviates the scrubber bouncing around when scrolling up on iOS

* Throttle loadMore loadPrevious

Throttle loadMore and loadPrevious functions to alleviate skipping over pages and pages of posts during one scroll. This sometimes happens on iOS
2021-02-17 10:36:30 -05:00
flarum-bot
ad9eaa38b2 Bundled output for commit 42158112bf [skip ci] 2021-02-17 13:51:41 +00:00