Enforce file extensions in imports to comply with ESM standards (#486)

pull/487/head
Himanshu Bhatt 2024-10-04 20:35:53 +05:30 committed by GitHub
parent 01b317fc20
commit b893df376b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
348 changed files with 2894 additions and 1263 deletions

View File

@ -33,6 +33,14 @@ module.exports = {
'vue/no-reserved-component-names': 0, 'vue/no-reserved-component-names': 0,
'eol-last': ['error', 'always'], 'eol-last': ['error', 'always'],
'prettier/prettier': 'error', 'prettier/prettier': 'error',
'import/extensions': [
'error',
'always',
{
js: 'always',
vue: 'always',
},
],
}, },
globals: { globals: {
describe: true, describe: true,
@ -40,5 +48,5 @@ module.exports = {
it: true, it: true,
test: true, test: true,
}, },
plugins: ['prettier'], plugins: ['prettier', 'import'],
}; };

1843
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@
"test:eslint": "eslint 'src/**/*.{js,vue}' --cache", "test:eslint": "eslint 'src/**/*.{js,vue}' --cache",
"test:eslint:fix": "npm run test:eslint -- --fix", "test:eslint:fix": "npm run test:eslint -- --fix",
"test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json", "test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json",
"test:i18n-packs": "node --import=extensionless/register src/nginxconfig/i18n/verify.js", "test:i18n-packs": "node src/nginxconfig/i18n/verify.js",
"test:prettier": "prettier 'src/**/*.{js,vue}' --check", "test:prettier": "prettier 'src/**/*.{js,vue}' --check",
"test:prettier:fix": "prettier --write 'src/**/*.{js,vue}'", "test:prettier:fix": "prettier --write 'src/**/*.{js,vue}'",
"prepare": "husky install" "prepare": "husky install"
@ -77,10 +77,9 @@
"duplicate-package-checker-webpack-plugin": "^3.0.0", "duplicate-package-checker-webpack-plugin": "^3.0.0",
"eslint": "^8.56.0", "eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.20.1", "eslint-plugin-vue": "^9.20.1",
"esm": "^3.2.25",
"extensionless": "^1.9.6",
"husky": "^8.0.3", "husky": "^8.0.3",
"jest": "^29.7.0", "jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0", "jest-environment-jsdom": "^29.7.0",

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import { info } from '../util/log'; import { info } from '../util/log.js';
const originalSrcDir = document.currentScript.src.split('/').slice(0, -2).join('/') + '/'; const originalSrcDir = document.currentScript.src.split('/').slice(0, -2).join('/') + '/';
window.__webpackDynamicImportURL = () => { window.__webpackDynamicImportURL = () => {

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import { gzipTypes, extensions } from '../../util/types_extensions'; import { gzipTypes, extensions } from '../../util/types_extensions.js';
export default (domains, global) => { export default (domains, global) => {
const config = {}; const config = {};

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import { errorLogPathDisabled } from '../../util/logging'; import { errorLogPathDisabled } from '../../util/logging.js';
import sslProfiles from '../../util/ssl_profiles'; import sslProfiles from '../../util/ssl_profiles.js';
import websiteConf from './website.conf'; import websiteConf from './website.conf.js';
export default (domains, global) => { export default (domains, global) => {
const config = {}; const config = {};

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import commonHsts from '../../util/common_hsts'; import commonHsts from '../../util/common_hsts.js';
export default (domains, global) => { export default (domains, global) => {
const config = []; const config = [];

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,22 +24,22 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import { getSslCertificate, getSslCertificateKey } from '../../util/get_ssl_certificate'; import { getSslCertificate, getSslCertificateKey } from '../../util/get_ssl_certificate.js';
import { extensions, gzipTypes } from '../../util/types_extensions'; import { extensions, gzipTypes } from '../../util/types_extensions.js';
import { getDomainAccessLog, getDomainErrorLog } from '../../util/logging'; import { getDomainAccessLog, getDomainErrorLog } from '../../util/logging.js';
import commonHsts from '../../util/common_hsts'; import commonHsts from '../../util/common_hsts.js';
import securityConf from './security.conf'; import securityConf from './security.conf.js';
import pythonConf from './python_uwsgi.conf'; import pythonConf from './python_uwsgi.conf.js';
import proxyConf from './proxy.conf'; import proxyConf from './proxy.conf.js';
import phpConf from './php_fastcgi.conf'; import phpConf from './php_fastcgi.conf.js';
import generalConf from './general.conf'; import generalConf from './general.conf.js';
import wordPressConf from './wordpress.conf'; import wordPressConf from './wordpress.conf.js';
import drupalConf from './drupal.conf'; import drupalConf from './drupal.conf.js';
import magentoConf from './magento.conf'; import magentoConf from './magento.conf.js';
import joomlaConf from './joomla.conf'; import joomlaConf from './joomla.conf.js';
import letsEncryptConf from './letsencrypt.conf'; import letsEncryptConf from './letsencrypt.conf.js';
import phpPath from '../../util/php_path'; import phpPath from '../../util/php_path.js';
import phpUpstream from '../../util/php_upstream'; import phpUpstream from '../../util/php_upstream.js';
const sslConfig = (domain, global) => { const sslConfig = (domain, global) => {
const config = []; const config = [];

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import phpPath from '../../util/php_path'; import phpPath from '../../util/php_path.js';
import phpUpstream from '../../util/php_upstream'; import phpUpstream from '../../util/php_upstream.js';
export default (global, domain) => { export default (global, domain) => {
const config = {}; const config = {};

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,23 +24,23 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import toConf from './to_conf'; import toConf from './to_conf.js';
import toYaml from './to_yaml'; import toYaml from './to_yaml.js';
import nginxConf from './conf/nginx.conf'; import nginxConf from './conf/nginx.conf.js';
import websiteConf from './conf/website.conf'; import websiteConf from './conf/website.conf.js';
import letsEncryptConf from './conf/letsencrypt.conf'; import letsEncryptConf from './conf/letsencrypt.conf.js';
import securityConf from './conf/security.conf'; import securityConf from './conf/security.conf.js';
import generalConf from './conf/general.conf'; import generalConf from './conf/general.conf.js';
import phpConf from './conf/php_fastcgi.conf'; import phpConf from './conf/php_fastcgi.conf.js';
import pythonConf from './conf/python_uwsgi.conf'; import pythonConf from './conf/python_uwsgi.conf.js';
import proxyConf from './conf/proxy.conf'; import proxyConf from './conf/proxy.conf.js';
import wordPressConf from './conf/wordpress.conf'; import wordPressConf from './conf/wordpress.conf.js';
import drupalConf from './conf/drupal.conf'; import drupalConf from './conf/drupal.conf.js';
import magentoConf from './conf/magento.conf'; import magentoConf from './conf/magento.conf.js';
import joomlaConf from './conf/joomla.conf'; import joomlaConf from './conf/joomla.conf.js';
import dockerComposeYaml from './yaml/dockerCompose.yaml'; import dockerComposeYaml from './yaml/dockerCompose.yaml.js';
import dockerConf from './ext/docker'; import dockerConf from './ext/docker.js';
import shareQuery from '../util/share_query'; import shareQuery from '../util/share_query.js';
export default (domains, global) => { export default (domains, global) => {
const files = {}; const files = {};

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import isObject from '../util/is_object'; import isObject from '../util/is_object.js';
const isBlock = (item) => { const isBlock = (item) => {
// If an object, or kv entries, this is considered a block // If an object, or kv entries, this is considered a block

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from './common'; import common from './common.js';
import languages from './languages'; import languages from './languages.js';
import templates from './templates'; import templates from './templates/index.js';
export default { common, languages, templates }; export default { common, languages, templates };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../common'; import common from '../common.js';
export default { export default {
title: `${common.nginx}Config`, title: `${common.nginx}Config`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import droplet from './droplet'; import droplet from './droplet.js';
import contribute from './contribute'; import contribute from './contribute.js';
export default { droplet, contribute }; export default { droplet, contribute };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
enableEncryptedSslConnection: `${common.enable} verschlüsselte ${common.ssl} Verbindungen`, enableEncryptedSslConnection: `${common.enable} verschlüsselte ${common.ssl} Verbindungen`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import https from './https'; import https from './https.js';
import logging from './logging'; import logging from './logging.js';
import onion from './onion'; import onion from './onion.js';
import php from './php'; import php from './php.js';
import presets from './presets'; import presets from './presets.js';
import python from './python'; import python from './python.js';
import restrict from './restrict'; import restrict from './restrict.js';
import reverseProxy from './reverse_proxy'; import reverseProxy from './reverse_proxy.js';
import routing from './routing'; import routing from './routing.js';
import server from './server'; import server from './server.js';
export default { export default {
https, https,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
phpIsDisabled: `${common.php} ist deaktiviert.`, phpIsDisabled: `${common.php} ist deaktiviert.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
pythonIsDisabled: `${common.python} ist deaktiviert.`, pythonIsDisabled: `${common.python} ist deaktiviert.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
reverseProxyIsDisabled: `${common.reverseProxy} ist deaktiviert.`, reverseProxyIsDisabled: `${common.reverseProxy} ist deaktiviert.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
fallbackRouting: 'Fallback Routing', fallbackRouting: 'Fallback Routing',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const docker = 'Docker'; const docker = 'Docker';
const dockerfile = 'Dockerfile'; const dockerfile = 'Dockerfile';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const mozilla = 'Mozilla'; const mozilla = 'Mozilla';
const ipv4 = 'IPv4'; const ipv4 = 'IPv4';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import https from './https'; import https from './https.js';
import logging from './logging'; import logging from './logging.js';
import nginx from './nginx'; import nginx from './nginx.js';
import performance from './performance'; import performance from './performance.js';
import python from './python'; import python from './python.js';
import reverseProxy from './reverse_proxy'; import reverseProxy from './reverse_proxy.js';
import security from './security'; import security from './security.js';
import tools from './tools'; import tools from './tools.js';
import docker from './docker'; import docker from './docker.js';
export default { export default {
https, https,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
enableFileNotFoundErrorLogging: `${common.enable} "Seite nicht gefunden" Error Logging in`, enableFileNotFoundErrorLogging: `${common.enable} "Seite nicht gefunden" Error Logging in`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
nginxConfigDirectory: `${common.nginx} Konfigurationsverzeichnis`, nginxConfigDirectory: `${common.nginx} Konfigurationsverzeichnis`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
disableHtmlCaching: 'Disable HTML caching', // TODO: translate disableHtmlCaching: 'Disable HTML caching', // TODO: translate

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
pythonServer: `${common.python} Server`, pythonServer: `${common.python} Server`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const legacyXForwarded = 'Legacy X-Forwarded-* Header'; const legacyXForwarded = 'Legacy X-Forwarded-* Header';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Bei der Verwendung von ${common.wordPress} ist es oft nötig, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> in die Content Security Policy aufzunehmen, damit der Admin-Bereich korrekt funktioniert.`, whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Bei der Verwendung von ${common.wordPress} ist es oft nötig, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> in die Content Security Policy aufzunehmen, damit der Admin-Bereich korrekt funktioniert.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
modularizedStructure: 'Modularisierte Struktur', modularizedStructure: 'Modularisierte Struktur',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import app from './app'; import app from './app.js';
import setup from './setup'; import setup from './setup.js';
import footer from './footer'; import footer from './footer.js';
import domainSections from './domain_sections'; import domainSections from './domain_sections/index.js';
import globalSections from './global_sections'; import globalSections from './global_sections/index.js';
import setupSections from './setup_sections'; import setupSections from './setup_sections/index.js';
import callouts from './callouts'; import callouts from './callouts/index.js';
export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2023 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const certbot = 'Certbot'; const certbot = 'Certbot';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
downloadTheGeneratedConfig: 'Generierte Konfigurationsdateien <b>herunterladen</b>:', downloadTheGeneratedConfig: 'Generierte Konfigurationsdateien <b>herunterladen</b>:',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
letsGoLive: 'Jetzt gehts los!', letsGoLive: 'Jetzt gehts los!',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import certbot from './certbot'; import certbot from './certbot.js';
import download from './download'; import download from './download.js';
import goLive from './go_live'; import goLive from './go_live.js';
import ssl from './ssl'; import ssl from './ssl.js';
export default { certbot, download, goLive, ssl }; export default { certbot, download, goLive, ssl };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
generateDiffieHellmanKeysByRunningThisCommandOnYourServer: generateDiffieHellmanKeysByRunningThisCommandOnYourServer:

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from './common'; import common from './common.js';
import languages from './languages'; import languages from './languages.js';
import templates from './templates'; import templates from './templates/index.js';
export default { common, languages, templates }; export default { common, languages, templates };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../common'; import common from '../common.js';
export default { export default {
title: `${common.nginx}Config`, title: `${common.nginx}Config`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import droplet from './droplet'; import droplet from './droplet.js';
import contribute from './contribute'; import contribute from './contribute.js';
export default { droplet, contribute }; export default { droplet, contribute };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
enableEncryptedSslConnection: `${common.enable} encrypted ${common.ssl} connections`, enableEncryptedSslConnection: `${common.enable} encrypted ${common.ssl} connections`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import https from './https'; import https from './https.js';
import logging from './logging'; import logging from './logging.js';
import php from './php'; import php from './php.js';
import presets from './presets'; import presets from './presets.js';
import python from './python'; import python from './python.js';
import reverseProxy from './reverse_proxy'; import reverseProxy from './reverse_proxy.js';
import routing from './routing'; import routing from './routing.js';
import server from './server'; import server from './server.js';
import restrict from './restrict'; import restrict from './restrict.js';
import onion from './onion'; import onion from './onion.js';
export default { export default {
https, https,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
byDomain: 'by domain', byDomain: 'by domain',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
phpIsDisabled: `${common.php} is disabled.`, phpIsDisabled: `${common.php} is disabled.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
pythonIsDisabled: `${common.python} is disabled.`, pythonIsDisabled: `${common.python} is disabled.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
reverseProxyIsDisabled: `${common.reverseProxy} is disabled.`, reverseProxyIsDisabled: `${common.reverseProxy} is disabled.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
fallbackRouting: 'Fallback routing', fallbackRouting: 'Fallback routing',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const docker = 'Docker'; const docker = 'Docker';
const dockerfile = 'Dockerfile'; const dockerfile = 'Dockerfile';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const mozilla = 'Mozilla'; const mozilla = 'Mozilla';
const ipv4 = 'IPv4'; const ipv4 = 'IPv4';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import https from './https'; import https from './https.js';
import logging from './logging'; import logging from './logging.js';
import nginx from './nginx'; import nginx from './nginx.js';
import performance from './performance'; import performance from './performance.js';
import python from './python'; import python from './python.js';
import reverseProxy from './reverse_proxy'; import reverseProxy from './reverse_proxy.js';
import security from './security'; import security from './security.js';
import tools from './tools'; import tools from './tools.js';
import docker from './docker'; import docker from './docker.js';
export default { export default {
https, https,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
enableFileNotFoundErrorLogging: `${common.enable} file not found error logging in`, enableFileNotFoundErrorLogging: `${common.enable} file not found error logging in`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
nginxConfigDirectory: `${common.nginx} config directory`, nginxConfigDirectory: `${common.nginx} config directory`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
disableHtmlCaching: 'Disable HTML caching', disableHtmlCaching: 'Disable HTML caching',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
pythonServer: `${common.python} server`, pythonServer: `${common.python} server`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const legacyXForwarded = 'Legacy X-Forwarded-* headers'; const legacyXForwarded = 'Legacy X-Forwarded-* headers';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `When using ${common.wordPress}, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> is often required in the Content Security Policy to allow the admin panel to function correctly.`, whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `When using ${common.wordPress}, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> is often required in the Content Security Policy to allow the admin panel to function correctly.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
modularizedStructure: 'Modularized structure', modularizedStructure: 'Modularized structure',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import app from './app'; import app from './app.js';
import setup from './setup'; import setup from './setup.js';
import footer from './footer'; import footer from './footer.js';
import domainSections from './domain_sections'; import domainSections from './domain_sections/index.js';
import globalSections from './global_sections'; import globalSections from './global_sections/index.js';
import setupSections from './setup_sections'; import setupSections from './setup_sections/index.js';
import callouts from './callouts'; import callouts from './callouts/index.js';
export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2023 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const certbot = 'Certbot'; const certbot = 'Certbot';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
downloadTheGeneratedConfig: '<b>Download</b> the generated config:', downloadTheGeneratedConfig: '<b>Download</b> the generated config:',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
letsGoLive: "Let's go live!", letsGoLive: "Let's go live!",

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import certbot from './certbot'; import certbot from './certbot.js';
import download from './download'; import download from './download.js';
import goLive from './go_live'; import goLive from './go_live.js';
import ssl from './ssl'; import ssl from './ssl.js';
export default { certbot, download, goLive, ssl }; export default { certbot, download, goLive, ssl };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2020 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
generateDiffieHellmanKeysByRunningThisCommandOnYourServer: generateDiffieHellmanKeysByRunningThisCommandOnYourServer:

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from './common'; import common from './common.js';
import languages from './languages'; import languages from './languages.js';
import templates from './templates'; import templates from './templates/index.js';
export default { common, languages, templates }; export default { common, languages, templates };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../common'; import common from '../common.js';
export default { export default {
title: `${common.nginx}Config`, title: `${common.nginx}Config`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import droplet from './droplet'; import droplet from './droplet.js';
import contribute from './contribute'; import contribute from './contribute.js';
export default { droplet, contribute }; export default { droplet, contribute };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
enableEncryptedSslConnection: `${common.enable} conexiones ${common.ssl} encriptadas`, enableEncryptedSslConnection: `${common.enable} conexiones ${common.ssl} encriptadas`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import https from './https'; import https from './https.js';
import logging from './logging'; import logging from './logging.js';
import php from './php'; import php from './php.js';
import presets from './presets'; import presets from './presets.js';
import python from './python'; import python from './python.js';
import reverseProxy from './reverse_proxy'; import reverseProxy from './reverse_proxy.js';
import routing from './routing'; import routing from './routing.js';
import server from './server'; import server from './server.js';
import restrict from './restrict'; import restrict from './restrict.js';
import onion from './onion'; import onion from './onion.js';
export default { export default {
https, https,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
byDomain: 'por dominio', byDomain: 'por dominio',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
phpIsDisabled: `${common.php} esta desactivado.`, phpIsDisabled: `${common.php} esta desactivado.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
pythonIsDisabled: `${common.python} esta desactivado.`, pythonIsDisabled: `${common.python} esta desactivado.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
reverseProxyIsDisabled: `${common.reverseProxy} esta desactivado.`, reverseProxyIsDisabled: `${common.reverseProxy} esta desactivado.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
fallbackRouting: 'Enrutamiento alternativo', fallbackRouting: 'Enrutamiento alternativo',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const docker = 'Docker'; const docker = 'Docker';
const dockerfile = 'Dockerfile'; const dockerfile = 'Dockerfile';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const mozilla = 'Mozilla'; const mozilla = 'Mozilla';
const ipv4 = 'IPv4'; const ipv4 = 'IPv4';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import https from './https'; import https from './https.js';
import logging from './logging'; import logging from './logging.js';
import nginx from './nginx'; import nginx from './nginx.js';
import performance from './performance'; import performance from './performance.js';
import python from './python'; import python from './python.js';
import reverseProxy from './reverse_proxy'; import reverseProxy from './reverse_proxy.js';
import security from './security'; import security from './security.js';
import tools from './tools'; import tools from './tools.js';
import docker from './docker'; import docker from './docker.js';
export default { export default {
https, https,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
enableFileNotFoundErrorLogging: `${common.enable} el registro de error de archivo no encontrado`, enableFileNotFoundErrorLogging: `${common.enable} el registro de error de archivo no encontrado`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
nginxConfigDirectory: `Directorio de configuración de ${common.nginx}`, nginxConfigDirectory: `Directorio de configuración de ${common.nginx}`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2022 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
disableHtmlCaching: 'Disable HTML caching', // TODO: translate disableHtmlCaching: 'Disable HTML caching', // TODO: translate

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
pythonServer: `Servidor ${common.python}`, pythonServer: `Servidor ${common.python}`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const legacyXForwarded = 'Cabeceras X-Forwarded-* Legacy'; const legacyXForwarded = 'Cabeceras X-Forwarded-* Legacy';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Cuando usan ${common.wordPress}, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> es usualmente requerido en el Content Security Policy para permitir que el panel de administrador funcione correctamente.`, whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Cuando usan ${common.wordPress}, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> es usualmente requerido en el Content Security Policy para permitir que el panel de administrador funcione correctamente.`,

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
modularizedStructure: 'Estructura modularizada', modularizedStructure: 'Estructura modularizada',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import app from './app'; import app from './app.js';
import setup from './setup'; import setup from './setup.js';
import footer from './footer'; import footer from './footer.js';
import domainSections from './domain_sections'; import domainSections from './domain_sections/index.js';
import globalSections from './global_sections'; import globalSections from './global_sections/index.js';
import setupSections from './setup_sections'; import setupSections from './setup_sections/index.js';
import callouts from './callouts'; import callouts from './callouts/index.js';
export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; export default { app, setup, footer, domainSections, globalSections, setupSections, callouts };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2023 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const certbot = 'Certbot'; const certbot = 'Certbot';

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
// Here is a HACK, because the real traslation is: "y subirla en la carpeta '/etc/nginx' de tu servidor. " // Here is a HACK, because the real traslation is: "y subirla en la carpeta '/etc/nginx' de tu servidor. "
// but the HTML order of the templates are wrong: "y subirla en el servidor '/etc/nginx' carpeta." // but the HTML order of the templates are wrong: "y subirla en el servidor '/etc/nginx' carpeta."

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
letsGoLive: '¡Vamos a desplegar!', letsGoLive: '¡Vamos a desplegar!',

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import certbot from './certbot'; import certbot from './certbot.js';
import download from './download'; import download from './download.js';
import goLive from './go_live'; import goLive from './go_live.js';
import ssl from './ssl'; import ssl from './ssl.js';
export default { certbot, download, goLive, ssl }; export default { certbot, download, goLive, ssl };

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2021 DigitalOcean Copyright 2024 DigitalOcean
This code is licensed under the MIT License. This code is licensed under the MIT License.
You may obtain a copy of the License at You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
generateDiffieHellmanKeysByRunningThisCommandOnYourServer: generateDiffieHellmanKeysByRunningThisCommandOnYourServer:

View File

@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from './common'; import common from './common.js';
import languages from './languages'; import languages from './languages.js';
import templates from './templates'; import templates from './templates/index.js';
export default { common, languages, templates }; export default { common, languages, templates };

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../common'; import common from '../common.js';
export default { export default {
title: `${common.nginx}پیکربندی`, title: `${common.nginx}پیکربندی`,

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import droplet from './droplet'; import droplet from './droplet.js';
import contribute from './contribute'; import contribute from './contribute.js';
export default { droplet, contribute }; export default { droplet, contribute };

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
enableEncryptedSslConnection: `${common.enable} ${common.ssl} اتصال‌های رمزگذاری شده`, enableEncryptedSslConnection: `${common.enable} ${common.ssl} اتصال‌های رمزگذاری شده`,

View File

@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import https from './https'; import https from './https.js';
import logging from './logging'; import logging from './logging.js';
import php from './php'; import php from './php.js';
import presets from './presets'; import presets from './presets.js';
import python from './python'; import python from './python.js';
import reverseProxy from './reverse_proxy'; import reverseProxy from './reverse_proxy.js';
import routing from './routing'; import routing from './routing.js';
import server from './server'; import server from './server.js';
import restrict from './restrict'; import restrict from './restrict.js';
import onion from './onion'; import onion from './onion.js';
export default { export default {
https, https,

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
byDomain: 'به وسیلهٔ دامنه', byDomain: 'به وسیلهٔ دامنه',

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
phpIsDisabled: `${common.php} غیرفعال است.`, phpIsDisabled: `${common.php} غیرفعال است.`,

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
pythonIsDisabled: `${common.python} غیرفعال است.`, pythonIsDisabled: `${common.python} غیرفعال است.`,

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
reverseProxyIsDisabled: `${common.reverseProxy} غیرفعال است.`, reverseProxyIsDisabled: `${common.reverseProxy} غیرفعال است.`,

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
export default { export default {
fallbackRouting: 'مسیریابی پشتیبانی شده', fallbackRouting: 'مسیریابی پشتیبانی شده',

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const docker = 'Docker'; const docker = 'Docker';
const dockerfile = 'Dockerfile'; const dockerfile = 'Dockerfile';

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
import common from '../../common'; import common from '../../common.js';
const mozilla = 'Mozilla'; const mozilla = 'Mozilla';
const ipv4 = 'IPv4'; const ipv4 = 'IPv4';

Some files were not shown because too many files have changed in this diff Show More