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
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
Toby Zerner
1dc495dfdd Use new event name 2016-06-03 11:03:17 +09:30
Toby Zerner
947587272a Recompile dist JS using latest version of babel 2016-06-03 11:03:11 +09:30
Toby Zerner
0c8d14b14e Use new event name 2016-06-03 11:03:04 +09:30
Toby Zerner
a27c108385 Recompile dist JS using latest version of babel 2016-06-03 11:02:58 +09:30
Toby Zerner
2c10a42d6b Use new event name 2016-06-03 11:02:48 +09:30
Toby Zerner
e16b960242 Recompile dist JS using latest version of babel 2016-06-03 11:02:43 +09:30
Toby Zerner
dce149b536 Use new event name 2016-06-03 11:02:34 +09:30
Toby Zerner
5c6089b4df Recompile dist JS using latest version of babel 2016-06-03 11:02:28 +09:30
Toby Zerner
c11738cdf5 Use new event name 2016-06-03 11:02:19 +09:30
Toby Zerner
d6b78c78bd Recompile dist JS using latest version of babel 2016-06-03 11:02:13 +09:30
Toby Zerner
999ef82d55 Use new event name 2016-06-03 11:02:05 +09:30
Toby Zerner
0e8061c32f Use new event name 2016-06-03 11:01:58 +09:30
Toby Zerner
8035415785 Recompile dist JS using latest version of babel 2016-06-03 11:01:52 +09:30
Toby Zerner
55f7fa8fdb Use new event name 2016-06-03 11:01:45 +09:30
Toby Zerner
f4e4f10624 Recompile dist JS using latest version of babel 2016-06-03 11:01:39 +09:30
Toby Zerner
b6545a5f8e Use new event name 2016-06-03 11:01:31 +09:30
Toby Zerner
b11659de2f Recompile dist JS using latest version of babel 2016-06-03 11:01:25 +09:30
Toby Zerner
f1e1efdc31 Use new event name 2016-06-03 11:01:17 +09:30
Toby Zerner
ce537f195d Recompile dist JS using latest version of babel 2016-06-03 11:01:11 +09:30
Toby Zerner
c1e593db0f Recompile dist JS using latest version of babel 2016-06-03 10:59:57 +09:30
Toby Zerner
72bff02d68 Recompile dist JS using latest version of babel 2016-06-03 10:58:39 +09:30
Toby Zerner
f902c949c4 Use new event name 2016-06-03 10:58:24 +09:30
Toby Zerner
bb2b5b0ad4 Recompile dist JS using latest version of babel 2016-06-03 10:58:11 +09:30
Toby Zerner
9c6466338c Unapprove discussions too 2016-06-03 10:58:05 +09:30
Toby Zerner
9810952d1d Recompile dist JS using latest version of babel 2016-06-03 10:57:42 +09:30
Toby Zerner
ef5fd104f7 Add option to write the config file to a different path 2016-06-03 10:55:50 +09:30
Toby Zerner
87430a20a7 Merge pull request #20 from sijad/quote-emoji
Fix quote emoji icons
2016-06-02 23:45:46 +09:30
Sjjad Hashemian
496995d55a Fix quote emoji icons 2016-06-02 15:45:04 +04:30