1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 14:51:19 +02:00
Commit Graph

1274 Commits

Author SHA1 Message Date
flarum-bot
2924d44d15 Bundled output for commit 74e9276579 [skip ci] 2021-03-08 21:31:49 +00:00
Alexander Skvortsov
74e9276579 Send username as author filter value instead of id.
For consistency with the Discussion AuthorFilterGambit, this should be sent usernames, not numerical ids.
2021-03-08 16:29:48 -05:00
flarum-bot
3e8c9dc185 Bundled output for commit 6f09af5ad9 [skip ci] 2021-03-08 21:25:06 +00:00
Alexander Skvortsov
6f09af5ad9 Use new author key for filtering posts
Fixes https://github.com/flarum/core/issues/2671
2021-03-08 16:21:36 -05:00
flarum-bot
94f08f55fa Bundled output for commit e0ba8e8a70 [skip ci] 2021-03-07 22:37:00 +00:00
Alexander Skvortsov
e0ba8e8a70 Split JSDoc directives to separate lines. 2021-03-07 17:35:58 -05:00
flarum-bot
c24d0f2e40 Bundled output for commit 9cd94c5d78 [skip ci] 2021-03-07 21:33:50 +00:00
Sami Mazouz
970db778cd Use absolute positioning for the Composer on Safari (#2660) 2021-03-07 16:31:46 -05:00
Alexander Skvortsov
eec39ec426 Fix search box out of screen (#2650)
Programatically set search results max height
2021-03-07 16:31:23 -05:00
flarum-bot
c0f3a0ba4b Bundled output for commit c20c011759 [skip ci] 2021-03-04 21:52:50 +00:00
Alexander Skvortsov
c20c011759 Move TextEditor to common (#2649) 2021-03-04 16:51:34 -05:00
flarum-bot
55df33dc99 Bundled output for commit 719b3ad28e [skip ci] 2021-03-03 23:52:04 +00:00
daniellesniak
719b3ad28e Convert common helpers to Typescript (#2541) 2021-03-03 18:50:54 -05:00
flarum-bot
a4ba1f890c Bundled output for commit 405b31f780 [skip ci] 2021-03-01 22:27:09 +00:00
Charlie
405b31f780 Simplify Extension Categories (#2604) 2021-03-01 17:25:55 -05:00
flarum-bot
0981d95831 Bundled output for commit b5adb6e843 [skip ci] 2021-03-01 20:53:52 +00:00
Matt Kilgore
b5adb6e843 User edit permission tightening (#2620)
- Split user edit permision into edit attributes, edit credentials, and edit groups
- Only Admins can edit Admin Credentials
- Only Admins can Promote/Demote to/from Admin
2021-03-01 15:52:29 -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
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
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
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
3baa3c6e35 Bundled output for commit c2e59bb24b [skip ci] 2021-02-16 22:49:29 +00:00
Charlie
c2e59bb24b Don't push bidi function to DOM (#2602) 2021-02-16 17:48:16 -05:00
flarum-bot
f2271311c5 Bundled output for commit fba63478a9 [skip ci] 2021-02-10 19:23:42 +00:00
Wadim Kalmykov
fba63478a9 PostStream: Fix minor load more issue (#2388) 2021-02-10 14:22:26 -05:00
flarum-bot
139652e12d Bundled output for commit 8a6b14c69a [skip ci] 2021-02-10 18:55:13 +00:00
Ian Morland
8a6b14c69a Add user badges to post preview #1765 (#2555) 2021-02-10 13:53:59 -05:00
flarum-bot
458ae2bfbe Bundled output for commit fcd00cc070 [skip ci] 2021-02-10 14:11:35 +00:00
Alexander Skvortsov
fcd00cc070 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
flarum-bot
33d7164fd0 Bundled output for commit cf85181e3e [skip ci] 2021-01-30 22:46:26 +00:00
David Sevilla Martín
cf85181e3e Navigate to dashboard page if extension ID not found (#2584) 2021-01-30 17:45:20 -05:00
flarum-bot
fea657e35b Bundled output for commit eedb6d3752 [skip ci] 2021-01-30 22:44:46 +00:00
David Sevilla Martín
eedb6d3752 Set this.changingState back to false in ExtensionPage if an error occurs (#2558) 2021-01-30 17:43:28 -05:00
flarum-bot
9a04e05cfb Bundled output for commit c749abab21 [skip ci] 2021-01-27 05:04:48 +00:00
Alexander Skvortsov
c749abab21 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
flarum-bot
ec9e194243 Bundled output for commit 76c281aedd [skip ci] 2021-01-26 01:54:28 +00:00
Alexander Skvortsov
76c281aedd Remove unused variable 2021-01-25 20:53:07 -05:00
Alexander Skvortsov
1ede022dd8 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
flarum-bot
99dee979a6 Bundled output for commit de874da7e5 [skip ci] 2021-01-24 19:06:21 +00:00
David Wheatley
de874da7e5 Add missing a11y attributes (#2564) 2021-01-24 14:05:14 -05:00
flarum-bot
0e1b33c3e7 Bundled output for commit f4da9319ea [skip ci] 2021-01-24 17:13:48 +00:00
Alexander Skvortsov
f4da9319ea 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
flarum-bot
8f798deb87 Bundled output for commit 912a0381c3 [skip ci] 2021-01-23 21:44:56 +00:00
daniellesniak
912a0381c3 Convert highlight helper to Typescript (#2532) 2021-01-23 16:43:40 -05:00
flarum-bot
fbdc36dfbd Bundled output for commit 0c30f309b8 [skip ci] 2021-01-19 22:40:14 +00:00
Alexander Skvortsov
0c30f309b8 Bring m.attrs.bidi in as a util
We previously used the tobscure/m.attrs.bidi github repo, but that repo was recently taken offline. We decided to integrate it as a util instead of publishing it as a separate package since we seem to be the only project using it, and adopting it into a new project requires barneycarroll/mattr, which does not seem to be used anywhere.

The code added here was taken from https://github.com/askvortsov1/m.attrs.bidi, a fork (without changes) of the tobscure repo. Support for alternative module systems and ways of registering bidi were removed, and the file was formatted in compliance with our prettier config.
2021-01-19 17:30:03 -05:00