diff --git a/_regroup/bin/watch-dist.ts b/_regroup/bin/watch-dist.ts deleted file mode 100644 index 8c76034af..000000000 --- a/_regroup/bin/watch-dist.ts +++ /dev/null @@ -1,16 +0,0 @@ -import chokidar from "chokidar"; -import fs from "fs"; -import path from "path"; - -const emptyCallback = () => {}; - -function onFileChanged(sourceFile: string) { - const destFile = path.join("dist", sourceFile); - console.log(`${sourceFile} -> ${destFile}`); - fs.copyFile(sourceFile, destFile, emptyCallback); -} - -const sourceDir = "src/public"; - -chokidar.watch(sourceDir).on("change", onFileChanged); -console.log(`Watching for changes to ${sourceDir}...`); diff --git a/_regroup/data-docs/config.ini b/_regroup/data-docs/config.ini deleted file mode 100644 index 53fd67737..000000000 --- a/_regroup/data-docs/config.ini +++ /dev/null @@ -1,42 +0,0 @@ -[General] -# Instance name can be used to distinguish between different instances using backend api.getInstanceName() -instanceName= - -# set to true to allow using Trilium without authentication (makes sense for server build only, desktop build doesn't need password) -noAuthentication=false - -# set to true to disable backups (e.g. because of limited space on server) -noBackup=false - -# Disable automatically generating desktop icon -# noDesktopIcon=true - -[Network] -# host setting is relevant only for web deployments - set the host on which the server will listen -# host=0.0.0.0 -# port setting is relevant only for web deployments, desktop builds run on a fixed port (changeable with TRILIUM_PORT environment variable) -port=8080 -# true for TLS/SSL/HTTPS (secure), false for HTTP (insecure). -https=false -# path to certificate (run "bash bin/generate-cert.sh" to generate self-signed certificate). Relevant only if https=true -certPath= -keyPath= -# setting to give trust to reverse proxies, a comma-separated list of trusted rev. proxy IPs can be specified (CIDR notation is permitted), -# alternatively 'true' will make use of the leftmost IP in X-Forwarded-For, ultimately an integer can be used to tell about the number of hops between -# Trilium (which is hop 0) and the first trusted rev. proxy. -# once set, expressjs will use the X-Forwarded-For header set by the rev. proxy to determinate the real IPs of clients. -# expressjs shortcuts are supported: loopback(127.0.0.1/8, ::1/128), linklocal(169.254.0.0/16, fe80::/10), uniquelocal(10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7) -trustedReverseProxy=false - - -[Session] -# Use this setting to set a custom value for the "Max-Age" Attribute of the session cookie. -# This controls how long your session will be valid, before it expires and you need to log in again, when you use the "Remember Me" option. -# Value needs to be entered in Seconds. -# Default value is 1814400 Seconds, which is 21 Days. -cookieMaxAge=1814400 - -[Sync] -#syncServerHost= -#syncServerTimeout= -#syncServerProxy= \ No newline at end of file diff --git a/_regroup/etc/reddit/icon.png b/_regroup/etc/reddit/icon.png deleted file mode 100644 index 8a8def4b4..000000000 Binary files a/_regroup/etc/reddit/icon.png and /dev/null differ diff --git a/_regroup/tsconfig.json b/_regroup/tsconfig.json deleted file mode 100644 index a61b9b432..000000000 --- a/_regroup/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "declaration": false, - "sourceMap": true, - }, - "include": ["./src/**/*.js", , "./*.ts", "./*.js", "./spec/**/*.ts"], - "exclude": ["./node_modules/**/*", "./spec-es6/**/*.ts"], - "files": [ "src/public/app/types.d.ts"] -}