Commit Graph

3626 Commits

Author SHA1 Message Date
StyleCI Bot
d4d3c98dd3
Apply fixes from StyleCI 2024-05-09 12:19:34 +00:00
Sami Mazouz
caaaadd701
Merge branch 'refs/heads/2.x' into sm/json-api-server
# Conflicts:
#	extensions/likes/tests/integration/api/ListPostsTest.php
#	extensions/mentions/tests/integration/api/ListPostsTest.php
#	framework/core/src/Api/routes.php
#	framework/core/src/Discussion/UserState.php
#	framework/core/src/Extend/Settings.php
#	framework/core/tests/integration/extenders/ApiControllerTest.php
#	framework/core/tests/integration/extenders/ModelTest.php
#	framework/core/tests/integration/policy/DiscussionPolicyTest.php
2024-05-09 13:19:14 +01:00
Sami Mazouz
2b917372a7
feat: eloquent factories (primarily for tests) (#3982) 2024-05-03 09:20:27 +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
Sami Mazouz
0549555235
fix: breaking change 2024-03-28 20:25:18 +01:00
StyleCI Bot
df05db637e
Apply fixes from StyleCI 2024-03-28 17:55:10 +00:00
Sami Mazouz
7ea25d33d9
chore: review 2024-03-28 18:54:38 +01:00
Sami Mazouz
80ded88692
chore: typings 2024-03-08 21:49:27 +01:00
Sami Mazouz
1fe426aba9
fix: approving content 2024-03-08 20:50:37 +01:00
Sami Mazouz
7c4f69e56f
fix: typing 2024-03-08 18:48:51 +01:00
Sami Mazouz
cda2b37dc2
test: adapt 2024-03-08 18:37:27 +01:00
Sami Mazouz
e0f8f53b7b
test: phpstan 2024-03-08 18:29:06 +01:00
StyleCI Bot
5b0dd88acf
Apply fixes from StyleCI 2024-03-08 13:41:35 +00:00
Sami Mazouz
d2bbd83492
feat: eager loading 2024-03-08 14:39:25 +01:00
Sami Mazouz
3493dc80d0
chore: drop old package 2024-03-05 13:49:42 +01:00
Sami Mazouz
fdf7b9a082
feat: cleaner sortmap implementation 2024-03-02 13:18:28 +01:00
Sami Mazouz
06364a4367
feat: context current endpoint helpers 2024-03-02 12:45:58 +01:00
Sami Mazouz
3644d81829
feat: refactor extension-manager extension 2024-03-02 12:20:39 +01:00
Sami Mazouz
6f942addb0
chore: merge conflicts 2024-03-02 11:34:10 +01:00
Sami Mazouz
78ed7d5782
Merge branch '2.x' into sm/json-api-server
# Conflicts:
#	extensions/tags/src/TagValidator.php
#	framework/core/locale/validation.yml
#	framework/core/src/User/Command/RegisterUserHandler.php
2024-03-02 11:14:10 +01:00
Sami Mazouz
40d219e988
feat: refactor likes extension 2024-03-01 21:22:07 +01:00
Sami Mazouz
e19346efd3
feat: refactor lock extension 2024-03-01 18:49:54 +01:00
Sami Mazouz
14955bb6d5
feat: refactor mentions extension 2024-03-01 18:42:18 +01:00
Sami Mazouz
8a6e96dc8e
feat: refactor nicknames extension 2024-02-26 17:43:45 +01:00
Sami Mazouz
7e0ff2ad75
feat: refactor sticky extension 2024-02-26 17:12:28 +01:00
Sami Mazouz
d0d3c15bbf
feat: refactor approval extension 2024-02-26 16:25:25 +01:00
Sami Mazouz
aebd5278cb
feat: refactor subscriptions extension 2024-02-26 15:27:04 +01:00
Sami Mazouz
6e753b4def
feat: refactor suspend extension 2024-02-26 14:46:34 +01:00
Sami Mazouz
8b7f3c3d6d
fix: drop bc layer 2024-02-26 14:46:06 +01:00
Sami Mazouz
8bcc2ffb40
feat: refactor flags extension 2024-02-26 11:31:14 +01:00
Sami Mazouz
82b9c54969
feat: refactor tags extension 2024-02-23 15:11:47 +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
Sami Mazouz
bc5bac0ac4
fix: regressions 2024-02-17 11:01:47 +01:00
Sami Mazouz
5e1f97141b
refactor: json:api refactor iteration 1 2024-02-10 15:59:41 +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
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
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
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
StyleCI Bot
5399c86a1b
Apply fixes from StyleCI 2024-01-09 15:06:12 +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
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