Toby Zerner
b009ea6b1c
Split up front controllers again
9 years ago
Toby Zerner
3a0d8a656a
New Composer-driven app skeleton
...
- One front controller to simplify server setup
- Extract all bootstrap code into flarum/server
- Clean up folder structure
9 years ago
Franz Liedke
680e8b53d6
Use Core helper for checking installation status
9 years ago
Franz Liedke
56fb00378c
Use new method for retrieving base URL
9 years ago
Toby Zerner
dd6cb2f6ce
Clean up, add header comments
9 years ago
Toby Zerner
a1d76f4873
Detect base path for installer
9 years ago
Toby Zerner
718c2e053d
Load installer if not installed
9 years ago
Toby Zerner
92485e9bb5
Route using the base path
9 years ago
Toby Zerner
2752751959
Update paths
9 years ago
Toby Zerner
fde00934f8
Change order of bootstrapping
...
1. Enable database access
2. Load settings
3. Load extensions
4. Load Flarum core/etc
This way, when the app boots, extensions get to register event
listeners for events that may be fired during core/etc's boot process.
9 years ago
Franz Liedke
62fcc7d3f8
Use middleware for displaying pretty error pages
10 years ago
Toby Zerner
07856bd53e
Load extensions after other service providers
...
And let them know what kind of request this is via a “type” binding on
the container. Not sure if there is a better way to do this. But they
need to know somehow, so extenders can act selectively (e.g. the
ForumClient extender should only act on forum requests, not on API or
admin requests)
10 years ago
Toby Zerner
e75f8f2ba2
Reconfigure nginx during provisioning to do rewrites
10 years ago
Toby Zerner
f07fc1d838
Revert some changes
10 years ago
Toby Zerner
cc8a864f5a
Back to nginx for now, split up index/admin entries
10 years ago
Franz Liedke
fd8d0b25c1
Use Whoops middleware on frontend front controller, too
10 years ago
Franz Liedke
f521f6640b
Split API and frontend controllers
10 years ago
Franz Liedke
9b1d92693e
Return router response for all Flarum requests
10 years ago
Franz Liedke
92845bebac
Apply JSON parameter middleware to all Flarum requests
10 years ago
Franz Liedke
65c4a49ecf
Revamp bootstrapping process to use PSR-7 middleware
10 years ago
Toby Zerner
d9ebd27a93
New skeleton architecture
...
flarum/core submodule needs to be added back in (to system/core)
10 years ago