1
0
mirror of https://github.com/flarum/core.git synced 2025-08-18 22:31:32 +02:00
Commit Graph

8744 Commits

Author SHA1 Message Date
Michael Williams
a03edf673c Allow support for passing extra signup data to API 2015-09-01 07:58:14 -07:00
Franz Liedke
bbe9fe4307 Merge pull request #402 from johannsa/master
Fixes enable extension in EntensionManager
2015-09-01 14:58:58 +02:00
Johann Rodríguez
2e5e9f3fdc Fix enable extension in EntensionManager 2015-09-01 12:09:11 +01:00
Franz Liedke
06483dbfb1 Check MySQL version when installing on console
Related to #364.
2015-09-01 08:02:07 +02:00
Franz Liedke
3cb55fbdce Fix typehint 2015-09-01 07:49:06 +02:00
Toby Zerner
4891f2217c API: Add more locale registration APIs 2015-09-01 10:08:37 +09:30
Toby Zerner
150eef8a32 Tidy up default extension metadata 2015-09-01 10:08:37 +09:30
Toby Zerner
4ed5ff5608 Remove redundant call 2015-09-01 10:08:37 +09:30
Toby Zerner
04e711a611 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
Franz Liedke
e4828f49a4 Be more consistent in case AJAX does not work 2015-08-31 22:37:04 +02:00
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
542aa3e8af Check for correct permission 2015-08-31 09:19:12 +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
74f47c58c7 Make sure "restrict by tag" dropdown doesn't go off-screen 2015-08-31 16:13:27 +09:30
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
67f56d44f4 Fix tags not draggable in some instances
closes flarum/core#341
2015-08-31 14:37:08 +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
6db544abb1 Prevent error when saving tag without isHidden attribute
closes flarum/core#289
2015-08-31 13:54:28 +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
b286ff82e0 Make "Choose Tags" link translatable
closes flarum/core#345
2015-08-31 10:56:08 +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
Toby Zerner
bef3f1ba4e Merge pull request #10 from binaryoung/patch-1
Fix issue-email notifications quoting wrong reply
2015-08-30 16:27:24 +09:30
young
b86077dfcf Fix issue-email notifications quoting wrong reply
This commit fix this bug https://github.com/flarum/core/issues/304.Problem not in newPost.blade.php but in this file.
2015-08-30 13:16:06 +08:00
Toby Zerner
fc2025bf44 Correct translation 2015-08-30 10:09:17 +09:30
Franz Liedke
b290161ef4 Make sure query filter works with database prefix, too.
Related to flarum/core#269.
2015-08-29 23:08:36 +02:00
Franz Liedke
74fdf7b79c Make sure query filter works with database prefix
Related to flarum/core#269.
2015-08-29 23:07:21 +02:00
Franz Liedke
a90dfd686a Make sure query filter works with database prefix, too
Related to flarum/core#269.
2015-08-29 23:02:00 +02:00
Franz Liedke
26e6993a49 Make sure query filter works with database prefix, too
Related to flarum/core#269.
2015-08-29 23:00:53 +02:00
Franz Liedke
9fdfb024dd Use existing helper method 2015-08-29 22:49:43 +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