6aafe54ee7
Fix potential error when discussion doesn't exist
...
Not sure how this could be the case, but can't hurt to add the checks.
addresses #343
2015-09-01 10:08:36 +09:30
4c34d0867d
Add field for table prefix in web installer
...
Related to #269 .
2015-08-31 09:10:27 +02:00
f2a3a0cb10
Require the PHP fileinfo extension
...
It's required for the intervention/image package
2015-08-31 15:29:20 +09:30
5b7527144c
Permit trailing slashes in discussion/user URLs
...
closes #334
2015-08-31 14:43:42 +09:30
6c169499b5
Only migrate enabled extensions when upgrading
...
Also remove the Extension::install() and Extension::uninstall()
methods, because they add nothing that can't be done with migrations.
2015-08-31 14:35:52 +09:30
5e22458014
Installer: Prevent crash when views directory is not writable
...
Use plain PHP templates instead of Blade templates so there is nothing
that needs to be written.
closes #376
2015-08-31 14:25:16 +09:30
c72bdc8238
Fix Laravel 5.1 compat
...
closes #307
2015-08-31 14:07:11 +09:30
bcc16a3329
Add target="_blank" and rel="nofollow" to all formatted links
...
closes #247
2015-08-31 13:36:54 +09:30
f5517fbd88
Validate password length
...
We can't do this using the ValidatesBeforeSave trait because the
password has been hashed by then. Instead, we must validate the
original password as it comes in.
2015-08-31 12:38:15 +09:30
6a0e3fcf2d
Validate post length to prevent truncation
...
closes #235
2015-08-31 12:36:19 +09:30
9f28b4e8dc
Require extensions directory to be writable
2015-08-31 11:22:57 +09:30
1d1cc9e443
Fix asset URL generation
...
This is important when Flarum is deployed in a subfolder.
Closes #291 .
2015-08-29 22:38:31 +02:00
f5d2d2ff79
Installer: Check for openssl extension
...
Closes #296 .
2015-08-29 22:07:50 +02:00
a4fe6f3ce3
limit max title length to 80 characters
2015-08-29 11:26:18 +02:00
ae06b45bc1
remove executable flag from file
2015-08-29 11:23:05 +02:00
12d5e48b95
Add helpful hint on how to upgrade PHP
2015-08-29 14:44:55 +09:30
bb3c57f9a4
Fix default database name
2015-08-28 14:53:01 +09:30
d5074c5286
Use gd as the image driver
...
Presumably gd is more common than imagick, and we already check for it
during installation.
2015-08-28 05:41:25 +09:30
41019597d0
Require the PHP DOM extension
2015-08-28 05:30:27 +09:30
b689c9de3b
Allow non-admins to reset their password
...
The EditUser command requires the actor to have the "edit" permission,
which is only granted to admins. We don't want to allow users to change
their own password via the API, though. So instead of dispatching the
command, we'll just update the user's password directly in the action.
2015-08-28 03:38:55 +09:30
baed659668
Fix reset password error
2015-08-28 02:16:28 +09:30
268b041da2
Fix incorrect chmod instruction
2015-08-27 21:51:36 +09:30
7d9527e5a0
Check to make sure directories are writable
2015-08-27 21:45:02 +09:30
a289884f7c
Fix typo causing bundled extensions to not be enabled
2015-08-27 21:28:15 +09:30
822b31468a
Check some more extension requirements
2015-08-27 20:37:20 +09:30
d050a7775f
Don't enable the Pusher extension by default
2015-08-27 20:11:14 +09:30
5c5be89928
Check some requirements before installation
2015-08-27 20:11:06 +09:30
2820ae8ac7
User lighter default theme color
2015-08-27 10:51:14 +09:30
498aac5b76
Import admin "log out" translation
2015-08-27 10:50:57 +09:30
b0db7bf751
Polish admin dashboard
2015-08-27 10:50:15 +09:30
559110a83f
Coding standards
2015-08-27 01:40:18 +02:00
c0030dc98a
Revert PATH_INFO magic
2015-08-27 01:31:28 +02:00
3b2a0697e2
Fix config retrieval
2015-08-27 00:58:56 +02:00
9ec54ad892
Change base URL etc. in config.php file
2015-08-27 00:47:54 +02:00
49f20995b2
By default, don't rewrite API base URL
2015-08-26 23:43:33 +02:00
1e1f9e51ee
Use path info for routing
2015-08-26 23:39:39 +02:00
d12106809f
Extract method
2015-08-26 10:33:41 +02:00
b194f07a72
Redirect using configured base URL
2015-08-26 17:48:25 +09:30
3e804ca0b5
Delete config.php if installation fails
2015-08-26 17:46:49 +09:30
0b8aa5c124
Add header comment; PSR-2 fixes; remove seeders
2015-08-26 16:56:32 +09:30
dae8e617ae
Cleanup small things in installer
2015-08-26 09:02:28 +02:00
8ec342f6cb
Autoload the cached PHP renderer
2015-08-26 09:46:20 +09:30
b67ae4c8a3
Use PHP formatter rendering engine
...
Removes dependency on XSLT extension
2015-08-26 09:34:49 +09:30
b8fc0bc376
Make discussion slug URL parameter optional
2015-08-25 19:32:41 +09:30
3392d9fdcf
Migrate extensions in upgrade script
2015-08-18 13:56:49 +09:30
71c7740086
Get generate:extension command working again
2015-08-18 13:56:25 +09:30
edccd10693
Only delete avatar if it exists
2015-08-17 16:06:51 +09:30
a32250884c
Ensure posts are sorted correctly
2015-08-17 15:52:39 +09:30
2b812ab211
Use a relative path to locate migrations
2015-08-17 14:57:33 +09:30
ce91058ab1
Derive base URL from the original URI
2015-08-17 14:57:12 +09:30