Commit Graph

3811 Commits (staging)

Author SHA1 Message Date
Gavin Mogan ae39531ff2 field isnt accessTokenResourceOwnerId but responseResourceOwnerId 3 months ago
Gavin Mogan 70584b47c5 Fixes for items highlighted by review.ai
* Consider using `hash_equals()` instead of `==` when comparing the state values to prevent timing attacks:
`abort_unless(hash_equals($request->input('state'), $request->session()->pull('oauth2state')), 400, 'invalid
state');`
* For better data integrity, consider adding a foreign key constraint to the user_id column: `$table-
>foreign('user_id')->references('id')->on('users')->onDelete('cascade');`
* Does the OIDC provider guarantee that the username field exists in the userInfo data? Consider adding a
null check or fallback: `$userInfoData[config('remote-auth.oidc.field_username')] ?? null`
3 months ago
Gavin Mogan 441c8e0d4c Generic OIDC Support
* Everything should be configurable by env variables
* Basic request tests
3 months ago
Mackenzie Morgan 9966260a91 use case insensitive search when tagging accounts 3 months ago
Felipe Mateus fed800acfb
Merge branch 'dev-contrib-origin' into feat-remove-follow 3 months ago
Daniel Supernault fc77a98f7b
Update CustomFilterController, remove statuses check as we dont support them yet 3 months ago
Daniel Supernault c1f2dfb013
Update WebfingerService, apply banned domains to webfinger logic 3 months ago
Daniel Supernault 5f5ed1e62d
Update ComposeController, fix tag mention bug. Closes #5885 3 months ago
Daniel Supernault 1356757715
Add webfinger validation rule 3 months ago
Daniel Supernault 5a32bfe304
Update ApiV1Controller, add Custom Filters to home/public and hashtag feeds 3 months ago
Daniel Supernault 77044ba193
Update CustomFilter model, add custom limits for max_content_scan_limit, max_filters_per_user, max_keywords_per_filter, max_keyword_length, max_pattern_length, max_reported_matches, max_create_per_hour, max_updates_per_hour so admins have more control over this feature 3 months ago
Daniel Supernault 578718c606
Update CustomFilterKeyword model, add setKeywordAttribute method 3 months ago
Daniel Supernault c4a96da019
Update CustomFilterController, improve case-insentive handling, mastoAPI compatibility and custom config limits 3 months ago
Daniel Supernault b86102823b
Update CustomFilter model and CustomFilterController 3 months ago
Daniel Supernault 168816db2d
Update CustomFilterController 3 months ago
Daniel Supernault 3ff54b9ea6
Updaet CustomFilter model 3 months ago
Daniel Supernault 9ab1e0c84b
Update CustomFilterPolicy 3 months ago
Daniel Supernault adc4cffc38
Add custom filter components 3 months ago
Daniel Supernault f0b1a8eaae
Update changelog 3 months ago
Daniel Supernault 437d742ac4
Add custom filters
Add custom filters, compatible with Mastodon `/api/v2/filters`

Todo:
- [ ] fix routes
- [ ] finish other context filtering
3 months ago
Daniel Supernault ccc7f2fc69
Update ReportController, fix type validation 3 months ago
Daniel Supernault 32fc3180c8
Update DiscoverController, improve public hashtag feed. Fixes #5866 3 months ago
Daniel Supernault 658fe6898e
Update ApiV1Controller, add better direct error message. Fixes #4789 3 months ago
Daniel Supernault 0a98b7ad20
Update SearchApiV2Service, fix offset bug. Fixes #5875 3 months ago
Daniel Supernault 4732019087
Update instance config, return proper matrix limits. Fixes #4780 3 months ago
Daniel Supernault 245ab3bc4f
Update ApiV1Controller, fix relationship fields. Fixes #5900 3 months ago
Daniel Supernault 8a86808a06
Update ApiV1Controller, fix notifications favourited/reblogged/bookmarked state. Fixes #5901 3 months ago
Daniel Supernault f4a365e2b2
Update InstanceUpdateTotalLocalPosts.php
- Improve total post count by adding `uri` IS NULL check
3 months ago
Daniel Supernault 5a5821fe86
Update Instance total post, add optional estimation for huge status tables 3 months ago
daniel b7ae725850
Merge pull request #5902 from intentionally-left-nil/fix-local-stats
[Bug Fix] Fix server post stats
3 months ago
Daniel Supernault 3001365025
Update ProfileMigrationController.php 3 months ago
Daniel Supernault 537e179537
Update PublicApiController, fix visibility for guests 3 months ago
Daniel Supernault 5ddb6d8427
Update PublicApiController, use pixelfed entities for /api/pixelfed/v1/accounts/id/statuses with bookmarked state 3 months ago
Daniel Supernault 8082c004bc
Refactor following check 3 months ago
Daniel Supernault 0f1819125c
Update post pinning, and dispatch Notification cache warming to a job, and fix reblogged state on some endpoints 4 months ago
Daniel Supernault 2f655d0008
Fix pinned posts implementation 4 months ago
daniel c9a0fe0026
Merge pull request #5884 from eufelipemateus/pinned-posts
[Improvement] Pinned posts
4 months ago
Daniel Supernault 375858f09d
Update AccountImport, improve webp support 4 months ago
Samy Elshamy 448511713d Added parameter 'show_legal_notice_link' => (bool) config_cache('instance.has_legal_notice'), 4 months ago
Anil Kulkarni 8db8258cab
Fix server post stats
This fixes the homepage, showing how many posts have been made by the
server.
The prior logic includes posts from remote servers by an indirect check
for if it's a local post.
This commit changes the query behavior to directly check for the local
flag in the statuses column, and additionally excludes shares
4 months ago
Felipe Mateus 128533b5d8
Update ApiV1Controller.php
Co-Authored-By: Mathieu <385764+Casmo@users.noreply.github.com>
4 months ago
Felipe Mateus 456f96d574
add remove follow 4 months ago
Daniel Supernault aa6f95b1cf
Update ApiV1Controller, improve query 4 months ago
Felipe Mateus cce4c41d97
pinned posts 4 months ago
Daniel Supernault b54d90d405
Lint 4 months ago
Daniel Supernault 2cf3011816
Update ApiV1Controller, send UndoFollow when cancelling a follow request on remote accounts 4 months ago
Daniel Supernault 5525369fec
Update Inbox handler, improve Undo Follow logic 4 months ago
Daniel Supernault fbe76e37f3
Update Inbox handler, add Reject Follow support 4 months ago
Daniel Supernault 3725c689e4
Update Inbox, improve Accept Follower handling 4 months ago
Daniel Supernault 976a1873e1
Update ApiV1Controller, improve follower handling 4 months ago
Daniel Supernault 75e7a678ce
Update ActivityPub helpers 4 months ago
Daniel Supernault c4af4d9921
Update ApiV1Controller.php 4 months ago
Daniel Supernault 244e86bad7
Update ApiV1Controller, add pagination to conversations endpoint with min/max/since id pagination and link header support 4 months ago
Daniel Supernault 717f17cdee
Update DM config, allow new users to send DMs by default, with a new env variable to enforce a 72h limit 4 months ago
Daniel Supernault cce657d9c8
Update ApiV1Controller, return empty statuses feed for private accounts instead of 403 response 4 months ago
Daniel Supernault 806e210f13
Update snowflake config, allow custom datacenter/worker ids 4 months ago
Daniel Supernault 134eb6324e
Update AccountPostCountStatUpdate, fix memory leak 4 months ago
Daniel Supernault 38e17a06e0
Update ApiV1Controller, fix max_id pagination on home and public timeline feeds 4 months ago
Daniel Supernault 1a9a0da37d
Update Image.php 4 months ago
Daniel Supernault 01b445f6ea
Update AccountImports, add webp support 4 months ago
Daniel Supernault c36cc07b2c
Update avif support, and fix reply permalinks 4 months ago
Daniel Supernault 7ddbe0c473
Add AVIF support 4 months ago
daniel 622116b0cf
Merge pull request #5694 from maco/5645-domain-block
[Bug Fix] accept bare domains without http scheme in domain block controller
5 months ago
Daniel Supernault 5340649d04
Update AppRegisterController 5 months ago
Daniel Supernault a7f0c45505
Update AppServiceProvider.php 5 months ago
Daniel Supernault 0844094b99
Update App Register to expire codes after 4 hours instead of 60 minutes 5 months ago
Daniel Supernault 1278e2211b
Update IG import command 5 months ago
Daniel Supernault dbd1e17b25
Add app register email verify resends 5 months ago
Daniel Supernault 863ad8e107
Update NewStatusPipeline, improve fallback 5 months ago
Daniel Supernault 6c13debd56
Update NewStatusPipeline, replaces #5706 5 months ago
Daniel Supernault decaa2596d
Fix curl 5 months ago
Daniel Supernault 8c7a71ee73
Update DirectMessageController, fix query 5 months ago
Daniel Supernault 4ec9f990ed
Update DirectMessageController, fix performance issue 5 months ago
Daniel Supernault d968f8e6e0
Add media:replacedomain command to replace S3 media urls 5 months ago
daniel 2bbe7c9d04
Merge pull request #5712 from intentionally-left-nil/fix-pulse-crash
Prevent pulse crash when it is not configured
5 months ago
Daniel Supernault 4960421073
Update CuratedOnboarding, add new app:curated-onboarding command, extend email verification window to 7 days and fix resend verification mails 5 months ago
Anil Kulkarni 972b299025
Prevent pulse crash when it is not configured 5 months ago
Daniel Supernault df7283fc00
Add localization:generate command to generate the js/vue l10n files from the blade translations 5 months ago
Mackenzie Morgan 1f7a1bd72b accept bare domains without http scheme in domain block controller
Fixes #5645
5 months ago
Daniel Supernault dc4e683f0a
Update MediaController, fix redirect bug 5 months ago
Daniel Supernault a05524e834
Fix #5582 6 months ago
daniel 49a6e69858
Merge pull request #5540 from jippi/patch-1
fix: don't restore memory limit after cities import
6 months ago
Daniel Supernault edac836550
Update AccountTransformer.php 6 months ago
daniel 92ce41ce18
Merge pull request #5664 from hnrd/fix-migrate2cloud
Skip thumbnail cloud upload if no thumbnail exists
6 months ago
daniel 3749ed47b7
Merge pull request #5661 from rm-yakovenko/issue/5550
AdminStatsService: do not count deleted users
6 months ago
daniel 22e608b43d
Merge pull request #5660 from maco/max_caption_length_config_cache
use config_cache for max_caption_length
6 months ago
daniel 72150d4797
Merge pull request #5622 from shleeable/patch-16
FILTER_SANITIZE_STRING filter was deprecated in PHP 8.1.0. Use htmlspecialchars()
6 months ago
Daniel Supernault 42173245fc
Update ApiV1Controller.php 6 months ago
Daniel Supernault c8ba73f11b
Update ApiV1Controller.php 6 months ago
Daniel Supernault 67f3951e9a
Update ApiV1Controller, add mobile_registration attribute 6 months ago
Daniel Supernault 16b7968469
Update nodeinfo 6 months ago
Daniel Supernault cc78dfc650
Refactor based on @jippi review 6 months ago
tercean 3eb9257def Skip thumbnail cloud upload if no thumbnail exists
migrate2cloud fails on media without thumbnail.
fix check for existing thumbnail, skip upload if none exists.
6 months ago
Rm Yakovenko efcf836e6d AdminStatsService: do not count deleted users 6 months ago
Daniel Supernault 509a50b8e0
Update AppRegisterController.php 6 months ago
Daniel Supernault ea03784994
Update AppRegisterController.php 6 months ago
Mackenzie Morgan bd64e9f588 use config_cache for max_caption_length 6 months ago
Daniel Supernault f924491e4d
Updaet AppRegisterController, add client id/secret 6 months ago
Daniel Supernault fe46512359
Improve onboarding response 6 months ago
Daniel Supernault 112eee4538
Update AppRegisterController 6 months ago