Alexander Skvortsov
f80a88d45b
Use RequestUtil for accessing actor
2021-04-08 00:02:11 -04:00
Alexander Skvortsov
9936681634
Use Symfony translator contract instead of deprecated component
2021-04-08 00:00:49 -04:00
Alexander Skvortsov
a554c85d8a
Introduce RequestUtil to encapsulate getting/setting actor on requests( #2449 )
2021-04-07 23:33:05 -04:00
Alexander Skvortsov
809e0d2ae0
Allow configuring default enabled extensions as part of installation ( #2757 )
...
This is needed for the testing library
2021-04-07 22:47:54 -04:00
Alexander Skvortsov
9a9a644c56
Don't fail silently on cache clear ( #2756 )
2021-04-07 22:13:08 -04:00
Sami Mazouz
e4d5a328f3
Fix a missed getRouteData() ( #2774 )
2021-04-07 20:08:21 -04:00
flarum-bot
fa249d9bc0
Bundled output for commit afa89aa05d
[skip ci]
2021-04-07 22:26:04 +00:00
Alexander Skvortsov
afa89aa05d
Preloaded API document Improvements ( #2754 )
...
* Invalidate preloadedApiDocument if URL has changed
* Revert to using `getRouteData()[0]`
2021-04-07 23:25:01 +01:00
Sami Mazouz
a58ce93486
Merge pull request #10 from flarum/as/allow-specifying-settings-before-boot
...
Allow configuring settings before app boot
2021-04-07 22:59:20 +01:00
Alexander Skvortsov
9ed29cd35e
Add automated tests for flarum/testing
2021-04-07 22:38:58 +01:00
Alexander Skvortsov
1fbf5fd029
Add setting
method to integration TestCase
...
This allows adding settings before the app is booted. In the past we've used hacky workarounds like manually resetting a binding to override singletons to use custom setting values. It makes sense to support this through `TestCase`.
2021-04-07 15:01:40 -04:00
flarum-bot
8e660587d6
Bundled output for commit d8dbe5ab60
[skip ci]
2021-04-07 18:31:38 +00:00
David Wheatley
d8dbe5ab60
Merge "Remove unneeded vendor prefixes" ( #2766 )
2021-04-07 19:30:15 +01:00
Daniël Klabbers
cedee652db
Removes duplication of cache clearing ( #2738 )
2021-04-07 17:29:32 +01:00
Sami Mazouz
d5149b7406
Eager load post.user.groups relation and allow extensions to eager load relations ( #38 )
...
* Allow extensions to eager load relations
* Eager load post.user.groups
2021-04-07 16:24:52 +01:00
Alexander Skvortsov
0b65a4c375
Update changelog for 0.1.0-beta.16.1
2021-04-06 18:20:14 -04:00
David Wheatley
316c9dac34
Fix missing vendor prefix on post scrubber; move styles to Less
2021-04-05 23:19:52 +01:00
David Wheatley
9392343aa4
Remove unneeded vendor prefixes
2021-04-05 20:27:47 +00:00
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
c9d9e85780
Fix FullTextGambit interface compatibility
2021-04-04 15:44:07 -04:00
Alexander Skvortsov
ac4edef78c
Use extender for setting NicknameFullTextGambit
2021-04-04 13:41:15 -04: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
Alexander Skvortsov
4ec8b87cdc
Update changelog for v0.1.0-beta.16.1
2021-03-25 13:54:43 -04:00
flarum-bot
2c8f88a72b
Bundled output for commit 61e61f5e8c
[skip ci]
2021-03-25 17:52:17 +00:00
Alexander Skvortsov
61e61f5e8c
Allow disabling mdarea via admin setting ( #27 )
2021-03-25 13:51:21 -04:00
Sami Mazouz
46aabd2ae5
Eager load mentionedBy and only missing relations ( #64 )
2021-03-25 15:37:47 +01:00
Sami Mazouz
a1ba21ec69
Eager load tags relation in discussion, posts and flags listing endpoints ( #125 )
...
* Eager load tags relation when listing posts & discussions
* Eager load ListFlags post.discussion.tags relation
2021-03-25 15:37:14 +01: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
Clark Winkelmann
3506991d3e
Requirement and formatting fixes ( #5 )
...
Add ext-json to composer requirements
Update editorconfig to match core
Update phpdoc to not reference missing import
2021-03-21 19:26:25 +01:00
Clark Winkelmann
f410f69b36
Add missing import for ExtensionManager ( #6 )
...
Replace bind with singleton, otherwise singleton behavior is lost
2021-03-21 19:25:02 +01:00
Clark Winkelmann
082a600adf
Fix variable names ( #4 )
...
It's not causing any issue because the correct variable name is always used to set and read the value, and PHP is fine setting new attributes on a class dynamically. It's just the explicit variables declared don't match with those actually used later.
2021-03-20 18:46:03 -04: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