Commit Graph

95 Commits

Author SHA1 Message Date
flarum-bot
bd0e815c32 Bundled output for commit 4f79706eaf [skip ci] 2018-11-21 08:20:13 +00:00
Toby Zerner
4f79706eaf Make npm package private, update deps, change watch to dev 2018-11-21 18:44:58 +10:30
flarum-bot
60c955f3af Bundled output for commit 339255f4fd [skip ci] 2018-11-17 08:37:11 +00:00
Toby Zerner
339255f4fd Update dependencies 2018-11-17 19:05:59 +10:30
flarum-bot
e0d996401a Bundled output for commit 3461537e8a [skip ci] 2018-11-15 06:12:22 +00:00
Toby Zerner
3461537e8a Prefix compat exports 2018-11-15 16:41:18 +10:30
flarum-bot
4590344da7 Bundled output for commit d3786021b1 [skip ci] 2018-10-21 04:49:52 +00:00
Toby Zerner
d3786021b1 Rename package 2018-10-21 15:16:21 +10:30
flarum-bot
771983f6a2 Bundled output for commit 947378fa61 [skip ci] 2018-09-21 01:02:19 +00:00
Toby Zerner
947378fa61 Update dependencies 2018-09-21 10:25:47 +09:30
flarum-bot
56e94f4918 Bundled output for commit ec60fed381 [skip ci] 2018-09-16 18:50:42 +00:00
Toby Zerner
ec60fed381 Database changes (#15)
* Implement database changes

* Split foreign keys into their own migration

* Use whereColumn

* Rename flag.time

* Rename forum.flagCount

* Rename forum.newFlagCount
2018-09-16 20:49:41 +02:00
flarum-bot
25e7e2aa4c Bundled output for commit 19d5bf498f [skip ci] 2018-06-20 05:25:31 +00:00
Toby Zerner
0cc59d725f Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
ec6cd07f94 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:35:25 +09:30
Ammar Fadhlur Rahman
4acd676543 Change fa icon prefix to fas 2018-05-10 14:58:35 +07:00
AFR
1e61e2e5a1 Adapt to FontAwesome v5.0.6 icon name changes (#12) 2018-02-23 23:44:03 +01:00
Toby Zerner
d862763b67 Recompile JS 2016-11-19 22:06:53 +10:30
Toby Zerner
b11659de2f Recompile dist JS using latest version of babel 2016-06-03 11:01:25 +09:30
Toby Zerner
823233b0da Generalise the potential for display of flags 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 flagged.
2016-05-28 09:53:42 +09:30
Toby Zerner
fbad6ab8cb Add label to dismiss flag button, change icon to eye-slash
ref #7 cc @jordanjay29
2016-05-21 20:35:13 +09:30
jordanjay29
044d43c18c Change fa-times to fa-cancel
Mitigates confusion over button's immediate action, whether it will dismiss flag or delete post. In isolation, fa-times looks ambiguous enough to delete the post, which may delay a moderator's action when choosing how to respond. By replacing it with fa-ban, it should be immediately obvious that the action taken by the button will dismiss the flag, and not modify the post at all.
2016-05-15 21:48:56 -05:00
Franz Liedke
d5740edb1b Recompile JS 2016-04-15 21:18:54 +09:00
dcsjapan
a5e9cc614f Extract translation from FlagList.js
Fixes flarum/core#931.
2016-04-15 21:13:29 +09:00
Toby Zerner
a16dc26164 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:32:41 +10:30
Toby Zerner
c52d32fbd0 Remove usage of finally
See flarum/core@60d78ce
2016-01-19 18:58:15 +10:30
Toby Zerner
507b7bae84 Release 0.1.0-beta.4 2015-11-05 16:41:01 +10:30
Toby Zerner
f2cf356542 Show success message after submitting a flag 2015-11-04 12:59:43 +10:30
Toby Zerner
379b1f0831 Expand reason descriptions and add configurable link to community guidelines 2015-11-04 12:59:29 +10:30
Toby Zerner
39b8f0ad7a Release 0.1.0-beta.3 2015-11-03 10:03:08 +10:30
Toby Zerner
7db94e6bc5 Update ItemList API 2015-10-30 22:45:07 +10:30
Toby Zerner
f637b160fd Recompile JS 2015-10-27 12:38:24 +10:30
Toby Zerner
8e5a19962f Recompile JS 2015-10-27 12:16:28 +10:30
dcsjapan
6b5ac48c43 Fix key names in Flags
- Fixes a few key name errors in PR #1
2015-10-21 19:32:23 +09:00
dcsjapan
634d98cf8b Delete unnecessary brackets
- Removes unneeded brackets from FlagPostModal.js
- Sorry 'bout that, Chief!
2015-10-21 17:53:36 +09:00
dcsjapan
3302ea0e1e 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.

Supported by [flarum/english #13](https://github.com/flarum/english/pull/13).
2015-10-21 15:22:49 +09:00
Toby Zerner
add40d3268 Change app.trans calls to app.translator.trans calls 2015-10-21 10:28:20 +10:30
Toby Zerner
281f1f39c2 Revert part of last commit 2015-10-20 22:06:44 +10:30
Toby Zerner
726d17dc4a Use more concise error handling 2015-10-20 12:50:04 +10:30
Toby Zerner
e357d2b535 Add third state to flags header icon
closes flarum/core#500
2015-10-19 16:20:00 +10:30
Toby Zerner
dc6eb4d4ad Initialise component state in init() instead of constructor 2015-10-13 16:58:43 +10:30
Toby Zerner
5f9d45c4ab Update for composer branch 2015-10-11 18:51:25 +10:30
Toby Zerner
a1e01938ef Rename to Flags, tweak flag controls
- Display post "destructiveControls" in flag instead of custom buttons
- Make flags more versatile/extensible
- Delete associated flags when a post is deleted

Uninstall the Reports extension before installing.
2015-09-22 18:14:33 +09:30
Toby Zerner
e50f21905f Fix report modal not submitting 2015-09-15 12:54:38 +09:30
Toby Zerner
cb6347ef6a Initial commit 2015-09-04 13:26:51 +09:30