Commit Graph

262 Commits

Author SHA1 Message Date
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
Toby Zerner
746ecac10a Applied fixes from StyleCI 2016-02-25 22:58:13 -05:00
Toby Zerner
5039e30d99 Add StyleCI config 2016-02-26 14:03:08 +10:30
Toby Zerner
f494b8369d Fix color validation regex. closes flarum/core#827 2016-02-26 10:41:19 +10:30
Franz Liedke
ceda88d701 Add another missing copyright header 2016-02-24 23:31:04 +09:00
Franz Liedke
dd92088b5c Use new migration format 2016-02-24 23:14:20 +09:00
Toby Zerner
fb67393f81 Use correct validation rules for description. closes flarum/core#793 2016-02-11 08:59:30 +10:30
Toby Zerner
873b9fd780 Fix Tags page "start a discussion" button having a fixed width in Firefox
Fixes flarum/core#349
2016-02-07 12:10:58 +10:30
Franz Liedke
32af5838b2 Merge pull request #26 from jwdeitch/patch-1
Added validation for tags
2016-01-25 14:50:18 +01:00
jwdeitch
91eb39d615 Update TagValidator.php 2016-01-25 07:58:22 -05:00
jwdeitch
245270e629 Added validation for tags
https://github.com/flarum/core/issues/758
2016-01-24 23:06:57 -05:00
Toby Zerner
155b268319 Add Composer branch-alias
This allows installations to require version 0.1.0 with minimum-stability=dev, and they will get the latest from master.

See flarum/core#727
2016-01-19 17:17:46 +10:30
Toby Zerner
84f869abf2 Commit latest dist files
See https://github.com/flarum/core/issues/727#issuecomment-172384020
2016-01-19 16:53:31 +10:30
Toby Zerner
d1ce9b1fd0 Grant global discussion permissions so that unrestricted tag permissions work
Say you have limited viewing/starting discussions globally to admins, and then have a single tag which allows everyone to view/start discussions. Previously this wouldn't work as expected because the non-admin would be stopped because when the core command checks for the global permission.
2016-01-16 14:06:00 +10:30
Toby Zerner
46c1dbfb2a Sort child tags in tiles 2016-01-06 09:04:04 +10:30
Toby Zerner
169222aa04 Add class when TagHero is colored 2016-01-04 16:57:07 +10:30
Toby Zerner
a8c9e65bc9 Merge pull request #25 from maelsoucaze/patch-1
Update year range in LICENSE
2016-01-02 17:04:47 +10:30
Maël Soucaze
f209b25f2c Update year range in LICENSE
Because some changes have been done on that year.
2016-01-02 07:11:25 +01:00
Toby Zerner
290b426bf2 Only allow starting a discussion on a non-restricted tag if the user has the global permission 2016-01-02 14:57:01 +10:30
Toby Zerner
ec5c639bb6 Scroll overflowing tag tile contents
This is just a stopgap fix for flarum/core#653; I would like to revise the tag page layout at some point.
2016-01-02 14:55:48 +10:30
Toby Zerner
6c3cb3f558 Rename package 2015-12-29 12:56:02 +10:30
Franz Liedke
38cf04522e Clean up code 2015-12-11 21:16:38 +01:00
Franz Liedke
1ff5d94324 Merge pull request #24 from cmaas/master
Includes primary tag when starting a discussion under secondary tag.
2015-12-11 21:14:35 +01:00
ntaso
1680b1bfe9 Includes primary tag when starting a discussion under secondary tag. Fixes #424. 2015-12-11 17:55:02 +01:00
Toby Zerner
1e6ab2c89d Merge pull request #23 from dbohn/master
Fixing Issue flarum/core#330
2015-11-30 09:12:28 +10:30
David Bohn
5c52f3fae0 Added Change Tags Item to PermissionGrid
Fixed missing bower install and added TODO for translation

Added check to allow edit of tags for author in backend

Fixed code style, added translation key

Extracted tag permissions into method and restored original extension.js

Adressing chaining of policy issue
2015-11-29 23:19:18 +01:00
Toby Zerner
f3a4174780 Truncate long tag names in tag selection modal 2015-11-25 15:45:51 +10:30
Toby Zerner
f199170054 Fix last commit 2015-11-21 15:14:53 +10:30
Toby Zerner
19e40f76fe Properly overflow tag selection input 2015-11-21 15:11:27 +10:30
Toby Zerner
fdd837ae7e Use correct setting keys 2015-11-20 12:38:20 +10:30
Toby Zerner
56460a057f Fix diff link 2015-11-05 16:40:39 +10:30
Toby Zerner
8d6a44ff95 Release v0.1.0-beta.4 2015-11-05 16:36:16 +10:30
Toby Zerner
3cc5be1270 Add back button icon 2015-11-03 15:59:47 +10:30
Toby Zerner
4d558c0b29 Release 0.1.0-beta.3 2015-11-03 10:04:05 +10:30
Toby Zerner
478bfe4b40 Translations are now automatically included 2015-11-02 18:53:14 +10:30
Toby Zerner
d2c96287d4 Update ItemList API 2015-11-01 09:38:54 +10:30
Toby Zerner
42d87d2b48 Add lib translations 2015-10-31 18:20:11 +10:30
Toby Zerner
2c94819144 Reduce length of slug field to prevent error when creating unique index 2015-10-31 18:19:45 +10:30
Toby Zerner
c371fe764b Update API relationship serializer/listener 2015-10-30 11:07:20 +10:30
Toby Zerner
9e725ca48a Recompile JS 2015-10-27 12:40:35 +10:30
Toby Zerner
6dbdd7d657 Recompile JS 2015-10-27 12:17:44 +10:30
Toby Zerner
2b49987ff3 i18n: Use new translation strings
closes flarum/core#527
2015-10-24 12:27:53 +10:30
Toby Zerner
1a36ef50d5 Merge pull request #22 from dcsjapan/key-reorganization
Reorganize key names
2015-10-23 12:03:23 +10:30