Commit Graph

1408 Commits

Author SHA1 Message Date
3c9d851889 Check prerequisites in console installer, too 2015-09-03 08:42:16 +02:00
942db77416 Extract installation prerequisites into composable classes and use those in the web-based installer 2015-09-03 08:23:34 +02:00
04db806995 Update RouteCollection.php 2015-09-02 19:22:40 +03:00
f3bc7d1c23 Update RouteCollection::getPath
This version work faster - old code create closure at every calling getPath
2015-09-02 10:58:44 +03:00
bd47653377 Merge pull request #403 from mtotheikle/allow-extra-signup-data
Allow support for passing extra signup data to API
2015-09-01 18:28:53 +02:00
07ed4d10c0 Allow support for passing extra signup data to API 2015-09-01 07:58:14 -07:00
25141c0f2f Merge pull request #402 from johannsa/master
Fixes enable extension in EntensionManager
2015-09-01 14:58:58 +02:00
e35bb9e400 Fix enable extension in EntensionManager 2015-09-01 12:09:11 +01:00
753a846e7a Check MySQL version when installing on console
Related to #364.
2015-09-01 08:02:07 +02:00
d3e57d77b4 Fix typehint 2015-09-01 07:49:06 +02:00
6e0bffe395 API: Add more locale registration APIs 2015-09-01 10:08:37 +09:30
eec4e97d65 Tidy up default extension metadata 2015-09-01 10:08:37 +09:30
bf83b36882 Remove redundant call 2015-09-01 10:08:37 +09:30
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
c91f8de1f5 Be more consistent in case AJAX does not work 2015-08-31 22:37:04 +02:00
5783dbe77b Try to fix Safari bug during installation 2015-08-31 22:35:12 +02:00
ab496eb8f8 Merge pull request #387 from rodymol123/master
Align select input properly
2015-08-31 22:04:46 +02:00
6f13a246db Align select 2015-08-31 21:57:43 +02:00
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
2438bbfd41 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
5af5f1fc77 Properly style modal title bar on mobile
closes #286
2015-08-31 13:46:59 +09:30
e7f4e5060c Use GroupBadge component to display user badges
closes #277
2015-08-31 13:44:05 +09:30
bcc16a3329 Add target="_blank" and rel="nofollow" to all formatted links
closes #247
2015-08-31 13:36:54 +09:30
283abb88c2 Fix reply composer preview button
closes #238
2015-08-31 13:27:04 +09:30
af2307868a Fix JavaScript style 2015-08-31 13:19:51 +09:30
f9d724738c 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
42e722d824 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
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
0ae2d18f28 Extract base Page class 2015-08-31 12:05:33 +09:30
0474f410a4 Refactor start/endComputation into lazyRedraw method 2015-08-31 12:04:51 +09:30
9f28b4e8dc Require extensions directory to be writable 2015-08-31 11:22:57 +09:30
f44e9f5140 Remove <script> tags from plain post content
closes #362
2015-08-31 10:49:24 +09:30
3e14ef0714 Fix last commit 2015-08-30 15:02:48 +02:00
c999226449 Travis: Use Composer scripts 2015-08-30 15:00:01 +02:00
ba097dc147 Add Composer scripts 2015-08-30 14:59:10 +02:00
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
a04acca92e Allow Ctrl key for submitting posts, too
Closes #276.
2015-08-29 17:09:14 +02:00
4033319ed0 Merge pull request #338 from lbausch/discussion_validation
Add validation to limit discussion title length
2015-08-29 18:58:42 +09:30
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
be33761950 Include the extension stub's .gitignore file 2015-08-29 18:29:33 +09:30
015aaaa899 Add CONTRIBUTING
(copied from flarum/flarum)
2015-08-29 18:29:19 +09:30
67f6b8599d Allow string primitives to be added to ItemLists 2015-08-29 15:25:36 +09:30