Commit Graph

254 Commits

Author SHA1 Message Date
Franz Liedke
be643a1e4b Merge pull request #35 from janga1997/patch-1
Hide diff for compiled diff files
2017-02-20 16:18:48 +01:00
VSN Reddy Janga
dba8ab3244 Hide diff for compiled diff files 2017-02-20 19:27:07 +05:30
Franz Liedke
4fda3ea7d9 Merge pull request #34 from milescellar/patch-1
Update year
2017-01-02 20:03:58 +01:00
Miles Cellar
1464859bfd Update year 2017-01-01 22:42:58 +01:00
Toby Zerner
ec118b93b4 Merge pull request #31 from flarum/analysis-8jJ1xB
Apply fixes from StyleCI
2016-11-29 15:58:28 +10:30
Toby Zerner
c7abaca6bc Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:28:17 +00:00
Toby Zerner
deee3c02da Add TagWillBeSaved event 2016-11-28 11:48:28 +10:30
Toby Zerner
4773b3005d Add tag-user state 2016-11-28 11:48:19 +10:30
Toby Zerner
6a363ef4f1 Extract edit tag submit data for extensibility 2016-11-19 22:12:53 +10:30
Toby Zerner
6f9c6ea3dc Recompile JS 2016-11-19 22:12:03 +10:30
Toby Zerner
5b2966cbc4 Update StyleCI rules 2016-11-16 15:46:28 +10:30
Toby Zerner
11b380c893 Fix permission logic regressions
Make sure permissions that lie "dormant" in the database don't interfere with the global permissions; actually check each tag's permissions rather than using `hasPermissionLike`.

closes flarum/core#1058
closes flarum/core#1062
2016-11-07 22:22:19 +10:30
Toby Zerner
eb279b112a v0.1.0-beta.6 2016-10-19 21:11:56 +10: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
Franz Liedke
e4a4bad601 Make StyleCI happy 2016-06-13 21:06:39 +09:00
Toby Zerner
2c4ccc89f9 Use validator for attribute translations
closes flarum/core#973
2016-06-05 09:28:13 +09:30
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
020d850a3a Disassociate child tag when parent is deleted. fixes flarum/core#962 2016-06-04 16:25:57 +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
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
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
822e823936 Compatibility with new "required permissions" concept 2016-05-27 14:41:48 +09:30
Toby Zerner
c809f329bb Update settings reference 2016-05-26 19:05:28 +09:30
Franz Liedke
84974d3f31 Use newly extracted KeyboardNavigatable util for emoji dropdown
Refs flarum/core#264.
2016-05-15 23:18:29 +09:00
Franz Liedke
7190cd84b4 Use the variables that are already instantiated 2016-05-15 20:58:29 +09:00
Franz Liedke
6e0f77b0e3 Merge pull request #28
Closes flarum/core#600.
2016-04-15 21:06:01 +09:00
Franz Liedke
14eb7c97d0 Only list tags available to current user 2016-04-15 21:01:23 +09:00
Niels Tholenaar
1b23e44b06 Added REST tags endpoint (https://github.com/flarum/core/issues/600) 2016-04-15 09:44:53 +02:00
Toby Zerner
36c4c5d966 Require core v0.1.0-beta.5 2016-03-29 18:50:22 +10:30
Toby Zerner
534a96fb72 Fix checkbox/name/description alignment in tag discussion modal 2016-03-28 11:48:01 +10:30
Franz Liedke
a6ecba220a Do not use model classes in the migrations
See 28f43f805c
2016-03-20 22:48:18 +09:00
Toby Zerner
eb975802ea Remove unmaintained changelog 2016-03-18 09:34:22 +10:30
Toby Zerner
19bf6667f0 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:34:13 +10:30
Toby Zerner
94cfc5e535 Extend Page component to take advantage of performance boost in flarum/core@d1c436c 2016-03-11 13:21:53 +10:30
Toby Zerner
5ff97f53ff Clean up linting stuff 2016-03-10 17:21:02 +10:30
Franz Liedke
fdcf1f12ad Use new shortcut for default settings migration 2016-03-08 00:04:42 +09:00
Toby Zerner
d5f3987cf7 Fix warning when deleting discussion forever
Related to flarum/core#842
2016-03-03 12:53:31 +10:30
Toby Zerner
287bdf10dd Allow child tags in tile to wrap. fixes flarum/core#613 2016-03-01 16:46:14 +10:30
Franz Liedke
d240d4c0ff Use new shortcuts for migrations 2016-02-29 23:43:24 +09:00
Toby Zerner
ec0054cace Prevent tags from overlapping discussion titles
This gives the tag labels a max-width in the discussion list, and overflows them with a gradient to transparency. (Unfortunately this only works in WebKit for now.) When hovering over them, they slide out to show more.

Fixes flarum/core#702
2016-02-29 19:00:38 +10:30
Toby Zerner
c6f0fc0985 Update MergeableInterface method arguments 2016-02-29 18:50:54 +10:30
Toby Zerner
577e51f7ad Only grant a permission for a sub-tag if that permission is granted for its parent too
Previously if a parent tag was restricted but none of its sub-tags were, the sub-tags would be visible and the parent tag would be loaded in the tag list as a result. This adds permission logic so that sub-tags automatically assume the permissions of their parent as a minimum.

Fixes flarum/core#833
2016-02-27 18:06:59 +10:30
Toby Zerner
1d697a6318 Merge pull request #27 from flarum/analysis-8wjM79
Applied fixes from StyleCI
2016-02-26 14:28:19 +10:30