framework/src
Franz Liedke 88366fe8af
Clean up usages / deprecate path helpers (#2155)
* Write source map without creating temp file

Less I/O, and one less place where we access the global path helpers.

* Drop useless app_path() helper

This was probably taken straight from Laravel. There is no equivalent
concept in Flarum, so this should be safe to remove.

* Deprecate global path helpers

Developers using these helpers can inject the `Paths` class instead.

* Stop storing paths as strings in container

* Avoid using path helpers from Application class

* Deprecate path helpers from Application class

* Avoid using public_path() in prerequisite check

a) The comparison was already outdated, as a different path was passed.
b) We're trying to get rid of these global helpers.
2020-06-19 16:16:03 -04:00
..
Admin Allow manipulating error handler through extender 2020-05-24 08:47:26 +02:00
Api Return the proper error code when wrong password when changing email (#2171) 2020-06-17 20:43:04 -04:00
Bus Apply fixes from StyleCI 2020-03-06 13:55:39 +00:00
Console Remove a bunch of deprecated events 2020-04-27 22:04:08 +02:00
Database Remove empty comment 2020-05-08 16:05:25 +02:00
Discussion Get rid of Laravel Gate contract (#2181) 2020-05-28 18:00:44 -04:00
Event Remove a bunch of deprecated events 2020-04-27 22:04:08 +02:00
Extend Use drivers for display names, add display name extender (#2174) 2020-05-19 18:45:56 -04:00
Extension Inject new Paths class instead of Application 2020-05-01 15:47:35 +02:00
Formatter Clean up usages / deprecate path helpers (#2155) 2020-06-19 16:16:03 -04:00
Forum Allow manipulating error handler through extender 2020-05-24 08:47:26 +02:00
Foundation Clean up usages / deprecate path helpers (#2155) 2020-06-19 16:16:03 -04:00
Frontend Clean up usages / deprecate path helpers (#2155) 2020-06-19 16:16:03 -04:00
Group Group Gambit Improvements (#2192) 2020-06-08 17:35:24 -04:00
Http Fixes #2157, Explicitly set SameSite value for cookies (#2159) 2020-06-03 22:53:30 -04:00
Install Clean up usages / deprecate path helpers (#2155) 2020-06-19 16:16:03 -04:00
Locale Clean up usages / deprecate path helpers (#2155) 2020-06-19 16:16:03 -04:00
Mail Send emails through the queue 2020-04-03 13:47:12 +02:00
Notification Inject Url Generator and Translator Interface into notification mailer (#2169) 2020-05-22 18:10:31 -04:00
Post Laravel: Stop calling deprecated fire() method 2020-03-28 11:08:44 +01:00
Queue Clean up usages / deprecate path helpers (#2155) 2020-06-19 16:16:03 -04:00
Search Laravel: Stop calling deprecated fire() method 2020-03-28 11:08:44 +01:00
Settings Simplify uploads, inject filesystem instances 2020-04-10 11:38:57 +02:00
Update Change Zend namespace to Laminas (#1963) 2020-01-06 22:29:34 +01:00
User Remove BioChanged event which is no longer used since beta 8 (#2196) 2020-06-15 00:21:06 -04:00
helpers.php Clean up usages / deprecate path helpers (#2155) 2020-06-19 16:16:03 -04:00