diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-12-06 21:00:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 21:00:24 +0100 |
commit | 558d5199b9c5020773872c81cb9428ba75f6f490 (patch) | |
tree | dd199d35b8136bd11dce837399658305ac8cba6d /src/Wallabag/CoreBundle | |
parent | 4a1f963531f04427f625f58bda45723c6e69a87c (diff) | |
parent | 5aa0294cca8115ce9a9401f9587d07d7ee37b769 (diff) | |
download | wallabag-558d5199b9c5020773872c81cb9428ba75f6f490.tar.gz wallabag-558d5199b9c5020773872c81cb9428ba75f6f490.tar.zst wallabag-558d5199b9c5020773872c81cb9428ba75f6f490.zip |
Merge pull request #2680 from wallabag/taggingrule-255
Limit rule to 255
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/TaggingRule.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/TaggingRule.php b/src/Wallabag/CoreBundle/Entity/TaggingRule.php index 28914cc1..72651b19 100644 --- a/src/Wallabag/CoreBundle/Entity/TaggingRule.php +++ b/src/Wallabag/CoreBundle/Entity/TaggingRule.php | |||
@@ -28,6 +28,7 @@ class TaggingRule | |||
28 | * @var string | 28 | * @var string |
29 | * | 29 | * |
30 | * @Assert\NotBlank() | 30 | * @Assert\NotBlank() |
31 | * @Assert\Length(max=255) | ||
31 | * @RulerZAssert\ValidRule( | 32 | * @RulerZAssert\ValidRule( |
32 | * allowed_variables={"title", "url", "isArchived", "isStared", "content", "language", "mimetype", "readingTime", "domainName"}, | 33 | * allowed_variables={"title", "url", "isArchived", "isStared", "content", "language", "mimetype", "readingTime", "domainName"}, |
33 | * allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or", "matches"} | 34 | * allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or", "matches"} |