1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 10:11:43 +02:00
Commit Graph

540 Commits

Author SHA1 Message Date
Toby Zerner
01c6c6f3fb Require extensions directory to be writable 2015-08-31 11:22:57 +09:30
Franz Liedke
4a271a7868 Fix asset URL generation
This is important when Flarum is deployed in a subfolder.

Closes #291.
2015-08-29 22:38:31 +02:00
Franz Liedke
13aed29c26 Installer: Check for openssl extension
Closes #296.
2015-08-29 22:07:50 +02:00
Lorenz Bausch
4af20f8101 limit max title length to 80 characters 2015-08-29 11:26:18 +02:00
Lorenz Bausch
c9bac2ed03 remove executable flag from file 2015-08-29 11:23:05 +02:00
Toby Zerner
bb7d51440c Add helpful hint on how to upgrade PHP 2015-08-29 14:44:55 +09:30
Toby Zerner
9c67a39e69 Fix default database name 2015-08-28 14:53:01 +09:30
Toby Zerner
3fab329937 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
Toby Zerner
22ab34f75c Require the PHP DOM extension 2015-08-28 05:30:27 +09:30
Toby Zerner
dc1e192eac 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
Toby Zerner
8601402750 Fix reset password error 2015-08-28 02:16:28 +09:30
Toby Zerner
1b0f9b7a9c Fix incorrect chmod instruction 2015-08-27 21:51:36 +09:30
Toby Zerner
31df87535b Check to make sure directories are writable 2015-08-27 21:45:02 +09:30
Toby Zerner
6e2fe039b3 Fix typo causing bundled extensions to not be enabled 2015-08-27 21:28:15 +09:30
Toby Zerner
b7482b7466 Check some more extension requirements 2015-08-27 20:37:20 +09:30
Toby Zerner
f84d002d35 Don't enable the Pusher extension by default 2015-08-27 20:11:14 +09:30
Toby Zerner
65901ce216 Check some requirements before installation 2015-08-27 20:11:06 +09:30
Toby Zerner
7c214a6b69 User lighter default theme color 2015-08-27 10:51:14 +09:30
Toby Zerner
1090e1f639 Import admin "log out" translation 2015-08-27 10:50:57 +09:30
Toby Zerner
430a8cd575 Polish admin dashboard 2015-08-27 10:50:15 +09:30
Franz Liedke
54ec8364d5 Coding standards 2015-08-27 01:40:18 +02:00
Franz Liedke
8f02a5229a Revert PATH_INFO magic 2015-08-27 01:31:28 +02:00
Franz Liedke
abd6da73f5 Fix config retrieval 2015-08-27 00:58:56 +02:00
Franz Liedke
dafb4c06bc Change base URL etc. in config.php file 2015-08-27 00:47:54 +02:00
Franz Liedke
6e52762b7a By default, don't rewrite API base URL 2015-08-26 23:43:33 +02:00
Franz Liedke
342f797d80 Use path info for routing 2015-08-26 23:39:39 +02:00
Franz Liedke
e4ceb84aaf Extract method 2015-08-26 10:33:41 +02:00
Toby Zerner
f2b05798e2 Redirect using configured base URL 2015-08-26 17:48:25 +09:30
Toby Zerner
f3d45902fc Delete config.php if installation fails 2015-08-26 17:46:49 +09:30
Toby Zerner
455b00e234 Add header comment; PSR-2 fixes; remove seeders 2015-08-26 16:56:32 +09:30
Franz Liedke
30c2a415e0 Cleanup small things in installer 2015-08-26 09:02:28 +02:00
Toby Zerner
d07182622e Autoload the cached PHP renderer 2015-08-26 09:46:20 +09:30
Toby Zerner
bde590b5a6 Use PHP formatter rendering engine
Removes dependency on XSLT extension
2015-08-26 09:34:49 +09:30
Toby Zerner
8525bcf419 Make discussion slug URL parameter optional 2015-08-25 19:32:41 +09:30
Toby Zerner
4419b6d6b1 Migrate extensions in upgrade script 2015-08-18 13:56:49 +09:30
Toby Zerner
91c5cef521 Get generate:extension command working again 2015-08-18 13:56:25 +09:30
Toby Zerner
5f23e8c447 Only delete avatar if it exists 2015-08-17 16:06:51 +09:30
Toby Zerner
f67b7fda6a Ensure posts are sorted correctly 2015-08-17 15:52:39 +09:30
Toby Zerner
a3f0bc9bff Use a relative path to locate migrations 2015-08-17 14:57:33 +09:30
Toby Zerner
624e4076a5 Derive base URL from the original URI 2015-08-17 14:57:12 +09:30
Toby Zerner
0d3b578ea3 Fix PHP 5.5 compat 2015-08-17 14:56:39 +09:30
Toby Zerner
e8e818ac45 Implement web installer 2015-08-17 14:12:02 +09:30
Toby Zerner
4f17b104b5 Clean up 2015-08-17 14:11:45 +09:30
Toby Zerner
94076e5b9c 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
8375bae851 Fix Laravel 5.1 compat 2015-08-14 12:50:32 +09:30
Toby Zerner
6e087f7dc0 Don't redirect to HTML-only mode if in debug mode 2015-08-14 12:50:15 +09:30
Toby Zerner
1a56498bc6 Automatically derive base_path from base_url 2015-08-14 12:50:00 +09:30
Toby Zerner
b0c17c8a60 Add ability to uninstall an extension 2015-08-14 12:48:29 +09:30
Toby Zerner
7bd1cb8513 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
47730cffeb Add Escaper plugin so that formatting can be escaped 2015-08-13 13:04:56 +09:30