Sami Mazouz
b74ecbfacf
feat: messages extension ( #4028 )
...
* feat: private messages
2024-09-28 11:12:52 +01:00
Sami Mazouz
f13a1c8387
feat: fontawesome v6 ( #4020 )
2024-09-20 08:27:08 +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
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
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
Sami Mazouz
2b917372a7
feat: eloquent factories (primarily for tests) ( #3982 )
2024-05-03 09:20:27 +01: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
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
IanM
01598555a9
chore: larastan changed namespace ( #3955 )
2024-01-09 17:07:26 +00:00
Sami Mazouz
40dcaf882c
chore: cleanup composer deps
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-07-02 14:54:49 +01:00
IanM
0cf2001478
chore: upgrade Wikimedia.less to 4.1 ( #3837 )
2023-06-21 15:28:01 +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
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
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
Daniël Klabbers
ba7599e6fe
chore: bbcode not psr autoloaded
2023-05-09 09:10:37 +02: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
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
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
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
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
Sami Mazouz
fc4d5e3d43
chore: Setup PHPStan Level 5 ( #3553 )
2022-09-14 15:23:56 +01: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
Daniël Klabbers
556d461cfb
chore: update v1.4 constraints and update issues url
2022-07-12 23:30:03 +02:00
Daniël Klabbers
2e3d6dfa2c
chore: upstream changes to dependencies
2022-07-05 21:19:01 +02:00
Daniël Klabbers
2e89ba3c94
chore: Allow installing monorepo through composer for dev purposes
...
This is as close as we're gonna get to a good solution for now.
2022-04-30 20:00:27 +01:00