framework/src/Event
Toby Zerner 0e73785498
Frontend refactor (#1471)
Refactor Frontend + Asset code

- Use Laravel's Filesystem component for asset IO, meaning theoretically
  assets should be storable on S3 etc.

- More reliable checking for asset recompilation when debug mode is on,
  so you don't have to constantly delete the compiled assets to force
  a recompile. Should also fix issues with locale JS files being
  recompiled with the same name and cached.

- Remove JavaScript minification, because it will be done by Webpack
  (exception is for the TextFormatter JS).

- Add support for JS sourcemaps.

- Separate frontend view and assets completely. This is an important
  distinction because frontend assets are compiled independent of a
  request, whereas putting together a view depends on a request.

- Bind frontend view/asset factory instances to the container (in
  service providers) rather than subclassing. Asset and content
  populators can be added to these factories – these are simply objects
  that populate the asset compilers or the view with information.

- Add RouteHandlerFactory functions that make it easy to hook up a
  frontend controller with a frontend instance ± some content.

- Remove the need for "nojs"

- Fix cache:clear command

- Recompile assets when settings/enabled extensions change
2018-06-30 12:31:12 +09:30
..
AbstractConfigureGambits.php Extract Flarum\Search namespace 2017-10-03 18:49:53 +02:00
AbstractConfigureRoutes.php Deprecate remaining non-namespaced events 2018-01-03 09:42:11 +01:00
ConfigureApiRoutes.php Deprecate remaining non-namespaced events 2018-01-03 09:42:11 +01:00
ConfigureDiscussionGambits.php Apply fixes from StyleCI 2016-11-29 05:03:53 +00:00
ConfigureForumRoutes.php Deprecate remaining non-namespaced events 2018-01-03 09:42:11 +01:00
ConfigureLocales.php Deprecate remaining non-namespaced events 2018-01-03 09:42:11 +01:00
ConfigureMiddleware.php Update Stratigility, use http-interop middleware 2018-03-18 13:52:16 +01:00
ConfigureModelDates.php Apply fixes from StyleCI 2016-11-29 05:03:53 +00:00
ConfigureModelDefaultAttributes.php Apply fixes from StyleCI 2016-11-29 05:03:53 +00:00
ConfigureNotificationTypes.php Extract Flarum\Notification namespace 2017-10-03 18:49:53 +02:00
ConfigurePostsQuery.php Apply fixes from StyleCI 2016-11-29 05:03:53 +00:00
ConfigurePostTypes.php Apply fixes from StyleCI 2016-11-29 05:03:53 +00:00
ConfigureUserGambits.php Apply fixes from StyleCI 2016-11-29 05:03:53 +00:00
ConfigureUserPreferences.php Extract new Flarum\User namespace 2017-10-03 18:47:23 +02:00
GetApiRelationship.php Apply fixes from StyleCI 2016-11-29 05:03:53 +00:00
GetDisplayName.php merges 5.5 and master into next-back 2017-12-14 01:00:16 +01:00
GetModelIsPrivate.php Overhaul model visibility scoping (#1342) 2018-01-27 09:57:16 +10:30
GetModelRelationship.php Apply fixes from StyleCI 2016-11-29 05:03:53 +00:00
GetPermission.php Extract new Flarum\User namespace 2017-10-03 18:47:23 +02:00
PrepareUserGroups.php Extract new Flarum\User namespace 2017-10-03 18:47:23 +02:00
ScopeModelVisibility.php Overhaul model visibility scoping (#1342) 2018-01-27 09:57:16 +10:30