Commit Graph

8565 Commits

Author SHA1 Message Date
Sami Mazouz
256e821289 Use new extenders (#58) 2020-12-08 11:15:52 -05:00
Alexander Skvortsov
dc56e18739 Apply fixes from StyleCI 2020-12-08 16:12:11 +00:00
Alexander Skvortsov
a9e729401b Convert subscriber to listener, eliminating compat-style extender 2020-12-08 11:11:54 -05:00
Sami Mazouz
99e73a38a9 Use new extenders (#25) 2020-12-08 10:59:03 -05:00
Alexander Skvortsov
2fd76a8d75 Remove deprecated TagWillBeSaved event 2020-12-08 00:02:46 -05:00
Alexander Skvortsov
dea7683329 Model Visibility Scoping Extender and Tests (#2460) 2020-12-07 20:02:46 -05:00
Matt Kilgore
b67fa3f277 flarum/nicknames extension translations (#178) 2020-12-07 15:51:37 -05:00
flarum-bot
eff0f8281d Bundled output for commit 18cb1b1395 [skip ci] 2020-12-07 20:49:24 +00:00
Alexander Skvortsov
18cb1b1395 Use namespaced imports 2020-12-07 15:48:05 -05:00
Alexander Skvortsov
54f7a41c49 Add alert if nicknames display name driver not enabled 2020-12-07 15:46:16 -05:00
Matt Kilgore
01e71e7cbf Add slug driver translations (#179) 2020-12-07 15:18:23 -05:00
Charlie
dc3599a517 AdminUX Small Patch Translations (#177)
* Core Configuration
* More verbose no settings/permissions
2020-12-07 15:17:33 -05:00
flarum-bot
2ffb2dbab7 Bundled output for commit 6d07820952 [skip ci] 2020-12-07 20:15:49 +00:00
Charlie
6d07820952 AdminUX Overhaul Small Patches (#2468) 2020-12-07 15:14:22 -05:00
flarum-bot
d6a20567af Bundled output for commit 0fcbca8f4a [skip ci] 2020-12-07 18:35:10 +00:00
Matt Kilgore
0fcbca8f4a Slug Driver Support (#2456)
- Support slug drivers for core's sluggable models, easily extends to other models
- Add automated testing for affected single-model API routes
- Fix nickname selection UI
- Serialize slugs as `slug` attribute
- Make min search length a constant
2020-12-07 13:33:42 -05:00
flarum-bot
0df35e8796 Bundled output for commit b6c4aae067 [skip ci] 2020-12-07 18:26:51 +00:00
David Sevilla Martín
b6c4aae067 Replace forum and admin global compat exports with a Proxy to allow namespace use (#2488) 2020-12-07 13:25:24 -05:00
Sami Mazouz
6d96587205 ApiController Extender and Tests (#2451) 2020-12-06 15:07:48 -05:00
Sami Mazouz
0754de8d1b Pass callback wrapper parameters by reference (#2485)
Because invokable class objects are not directly called and instead it's the callback wrapper that calls these objects, it's currently not possible to receive arguments by reference on an invokable class.

To fix this we pass the arguments by reference by default when calling the object in the callback wrapper.
2020-12-06 14:58:45 -05:00
Sami Mazouz
ffbb37e956 Make sure usernames cannot take the value of nicknames (#1) 2020-12-05 17:27:05 -05:00
Sami Mazouz
4389d3b1a0 Add Settings Extender (#2452) 2020-12-04 17:20:06 -05:00
Alexander Skvortsov
073acdf7fb User Preferences Extender and Tests (#2463) 2020-12-04 15:45:08 -05:00
Alexander Skvortsov
02298127b7 Remove IdOnlyUserSlugDriver from nicknames 2020-12-04 15:34:27 -05:00
flarum-bot
a98fca554c Bundled output for commit c603c39aaf [skip ci] 2020-12-04 20:10:03 +00:00
Alexander Skvortsov
c603c39aaf Fix reverting nickname to username in EditUserModal 2020-12-04 15:08:55 -05:00
flarum-bot
ad8707d9fc Bundled output for commit bd307e4780 [skip ci] 2020-12-02 22:30:38 +00:00
Alexander Skvortsov
bd307e4780 Only show nickname edit options if nickname driver is enabled 2020-12-02 17:29:39 -05:00
Alexander Skvortsov
f0a68617f7 Improve package description 2020-12-02 15:43:48 -05:00
Alexander Skvortsov
b3f6fb8241 If unique nicknames are enabled, don't allow using someone else's username as a nickname 2020-12-02 15:29:08 -05:00
Alexander Skvortsov
a82404f1c9 Add default settings and permissions 2020-12-02 15:10:46 -05:00
Daniël Klabbers
6618a7f612 Fixes issue with the worker defaulting to the illuminate queue manager (#2481)
We are instantiating our own queue handling factory which returns the
flarum.queue.connection binding no matter what. The queue Worker and
other queue related code rely on this manager to get its thing going.
Therefor we need to re-use our own factory everywhere, including in
the worker.
2020-12-02 13:19:25 -05:00
Alexander Skvortsov
1a49dfc979 Use process isolation for integration tests 2020-12-01 19:33:24 -05:00
flarum-bot
2cb560e59a Bundled output for commit 24b7525f3e [skip ci] 2020-12-02 00:05:21 +00:00
Matthew Kilgore
24b7525f3e Merge remote-tracking branch 'origin/master' 2020-12-01 19:04:31 -05:00
flarum-bot
720dfceb25 Bundled output for commit 3b953941b1 [skip ci] 2020-12-01 16:22:59 +00:00
Alexander Skvortsov
3b953941b1 Remove Deprecated Beta14 Code (#2428) 2020-12-01 11:21:28 -05:00
Nina Pypchenko
f0484cab74 DRY up image uploading code (#2477) 2020-12-01 10:42:05 -05:00
Matthew Kilgore
271f5ca922 Finished working version 2020-11-30 20:48:10 -05:00
Sami Mazouz
55070ede84 ApiSerializer Extender (#2438) 2020-11-30 19:24:50 -05:00
flarum-bot
423d156d50 Bundled output for commit 46d094192d [skip ci] 2020-11-30 19:08:06 +00:00
Miha Frangež
46d094192d Add icons to tag tiles (#104) 2020-11-30 14:06:51 -05:00
flarum-bot
d1c8d88ddd Bundled output for commit 35228b4b27 [skip ci] 2020-11-30 19:02:41 +00:00
Alexander Skvortsov
35228b4b27 Don't use browser scroll restore in DiscussionPage (#2476)
Although native browser scroll restorations have become quite powerful, it interferes with Flarum's PostStream, so if we're on a DiscussionPage, we use manual scroll restoration.
2020-11-30 14:01:08 -05:00
flarum-bot
c100316451 Bundled output for commit e3acc0a9e3 [skip ci] 2020-11-29 23:34:50 +00:00
Alexander Skvortsov
e3acc0a9e3 Fix goToIndex to visible end
In the PostStream, `this.visibleEnd` represents the index of the last post + 1, but `loadNearIndex` treated it as if it was the index of the last post. This means that executing `goToIndex` on the post stream's current `this.visiblePost` didn't load new posts, and as a result, the requested scrolling did not occur.
2020-11-29 18:33:29 -05:00
flarum-bot
4a165a13c2 Bundled output for commit d85e5c31b7 [skip ci] 2020-11-29 22:47:21 +00:00
Alexander Skvortsov
d85e5c31b7 Merge pull request #2465 from flarum/0.1.0-beta.14.1 2020-11-29 17:45:58 -05:00
Alexander Skvortsov
cb7f8cf92f Reset dist js 2020-11-29 17:41:16 -05:00
Alexander Skvortsov
ed9131b36c Move floodgate to middleware, add extender + integration tests (#2170) 2020-11-29 17:13:22 -05:00