1
0
mirror of https://github.com/flarum/core.git synced 2025-08-28 10:30:54 +02:00
Commit Graph

8486 Commits

Author SHA1 Message Date
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
Franz Liedke
78b517641f Merge pull request #2142 from flarum/fl/2055-prepare-for-laravel-58
Split up Application and Container
2020-05-07 22:49:36 +02:00
flarum-bot
4258c02da7 Bundled output for commit 1e351900e1 [skip ci] 2020-05-07 07:20:06 +00:00
Daniël Klabbers
1e351900e1 commit version constant 2020-05-07 09:17:26 +02:00
Daniël Klabbers
0bc58b603e Release v0.1.0-beta.13 2020-05-07 09:18:04 +02:00
Franz Liedke
3a7b4f392b Make two more tests compatible with PHPUnit 8 2020-05-07 09:18:04 +02:00
Franz Liedke
531b9ffd82 Remove obsolete method 2020-05-07 09:18:04 +02:00
Alexander Skvortsov
fd75df79a3 Added simply confirmation popup for hiding / deleting posts (#2135) 2020-05-07 09:18:04 +02:00
Daniël Klabbers
e811871d09 Release v0.1.0-beta.13 2020-05-04 11:04:45 +02:00
Daniël Klabbers
74e02b6a3c Release v0.1.0-beta.13 2020-05-04 10:48:54 +02:00
Daniël Klabbers
df32bae2b6 Release v0.1.0-beta.13 2020-05-04 10:44:10 +02:00
Daniël Klabbers
df7d4d1907 incorrect compared versions in changelog 2020-05-04 10:42:34 +02:00
Daniël Klabbers
665f41a518 incorrect compared versions in changelog 2020-05-04 10:42:22 +02:00
Daniël Klabbers
903d81e04c incorrect compared versions in changelog 2020-05-04 10:42:11 +02:00
Daniël Klabbers
e05857602b Release v0.1.0-beta.13 2020-05-04 10:38:45 +02:00
Daniël Klabbers
6f3e7fde0b Missing PR ref in Changelog beta 13 2020-05-04 10:35:14 +02:00
Daniël Klabbers
910ca68ccd Release v0.1.0-beta.13 2020-05-04 10:34:34 +02:00
Daniël Klabbers
fa5f01eb10 Release v0.1.0-beta.13 2020-05-04 10:14:22 +02:00
David Sevilla Martin
42d7968dfb Fix Model extender transition using camelCase instead of underscore notation 2020-05-03 08:39:35 -04:00
Franz Liedke
244f61f5d3 Inject new Paths class instead of Application
This (and similar work in other areas) will allow us to further
reduce the API surface of the Application class.

Separation of concerns etc.
2020-05-01 15:47:35 +02:00
Franz Liedke
bf526125eb Split up Application and Container
- Stop trying to implement Laravel's Application contract, which
  has no value for us.
- Stop inheriting from the Container, injecting one works equally
  well and does not clutter up the interfaces.
- Inject the Paths collection instead of unwrapping it again, for
  better encapsulation.

This brings us one step closer toward upgrading our Laravel
components (#2055), because we no longer need to adopt the changes
to the Application contract.
2020-05-01 15:47:35 +02:00
Franz Liedke
7602b9ad62 Extract a class to hold / determine paths 2020-05-01 15:24:20 +02:00
Franz Liedke
f8b7a24a06 Release v0.1.0-beta.13 2020-05-01 13:08:46 +02:00
Franz Liedke
aa894d0cbc Release v0.1.0-beta.13 2020-05-01 13:08:45 +02:00
Franz Liedke
0b2018c32a Release v0.1.0-beta.13 2020-05-01 13:08:45 +02:00
Franz Liedke
5719d62415 Release v0.1.0-beta.13 2020-05-01 13:08:44 +02:00
Franz Liedke
660b62808f Release v0.1.0-beta.13 2020-05-01 13:08:43 +02:00
Franz Liedke
78c32ed654 Release v0.1.0-beta.13 2020-05-01 13:08:40 +02:00
Franz Liedke
c2e7a5413c Update Webpack for real 2020-05-01 12:04:03 +02:00
Franz Liedke
6abc44f20f Update Webpack CLI 2020-05-01 12:02:14 +02:00
flarum-bot
166b976f86 Bundled output for commit 37e8469de7 [skip ci] 2020-05-01 09:59:24 +00:00
flarum-bot
494ec8b8a6 Bundled output for commit 5855b0367f [skip ci] 2020-05-01 09:59:00 +00:00
Franz Liedke
37e8469de7 Update Webpack 2020-05-01 11:56:52 +02:00
Franz Liedke
466a62231c Update Webpack 2020-05-01 11:56:02 +02:00
Franz Liedke
c134f037dd Update Webpack 2020-05-01 11:56:02 +02:00
Franz Liedke
e454704153 Update Webpack 2020-05-01 11:56:01 +02:00
Franz Liedke
5855b0367f Update Webpack 2020-05-01 11:56:01 +02:00
flarum-bot
cbf3d14816 Bundled output for commit 782d83f862 [skip ci] 2020-05-01 09:53:55 +00:00