8888 Commits

Author SHA1 Message Date
Davide Iadeluca
9295e7b96f
chore(flags): require flarum/core ^1.8.6 (#4061) v1.8.6 2024-10-08 07:40:35 +01:00
Davide Iadeluca
9377256409
chore: 1.8.6 changelog (#4058)
* chore: `1.8.6` changelog

* chore: add recent fix

* chore: remove interim fixes
2024-10-08 07:13:56 +01:00
Davide Iadeluca
9c91c89326
[1.x] fix(core, mentions): return null if content left empty in formatter (#4059)
* test(core): implement test for creating discussion without content

* fix(core): handle `null` case in XML parser

* fix(mentions): change/remove typings in unparser

* fix(mentions): return early if xml null

* chore: fix PHPStan

* chore: move tests to mentions

* chore: remove unused import

* chore: remove unused imports

* test(mentions): implement test for post editing with content empty

* test(mentions): change post edit tests

* test(mentions): add test for creating discussion with empty string
2024-10-08 06:56:09 +01:00
flarum-bot
8169550f1c Bundled output for commit d5a1653d24d33984654acc1fb2aff2f11eb6bfb5
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-10-03 08:51:49 +00:00
Robert Korulczyk
d5a1653d24
[1.x] feat: allow to customize time formats through translations (#4053)
* Allow to customize time formats

* Fix CS
2024-10-03 09:47:48 +01:00
flarum-bot
db605bdbaa Bundled output for commit 1665d47adcfb980084f41f5f571a23577f765796
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-10-03 08:04:40 +00:00
IanM
1665d47adc
fix: compat: still return controls view item, even if empty (#4057) 2024-10-03 09:01:17 +01:00
flarum-bot
1c71ee0968 Bundled output for commit 6846f4232cad96811d0dad11c1d6016da40f6893
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-10-03 06:29:46 +00:00
IanM
6846f4232c
fix: js error as guest on DiscussionListItem (#4056) 2024-10-03 08:25:00 +02:00
Davide Iadeluca
88f182cc93
[1.x] [extensibility] Add (some) missing shims (#4027)
* chore: add some missing shims

* chore: remove unused import
2024-10-02 12:13:26 +01:00
flarum-bot
ed72aa0128 Bundled output for commit 12d21cdbfcac426fac490c66938d60c19b355df4
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-10-02 10:25:42 +00:00
Davide Iadeluca
12d21cdbfc
[1.x] [extensibility] refactor(core): allow labels of PostStreamScrubber to be customized (#4049)
* refactor(core): allow labels to be customized

* chore: change type annotation

* chore: remove type annotations

Importing `NestedStringArray` did cause issues in the CI
2024-10-02 11:19:26 +01:00
flarum-bot
359681f3c6 Bundled output for commit 1a4c4a0275781b78bdba8900d3e238fe53189437
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-10-02 09:25:35 +00:00
IanM
1a4c4a0275
feat: provide an 'actions' dropdown for extensions to add their additional buttons (#4054) 2024-10-02 10:18:00 +01:00
IanM
ea2fd2cade Revert "feat: provide an 'actions' dropdown for extensions to add their additional buttons"
This reverts commit 772852b3b3a83ef768c3c05b576adec565b8a419.
2024-10-02 09:53:12 +01:00
IanM
772852b3b3 feat: provide an 'actions' dropdown for extensions to add their additional buttons 2024-10-02 09:52:07 +01:00
flarum-bot
71717f9ebb Bundled output for commit 449ba48ba3d78b22a3122361e38a9d03b64b080e
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-10-02 07:10:53 +00:00
Davide Iadeluca
449ba48ba3
[1.x] [extensibility] Export all missing modules in compat (#4044)
* chore(emoji): export missing modules in compat API

* chore(flags): export missing modules in compat API

* chore(likes): export missing modules in compat API

* chore(lock): export missing modules in compat API

* chore(markdown): export missing modules in compat API

* chore(mentions): export missing modules in compat API

* chore(nicknames): export missing modules in compat API

* chore(extension-manager): export missing modules in compat API

* chore(statistics): export missing modules in compat API

* chore(sticky): export missing modules in compat API

* chore(subscriptions): export missing modules in compat API

* chore(suspend): export missing modules in compat API

* chore(tags): export missing modules in compat API

* chore(core): export missing modules in compat API

* chore: fix tsconfig
2024-10-02 08:04:10 +01:00
flarum-bot
4d75da36b8 Bundled output for commit d4fe5f5a7acdd5fbe0e1c80c77dae9b7069eb11a
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-10-02 06:54:38 +00:00
Davide Iadeluca
d4fe5f5a7a
[1.x] [extensibility] refactor(core, flags): improve & use extensibility of CommentPost & Post (#4047)
* refactor(core): improve extensibility of `CommentPost`

* refactor(core): rename method to more appropriate name

* refactor(core): further improve extensibility of `CommentPost`

* refactor(core): improve extensibility of `Post`

* refactor(flags): use new extensibility for flagged posts
2024-10-02 07:47:05 +01:00
flarum-bot
256c1846b7 Bundled output for commit 1fee96aebefda91769144ffc17c1d164d29ec289
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-30 14:45:34 +00:00
Davide Iadeluca
1fee96aebe
fix(core): revert extensibility improvements for replyCountItem() (#4051)
This fixes a breaking change with third-party extensions calling `replyCountItem()` and not expecting it to be an array.
2024-09-30 15:38:30 +01:00
flarum-bot
b49b3104e4 Bundled output for commit 7d8cfdfaec09e7e1e8af972e57b8fa1050ffee5c
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-30 11:38:37 +00:00
Davide Iadeluca
7d8cfdfaec
refactor(core): backport & improve extensibility of DiscussionListItem (#4048) 2024-09-30 12:32:23 +01:00
flarum-bot
845c38d6cb Bundled output for commit 4912a2e059a0b7e803f00c4a7f12a004252f2cb0
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-30 11:26:09 +00:00
Davide Iadeluca
4912a2e059
[1.x] [extensibility] refactor(core): improve extensibility of DiscussionPage (#4046)
* refactor(core): improve extensibility of `DiscussionPage`

* chore(core): improve type safety
2024-09-30 12:19:14 +01:00
flarum-bot
ca6d826f79 Bundled output for commit dce2549ff771fcee0fa39a1c56e8a1143d0deec4
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-30 11:08:05 +00:00
Davide Iadeluca
dce2549ff7
[1.x] [extensibility] refactor(core): improve extensibility of IndexPage (#4045)
* refactor(core): improve extensibility of `IndexPage`

* refactor(core): refactor the extensibility refactor
2024-09-30 12:02:58 +01:00
flarum-bot
306d0bc124 Bundled output for commit e3d07cb8cc55623d99f157db08ee02bb2f121c23
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-30 10:46:59 +00:00
IanM
e3d07cb8cc
feat: make it easier to add content after the first post (#4050) 2024-09-30 11:43:40 +01:00
flarum-bot
9bc8c7de99 Bundled output for commit 5076da9b3833b0787f7beabd715720e5a7e98185
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-29 19:16:08 +00:00
IanM
5076da9b38
feat: use common component for ip address display (#4042) 2024-09-29 20:12:53 +01:00
IanM
2c4d64cd20
[1.x] [extensibility] feat: allow classes that extends AbstractJob to be placed on a specified queue (#4026)
* feat: allow classes that extends AbstractJob to be placed on a specific queue

* Apply fixes from StyleCI

* php 7.3 compat

* Apply fixes from StyleCI

* change  to  to avoid conflicts with extensions that already do this

* chore: add docblock explaining that this solution only works for Redis queues

* Apply fixes from StyleCI

* chore: update docblock

* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-09-29 15:35:29 +01:00
flarum-bot
c9bd7dab1e Bundled output for commit df14216e1b72810a023b96dc743f1bc29f42886c
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-29 13:48:02 +00:00
IanM
df14216e1b
chore: allow extending PostPreview content (#4043) 2024-09-29 14:44:51 +01:00
flarum-bot
de36551b45 Bundled output for commit 54fbcdedd5375d7680b8330097a4b134cb77f198
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-29 11:30:04 +00:00
IanM
54fbcdedd5
chore: extensible TagHero (#4041) 2024-09-29 12:26:53 +01:00
flarum-bot
e9c8890686 Bundled output for commit 6dd0c0e915609437b03dd09b6b45383eb5381ddd
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-29 11:12:28 +00:00
IanM
6dd0c0e915
[1.x] [extensibility] chore: make PostMeta extensible (#4040)
* chore: make PostMeta extensible

* add prio for ip item
2024-09-29 12:06:04 +01:00
flarum-bot
444df80caf Bundled output for commit 3ebd21858836cbee8ba125d366efa5e8de508c48
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-29 09:03:25 +00:00
IanM
3ebd218588
chore: make WelcomeHero extensible (#4039) 2024-09-29 09:58:12 +01:00
IanM
9038ff64f8
[suspend][core] [1.x] fix: suspended users can remove avatar (#3998)
* fix: suspended users can remove avatar

* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-09-29 08:54:13 +01:00
flarum-bot
f8c30c96dc Bundled output for commit 3743bc0886d2ed74ec422b031eab97d43400758d
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-29 07:41:13 +00:00
IanM
3743bc0886
chore: point fontawesome links at v5 free (#4038) 2024-09-29 08:35:57 +01:00
flarum-bot
5855134b79 Bundled output for commit 7f657dac048aa860457ca6bcc85dc17522a84256
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-29 07:12:08 +00:00
IanM
7f657dac04
feat: make it easier to modify AppearancePage, BasicsPage, MailPage (#4037) 2024-09-29 08:07:10 +01:00
flarum-bot
84414c6699 Bundled output for commit bf0d895106fd20fd79024711cf6efa8b82272e61
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-28 08:23:34 +00:00
IanM
bf0d895106 chore: fix Flarum logo url, remove huntr link 2024-09-28 09:17:05 +01:00
IanM
c942f3100d
Revert "Export all missing modules in compat (#4006)" (#4032)
This reverts commit e0adf90453cca66fdafcddcbbcfcaf9d5bdea17f.
2024-09-28 09:11:37 +01:00
flarum-bot
d5882d9357 Bundled output for commit 7540ede8974b6b26e46f2f74b3a94da1eb873d14
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2024-09-28 07:59:41 +00:00