Franz Liedke
d12106809f
Extract method
2015-08-26 10:33:41 +02:00
Toby Zerner
b194f07a72
Redirect using configured base URL
2015-08-26 17:48:25 +09:30
Toby Zerner
3e804ca0b5
Delete config.php if installation fails
2015-08-26 17:46:49 +09:30
Toby Zerner
0b8aa5c124
Add header comment; PSR-2 fixes; remove seeders
2015-08-26 16:56:32 +09:30
Franz Liedke
dae8e617ae
Cleanup small things in installer
2015-08-26 09:02:28 +02:00
Toby Zerner
8ec342f6cb
Autoload the cached PHP renderer
2015-08-26 09:46:20 +09:30
Toby Zerner
b67ae4c8a3
Use PHP formatter rendering engine
...
Removes dependency on XSLT extension
2015-08-26 09:34:49 +09:30
Toby Zerner
b8fc0bc376
Make discussion slug URL parameter optional
2015-08-25 19:32:41 +09:30
Toby Zerner
3392d9fdcf
Migrate extensions in upgrade script
2015-08-18 13:56:49 +09:30
Toby Zerner
71c7740086
Get generate:extension command working again
2015-08-18 13:56:25 +09:30
Toby Zerner
edccd10693
Only delete avatar if it exists
2015-08-17 16:06:51 +09:30
Toby Zerner
a32250884c
Ensure posts are sorted correctly
2015-08-17 15:52:39 +09:30
Toby Zerner
2b812ab211
Use a relative path to locate migrations
2015-08-17 14:57:33 +09:30
Toby Zerner
ce91058ab1
Derive base URL from the original URI
2015-08-17 14:57:12 +09:30
Toby Zerner
fec6e39fe1
Fix PHP 5.5 compat
2015-08-17 14:56:39 +09:30
Toby Zerner
1052aa55ea
Implement web installer
2015-08-17 14:12:02 +09:30
Toby Zerner
17dbeefabe
Clean up
2015-08-17 14:11:45 +09:30
Toby Zerner
212880640d
Support table custom table prefix
...
Laravel automatically adds a table prefix to any table names, so we
need to wrap our aliased table in DB::raw.
2015-08-14 12:51:30 +09:30
Toby Zerner
34d4a7ed89
Fix Laravel 5.1 compat
2015-08-14 12:50:32 +09:30
Toby Zerner
8065c980d4
Don't redirect to HTML-only mode if in debug mode
2015-08-14 12:50:15 +09:30
Toby Zerner
6cee3b7160
Automatically derive base_path from base_url
2015-08-14 12:50:00 +09:30
Toby Zerner
014bacb7ab
Add ability to uninstall an extension
2015-08-14 12:48:29 +09:30
Toby Zerner
2edcbacccc
Improve install command, add custom migrations system
...
Implemented our own migration repository + migrator (based on Laravel's
stuff) so that we can keep track of which migrations have been run for
core and per-extension. That way we can simple call the migrator to
upgrade core/extensions, and to uninstall extensions.
2015-08-14 12:47:59 +09:30
Toby Zerner
5bcf6ae630
Add Escaper plugin so that formatting can be escaped
2015-08-13 13:04:56 +09:30
Toby Zerner
58223b8a23
Don't allow empty post content
...
Parsing the post content makes it non-empty (`<t></t>`), so we don't
parse it if it is empty. Also delete a created discussion if the first
post was invalid.
closes flarum/core#224
2015-08-13 13:03:49 +09:30
Toby Zerner
9a0190e13a
Allow post author to see their own deleted post
...
closes flarum/core#225
2015-08-13 13:02:13 +09:30
Toby Zerner
6dd6942e17
Fix avatar uploading permissions
...
closes flarum/core#230
2015-08-13 12:59:40 +09:30
Toby Zerner
9c7fab5d8c
Support running in subdirectory with base_path config
2015-08-13 12:58:59 +09:30
Toby Zerner
aec83b295a
Remove old files
2015-08-13 12:56:26 +09:30
Toby Zerner
6123773001
New listen API
...
Event subscriptions now take place before *any* boot method is called.
This ensures that all event listeners are registered before things
happen – e.g. locales are registered before the translator is
instantiated in the Tags extension's boot method.
2015-08-13 12:55:48 +09:30
Toby Zerner
acf27cebb1
Fix tobscure/json-api compat
2015-08-13 10:41:39 +09:30
Toby Zerner
8aafce5fd8
Fix Laravel 5.1 compat
2015-08-13 10:41:17 +09:30
Toby Zerner
46a69b6b7e
Fix PHP 5.5 compat
...
Might be better to opt for a getLayout method?
2015-08-13 10:41:08 +09:30
Toby Zerner
47595ff9c4
Decouple from Laravel, implement translator
2015-08-12 18:33:39 +09:30
Toby Zerner
9f0358bb39
Update to Laravel 5.1
...
Eloquent `lists()` now returns a collection
2015-08-12 13:24:11 +09:30
Franz Liedke
25c5fb075f
Redo installer
2015-08-12 01:42:39 +02:00
Franz Liedke
7b07e02e75
Use dependency injection in migrations
2015-08-12 01:29:40 +02:00
Toby Zerner
4e01aa10d8
Flush client assets when custom LESS is updated
2015-08-06 16:17:05 +09:30
Toby Zerner
3aebd458b0
Make sure access/email/password tokens are valid
2015-08-06 15:04:38 +09:30
Toby Zerner
2553f4f0a3
Throw an exception if discussion not found
...
closes flarum/core#208
2015-08-06 13:59:09 +09:30
Toby Zerner
edddeeb553
Make some changes to facilitate updates to mentions extension
2015-08-06 13:16:53 +09:30
Toby Zerner
fa5c7cb123
Build very rough HTML-only content
...
And redirect to the "no JS" mode if the JS app crashes on boot.
ClientView/ClientAction is all a bit of a mess and will need to be
radically cleaned up at some point...
2015-08-06 12:21:11 +09:30
Toby Zerner
80e13ae289
Implement default route config setting
2015-08-06 12:18:59 +09:30
Toby Zerner
c361c97394
Enforce discussion renaming/deleting/post editing timed permissions
2015-08-05 19:21:33 +09:30
Toby Zerner
4c06e78b57
Allow/disallow signup per config
2015-08-05 18:19:26 +09:30
Toby Zerner
023eff95e3
Let users see themselves even if they can't see the forum
2015-08-05 18:12:09 +09:30
Toby Zerner
ff8dc5ef25
Enforce forum.view permission
2015-08-05 18:08:31 +09:30
Toby Zerner
ca8fee4685
Let users see their own email/activation status
2015-08-05 16:07:22 +09:30
Toby Zerner
42e382045a
API: Add event for determining user groups for permissions
2015-08-05 16:06:55 +09:30
Toby Zerner
57e37e06ef
Disable "start discussion" button if no permission
2015-08-05 16:06:25 +09:30