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
Daniël Klabbers
162167fe23
made compatible with illuminate 8 and beta 16 ( #121 )
2021-03-05 09:44:20 -05:00
Daniël Klabbers
242593daf6
Laravel components v8 ( #2576 )
...
- update actions ci
- include json for 4 spaces tab
- provide output int for process code exit
- adhere to parent type hint of builder
- mailer instance now needs a name, multiple can be instantiated
- getOriginal now uses mutators in the model
- Temporarily loosen MailableInterface requirements. This avoids an immediate BC break for classes in extensions that implement this interface.
- Temporarily provide (and autoload) old symfony translator interface
- make queue exception handler compatible with the contract of L8
- Update phpunit schema for newer version
- Update phpunit assert calls for newer version
2021-03-05 09:43:35 -05:00
Sami Mazouz
e24d223ec0
Move TextEditor styles to common ( #2661 )
...
Now that TextEditor js component is shared, it only makes sense to also
have its styles shared
2021-03-05 08:14:19 -05:00
flarum-bot
6dc433470f
Bundled output for commit 181229ae93
[skip ci]
2021-03-05 03:16:09 +00:00
Sami Mazouz
181229ae93
Check for selectable tags before opening tag selection modal ( #112 )
2021-03-04 22:15:27 -05:00
Alexander Skvortsov
e5c3339a44
Rename app
to container ( #2609 )
...
* Rename `app` helper to `resolve`, deprecate old version
* Rename $this->app to $this->container in service providers
We no longer couple Flarum\Foundation\Application to the Laravel container; instead, we use the container separately. Changing our naming to reflect that will make things clearer.
2021-03-04 22:14:48 -05:00