Commit Graph

510 Commits

Author SHA1 Message Date
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
flarum-bot
bdb55e45c4 Bundled output for commit c6829edd85 [skip ci] 2020-10-05 15:53:24 +00:00
Wadim Kalmykov
c6829edd85 fix tagLabel links (#96) 2020-10-05 11:52:11 -04:00
Sami Mazouz
e787048af1 Fix Editing Discussion Tags Permission (#95) 2020-10-03 18:37:56 -04:00
Alexander Skvortsov
80f6e9c808 Remove unused import 2020-10-03 18:04:06 -04:00
flarum-bot
ddc2711146 Bundled output for commit c2bb7d45f6 [skip ci] 2020-10-03 00:51:55 +00:00
Alexander Skvortsov
c2bb7d45f6 Use Link component instead of route patch 2020-10-02 20:51:03 -04:00
flarum-bot
955309cc5f Bundled output for commit 88508c459c [skip ci] 2020-10-03 00:50:15 +00:00
Alexander Skvortsov
88508c459c Use Stream util instead of m.stream 2020-10-02 20:49:17 -04:00
Rafael Horvat
1f0b87fede Renamed TagWillBeSaved => Saving. Deprecated the old event. (#92) 2020-10-02 12:55:25 -04:00
flarum-bot
48afda2422 Bundled output for commit 75db6b4878 [skip ci] 2020-09-24 15:31:05 +00:00
Wadim Kalmykov
75db6b4878 Remove call to undefined method handleErrors (#94) 2020-09-24 11:30:10 -04:00
flarum-bot
6b83c71e33 Bundled output for commit f61b5201d1 [skip ci] 2020-09-24 03:01:22 +00:00
Alexander Skvortsov
f61b5201d1 Mithril 2 Update (#93)
Update for Mithril 2

- TagLinkButtons now have children passed in, even though those children are not directly shown. This is because those children are used if that TagLinkButton is the active element in a dropdown.
- Since `m.redraw.strategy('all')` is no longer an option, we use keys to force a full-page rerender after rearranging tag order in the admin dashboard
2020-09-23 23:00:15 -04:00
Clark Winkelmann
bf223071f2 Fixes flarum/core#2168 negated tags not working (#88)
orWhereIn doesn't have the $not parameter and the argument was ignored by PHP
2020-08-16 16:33:41 -04:00
dependabot[bot]
d105879392 Bump elliptic from 6.5.2 to 6.5.3 in /js (#91)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:42 +02:00
Matthew Kilgore
bd46db8741 Replace depreciated functions with classfull verions 2020-07-25 21:17:43 -04:00
Matt Kilgore
2237e597d0 Removes AssertPermissionTrait (#90)
* Removes AssertPermissionTrait

* Apply fixes from StyleCI

Co-authored-by: luceos <daniel+github@klabbers.email>
2020-07-19 17:37:27 -04:00
Franz Liedke
b033b61164 Use new View extender
Refs flarum/core#2134.
2020-07-17 12:11:42 +02:00
dependabot[bot]
7a5fee739b Bump lodash from 4.17.15 to 4.17.19 in /js (#89)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 11:28:18 +02:00
Franz Liedke
a42f906a21 Update package.json 2020-07-17 11:26:13 +02:00
flarum-bot
fe5ec1083f Bundled output for commit c2984c3678 [skip ci] 2020-07-02 00:12:39 +00:00
Alexander Skvortsov
c2984c3678 Fix extension to work with latest state changes 2020-07-01 20:11:22 -04:00
Alexander Skvortsov
6a6d2f3803 Fix Last Posted Discussion, Improve DiscussionCount (#78)
The calculation/caching of the last posted discsussion is currently not very good. This PR adds fixes for:

Ensuring that private and hidden discussions aren't returned
Hiding and restoring discussions (hidden discussions shouldn't be returned)
Editing tags on a discussion (previously the discussion wasn't removed from the old tags).
2020-06-28 15:07:06 -04:00
Rafael Horvat
2a21725fe3 Firing 2 new events for tags: Creating & Deleting (#86) 2020-06-28 14:47:32 -04:00
flarum-bot
0c1869b93e Bundled output for commit 942d39a37a [skip ci] 2020-06-26 12:47:25 +00:00
Franz Liedke
942d39a37a Fix extension to work with latest state changes
Refs flarum/core#2150, flarum/core#2151, flarum/core#2156.
2020-06-26 14:44:08 +02:00
Franz Liedke
dcf814fb12 Remove an obsolete method extension
This method hasn't existed in a while, and its purpose (including
the related tags when loading a discussion via API) has already
been achieved by extending the backend.
2020-06-26 14:43:11 +02:00
Alexander Skvortsov
9d2f0c9125 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 22:30:05 -04:00
flarum-bot
f5ced81aa2 Bundled output for commit 274f31b6bf [skip ci] 2020-05-31 16:40:43 +00:00
Alexander Skvortsov
274f31b6bf Fix tag selection input on discussion modal going out of screen (#83)
Calculate width of input field dynamically based on content, this fixes the bug by only shifting tags out of view when necessary
2020-05-31 12:39:42 -04:00
flarum-bot
cda9ed9fca Bundled output for commit 94799aad72 [skip ci] 2020-05-31 15:55:42 +00:00
Charlie
94799aad72 Fix buggy drag and drop (#82)
Switch to the SortableJs library to fix the buggy tags drag-and-drop admin UI.
2020-05-31 11:54:52 -04:00
Alexander Skvortsov
713efcfa3c Increase Tags Visibility Scoping Extendability (#79)
Allow extensions to override tags scoping visibility based on viewDiscussions permission
2020-05-19 17:49:39 -04:00
Daniël Klabbers
74e02b6a3c Release v0.1.0-beta.13 2020-05-04 10:48:54 +02:00
Franz Liedke
c2e7a5413c Update Webpack for real 2020-05-01 12:04:03 +02:00
flarum-bot
166b976f86 Bundled output for commit 37e8469de7 [skip ci] 2020-05-01 09:59:24 +00:00
Franz Liedke
37e8469de7 Update Webpack 2020-05-01 11:56:52 +02:00
flarum-bot
3f5f3320a9 Bundled output for commit 80e32594e2 [skip ci] 2020-04-24 20:30:18 +00:00
Alexander Skvortsov
80e32594e2 Disable "Start Discussion" button for restricted tags (#74)
Also, change the label when the button is disabled.
2020-04-24 22:29:16 +02:00
Franz Liedke
649f71d25a Use new Model extender 2020-04-24 15:56:27 +02:00
flarum-bot
f022018be3 Bundled output for commit 751c14c889 [skip ci] 2020-04-24 12:33:10 +00:00
Franz Liedke
751c14c889 npm audit fix 2020-04-24 14:30:31 +02:00
flarum-bot
ae5bf9203e Bundled output for commit 7458813d59 [skip ci] 2020-03-20 07:22:19 +00:00