Commit Graph

73 Commits (5def2395fb6567be096a9c793d6d131fa21639f3)

Author SHA1 Message Date
Anil Kulkarni 972b299025
Prevent pulse crash when it is not configured 3 weeks ago
Daniel Supernault 4e6e6b4ab7
Update routes 4 weeks ago
Daniel Supernault f8dc50ebd3
Update AppServiceProvider.php 4 weeks ago
Daniel Supernault 3c249616ef
Add rate limits, fix typo and styling 4 weeks ago
Daniel Supernault ea17e24281
Update asp 2 months ago
Daniel Supernault 3d67d5a369
Add Pulse 2 months ago
Daniel Supernault 8afbdb03a8
Fix oauth oob (urn:ietf:wg:oauth:2.0:oob) support. Fixes #2522 2 months ago
daniel 1dbcdee289
Merge branch 'staging' into feat/implement-admin-domain-blocks-api 7 months ago
Daniel Supernault a5946f590b
Update AppServiceProvider 7 months ago
Emelia Smith fcdfc73eaf
Remove production environment check in AuthServiceProvider
This check resulted in the /oauth/scopes route returning nothing, meaning in development you couldn't use access tokens with scopes; It probably also affected other logic
11 months ago
Emelia Smith 4afe72e62f
Add oauth protection to admin domain blocks API 11 months ago
Daniel Supernault ce228f7fa4
Update oauth setting, use config_cache 12 months ago
Daniel Supernault bc4d223714
Update routes 1 year ago
Daniel Supernault 7a7b4bc717
Update AuthServiceProvider 1 year ago
Emelia Smith 9330cd02f7
Implement proper OAuth authorization on Admin API endpoints 1 year ago
Daniel Supernault 7dbdbf15a5
Add Roles & Parental Controls 1 year ago
Daniel Supernault add5eaf094
Fix CI 2 years ago
Daniel Supernault 637cdca27a
Fix CI 2 years ago
Daniel Supernault fb4ac4ebd6
Add php 8.2 support. Bump laravel version, v9 => v10 2 years ago
Daniel Supernault 81f7d17263
Update FollowerService, improve cache invalidation 2 years ago
Daniel Supernault 0cdab339ff
Add default value for forceHttps in AppServiceProvider 2 years ago
Daniel Supernault a31bdec750
Allow forceHttps to be disabled, fixes #3710 2 years ago
daniel f776c79284
Merge pull request #3710 from thisislawatts/fix/opt-out-of-forcing-https
fix: add opt of forceScheme(https)
2 years ago
Daniel Supernault 18f3fcc663
Update Laravel 8 => 9 2 years ago
Luke Watts d1dca5a1f1
fix: add opt of forceScheme(https)
When running the application locally with
APP_URL=http://localhost it is unexpected for
all route URLs returned by `route('route-name')`
to use the https prefix.

Configuring SSL for your local environment should
not be a required step to development locally.

The new logic checks the configured URL for presence
of https:// OR that this the application is running
in a production environment.
2 years ago
Daniel Supernault d122c2d042
Add StatusObserver 3 years ago
Daniel Supernault 020f810a7e
Add TelescopeServiceProvider 3 years ago
Daniel Supernault 1c02afb1a1
Update oauth flow 3 years ago
Daniel Supernault 80d9b9399a
Refactor following & relationship logic. Replace FollowerObserver with FollowerService and added RelationshipService to cache results. Removed NotificationTransformer includes and replaced with cached services to improve performance and reduce database queries. 3 years ago
Daniel Supernault 38e5fc43eb
Add FollowObserver 4 years ago
Daniel Supernault d3157f2a2d
Add LikeObserver 4 years ago
Daniel Supernault 178ed63d0a
Update AuthServiceProvider, increase default token + refresh token lifetime 4 years ago
Daniel Supernault 68a21de57c
Update admin settings 4 years ago
Daniel Supernault 868cea96ca
Update AuthServiceProvider 4 years ago
Daniel Supernault 3e52458889
Update config() to config_cache() 4 years ago
Daniel Supernault b299da9311
Update AccountService, cache object and observe changes 4 years ago
Daniel Supernault 8aa5d42d8b
Update laravel framework to v8 4 years ago
Daniel Supernault 7cfae612db
Updated AuthServiceProvider, added support for configurable OAuth tokens and refresh tokens lifetime 4 years ago
delthas 748a3be46d Add support for configurable OAuth tokens and refresh tokens lifetime
Previously, the lifetime of tokens and refresh tokens was hardcoded at
15 and 30 days.

Some instances administrators may wish to change these values.

This makes these two values configurable with the two .env variables:
OAUTH_TOKEN_DAYS and OAUTH_REFRESH_DAYS which are the lifetime in days
for these two tokens and refresh tokens.
5 years ago
Daniel Supernault 344b0c94cd
Update cors dep 5 years ago
Daniel Supernault 51642fc40d
Add modlog notifications 5 years ago
Daniel Supernault 7faa9d8e61
Add S3 + Stories 5 years ago
Daniel Supernault 43d4517f71
Update AuthServiceProvider 5 years ago
Daniel Supernault 4fa5ca4f82
Update AuthServiceProvider 5 years ago
Daniel Supernault 0397c959f0
Update AuthServiceProvider 5 years ago
Daniel Supernault dbcd5ff2e4
Update AuthServiceProvider 5 years ago
Daniel Supernault e10b2b93a4
Update AuthServiceProvider 5 years ago
Daniel Supernault 6d6f517db0
Update AuthServiceProvider 5 years ago
Daniel Supernault 505b9ee732
Update AuthServiceProvider 6 years ago
Daniel Supernault e359b6b98a
Update AuthServiceProvider 6 years ago