1
0
mirror of https://github.com/flarum/core.git synced 2025-08-27 10:05:47 +02:00
Commit Graph

8867 Commits

Author SHA1 Message Date
Davis
430bfc63c9 Create ExtensionWillBeEnabled.php 2016-09-12 17:07:00 -05:00
Davis
7b8679ca76 Forgot the extension :/ 2016-09-12 17:05:41 -05:00
Davis
14dd13943c Create ExtensionWillBeDisabled 2016-09-12 16:57:24 -05:00
Toby Zerner
14ee7614ac Remove duplicated code 2016-09-03 23:14:17 +09:30
Toby Zerner
109782154c Prevent page zoom on input focus in iOS 10. fixes flarum/core#1023 2016-09-03 23:12:59 +09:30
Sheldon Fernandes
ed0691a071 Automatically focus on composer textarea on iOS. closes flarum/core#995 2016-09-03 23:11:56 +09:30
Toby Zerner
18a4b6d4b1 Fix another fatal error 2016-09-03 22:32:06 +09:30
Toby Zerner
ab6e899c7e Fix fatal error when viewing a discussion with multiple pages of posts 2016-09-03 22:30:22 +09:30
Toby Zerner
9059b7ad79 Fix locale JS files not being added; add (temporary?) API to add locale CSS files
fixes flarum/core#970
2016-09-03 22:22:36 +09:30
Toby Zerner
f267a63ffe Apply visibility permissions to mentionedBy relationship. fixes flarum/core#853 2016-09-03 21:50:09 +09:30
Toby Zerner
7a7649ec7f Extract new method to filter a list of post IDs by visibility 2016-09-03 21:46:22 +09:30
Toby Zerner
46f3c13947 Add missing property declaration 2016-09-03 21:45:45 +09:30
David Sevilla Martin
e33c33a58f Fixed error when user is not logged in; fixed notification count not updating when clicking home link (added m.redraw) 2016-08-30 10:35:31 -04:00
Toby Zerner
c3cb99549c Merge pull request #21 from nodum/master
Fix: Someuser vs. You (mention) -- In English: the same.
2016-08-29 17:16:58 +09:30
Wietse Wind
9ca106e136 Amend Pull Request #21 2016-08-29 09:37:20 +02:00
Wietse Wind
bb35bd5268 Fix: Someuser vs. You (mention) -- In English: the same. In Dutch: Jij hebt / Someuser HEEFT -> _self text was ignored, comparing POST with USER object. 2016-08-29 09:27:30 +02:00
Toby Zerner
f07abda4e6 Make search dropdown filtering case-insensitive. closes flarum/core#961 2016-08-28 00:00:20 +09:30
Toby Zerner
ddfc41c6f7 Disallow svg images to be erroneously uploaded
Laravel's `image` validation rule allows svg files to pass validation, but we can't handle svgs so it would result in an unspecified 500 error which isn't nice.
2016-08-27 23:54:18 +09:30
Toby Zerner
b7586e819b Remove temporary file after avatar upload failure. closes flarum/core#999 2016-08-27 23:53:02 +09:30
Toby Zerner
883e1188b4 Fix post header items sometimes getting out of order. closes flarum/core#975
Interesting bug. Turns out that the JSX for the post header item list was producing m('ul', null, [children]), as you would expect. But Mithril 0.1.x interprets the null as another child rather than an attributes splat. This results in an empty text node being added to the DOM, which mucks up Mithril's diffing algorithm when it tries to add/move the items that we provide in the children array. The workaround is to not use JSX so we can get rid of that null/empty text node. This behaviour has been fixed in Mithril 1.0 so we will be able to remove the workaround.
2016-08-27 23:41:54 +09:30
Toby Zerner
c80eb02c51 Update bower deps 2016-08-27 23:37:16 +09:30
Toby Zerner
cf7e132a8a Avoid JSX to workaround Mithril 0.1.x weirdness. closes flarum/core#975 2016-08-27 23:33:34 +09:30
Toby Zerner
78bb373a22 Make discussion isApproved attribute available when fetching notifications. fixes flarum/core#976 2016-08-27 22:51:09 +09:30
Toby Zerner
d68c8e6adb Fix typo 2016-08-03 13:11:23 +09:30
Toby Zerner
e84788d646 Merge pull request #29 from coderstephen/master
Add posts API filter for tags
2016-08-02 22:06:34 +10:00
Stephen M. Coakley
bf490d19a2 Add posts API filter for tags
Add the means of filtering post queries by the tags of the posts' parent discussions. See https://github.com/flarum/core/issues/990.
2016-08-01 14:10:06 -05:00
Toby Zerner
cef645c71e Merge pull request #1011 from zcodes/master
Fixed fontawesome relative path
2016-07-30 16:08:46 +10:00
zcodes
33b0a4ecba reduce fontawesome relative path in less files. 2016-07-30 13:17:17 +08:00
Toby Zerner
4824b9583f Merge pull request #1012 from JoshyPHP/TextFormatter-0.6.0
Updated s9e\TextFormatter to 0.6.1
2016-07-30 12:43:27 +10:00
JoshyPHP
e681f75ee7 Updated s9e\TextFormatter to 0.6.1 2016-07-30 03:53:32 +02:00
zcodes
b052b33bbd Fixed fontawesome relative path
If install flarum in the site's root directory, it seems nothing
is wrong because the server software will trim the path, but if
install flarum in a sub directory, the font file of fontawesome
will not load correctly.
2016-07-29 22:02:50 +08:00
Toby Zerner
51de7ca503 Merge pull request #1007 from datitisev/1002-break-words-in-post-with-excesive-width
#1002 Handle word wrapping properly in posts
2016-07-29 21:23:31 +10:00
David Sevilla Martin
f0e96a0002 Bringing back those "use strict";. Sorry 'bout that 2016-07-28 10:47:09 -04:00
David Sevilla Martin
d74367141e Commiting dist/app.js 2016-07-26 11:34:47 -04:00
David Sevilla Martin
f79d0eea19 Refresh notifications with discussion list refresh
* When clicking "refresh" button for discussion list (on homepage) refresh notifications
* When clicking forum title (on homepage) refresh notifications
2016-07-26 11:25:05 -04:00
David Sevilla Martin
fb32bbc92b Handle word wrapping properly in posts
* Added overflow-wrap break-word to .Post-body
* Added overflow-wrap normal to pre in .Post-body for code blocks (may change)
2016-07-24 12:16:00 -04:00
Maël Soucaze
dd2376e42f Add language line for file validation rule. (#83)
See: cd03204044
2016-07-05 23:47:32 +09:00
Niels Tholenaar
65da26228c Fixes #825 2016-06-20 12:34:41 +02:00
Franz Liedke
85dd911d4d Recompile dist file 2016-06-14 23:09:02 +09:00
Franz Liedke
fb7d1968c5 Remove unused import 2016-06-13 21:09:16 +09:00
Franz Liedke
4ef40435e3 Make StyleCI happy 2016-06-13 21:08:17 +09:00
Franz Liedke
e4a4bad601 Make StyleCI happy 2016-06-13 21:06:39 +09:00
Franz Liedke
64c8b1ad98 Make StyleCI happy 2016-06-13 21:05:19 +09:00
Franz Liedke
a57c337a24 Log exceptions in error handler middleware 2016-06-12 17:22:28 +09:00
Toby Zerner
6e95762236 Fix updater 2016-06-05 15:07:15 +09:30
Toby Zerner
031456cc86 Give posts with likes/replies a little more bottom padding 2016-06-05 12:10:22 +09:30
Toby Zerner
856906d208 Update for beta 6, fix some errors 2016-06-05 09:54:25 +09:30
Toby Zerner
dbf5c1ac2c Clean up unnecessary alias 2016-06-05 09:53:23 +09:30
Toby Zerner
abecb15232 Display header HTML in layout rather than app wrapper
This is so a custom layout can opt-out of displaying header HTML (e.g. embed extension)
2016-06-05 09:53:08 +09:30
Toby Zerner
2c4ccc89f9 Use validator for attribute translations
closes flarum/core#973
2016-06-05 09:28:13 +09:30