mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-16 20:38:10 +00:00
- Add in-memory sliding window rate limiter for auth token endpoints with CI/test bypass and successful request exclusion - Add user_permission meta column migration and Objection model configuration - Support scoping allowed proxy hosts per user when in 'Created Items Only' visibility mode - Restrict advanced nginx configuration editing on hosts to admin users only - Fix user permissions route ID parsing and omit id from permission update payloads - Add allowed proxy hosts selector in permissions modal and display permissions summary badges in users table
28 lines
665 B
JavaScript
28 lines
665 B
JavaScript
import { defineConfig } from 'cypress';
|
|
import pluginSetup from '../plugins/index.mjs';
|
|
|
|
const adminPort = process.env.NPM_ADMIN_PORT ?? 81;
|
|
|
|
export default defineConfig({
|
|
allowCypressEnv: false,
|
|
requestTimeout: 30000,
|
|
defaultCommandTimeout: 20000,
|
|
taskTimeout: 90000,
|
|
reporter: "cypress-multi-reporters",
|
|
reporterOptions: {
|
|
configFile: "multi-reporter.json"
|
|
},
|
|
video: true,
|
|
videosFolder: "results/videos",
|
|
screenshotsFolder: "results/screenshots",
|
|
e2e: {
|
|
setupNodeEvents(on, config) {
|
|
return pluginSetup(on, config);
|
|
},
|
|
env: {
|
|
swaggerBase: `{{baseUrl}}/api/schema?ts=${Date.now()}`,
|
|
},
|
|
baseUrl: `http://fullstack:${adminPort}`,
|
|
}
|
|
});
|