Commit Graph

30 Commits

Author SHA1 Message Date
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
Toby Zerner
cb6be3fcc5 Translations are now automatically included 2015-11-02 18:51:44 +10:30
Toby Zerner
b91e4e1e63 Update icon, metadata 2015-10-12 14:58:54 +10:30
Toby Zerner
69b84438a3 Update compile script 2015-10-11 23:17:00 +10:30
Toby Zerner
5486cc3ed8 Update for composer branch 2015-10-11 22:54:48 +10:30
Toby Zerner
5d9d04d2ab Add license 2015-09-25 16:15:31 +09:30
Toby Zerner
937b70bdf8 Initial commit 2015-09-22 18:14:56 +09:30