Commit graph

66 commits

Author SHA1 Message Date
daniel
1dbcdee289
Merge branch 'staging' into feat/implement-admin-domain-blocks-api 2024-07-30 22:29:28 -06:00
Daniel Supernault
a5946f590b
Update AppServiceProvider 2024-07-30 22:25:48 -06:00
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
2024-03-30 01:07:45 +01:00
Emelia Smith
4afe72e62f
Add oauth protection to admin domain blocks API 2024-03-30 01:07:44 +01:00
Daniel Supernault
ce228f7fa4
Update oauth setting, use config_cache 2024-03-12 03:55:51 -06:00
Daniel Supernault
bc4d223714
Update routes 2024-02-15 22:20:40 -07:00
Daniel Supernault
7a7b4bc717
Update AuthServiceProvider 2024-02-09 20:54:17 -07:00
Emelia Smith
9330cd02f7
Implement proper OAuth authorization on Admin API endpoints 2024-02-09 02:28:08 +01:00
Daniel Supernault
7dbdbf15a5
Add Roles & Parental Controls 2023-12-27 02:51:47 -07:00
Daniel Supernault
add5eaf094
Fix CI 2023-05-07 05:20:33 -06:00
Daniel Supernault
637cdca27a
Fix CI 2023-05-07 05:18:59 -06:00
Daniel Supernault
fb4ac4ebd6
Add php 8.2 support. Bump laravel version, v9 => v10 2023-04-19 22:41:26 -06:00
Daniel Supernault
81f7d17263
Update FollowerService, improve cache invalidation 2022-12-07 02:50:13 -07:00
Daniel Supernault
0cdab339ff
Add default value for forceHttps in AppServiceProvider 2022-12-01 21:01:54 -07:00
Daniel Supernault
a31bdec750
Allow forceHttps to be disabled, fixes 2022-12-01 20:59:57 -07:00
daniel
f776c79284
Merge pull request from thisislawatts/fix/opt-out-of-forcing-https
fix: add opt of forceScheme(https)
2022-12-01 20:57:29 -07:00
Daniel Supernault
18f3fcc663
Update Laravel 8 => 9 2022-11-07 18:41:25 -07:00
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.
2022-10-23 15:09:32 +02:00
Daniel Supernault
d122c2d042
Add StatusObserver 2022-09-12 21:26:54 -06:00
Daniel Supernault
020f810a7e
Add TelescopeServiceProvider 2022-06-26 19:22:06 -06:00
Daniel Supernault
1c02afb1a1
Update oauth flow 2022-03-24 21:42:58 -06:00
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. 2021-10-07 03:27:13 -06:00
Daniel Supernault
38e5fc43eb
Add FollowObserver 2021-07-25 05:46:42 -06:00
Daniel Supernault
d3157f2a2d
Add LikeObserver 2021-07-02 01:33:49 -06:00
Daniel Supernault
178ed63d0a
Update AuthServiceProvider, increase default token + refresh token lifetime 2021-05-27 23:04:24 -06:00
Daniel Supernault
68a21de57c
Update admin settings 2021-05-11 23:47:29 -06:00
Daniel Supernault
868cea96ca
Update AuthServiceProvider 2021-05-11 23:45:01 -06:00
Daniel Supernault
3e52458889
Update config() to config_cache() 2021-05-11 18:26:52 -06:00
Daniel Supernault
b299da9311
Update AccountService, cache object and observe changes 2021-02-01 00:47:54 -07:00
Daniel Supernault
8aa5d42d8b
Update laravel framework to v8 2020-12-13 14:15:30 -07:00
Daniel Supernault
7cfae612db
Updated AuthServiceProvider, added support for configurable OAuth tokens and refresh tokens lifetime 2020-11-21 20:24:36 -07:00
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.
2020-08-31 23:16:42 +02:00
Daniel Supernault
344b0c94cd
Update cors dep 2020-06-11 18:39:03 -06:00
Daniel Supernault
51642fc40d
Add modlog notifications 2020-02-21 21:00:00 -07:00
Daniel Supernault
7faa9d8e61
Add S3 + Stories 2019-12-31 02:33:54 -07:00
Daniel Supernault
43d4517f71
Update AuthServiceProvider 2019-10-21 00:00:07 -06:00
Daniel Supernault
4fa5ca4f82
Update AuthServiceProvider 2019-10-20 23:06:06 -06:00
Daniel Supernault
0397c959f0
Update AuthServiceProvider 2019-10-01 18:31:05 -06:00
Daniel Supernault
dbcd5ff2e4
Update AuthServiceProvider 2019-09-30 23:36:37 -06:00
Daniel Supernault
e10b2b93a4
Update AuthServiceProvider 2019-09-30 23:03:35 -06:00
Daniel Supernault
6d6f517db0
Update AuthServiceProvider 2019-09-30 22:59:16 -06:00
Daniel Supernault
505b9ee732
Update AuthServiceProvider 2019-09-13 20:17:00 -06:00
Daniel Supernault
e359b6b98a
Update AuthServiceProvider 2019-09-13 19:55:24 -06:00
Daniel Supernault
a417d9bbad
Update AppServiceProvider, add UserFilter observer 2019-09-03 19:30:39 -06:00
Daniel Supernault
dea1e916cf
Add StatusHashtag Observer to AppServiceProvider 2019-06-30 22:39:00 -06:00
Daniel Supernault
3d6480d239
Update Horizon dark mode regression 2019-05-05 16:42:07 -06:00
Daniel Supernault
cddb88352b
Update AppServiceProvider 2019-04-30 22:44:20 -06:00
Daniel Supernault
bedb42baca
Update config, make oauth opt-in 2019-04-17 19:45:23 -06:00
Daniel Supernault
c4151c3751
Update AuthServiceProvider 2019-04-08 01:30:47 -06:00
Daniel Supernault
7903ec3ff5
Add Horizon as a dependency 2019-02-28 21:51:58 -07:00