Commit Graph

62 Commits (aa94dde37617defa20931ebae10f06107097aeab)

Author SHA1 Message Date
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
Daniel Supernault a417d9bbad
Update AppServiceProvider, add UserFilter observer 6 years ago
Daniel Supernault dea1e916cf
Add StatusHashtag Observer to AppServiceProvider 6 years ago
Daniel Supernault 3d6480d239
Update Horizon dark mode regression 6 years ago
Daniel Supernault cddb88352b
Update AppServiceProvider 6 years ago
Daniel Supernault bedb42baca
Update config, make oauth opt-in 6 years ago
Daniel Supernault c4151c3751
Update AuthServiceProvider 6 years ago
Daniel Supernault 7903ec3ff5
Add Horizon as a dependency 6 years ago
Daniel Supernault 70a9bc4bd1
Update ASP, enforce https 6 years ago
Daniel Supernault 4674a6d1b1
Disable oauth until bugs are fixed 6 years ago
Daniel Supernault 955593101b
Update AppServiceProvider 6 years ago
Daniel Supernault 03cf26a09a
Update UserObserver 6 years ago