Commit Graph

56 Commits

Author SHA1 Message Date
Miles Cellar
441639c05d Update license year range to 2018 2018-01-15 19:32:06 +01:00
Toby Zerner
aee72d712b Merge branch 'next-back' 2017-12-28 12:19:56 +10:30
Toby Zerner
a822ab8310 Fix class name 2017-12-26 19:47:42 +10:30
Toby Zerner
15039737b8 Don't over-cache the disallowed tags 2017-12-26 19:44:53 +10:30
Toby Zerner
6f07aef206 Performance: Reuse list of disallowed tags 2017-12-26 19:44:53 +10:30
Toby Zerner
a05e8c817e Don't over-cache the disallowed tags 2017-11-12 21:14:53 +10:30
Toby Zerner
0479c03502 Performance: Reuse list of disallowed tags 2017-11-11 22:43:07 +10:30
Toby Zerner
910ddc9f55 Apply fixes from StyleCI
[ci skip] [skip ci]
2017-09-14 09:15:48 +09:30
AakLak
2ea6cbee46 run the convert.sh script by CDK2020 to replace namespaces to be comp… (#8)
* run the convert.sh script by CDK2020 to replace namespaces to be compatible for beta8

* update docbloc to match updated namespace
2017-09-14 09:15:11 +09:30
Toby Zerner
f154c7cae6 Revert "run the convert.sh script by CDK2020 to replace namespaces to be comp… (#8)"
This reverts commit efe07bd696.
2017-09-14 09:06:29 +09:30
Toby Zerner
5c032cdd3a Revert "Apply fixes from StyleCI"
This reverts commit 5ff45a8ea5.
2017-09-14 09:06:15 +09:30
Toby Zerner
148dd1cae1 Merge pull request #9 from flarum/analysis-8LxPyn
Apply fixes from StyleCI
2017-09-13 21:30:38 +09:30
Toby Zerner
5ff45a8ea5 Apply fixes from StyleCI
[ci skip] [skip ci]
2017-09-13 12:00:17 +00:00
AakLak
efe07bd696 run the convert.sh script by CDK2020 to replace namespaces to be comp… (#8)
* run the convert.sh script by CDK2020 to replace namespaces to be compatible for beta8

* update docbloc to match updated namespace
2017-09-13 21:29:31 +09:30
Franz Liedke
34bfa56fce Merge branch 'master' of github.com:flarum/flarum-ext-approval 2017-07-27 00:21:09 +02:00
Toby Zerner
e5bdcce36d Add default permissions 2017-07-22 12:22:03 +09:30
Franz Liedke
5839d6201d Merge pull request #6 from milescellar/patch-1
Update year
2017-01-02 20:05:50 +01:00
Miles Cellar
f021402202 Update year 2017-01-01 22:44:22 +01:00
Toby Zerner
0ce8aac6ca Merge pull request #5 from flarum/analysis-qBw0MA
Apply fixes from StyleCI
2016-11-29 16:02:35 +10:30
Toby Zerner
47bf958448 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:29:35 +00:00
Franz Liedke
efdff2df68 Extract another variable 2016-11-19 16:57:11 +01:00
Franz Liedke
0741610989 Merge pull request #4 from liji/fix-discussion-not-updated-after-approval
fix:discussion was not updated correctly after post approval
2016-11-19 16:55:47 +01:00
liji
29a5240f64 fix:discussion was not updated correctly after approval 2016-11-17 17:19:26 +08:00
Toby Zerner
f64369e61a Update StyleCI rules 2016-11-16 15:46:00 +10:30
Toby Zerner
ea2bc24c0b v0.1.0-beta.6 2016-10-19 21:12:14 +10:30
Toby Zerner
78bb373a22 Make discussion isApproved attribute available when fetching notifications. fixes flarum/core#976 2016-08-27 22:51:09 +09:30
Franz Liedke
64c8b1ad98 Make StyleCI happy 2016-06-13 21:05:19 +09:00
Toby Zerner
72bff02d68 Recompile dist JS using latest version of babel 2016-06-03 10:58:39 +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
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
0ab8bb95cc Require core v0.1.0-beta.5 2016-03-29 18:42:01 +10:30
Toby Zerner
864b696f38 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:31:17 +10:30
Toby Zerner
dba0512163 Clean up linting stuff 2016-03-10 17:23:34 +10:30
Franz Liedke
69ab036bb8 Use new shortcuts for migrations 2016-03-04 01:10:42 +09:00
Toby Zerner
f26b1a56da Merge pull request #3 from flarum/analysis-8bQjba
Applied fixes from StyleCI
2016-02-26 14:24:05 +10:30
Toby Zerner
a70e9621aa Applied fixes from StyleCI 2016-02-25 22:51:02 -05:00
Toby Zerner
601169e6e9 Add StyleCI config 2016-02-26 14:01:11 +10:30
Franz Liedke
272d59c6d4 Use new migration format 2016-02-24 23:11:26 +09:00
Toby Zerner
1abcfee960 Merge pull request #2 from maelsoucaze/patch-1
Update license year range to 2016
2016-01-26 11:15:07 +10:30
Maël Soucaze
a4aef88a36 Update license year range to 2016 2016-01-25 16:49:11 +01:00
Toby Zerner
97cb86dcbe 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:20:19 +10:30
Toby Zerner
83ed64bb3b Commit latest dist files
See https://github.com/flarum/core/issues/727#issuecomment-172384020
2016-01-19 16:52:18 +10:30
Toby Zerner
f096e54edd Rename package 2015-12-29 12:54:24 +10:30
Toby Zerner
a4669d7c70 Merge pull request #1 from dcsjapan/extract-translations
Extract translations
2015-11-29 15:17:47 +10:30
dcsjapan
b6e5dd0726 Extract translations
- Adds app.translator calls for forum and admin interfaces.
- Locale file to follow later.
2015-11-29 12:13:43 +09:00