Skip to content

Commit c327da7

Browse files
authored
Merge branch 'master' into comfy
2 parents b1bbc71 + d366857 commit c327da7

File tree

12 files changed

+25
-129
lines changed

12 files changed

+25
-129
lines changed

.c8rc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"core/base-service/loader-test-fixtures",
2020
"scripts",
2121
"coverage",
22-
"build",
2322
".github",
2423
"**/public/",
2524
"cypress",

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
node_modules/
2-
shields.env
32
.git/
43
.gitignore
54
.github
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "docusaurus-swizzled-warning",
3-
"version": "0.0.0",
4-
"description": "",
5-
"main": "index.js",
6-
"private": true,
7-
"scripts": {
8-
"test": "echo \"Error: no test specified\" && exit 1"
9-
},
10-
"author": "jNullj",
11-
"license": "CC0",
12-
"dependencies": {
13-
"@actions/core": "^1.11.1",
14-
"@actions/github": "^6.0.1"
15-
}
2+
"name": "docusaurus-swizzled-warning",
3+
"version": "0.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"private": true,
7+
"scripts": {
8+
"test": "echo \"Error: no test specified\" && exit 1"
9+
},
10+
"author": "jNullj",
11+
"license": "CC0",
12+
"dependencies": {
13+
"@actions/core": "^1.11.1",
14+
"@actions/github": "^6.0.1"
15+
}
1616
}

.gitignore

Lines changed: 5 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-
# Project-specific files
2-
/Verdana.ttf
3-
/analytics.json
4-
/coverage.html
5-
/redis
6-
/ServerScript
7-
/private
8-
/index.html
9-
/shields.env
10-
badge-maker/package-lock.json
11-
121
# Folder view configuration files
132
.DS_Store
143
Desktop.ini
154

16-
# Thumbnail cache files
17-
._*
18-
Thumbs.db
19-
205
# Visual Studio Code User Settings
216
.vscode/settings.json
227
*.code-workspace
@@ -32,64 +17,20 @@ Thumbs.db
3217
# Jetbrains
3318
/.idea
3419

35-
# Created by https://www.gitignore.io/api/node
36-
37-
### Node ###
38-
# Logs
39-
logs
40-
*.log
41-
42-
# Runtime data
43-
pids
44-
*.pid
45-
*.seed
46-
*.pid.lock
47-
48-
# Directory for instrumented libs generated by jscoverage/JSCover
49-
lib-cov
50-
5120
# Coverage directory used by tools like istanbul
5221
coverage
5322

54-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
55-
.grunt
56-
57-
# Bower dependency directory (https://bower.io/)
58-
bower_components
59-
60-
# node-waf configuration
61-
.lock-wscript
62-
63-
# Compiled binary addons (http://nodejs.org/api/addons.html)
64-
build/Release
65-
6623
# Dependency directories
6724
node_modules/
68-
jspm_packages/
69-
70-
# Typescript v1 declaration files
71-
typings/
72-
73-
# Optional npm cache directory
74-
.npm
75-
76-
# Optional eslint cache
77-
.eslintcache
7825

79-
# Optional REPL history
80-
.node_repl_history
81-
82-
# Output of 'npm pack'
83-
*.tgz
84-
85-
# Yarn Integrity file
86-
.yarn-integrity
26+
# Node logs produced by profiling
27+
logs
28+
*.log
8729

88-
# dotenv environment variables file
89-
.env
30+
# Lock file for badge-maker
31+
badge-maker/package-lock.json
9032

9133
# Temporary build artifacts.
92-
/build
9334
frontend/categories/*.yaml
9435

9536
# Local runtime configuration.

.prettierignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
package.json
21
package-lock.json
32
/__snapshots__
4-
/.next
5-
.cache
63
/api-docs
7-
/build
84
public
95
/coverage
10-
private/*.json
11-
/.nyc_output
12-
analytics.json
136
frontend/.docusaurus
147
frontend/categories

config/custom-environment-variables.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ private:
101101
npm_token: 'NPM_TOKEN'
102102
obs_user: 'OBS_USER'
103103
obs_pass: 'OBS_PASS'
104-
redis_url: 'REDIS_URL'
105104
opencollective_token: 'OPENCOLLECTIVE_TOKEN'
106105
pepy_key: 'PEPY_KEY'
107106
postgres_url: 'POSTGRES_URL'

core/server/server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ const privateConfigSchema = Joi.object({
193193
npm_token: Joi.string(),
194194
obs_user: Joi.string(),
195195
obs_pass: Joi.string(),
196-
redis_url: Joi.string().uri({ scheme: ['redis', 'rediss'] }),
197196
opencollective_token: Joi.string(),
198197
pepy_key: Joi.string(),
199198
postgres_url: Joi.string().uri({ scheme: 'postgresql' }),

jsdoc.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
{
22
"source": {
3-
"exclude": [
4-
"__snapshots__",
5-
"build",
6-
"coverage",
7-
"logo",
8-
"node_modules",
9-
"private",
10-
"public"
11-
],
3+
"exclude": ["__snapshots__", "coverage", "node_modules", "public"],
124
"excludePattern": ".+\\.(service|spec|tester)\\.js$"
135
},
146
"plugins": ["plugins/markdown"],

server.js

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import fs from 'fs'
2-
import path from 'path'
3-
import { fileURLToPath } from 'url'
41
import configModule from 'config'
52
import * as Sentry from '@sentry/node'
63
import Server from './core/server/server.js'
@@ -16,7 +13,7 @@ Sentry.init({
1613
)
1714
if (filtered.length !== integrations.length - disabledIntegrations.length) {
1815
throw Error(
19-
`An error occurred while filtering integrations. The following inetgrations were found: ${integrations.map(
16+
`An error occurred while filtering integrations. The following integrations were found: ${integrations.map(
2017
({ name }) => name,
2118
)}`,
2219
)
@@ -35,31 +32,6 @@ if (process.argv[3]) {
3532
console.log('Configuration:')
3633
console.dir(config.public, { depth: null })
3734

38-
if (fs.existsSync('.env')) {
39-
console.error(
40-
'Legacy .env file found. It should be deleted and replaced with environment variables or config/local.yml',
41-
)
42-
process.exit(1)
43-
}
44-
45-
if (config.private.redis_url != null) {
46-
console.error(
47-
'RedisTokenPersistence has been removed. Migrate to SqlTokenPersistence',
48-
)
49-
process.exit(1)
50-
}
51-
52-
const legacySecretsPath = path.join(
53-
path.dirname(fileURLToPath(import.meta.url)),
54-
'private',
55-
'secret.json',
56-
)
57-
if (fs.existsSync(legacySecretsPath)) {
58-
console.error(
59-
`Legacy secrets file found at ${legacySecretsPath}. It should be deleted and secrets replaced with environment variables or config/local.yml`,
60-
)
61-
process.exit(1)
62-
}
6335
export const server = new Server(config)
6436

6537
process.on('SIGTERM', async () => {

services/greasyfork/greasyfork-downloads.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default class GreasyForkInstalls extends BaseGreasyForkService {
1919
},
2020
{
2121
name: 'scriptId',
22-
example: '407466',
22+
example: '545651',
2323
},
2424
),
2525
},

0 commit comments

Comments
 (0)