183 Commits

Author SHA1 Message Date
Ian Morland
07ebe5b57d [chore] update deprecated event comments (#41) 2022-02-22 14:07:04 -05:00
Daniel Klabbers
fc85ce8579 Release v1.2 2022-01-20 12:13:37 +01:00
Alexander Skvortsov
6dddb748ba chore: flarum-cli audit infra --fix 2022-01-20 03:32:36 -05:00
Alexander Skvortsov
e3f051bf4b fix: return user when creating flags (#42)
Fixes https://github.com/flarum/QualityAssurance/issues/41

When the API response is ingested by `pushObject`, since the flag instance is new, there is nothing to merge with, and therefore, there's no user on the flag instance in the store. As a result, the flag is displayed with "deleted" as the creating user until a page refresh occurs.

More broadly, this could be fixed by either:
- Refactoring the JSON API layer so that all singular operations return the same set of includes.
- Merging the API Paylod with sent data on model save (for new instances only).
But the former would require a major breaking rewrite, and the latter could introduce potentially unwanted side effects, and is effectively a bandaid over inconsistent backend behavior.
2022-01-13 16:39:00 -05:00
flarum-bot
675bb16f9c Bundled output for commit 9d7f9eb0e5a4762dff632054ed5c6fa7eda4f22f
Includes transpiled JS/TS.

[skip ci]
2022-01-07 17:08:20 +00:00
Ian Morland
9d7f9eb0e5 Update JS imports (#40) 2022-01-07 12:07:20 -05:00
flarum-bot
3942ec4e00 Bundled output for commit 1bd32bb4e09041d38fcb3533087a0a367937570d
Includes transpiled JS/TS.

[skip ci]
2022-01-07 14:06:45 +00:00
Ian Morland
1bd32bb4e0 chore: convert flag items to ItemList (#39)
* Convert to ItemList, update import namespaces

* Bump deps, add prettier

* Format js
2022-01-07 14:05:40 +00:00
flarum-bot
0a30aa1663 Bundled output for commit bae89a2f44ffb934f0315553c5fa45f105de01f1
Includes transpiled JS/TS.

[skip ci]
2021-10-25 17:57:29 +00:00
Lucas Fernandes
bae89a2f44 Add missing translation for the reason flag (#30) 2021-10-25 13:56:17 -04:00
flarum-bot
62345237ac Bundled output for commit a3edd16e474850ca47b7fa24000dabcac2fd0123
Includes transpiled JS/TS.

[skip ci]
2021-10-13 10:57:12 +00:00
David Wheatley
a3edd16e47 chore: fix JS 2021-10-13 11:56:17 +01:00
David Wheatley
99e7e74dfa chore: bump bundled extension constraint to core 1.1 2021-10-13 08:03:50 +01:00
flarum-bot
cde8a2e87a Bundled output for commit aae835e9d2c29828be096f9f1a0853a37c159acd
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:21 +00:00
Alexander Skvortsov
aae835e9d2 Release v1.1.0 2021-10-11 21:07:45 -04:00
Daniel Klabbers
af940bf48e fix branch alias 2021-05-25 22:45:50 +02:00
Daniel Klabbers
b28e6c510f changes for stable 2021-05-25 15:58:02 +02:00
Daniel Klabbers
9222e93135 remove phpunit cache 2021-05-25 15:49:32 +02:00
Daniel Klabbers
222584b814 remove ide file 2021-05-25 15:41:21 +02:00
Alexander Skvortsov
2be508c8ab Bump composer reqs for 1.0.0 2021-05-16 18:27:55 -04:00
David Wheatley
089c17becb Update copyright year 2021-05-15 00:49:42 +01:00
Alexander Skvortsov
99a82d0069 Apply fixes from StyleCI 2021-05-12 00:08:36 +00:00
Alexander Skvortsov
be59e77a01 Move in visibility scoping from tags, add automated testing. 2021-05-11 20:04:52 -04:00
Alexander Skvortsov
f80a88d45b Use RequestUtil for accessing actor 2021-04-08 00:02:11 -04:00
Alexander Skvortsov
9936681634 Use Symfony translator contract instead of deprecated component 2021-04-08 00:00:49 -04:00
Sami Mazouz
d5149b7406 Eager load post.user.groups relation and allow extensions to eager load relations (#38)
* Allow extensions to eager load relations
* Eager load post.user.groups
2021-04-07 16:24:52 +01:00
Daniel Klabbers
b481e41a9b Release v0.1.0-beta.16 2021-03-15 11:27:30 +01:00
Alexander Skvortsov
506985e881 Update for beta 16 2021-03-13 17:03:56 -05:00
Charlie
a915382cfd Change Category (#36) 2021-03-08 14:38:58 -05:00
Robert Korulczyk
2c1ab2504f Move locale files from language pack to extension. (#32) 2021-02-17 16:24:33 -05:00
Ian Morland
705ea7f2bc Add Created and Deleting events (#35) 2021-01-25 08:49:27 -05:00
Daniël Klabbers
9f065ee973 changelog and constraint for beta 15 2020-12-14 22:36:54 +01:00
Daniël Klabbers
632cb165d8 npm audit fix 2020-12-14 22:36:47 +01:00
Alexander Skvortsov
8b78feb254 Update composer metadata for admin dashboard 2020-12-08 19:56:17 -05:00
Sami Mazouz
c6e14394fd Use new extenders (#34) 2020-12-08 11:43:56 -05:00
Alexander Skvortsov
46fcc1c18b Add website and support to composer info 2020-11-25 00:55:39 -05:00
flarum-bot
7cd0645204 Bundled output for commit 9e2d794cd499b75735780716fe2e31763c76868d [skip ci] 2020-11-24 21:59:28 +00:00
Charlie
9e2d794cd4 AdminUX Changes (#33) 2020-11-24 16:58:40 -05:00
Daniël Klabbers
31906ca558 changelog for beta 14.1 2020-10-27 13:26:30 +01:00
flarum-bot
f2976f35fb Bundled output for commit 2c79c4c6201c790606570fee06c4812ae792b49d [skip ci] 2020-10-25 05:32:08 +00:00
Alexander Skvortsov
2c79c4c620 Don't initialize cache until we receive flags (#31) 2020-10-25 01:31:07 -04:00
Daniël Klabbers
7181b38ec1 changelog and dep for v0.1.0-beta.14 2020-10-15 13:55:23 +02:00
Daniël Klabbers
19efca8807 npm audit security vulnerabilities patched 2020-10-14 09:56:09 +02:00
flarum-bot
d864a287a8 Bundled output for commit ede3a339525099a0deb61776523e783253545cfd [skip ci] 2020-10-02 23:23:49 +00:00
Alexander Skvortsov
ede3a33952 Use Link component instead of route patch 2020-10-02 19:22:43 -04:00
Alexander Skvortsov
07e93eb6f9 Use flarum/utils/Stream instead of m.stream 2020-10-02 19:22:19 -04:00
flarum-bot
ccf9fae68c Bundled output for commit df74cc4a96a8103d1397bcfc76fce2e832df2228 [skip ci] 2020-09-24 02:49:19 +00:00
Alexander Skvortsov
df74cc4a96 Mithril 2 Update (#29)
Update for Mithril 2
2020-09-23 22:48:20 -04:00
flarum-bot
94c4b37799 Bundled output for commit 5038ec4590970fcebadc01b0b151c0291a6073a1 [skip ci] 2020-08-18 21:04:28 +00:00
David Sevilla Martín
5038ec4590 Update modal show call for the modal state changes (#28) 2020-08-18 17:03:37 -04:00