509adf228a
Refactor password checker, add extender ( #2176 )
2021-02-22 17:08:36 -05:00
fa10d794a4
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
40ede179cd
Adminux Patch Translations ( #2616 )
2021-02-19 16:12:11 -05:00
0ed71ed581
Adminux locale
2021-02-19 13:03:26 -08:00
dc75ebad00
Adminux locale
2021-02-19 13:02:42 -08:00
900711687f
Bundled output for commit 71ccdc00e69b7a092844d53c921156230e85dc18 [skip ci]
2021-02-18 23:46:54 +00:00
71ccdc00e6
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
c4ebebe48e
Move locale files from language pack to core ( #2408 )
2021-02-17 16:23:13 -05:00
56d8301b2d
Bundled output for commit 09076e005b0df0da7a6b525302436a6648bb8d07 [skip ci]
2021-02-17 15:37:58 +00:00
09076e005b
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
73a8efaec2
Update DiscussionListItem.less to fix double tap on mobile ( #2607 )
...
Adds a rule to the discussion list less file which targets touch devices whose primary way of interacting does not include a mouse / ability to hover. For those devices the toggle button is hidden which fixes the double tap issue.
2021-02-17 08:51:09 -05:00
cdeb229396
Bundled output for commit 122a99b51e10cd63e701820e68b38469c26a8f06 [skip ci]
2021-02-16 22:49:29 +00:00
122a99b51e
Don't push bidi function to DOM ( #2602 )
2021-02-16 17:48:16 -05:00
e7aed89e8f
Broader support for callables in ContainerUtil ( #2596 )
...
It can be very annoying if we want to use something like boolval, but have to define an entire anonymous function to pass it in. This PR adds support for tpassing it in directly as a string, like is posible with User::registerPreference.
2021-02-10 14:51:31 -05:00
a1254bc21a
Bundled output for commit 03231b2931b420cae3395374a4bc49e69b518ec1 [skip ci]
2021-02-10 19:23:42 +00:00
03231b2931
PostStream: Fix minor load more issue ( #2388 )
2021-02-10 14:22:26 -05:00
a2901cef23
Bundled output for commit 95b021a839908f11ee035121092a99d2f0123138 [skip ci]
2021-02-10 18:55:13 +00:00
95b021a839
Add user badges to post preview #1765 ( #2555 )
2021-02-10 13:53:59 -05:00
76d6442557
Simple Flarum Search Extender and tests ( #2483 )
2021-02-10 09:59:23 -05:00
5df22e92ae
Bundled output for commit 7306d8ef1328556faab82b590be7e952f3ba05e7 [skip ci]
2021-02-10 14:11:35 +00:00
7306d8ef13
Export DiscussionListPane in compat
...
We forgot to do this in beta 14 when introducing the component.
Fixes https://github.com/flarum/core/issues/2591
2021-02-10 09:09:58 -05:00
0595aba76a
Rename ApiSerializer's mutate to attributes ( #2578 )
2021-02-05 13:21:36 -05:00
8366ec720e
Deprecate GetModelIsPrivate, replace with extender ( #2587 )
2021-02-04 10:56:10 -05:00
17f15e36eb
Correct non-existent cursor value (disallowed -> not-allowed) ( #2585 )
2021-02-01 08:58:41 -05:00
ac249e5b07
Bundled output for commit e13772075c213fba7bbfcac13176c9bc257d07fe [skip ci]
2021-01-30 22:46:26 +00:00
e13772075c
Navigate to dashboard page if extension ID not found ( #2584 )
2021-01-30 17:45:20 -05:00
0fa33439d7
Bundled output for commit a4880453a45fe66e16689e60604e3017053dab75 [skip ci]
2021-01-30 22:44:46 +00:00
a4880453a4
Set this.changingState back to false in ExtensionPage if an error occurs ( #2558 )
2021-01-30 17:43:28 -05:00
964f827ee5
Fixes model visibility ( #2580 )
...
Model Visibility extender does not take into consideration missing
dependencies. For instance flarum/tags adds a policy on the Flag model
from flarum/flags. But because flarum/flags might as well not be
installed we need to check for the existence of that model. Otherwise
the exception is thrown or flarum fails to boot.
2021-01-29 08:13:16 -05:00
843daf633d
Use extension names instead of IDs when erroring on enable/disable reqs ( #2563 )
2021-01-28 19:41:04 -05:00
930fcf9250
Make disabled extension dot a red border instead of red background ( #2562 )
2021-01-27 08:04:19 -05:00
9bb4423dd7
Bundled output for commit 9347b12b47bf4ab97ffb7ca92673604b237c1012 [skip ci]
2021-01-27 05:04:48 +00:00
9347b12b47
BasicsPage: fix "show language selector" default
...
Since some boolean settings might be stored as string "0" or "1", the previous system no longer works, and it always sets the switch to true. The "no setting" check has been changed to reference `undefined`, so now the switch will only be defaulted to `true` if the setting truly hasn't been set.
Fixes https://github.com/flarum/core/issues/2574
2021-01-27 00:03:30 -05:00
65b5c2043c
PHP 8 support, cookie unit tests ( #2507 )
2021-01-26 17:53:28 -05:00
08f72e7135
Bundled output for commit 26c4e492fe0283a07f43a94577b3b77903a6acfe [skip ci]
2021-01-26 01:54:28 +00:00
26c4e492fe
Remove unused variable
2021-01-25 20:53:07 -05:00
00913d5b0b
ChangeEmailModal: dismiss alert on new request
...
Removing old errors at the beginning of the next request, rather than at the end of the next successful request, makes it clearer that any new errors are caused by the new inputs.
See https://github.com/flarum/core/pull/2467#issuecomment-749832787
2021-01-25 20:52:21 -05:00
1851d1678e
Bundled output for commit 14dc46e2262e750c3fe986c9e3872916e9d39973 [skip ci]
2021-01-24 19:06:21 +00:00
14dc46e226
Add missing a11y attributes ( #2564 )
2021-01-24 14:05:14 -05:00
be163412ab
Bundled output for commit 92d5c716beb0de2a57fedec512d5a34cf84c153d [skip ci]
2021-01-24 17:13:48 +00:00
92d5c716be
Fix notification panel infinite scroll ( #2524 )
...
Improves calculations for determining whether we are at the bottom of the notifications panel (which would trigger infinite scroll). This should be particularly effective in fixing issues on smaller screens.
2021-01-24 12:12:42 -05:00
e42df50d31
Merge pull request #2557 from flarum/as/remove-deprecated
...
Remove deprecated PHP events, bootstrap.php fallback
2021-01-23 16:52:38 -05:00
203a6456ee
Remove deprecated bootstrap.php support
...
See https://github.com/flarum/core/issues/1557
2021-01-23 16:48:29 -05:00
40b918e139
Remove deprecated API events
2021-01-23 16:48:22 -05:00
f8eea5b7c7
Bundled output for commit b50d806534bbeb6862412b89f6ff8e334572e80b [skip ci]
2021-01-23 21:44:56 +00:00
b50d806534
Convert highlight helper to Typescript ( #2532 )
2021-01-23 16:43:40 -05:00
cbcf83ed3b
Remove deprecated formatting events
2021-01-20 16:25:32 -05:00
3394ff31e9
Remove deprecated UserPreferences event
2021-01-20 15:23:56 -05:00
86d39fb003
Remove deprecated floodgate
2021-01-20 15:23:30 -05:00
bbb7679417
Remove deprecated notification events
2021-01-20 15:23:30 -05:00