Commit Graph

57 Commits

Author SHA1 Message Date
Toby Zerner
394a56043d v0.1.0-beta.6 2016-10-19 21:13:08 +10:30
Toby Zerner
b6545a5f8e Use new event name 2016-06-03 11:01:31 +09: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
Franz Liedke
da65528d2d Merge pull request #7 from jordanjay29/patch-1
Change fa-times to fa-cancel
2016-05-16 14:59:56 +09:00
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
Franz Liedke
c6f403b7c2 Merge pull request #6 2016-04-15 21:18:37 +09:00
dcsjapan
a5e9cc614f Extract translation from FlagList.js
Fixes flarum/core#931.
2016-04-15 21:13:29 +09:00
Toby Zerner
25657b0eb7 Require core v0.1.0-beta.5 2016-03-29 18:46:04 +10:30
Toby Zerner
dccbece380 Remove unmaintained changelog 2016-03-18 09:32:48 +10:30
Toby Zerner
a16dc26164 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:32:41 +10:30
Toby Zerner
2b348187d2 Clean up linting stuff 2016-03-10 17:22:43 +10:30
Franz Liedke
badd2abff4 Use new shortcuts for migrations 2016-03-04 01:11:25 +09:00
Toby Zerner
751afe218c Merge pull request #5 from flarum/analysis-qx0M6M
Applied fixes from StyleCI
2016-02-26 14:24:52 +10:30
Toby Zerner
bc1d5f9a7a Applied fixes from StyleCI 2016-02-25 22:51:10 -05:00
Toby Zerner
b54d8713b4 Add StyleCI config 2016-02-26 14:02:07 +10:30
Franz Liedke
e62dd6a3a1 Use new migration format 2016-02-24 23:12:36 +09:00
Toby Zerner
d30a0a7d59 Merge pull request #4 from maelsoucaze/patch-1
Update license year range to 2016
2016-01-26 11:15:17 +10:30
Maël Soucaze
c13b90274c Update license year range to 2016 2016-01-25 16:46:33 +01:00
Franz Liedke
301ff7e8b2 Expose creation time in flag serializer
Fixes flarum/core#651.
2016-01-20 21:06:37 +01:00
Toby Zerner
c52d32fbd0 Remove usage of finally
See flarum/core@60d78ce
2016-01-19 18:58:15 +10:30
Toby Zerner
88a06b1843 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:18:56 +10:30
Toby Zerner
3972df0b09 Rename package 2015-12-29 12:55:18 +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
8d50251ec5 Make sure we don't accidentally load all of a discussion's posts 2015-11-02 22:17:21 +10:30
Toby Zerner
5be607a6a7 Translations are now automatically included 2015-11-02 18:52:17 +10:30
Toby Zerner
c39f4f01ea Fix flag count queries 2015-10-31 14:49:44 +10:30
Toby Zerner
0ec3b0aabb Update serializer API 2015-10-30 22:45:26 +10:30
Toby Zerner
7db94e6bc5 Update ItemList API 2015-10-30 22:45:07 +10:30
Toby Zerner
50645c5db9 Update API relationship listener 2015-10-30 11:06:50 +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
Franz Liedke
2f26de4fcb Merge pull request #3 from dcsjapan/flags-key-fix
Fix key names in Flags
2015-10-21 12:44:56 +02:00
dcsjapan
6b5ac48c43 Fix key names in Flags
- Fixes a few key name errors in PR #1
2015-10-21 19:32:23 +09:00
Franz Liedke
5523cb5b7b Merge pull request #2 from dcsjapan/delete-brackets
Delete unnecessary brackets
2015-10-21 11:10:18 +02:00
dcsjapan
634d98cf8b Delete unnecessary brackets
- Removes unneeded brackets from FlagPostModal.js
- Sorry 'bout that, Chief!
2015-10-21 17:53:36 +09:00
Toby Zerner
d4df5fbcab Merge pull request #1 from dcsjapan/key-reorganization
Reorganize key names
2015-10-21 17:32:58 +10:30
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
8a1c5cf24c Don't set flags relationship on non-hydrated posts 2015-10-14 12:26:13 +10:30
Toby Zerner
dc6eb4d4ad Initialise component state in init() instead of constructor 2015-10-13 16:58:43 +10:30
Toby Zerner
41985eb0c3 Update icon, metadata 2015-10-12 15:00:36 +10:30