1
0
mirror of https://github.com/flarum/core.git synced 2025-08-18 06:11:23 +02:00
Commit Graph

3714 Commits

Author SHA1 Message Date
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
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
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
Sjjad Hashemian
496995d55a Fix quote emoji icons 2016-06-02 15:45:04 +04: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
Toby Zerner
0bd3c16084 Generalise the potential for unapproved state 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 queued for approval.
2016-05-28 09:48:17 +09:30
Toby Zerner
9f4e11097d Add actor information to the PostWasApproved event 2016-05-28 09:46:22 +09:30
Toby Zerner
ff6e674854 Give the is_approved attribute a default value on new Post models 2016-05-28 09:46:03 +09:30
Toby Zerner
cbab23a3f5 Fix bug in permission logic 2016-05-27 14:46:11 +09:30
Toby Zerner
a4a3185233 Add new translations for flarum-ext-approval 2016-05-27 14:42:31 +09:30
Toby Zerner
822e823936 Compatibility with new "required permissions" concept 2016-05-27 14:41:48 +09:30
Toby Zerner
4282b9be20 Add separate "start discussions without approval" permission
- Register required permissions so that "start discussions without approval" can only be set for groups that already have permission to "start discussions" (and same for reply)
- Change the "hidden" trash badge into a more descriptive gavel badge for discussions that are awaiting approval

closes flarum/core#904
2016-05-27 14:40:59 +09:30
Toby Zerner
fd59f0ee48 Prevent mentions summary from blocking post controls 2016-05-26 22:26:05 +09:30
Toby Zerner
c809f329bb Update settings reference 2016-05-26 19:05:28 +09:30