Toby Zerner
c8122c37f7
Merge branch 'evented-api'
9 years ago
Toby Zerner
1312c816b1
Update core
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
Toby Zerner
39ec918232
Fix config loading
10 years ago
Toby Zerner
3a78f3a724
Beta in a few weeks!
10 years ago
Franz Liedke
94fd0ce30c
Fix service provider registration
10 years ago
Franz Liedke
13b3e8e134
Replace some of Laravel's default service providers with simple bindings
10 years ago
Franz Liedke
ee17e09eaf
Do not run any bootstrappers in console environment
10 years ago
Franz Liedke
9230156281
Revert removal of exception handler contract implementation
10 years ago
Franz Liedke
5ec8d75305
Only register Flarum service providers when software is installed
10 years ago
Franz Liedke
be9c0e337f
Reuse variable
10 years ago
Toby Zerner
93b96d65c4
Clean up
10 years ago
Toby Zerner
c4b65a5352
Ignore PHPStorm stuff
10 years ago
Franz Liedke
2670bf7925
Remove last config file
10 years ago
Franz Liedke
5985b7cfa0
Add debug flag to config file
10 years ago
Franz Liedke
bfaf29393f
Hardcode even more config in bootstrap.php
10 years ago
Franz Liedke
6f8cf7e24d
Do not use environment variables
10 years ago
Franz Liedke
ba8ea7e97c
Start getting rid of Laravel's config setup
...
Many default values are for now configured directly in bootstrap.php.
First part of flarum/core#121 , also related to flarum/core#75 .
10 years ago
Franz Liedke
c548347cb4
Unregister a bunch of Artisan commands
10 years ago
Franz Liedke
acc4a56538
Clean up Laravel stuff in composer.json
10 years ago
Franz Liedke
40df488c57
Upgrade Zend Stratigility to 1.1
...
Refs flarum/core#153
10 years ago
Franz Liedke
62fcc7d3f8
Use middleware for displaying pretty error pages
10 years ago
Franz Liedke
a0ef02e4f6
Use Whoops in debug mode, JSON API compliant errors otherwise
10 years ago
Franz Liedke
e514b1bc5f
Rename command line tool
10 years ago
Franz Liedke
fe2752ae73
Use new error handling middleware for API
10 years ago
Franz Liedke
56dd92c61a
Vagrant: Fix Nginx configuration script
10 years ago
Toby Zerner
796bd1a858
Also load ForumServiceProvider in CLI, so assets can be published
10 years ago
Toby Zerner
180ae001e2
Update submodule
10 years ago
Toby Zerner
1e807b187d
Load extensions in CLI
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
Toby Zerner
15ff6e7049
Ignore extensions
10 years ago
Toby Zerner
8d5fc6b92a
Update dependencies
10 years ago
Franz Liedke
68f1fadec3
Update submodule after PSR-7 merge
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
b639c45526
Update dependencies
10 years ago
Franz Liedke
d82ba13d85
Try to get rid of bootstrapper classes
10 years ago
Franz Liedke
18974b6024
Vagrant: Use Apache instead of nginx.
...
Nginx seemed to have some problems with PATH_INFO which I did not want
to investigate at this time.
By using Apache, I can now have different front controllers for e.g.
the API (api.php) vs. the forum itself (index.php). We can even do
similar things for assets etc.
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
Toby Zerner
39f5d69c6c
Remove that message, it doesn't tell the full story
10 years ago
Toby Zerner
5e161c4890
Add date
10 years ago
Toby Zerner
829559a556
Add note about private development
10 years ago
Franz Liedke
65c4a49ecf
Revamp bootstrapping process to use PSR-7 middleware
10 years ago
Franz Liedke
334cebbf6f
Require Zend's PSR-7 packages.
10 years ago
Franz Liedke
76533e4096
Update core
10 years ago
Franz Liedke
5cc38e2783
Update core.
10 years ago