Commit Graph

280 Commits

Author SHA1 Message Date
Sami Mazouz
057517688c Add integration tests (#66) 2021-04-13 22:27:42 +01:00
Alexander Skvortsov
cd3934e358 Use RequestUtil to access actor 2021-04-08 00:03:18 -04:00
Sami Mazouz
46aabd2ae5 Eager load mentionedBy and only missing relations (#64) 2021-03-25 15:37:47 +01:00
Daniel Klabbers
613664525d Release v0.1.0-beta.16 2021-03-15 12:11:51 +01:00
Alexander Skvortsov
b922257468 Use non-deprecated translator interface 2021-03-13 17:10:23 -05:00
Charlie
23c03e058a change category (#62) 2021-03-08 14:21:21 -05:00
flarum-bot
37f0a100bd Bundled output for commit 0ad97bb4ed [skip ci] 2021-03-02 04:33:37 +00:00
Alexander Skvortsov
0ad97bb4ed Fix dropdown going off top of screen
The previous solution didn't properly account for document scroll, so when replying to posts, the parent offset would be extremely large, and it'd fall back to the top coordinate, which is out of bounds on small screens.
2021-03-01 23:32:30 -05:00
Alexander Skvortsov
302687b11a Use one instance of formatter extender 2021-03-01 23:26:35 -05:00
flarum-bot
8c78af4b1c Bundled output for commit d4db946c31 [skip ci] 2021-02-26 21:20:57 +00:00
Alexander Skvortsov
d4db946c31 Update for Editor Drivers Abstraction (#61) 2021-02-26 16:20:07 -05:00
Robert Korulczyk
b06f6470e7 Move locale files from language pack to extension. (#56) 2021-02-17 16:23:40 -05:00
Ian Morland
d368aa4e55 Fix incorrect display_name showing in email notifications (#59) 2020-12-21 12:43:27 -05:00
Daniël Klabbers
5f8a4009fe changelog and constraint for beta 15 2020-12-15 09:15:26 +01:00
Daniël Klabbers
80101d52a9 npm audit fix 2020-12-15 09:15:26 +01:00
Alexander Skvortsov
198f8ae870 Ensure nullable arguments are indeed nullable 2020-12-13 16:38:24 -05:00
flarum-bot
4f153a099d Bundled output for commit eea694e021 [skip ci] 2020-12-11 04:50:41 +00:00
Alexander Skvortsov
eea694e021 Fix mention button in composer toolbar
It seems like we missed one `this.props` during the beta 14 rewrite
2020-12-10 23:49:26 -05:00
Alexander Skvortsov
9ca860ee7b Update composer metadata for admin dashboard 2020-12-08 19:57:10 -05:00
Alexander Skvortsov
3198de4b9b Use Formatter extender for rendering callbacks 2020-12-08 11:41:05 -05:00
Sami Mazouz
256e821289 Use new extenders (#58) 2020-12-08 11:15:52 -05:00
Alexander Skvortsov
ab27fd452d Add composer metadata for admin ux redesign 2020-11-25 01:23:14 -05:00
Sami Mazouz
2e9d9ab816 Use the new Notification type extender (#57) 2020-10-31 18:43:02 -04:00
flarum-bot
6f7b86b0a9 Bundled output for commit 367a1b2329 [skip ci] 2020-10-29 22:34:16 +00:00
Sami Mazouz
367a1b2329 Check if event is cancelable before preventDefault (#54)
This recovers the initial wanted behavior of opening the post mention preview dropdown instead of directly going to the post on touchscreens.
2020-10-29 18:33:26 -04:00
Daniël Klabbers
2b6b7ed26e changelog and dep for v0.1.0-beta.14 2020-10-15 14:43:04 +02:00
Daniël Klabbers
5cfb1550eb npm audit security vulnerabilities patched 2020-10-14 09:59:01 +02:00
flarum-bot
d94dfa6090 Bundled output for commit 26c84b9e5b [skip ci] 2020-10-03 00:20:06 +00:00
Alexander Skvortsov
26c84b9e5b Use Link component instead of route patch 2020-10-02 20:19:10 -04:00
Alexander Skvortsov
9ef207fa85 Translate notification emails (#50) 2020-10-01 11:16:20 -04:00
flarum-bot
51134ff625 Bundled output for commit ea56f39a53 [skip ci] 2020-09-24 02:54:49 +00:00
Alexander Skvortsov
ea56f39a53 Mithril 2 Update (#52)
Update for Mithril 2

- Please note that PostQuoteButton and AutocompleteDropdown are not Fragments, not Components. Accordingly, they have been moved to the components folder.

Co-authored-by: Matthew Kilgore <tankerkiller125@gmail.com>
Co-authored-by: Franz Liedke <franz@develophp.org>
2020-09-23 22:53:46 -04:00
flarum-bot
a48a84fcd0 Bundled output for commit 1674e7a313 [skip ci] 2020-09-04 16:26:07 +00:00
Franz Liedke
1674e7a313 Fix extension to work with Composer state changes
Refs flarum/core#2162.
2020-09-04 18:19:27 +02:00
flarum-bot
8f1ba6e7d2 Bundled output for commit 921db74fe4 [skip ci] 2020-09-04 14:47:16 +00:00
Franz Liedke
921db74fe4 Fix extension to work with Composer state changes
Refs flarum/core#2162.
2020-09-04 16:46:01 +02:00
flarum-bot
1ce62ca3c5 Bundled output for commit ce039d3dd6 [skip ci] 2020-09-04 14:43:38 +00:00
Franz Liedke
ce039d3dd6 Fix extension to work with Composer state changes
Refs flarum/core#2162.
2020-09-04 16:42:07 +02:00
dependabot[bot]
6da004c7ae Bump elliptic from 6.5.2 to 6.5.3 in /js (#51)
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:09:16 +02:00
Alexander Skvortsov
5d7f1d87d5 Don't typehint the view factory in the closure in extend.php
This causes the view factory to resolve early, breaking all future extensions that use the view extender
2020-07-27 19:30:24 -04:00
Matthew Kilgore
d1cf21dcd2 Replaced depreciated helper function with classfull function 2020-07-25 21:08:49 -04:00
Franz Liedke
ba3071eaac Use new View extender
Refs flarum/core#2134.
2020-07-17 12:10:47 +02:00
dependabot[bot]
c192cbc57b Bump lodash from 4.17.15 to 4.17.19 in /js (#49)
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 10:48:25 +02:00
flarum-bot
ebc8b763ce Bundled output for commit 68163d462a [skip ci] 2020-07-01 21:10:06 +00:00
Alexander Skvortsov
68163d462a Stop mentions dropdown from jumping around (#48)
Cache the order in which users are returned by the API to stop the mentions list from jumping around
Only ping the api when 2 or more characters are entered
2020-07-01 17:08:31 -04:00
Alexander Skvortsov
13e79e5457 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:27:37 -04:00
flarum-bot
a905fbd073 Bundled output for commit af979f20ff [skip ci] 2020-06-10 00:14:45 +00:00
Matteo Contrini
af979f20ff Always show replies list on posts (#47)
Previously, if there was a single reply and it was adjacent to the post it wasn't shown.

See discussion on Discuss: https://discuss.flarum.org/d/23666-flarum-010-beta13-released/75
2020-06-09 20:13:24 -04:00
Sami Mazouz
f8d1e2b22e Fix replies dropdown menu width (#38)
* Fixes flarum/core#1707
2020-05-22 18:50:26 -04:00
Franz Liedke
e6f0ca5873 Use existing variable for media query
Refs #46, flarum/core#2070.
2020-05-21 03:33:32 +02:00