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
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
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
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
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
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
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
b66fe5dd5f
chore(release): preparations
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-03-09 19:00:32 +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
46b3b7a952
chore: require guzzle 6 or 7
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com >
2022-07-18 19:16:12 +01:00
Ian Morland
8dcfa6c474
fix: move guzzle composer requirement to core ( #3544 )
2022-07-18 16:10:04 +01:00
Daniël Klabbers
556d461cfb
chore: update v1.4 constraints and update issues url
2022-07-12 23:30:03 +02:00
Sami Mazouz
be2da3e12f
fix: PHP 8.1 deprecation warnings ( #3384 )
2022-04-19 21:14:52 +01:00
Alexander Skvortsov
5fc0b4963a
chore: flarum-cli audit infra --fix
2022-03-11 18:02:51 -05:00
Alexander Skvortsov
693da58c41
chore: set up composer path repos
2022-03-11 18:02:49 -05:00
Alexander Skvortsov
5bb0d6cb43
chore: fl-dev audit infra --fix
2022-01-20 03:19:22 -05:00
Alexander Skvortsov
bf23f32a92
Apply flarum-cli audit fix ( #3248 )
2022-01-03 16:57:09 -05:00
Alexander Skvortsov
22f8c44b4d
Use v1.0.0 of backend testing properly ( #3247 )
2022-01-03 16:04:17 -05:00
Daniël Klabbers
c7613af913
Update composer.json
2021-07-26 13:02:33 +02:00
Sami Mazouz
0cee2dd4d6
Avoid intervention/image 2.6.0
2021-07-26 13:02:33 +02:00
Sami Mazouz
2cb33f7396
Revert "Avoid using intervention/image 2.6.0"
...
This reverts commit 045c362e6f
.
2021-07-26 13:02:33 +02:00
Sami Mazouz
df2d684a25
Revert "Use wildcard for constraint instead"
...
This reverts commit a44166dd56
.
2021-07-26 13:02:33 +02:00
Sami Mazouz
a44166dd56
Use wildcard for constraint instead
...
Co-authored-by: Daniël Klabbers <luceos@users.noreply.github.com >
2021-07-21 10:41:53 +02:00
SychO9
045c362e6f
Avoid using intervention/image 2.6.0
2021-07-21 10:41:53 +02:00
Daniël Klabbers
71f15e550a
clean up of composer.json, added funding and more support links
2021-06-08 01:58:37 +02:00
Daniel Klabbers
322b1a083b
changelog and version constraint fix for flarum/testing
2021-05-25 23:01:54 +02:00
Alexander Skvortsov
f9c0bda172
Bump composer reqs for 1.0.0
2021-05-16 18:27:36 -04:00
Alexander Skvortsov
a22fed10a7
Use latest version of settings package
...
This allows us to get rid of hacks for configuring settings and config
2021-05-03 01:35:46 -04:00
Alexander Skvortsov
b5ee8a034b
Switch to ICU MessageFormat ( #2759 )
2021-04-30 12:44:39 -04:00
Alexander Skvortsov
512b756804
Include task scheduler in core
2021-03-19 18:01:38 -04:00
Alexander Skvortsov
897e778800
Remove deprecated code from beta 16 ( #2705 )
2021-03-19 19:13:50 +01:00
Alexander Skvortsov
9cd94c5d78
Use flarum/testing for test infrastructure ( #2545 )
2021-03-07 16:32:41 -05:00
Daniël Klabbers
242593daf6
Laravel components v8 ( #2576 )
...
- update actions ci
- include json for 4 spaces tab
- provide output int for process code exit
- adhere to parent type hint of builder
- mailer instance now needs a name, multiple can be instantiated
- getOriginal now uses mutators in the model
- Temporarily loosen MailableInterface requirements. This avoids an immediate BC break for classes in extensions that implement this interface.
- Temporarily provide (and autoload) old symfony translator interface
- make queue exception handler compatible with the contract of L8
- Update phpunit schema for newer version
- Update phpunit assert calls for newer version
2021-03-05 09:43:35 -05:00
Daniël Klabbers
a008734b63
Update composer.json ( #2625 )
...
update authors
2021-02-23 10:32:03 +01:00
Daniël Klabbers
8fdddf91a2
PHP 8 support, cookie unit tests ( #2507 )
2021-01-26 17:53:28 -05:00
Daniël Klabbers
dcea305864
Fixes validation failures of avatars that are jpg/jpeg ( #2497 )
...
Due to a commit by @fabpot in october, the mimetypes symfony class
now re-orders the shortened mimetypes that are returned when looking
up based on header mimetype. Our validator uses the first key, pops
the prefix off and then matches against our hardcoded array.
I've added a constraint to symfony/mime ^5.2.0 which ships with this change.
This constraint is fully compatible with our current lineup. In addition
I changed the hardcoded array to use the first entry from symfony mime types
now `jpg` instead of `jpeg`.
2020-12-16 13:53:17 -05:00
Daniël Klabbers
89f7827f6b
Update Symfony components to v4 ( #2407 )
...
This matches the Symfony dependencies of our laravel dependencies.
2020-10-27 17:12:36 -04:00
Alexander Skvortsov
6f8c99c2bf
Update email
2020-10-20 10:32:24 -04:00
Daniël Klabbers
c716a8423e
changelog v0.1.0-beta.14 and added core developer @askvortsov1
2020-10-20 16:24:43 +02:00
Alexander Skvortsov
447d26e9c8
Bump fontawesome version to ^5.14.0 ( #2274 )
2020-08-27 23:01:57 +02:00
Franz Liedke
aeffe31cc1
Update to Laravel 6, finally!
...
Fixes #2055 .
2020-07-24 17:34:40 +02:00
Franz Liedke
9de0901293
Explicitly bundle Carbon library
...
We have used this transitive dependency (via illuminate/support)
for a while, so let's make this explicit.
Incidentally, we now also explicitly require version 2.x - the
previous 1.x branch will no longer be supported after the
upcoming upgrade to Laravel 6.
Refs #2055 .
2020-07-24 16:46:33 +02:00
Matt Kilgore
07b9866cfb
Fixes #2157 , Explicitly set SameSite value for cookies ( #2159 )
...
* Fixes #2157 , Explicitly set SameSite value for cookies by making samesite a config option in config.php. Also contains an update for the cookie library dependency
2020-06-03 22:53:30 -04:00