1
0
mirror of https://github.com/flarum/core.git synced 2025-08-29 02:50:57 +02:00
Commit Graph

8745 Commits

Author SHA1 Message Date
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
Toby Zerner
55f23cf49b Actually test IlluminateValidationExceptionHandler 2016-06-05 09:25:47 +09:30
Toby Zerner
bdc0bd3d02 Distinguish between attributes/relationships in ValidationException
This exception could be a candidate for inclusion in tobscure/json-api...
2016-06-05 09:25:26 +09:30
Toby Zerner
1d0621951b Make alert control color consistent on focus 2016-06-05 09:23:36 +09:30
Toby Zerner
d2dc0d05e5 Move phpunit.xml into root to make PHPUnit easier to run
This seems to be pretty standard. Can just run `vendor/bin/phpunit` without any arguments. Removes the need for `composer test` (which is not ideal anyway as it removes colours from the output).
2016-06-05 09:16:29 +09:30
dcsjapan
f72295634b Move attributes to validation
- Moves attributes added in #79 to `validation.yml`.
- See flarum/core#973.
- `SaveTagsToDatabase.php` need to be revised to use these phrases.
- Caution: key names have been changed as well!
2016-06-04 23:30:54 +09:00
Toby Zerner
619698f755 Merge pull request #81 from maelsoucaze/patch-4
Quote strings with special or reserved characters
2016-06-04 22:50:11 +09:30
Maël Soucaze
ec00660cba Quote strings with special or reserved characters
These strings contain commas and should be quoted.
Source: http://symfony.com/doc/current/components/yaml/yaml_format.html#strings
2016-06-04 14:57:57 +02:00
Toby Zerner
b27ac6004a Merge pull request #10 from dcsjapan/rename-key
Adjust ID key name
2016-06-04 18:59:58 +09:30
Toby Zerner
fcc4c9d258 Merge pull request #80 from dcsjapan/rename-key
Adjust ID key name and move API key
2016-06-04 18:59:50 +09:30
dcsjapan
ae3fab8a34 Adjust ID key name and move API key
- Adjusts the key for the "Follow after reply" setting.
- Supports flarum/flarum-ext-subscriptions/pull/10.
- Moves `api` section below `views`.
2016-06-04 18:26:46 +09:00
dcsjapan
45832485d1 Adjust ID key name
- Adjusts the key for the "Follow after reply" setting.
2016-06-04 18:22:39 +09:00
Toby Zerner
5189744038 Use Illuminate to validate tag counts and thus make errors translatable. closes flarum/core#973 2016-06-04 18:46:24 +09:30
Toby Zerner
4a744b1dbd Add new translations for admin Appearance page 2016-06-04 18:45:12 +09:30
Toby Zerner
44d44ef0aa Increase muted text contrast 2016-06-04 18:10:22 +09:30
Toby Zerner
79fff37bce Add ability to upload a logo + favicon, and add custom header HTML
Closes #268. Not going to bother with a preview SVG or anything fancy for now – we can think about that as part of #746. Right now it's just good to finally get this functionality in!

Also need to think about apple-touch-icon, msTile stuff, and social sharing image. Not sure if this is all too much for core, but it's definitely too much for the current Appearance page layout. Again, something to think about as part of #746.

Code is a bit rough around the edges, but figured there's not much point in using the command bus properly since #870.
2016-06-04 18:05:46 +09:30
Toby Zerner
7e0ce33d81 Merge pull request #79 from dcsjapan/extract-errors
Add translations for API error messages
2016-06-04 17:14:09 +09:30
dcsjapan
c67c7bf638 Add translations for API error messages
- Adds `:attribute` values for use in `validation.between.numeric`.
- Partially solves flarum/core/#973.
- Code needs to be revised to use these phrases.
2016-06-04 16:07:07 +09:00
Toby Zerner
020d850a3a Disassociate child tag when parent is deleted. fixes flarum/core#962 2016-06-04 16:25:57 +09:30
Dominion
1c475ea63f Add newline to locale switch (#974)
- Added to match format of other sections and increase readability.
2016-06-04 13:43:47 +09:30
Toby Zerner
5ca9b43b7e Convert EditCustomCssModal into a SettingsModal 2016-06-03 14:51:51 +09:30
Toby Zerner
1935cca730 Increase text contrast in dark mode 2016-06-03 14:51:00 +09:30
Toby Zerner
bfa9a1d68e Support quote button on mobile; make reply button behaviour consistent
closes flarum/core#972
2016-06-03 11:24:33 +09:30