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
Alexander Skvortsov
2f0192d47d
Fix Index content, only use search when applicable.
2021-03-12 15:30:36 -05:00
Alexander Skvortsov
38dc12ef0d
Provide active filters to filter state
2021-03-12 15:30:14 -05:00
flarum-bot
62feab756e
Bundled output for commit 6a10c4e8ed
[skip ci]
2021-03-12 05:35:57 +00:00
Alexander Skvortsov
6a10c4e8ed
Fix shaky composer on safari mobile
...
When the composer is opened while scrolled to the absolute bottom of the page (via hitting the "reply" button, `window.scrollTop` has a value of ~600px greater than it should. This doesn't seem to be the composer element's height (which appears to be 0 at the time). This incorrect scrollTop positions the composer off screen, which causes Safari to freak out and shake the element violently as it tries to scroll to the cursor (which is now off screen).
We can get around this by calculating scrollTop ourselves.
Fixes https://github.com/flarum/core/issues/2683
2021-03-12 00:23:37 -05:00
Alexander Skvortsov
99311188a2
Make filter mutator API consistent with search mutator API.
...
This is inline with the docblock for the Filter extender, and is much more sensible.
2021-03-11 23:12:49 -05:00
flarum-bot
32bd64f427
Bundled output for commit ae6a652a72
[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 752c43376e
[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
6c4867d547
Bundled output for commit 2183a7f879
[skip ci]
2021-03-09 03:46:55 +00:00
Alexander Skvortsov
2183a7f879
Search: dont adjust height if not rendered
2021-03-08 22:45:39 -05:00
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
Alexander Skvortsov
97d1a42ad2
Add deprecated "user" filter for posts
...
In the filterer refactor for ListPostsController, the filter key was changed to `author` for consistency with the AuthorFilterGambit used in discussions. This commit adds a deprecated `user` filter back in for a release to allow for a graceful transition
2021-03-08 16:20:26 -05:00
flarum-bot
3f7fb66502
Bundled output for commit 50da5ffd45
[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
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
Alexander Skvortsov
9cd94c5d78
Use flarum/testing for test infrastructure ( #2545 )
2021-03-07 16:32:41 -05:00
Sami Mazouz
eb6744f5fd
Eagerload some needed relations in ListDiscussionsController ( #2639 )
2021-03-07 16:32:23 -05: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
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
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
acd9fa8e3e
added optional powered-by header ( #2618 )
2021-03-05 10:05:13 -05:00