Commit Graph

8565 Commits

Author SHA1 Message Date
Alexander Skvortsov
f2b2a26caf Use Settings extender serializeToForum properly now that it supports defaults. 2021-03-13 17:18:55 -05:00
Alexander Skvortsov
8bdba151b5 Apply GetModelIsPrivate BC mode to CommentPost, not Post 2021-03-13 17:16:18 -05:00
Alexander Skvortsov
0904e34525 Fix ModelPrivate docblocks 2021-03-13 17:15:50 -05:00
Alexander Skvortsov
ff86e68752 Use resolve helper instead of app 2021-03-13 17:13:20 -05:00
Alexander Skvortsov
6c25f09c9b Use non-deprecated translator interface 2021-03-13 17:11:42 -05:00
Alexander Skvortsov
caaefa1bf1 Use non-deprecated translator interface 2021-03-13 17:11:03 -05:00
Alexander Skvortsov
b922257468 Use non-deprecated translator interface 2021-03-13 17:10:23 -05:00
Alexander Skvortsov
06dfd8a603 Use ApiSerializer attributes method 2021-03-13 17:04:58 -05:00
Alexander Skvortsov
506985e881 Update for beta 16 2021-03-13 17:03:56 -05:00
flarum-bot
208aa47e60 Bundled output for commit 932c31db6d [skip ci] 2021-03-13 22:01:34 +00:00
Alexander Skvortsov
a419c5804a Merge pull request #2684 from flarum/as/filter-mutator-consistency
Make filter mutator API consistent with search mutator API.
2021-03-13 17:01:33 -05:00
Alexander Skvortsov
932c31db6d Apply fixes from StyleCI 2021-03-13 22:00:39 +00:00
Alexander Skvortsov
ee48c97a23 Tags admin list: move edit button back to where it should be 2021-03-13 17:00:27 -05:00
Alexander Skvortsov
85de81627d Update for beta 16 2021-03-13 16:54:03 -05:00
flarum-bot
ff8e3f8a92 Bundled output for commit 2da4f8204e [skip ci] 2021-03-13 21:33:44 +00:00
Alexander Skvortsov
2da4f8204e Apply fixes from StyleCI 2021-03-13 21:33:02 +00:00
Alexander Skvortsov
58fa8d4b8c Update for beta 16 2021-03-13 16:32:48 -05:00
Alexander Skvortsov
b14d24964f Apply fixes from StyleCI 2021-03-13 21:01:56 +00:00
SychO9
72ad775840 Update to beta.16 2021-03-13 16:00:50 -05:00
Alexander Skvortsov
c01dc63c5d Apply fixes from StyleCI 2021-03-13 20:49:35 +00:00
Alexander Skvortsov
6eb2c9e574 Update for search/filter split 2021-03-13 15:49:23 -05:00
Alexander Skvortsov
63a71d58c5 Apply fixes from StyleCI 2021-03-13 20:36:07 +00:00
Alexander Skvortsov
668de47095 Update for search filter split 2021-03-13 15:35:53 -05:00
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