Compare commits

..

4 Commits

Author SHA1 Message Date
Gregor Vostrak
2c540be236 add formatting support for months grouping 2026-08-20 16:41:42 +02:00
Andrew Herron
3bddd49364 Add "Week" grouping option to reporting 2026-08-19 16:28:59 +10:00
Andrew Herron
ab5dbfef36 Format date group labels in all aggregate exports 2026-07-30 11:56:27 +00:00
Andrew Herron
2eb9ae699c Add "Date" grouping option to reporting 2026-07-30 10:49:45 +00:00
2 changed files with 2 additions and 17 deletions

View File

@@ -33,8 +33,8 @@ class RouteServiceProvider extends ServiceProvider
}
return $request->user()
? Limit::perMinute(config('app.api_rate_limit_authenticated_per_minute'))->by($request->user()->id)
: Limit::perMinute(config('app.api_rate_limit_guest_per_minute'))->by($request->ip());
? Limit::perMinute(200)->by($request->user()->id)
: Limit::perMinute(60)->by($request->ip());
});
$this->routes(function (): void {

View File

@@ -158,21 +158,6 @@ return [
'pagination_per_page_default' => (int) env('PAGINATION_PER_PAGE_DEFAULT', 15),
/*
|--------------------------------------------------------------------------
| API Rate Limiting
|--------------------------------------------------------------------------
|
| The number of API requests allowed per minute, counted per user for
| authenticated requests and per IP address for guest requests. These
| limits are only enforced when the application runs in production.
|
*/
'api_rate_limit_authenticated_per_minute' => (int) (env('API_RATE_LIMIT_AUTH_PER_MINUTE') ?: 200),
'api_rate_limit_guest_per_minute' => (int) (env('API_RATE_LIMIT_GUEST_PER_MINUTE') ?: 60),
/*
|--------------------------------------------------------------------------
| Encryption Key