Commit Graph

4397 Commits

Author SHA1 Message Date
flarum-bot
54155dbe1e Bundled output for commit ce453096ec [skip ci] 2021-04-05 15:28:37 +00:00
David Wheatley
ce453096ec Replace classList with clsx library (#2760) 2021-04-05 16:27:16 +01:00
Alexander Skvortsov
e7837baa63 Remove unnecessary and imperceptible fade (#2685)
This concern was raised in https://discuss.flarum.org/d/26422-idearequest-make-header-background-color-match-exact-value-from-config.
2021-04-04 01:49:31 +01:00
flarum-bot
4f32d2d919 Bundled output for commit 9d872cc95e [skip ci] 2021-04-03 02:16:32 +00:00
David Wheatley
9d872cc95e Merge "Small Admin Patches" (#2739) from flarum/ck/adminux-patch2 into master
- Fixes #2736
- Fixes #2728
2021-04-03 03:14:41 +01:00
David Wheatley
905510e4e4 Pin GitHub Actions at specific tags and commits (#2748)
* Pin 3rd party action

* Pin GitHub-maintained actions to tag

* Bump Bundlewatch Node.js to v14 LTS

I have no clue what my thought process was when creating this workflow
initially. Thrown this in here as it's a minor change and it's silly to
make a PR just to update this number, in my opinion.
2021-04-03 01:00:26 +01:00
flarum-bot
232867b44a Bundled output for commit 79751d50e9 [skip ci] 2021-03-30 00:20:26 +00:00
David Sevilla Martin
79751d50e9 Move forum & admin app declarations to separate files 2021-03-29 20:19:15 -04:00
Sami Mazouz
e60bf67c61 Eager loading extender (#2724)
* Eager loading extender
* Add tests for the eager loading extender
2021-03-25 15:36:39 +01:00
KyrneDev
de6adc0bce Help on redraw 2021-03-24 17:30:13 -10:00
KyrneDev
abbd46dced Null name/desc breaks search fix 2021-03-24 17:29:54 -10:00
Sami Mazouz
4cc9aeeb28 Improve ApiSerializer tests (#2733)
The ApiSerializerTest was added before the ApiController extender, so I used a workaround at the time to check for the existence of the relationships on the serializer.
2021-03-23 17:33:51 -04:00
Alexander Skvortsov
aabf88e6d6 Use anonymous class for FakeApp (#2725)
It's a better implementation than declaring a second class in the same file, which can confuse IDEs. Furthermore, FakeApp shouldn't be used outside this file.
2021-03-22 19:00:36 +01:00
Sami Mazouz
397c4c10ed Eager load ListPostsController needed relations (#2717)
* Eager load ListPostsController needed relations
* Add comment explaining the reason for eagerloading
2021-03-22 09:54:18 +01:00
Alexander Skvortsov
512b756804 Include task scheduler in core 2021-03-19 18:01:38 -04:00
Alexander Skvortsov
7a2dbf8f9b Move laravel helpers back in, deprecate perpetually 2021-03-19 18:01:38 -04:00
flarum-bot
b9a7730168 Bundled output for commit 897e778800 [skip ci] 2021-03-19 18:14:58 +00:00
Alexander Skvortsov
897e778800 Remove deprecated code from beta 16 (#2705) 2021-03-19 19:13:50 +01:00
sl-kr
dd2712d5c8 Refactor AccountActivationMailer and SendConfirmationEmailController (#2493)
* Add AccountActivationMailerTrait and use in AccountActivationMailer and SendConfirmationEmailController
* Remove prefix

Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>
2021-03-19 18:06:41 +01:00
flarum-bot
2114af59a3 Bundled output for commit c0ed43c08e [skip ci] 2021-03-18 22:04:58 +00:00
David Wheatley
c0ed43c08e [A11Y] Add aria-label and landmark role to search input (#2669)
* Adds role="search" to Search container
* Add aria-label to search input

See this page for more info:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Search_role
2021-03-18 23:03:01 +01:00
flarum-bot
3bcd710ee1 Bundled output for commit 5278024a5d [skip ci] 2021-03-18 21:39:56 +00:00
David Wheatley
5278024a5d [A11Y] Fix nav drawer being focusable when off-screen on small viewports (#2666)
* Fix nav drawer being focusable when off-screen on small viewports

Fixes #2565

* Implement review suggestions

* Format
2021-03-18 22:38:32 +01:00
David Wheatley
ed3832481e Speed up JS linting (#2709)
* Install Prettier only, instead of all deps

* Allow running on workflow dispatch

Allows manually triggered CI runs by org members

* Update Node to latest LTS; update step descriptions
2021-03-18 21:14:10 +00:00
David Wheatley
dc990a6e37 Add bundlewatch to track bundle size changes in PRs (#2695)
(Below steps already performed, but kept for future reference.)

Head here to get auth ID: https://service.bundlewatch.io/setup-github
Create repo secret called `BUNDLEWATCH_GITHUB_TOKEN` with the token inside
2021-03-17 14:54:42 +00:00
Alexander Skvortsov
49701d20f3 Drop the generate:migration command (#2686)
Core source code should contain things necessary for core to run. Development tooling like this belongs in external packages, like the upcoming Flarum CLI.
2021-03-16 12:41:07 -04:00
flarum-bot
c62e630ef9 Bundled output for commit 78020dfba8 [skip ci] 2021-03-16 14:52:59 +00:00
David Wheatley
78020dfba8 [A11Y] Add aria-label to dropdown toggles (#2668)
Implement custom accessible dropdown toggle labels for forum components

Making the a11y label more specific to the specific action it performs is critical for good UX with assistive technologies.
2021-03-16 10:50:36 -04:00
Ian Morland
9c8ac9c432 Canonical URL: use UrlGenerator in place of extracting the url from request (#2674) 2021-03-15 21:43:59 -04:00
flarum-bot
fe97f0385d Bundled output for commit 66179f2fbd [skip ci] 2021-03-16 01:43:29 +00:00
David Sevilla Martín
66179f2fbd Fix Stream function code being shown when renaming discussion (#2693) 2021-03-15 21:42:22 -04:00
Alexander Skvortsov
1b326c496a L8 requires constructor arguments to PhpEngine 2021-03-15 12:48:47 -04:00
Daniel Klabbers
9197fa3c7b Release v0.1.0-beta.16 constant updated 2021-03-15 16:21:21 +01:00
Daniel Klabbers
86981e97cc Release v0.1.0-beta.16 2021-03-15 16:09:23 +01:00
Sami Mazouz
3148968de6 Beta 16 Changelog (#2687)
* Beta 16 Changelog

* Review tweaks

* Consistent letter casing

* IOS -> iOS

* Removed accidentally added F

* Csrf -> CSRF

Co-authored-by: David Wheatley <hi@davwheat.dev>
2021-03-15 14:55:47 +01:00
Daniel Klabbers
f4a734e9ef npm audit fix 2021-03-15 13:25:12 +01: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
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
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
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