Sami Mazouz
44f0773344
chore: lower unnecessary high req
2024-11-04 19:42:29 +01:00
Sami Mazouz
d7a54037c2
fix(phpstan): return type
2024-11-04 11:36:41 +01:00
Sami Mazouz
ffea0db012
fix(regression): discussion creation fails
2024-11-04 11:28:57 +01:00
Sami Mazouz
b3a40115af
fix: null title error
2024-11-04 11:14:46 +01:00
StyleCI Bot
c754ced61c
Apply fixes from StyleCI
2024-11-02 15:29:22 +00:00
Sami Mazouz
849faf8065
revert: recover start
method used by ecosystem
2024-11-02 16:29:10 +01:00
flarum-bot
6e90945922
Bundled output for commit cf9d88f334
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-11-02 14:38:55 +00:00
Sami Mazouz
cf9d88f334
chore: remove debugging code
2024-11-02 15:36:13 +01:00
Sami Mazouz
0c32184775
feat: use components for email templating ( #4102 )
2024-11-02 12:09:51 +01:00
Sami Mazouz
0ac01b9053
chore: class naming
2024-11-01 15:30:19 +01:00
Sami Mazouz
4d227a6dda
fix: header list item width
2024-11-01 15:04:50 +01:00
Sami Mazouz
535dbb4a10
fix: margin
2024-11-01 09:47:06 +01:00
Sami Mazouz
bb29e8793e
fix: prevent wiping out existing database on install ( #4092 )
2024-10-25 20:08:13 +01:00
Sami Mazouz
9817cb8a60
fix: phpstan
2024-10-25 16:13:39 +01:00
flarum-bot
ff7b02ac1b
Bundled output for commit 9f87bf18c2
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-25 15:03:06 +00:00
Sami Mazouz
9f87bf18c2
fix: header dropdown item might not be linkable
2024-10-25 16:00:32 +01:00
Sami Mazouz
1ead69e9b6
fix: allow use of an attribute named relationships
2024-10-25 16:00:32 +01:00
Sami Mazouz
53ac644516
chore: simplify checking of current composer
2024-10-25 16:00:32 +01:00
Sami Mazouz
6e5180dcfe
fix: hard to track error
2024-10-25 16:00:32 +01:00
flarum-bot
d09ff7176c
Bundled output for commit 3af78c1a3d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-25 12:49:33 +00:00
Sami Mazouz
3af78c1a3d
fix: allow prefixing route names
2024-10-25 13:47:04 +01:00
flarum-bot
38585cf478
Bundled output for commit 5435d1758e
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-25 09:38:24 +00:00
Sami Mazouz
5435d1758e
fix: missing translation
2024-10-25 10:35:40 +01:00
flarum-bot
d6abfb0e26
Bundled output for commit 11c5a8a8eb
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-25 09:24:02 +00:00
Sami Mazouz
11c5a8a8eb
fix: missing translation
2024-10-25 10:21:29 +01:00
flarum-bot
017b90b97d
Bundled output for commit 4715293164
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-25 09:15:55 +00:00
Sami Mazouz
4715293164
fix: caught warnings and missing locale
2024-10-25 10:13:11 +01:00
Sami Mazouz
30c7602814
chore: update tsconfig version
2024-10-25 09:39:34 +01:00
Sami Mazouz
3b7b4055f1
test: prevent false negatives
2024-10-24 20:09:27 +01:00
flarum-bot
4d8e6abff6
Bundled output for commit 3b66925a66
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-24 17:49:43 +00:00
Sami Mazouz
3b66925a66
fix: Logout controller allows open redirects ( #4091 )
...
Co-authored-by: IanM <16573496+imorland@users.noreply.github.com >
2024-10-24 18:47:06 +01:00
flarum-bot
eae355ddaf
Bundled output for commit 91fd28c319
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-24 15:52:33 +00:00
雨
91fd28c319
fix(messages): missing tooltip translation ( #4090 )
2024-10-24 16:49:55 +01:00
雨
cacf556c9a
fix(regression): app header container overflow on mobile ( #4089 )
2024-10-24 16:49:33 +01:00
Sami Mazouz
73a029641a
chore: switch formatter to format-message
( #4088 )
...
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl >
2024-10-24 16:48:33 +01:00
Sami Mazouz
0464324485
chore: yarn format
2024-10-23 11:31:45 +01:00
flarum-bot
1af7a36c18
Bundled output for commit e030c1ee8c
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-23 10:26:15 +00:00
雨
e030c1ee8c
fix: search box animating on small screen ( #4076 )
2024-10-23 11:23:47 +01:00
flarum-bot
ea9b059f70
Bundled output for commit d041515e19
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-23 10:13:32 +00:00
雨
d041515e19
feat: date time formats from locales ( #4029 )
...
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2024-10-23 11:11:07 +01:00
flarum-bot
983d42160d
Bundled output for commit dc5a7ac647
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-22 17:26:49 +00:00
雨
dc5a7ac647
fix: alert component broken layout ( #4087 )
2024-10-22 18:24:20 +01:00
flarum-bot
51015b3ca4
Bundled output for commit 6a3be3301e
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-22 12:56:37 +00:00
雨
6a3be3301e
fix(messages): timezone is missing from datetime ( #4086 )
2024-10-22 13:53:43 +01:00
Daniel
f51df1c486
feat(nicknames): allow OAuth to provide a nickname ( #4004 )
2024-10-22 13:52:25 +01:00
flarum-bot
d8faf25383
Bundled output for commit f729a4d054
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-22 09:11:49 +00:00
Tristian Kelly
f729a4d054
test(mentions): add integration test for reply approval notification ( #3748 )
...
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2024-10-22 10:09:18 +01:00
flarum-bot
808a060a0d
Bundled output for commit d3002106d5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-22 08:31:21 +00:00
雨
d3002106d5
fix(a11y): false aria-hidden causes inconsistent behavior ( #4074 )
2024-10-22 09:28:43 +01:00
Sami Mazouz
f97c67e2f9
test: prevent false negatives
2024-10-21 19:16:12 +01:00
flarum-bot
8219e76da4
Bundled output for commit 30a6a9b697
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-21 18:13:23 +00:00
Sami Mazouz
30a6a9b697
chore: ignore deprecation errors in prod ( #4072 )
2024-10-21 19:10:57 +01:00
Chisato Nishikigi
a0311dfb2b
feat(sticky): make excerpt optional in sticky ( #4016 )
2024-10-21 19:09:48 +01:00
Davide Iadeluca
b86a4a0fe0
fix: inconsistent modal position ( #3951 )
2024-10-21 17:55:50 +01:00
Sami Mazouz
1584174e1c
test: prevent false negatives
2024-10-21 16:09:02 +01:00
flarum-bot
b75a51c271
Bundled output for commit 265d0e1dd1
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-21 15:03:38 +00:00
Viktor Szépe
265d0e1dd1
chore: fix typos ( #4021 )
2024-10-21 16:00:56 +01:00
Tristian Kelly
084ae6fceb
feat: allow resetting settings to default ( #3935 )
...
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2024-10-21 15:17:24 +01:00
flarum-bot
ee60a7f8ca
Bundled output for commit b9b52d85a7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-21 10:52:15 +00:00
Sami Mazouz
b9b52d85a7
feat: define FLARUM_START
constant ( #4082 )
2024-10-21 11:49:43 +01:00
flarum-bot
57879974ca
Bundled output for commit a3333320d7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-19 19:34:54 +00:00
Sami Mazouz
a3333320d7
fix(ci): skip node_modules typings
2024-10-19 20:32:20 +01:00
flarum-bot
dccf1535f9
Bundled output for commit 6f823731ca
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-19 18:12:17 +00:00
Sami Mazouz
6f823731ca
fix(gh): ci failures on node 20
2024-10-19 19:08:53 +01:00
flarum-bot
caefacbecd
Bundled output for commit a47bd2d457
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-19 17:44:34 +00:00
Sami Mazouz
a47bd2d457
chore: update js dependencies
2024-10-19 18:41:07 +01:00
Sami Mazouz
17ec1567a4
test: fix
2024-10-19 18:05:33 +01:00
flarum-bot
e3f969588c
Bundled output for commit e9be7b9aea
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-19 16:53:04 +00:00
Sami Mazouz
e9be7b9aea
perf: store message mentions for better performance ( #4079 )
2024-10-19 17:49:58 +01:00
flarum-bot
8742790980
Bundled output for commit 321020ab83
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-19 16:48:34 +00:00
Sami Mazouz
321020ab83
fix: skip major updater if not ready for prod ( #4080 )
2024-10-19 17:45:30 +01:00
Sami Mazouz
a5a1f6a9d2
test: fix
2024-10-19 17:15:52 +01:00
flarum-bot
53de041194
Bundled output for commit 5d26a72e98
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-19 11:05:48 +00:00
Sami Mazouz
5d26a72e98
fix: typings
2024-10-19 12:02:06 +01:00
flarum-bot
09c70006c6
Bundled output for commit feff1a1e7a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-19 10:58:33 +00:00
Sami Mazouz
feff1a1e7a
fix: post reply error
2024-10-19 11:55:05 +01:00
Sami Mazouz
356f97641e
chore: update frontend workflow
2024-10-17 20:18:32 +01:00
Sami Mazouz
bfb82fca4b
test: fix
2024-10-17 19:37:45 +01:00
flarum-bot
4acb6e36f5
Bundled output for commit 139adb0e65
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-17 18:31:38 +00:00
Sami Mazouz
139adb0e65
chore: fix typings
2024-10-17 19:28:30 +01:00
flarum-bot
fc8b58945d
Bundled output for commit 675c6840ac
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-17 15:58:32 +00:00
Sami Mazouz
675c6840ac
chore: phpstan
2024-10-17 16:55:25 +01:00
flarum-bot
b112fec3e7
Bundled output for commit 498b8dfe6a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-17 15:48:18 +00:00
StyleCI Bot
498b8dfe6a
Apply fixes from StyleCI
2024-10-17 15:45:09 +00:00
Sami Mazouz
b866623c94
chore: phpstan
2024-10-17 16:44:55 +01:00
Sami Mazouz
07b98030df
chore(em): port fix from 1.x
2024-10-17 15:19:31 +01:00
flarum-bot
7264941f91
Bundled output for commit 876a964e1e
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-17 12:29:35 +00:00
Sami Mazouz
876a964e1e
feat: add option for filtering read stickied on all discussions page ( #4073 )
...
Co-authored-by: Adrian McCay <2762877+adrianmccay@users.noreply.github.com >
2024-10-17 13:26:30 +01:00
flarum-bot
db17253ccd
Bundled output for commit 0107c96fb7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-16 17:15:53 +00:00
Sami Mazouz
0107c96fb7
feat: extension list UI ( #4066 )
2024-10-16 18:12:46 +01:00
Sami Mazouz
b0e8f5ca36
refactor: remove listing of posts in the show discussion endpoint ( #4067 )
2024-10-16 18:02:46 +01:00
flarum-bot
40996de39a
Bundled output for commit 7383bc94df
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-16 16:54:33 +00:00
Sami Mazouz
7383bc94df
feat: add List-Unsubscribe
header to emails ( #4069 )
2024-10-16 17:51:20 +01:00
flarum-bot
abe1a4cc30
Bundled output for commit f83020cd1f
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-12 13:40:26 +00:00
Sami Mazouz
f83020cd1f
feat: add Admin.generalIndexItems
extender ( #4068 )
...
* feat: add `Admin.generalIndexItems` extender
* docs
2024-10-12 14:37:10 +01:00
flarum-bot
77f3685033
Bundled output for commit 4291918171
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-10-02 20:56:44 +00:00
Vijayan K S
4291918171
chore: convert HeaderPrimary to TypeScript ( #4052 )
2024-10-02 21:53:35 +01:00
flarum-bot
da441c77ca
Bundled output for commit 1a12209fdc
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-29 08:17:50 +00:00
Ngô Quốc Đạt
1a12209fdc
chore: update FontAwesome v6 icon search link ( #4036 )
2024-09-29 09:14:47 +01:00
flarum-bot
e5f124b696
Bundled output for commit f8560ef51b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 16:11:55 +00:00
Ngô Quốc Đạt
f8560ef51b
chore: wrap RepositoryModal's fields in Form component ( #4034 )
...
* chore: wrap RepositoryModal's fields in Form component
* wip
2024-09-28 17:08:52 +01:00
Ngô Quốc Đạt
40a84fc3d8
chore: do not render form header when label or description is not present ( #4035 )
2024-09-28 17:07:46 +01:00
flarum-bot
6444ccd6a5
Bundled output for commit 1f3afca482
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 15:15:19 +00:00
Sami Mazouz
1f3afca482
fix: regression in typings
2024-09-28 16:11:50 +01:00
flarum-bot
d818e83235
Bundled output for commit 257be2b9db
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 14:51:19 +00:00
Sami Mazouz
257be2b9db
test: add frontend tests ( #3991 )
2024-09-28 15:47:45 +01:00
雨
c0d3d976fa
fix: new webpack config doesn't work on windows ( #4030 )
2024-09-28 14:04:50 +01:00
flarum-bot
29bb477efe
Bundled output for commit feca3d0da6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 13:00:10 +00:00
Ngô Quốc Đạt
feca3d0da6
fix: respect user theme preference ( #4033 )
2024-09-28 13:56:45 +01:00
flarum-bot
077363a085
Bundled output for commit 5ff66fd033
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 12:41:10 +00:00
Sami Mazouz
5ff66fd033
fix: JS errors
2024-09-28 13:37:29 +01:00
flarum-bot
ae03e6d473
Bundled output for commit 35f76bce60
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 11:55:36 +00:00
Sami Mazouz
35f76bce60
fix: move UserSearchResult
to common
2024-09-28 12:52:04 +01:00
Sami Mazouz
124b7968f2
fix: no js tests
2024-09-28 11:51:27 +01:00
flarum-bot
53f4179134
Bundled output for commit 3a266d5195
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 10:48:53 +00:00
Sami Mazouz
3a266d5195
fix: wrong IDE inserted import
2024-09-28 11:45:24 +01:00
flarum-bot
4b2c787c3f
Bundled output for commit e5389acd6e
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 10:42:10 +00:00
Sami Mazouz
e5389acd6e
fix: js errors
2024-09-28 11:38:38 +01:00
flarum-bot
94991862ed
Bundled output for commit b74ecbfacf
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 10:16:18 +00:00
Sami Mazouz
b74ecbfacf
feat: messages extension ( #4028 )
...
* feat: private messages
2024-09-28 11:12:52 +01:00
flarum-bot
bc4356a7f5
Bundled output for commit 5cea3d3b9b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-28 08:38:54 +00:00
Sami Mazouz
5cea3d3b9b
feat: admin search UI ( #4022 )
2024-09-28 09:35:37 +01:00
Ngô Quốc Đạt
e08a9f6146
chore: Bisect should use CacheClearCommand
in core instead ( #4023 )
2024-09-25 17:28:08 +01:00
flarum-bot
3f4b1592af
Bundled output for commit c5b4ff7b27
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-20 08:43:37 +00:00
青石
c5b4ff7b27
feat(emoji): allow the user to set the cdn address ( #3908 )
2024-09-20 09:40:23 +01:00
flarum-bot
9b9fd76045
Bundled output for commit d3144ee234
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-20 07:34:36 +00:00
Daniël Klabbers
d3144ee234
fix: cannot install without prefix ( #4001 )
2024-09-20 08:31:34 +01:00
Rafał Całka
e1a77fd7c8
fix: tag state loaded for wrong user ( #4009 )
2024-09-20 08:30:45 +01:00
雨
aafc615d67
fix: reset save button state on failure in admin page ( #4010 )
2024-09-20 08:28:45 +01:00
Sami Mazouz
f13a1c8387
feat: fontawesome v6 ( #4020 )
2024-09-20 08:27:08 +01:00
flarum-bot
c28eee59b3
Bundled output for commit 2204157ac0
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-19 21:38:28 +00:00
Sami Mazouz
2204157ac0
fix(a11y): convert empty links to buttons ( #3926 )
2024-09-19 22:35:20 +01:00
flarum-bot
3a8e8ecab9
Bundled output for commit 7ecc8b0cba
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-19 16:37:22 +00:00
Sami Mazouz
7ecc8b0cba
fix
2024-09-19 17:34:05 +01:00
flarum-bot
f66a1b998f
Bundled output for commit 1ab3029e78
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-19 16:05:15 +00:00
Sami Mazouz
1ab3029e78
feat: post search adapted with global search ( #4019 )
2024-09-19 17:01:58 +01:00
Sami Mazouz
06eb613c9b
chore: remove leftover debugging code
2024-09-11 12:18:35 +01:00
flarum-bot
9dc5f1572c
Bundled output for commit b9037df05c
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-09-11 10:33:19 +00:00
Sami Mazouz
b9037df05c
fix: code splitting on dev mode
2024-09-11 11:30:10 +01:00
Sami Mazouz
270ba09d08
chore: yarn format
2024-09-11 09:38:53 +01:00
Sami Mazouz
75399117e3
fix: code splitting bug
2024-09-10 18:11:35 +01:00
flarum-bot
4cb6b8fbb9
Bundled output for commit a00b0df4d8
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-08-08 14:45:00 +00:00
Sami Mazouz
a00b0df4d8
chore: IndexSidebar
class
2024-08-08 15:41:48 +01:00
flarum-bot
09b9b4a083
Bundled output for commit 6663b5dff0
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-08-08 13:53:14 +00:00
Daniël Klabbers
6663b5dff0
fix: 3 char hex color is incorrectly modified to 6 ( #4013 )
...
The current logic creates `cdecde` from `cde`, it should be `ccddee`.
@dsevillamartin said this is the code to use instead and chat gpt said he's brilliant so..
2024-08-08 14:50:09 +01:00
Sami Mazouz
6b336c5ea8
chore: update dependencies ( #4012 )
...
* chore: phpunit 10
* chore: config
* Apply fixes from StyleCI
* chore: phpunit 11 (php 8.2 minimum requirement)
* feat: laravel 11
* Apply fixes from StyleCI
* feat: carbon v3
* fixes
2024-08-06 16:50:09 +01:00
flarum-bot
2f92a6c739
Bundled output for commit 770f9370af
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-08-02 11:52:43 +00:00
Sami Mazouz
770f9370af
fix: 2.0 bugs ( #4011 )
2024-08-02 12:49:34 +01:00
Daniël Klabbers
2b56129d70
fix: duplicated mentionsUsers in extend.php
2024-06-28 21:42:36 +02:00
StyleCI Bot
873db6e00b
Apply fixes from StyleCI
2024-06-22 09:59:48 +00:00
Sami Mazouz
3f6e9e6b0c
chore
2024-06-22 10:59:30 +01:00
Ngô Quốc Đạt
19196c219c
Simplify variable assignment using null coalescing operator ( #4000 )
2024-06-22 10:53:00 +01:00
flarum-bot
f3c8921b09
Bundled output for commit c8dc8f6922
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-06-22 09:48:18 +00:00
Davide Iadeluca
c8dc8f6922
refactor: unify frontend initializers naming ( #4003 )
...
* refactor: use consistent naming for frontend initializers
* refactor: use arrow functions for frontend initializers
2024-06-22 10:45:17 +01:00
flarum-bot
d52068cf5b
Bundled output for commit b91caec30b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-06-22 07:08:06 +00:00
Sami Mazouz
b91caec30b
feat: vanilla CSS color scheme changes ( #3996 )
...
* feat: vanilla CSS color scheme changes
* chore: scheme mixin
* chore: remove darkmode & colored header less variables
* feat: high contrast schemes
2024-06-22 08:05:07 +01:00
Sami Mazouz
379298acb0
feat: add support for PgSQL ( #3985 )
...
* feat: add support for `PgSQL`
* chore: generate dump
* feat: query exception errors db driver hint
* feat: allow defining supported databases
* chore: review comments
* feat: setting for pgsql preferred search config
2024-06-22 08:03:56 +01:00
Daniël Klabbers
d04cda6ca3
fix: homepage screenshot missing after migration
2024-06-21 22:11:37 +02:00
Daniël Klabbers
6339446c82
chore: remove huntr reference in readme
2024-06-21 22:10:56 +02:00
Daniël Klabbers
a002571984
fix: logo is missing
2024-06-21 22:10:36 +02:00
Sami Mazouz
3dd2382ea0
chore: drop the need for a json-api-server
fork ( #3986 )
...
* chore: drop the need for a json-api-server fork
* chore: custom Serializer
* chore
* chore: adapt
* fix
* phpstan
2024-06-21 10:46:24 +01:00
flarum-bot
d73cd0ecdd
Bundled output for commit a8777c6198
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-06-21 08:39:52 +00:00
Sami Mazouz
a8777c6198
refactor: JSON:API ( #3971 )
...
* refactor: json:api refactor iteration 1
* chore: delete dead code
* fix: regressions
* chore: move additions/changes to package
* feat: AccessTokenResource
* feat: allow dependency injection in resources
* feat: `ApiResource` extender
* feat: improve
* feat: refactor tags extension
* feat: refactor flags extension
* fix: regressions
* fix: drop bc layer
* feat: refactor suspend extension
* feat: refactor subscriptions extension
* feat: refactor approval extension
* feat: refactor sticky extension
* feat: refactor nicknames extension
* feat: refactor mentions extension
* feat: refactor lock extension
* feat: refactor likes extension
* chore: merge conflicts
* feat: refactor extension-manager extension
* feat: context current endpoint helpers
* chore: minor
* feat: cleaner sortmap implementation
* chore: drop old package
* chore: not needed (auto scoping)
* fix: actor only fields
* refactor: simplify index endpoint
* feat: eager loading
* test: adapt
* test: phpstan
* test: adapt
* fix: typing
* fix: approving content
* tet: adapt frontend tests
* chore: typings
* chore: review
* fix: breaking change
2024-06-21 09:36:32 +01:00
flarum-bot
10514709f1
Bundled output for commit eb6e599df1
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-06-21 06:28:22 +00:00
Sami Mazouz
eb6e599df1
feat: add support for SQLite
( #3984 )
...
* feat: add support for sqlite
* chore: add warning on install
* fix: ignore constraints before transaction begins
* chore: update workflow
* Apply fixes from StyleCI
* chore: generate sqlite dump and manually add foreign keys
* chore: fix actions
* chore: fix actions
* chore: fix actions
* chore: fix actions
* chore: fix actions
* chore: fix actions
* test: fix
* Apply fixes from StyleCI
* fix: sqlite with db prefix
* Apply fixes from StyleCI
* fix: statistics sqlite
2024-06-21 07:25:11 +01:00
flarum-bot
5ce1aeab47
Bundled output for commit 389d004ddc
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-06-16 15:55:43 +00:00
Ngô Quốc Đạt
389d004ddc
feat: Add conditional rendering for email status in MailPage.tsx ( #3997 )
2024-06-16 17:52:38 +02:00
Ngô Quốc Đạt
72f89c0209
fix: setting key safe_mode_extensions
not exists ( #3992 )
2024-05-18 18:14:04 +01:00
Davide Iadeluca
1e7eddb61e
ci: allow custom actions runner to be defined ( #3988 )
2024-05-16 17:30:13 +01:00
flarum-bot
1302378141
Bundled output for commit 29ede5aa27
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-05-14 20:13:28 +00:00
Sami Mazouz
29ede5aa27
feat: JS Notification
extender ( #3974 )
...
* feat: JS `Notification` extender
* fix
2024-05-14 21:10:07 +01:00
flarum-bot
d273b1920f
Bundled output for commit b02f8190ea
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-05-03 13:23:30 +00:00
Sami Mazouz
b02f8190ea
feat: extension bisect ( #3980 )
...
* feat: extension bisect
* Apply fixes from StyleCI
* chore: review
* Apply suggestions from code review
* feat: add stop bisect button
* feat: redirect to result extension page
Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com >
2024-05-03 14:20:12 +01:00
flarum-bot
e0025df3e7
Bundled output for commit b8e17182e9
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-05-03 13:09:21 +00:00
Sami Mazouz
b8e17182e9
feat: advanced maintenance modes ( #3977 )
...
* feat: low maintenance mode (maintenance with admin access) (#3975 )
* feat: low maintenance mode (maintenance with admin access)
* Apply fixes from StyleCI
* chore: only required when basic
* chore: more concise code
* chore(review): enum
* feat: enable through settings
* Apply fixes from StyleCI
* core: typing
* feat: safe mode (#3978 )
* feat: safe mode
* feat: add extension page warning
* feat: `safe_mode_extensions`
* Apply fixes from StyleCI
2024-05-03 14:05:58 +01:00
Sami Mazouz
2b917372a7
feat: eloquent factories (primarily for tests) ( #3982 )
2024-05-03 09:20:27 +01:00
Sami Mazouz
270188b5b0
fix: compiling split chunks in production
2024-04-26 14:25:31 +01:00
flarum-bot
9149ecc7aa
Bundled output for commit 5fc2bb5eb6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-04-07 12:23:32 +00:00
Sami Mazouz
5fc2bb5eb6
fix: broken assets
2024-04-07 13:19:57 +01:00
flarum-bot
24f3a6829f
Bundled output for commit bf523b2325
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-04-06 13:55:44 +00:00
Sami Mazouz
bf523b2325
chore: extract buildSettingComponent
method into a FormGroup
component ( #3927 )
...
* chore: extract `buildSettingComponent` method into a `FormGroup` component
* chore: typings
* feat: move to common
2024-04-06 14:52:13 +01:00
Daniël Klabbers
e771b908d5
Patch vulnerability advisory ( #3966 )
...
Seems composer has a vulnerability, see https://github.com/advisories/GHSA-7c6p-848j-wh5h
Affected versions
>= 2.0.0-alpha1, < 2.2.23 -- patched in 2.2.23
>= 2.3.0-rc1, < 2.7.0 -- patched in 2.7.0
---
Let's raise the minimum to enforce the latest.
Thank you @peopleinside for reporting this.
2024-02-22 11:40:56 +01:00
flarum-bot
721e2eae3d
Bundled output for commit 3fbe05fd18
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-22 18:01:17 +00:00
Sami Mazouz
3fbe05fd18
feat(em): port extension manager from 1.0 ( #3959 )
...
* feat(em): port extension manager from 1.0
* Apply fixes from StyleCI
* chore: phpstan
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2024-01-22 18:58:08 +01:00
IanM
8f29b7af82
feat: support composer auth ( #3961 )
2024-01-22 18:57:54 +01:00
Ngô Quốc Đạt
734f4a150c
chore: use hex_color
rule for color validation ( #3936 )
2024-01-19 12:09:22 +01:00
flarum-bot
0186ca909e
Bundled output for commit 1aa7806244
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-19 11:07:33 +00:00
Ngô Quốc Đạt
1aa7806244
Fix notify for all posts switch field loading state ( #3938 )
2024-01-19 12:04:25 +01:00
IanM
e3350543af
feat: upgrade intervention/image
to 3.2 ( #3947 )
...
* chore: create standalone imageprovider
* chore: upgrade intervention to v3
* Apply fixes from StyleCI
* use new static instatiation
* Revert "Apply fixes from StyleCI"
This reverts commit 096b4d9a79fa41c948a7572cf65316ebc6b07d36.
* get avatar from remote
* Apply fixes from StyleCI
* fix: incorrect gid exception namespace
* fix test
* remove debug code
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2024-01-19 11:49:00 +01:00
Sami Mazouz
d400dcbc2f
feat: dispatch event to flarum/installation-packages
on release ( #3625 )
2024-01-19 09:54:26 +01:00
Davide Iadeluca
430709bf5b
[2.x] fix(Mentions): allow renderer to be used without context ( #3954 )
...
* fix(Mentions): allow renderer to be used without context
* test(Mentions): implement test for rendering post without context
* Update UnparsePostMentions.php
* Update PostMentionsTest.php
---------
Co-authored-by: IanM <16573496+imorland@users.noreply.github.com >
2024-01-10 11:17:11 +00:00
flarum-bot
f784f48906
Bundled output for commit 3a34136e36
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-09 21:54:15 +00:00
Sami Mazouz
3a34136e36
feat: search UI/UX revamp ( #3941 )
...
* feat: first iteration
* chore: tweak
* feat: second iteration
* chore: incorrect code organization
* feat: gambit input suggestions
* feat: gambit keyboard navigation
* chore: bugs
* feat: negative gambits
* feat: improve gambit highlighting
* refactor: localize gambits
* feat: negative and positive gambit buttons
* fix: permissions
* chore: wat
* per: lazy load search modal
* fix: extensibility and bug fixes
* fix: bugs
* feat: reusable autocomplete dropdown
* chore: format
* fix: tag filter
2024-01-09 21:51:01 +00:00
flarum-bot
fb1703cd9b
Bundled output for commit b58fec7ead
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-09 18:13:57 +00:00
Ngô Quốc Đạt
b58fec7ead
Fix width issue in edit user modal ( #3939 )
...
* Fix width input issue in EditUserModal
* update
2024-01-09 18:10:55 +00:00
flarum-bot
537f97a07a
Bundled output for commit c1be00e79a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-09 18:04:43 +00:00
Sami Mazouz
c1be00e79a
chore: improve debugging experience ( #3944 )
2024-01-09 18:01:29 +00:00
dependabot[bot]
91b89bc698
chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 ( #3957 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 18:19:28 +01:00
flarum-bot
278617a10d
Bundled output for commit f793e5b8f8
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-09 17:10:55 +00:00
IanM
f793e5b8f8
fix: ts error causing build to fail ( #3956 )
2024-01-09 17:07:38 +00:00
IanM
01598555a9
chore: larastan changed namespace ( #3955 )
2024-01-09 17:07:26 +00:00
StyleCI Bot
5399c86a1b
Apply fixes from StyleCI
2024-01-09 15:06:12 +00:00
IanM
74ce4cf1a7
chore: dummy commit for StyleCI purposes
2024-01-09 15:05:47 +00:00
Ngô Quốc Đạt
b4a82e81fc
fix: overflowing forum stats ( #3940 )
2023-12-01 11:42:36 +01:00
Rafał Całka
471ce0ea2a
fix(approval): PostWasApproved
event triggered incorrectly
2023-11-23 18:50:47 +01:00
IanM
723cb73d48
Enable testing on PHP 8.3 ( #3932 )
2023-11-23 18:48:24 +01:00
flarum-bot
e4abf93763
Bundled output for commit 9310ce13d8
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-23 17:19:53 +00:00
Sami Mazouz
9310ce13d8
chore: yarn format
2023-11-23 18:16:49 +01:00
flarum-bot
d4c532c949
Bundled output for commit 46357ee9a9
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-23 17:14:53 +00:00
Tristian Kelly
46357ee9a9
perf(flags): add pagination to flags list ( #3931 )
2023-11-23 18:11:46 +01:00
flarum-bot
6cbdfb6aa1
Bundled output for commit 4b126d9f4c
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-11 18:46:13 +00:00
Sami Mazouz
4b126d9f4c
feat: revamp search ( #3893 )
...
* refactor: move gambits to frontend (#3885 )
* refactor: move gambits to frontend
* test: GambitManager
* refactor: merge filterer and searcher concepts (#3892 )
* chore: drop remaining backend regex gambits
* refactor: merge filterer & searcher concept
* refactor: adapt extenders
* refactor: no longer need to push gambits to `q`
* refactor: filters to gambits
* refactor: drop shred `Query` namespace
* chore: cleanup
* chore: leftover gambit references on the backend (#3894 )
* chore: leftover gambit references on the backend
* chore: namespace
* feat: search driver backend extension API (#3902 )
* feat: first iteration of search drivers
* feat: indexer API & tweaks
* feat: changes after POC driver
* fix: properly fire custom observables
* chore: remove debugging code
* fix: phpstan
* fix: custom eloquent events
* chore: drop POC usage
* test: indexer extender API
* fix: extension searcher fails without filters
* fix: phpstan
* fix: frontend created gambit
* feat: advanced page and localized driver settings (#3905 )
* feat: allow getting total search results and replacing filters (#3906 )
* feat: allow accessing total search results
* feat: allow replacing filters
* chore: phpstan
2023-11-11 19:43:09 +01:00
flarum-bot
9e04b010d8
Bundled output for commit 1c0e0933b0
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-11 18:38:17 +00:00
Sami Mazouz
1c0e0933b0
feat: improve emoji autocomplete ( #3923 )
...
* feat: improve emoji autocomplete
* chore: improve dropdown header
2023-11-11 19:31:53 +01:00
flarum-bot
60ffa78531
Bundled output for commit 294878291c
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 22:16:11 +00:00
IanM
294878291c
chore: format js
2023-11-10 22:09:50 +00:00
flarum-bot
05a7e24836
Bundled output for commit eaabeab8c9
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 22:04:30 +00:00
Sami Mazouz
eaabeab8c9
chore: extract FormModal
from Modal
( #3922 )
2023-11-10 21:59:34 +00:00
flarum-bot
9ef366493c
Bundled output for commit 208b94dc12
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 21:50:02 +00:00
Sami Mazouz
208b94dc12
chore(mentions,emoji): tie autocomplete to editor instance ( #3913 )
2023-11-10 21:44:00 +00:00
Sami Mazouz
5e3f8db095
fix: handled API errors break preloaded content ( #3920 )
...
* fix: handled API errors break preloaded content
* Apply fixes from StyleCI
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-11-10 21:39:08 +00:00
flarum-bot
deb99f0de4
Bundled output for commit 693bce912a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 21:38:19 +00:00
Sami Mazouz
693bce912a
fix(testing): use cookie for testing authentication ( #3924 )
2023-11-10 21:35:24 +00:00
Sami Mazouz
3107319812
fix: paginated list limit hard to change ( #3918 )
...
* fix: paginated list limit hard to change
* chore: use the default value
* chore: apply to other list states
* chore: remove debugging code
* fix: typings
2023-11-10 21:31:46 +00:00
Sami Mazouz
a9756cb5eb
fix: only set actor on events that have it ( #3914 )
2023-11-10 21:25:10 +00:00
flarum-bot
bbdf3b5aba
Bundled output for commit e2281a2123
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 21:23:23 +00:00
Sami Mazouz
e2281a2123
chore: handle deprecations from 1.x ( #3909 )
...
* chore: drop deprecated `post_number_index` column
* chore: remove deprecated `FlagsWillBeDeleted` event
* chore: `Migration::addSettings` can still be needed
* chore: `settings->get` default can still be needed
* chore: deprecated `$default` in `Settings::serializeToForum` extender
* chore: deprecated request `actor` attribute
* chore: already handled
* chore: remove `RecompileFrontendAssets::whenSettingsSaved`
* chore: remove `getReadIds`
* chore: `Model::dateAttribute` extender
* chore: `evented` js util
* chore: `WelcomeHero` js hidden prop
* chore: attributes pushData with relations
* chore: app request options `extract`
* chore: itemlist deprecations
* chore: `search` state
* chore: `getMentionText`
* chore: deprecated non-registered store type
* chore: `Button` title
* chore: `Modal` deprecations
* chore
* chore: deprecated `less` mixins
* Apply fixes from StyleCI
* fix
* fix: phpstan
* fix
* fix
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-11-10 21:20:18 +00:00
flarum-bot
d01c0e5210
Bundled output for commit bee50bec73
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-03 13:15:30 +00:00
Sami Mazouz
bee50bec73
fix: color input changes while typing ( #3919 )
2023-11-03 14:08:40 +01:00
flarum-bot
679d32729e
Bundled output for commit e978e29e00
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-03 08:10:35 +00:00
IanM
e978e29e00
fix: add history push ( #3916 )
2023-11-03 09:07:25 +01:00
Sami Mazouz
5cdfa0f640
fix: load event mentioned tags on show discussion endpoint ( #3915 )
2023-11-01 13:43:00 +00:00
flarum-bot
a3192d2934
Bundled output for commit 96ba2f5f2d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-10-29 13:51:57 +00:00
dependabot[bot]
96ba2f5f2d
chore(deps): bump @babel/traverse from 7.20.1 to 7.23.2 ( #3901 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.20.1 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 14:46:38 +01:00
Sami Mazouz
87a83d33b3
chore: avoid using .fa()
mixins and @fa-var
vars ( #3912 )
2023-10-29 14:45:50 +01:00
Ngô Quốc Đạt
015529ff1e
Use ::class
syntax to fetch class name instead of get_class()
function ( #3910 )
2023-10-29 14:43:58 +01:00
flarum-bot
2950290ad1
Bundled output for commit d154388468
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-10-29 12:32:28 +00:00
Sami Mazouz
d154388468
chore: function names
2023-10-29 13:27:34 +01:00
Gary Green
7c885c72fd
feat: frontend content flexible order priorities ( #3765 )
...
* Fix frontend factory so it includes controller content
* chore: more readable parameter passing
* feat: add priorities to frontend content
2023-10-29 12:59:48 +01:00
Sami Mazouz
577fc3e6a8
fix(webpack-config): split chunks can fail in dev mode ( #3911 )
2023-10-27 15:27:11 +01:00
IanM
e4e0fbff73
chore: remove ExtenderInterface[] as a conditional option, only support callable or ::class invoke ( #3904 )
...
* chore: remove ExtenderInterface[] as a conditional option, only support callable or ::class invoke
* Apply fixes from StyleCI
* stan
* review
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-10-21 17:37:07 +01:00
IanM
94de8b42b4
fix: console extender does not accept ::class attribute for schedule ( #3903 )
2023-10-21 17:34:48 +01:00
flarum-bot
db0d9cb006
Bundled output for commit 5ab5257ff5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-10-10 20:41:11 +00:00
Sami Mazouz
5ab5257ff5
feat: theming and extensibility improvements ( #3876 )
...
* feat: make page structure customizable across different pages (#3867 )
* feat: create `PageStructure` component
* feat: apply to `DiscussionPage`
* feat: apply to `UserPage`
* feat: apply to `TagsPage`
* fix: adapt subscriptions ext
* chore: cleanup
* chore: use grid & flexbox for the discussion list item (#3868 )
* chore: rename `DiscussionPage-list` to `DiscussionListPane`
* chore: itemlistify `DiscussionListItem`
* chore: use flex and grid for `DiscussionListItem`
* chore: use flexbox for `App-header` (#3869 )
* chore: use flex and grid for `App-header`
* chore: drop search floats
* fix: adapt admin styles
* chore: use flexbox in dropdowns and SplitDropdown for subscriptions (#3874 )
* chore: flexbox dropdown menu items
* chore: normalize subscriptions menu (use slit dropdown)
* chore: cleanup
* chore: misc flexbox/grid changes (#3875 )
* chore: `TagsPage` to tsx
* chore: `TagsPage` flexbox/grid
* chore: `IndexPage-toolbar` flexbox
* chore: `UserCard` flexbox & itemlists
* fix: `Post` improve spacing logic
* chore: `Post` grid and proper spacing
* fix: avatar editor hover layer layout
* chore: `Button` flex
* chore: normalize form semantics (#3877 )
* chore: normalize fieldsets
* fix: `LinkButton` spacing
* chore: consistent form semantics
* fix: styling regressions (#3878 )
* fix: post spacing goes off in other pages
* fix: regression
* feat: extract reusable components from `NotificationsDropdown` (#3879 )
* feat: extensible global notices (#3880 )
* fix: js error on null item list
* feat: extensible global notices
* chore: housekeeping (#3881 )
* chore: use CSS variables where still not using
* chore: cleanup suspension modal
* chore: cleanup post flag
* fix: badge vertical align
* chore: use CSS variables for custom coloring
* chore: `icon` helper to `Icon` component
* chore: `avatar` helper to `Avatar` component
* fix: chunk loading fails on admin frontend
* chore: format
* feat: reusable `UploadImageButton` component (#3882 )
* chore: convert `UploadImageButton` to tsx
* feat: reusable `UploadImageButton` component
* feat: add `image-upload` setting type
* feat: extensible default footer component (#3883 )
* chore: yarn format
2023-10-10 21:36:08 +01:00
flarum-bot
24d13e33bb
Bundled output for commit 412cfafb3a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-09-29 15:39:58 +00:00
IanM
412cfafb3a
feat: notification unsubscribe & email overhaul with HTML multipart ( #3872 )
2023-09-29 16:34:54 +01:00
Sami Mazouz
ec5cb98c77
chore: merge the app with the container & implement the ApplicationContract ( #3862 )
...
* chore: merge the app with the container & implement the ApplicationContract
Illuminate components always expect the app to be the container, but also expect the app to be implementing the laravel app contract. This means that very often between minor illuminate updates we get a call to a method on the app that doesn't exist in the Flarum app. This fixes the issue once and for all.
* chore: improve concern implementation readability
* chore: service provider no longer has to change app type
* chore: unimplement `terminat(e/ing)`
* Apply fixes from StyleCI
* chore: recover `container` prop
* chore: return types
* fix: phpstan errors
2023-09-15 09:30:24 +01:00
flarum-bot
23fdddf185
Bundled output for commit be9eb16d7d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-09-14 20:09:52 +00:00
Ngô Quốc Đạt
be9eb16d7d
chore: use str_contains ( #3841 )
2023-09-14 21:05:15 +01:00
IanM
ee34217b15
test: add MySQL 8.1 to the suite ( #3870 )
...
* Test using MySQL 8.1 also
* fix: db not added to matrix
* chore: add MySQL 8.1 to prefix tests
2023-09-14 21:04:25 +01:00
flarum-bot
e731fb6189
Bundled output for commit 229a7affa5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-08-02 17:04:35 +00:00
Sami Mazouz
229a7affa5
feat: Code Splitting ( #3860 )
...
* feat: configure webpack to allow splitting chunks
* feat: `JsDirectoryCompiler` and expose js assets URL
* chore: support es2020 dynamic importing
* feat: control which URL to fetch chunks from
* feat: allow showing async modals & split 'LogInModal'
* feat: split `SignUpModal`
* feat: allow rendering async pages & split `UserSecurityPage`
* fix: module might not be listed in chunk
* feat: lazy load user pages
* feat: track the chunk containing each module
* chore: lightly warn
* chore: split `Composer`
* feat: add common frontend (for split common chunks)
* fix: jsDoc typing imports should be ignored
* feat: split `PostStream` `ForgotPasswordModal` and `EditUserModal`
* fix: multiple inline async imports not picked up
* chore: new `common` frontend assets only needs a jsdir compiler
* feat: add revision hash to chunk import URL
* fix: nothing to split for `admin` frontend yet
* chore: cleanup registry API
* chore: throw an error in debug mode if attempting to import a non-loaded module
* feat: defer `extend` & `override` until after module registration
* fix: plugin not picking up on all module sources
* fix: must override default chunk loader function from webpack plugin
* feat: split tags `TagDiscussionModal` and `TagSelectionModal`
* fix: wrong export name
* feat: import chunked modules from external packages
* feat: extensions compatibility
* feat: Router frontend extender async component
* chore: clean JS output path (removes stale chunks)
* fix: common chunks also need flushing
* chore: flush backend stale chunks
* Apply fixes from StyleCI
* feat: loading alert when async page component is loading
* chore: `yarn format`
* chore: typings
* chore: remove exception
* Apply fixes from StyleCI
* chore(infra): bundlewatch
* chore(infra): bundlewatch split chunks
* feat: split text editor
* chore: tag typings
* chore: bundlewatch
* fix: windows paths
* fix: wrong planned ext import format
2023-08-02 17:57:57 +01:00
Sami Mazouz
2ffbc44b4e
chore(infra): bundlewatch
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 16:23:19 +01:00
Sami Mazouz
b2a5a970e8
chore(infra): bundlewatch
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 16:11:38 +01:00
Sami Mazouz
781000e047
chore(infra): bundlewatch
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 15:54:17 +01:00
Sami Mazouz
608e2a7e5a
fix(phpstan): code analysis
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 13:52:58 +01:00
Sami Mazouz
7467beb72f
fix(regression): avoid overriding laravel schedule command to store last run
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 13:47:56 +01:00
Sami Mazouz
6ec0911cd1
chore: yarn format
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 13:47:25 +01:00
flarum-bot
992d85e3b8
Bundled output for commit 59586e63e1
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-07-27 10:35:35 +00:00
Ngô Quốc Đạt
59586e63e1
chore: simplify if else conditions ( #3843 )
...
* chore: simplify if else conditions
* use nullsafe
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 11:31:04 +01:00
IanM
76004ed844
feat: add whenExtensionDisabled
to Conditional
extender ( #3847 )
...
* feat: add to extender
* Apply fixes from StyleCI
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-07-27 11:30:05 +01:00
IanM
e014aa0105
feat: make WelcomeHero extensible ( #3848 )
...
* chore: make WelcomeHero extensible
* undo import mithril change
* reduce to one itemlist
2023-07-27 11:27:00 +01:00
dependabot[bot]
ce334156d5
chore(deps): bump tough-cookie from 4.1.2 to 4.1.3 ( #3852 )
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 11:25:38 +01:00
dependabot[bot]
4d0190d4b0
chore(deps): bump word-wrap from 1.2.3 to 1.2.4 ( #3856 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 11:25:14 +01:00
David Sevilla Martin
da1aa2aa92
fix: default labels with SettingDropdown
and SelectDropdown
( #3854 )
...
* Remove modification to label in SelectDropdown
* Only set 'defaultLabel' if falsy and translate "Custom" default
2023-07-27 11:24:19 +01:00
David Sevilla Martin
c80220ad9b
fix(regression): Webpack not working on Windows with new export registry
2023-07-27 11:22:14 +01:00
dependabot[bot]
3593d53795
chore(deps): bump semver from 5.7.1 to 5.7.2 ( #3853 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 23:04:31 +01:00
Sami Mazouz
07623afacd
fix: installation command config path can be null
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-10 14:32:22 +01:00
flarum-bot
f2f7f16c68
Bundled output for commit f3b5313557
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-07-05 13:19:45 +00:00
Sami Mazouz
f3b5313557
chore: merge 1.8.1 mentions changes to 2.x
2023-07-05 14:15:01 +01:00
Sami Mazouz
0b128a5612
Merge branch '2.x' into 1.x
2023-07-05 10:29:03 +01:00
Sami Mazouz
102e31754a
chore: not 1.8.2
2023-07-04 11:19:15 +01:00
Sami Mazouz
8538f9c8f6
chore: prepare v1.8.2 release
2023-07-04 11:12:55 +01:00
Sami Mazouz
5a4bb7ccf2
fix: missing slug from post mention links
2023-07-04 11:00:45 +01:00
Sami Mazouz
d2a6329689
fix(mentions): cannot use mentionables extender ( #3849 )
2023-07-04 10:56:52 +01:00
Sami Mazouz
40dcaf882c
chore: cleanup composer deps
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-02 14:54:49 +01:00
Rafael Horvat
2bc2899a1d
fix(mentions): missed post mentions UI changes ( #3832 )
...
Co-authored-by: Ian Morland <ian@morland.me >
2023-07-01 17:44:59 +01:00
flarum-bot
9feb9dd4eb
Bundled output for commit 016503d8c3
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-06-29 18:24:31 +00:00
Sami Mazouz
016503d8c3
feat: export registry ( #3842 )
...
* feat: registry first iteration
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* feat: improve webpack auto export loader
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: remove `compat` API
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: cleanup
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-06-29 18:57:53 +01:00
James
cf70865aa6
chore: corrected typos in routes comments
2023-06-24 09:28:59 +01:00
Ngô Quốc Đạt
b003736d75
chore: Remove unused vars in catch ( #3839 )
2023-06-21 16:38:24 +01:00
IanM
0cf2001478
chore: upgrade Wikimedia.less to 4.1 ( #3837 )
2023-06-21 15:28:01 +01:00
Sami Mazouz
5820a16a96
chore: increase phpstan level to 6 ( #3836 )
...
* chore: increase phpstan level to 6
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-06-21 14:31:24 +01:00
Nicolas Peugnet
4a966b830f
Do not catch exceptions when testing Console commands ( #3813 )
...
* Do not catch exceptions when testing Console commands
This allows to easily test a case where a command should throw using `$this->expectException()`.
* Rewrite ConsoleTest to use expectException
Now that the ConsoleApplication is set to not catch exceptions.
---------
Co-authored-by: IanM <16573496+imorland@users.noreply.github.com >
2023-06-21 08:14:12 +01:00
flarum-bot
7799c2fcd5
Bundled output for commit 11b4a810b7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-06-15 17:09:20 +00:00
Sami Mazouz
11b4a810b7
chore: upgrade to mithril 2.2 ( #3831 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-06-15 18:04:41 +01:00
Sami Mazouz
493ffa0538
chore(phpstan): upgrade to be compatible with latest dependency updates ( #3835 )
2023-06-15 17:49:39 +01:00
Sami Mazouz
64b25b26c3
chore: improve test suite ( #3814 )
...
Allows running tests without constantly running `composer install` on each extension.
2023-06-15 13:26:39 +01:00
IanM
6bc19e2e52
chore: Upgrade dependencies ( #3830 )
...
* wip: laraval and symfony upgrades
* Apply fixes from StyleCI
* Apply fixes from StyleCI
* bump var dumper to 6.3
* require guzzle 7.7
* remove docbloc
* lock symfony/translation-contracts to 2.5
* fix: require mailgun package
* remove docblock
* fix: flysystem tests
* fix: instance flarum assets for testing
* Apply fixes from StyleCI
* downgrade intervention/image back to 2.x
* Apply fixes from StyleCI
* provide ImageManager to AvatarUploader
* fix larastan
* revert back some other intervention/image changes
* fix image resize
* Update framework/core/src/Http/Middleware/AuthenticateWithHeader.php
Co-authored-by: Daniël Klabbers <luceos@users.noreply.github.com >
* Apply fixes from StyleCI
* Update framework/core/src/Mail/SmtpDriver.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/src/User/LoginProvider.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* use named attrs
* revert imagemanager in constructor
* revert to using Contract mailer
* reinstate and update FlarumLogTransport
* correct var typo, use one less temp var
* names attrs
* uncomment test
* mailer contract
* Apply fixes from StyleCI
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
Co-authored-by: Daniël Klabbers <luceos@users.noreply.github.com >
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2023-06-14 14:46:15 +01:00
flarum-bot
3757bde4fc
Bundled output for commit f67ca5782a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-06-07 10:45:14 +00:00
Sami Mazouz
f67ca5782a
chore: adapt frontend workflow to new main branch
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-06-07 11:20:29 +01:00
Sami Mazouz
fad818d1e5
chore: add script placeholders to allow running scripts globally
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-06-07 11:19:59 +01:00
David Wheatley
12ef1bfdbb
perf: transpile js to es6 ( #3699 )
2023-06-07 11:09:34 +01:00
Sami Mazouz
951f58e567
fix(regression): require flarum/testing:2.0
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-31 09:53:59 +01:00
Sami Mazouz
082f04d3c3
fix(regression): caught errors
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-31 09:50:39 +01:00
Sami Mazouz
04fe2616a4
Revert "fix(regression): caught errors"
...
This reverts commit c94c140484
.
2023-05-31 09:47:30 +01:00
Sami Mazouz
c94c140484
fix(regression): caught errors
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-31 09:45:50 +01:00
Sami Mazouz
7b9605bb4e
chore: track 2.x
in bundlewatch
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-30 18:56:04 +01:00
StyleCI Bot
6e783b9c78
Apply fixes from StyleCI
2023-05-30 10:36:45 +00:00
Sami Mazouz
6f11e044a7
chore: update codebase to php8.1 ( #3827 )
...
* chore: set minimum php version to 8.1
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: update codebase to php8.1
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* chore: update workflow php version
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: more caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: phpstan caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: introduce `Flarum\Locale\TranslatorInterface`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* chore: remove mixin
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: one last error
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-05-30 11:36:12 +01:00
Sami Mazouz
34a04b0746
chore: recover bundlewatch ( #3829 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-28 12:16:45 +01:00
flarum-bot
069677b2e3
Bundled output for commit 51bd7a7e32
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-27 18:38:40 +01:00
Darkle
57e05a5eaf
Update the scheduler info link in admin ( #3826 )
2023-05-27 18:38:40 +01:00
Sami Mazouz
b6a6248dff
chore: prepare v2.0 development
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-24 08:52:14 +01:00
Sami Mazouz
5437bf5c23
chore: prepare v1.8.1 release
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-23 19:24:51 +01:00
flarum-bot
717af13bb1
Bundled output for commit e72541e35d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-22 21:58:15 +00:00
Sami Mazouz
e72541e35d
fix: recover temporary solution for html entities in browser title
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-22 22:49:20 +01:00
Sami Mazouz
577890d89c
fix: custom contrast color affected by parents
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-22 22:23:11 +01:00
Sami Mazouz
253a3d281d
fix: reply placeholder wrong positioning
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-22 21:58:38 +01:00
flarum-bot
d27f952584
Bundled output for commit e5abffc75b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-20 16:46:42 +00:00
Sami Mazouz
e5abffc75b
chore: v1.8 preparations
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-20 16:08:42 +01:00
Sami Mazouz
d1059c1cc7
fix: improve avatar upload functionality
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-20 15:15:53 +01:00
flarum-bot
777c304ab7
Bundled output for commit 789246b621
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-17 10:47:32 +00:00
Sami Mazouz
789246b621
fix(regression): slidable mark read showing for read discussions
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-17 11:37:33 +01:00
Sami Mazouz
980cfd6c28
Update prepare-release.yml
2023-05-17 09:51:06 +01:00
Sami Mazouz
65390a4fc0
test: patch phpstan error
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-16 19:57:57 +01:00
Sami Mazouz
c7c86a77e9
fix(regression): newCollection
does not accept base collection
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-16 19:25:23 +01:00
Sami Mazouz
f1f6051deb
fix(regression): lost spacing between tag label icon and text
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-16 19:21:04 +01:00
Sami Mazouz
bded3da42d
fix(regression): queryVisibleTo
accepts nullable actor
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-16 19:17:07 +01:00
Sami Mazouz
231cee1f78
fix(regression): newCollection
accepts collections
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-15 17:31:23 +01:00
flarum-bot
f6c9bbb427
Bundled output for commit feb968780a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-14 20:41:53 +00:00
Sami Mazouz
feb968780a
fix(regression): missing TagsLabel
class
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-14 21:34:34 +01:00
Sami Mazouz
5b89d3e91a
chore(regression): use correct imports from core js
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-14 21:34:17 +01:00
Daniël Klabbers
ba7599e6fe
chore: bbcode not psr autoloaded
2023-05-09 09:10:37 +02:00
Sami Mazouz
80b34d1164
fix: discussion page showing horizontal scroll on iOS ( #3821 )
...
Co-authored-by: David Wheatley <david@davwheat.dev >
2023-05-08 09:28:32 +01:00
Sami Mazouz
3accdc322c
fix(regression): fetch promise rejections not handled
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-07 22:44:25 +01:00
flarum-bot
4247e54c64
Bundled output for commit ef35faaded
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-07 21:37:58 +00:00
Sami Mazouz
ef35faaded
fix(regression): wrong app import in forum JS
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-07 22:31:07 +01:00
flarum-bot
715b8c39ae
Bundled output for commit 232618aba6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-07 21:24:30 +00:00
Sami Mazouz
232618aba6
fix: UserSecurityPage
not exported
...
Fixes #3820
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-05-07 22:18:21 +01:00
flarum-bot
96e1411b7d
Bundled output for commit 21b483625e
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-07 17:49:29 +00:00
David Wheatley
21b483625e
feat: add user creation to users list page ( #3744 )
2023-05-07 18:38:37 +01:00
Sami Mazouz
9363682e1c
fix: filter values are not validated ( #3795 )
2023-05-07 18:37:53 +01:00
flarum-bot
c766881e1f
Bundled output for commit e63e161be6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-07 16:49:15 +00:00
David Wheatley
e63e161be6
chore: major frontend JS cleanup ( #3609 )
2023-05-07 17:40:18 +01:00
Nicolas Peugnet
3264455068
fix(testing): always clear cache in integration test's tearDown ( #3818 )
...
This prevent tests from interacting between each other through the cache.
2023-05-02 19:24:14 +01:00
Sami Mazouz
d7fcd8a9e5
fix(bbcode): highlight.js does not work after changing post content ( #3817 )
...
* fix(bbcode): highlight.js does not work after changing post content
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore(bbcode): organize bbcode code
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-05-02 09:39:43 +01:00
IanM
b4f3f0558e
feat: cli command for enabling or disabling an extension ( #3816 )
2023-05-01 08:06:52 +01:00
Sami Mazouz
919c3bb770
perf: speed up post creation time ( #3808 )
...
* chore: drop unused visibility checking in notif syncer
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* perf: eager load parsed mentions
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* perf: eager load some relations needed for visibility checking
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* perf: trigger mentions notifications in a queueable job
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* fix: broken tag mentions
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-04-30 10:10:31 +01:00
Sami Mazouz
7298ccb301
feat(testing): add a trait to flush the formatter cache in tests ( #3811 )
2023-04-30 09:48:46 +01:00
flarum-bot
cfdd6910eb
Bundled output for commit 7ebeb9c0a5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-29 17:42:13 +00:00
Sami Mazouz
7ebeb9c0a5
fix: unreadable badge icon on certain colors ( #3810 )
2023-04-29 18:35:18 +01:00
Sami Mazouz
af3f91ca5b
fix(tags): DiscussionTaggedPost
shows tags as deleted
( #3812 )
...
* fix(tags): `DiscussionTaggedPost` shows tags as `deleted`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-04-29 09:48:01 +02:00
Sami Mazouz
4784307e26
fix(bbcode): localize quote wrote
string ( #3809 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-27 20:26:28 +01:00
flarum-bot
105b22976e
Bundled output for commit fea31a8290
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-24 17:10:43 +00:00
Robert Korulczyk
fea31a8290
Fix encoding of page title. ( #3768 )
2023-04-24 18:00:22 +01:00
Sami Mazouz
accdfde6e1
fix(mentions): mentions XHR fired even after mentioning is done ( #3806 )
...
* fix(mentions): mentions XHR fired even after mentioning is done
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: simplify diff
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-24 17:57:41 +01:00
flarum-bot
7684a1086a
Bundled output for commit f8577c8078
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-22 08:52:48 +00:00
luk
f8577c8078
fix: isDark()
utility can receive null value ( #3774 )
...
* Make isDark() not fail as easily with invalid input
Add early return if input looks fishy, minor refactoring and improvements of the entire method.
* Fix double quotes
* Run prettier 🙄
* chore: review
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-22 09:45:51 +01:00
flarum-bot
e55844f3db
Bundled output for commit 1d20f4d4aa
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-21 06:52:38 +00:00
Rafael Horvat
1d20f4d4aa
Change some methods from private to protected, to be able to extend the affected classes ( #3802 )
2023-04-21 07:42:42 +01:00
Sami Mazouz
803f0cd0f4
fix(tags): not all tags are loaded in the permission grid ( #3804 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-21 07:38:09 +01:00
IanM
8576df1a43
fix: null as 2nd param is deprecated ( #3801 )
2023-04-19 19:07:10 +02:00
flarum-bot
1792e22639
Bundled output for commit 5e281136f6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-19 12:05:15 +00:00
Sami Mazouz
5e281136f6
feat(mentions,tags): tag mentions ( #3769 )
...
* feat: add tag search
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* feat(mentions): tag mentions backend
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* feat: tag mention design
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* refactor: revamp mentions autocomplete
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: unauthorized mention of hidden groups
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* feat(mentions,tags): use hash format for tag mentions
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* refactor: frontend mention format API with mentionable models
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* feat: implement tag search on the frontend
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: tag color contrast
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: tag suggestions styling
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* test: works with disabled tags extension
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: move `MentionFormats` to `formats`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: mentions preview bad styling
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* docs: further migration location clarification
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* fix: bad test namespace
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: phpstan
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: conditionally add tag related extenders
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* feat(phpstan): evaluate conditional extenders
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* feat: use mithril routing for tag mentions
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-04-19 12:58:11 +01:00
flarum-bot
b868c3d763
Bundled output for commit 297a2d8c5c
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-19 11:48:24 +00:00
Sami Mazouz
297a2d8c5c
fix: deleting a discussion from the profile does not visually remove it ( #3799 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-19 12:37:30 +01:00
flarum-bot
c0af41c305
Bundled output for commit d0669b08aa
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-19 08:32:02 +00:00
Sami Mazouz
d0669b08aa
perf(likes): limit likes
relationship results ( #3781 )
...
* perf(core,mentions): limit `mentionedBy` post relation results
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* chore: use a static property to allow customization
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: use a static property to allow customization
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: include count in show post endpoint
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: consistent locale key format
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: forgot to delete `FilterVisiblePosts`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* test: `mentionedByCount` must not include invisible posts to actor
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: visibility scoping on `mentionedByCount`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: `loadAggregates` conflicts with visibility scopers
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* chore: phpstan
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* perf(likes): limit `likes` relationship results
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* chore: simplify
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* test: `likesCount` is as expected
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
Co-authored-by: IanM <16573496+imorland@users.noreply.github.com >
2023-04-19 09:22:41 +01:00
flarum-bot
6b8e9ce1db
Bundled output for commit fbbece4bda
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-19 07:30:05 +00:00
Sami Mazouz
fbbece4bda
perf(core,mentions): limit mentionedBy
post relation results ( #3780 )
...
* perf(core,mentions): limit `mentionedBy` post relation results
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* chore: use a static property to allow customization
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: use a static property to allow customization
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: include count in show post endpoint
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: consistent locale key format
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: forgot to delete `FilterVisiblePosts`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* test: `mentionedByCount` must not include invisible posts to actor
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: visibility scoping on `mentionedByCount`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: `loadAggregates` conflicts with visibility scopers
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* chore: phpstan
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-04-19 08:23:08 +01:00
dependabot[bot]
13e655aca5
chore(deps): bump webpack from 5.75.0 to 5.76.0 ( #3761 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 07:45:00 +01:00
flarum-bot
c00e8706e1
Bundled output for commit 1b5da13e8a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-17 08:14:57 +00:00
Robert Korulczyk
1b5da13e8a
fix: infinite scroll not initialized for notifications on big screens ( #3733 )
2023-04-17 09:07:00 +01:00
flarum-bot
ecfbcd1c30
Bundled output for commit 818a100625
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-17 08:01:58 +00:00
Tristian Kelly
818a100625
feat: add delete own posts permission ( #3784 )
2023-04-17 08:53:51 +01:00
flarum-bot
176b5540d8
Bundled output for commit 2e76a8ecb5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-16 20:54:45 +00:00
Sami Mazouz
2e76a8ecb5
fix: color input overflowing the input box ( #3796 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-16 21:33:57 +01:00
Sami Mazouz
11aa7bbb35
fix: unread count in post stream not visible ( #3791 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-16 21:14:54 +01:00
Sami Mazouz
3a26c29935
feat: provide old content to Revised
event ( #3789 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-16 21:14:17 +01:00
Sami Mazouz
94e92cf24e
fix: approving a post does not bump user comment_count
( #3790 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-16 21:13:57 +01:00
Sami Mazouz
aa33cfd1f8
fix(a11y): reply placeholder not accessible ( #3793 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-16 21:13:32 +01:00
Sami Mazouz
4901c586ce
chore: drop usage of jquery in install
and update
interfaces ( #3797 )
2023-04-16 21:12:47 +01:00
Sami Mazouz
7a6d477550
fix: notification subject discussion eager loading fails ( #3788 )
2023-04-16 21:12:01 +01:00
Sami Mazouz
b89a01c010
chore: extensibility improvements ( #3729 )
...
* chore: improve tags page extensibility
* chore: improve discussion list item extensibility
* chore: improve change password modal extensibility
* chore: item-listify tags page
* chore: item-listify change email modal
* chore: simplify data flow
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-16 21:05:23 +01:00
flarum-bot
8b11fef3ee
Bundled output for commit 8a114cd826
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-16 11:48:33 +00:00
Sami Mazouz
8a114cd826
fix(regression): styling and semantics of header tag are incorrect
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-16 12:41:51 +01:00
flarum-bot
62c93b4a05
Bundled output for commit fab71f2d01
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-15 15:29:22 +00:00
Sami Mazouz
fab71f2d01
fix(package-manager): available core updates cause an error in the dashboard
...
Fixes #3776
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-04-15 16:21:45 +01:00
Sami Mazouz
e8c867dcac
fix: circular dependencies disable all involved extensions ( #3785 )
2023-04-12 21:59:06 +01:00
flarum-bot
1247a7f1dd
Bundled output for commit b0aad1a2d6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-10 20:09:56 +00:00
Rafał Całka
b0aad1a2d6
fix(tags): tag discussion modal filters with exact matches only after first index ( #3786 )
...
* feat: Update tag filtering to include partial matches
* fix: Case insensitive filtering
2023-04-10 21:01:18 +01:00
flarum-bot
bddc9d96f2
Bundled output for commit d684248492
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-23 08:10:20 +00:00
IanM
d684248492
fix: empty string displayed as SelectDropdown title ( #3773 )
...
* fix: empty string displayed as SelectDropdown title
* chore: remove import
* chore: ts-ignore
* Update framework/core/js/src/common/components/SelectDropdown.tsx
Co-authored-by: David Wheatley <david@davwheat.dev >
---------
Co-authored-by: David Wheatley <david@davwheat.dev >
2023-03-23 08:02:59 +00:00
Rafael Horvat
85b63681ae
Fix: Integrity constraint violation: 1052 Column 'id' in where clause is ambiguous ( #3772 )
2023-03-21 10:32:23 +00:00
Sami Mazouz
8372363cc2
feat: conditional extenders ( #3759 )
2023-03-14 21:53:16 +01:00
Ngô Quốc Đạt
a6a067ad48
chore: update to PHP 8.2 in frontend workflow ( #3755 )
2023-03-12 13:58:06 +01:00
Sami Mazouz
241eba4d0c
chore: mark start of 1.8.0
development
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-12 13:56:39 +01:00
Sami Mazouz
a6b12826c3
chore: 1.7.1 preparations
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-12 13:28:04 +01:00
Sami Mazouz
dd868ab44e
fix: improve sessions user UI on mobile
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-12 13:21:21 +01:00
flarum-bot
5f3e0d6a09
Bundled output for commit 661b9d7d9a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-12 11:45:23 +00:00
Robert Korulczyk
661b9d7d9a
chore: hide developer tokens section in if there is nothing to display or create ( #3753 )
2023-03-12 12:37:49 +01:00
flarum-bot
b7498d6cb1
Bundled output for commit e7c55532a0
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-12 09:46:12 +00:00
Robert Korulczyk
e7c55532a0
fix: hardcoded language strings in StatusWidget
( #3754 )
2023-03-12 10:37:57 +01:00
Robert Korulczyk
cce6b74fce
fix: missing parameter names in token title translation. ( #3752 )
2023-03-12 10:33:19 +01:00
flarum-bot
da651c722b
Bundled output for commit abc9670659
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-11 08:14:06 +00:00
Sami Mazouz
abc9670659
fix(tags): incorrect max and min primary tags used
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-11 09:05:12 +01:00
Sami Mazouz
b66fe5dd5f
chore(release): preparations
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-09 19:00:32 +01:00
flarum-bot
7d79895ae0
Bundled output for commit 3ab4529232
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-09 15:35:22 +00:00
Sami Mazouz
3ab4529232
fix(qa): apply color contrast fix when colored only
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-09 16:28:32 +01:00
flarum-bot
360a2ba1d8
Bundled output for commit eaa4063fef
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-08 19:21:16 +00:00
Sami Mazouz
eaa4063fef
fix(qa): attempt to fix akismet error
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-08 20:14:09 +01:00
flarum-bot
72d277bd45
Bundled output for commit 28e3ccfde6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-08 17:34:35 +00:00
Sami Mazouz
28e3ccfde6
fix(qa): increase YIQ and fix menu item title
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-08 18:25:04 +01:00
Sami Mazouz
3f864bafc8
fix(regression): custom less validation check
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-06 15:24:03 +01:00
Sami Mazouz
3af0481f30
test: remove use of deprecated phpunit assertion
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-06 15:03:33 +01:00
Sami Mazouz
1761660c98
fix: disallow certain dangerous LESS features
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-04 20:38:19 +01:00
Sami Mazouz
8ddb0feb09
chore: yarn audit-fix
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-01 12:35:59 +01:00
Sami Mazouz
fa30f4f250
fix(regression): cannot delete users ( #3746 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-24 18:22:12 +01:00
Robert Korulczyk
79a9b23096
fix: normal logout affects all sessions ( #3571 )
...
Previously all user tokens were deleted, which logouts from all sessions.
2023-02-21 17:23:20 +01:00
Tristian Kelly
33e2bd1a77
fix(mentions): post reply mention missing notification on approval ( #3738 )
...
* Add PostWasApproved event
* Apply fixes from StyleCI
* fix: phpstan error
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-02-21 15:04:03 +00:00
flarum-bot
a3a39caa44
Bundled output for commit bbf873442a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-21 14:37:00 +00:00
Sami Mazouz
bbf873442a
feat: global logout to clear all sessions, access tokens, email tokens and password tokens ( #3605 )
...
* chore: re-organize security locale keys alphabetically
* test: can globally logout
* feat: add global logout controller
* feat: add global logout UI to user security page
* test: re-adapt tests to changes
* feat: add boolean to indicate if logout even is global
* chore(review): split loading property
* chore: follow-up branch update
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-21 15:28:55 +01:00
David Wheatley
d35bb873a8
chore: make go-to-page input number-like ( #3743 )
2023-02-21 15:23:59 +01:00
flarum-bot
598ff21d7d
Bundled output for commit 9342903d68
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-21 13:29:36 +00:00
Sami Mazouz
9342903d68
feat: access tokens user management UI ( #3587 )
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
Co-authored-by: David <hi@davwheat.dev >
2023-02-21 14:14:53 +01:00
Robert Korulczyk
ea7b270f47
fix(tags): clickable tag labels have underline ( #3737 )
2023-02-21 14:09:37 +01:00
David Wheatley
906b0fb633
feat: add display name column to admin users list ( #3740 )
2023-02-21 13:04:53 +00:00
David Wheatley
408a92b4ea
feat: improved page navigation for users list ( #3741 )
...
* feat: add first and last page buttons
* feat: add textbox-based page navigation
* feat: add query parameter page navigation
2023-02-21 13:04:30 +00:00
Robert Korulczyk
0da069ba9f
Fix translation key for scheduler dashboard. ( #3736 )
2023-02-16 17:33:37 +01:00
flarum-bot
d8fa791d9c
Bundled output for commit fee6ffe396
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-15 17:50:20 +00:00
Robert Korulczyk
fee6ffe396
feat(seo): Do not use h3 header for poster author in posts stream ( #3732 )
...
* Do not use h3 header for poster author in posts stream.
* Change back `.PostUser-name` tag to h3.
2023-02-15 18:44:58 +01:00
flarum-bot
7a60a529da
Bundled output for commit 37fd218723
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-15 16:33:15 +00:00
Robert Korulczyk
37fd218723
feat(seo): Use h2 header for discussions on discussions list ( #3731 )
...
* Use H2 header for discussions on discussions list.
* Put `DiscussionListPane` in `aside` tag to indicate that its content should not be treated as part of discussion content.
* Update markup for views generated by PHP.
2023-02-15 17:26:43 +01:00
IanM
1ee5cf6ba9
feat(core): PHP 8.2 Support ( #3709 )
...
* chore: test with php 8.2
* chore: bump httphandlerunnder
* chore: bump httphandlerunner
* chore: address php8.2 deprecation
* chore: php 8.2
* chore: bump less.php version
* avoid dynamic properties
* avoid another dynamic property
* Apply fixes from StyleCI
* tags php82
* php82
* fix: check for property existence
* Rerun checks after s9e/text-formatter update
* chore: disable deprecation warnings for php 8.2
* chore: PHP8.2 does not accept dynamic properties
* chore: temporarily disable package manager tests workflow
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-14 19:09:56 +01:00
flarum-bot
ced1c2d94f
Bundled output for commit f8d856028d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-13 20:20:57 +00:00
Sami Mazouz
f8d856028d
fix(regression): admin header styling messed up
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-13 21:14:52 +01:00
Sami Mazouz
748cca6d12
chore: prepare @flarum/jest-config
for release
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-12 17:45:00 +01:00
flarum-bot
f4f8369dc0
Bundled output for commit aa0b3288d5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-11 12:36:30 +00:00
Daniël Klabbers
aa0b3288d5
feat(seo): shift h1 tag from logo to discussion title ( #3724 )
...
* feat(seo): shift h1 tag from logo to discussion title
Many times have we seen opponents of using h2 as the discussion title. Although
my own SEO knowledge is limited, I have seen the importance of structuring pages
according to the content you wish to prioritize. If we only take that into consideration
there is zero reason for the app-wide identical logo to take precedence over any
other heading.
This change makes the logo a standard (visually identical) element, and
makes the discussion hero title a h1.
* feat(seo): rewrite remainder of hero titles and subtitles
2023-02-11 13:27:46 +01:00
Sami Mazouz
153bb1a53c
feat(actions): allow running JS tests in GH actions ( #3730 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-11 13:19:57 +01:00
Sami Mazouz
ee1e04cdc2
chore: yarn
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-10 23:20:14 +01:00
flarum-bot
77a0b11bc8
Bundled output for commit 7e6458a125
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-10 22:08:35 +00:00
Sami Mazouz
7e6458a125
feat(jest): mithril component testing ( #3679 )
...
* feat(jest): create jest config package for unit testing
* chore: housekeeping
* fix: now we need to explicitly allow importing without extension
* fix: recover EditorDriverInterface import
* feat(jest): mithril component testing
* fix: use separate `tsconfig.test.json`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-10 23:02:50 +01:00
flarum-bot
675cdab658
Bundled output for commit e7fc29a59f
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-08 21:09:22 +00:00
Sami Mazouz
e7fc29a59f
feat(jest): create jest config package for unit testing ( #3678 )
...
* feat(jest): create jest config package for unit testing
* chore: housekeeping
* fix: now we need to explicitly allow importing without extension
* fix: recover EditorDriverInterface import
* Apply suggestions from code review
* chore: yarn
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-08 22:02:40 +01:00
flarum-bot
08dead81ce
Bundled output for commit 47b670aa29
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-08 20:19:47 +00:00
Sami Mazouz
47b670aa29
feat: frontend Model
extender ( #3646 )
...
* feat: reintroduce frontend extenders
* chore: used `Routes` extender in bundled extensions
* chore: used `PostTypes` extender in bundled extensions
* chore: `yarn format`
* feat: `Model` frontend extender
* chore: naming
* chore(review): attributes can be nullable or undefined
* chore(review): delay extender implementation
* chore(review): unnecessary check
* chore(review): stay consistent
* chore: merge conflicts
* chore: unused import
* chore: multiline extenders
* feat: add Store extender
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-02-08 21:13:53 +01:00
Nicolas Peugnet
f9a5d485c3
fix(phpstab): adapt phpstan package for extension use ( #3727 )
...
- fix "Stub file does not exist" error message as reported in
<https://github.com/flarum/docs/pull/441#issuecomment-1419668760 >
- fix "Ignored error pattern was not matched in reported errors" error
messages as reported in
<https://github.com/flarum/docs/pull/441#issuecomment-1420903036 >
2023-02-08 10:43:41 +01:00
Darkle
5717a74fcc
fix(css): choose tags button misaligned ( #3726 )
2023-02-05 19:15:15 +01:00
flarum-bot
2e0f026dde
Bundled output for commit bf52743510
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-01-22 13:16:48 +00:00
Sami Mazouz
bf52743510
chore: improve group mentions parsing ( #3723 )
...
* chore: improve group mentions color handling
* Avoid storing the `GroupMention--dark` and light classes on the database.
* Avoid recreating YIQ logic on the backend.
* Improve text color flexibility through CSS variables.
* Apply fixes from StyleCI
* chore: tweak tests
* chre: unused import
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-22 14:11:13 +01:00
Sami Mazouz
da1bf8da21
chore(phpstan): enable phpstan in bundled extensions ( #3667 )
...
* feat(phpstan): pick up extended model relations typings
* feat(phpstan): pick up extended model date attributes
* feat(core): introduce `castAttribute` extender
Stops using `dates` as it's deprecated in laravel 8
* feat(phpstan): pick up extended model attributes through casts
* fix: extenders not resolved when declared namespace
* fix(phpstan): new model attributes are always nullable
* chore(phpstan): add helpful cache clearing command
* Apply fixes from StyleCI
* chore: improve extend files provider logic
* chore: rename `castAttribute` to just `cast`
* chore: update phpstan package to detect `cast` method
* chore: enable phpstan in bundled extensions
* chore: rebasing conflicts
* chore: rebasing conflicts
* chore: typings for latest 1.7 changes
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-19 21:49:38 +01:00
flarum-bot
ccf9442d79
Bundled output for commit 4bb3b2235d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-01-17 20:01:25 +00:00
Owen Melbourne
4bb3b2235d
The negate field doesn't get used, which means you cant exclude tags ( #3713 )
...
e.g. This allows you to
`/api/posts?sort=-createdAt&filter[tag]=14` to include tag 14 and `/api/posts?sort=-createdAt&filter[tag]=-14` to exclude tag 14
2023-01-17 20:47:28 +01:00
IanM
03d2d7eabb
feat: expose {time} to eventPost data, fix renamed tooltip ( #3698 )
2023-01-17 20:47:02 +01:00
ornanovitch
4d292263b5
fix(tags): tag text color contrast ( #3653 )
...
* add yiq calculator util
* use the new contast util to differentiate light/dark tags
* fix: invert logic
* feat: add tag-dark and tag-light less config
* fix: convert 3 chars hex to 6 chars hex
* fix: rename import
* fix: clarify util name
* fix: rename function
* fix: invert less variables when dark mode is enabled
* fix: TagTiles contrast
* refactor: simplify logic with a unique variable
* refactor: simplify logic with a unique variable
* feat: add text color variables not depending on the dark/light mode
* refactor: use isDark rather than getContrast
* refactor: change getContrast to isDark with for a more direct approach
* fix: adjust snippet description
* refactor: change getContrast to isDark with for a more direct approach
* fix: adjust snippet description
* fix: TagHero contrast
* fix: DiscussionHero contrast
* fix: newDiscussion contrast
* fix(newDiscussion): restore less rule when tag is not colored
* fix: TagTiles description
* fix: TagTiles last posted
* chore: change `var` to `let`
* refactor: keep it for backwards compatibility
* refactor: keep it for backwards compatibility
* Apply suggestions from code review
* fix: missed this when I was resolving
* fix: remove dist files from pull request
* Revert "Resolved merge conflict"
This reverts commit c7f0d14aa8
, reversing
changes made to 6753dfc2af
.
* fix: missed this when I was resolving
* fix
* Update isDark.ts
* chore: flexible contrast color fixing
* refactor(isDark): clarify the doc block
* fix(isDark): increase the yiq threshold
* typo
* fix: preserve design coloring through light and dark modes
Co-authored-by: David Wheatley <david@davwheat.dev >
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-17 20:45:03 +01:00
flarum-bot
6adae00f72
Bundled output for commit d7f4975330
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-01-17 18:15:45 +00:00
Sami Mazouz
d7f4975330
feat: introduce frontend extenders ( #3645 )
...
* feat: reintroduce frontend extenders
* chore: used `Routes` extender in bundled extensions
* chore: used `PostTypes` extender in bundled extensions
* chore: `yarn format`
* chore: naming
* chore(review): unnecessary check
* chore(review): stay consistent
* chore: unused import
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-17 19:10:24 +01:00
Sami Mazouz
5fe3cfd837
feat(phpstan): foundation for usage in extensions ( #3666 )
...
* feat(phpstan): pick up extended model relations typings
* feat(phpstan): pick up extended model date attributes
* feat(core): introduce `castAttribute` extender
Stops using `dates` as it's deprecated in laravel 8
* feat(phpstan): pick up extended model attributes through casts
* fix: extenders not resolved when declared namespace
* fix(phpstan): new model attributes are always nullable
* chore(phpstan): add helpful cache clearing command
* Apply fixes from StyleCI
* chore: improve extend files provider logic
* chore: rename `castAttribute` to just `cast`
* chore: update phpstan package to detect `cast` method
* Update framework/core/src/Extend/Model.php
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-15 15:25:13 +01:00
Sami Mazouz
2d2bf5c504
fix: permissions table on mobile is unusable ( #3722 )
2023-01-14 19:34:12 +01:00
Sami Mazouz
a4f4ee8e71
chore: Merge 1.6.3
into main
2023-01-13 19:57:31 +01:00
Sami Mazouz
4a38047bfb
Merge branch 'main' into merge-1.6.3-into-main
2023-01-13 19:12:11 +01:00
flarum-bot
d5e6f6db5f
Bundled output for commit 20e7d245da
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-01-13 08:37:32 +00:00
Tristian Kelly
20e7d245da
feat: Admin User Search ( #3712 )
...
* Initial search
* oninput attempt
* Working search!
* forgot to format
* fix debounce, locale
* use core.ref
2023-01-13 09:31:22 +01:00
Sami Mazouz
243bc139b0
chore: changelog
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-10 15:22:17 +01:00
Sami Mazouz
adf78bbd95
chore(subscriptions): prepare
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-10 15:06:03 +01:00
StyleCI Bot
c8d9f1111e
Apply fixes from StyleCI
2023-01-10 14:04:18 +00:00
Sami Mazouz
e5f05166a0
fix(subscriptions): post notifications not getting access checked
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-10 15:04:02 +01:00
Sami Mazouz
02556c6ca6
chore: prepare v1.6.3
release
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-10 15:00:38 +01:00
Sami Mazouz
666223fa8c
test: make data providers public
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-10 15:00:38 +01:00
Sami Mazouz
12dfcc5c79
Merge pull request from GHSA-hph3-hv3c-7725
...
* test: add reply creation tests
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: access checking being bypassed for post creation when first post is deleted
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: recover tests
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: make provider public
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-10 15:00:38 +01:00
StyleCI Bot
248a71d9b5
Apply fixes from StyleCI
2023-01-10 15:00:37 +01:00
Sami Mazouz
a131e87911
Merge pull request from GHSA-8gcg-vwmw-rxj4
...
* fix: notifications grant access to private data of posts
* chore: fix tests
* test: start with tests about notification subject visibility
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: check subject access before sending notification to user
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: Daniël Klabbers <daniel@klabbers.email >
2023-01-10 15:00:37 +01:00
StyleCI Bot
be63b28437
Apply fixes from StyleCI
2023-01-10 15:00:37 +01:00
Sami Mazouz
132fdea659
Merge pull request from GHSA-22m9-m3ww-53h3
...
* fix: check post visibility when mentioning
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: `mentionsPosts` include is not used and leaks private posts
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* chre: use `PostRepository`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-01-10 15:00:37 +01:00
dependabot[bot]
fe8480c8f7
chore(deps): bump json5 from 2.2.1 to 2.2.3 ( #3717 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 16:54:29 +01:00
IanM
1e8a0f930d
fix: load actor.groups ( #3716 )
2023-01-09 12:00:46 +01:00
Daniël Klabbers
d7b9a03f31
chore: fix php 8.1 on preg_match 2nd argument being null, which also optimizes slightly
2022-12-17 01:05:38 +01:00
flarum-bot
78189f29d2
Bundled output for commit 07f8b6161a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-12-12 10:18:58 +00:00
IanM
07f8b6161a
fix: support 3digit hex color input ( #3706 )
2022-12-12 10:14:59 +00:00
flarum-bot
0eff1f6b2d
Bundled output for commit a53a0db2b7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-12-12 09:48:42 +00:00
Sami Mazouz
a53a0db2b7
feat(tags): admin tag selection component (reusable tag selection modal) ( #3686 )
...
* chore: move `KeyboardNavigation` to `common` first
* feat: exract reusable `TagSelectionModal` from `TagDiscussionModal`
* fix: improve for generic use
* feat: add select tags admin setting component
2022-12-12 10:44:33 +01:00
flarum-bot
a129999132
Bundled output for commit 8f80cde5b7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-12-03 21:19:51 +00:00
Sami Mazouz
8f80cde5b7
feat: allow using utf8 characters in tag slugs ( #3588 )
...
* feat: allow using utf8 characters in slugs
url-encoded slugs are not read by the backend.
* chore: use as a slug driver
* chore: refactor tests to use data provider
* Apply fixes from StyleCI
* fix: wrong resource used
* fix: forgotten slug from slug manager in serializer
* chore(review): adapt tag slug suggestions on the UI
* chore: introduce modes for slugging
* chore: `yarn format`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-12-03 22:15:34 +01:00
flarum-bot
4de3cd4d9c
Bundled output for commit 3dd2cadb9b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-30 16:46:54 +00:00
IanM
3dd2cadb9b
fix: undefined
showing in dropdown active title ( #3700 )
2022-11-30 16:39:32 +00:00
Rafael Horvat
605225c851
fix: column id
can be ambiguous in group filter with extensions ( #3696 )
2022-11-27 10:44:06 +01:00
flarum-bot
f33fbdd0b5
Bundled output for commit 5bc47c0278
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-27 09:40:52 +00:00
Sami Mazouz
5bc47c0278
chore: convert Dropdown
components to TS ( #3608 )
...
* chore: convert `Dropdown` components to TS
* chore(review): `buttonClassName` technically not required
* chore(review): `accessibleToggleLabel` technically not required
* chore(review): use `classList` where possible
* chore: `yarn format`
* Update framework/core/js/src/common/components/Dropdown.tsx
* chore(review): use `includes`
* chore(review): define constant of excluded groups
* chore(review): use `null coalesce` and `logical or` assignments
* chore(review): `null coalesce`
* chore(review): `any` to `typeof Component`
* chore(review): `classList`
* chore(review): `yarn format`
* chore: fix typing issues after typescript update
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: David Wheatley <hi@davwheat.dev >
2022-11-27 10:34:29 +01:00
flarum-bot
0e238a9c82
Bundled output for commit 64fa35f2f3
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-25 17:25:24 +00:00
Sami Mazouz
64fa35f2f3
chore: update JS dependencies ( #3695 )
...
* chore: lock mithril to `2.0` because `2.2` has breaking changes with no upgrade guide
* chore: update JS dependencies `yarn upgrade`
* chore: fix typings after js deps updates
* chore(review): better semver
Co-authored-by: David Wheatley <hi@davwheat.dev >
2022-11-25 18:20:30 +01:00
flarum-bot
c99d04fce2
Bundled output for commit 67c0d75ebc
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-25 11:11:04 +00:00
IanM
67c0d75ebc
feat: include current user as forum relation ( #3668 )
...
* feat: include current user as forum relation
* Update framework/core/src/Api/Controller/ShowForumController.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/src/Api/Controller/ShowForumController.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/src/Api/Serializer/ForumSerializer.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/tests/integration/api/forum/ShowTest.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/tests/integration/api/forum/ShowTest.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* No need to call the user endpoint as we already have the data loaded
* chore: return types
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-25 11:00:19 +00:00
IanM
6f4f964ce8
feat: allow push additional items to the end of the poststream ( #3691 )
...
* feat: allow push additional items to the end of the poststream
* Update framework/core/js/src/forum/components/PostStream.js
Co-authored-by: David Wheatley <hi@davwheat.dev >
* chore: prettier
* Update framework/core/js/src/forum/components/PostStream.js
Co-authored-by: David Wheatley <hi@davwheat.dev >
Co-authored-by: David Wheatley <hi@davwheat.dev >
2022-11-25 10:59:23 +00:00
Ian Morland
67dd2c21b6
fix: provide web friendly session driver name ( #3690 )
2022-11-22 17:02:44 +00:00
flarum-bot
e5d2b8cad9
Bundled output for commit f5c346f1c7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-20 12:08:32 +00:00
Clark Winkelmann
f5c346f1c7
chore: Indicate cross-origin request in generic error message ( #3669 )
...
* Indicate cross-origin request in generic error message
* Run javascript format
* Move text to beginning of error message
* Update framework/core/locale/core.yml
Co-authored-by: David Wheatley <hi@davwheat.dev >
2022-11-20 13:02:41 +01:00
flarum-bot
5bb0593bad
Bundled output for commit 47d2053766
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-19 22:30:32 +00:00
Ian Morland
47d2053766
feat: expose queue driver, schedule status ( #3593 )
...
* feat: expose queue driver, schedule status
* Apply fixes from StyleCI
* docblock
* fix inheritdoc
* Add info link for scheduler setup
* Remove unsed import
* fix: phpstan error
* Only show scheduler status when jobs are registered
* Apply fixes from StyleCI
* add ItemList priorities
* Add translations
* Include schedule status in info console cmd
* Apply fixes from StyleCI
* Move identifyX logic into shared 'ApplicationInfoProvider'
* Apply fixes from StyleCI
* uniform data layout
* inject queue
Co-authored-by: StyleCI Bot <bot@styleci.io >
2022-11-19 22:23:04 +00:00
Sami Mazouz
e0b9dcfbcd
Merge branch 'release/v1.6.2'
...
# Conflicts:
# framework/core/js/dist/admin.js
# framework/core/js/dist/admin.js.map
# framework/core/js/dist/forum.js
# framework/core/js/dist/forum.js.map
# framework/core/src/Foundation/Application.php
2022-11-18 23:24:43 +01:00
Sami Mazouz
8a65ad980d
chore: v1.6.2
changelog
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-18 22:38:41 +01:00
Sami Mazouz
9a0668effd
chore: update version constant to v1.6.2
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-18 22:35:12 +01:00
Sami Mazouz
224b122303
chore: yarn build
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-18 22:34:29 +01:00
Sami Mazouz
ed0cee97f5
fix: evaluated page title content ( #3684 )
...
* fix: evaluated page title content
* chore: add comment
* chore: use DOMParser instead
* fix: use `innerHTML` for the actual value
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: David Wheatley <hi@davwheat.dev >
2022-11-18 22:32:24 +01:00
flarum-bot
543c5f2a2e
Bundled output for commit 690de9ce0f
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-18 21:16:57 +00:00
Sami Mazouz
690de9ce0f
fix: evaluated page title content ( #3684 )
...
* fix: evaluated page title content
* chore: add comment
* chore: use DOMParser instead
* fix: use `innerHTML` for the actual value
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: David Wheatley <hi@davwheat.dev >
2022-11-18 22:09:22 +01:00
Clark Winkelmann
50253a2eb8
fix: typo in Formatter extender docblock ( #3676 )
2022-11-17 15:47:09 +01:00
flarum-bot
92473c0967
Bundled output for commit 361234205c
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-17 09:23:09 +00:00
Rafael Horvat
361234205c
fix: add missing states exports to compat.ts
( #3683 )
2022-11-17 09:17:16 +00:00
flarum-bot
54798aaa47
Bundled output for commit fe5d543864
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-16 23:26:37 +00:00
David Wheatley
fe5d543864
fix: post dropdown opens all dropdowns in .Post-actions
( #3675 )
2022-11-16 23:21:57 +00:00
Ian Morland
2517bc0f70
chore: set flarum version to 1.7.0 for dev
2022-11-16 20:59:51 +00:00
Sami Mazouz
b5f324a7b3
chore: v1.6.1 changelog
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-16 12:29:36 +01:00
Sami Mazouz
8ef0df94b2
chore: update app version constant
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-16 12:27:40 +01:00
flarum-bot
c50c924242
Bundled output for commit 18bdd48835
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-16 10:30:13 +00:00
Sami Mazouz
18bdd48835
Merge remote-tracking branch 'origin/main'
2022-11-16 11:22:47 +01:00
Sami Mazouz
f49cf887dc
revert: fix typing errors after dependencies update
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-16 11:17:20 +01:00
Sami Mazouz
19793d5617
chore: run yarn-audit-fix
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-16 10:54:04 +01:00
Sami Mazouz
4a2f48ad04
revert: before audit fix and JS dependency updates
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-16 10:50:35 +01:00
Daniël Klabbers
2b413b06c5
Revert "chore: try to fallback on npm as yarn seems to use wrong deps"
...
This reverts commit bb9f01372f
.
2022-11-16 09:58:54 +01:00
Daniël Klabbers
2b89dedc08
Revert "chore: wrong package manager value changed to fix mentions bug"
...
This reverts commit bc59b8d9ab
.
2022-11-16 09:58:41 +01:00
Daniël Klabbers
00a880c467
Revert "chore: lock needed for npm builds"
...
This reverts commit 92d2adc5fd
.
2022-11-16 09:58:30 +01:00
Daniël Klabbers
92d2adc5fd
chore: lock needed for npm builds
2022-11-16 09:51:50 +01:00
Daniël Klabbers
bc59b8d9ab
chore: wrong package manager value changed to fix mentions bug
2022-11-16 09:41:52 +01:00
Daniël Klabbers
bb9f01372f
chore: try to fallback on npm as yarn seems to use wrong deps
2022-11-16 09:26:08 +01:00
flarum-bot
069a29d22a
Bundled output for commit 105170b5bc
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-16 07:26:43 +00:00
Daniël Klabbers
105170b5bc
chore: recompile assets to fix mentions bug
2022-11-16 08:20:04 +01:00
flarum-bot
b8261ef055
Bundled output for commit d14770188b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-15 23:43:41 +00:00
Ian Morland
d14770188b
chore: add fullstop to comment
2022-11-15 23:38:02 +00:00
Ian Morland
e9bb646dbf
chore: newline
2022-11-15 23:25:35 +00:00
flarum-bot
46adf40675
Bundled output for commit 6938a13223
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-13 14:37:46 +00:00
Sami Mazouz
6938a13223
fix: typing errors after dependencies update
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-13 15:31:10 +01:00
flarum-bot
ab56aefeaa
Bundled output for commit 259db92b9a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-10 23:30:18 +00:00
David Wheatley
259db92b9a
fix: update JS dependencies
2022-11-10 23:23:44 +00:00
Daniël Klabbers
094ec77980
chore: js vulnerabilities through audit fix
2022-11-10 13:48:31 +01:00
Daniël Klabbers
bb712693d4
chore: update application constant for version
2022-11-10 13:48:17 +01:00
Daniël Klabbers
1e00e3fdbb
chore: dependency on core updated for extensions
2022-11-10 13:48:00 +01:00
Daniël Klabbers
47d7a6e155
chore: changelog for v1.6.0
2022-11-10 13:47:23 +01:00
Daniël Klabbers
45d91212f6
fix: akismet fails when the extension is not on a version
2022-11-09 20:42:49 +01:00
flarum-bot
1a81c98d43
Bundled output for commit c98e6ba5a7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-07 15:55:28 +00:00
Ian Morland
c98e6ba5a7
fix: groupmentions have poor contrast on some backgrounds ( #3672 )
...
* fix: poor text contrast on some backgrounds
* use hexdec()
* fix render test
* appears to be working now
2022-11-07 16:49:47 +01:00
flarum-bot
eeb00cc56b
Bundled output for commit 87cdb5b4d8
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-07 15:14:44 +00:00
Ian Morland
87cdb5b4d8
feat: Allow additional reset password params, introduce ForgotPasswordValidator
( #3671 )
...
* feat: Allow additional reset password params, introduce 'ForgotPasswordValidator'
* Apply fixes from StyleCI
Co-authored-by: StyleCI Bot <bot@styleci.io >
2022-11-07 15:06:00 +00:00
flarum-bot
bc4b0b864c
Bundled output for commit 53ab1503e4
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-07 13:53:51 +00:00
Ian Morland
53ab1503e4
feat: Allow additional login params, Introduce LogInValidator
( #3670 )
...
* Allow additional login params, dispatch 'LoggingIn' event
* Update framework/core/js/src/forum/components/LogInModal.tsx
Co-authored-by: David Wheatley <hi@davwheat.dev >
* Introduce 'LogInValidator'
* Apply fixes from StyleCI
Co-authored-by: David Wheatley <hi@davwheat.dev >
Co-authored-by: StyleCI Bot <bot@styleci.io >
2022-11-07 13:47:04 +00:00
Sami Mazouz
62a396e434
feat: send notifications of a new reply when post is approved ( #3656 )
...
* test(subscriptions): approved reply sends out notifications to users
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* feat: send notifications when a post is approved
The code in approval was extracted into a listener because no matter what listeners are always executed before subscribers even if the extension is set to load before.
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-07 11:52:28 +00:00
flarum-bot
2096fa2807
Bundled output for commit 06963df407
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-07 11:36:10 +00:00
Ian Morland
06963df407
chore: format js
2022-11-07 11:30:01 +00:00
flarum-bot
8fe09815f5
Bundled output for commit fccc3e2188
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-07 11:28:16 +00:00
ornanovitch
fccc3e2188
feat: contrast util with yiq calculator ( #3652 )
...
* add yiq calculator util
* fix: convert 3 chars hex to 6 chars hex
* fix: clarify util name
* feat: add text color variables not depending on the dark/light mode
* refactor: change getContrast to isDark with for a more direct approach
* fix: adjust snippet description
* chore: change `var` to `let`
Co-authored-by: David Wheatley <david@davwheat.dev >
2022-11-07 11:20:02 +00:00
Sami Mazouz
f0a867b20f
chore: throw an exception when no serializer is provided to the controller ( #3614 )
...
* chore: throw an exception when no serializer is provided to the controller
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
* test: no serializer set throws exception
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-06 18:56:07 +00:00
Sami Mazouz
69311ae689
feat: allow specifying extensions when installing an instance ( #3655 )
...
* feat: allow specifying extensions when installing an instance
Useful when doing migrations where more than the default extensions are required to migrate the data to flarum. This allows quickly spinning up a flarum database with the necessary schema.
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* fix: consider dependency graph before running migrations
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-06 18:43:13 +00:00
Clark Winkelmann
f005b9e031
Fix tag discussion count decreased by 2 when hiding before deleting ( #3660 )
2022-11-06 18:27:32 +00:00
flarum-bot
31ced98e0d
Bundled output for commit 9964ddd731
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-06 18:26:49 +00:00
David Wheatley
9964ddd731
[statistics] fix: add missing last period to custom date ranges ( #3661 )
...
* fix: last node in previous data matches first node of current data
* fix: add previous period support for custom periods
* test: update to show previous period for custom range
2022-11-06 18:21:28 +00:00
flarum-bot
32ac0a8d8f
Bundled output for commit 827e905f8e
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-05 19:34:25 +00:00
Ian Morland
827e905f8e
[mentions] feat: group mentions ( #3658 )
...
* wip: group mentions
* Apply fixes from StyleCI
* chore: format
* group mention autocomplete
* chore: format
* remove console.log
* implement notifications
* prevent guest and member groups from being mentioned
* Update extensions/mentions/less/forum.less
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* rename displayname to groupname
* Update extensions/mentions/src/Formatter/FormatGroupMentions.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* remove redundant unparse
* simplify migrations
* add group deleted translation
* Apply fixes from StyleCI
* handle everything falsy
* Include icon in group mention preview
* remove box-shadow from autocomplete group results
* Add color to preview
* chore: format
* Remove box shadow from group autocomplete results
* Update extensions/mentions/migrations/2022_10_21_000000_create_post_mentions_groups_table.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* remove unneeded migration
* prevent former group icon from beingdisplayed
* add group searcher with permissions
* Apply fixes from StyleCI
* Search groups based on canSearchGroups permission
* Don't include virtual groups in results
* Add search groups translation
* Revert "remove unneeded migration"
This reverts commit 9347665baa
.
* Revert "Update extensions/mentions/migrations/2022_10_21_000000_create_post_mentions_groups_table.php"
This reverts commit 8406d51df2
.
* add searchGroups permission to tests
* Apply fixes from StyleCI
* Add default searchGroups permission
* Apply fixes from StyleCI
* Update extensions/mentions/js/src/forum/addComposerAutocomplete.js
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update extensions/mentions/migrations/2022_10_21_000000_create_post_mentions_groups_table.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* remove unneeded migration, correct table table
* correct table name in down migration
* Remove group searcher
* Apply fixes from StyleCI
* Remove group searching from composer autocomplete
* Add mentionGroups permission
* Apply fixes from StyleCI
* prevent post preview from rendering a group mention when user does not have permission
* remove test changes
* wip: expose ServerRequestInterface to textformatter parse()
* Apply fixes from StyleCI
* Set post content properly
* php 7.x compatibility
* begin adding groupmention tests
* Apply fixes from StyleCI
* test virtual groups don't mention
* Apply fixes from StyleCI
* Update framework/core/tests/integration/api/groups/ListTest.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/tests/integration/api/groups/ListTest.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/tests/integration/api/groups/ListTest.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/tests/integration/api/groups/ListTest.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/tests/integration/api/groups/ListTest.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update extensions/mentions/extend.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update extensions/mentions/extend.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* requested changes
* Update framework/core/tests/integration/api/groups/ListTest.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/tests/integration/api/groups/ListTest.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/src/Search/SearchServiceProvider.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/src/Extend/Formatter.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* remove default permission migration
* try using datetime column instead of timestamp
* Apply fixes from StyleCI
* chore: remove commented code
* add tests
* Apply fixes from StyleCI
* Pass actor to parser instead of ServerRequest
* Allow for to be null
* Update framework/core/src/Extend/Formatter.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* pass actor instead of request
* Apply fixes from StyleCI
* actor instead of request
* remove serverrequest
* Apply fixes from StyleCI
* remove dupe actor
* Update extensions/mentions/src/Formatter/CheckPermissions.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* fix type in comment
* group does not have the relation, post does
* test: invalid, deleted, fresh data mentions
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
* Apply fixes from StyleCI
* fix: group mentions don't work when editing posts
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: StyleCI Bot <bot@styleci.io >
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-05 19:29:01 +00:00
Sami Mazouz
cdc76567d4
fix: larastan v1 incompatible with phpstan v1.9.0 ( #3665 )
...
We can't update to larastan v2 until we update to laravel v9 which has to wait for Flarum v2, so we need to stay on phpstan v1.8
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-11-03 11:55:52 +01:00
Clark Winkelmann
5898a50463
Log migration path when up/down keys are missing ( #3664 )
...
* Log migration path when up/down keys are missing
2022-11-02 15:22:21 +01:00
flarum-bot
72d9ee2010
Bundled output for commit 4e5e4e5c6e
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-01 17:53:52 +00:00
David Wheatley
4e5e4e5c6e
feat: add statistics chart export button ( #3662 )
2022-11-01 18:47:22 +01:00
flarum-bot
201d7430fe
Bundled output for commit 52f6148876
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-10-18 14:44:18 +00:00
Sami Mazouz
52f6148876
chore: add priorities to profile settings page ( #3657 )
...
To give extensions more flexibility
2022-10-18 16:38:25 +02:00
Sami Mazouz
dc215aba59
chore(statistics): prepare v1.5.1
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-10-11 18:22:47 +01:00
flarum-bot
90a68506b8
Bundled output for commit bd0577f435
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-10-02 18:49:08 +00:00
Sami Mazouz
bd0577f435
fix: statistics previous period chart is unclear ( #3654 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-10-02 19:43:47 +01:00
Ngô Quốc Đạt
d33f1abffc
fix: apply flex for AppearancePage colors input ( #3651 )
2022-10-01 20:18:03 +02:00
Sami Mazouz
b0b47a0888
test: allow specifying php extensions in workflow
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-30 20:53:50 +01:00
flarum-bot
8c0a14aff2
Bundled output for commit 76788efaba
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-09-29 11:17:55 +00:00
David Wheatley
76788efaba
feat(statistics): support for custom date ranges ( #3622 )
...
* feat: backend support for statistics custom date ranges
* feat: use seconds-based timestamps on backend instead
* feat: add frontend date selection option
* feat: add tests for lifetime and timed stats
* fix: add error alert when end date is after start date
* fix: wrong label
* fix: no data when start and end date are same day
* fix: use utc dayjs for formatting custom date range on widget
* chore: add dayjs as project dep
* fix: make end date inclusive
* feat: add integration test for custom date period
* fix: incorrect ts expect error comment
* fix: add missing type
* fix: typing errors
* fix(tests): remove type from class attribute definition
* fix: extract default values to function body
* fix: typo
* chore: use small modal
* fix: add missing `FormControl` class
* fix: cast url params to int to enforce type
* chore: `yarn format`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-29 13:12:54 +02:00
flarum-bot
973ec32e13
Bundled output for commit cf818aae9e
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-09-23 18:59:15 +00:00
Ngô Quốc Đạt
cf818aae9e
replace ColorPreviewInput
for GroupModal color input ( #3650 )
2022-09-23 19:52:48 +01:00
flarum-bot
6da0bc63b7
Bundled output for commit 6e1bc2daed
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-09-23 13:18:01 +00:00
Ngô Quốc Đạt
6e1bc2daed
fix: package manager failures not showing alerts ( #3647 )
...
* fix: close `LoadingModal` when install falied
* move error handler to catch
2022-09-23 14:11:36 +01:00
Rafael Horvat
7ce9d63ed6
feat(test): Make it possible to extend SetupScript ( #3643 )
...
* Make it possible to extend Flarum\Testing\integration\Setup\SetupScript and added public methods to add settings or extensions to in initial installation pipeline
* Fix syntax error, unexpected 'static'
* Remove `addExtensions` method and document `addSettings`
2022-09-23 13:44:17 +02:00
StyleCI Bot
267f6759f8
Apply fixes from StyleCI
2022-09-22 08:21:34 +00:00
Daniël Klabbers
b5874a08e4
fix(approval): posts approved for deleted users error
...
In certain edge cases posts get approved through moderative action and
throws an error when the user has already been deleted.
Ref: DISCUSS-11K on sentry
2022-09-22 10:20:06 +02:00
flarum-bot
368e08bb9b
Bundled output for commit 5f2d7fb7b6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-09-17 11:36:06 +00:00
Sami Mazouz
5f2d7fb7b6
fix(regression): bad import
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-17 12:29:16 +01:00
flarum-bot
68d6e30143
Bundled output for commit c5c312db0d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-09-17 11:07:16 +00:00
Sami Mazouz
c5c312db0d
chore: yarn format
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-17 11:54:09 +01:00
flarum-bot
05f80b7b83
Bundled output for commit 31c3cfc4ea
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-09-16 10:02:55 +00:00
Sami Mazouz
31c3cfc4ea
chore(package-manager): set min core version and add warning
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-16 10:54:39 +01:00
Sami Mazouz
fd196454a5
chore(package-manager): config composer to use web php version
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-15 11:07:08 +01:00
Sami Mazouz
f6761843b2
feat: customizable session driver ( #3610 )
2022-09-14 18:10:30 +01:00
Sami Mazouz
84c31165e5
fix: password reset leaks user existence ( #3616 )
2022-09-14 15:57:52 +01:00
Sami Mazouz
fc4d5e3d43
chore: Setup PHPStan Level 5 ( #3553 )
2022-09-14 15:23:56 +01:00
Daniël Klabbers
b2fa28e4b5
chore: remove styleci from changelog
2022-09-13 12:22:45 +02:00
Daniël Klabbers
fc743ba888
chore: set flarum version to dev for 1.6.0
2022-09-13 12:22:29 +02:00
Daniël Klabbers
a35df8c139
chore: v1.5.0 preparations
2022-09-13 10:55:30 +02:00
Sami Mazouz
8aec252452
fix(qa): simpler grid layout fix for overflow
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-08 20:52:33 +01:00
Sami Mazouz
32961d480c
fix(qa): grid layout causes overflowing of content
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-08 20:33:32 +01:00
Alexander Skvortsov
27e3d322ec
feat: increase margin between notifications list control icons ( #3629 )
...
* feat: increase margin between notifications list control icons
This feels cleaner, and reduces the chances of a misclick.
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-06 12:28:09 +02:00
Sami Mazouz
9eab1085da
fix(regression): exiting long modal by clicking backdrop fails
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-05 15:32:14 +01:00
flarum-bot
c305f9a105
Bundled output for commit 3b773e2677
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-09-05 13:31:03 +00:00
Sami Mazouz
3b773e2677
chore: don't pass password field between auth modals ( #3626 )
...
* chore: don't pass password field between auth modals
* chore: reset password on failed attempts
* chore: `yarn format`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-05 13:44:11 +01:00
Daniël Klabbers
6e48a0303e
Create CODEOWNERS
...
Start requiring an approval from the core team on PR's
2022-09-05 09:03:20 +02:00
Sami Mazouz
31f1ffd6a5
fix(regression): bad post actions alignment introduced in #3540 ( #3619 )
...
* chore: merge media queries
* chore: change discussion page skeleton to grid layout
* chore: use grid areas instead of order
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2022-09-03 13:30:44 +01:00
Sami Mazouz
9897f682a0
fix: explicitly select post columns ( #3621 )
...
additional columns can be explicitly added by extensions
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-09-03 12:33:38 +01:00
flarum-bot
f3156c65c9
Bundled output for commit 2719042c71
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-31 19:22:47 +00:00
Robert Korulczyk
2719042c71
feat: add custom class for email confirmation alert ( #3584 )
2022-08-31 21:13:25 +02:00
flarum-bot
ffd0b90a83
Bundled output for commit 87aaaf6971
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-31 09:20:08 +00:00
David Wheatley
87aaaf6971
feat(subscriptions): add option to send notifications when not caught up ( #3503 )
2022-08-31 11:13:51 +02:00
Sami Mazouz
6ffa9e3736
fix(mentions): accessing id
of null user
relation ( #3618 )
...
* test: editing a post with deleted author and mentions
* fix(mentions): accessing `id` of null `user` relation
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-26 10:38:00 +01:00
Sami Mazouz
434c459246
fix(tags): use default index sortmap ( #3615 )
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-24 12:17:00 +01:00
Sami Mazouz
7f2f3e34f5
chore(statistics): add release notes for 1.4.2
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-22 11:24:29 +01:00
Sami Mazouz
f7dd609b26
feat: discussion UTF-8 slug driver ( #3606 )
...
* feat: add utf-8 slug driver
* test: add tests for slugging expectations
* fix: non-word characters aren't removed
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
Co-authored-by: Alexander Skvortsov <sasha.skvortsov109@gmail.com >
2022-08-21 15:27:41 +01:00
flarum-bot
ec97ee41f9
Bundled output for commit 335c602cea
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-20 17:30:31 +00:00
Sami Mazouz
335c602cea
chore(package-manager): last tweaks before beta tag
...
chore: fix workflow errors
chore: fix workflow errors
chore: avoid updating an extension that wasn't directly required
chore: prevent job overlap
chore: reorganize code, separate state from view
fix: update checking ui display
chore: minor improvements
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-20 18:21:02 +01:00
flarum-bot
082117d8bc
Bundled output for commit 11a9b73610
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-17 13:02:21 +00:00
Hasan Özbey
11a9b73610
fix: use isCollapsed
instead of rangeCount
( #3581 )
2022-08-17 13:56:03 +01:00
flarum-bot
974f003fe3
Bundled output for commit 352a50e3ad
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-16 17:36:57 +00:00
David Wheatley
352a50e3ad
perf(statistics): split timed data into per-model XHR requests ( #3601 )
...
* chore: kill off timeset offset from statistics extension
* perf: split timed data into per-model requests
2022-08-16 18:30:24 +01:00
Ngô Quốc Đạt
5637fe8041
fix: $events
property declared dynamically ( #3598 )
2022-08-16 17:50:29 +01:00
David Wheatley
3d167749cb
fix(subscriptions): add missing table prefix for filter gambit ( #3599 )
2022-08-15 12:35:03 +02:00
David Wheatley
1a189f4923
fix: typo in error message
2022-08-14 17:16:52 +01:00
Sami Mazouz
6de8113720
test: prevent running both push
and pull_request
actions at the same time ( #3597 )
...
Not a 100% perfect solution, however as us maintainers always push branches directly to the original repository and make PRs from those, this is plenty enough. Instead of having 300+ actions in each PR which takes time, we'll just have the normal 171 `push` actions.
This makes sure to still run `pull_request` actions from contributors as they'd be forking the repo.
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-13 09:33:37 +01:00
Sami Mazouz
f74f7f58cd
test: refactor prefix matrix and add MySQL 8.0
& PHP 7.3
to workflows ( #3595 )
...
* chore: simplify added prefix tests to matrix without using exclusions
* test: recover 7.3 testing
* test: add mysql 8.0 to matrix
* test: exclude some PHP versions from running with MySQL 8.0 to reduce actions
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-12 19:22:38 +01:00
flarum-bot
34b7686d8a
Bundled output for commit 4eb2112282
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-11 20:46:35 +00:00
Ian Morland
4eb2112282
feat: Admin debug mode warning ( #3590 )
...
* feat: Admin debug mode warning
* prettier
* Wrap in Alert component
* feat: add `title` and `icon` attributes to the `Alert` component
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
* Update framework/core/js/src/admin/components/DebugWarningWidget.js
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* Update framework/core/locale/core.yml
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* prettier
* chore: convert to TS
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
* Update framework/core/js/src/common/components/Alert.tsx
Co-authored-by: David Wheatley <hi@davwheat.dev >
* chore: add docs link
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com >
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
Co-authored-by: David Wheatley <hi@davwheat.dev >
2022-08-11 22:41:54 +02:00
Sami Mazouz
25122fd355
fix: user has wrong discussion read status ( #3591 )
...
* test: deleting last post(s) then posting new replies works as expected
* fix: user has wrong discussion read status
2022-08-09 22:43:38 +02:00
Daniël Klabbers
1d14ea6b45
fix(compilation): versioner not inject into compilers ( #3589 )
2022-08-09 12:12:36 +02:00
flarum-bot
eab5093012
Bundled output for commit 1948f25151
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-08 21:22:31 +00:00
Sami Mazouz
1948f25151
refactor: convert page components to TypeScript ( #3538 )
...
* fix(a11y): color preview fields have no aria label
* refactor: convert page components to TypeScript
Co-authored-by: David Wheatley <hi@davwheat.dev >
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-08 22:11:58 +01:00
flarum-bot
44825f1b94
Bundled output for commit d02bf0faa1
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-08 18:30:58 +00:00
Ian Morland
d02bf0faa1
feat: Delete all notifications ( #3529 )
...
* Add delete all notifications option
* chore: `DELETE /api/notifications` as per conventions
* test: can delete all notifications
Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-08 19:26:16 +01:00
flarum-bot
b28606b8ef
Bundled output for commit 631b4c194c
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-08 13:53:39 +00:00
Sami Mazouz
631b4c194c
chore: unify JS actions into one (rewritten flarum/action-build
) ( #3573 )
...
* chore: unify JS actions into one (rewritten `flarum/action-build)`
* chore: maintain backwards compatibility
* fix: wrong default format check script
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-08 14:48:43 +01:00
flarum-bot
b20961cc9d
Bundled output for commit 495462183b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-08 13:04:48 +00:00
David Wheatley
495462183b
chore: format code
2022-08-08 14:00:22 +01:00
flarum-bot
40fa7a2c9b
Bundled output for commit f69210b6d1
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-08 12:35:51 +00:00
Jasper Vriends
f69210b6d1
feat(modals): support stacking modals, remove bootstrap modals dependency ( #3456 )
...
* Feature: Stackable modals
* Processed feedback
* fix: use position in modal stack rather than key for modal number
* fix: use correct base z-index
* chore: simplify `className` to `class`
* chore: add `key` attribute to ModalManager element
* fix: backdrop flashing as modals are stacked/unstacked
* chore: simplify modal close process
* docs: add TS overload to indicate deprecated modal opening syntax
Require explicit values for `attrs` and `stackModal` from Flarum 2.0, beginning deprecation from now.
* feat: use stackable modal for forgot password modal above sign in
* chore: explicitly check if modal is open before trying to focus trap
* fix(a11y): add missing `aria-hidden` on main content when modal open
* fix(a11y): add missing `aria-modal` on modal
* chore: remove test code
* chore: remove dead CSS
* chore: remove overload
* fix: lock page scrolling when modal is open
* fix: strange scrolling behaviour
* chore: convert to JSX
* fix: event listener memory leak
* chore: remove unneeded optional chaining
* fix: incorrect return types
* chore: rewrite backdrop system - use one backdrop for all modals
* docs: typos in comment block
* fix: show backdrop directly below top-most modal
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
* chore: format
* fix: use an invisible backdrop for each modal to exit
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
* chore: remove debugging code
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
* chore: remove forgotten debug code
Co-authored-by: David Wheatley <david@davwheat.dev >
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2022-08-08 13:29:14 +01:00
flarum-bot
bb5f7b87bc
Bundled output for commit e2f568252b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-08 10:37:13 +00:00
Robert Korulczyk
e2f568252b
perf: add loading="lazy"
attribute for avatars ( #3578 )
...
Co-authored-by: David Wheatley <david@davwheat.dev >
2022-08-08 11:29:52 +01:00
flarum-bot
bca7d48d99
Bundled output for commit 3bdb0af993
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-05 19:27:47 +00:00
David Wheatley
3bdb0af993
fix: intellisense imports defaulting to absolute path from src
folder ( #3549 )
...
* docs: remove baseUrl recommendation
Fixes https://github.com/flarum/flarum-tsconfig/issues/4
* chore: implement change within framework monorepo
2022-08-05 20:23:45 +01:00
flarum-bot
d345734a8e
Bundled output for commit 4b25c2d425
...
Includes transpiled JS/TS.
[skip ci]
2022-08-05 18:28:35 +00:00
Sami Mazouz
4b25c2d425
test: relying on a third-party for avatar URL tests is unreliable ( #3586 )
2022-08-05 19:24:43 +01:00
flarum-bot
54e1966ec8
Bundled output for commit f073c22212
...
Includes transpiled JS/TS.
[skip ci]
2022-08-04 09:55:07 +00:00
Sami Mazouz
f073c22212
chore: remove debug line that slipped in while rebasing a PR ( #3580 )
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-08-04 10:43:26 +01:00
flarum-bot
71731819fb
Bundled output for commit b01b75e367
...
Includes transpiled JS/TS.
[skip ci]
2022-08-04 08:11:58 +00:00
Daniël Klabbers
b01b75e367
fix: return type hint static is php 8+
2022-08-04 10:07:48 +02:00
flarum-bot
71b444b6f6
Bundled output for commit bb641144b6
...
Includes transpiled JS/TS.
[skip ci]
2022-08-02 11:36:01 +00:00
StyleCI Bot
bb641144b6
Apply fixes from StyleCI
2022-08-02 11:28:25 +00:00
Daniël Klabbers
590639f5f3
fix: remove deprecation warning for decoding null values
2022-08-02 13:28:03 +02:00
flarum-bot
b06be43988
Bundled output for commit 237076e5b7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-08-02 10:31:17 +00:00
Ian Morland
237076e5b7
chore(approval, likes): use subscribers ( #3577 )
...
* chore: use subscribers
* Apply fixes from StyleCI
* Un-static
Co-authored-by: StyleCI Bot <bot@styleci.io >
2022-08-02 11:27:26 +01:00
flarum-bot
737783a8a8
Bundled output for commit 7d3147d4e1
...
Includes transpiled JS/TS.
[skip ci]
2022-08-02 10:10:01 +00:00
Ian Morland
7d3147d4e1
feat: add createTableIfNotExists migration helper ( #3576 )
2022-08-02 10:43:31 +01:00
David Wheatley
61c4421bd2
fix: sticky nav content displays below post stream ( #3575 )
2022-08-02 10:40:51 +01:00
flarum-bot
85d4fb6ce2
Bundled output for commit da855c654e
...
Includes transpiled JS/TS.
[skip ci]
2022-08-01 22:53:45 +00:00
Ian Morland
da855c654e
feat: Restart the queue worker after cache clearing, ext enable/disable, save settings ( #3565 )
...
* Add queue restarter
* Update framework/core/src/Queue/QueueRestarter.php
2022-08-02 00:49:58 +02:00
flarum-bot
7147d39975
Bundled output for commit f4ace73a3c
...
Includes transpiled JS/TS.
[skip ci]
2022-08-01 11:03:26 +00:00
David Wheatley
f4ace73a3c
chore(statistics): add release notes for 1.4.1
2022-08-01 11:59:57 +01:00
flarum-bot
0b299d0003
Bundled output for commit 70e483d1b1
...
Includes transpiled JS/TS.
[skip ci]
2022-07-30 22:16:30 +00:00
Daniël Klabbers
70e483d1b1
fix: prepare release workflow has invalid layout
2022-07-31 00:09:14 +02:00
Daniël Klabbers
628c281c39
fix: update workflow name
2022-07-31 00:02:34 +02:00
Daniël Klabbers
0901e59a58
feat: add new workflow for generating release meta
2022-07-31 00:00:50 +02:00
Daniël Klabbers
5530400b09
chore: getting the release workflow in
2022-07-30 23:33:55 +02:00
flarum-bot
e7af009fbc
Bundled output for commit 2b31b185e4
...
Includes transpiled JS/TS.
[skip ci]
2022-07-30 12:05:59 +00:00
Sami Mazouz
2b31b185e4
feat: clear password & email tokens when appropriate ( #3567 )
...
* test: password tokens are generated and deleted on password change
* chore: delete all password tokens when the password is changed
* test: email tokens are generated and deleted on email change
* test: email tokens are deleted after password reset
* chore: delete email tokens after password change
* test: password tokens are deleted after email change
* chore: delete password tokens after email change
* chore: syntactic sugar
* chore: unify event listening
2022-07-30 13:02:06 +01:00
flarum-bot
f96f914576
Bundled output for commit f610f8aa67
...
Includes transpiled JS/TS.
[skip ci]
2022-07-30 06:22:07 +00:00
Sami Mazouz
f610f8aa67
feat: throttle email change, email confirmation, and password reset endpoints. ( #3555 )
...
* chore: move post throttler to separate class
* feat: throttle email change requests
* feat: throttle email activation requests
* feat: throttle password resets for logged-in users
* docs: comment new throttlers
2022-07-30 08:18:51 +02:00
flarum-bot
021793fc52
Bundled output for commit 9ab1680b17
...
Includes transpiled JS/TS.
[skip ci]
2022-07-29 12:54:55 +00:00
dependabot[bot]
9ab1680b17
chore(deps): bump terser from 5.12.0 to 5.14.2 ( #3551 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.12.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 13:48:04 +01:00
Soobin Rho
8dde6a27bf
docs: link logo at the top with the official website ( #3552 )
...
When I was reading README.md, I clicked the logo and I expected to go to the official website https://flarum.org/ but it didn't. So, the image is being linked to the official website in this commit.
Signed-off-by: Soobin Rho <soobinrho@gmail.com >
2022-07-29 13:43:54 +01:00
Ian Morland
44f30ad51e
Replace event helper with event dispatcher ( #3570 )
2022-07-28 21:09:42 +01:00
David Wheatley
6911e3a71d
feat: expose assets base url to frontend forum model ( #3566 )
2022-07-28 19:37:10 +01:00
David Wheatley
cad6280a45
fix: potential static caching memory exhaustion ( #3548 )
...
* perf: get notification counts through relation, not model filtering
* chore: rename `queryUnreadNotifications` to `unreadNotifications`
* fix: null coalesce to 0 for notif read time
2022-07-28 19:14:32 +01:00
David Wheatley
7d67cfd1e7
fix: incorrect centring of deleted user avatars in notification list ( #3569 )
2022-07-28 17:15:29 +01:00
flarum-bot
e911b52b4c
Bundled output for commit 2defb17cc2
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-26 12:53:14 +00:00
David Wheatley
2defb17cc2
feat: publish assets on admin dashboard cache clear ( #3564 )
...
Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-26 13:48:04 +01:00
flarum-bot
fe20e2c212
Bundled output for commit 795a500adb
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-24 13:06:41 +00:00
Sami Mazouz
795a500adb
feat: Queue package manager commands ( #3418 )
...
* feat: Queue package manager commands
* adjust tests
* fix: force run whynot command synchronously
* chore: maximize command output box's height
* chore: more user instructions on background queue
* feat: track command peak memory usage
* feat: exit of CLI php version doesn't match web php version
* chore: install deps
* chore: format and typing workflow fix
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-24 14:02:13 +01:00
Daniël Klabbers
75aaef7d76
fix: MyISAM tables for extensions during installation
2022-07-23 23:53:14 +02:00
Daniël Klabbers
f128190f14
Revert "fix: MyISAM tables for extensions during installation"
...
This reverts commit f926c58e01
.
2022-07-23 23:52:57 +02:00
Daniël Klabbers
f926c58e01
fix: MyISAM tables for extensions during installation
2022-07-23 23:42:34 +02:00
flarum-bot
e5a3598bf6
Bundled output for commit 7cafd9f51a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-21 10:54:05 +00:00
David Wheatley
7cafd9f51a
fix: titles positioned wrongly with custom header height ( #3550 )
2022-07-21 11:47:37 +01:00
flarum-bot
e9fec9b22f
Bundled output for commit 31a00eeb95
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-19 18:26:37 +00:00
Sami Mazouz
31a00eeb95
fix(regression): loading next discussion list pages fails ( #3547 )
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-19 19:22:45 +01:00
flarum-bot
6b577e6f1f
Bundled output for commit 64f0ae7c33
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-19 09:36:41 +00:00
Sami Mazouz
64f0ae7c33
chore: revert tsconfig changes for local development ( #3545 )
...
* chore: delete unwanted dist typings
* chore: revert 4e52f0e420
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-19 10:30:23 +01:00
flarum-bot
343fe0e317
Bundled output for commit 07b2f86dcc
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-18 23:14:26 +00:00
Daniël Klabbers
07b2f86dcc
fix: minor backward compatible fix for php 8.1 in st_replace
2022-07-19 01:09:43 +02:00
flarum-bot
ffaea861e5
Bundled output for commit 46b3b7a952
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-18 18:21:14 +00:00
Sami Mazouz
46b3b7a952
chore: require guzzle 6 or 7
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-18 19:16:12 +01:00
flarum-bot
78544ce68d
Bundled output for commit af3116bce9
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-18 18:12:03 +00:00
David Wheatley
af3116bce9
perf(statistics): rewrite for performance on very large communities ( #3531 )
...
Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-18 19:07:38 +01:00
flarum-bot
6dde236d77
Bundled output for commit d0998be8fa
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-18 15:20:01 +00:00
David Wheatley
d0998be8fa
fix: html entities shown raw in page title ( #3542 )
2022-07-18 16:10:34 +01:00
Ian Morland
8dcfa6c474
fix: move guzzle composer requirement to core ( #3544 )
2022-07-18 16:10:04 +01:00
flarum-bot
744927215a
Bundled output for commit 54c21459d6
...
Includes transpiled JS/TS.
[skip ci]
2022-07-18 14:47:05 +00:00
Ian Morland
54c21459d6
feat(likes): Option to prevent users liking their own posts ( #3534 )
...
* Option to prevent users liking their own posts
* test: user can only like own post if setting ON
Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-18 15:32:27 +01:00
flarum-bot
91f8bd34b1
Bundled output for commit 4e52f0e420
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-18 14:30:42 +00:00
Sami Mazouz
4e52f0e420
chore: monorepo local development improvements ( #3523 )
...
* chore: centralize editorconfig
* chore: tweak tsconfigs for local development
* revert src path change
* fix: akismet type checking requires flag ext `@types`
* fix: make tags route optional to avoid typescript typing error
2022-07-18 15:19:11 +01:00
Sami Mazouz
ac23d79fe7
fix: unread notifications are globally cached between users. ( #3543 )
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-18 15:17:46 +01:00
David Wheatley
29179e27c6
feat: use position: sticky
for discussion side nav ( #3540 )
2022-07-17 11:06:19 +01:00
flarum-bot
cd610a1cf2
Bundled output for commit 0c017c2aa0
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-15 22:33:28 +00:00
Sami Mazouz
0c017c2aa0
refactor: convert AlertManager
IndexPage
and UserPage
components to TS ( #3536 )
...
* chore: convert `AlertManager` component to TypeScript
* chore: `compat.js` to `compat.ts`
* chore: convert `IndexPage` component to TypeScript
* chore: convert `UserPage` component and inheritors to TypeScript
* chore: `yarn format`
* chore: import types instead
2022-07-15 23:27:47 +01:00
David Wheatley
5721a2f487
fix: replace .fa()
mixin usage with .fas()
( #3537 )
2022-07-15 23:16:49 +01:00
David Wheatley
b673d36f33
chore: split FA imports into separate Less file for easy overriding ( #3535 )
2022-07-15 09:42:02 +01:00
flarum-bot
bacb095382
Bundled output for commit 7471ef64d5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-14 15:02:48 +00:00
Sami Mazouz
7471ef64d5
refactor: convert Badge
, Checkbox
and Navigation
components to TS ( #3532 )
...
* chore: convert badge components to TypeScript
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
* chore: convert checkbox components to TypeScript
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
* chore: convert `Navigation` component to TypeScript
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
* chore: import mithril type instead
2022-07-14 15:54:16 +01:00
flarum-bot
707ca2d16d
Bundled output for commit 3246f5a8f6
...
Includes transpiled JS/TS.
[skip ci]
2022-07-14 13:48:19 +00:00
Ian Morland
3246f5a8f6
feat(likes): Add likes tab to user profile ( #3528 )
2022-07-14 14:38:31 +01:00
David Wheatley
bf6f63cfe1
feat: extender to add custom less variables ( #3530 )
2022-07-14 13:04:38 +01:00
flarum-bot
819602520a
Bundled output for commit 16f59f514b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-14 11:39:02 +00:00
Ian Morland
16f59f514b
fix: set translator locale to user preference for email notifications ( #3525 )
2022-07-14 12:02:55 +01:00
David Wheatley
759f7ef327
fix(a11y): present post streams as feeds, setting busy when loading new pages ( #3522 )
2022-07-14 12:02:20 +01:00
David Wheatley
9c825aaa2b
fix(a11y): set aria-busy
when editing a post stream item ( #3521 )
...
* fix(a11y): add `aria-busy="true"` to posts being edited
* fix(a11y): add `aria-busy="true"` to reply placeholder
2022-07-14 12:02:12 +01:00
David Wheatley
952a5891bb
fix(a11y): add accessible labels to notification grid options ( #3520 )
2022-07-14 12:02:00 +01:00
flarum-bot
0daa24cf4b
Bundled output for commit 33bf2284c7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-14 08:52:21 +00:00
Daniël Klabbers
33bf2284c7
fix: core settings header has no priority
...
Due to missing sort the category title sorts underneath the core settings nav items.
2022-07-14 10:44:39 +02:00
Sami Mazouz
d3e456a1bf
chore: fix github issue templates
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-13 22:39:10 +01:00
Sami Mazouz
51472625ba
choe: use github issue template forms ( #3526 )
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-13 22:22:22 +01:00
flarum-bot
ec22162cf4
Bundled output for commit 1af506d4b8
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-07-13 20:47:43 +00:00
Sami Mazouz
1af506d4b8
refactor: convert core modals to TypeScript ( #3515 )
...
* refactor: convert core modals to TypeScript
* chore: excplicitly specify return type instead
* chore: `yarn format`
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-13 21:42:45 +01:00
Daniël Klabbers
d86440506d
chore: update version constant during cycle 22
2022-07-13 20:01:01 +02:00