Commit Graph

503 Commits

Author SHA1 Message Date
Alexander Skvortsov
6c25f09c9b Use non-deprecated translator interface 2021-03-13 17:11:42 -05:00
flarum-bot
208aa47e60 Bundled output for commit 932c31db6d [skip ci] 2021-03-13 22:01:34 +00:00
Alexander Skvortsov
932c31db6d Apply fixes from StyleCI 2021-03-13 22:00:39 +00:00
Alexander Skvortsov
ee48c97a23 Tags admin list: move edit button back to where it should be 2021-03-13 17:00:27 -05:00
Alexander Skvortsov
85de81627d Update for beta 16 2021-03-13 16:54:03 -05:00
Alexander Skvortsov
80efe35b16 Add defaults to params that should have it.
This fixes PHP8 warnings about required parameters following optional ones.
2021-03-08 15:51:56 -05:00
Charlie
7c1a96119c Change category (#118) 2021-03-08 14:20:41 -05:00
Sami Mazouz
b78b097724 Eagerload lastPostedDiscussion needed relationships (#120) 2021-03-06 10:37:26 -05:00
Daniël Klabbers
162167fe23 made compatible with illuminate 8 and beta 16 (#121) 2021-03-05 09:44:20 -05:00
flarum-bot
6dc433470f Bundled output for commit 181229ae93 [skip ci] 2021-03-05 03:16:09 +00:00
Sami Mazouz
181229ae93 Check for selectable tags before opening tag selection modal (#112) 2021-03-04 22:15:27 -05:00
Robert Korulczyk
0bf6384bb2 Move locale files from language pack to extension (#99) 2021-02-17 16:24:19 -05:00
flarum-bot
ad9eaa38b2 Bundled output for commit 42158112bf [skip ci] 2021-02-17 13:51:41 +00:00
David Wheatley
42158112bf Add missing Button-label span from ButtonLink (#113)
Every sideNav item created by flarum/core includes this span, so tags should too.
2021-02-17 08:50:35 -05:00
flarum-bot
03426b57a0 Bundled output for commit 300e47cfb3 [skip ci] 2021-02-08 02:34:44 +00:00
Alexander Skvortsov
300e47cfb3 Fix editing tags (#117)
`tagLabel` expects an object with an isChild method, so we can just wrap needed data in a Tag object. We don't want to update `this.tag`, since that would mess things up if the user exits the modal without saving.
2021-02-07 18:33:49 -08:00
Charlie
1980636ed6 Max-height for tags settings (#116) 2021-02-07 17:11:42 -05:00
flarum-bot
0765d3fdb7 Bundled output for commit 9c77d677c6 [skip ci] 2021-02-07 06:39:33 +00:00
Alexander Skvortsov
9c77d677c6 Fix submitting TagDiscussionModal via enter key
The DOM submit method doesn't raise a `submit` event (https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit), so submitting the form this way just refreshed the page (default HTML form behavior). The recommended fix (and the one implemented here) is to simulate a button-triggered submission.

Fixes https://github.com/flarum/core/issues/2595
2021-02-07 01:38:39 -05:00
flarum-bot
7f14e72626 Bundled output for commit b6ca4c8c84 [skip ci] 2021-02-01 21:03:27 +00:00
David Wheatley
b6ca4c8c84 Add "TagLabel--child" class to tagLabel to aid with custom theming (#114) 2021-02-01 16:02:36 -05:00
flarum-bot
3573b694e5 Bundled output for commit b985aa8631 [skip ci] 2021-01-26 22:09:35 +00:00
Sami Mazouz
b985aa8631 Add permission to bypass tag count requirements (#111) 2021-01-26 17:08:47 -05:00
SychO9
fe4803a07c Fix starting a discussion without tags, without global startDiscussion perm 2021-01-26 17:06:14 -05:00
SychO9
c2e5c1008f Fix starting discussion without tags 2021-01-26 17:06:14 -05:00
SychO9
5291c969a4 Null positions refer to secondary tags 2021-01-12 21:28:44 -05:00
SychO9
550a04df83 Use the correct setting keys 2021-01-12 21:28:44 -05:00
Alexander Skvortsov
c9b9c1ddce Properly return allow / deny instead of boolean 2020-12-17 19:51:53 -05:00
Alexander Skvortsov
64d965fa17 Fix logic for determining whether users can add tags to a discussion 2020-12-16 17:31:44 -05:00
Alexander Skvortsov
c099c96703 Fix old-style return true in policy 2020-12-16 17:31:02 -05:00
Daniël Klabbers
765254c4f5 changelog and constraint for beta 15 2020-12-15 09:41:50 +01:00
Daniël Klabbers
9429b229bb npm audit fix 2020-12-15 09:34:41 +01:00
Alexander Skvortsov
f74a348525 Update composer metadata for admin dashboard 2020-12-08 19:58:39 -05:00
Alexander Skvortsov
bf31f3e8ec Refactor for Policies Revamp (#105) 2020-12-08 19:02:08 -05:00
Sami Mazouz
384f17ea94 Use new extenders (#102) 2020-12-08 14:20:50 -05:00
Alexander Skvortsov
2fd76a8d75 Remove deprecated TagWillBeSaved event 2020-12-08 00:02:46 -05:00
flarum-bot
423d156d50 Bundled output for commit 46d094192d [skip ci] 2020-11-30 19:08:06 +00:00
Miha Frangež
46d094192d Add icons to tag tiles (#104) 2020-11-30 14:06:51 -05:00
flarum-bot
ad85470e54 Bundled output for commit 076893f861 [skip ci] 2020-11-25 22:04:02 +00:00
Alexander Skvortsov
076893f861 Update for Admin UX Redesign (#103)
* Add composer metadata for admin ux redesign
* Admin js updates for admin ux redesign
2020-11-25 17:02:57 -05:00
flarum-bot
870c3e7c0a Bundled output for commit 8c5bbe1f74 [skip ci] 2020-11-09 18:16:24 +00:00
Sami Mazouz
8c5bbe1f74 Remove unused declaration of tags property (#100) 2020-11-09 13:14:25 -05:00
flarum-bot
742e62d0f0 Bundled output for commit bacac3ca9b [skip ci] 2020-10-29 15:32:27 +00:00
Alexander Skvortsov
bacac3ca9b Fix hidden bidi 2020-10-29 11:31:08 -04:00
flarum-bot
0fc7563257 Bundled output for commit f610522f0e [skip ci] 2020-10-22 23:01:10 +00:00
Daniël Klabbers
f610522f0e guest discussion creation improved (#98)
This fixes an issue where Guests were no longer able to click the "new discussion" button and be shown the Log In Modal.
2020-10-22 19:00:09 -04:00
Daniël Klabbers
4baa8a62d8 changelog and dep for v0.1.0-beta.14 2020-10-15 16:19:30 +02:00
Daniël Klabbers
bfec35cc39 npm audit security vulnerabilities patched 2020-10-14 10:03:16 +02:00
flarum-bot
08e638f9f5 Bundled output for commit b64e5d0998 [skip ci] 2020-10-07 21:53:40 +00:00
Alexander Skvortsov
b64e5d0998 Fix duplicate tags in TagDiscussionModal
Add an inclusion check for the tag itself as well as its parent before adding it to the list of selected tags.
2020-10-07 17:52:38 -04:00