Commit Graph

1443 Commits

Author SHA1 Message Date
Franz Liedke
cb1ae3bdce Try to fix Safari bug during installation 2015-08-31 22:35:12 +02:00
Franz Liedke
1888b6e0c1 Merge pull request #387 from rodymol123/master
Align select input properly
2015-08-31 22:04:46 +02:00
Rody Molenaar
64033af4a6 Align select 2015-08-31 21:57:43 +02:00
Franz Liedke
75b8f1f13e Add field for table prefix in web installer
Related to #269.
2015-08-31 09:10:27 +02:00
Toby Zerner
b74976339d Require the PHP fileinfo extension
It's required for the intervention/image package
2015-08-31 15:29:20 +09:30
Toby Zerner
f606dc7020 Permit trailing slashes in discussion/user URLs
closes #334
2015-08-31 14:43:42 +09:30
Toby Zerner
9024cabcb3 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
Toby Zerner
5f9f42dc4b 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
Toby Zerner
e49ffeea35 Fix Laravel 5.1 compat
closes #307
2015-08-31 14:07:11 +09:30
Toby Zerner
7b0f599b48 Reload post if user relationship isn't loaded
May fix #295, but haven't been able to reproduce/test.
2015-08-31 14:03:08 +09:30
Toby Zerner
41e7ee712b Properly style modal title bar on mobile
closes #286
2015-08-31 13:46:59 +09:30
Toby Zerner
6bad43e80b Use GroupBadge component to display user badges
closes #277
2015-08-31 13:44:05 +09:30
Toby Zerner
bb5c50d564 Add target="_blank" and rel="nofollow" to all formatted links
closes #247
2015-08-31 13:36:54 +09:30
Toby Zerner
1923537261 Fix reply composer preview button
closes #238
2015-08-31 13:27:04 +09:30
Toby Zerner
1f86514326 Fix JavaScript style 2015-08-31 13:19:51 +09:30
Toby Zerner
a54c6376d8 Add syntax highlighting for code blocks
We might consider extracting this into an extension, but TextFormatter
does syntax highlighting for code blocks by default in live previews
anyway.

closes #248
2015-08-31 13:17:16 +09:30
Toby Zerner
fc9d0ff659 Fix incorrect translation output
app.trans returns a VirtualElement, so there's no need to wrap it in
m.trust.

closes #237
2015-08-31 12:41:36 +09:30
Toby Zerner
9b5b97ff63 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
Toby Zerner
81e0ac7f90 Validate post length to prevent truncation
closes #235
2015-08-31 12:36:19 +09:30
Toby Zerner
2f72ff3bc1 Extract base Page class 2015-08-31 12:05:33 +09:30
Toby Zerner
71d3a1df33 Refactor start/endComputation into lazyRedraw method 2015-08-31 12:04:51 +09:30
Toby Zerner
01c6c6f3fb Require extensions directory to be writable 2015-08-31 11:22:57 +09:30
Toby Zerner
ad3f4ff718 Remove <script> tags from plain post content
closes #362
2015-08-31 10:49:24 +09:30
Franz Liedke
b8ba44b274 Fix last commit 2015-08-30 15:02:48 +02:00
Franz Liedke
e5a17e8e21 Travis: Use Composer scripts 2015-08-30 15:00:01 +02:00
Franz Liedke
099d66187d Add Composer scripts 2015-08-30 14:59:10 +02:00
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
Franz Liedke
5fc23ff012 Allow Ctrl key for submitting posts, too
Closes #276.
2015-08-29 17:09:14 +02:00
Toby Zerner
e0552239b6 Merge pull request #338 from lbausch/discussion_validation
Add validation to limit discussion title length
2015-08-29 18:58:42 +09:30
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
2451ec21b9 Include the extension stub's .gitignore file 2015-08-29 18:29:33 +09:30
Toby Zerner
7163b8e746 Add CONTRIBUTING
(copied from flarum/flarum)
2015-08-29 18:29:19 +09:30
Toby Zerner
616d3e30ee Allow string primitives to be added to ItemLists 2015-08-29 15:25:36 +09:30
Toby Zerner
bb7d51440c Add helpful hint on how to upgrade PHP 2015-08-29 14:44:55 +09:30
Toby Zerner
b51add6708 Merge pull request #299 from huytd/fix-wordwrap
Fix text overlap in search result with long content
2015-08-29 08:31:37 +09:30
Huy Tran
4d715fb0df Fix text overlap in search result with long content 2015-08-28 15:18:17 -07:00
Toby Zerner
9c67a39e69 Fix default database name 2015-08-28 14:53:01 +09:30
Toby Zerner
5d3ea065a9 Merge pull request #278 from huytd/https-web-font
Make Google Web Font work on both HTTP and HTTPS
2015-08-28 12:50:12 +09:30
Huy Tran
8b5a346259 Make Google Web Font work on both HTTP and HTTPS 2015-08-27 20:17:42 -07:00
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