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
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
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
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
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
dcsjapan
2dccb299a0
Reorganize key names
...
See [flarum/core #265 ](https://github.com/flarum/core/issues/265 ).
- Adjusts key names to three-tier namespacing.
- Extracts previously unextracted strings.
- Code fix needed in DiscussionTaggedPost.js before this can be used.
2015-10-23 10:01:44 +09:00
Toby Zerner
117fc7d46b
Change app.trans
calls to app.translator.trans
calls
2015-10-21 10:30:09 +10:30
Toby Zerner
bf04dba33e
Enforce unique slugs
...
closes flarum/core#393
2015-10-19 16:50:19 +10:30
Toby Zerner
244b8fd132
Add Interface suffix to SettingsRepository
2015-10-19 14:59:26 +10:30
Toby Zerner
37fac5a0d4
Update translation IDs
2015-10-16 12:42:40 +10:30
Toby Zerner
76eaf8cb2d
Refactor tag sorting algorithm
...
closes flarum/core#325
2015-10-14 17:04:17 +10:30
Toby Zerner
eb49e1d4e8
Update references to forum.
permissions
...
ref flarum/core#425
2015-10-14 16:12:10 +10:30
Toby Zerner
67c1d79c5c
Initialise component state in init() instead of constructor
2015-10-13 16:59:23 +10:30
Toby Zerner
1d5a118951
Update metadata, fix admin settings link
2015-10-12 15:02:11 +10:30
Toby Zerner
5bae959353
Update API, add default translations
2015-10-11 22:23:06 +10:30
Toby Zerner
afc383d443
Fix typos in description
2015-10-11 17:42:41 +10:30
Toby Zerner
d9fde337e3
Rename initializer
2015-10-11 13:01:33 +10:30
Toby Zerner
4a85063702
Move gitignore rules
2015-10-11 11:44:59 +10:30
Toby Zerner
2b85b1bf12
Add more info to composer.json
2015-10-11 11:18:05 +10:30
Toby Zerner
ccc1b02991
Fix migration namespace
2015-10-11 10:04:40 +10:30
Toby Zerner
a351c2ef3c
Update APIs, clean up
2015-10-08 23:02:41 +10:30
Toby Zerner
ce0f77d858
Don't require composer installers
2015-10-08 16:54:33 +10:30
Toby Zerner
55c53677e5
Remove unnecessary information from composer.json
2015-10-03 17:36:08 +09:30
Toby Zerner
4b923722be
Add vendor prefix to admin JS too
2015-10-03 17:35:55 +09:30
Toby Zerner
d6b829414c
Merge branch 'composer'
2015-10-03 17:11:17 +09:30
Toby Zerner
0f57f27685
Add compiled scripts
2015-10-03 16:51:49 +09:30
Toby Zerner
e824f5ebf7
Update for composer branch
2015-10-03 16:51:29 +09:30
Toby Zerner
6bf47adb14
Remove English translations
...
They're now in flarum/english.
2015-10-03 16:51:05 +09:30
Toby Zerner
9bb30a1cc3
Add vendor to JS namespace
2015-10-03 16:48:37 +09:30
Toby Zerner
5c46e03750
Use new BuildClientView API
2015-10-03 16:44:20 +09:30
Toby Zerner
b9e2f8e660
Fix slug unique rule
2015-09-24 08:45:53 +09:30
Daniel Klabbers
144e9333ea
added slug validation
2015-09-23 23:42:12 +02:00
Toby Zerner
fc1580122c
Update for discussion list padding change
2015-09-22 19:30:06 +09:30
Toby Zerner
79d664750b
Update for hidden discussions feature, new Flags extension
2015-09-22 18:27:02 +09:30
Toby Zerner
1bf1403f82
Add permission grid icon
2015-09-22 18:01:26 +09:30
Toby Zerner
3146e9bc03
SettingsRepository is a default dep for migrations now
2015-09-18 13:30:52 +09:30
Toby Zerner
790bf44a98
Use SettingsModal component
2015-09-18 13:30:21 +09:30
Toby Zerner
023f946720
Add option to set tags as default route
2015-09-17 12:57:47 +09:30
Toby Zerner
f214d32f2f
Add gitattributes
2015-09-17 09:08:24 +09:30
Toby Zerner
d6d1fc482d
Namespace migrations
2015-09-17 09:08:19 +09:30
Toby Zerner
c762caa921
Give tags item explicit opacity
...
Since core now makes all DiscussionListItem-info items faded by default.
2015-09-14 15:19:50 +09:30
Franz Liedke
48f232509b
Do not extend newly removed class
...
Related to flarum/core#118 .
2015-09-09 09:06:21 +02:00
Toby Zerner
a8e25ac27b
Temporary fix for permissions bug
...
See flarum/core#425
2015-09-04 14:10:12 +09:30
Toby Zerner
61053878d5
Don't use phpcs cache
2015-09-04 12:28:19 +09:30
Toby Zerner
fce9fab67c
Rename LICENSE
2015-09-04 12:28:10 +09:30
Toby Zerner
0d56eafcbf
Update npm dependency
2015-09-04 12:07:29 +09:30
Toby Zerner
47cc0628f1
Update flarum.json
2015-09-04 11:47:39 +09:30
Toby Zerner
87c24970c6
Add copyright
2015-09-04 11:34:54 +09:30
Toby Zerner
5e725839b0
Scope Report and empty discussion visibility by tag
2015-09-04 11:34:23 +09:30
Toby Zerner
0477cc0346
Use more intuitive permission description
2015-09-04 11:31:27 +09:30
Toby Zerner
b0d94dcb95
Fix JSX linting
2015-09-04 11:30:49 +09:30
Toby Zerner
80e1cd841d
Remove redundant options from editorconfig
2015-09-04 11:30:21 +09:30
Toby Zerner
86116c575b
Set up phpcs and Travis
2015-09-04 11:29:58 +09:30
Toby Zerner
74f47c58c7
Make sure "restrict by tag" dropdown doesn't go off-screen
2015-08-31 16:13:27 +09:30
Toby Zerner
67f56d44f4
Fix tags not draggable in some instances
...
closes flarum/core#341
2015-08-31 14:37:08 +09:30
Toby Zerner
6db544abb1
Prevent error when saving tag without isHidden attribute
...
closes flarum/core#289
2015-08-31 13:54:28 +09:30
Toby Zerner
b286ff82e0
Make "Choose Tags" link translatable
...
closes flarum/core#345
2015-08-31 10:56:08 +09:30
Toby Zerner
fc2025bf44
Correct translation
2015-08-30 10:09:17 +09:30
Franz Liedke
b290161ef4
Make sure query filter works with database prefix, too.
...
Related to flarum/core#269 .
2015-08-29 23:08:36 +02:00
Franz Liedke
7b24c82f6f
Make Tags item translateable
2015-08-29 21:53:37 +02:00
Olivier Barbier
66416bbeb3
Fix last_time type
2015-08-28 16:00:04 +02:00
Toby Zerner
845a8bbcd8
Fix discussion composer not submitting
2015-08-27 23:32:06 +09:30
Toby Zerner
cf6e2dd4ef
Show tag selection modal after submitting discussion
2015-08-26 09:34:12 +09:30
Toby Zerner
190714b658
Fix Laravel 5.1 compat
2015-08-18 14:45:38 +09:30
Toby Zerner
025b6f775c
Use better selectors for the faded text
2015-08-17 15:44:11 +09:30
Toby Zerner
024349d418
OK, fade out that text a bit
2015-08-17 15:42:04 +09:30