1
0
mirror of https://github.com/flarum/core.git synced 2025-08-23 08:33:45 +02:00
Commit Graph

8723 Commits

Author SHA1 Message Date
Alexander Skvortsov
f779e2b7b7 Add meta title to following page (#159)
Refs flarum/core#495, flarum/subscriptions#23.
2020-06-03 12:46:27 +02:00
Alexander Skvortsov
a67e90adf4 Added meta title to following page (#23)
Refs flarum/core#495.
2020-06-03 12:46:05 +02:00
flarum-bot
f5ced81aa2 Bundled output for commit 274f31b6bf [skip ci] 2020-05-31 16:40:43 +00:00
Alexander Skvortsov
274f31b6bf Fix tag selection input on discussion modal going out of screen (#83)
Calculate width of input field dynamically based on content, this fixes the bug by only shifting tags out of view when necessary
2020-05-31 12:39:42 -04:00
flarum-bot
cda9ed9fca Bundled output for commit 94799aad72 [skip ci] 2020-05-31 15:55:42 +00:00
Charlie
94799aad72 Fix buggy drag and drop (#82)
Switch to the SortableJs library to fix the buggy tags drag-and-drop admin UI.
2020-05-31 11:54:52 -04:00
flarum-bot
42a9300a9d Bundled output for commit 8d9e20f217 [skip ci] 2020-05-31 02:50:39 +00:00
Alexander Skvortsov
8d9e20f217 Send Test Mail Feature (#2023)
- Add UI, backend for sending test emails
- Change mail settings endpoint to /api/mail/settings
2020-05-30 22:49:36 -04:00
flarum-bot
17f46fd9d0 Bundled output for commit 909e741c62 [skip ci] 2020-05-31 02:29:29 +00:00
Hasan Özbey
909e741c62 Scroll to edited post or inform the user (#2108)
* scroll to edit or inform the user
2020-05-30 22:28:08 -04:00
Alexander Skvortsov
af22f5f89a Get rid of Laravel Gate contract (#2181)
* Get rid of unnecessary uses of gate

* Move gate off of Laravel's gate contract
2020-05-28 18:00:44 -04:00
Sami Mazouz
004d80b860 Fix Paths test failing on Windows (#2187)
* Fix directory separator for windows os

* Change Paths to use a forward slash instead
2020-05-28 12:42:54 -04:00
Hasan Özbey
72bb3ef5be fix button colors for dark mode (#26) 2020-05-27 12:51:55 -04:00
Alexander Skvortsov
063df058b6 Instances of models should not matter when checking permissions (#2186) 2020-05-27 12:22:08 -04:00
Matt Kilgore
88090660d4 Fix installer removing URL port (#2182)
* Fix installer removing URL port
2020-05-25 14:35:22 +02:00
Franz Liedke
82c110c7b6 Allow manipulating error handler through extender
By giving each middleware a name, they can now be replaced or moved
around using the Middleware extender.

Fixes #2115.
2020-05-24 08:47:26 +02:00
w-4
c6fc8a8cd6 Fix header contents moving when opening modal (#2131)
* add navbar-fixed-top css class

* App-header position:fixed
2020-05-23 14:41:54 -04:00
Franz Liedke
12aad66049 Tests: Actually accept multiple extenders
We did pass multiple extenders to this method in the tests for the
`Model` extender - now this actually has the desired effect.
2020-05-23 02:00:25 +02:00
Franz Liedke
00761946c7 Stop using app() helper in tests 2020-05-23 01:56:21 +02:00
Sami Mazouz
13c33c409e Add z-index rule as part of fixing replies dropdown menu width (#2178) 2020-05-22 18:50:39 -04:00
Sami Mazouz
f8d1e2b22e Fix replies dropdown menu width (#38)
* Fixes flarum/core#1707
2020-05-22 18:50:26 -04:00
Alexander Skvortsov
c73ce3e768 Inject Url Generator and Translator Interface into notification mailer (#2169) 2020-05-22 18:10:31 -04:00
Franz Liedke
e6f0ca5873 Use existing variable for media query
Refs #46, flarum/core#2070.
2020-05-21 03:33:32 +02:00
flarum-bot
8a029e666b Bundled output for commit 8d84d1dea6 [skip ci] 2020-05-20 21:08:46 +00:00
Matteo Contrini
8d84d1dea6 Change default URL value in link/image markdown button (#11)
* Change default URL value in link/image markdown button
2020-05-20 17:07:10 -04:00
Tariq Hussein
2ecfe5da7b Check reply with mention can be read by original poster (#39) 2020-05-20 17:01:34 -04:00
timas130
43ad78654c Fix dropdown overflow on mobile (flarum/core#2070) (#46)
* Fix dropdown overflow on mobile (flarum/core#2070)
2020-05-20 15:20:02 -04:00
Alexander Skvortsov
845c469d35 Merge pull request #23 from flarum/cw/missing-route
Add missing route for the flags page
2020-05-19 20:53:17 -04:00
flarum-bot
24161507d8 Bundled output for commit af26bd22f6 [skip ci] 2020-05-20 00:53:05 +00:00
Alexander Skvortsov
af26bd22f6 Removed excess Widget class in favor of DashboardWidget (#2164) 2020-05-19 20:52:07 -04:00
Clark Winkelmann
2f2c1871d7 Add missing route for the flags page 2020-05-20 01:09:41 +02:00
Alexander Skvortsov
b5039d127e Companion changes for https://github.com/flarum/core/pull/2174 (#166) 2020-05-19 18:50:23 -04:00
flarum-bot
389d86c7f0 Bundled output for commit f7985bac61 [skip ci] 2020-05-19 22:46:59 +00:00
Alexander Skvortsov
f7985bac61 Use drivers for display names, add display name extender (#2174)
* Deprecate GetDisplayName event

* Add interface for display name driver

* Add username driver as default

* Add code to register supported drivers / used driver as singletons

* Configured User class to use new driver-based system for display names

* Add extender for adding display name driver

* Add integration test for user display name driver

* Add frontend UI for selecting display name driver
2020-05-19 18:45:56 -04:00
Alexander Skvortsov
713efcfa3c Increase Tags Visibility Scoping Extendability (#79)
Allow extensions to override tags scoping visibility based on viewDiscussions permission
2020-05-19 17:49:39 -04:00
flarum-bot
577aaa16d9 Bundled output for commit 26f251b497 [skip ci] 2020-05-16 00:11:53 +00:00
julakali
26f251b497 Don't use body as tooltip container, allow notification area overflow (#2166)
* Don't use body as tooltip container, allow notification area overflow

Badge tooltips are using container: 'body', so they can overflow the
notification area. When the user navigates back while a badge tooltip is
showing, the tooltip remains visible.
This commit removes the body container attribute and instead allows the
notificationDropDown to overflow, so badge tooltips aren't cut off.
Instead, this adds overflow: hidden to NotificationList.
Fixes #2118.

* Remove newline
2020-05-15 20:10:40 -04:00
flarum-bot
11fb591a52 Bundled output for commit 87a490c83e [skip ci] 2020-05-12 16:24:38 +00:00
David Sevilla Martín
87a490c83e Some improvements to request error handling and modal error formatting (#1929)
* Use decodeURI instead of unescape & don't close modals

* Add comment

* Don't use a try/catch, clean up the group log code

* Remove double negative

* Format; fix issues from rebasing
2020-05-12 12:23:13 -04:00
Franz Liedke
37a30b1b81 Merge pull request #2154 from flarum/fl/2055-l58
Upgrade to Laravel 5.8
2020-05-12 15:20:01 +02:00
Franz Liedke
3fb875e385 Fix notification query with DB prefix
This was fixed in https://github.com/laravel/framework/pull/28400.
See commit 928b360135.
2020-05-09 14:45:57 +02:00
Franz Liedke
fc4d0e1068 Fix signature of HandleErrors middleware
In Laravel 5.8, the `Container::tagged()` method was changed to return
an iterator [1].

We only use the result for iteration, or, in this case, to pass a bunch
of "reporters" to the error handler middleware, therefore we need to
accept an iterable here.

[1]: https://laravel.com/docs/5.8/upgrade#container-generators
2020-05-08 23:30:17 +02:00
Franz Liedke
417c6210ce Test setup: Do not use env() helper
Not needed, and not working without a full Laravel installation.
2020-05-08 23:30:17 +02:00
Franz Liedke
886f54e4fa Update Laravel components to v5.8
First part of #2055.
2020-05-08 21:46:13 +02:00
Franz Liedke
7f3c276d8d Remove empty comment 2020-05-08 16:05:25 +02:00
Franz Liedke
6205b386b3 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-05-08 14:03:48 +00:00
Franz Liedke
073d50b3a4 Fix container configuration when not installed 2020-05-08 16:03:20 +02:00
Franz Liedke
55d0f24749 Drop MigrationServiceProvider 2020-05-08 12:04:24 +02:00
Franz Liedke
814013ba48 Fix generate:migration command for extensions
Apparently, this code was from back when we had a special "extensions"
directory for Composer packages marked as Flarum extensions.

While we're at it, we now inject the Paths instance instead of using one
of the global helpers (which I am trying to get rid of).

Refs #2055.
2020-05-08 12:01:11 +02:00
Franz Liedke
9bcfc4fafd Update beta.13 changelog 2020-05-08 11:35:46 +02:00