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
Toby Zerner
c3f0f3b14c
Fix up some references to old classes
2016-05-29 16:01:58 +09:30
Toby Zerner
2a75581b13
Use smaller FontAwesome shim repo instead of original
...
components/font-awesome is ~8 MB smaller than fortawesome/font-awesome because it excludes all examples/docs. Reducing dependency filesize will be important when we want to package up a .zip for distribution.
2016-05-29 10:21:37 +09:30
Toby Zerner
7d5bc472f8
Revert "Simplify discussion/tag permission logic"
...
This reverts commit 01e776e2be
.
Turns out that there was a good reason for the original logic... the case of per-tag moderators.
2016-05-28 20:49:43 +09:30
Franz Liedke
16f3a09856
Deduplicate emojis even after using multiple matchers
...
Fixes flarum/core#968 .
2016-05-28 16:22:31 +09:00
Toby Zerner
9661e05c83
Update permission icon for consistency
2016-05-28 10:03:27 +09:30
Toby Zerner
1629e7fbb4
Add separate tag permission for being able to add that tag to discussions
...
By default this is just the same as the "startDiscussion" permission, but flarum-ext-approval comes in and denies "addToDiscussion" specifically for tags where the user can't start discussions without approval.
ref flarum/core#904
2016-05-28 10:03:00 +09:30
Toby Zerner
01e776e2be
Simplify discussion/tag permission logic
...
A user now must have a permission to act for *all* tags assigned to a discussion, rather than just one of them. This is consistent with the way the permissions are worked out for visibility.
2016-05-28 10:00:41 +09:30
Toby Zerner
e3278070ac
Rename DiscussionWasTagged user property for consistency
2016-05-28 09:55:45 +09:30
Toby Zerner
63a4b34d6e
Serialise tag IDs to integers rather than strings
2016-05-28 09:54:39 +09:30
Toby Zerner
823233b0da
Generalise the potential for display of flags to all posts, rather than just comments
...
This is just more future-proofing, in case any other extensions introduce new post types which can be flagged.
2016-05-28 09:53:42 +09:30
Toby Zerner
d0c54cdbf9
Only allow OP to add tags that they can start discussions without approval in
...
closes flarum/core#904
2016-05-28 09:52:47 +09:30
Toby Zerner
badd03f3a3
Give the hidden/trash badge precedence over the awaiting approval badge
...
Given flarum/core@2d5a7ce , the hidden badge will no longer display for discussions awaiting approval – it will only display if the discussion has *actually* been marked as deleted by the OP. Thus, this information should have precedence. (There isn't much point in displaying both badges, I don't think.)
2016-05-28 09:50:45 +09:30