Commit Graph

6 Commits

Author SHA1 Message Date
Alexander Skvortsov
05246fb155 chore: flarum-cli audit infra --fix 2022-01-20 03:14:59 -05:00
Toby Zerner
d842d8e460 Webpack (#14)
See https://github.com/flarum/core/pull/1367

* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Restructure `less` directory
2018-06-20 13:34:41 +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
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
5486cc3ed8 Update for composer branch 2015-10-11 22:54:48 +10:30
Toby Zerner
937b70bdf8 Initial commit 2015-09-22 18:14:56 +09:30