Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0 super overhaul #62

Open
wants to merge 63 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
83431c9
Refactor: Code rewrites (#1)
matthe815 Jul 12, 2023
c791a55
Refactor: Code optimization Optimization (#2)
matthe815 Jul 12, 2023
ef86487
Revert "Refactor: Code optimization Optimization (#2)" (#3)
matthe815 Jul 12, 2023
f5c82ed
Refactor: Code Optimization (#4)
matthe815 Jul 12, 2023
ec3271b
Feature: Playtime logging (#5)
matthe815 Jul 19, 2023
3263524
ui: Rebranded the website (#6)
matthe815 Jul 19, 2023
4b6de31
Feature: Workers (#7)
matthe815 Sep 10, 2023
c536558
env: add env template
matthe815 Sep 10, 2023
6e7d3bf
gitignore: Update gitignroe
matthe815 Sep 10, 2023
49cf06d
Delete .env
matthe815 Sep 10, 2023
2efa129
Rebrand: Changed all previously unremoved logos and branding (#8)
matthe815 Sep 10, 2023
e0e44e0
Feature: Moderation (#9)
matthe815 Sep 10, 2023
411c6ff
Feature: Full-Site Multilanguage support (#13)
matthe815 Sep 13, 2023
9b44385
Refactor: SQL optimization (#15)
matthe815 Sep 13, 2023
e6f283e
Feature: Game Leaderboards (#17)
matthe815 Sep 13, 2023
4f3c92d
Update credits.jsx
matthe815 Dec 31, 2023
e5fc0bf
readd 3ds/switch support
matthe815 Jan 1, 2024
1dd7649
RiiTag Re-Migration Start
bendevnull Jan 19, 2024
e50c9b5
Dammit Jerry...
bendevnull Jan 19, 2024
36562b1
fix: Quick fixes
matthe815 Jan 19, 2024
7718b23
fix: Remaining fixes
matthe815 Jan 19, 2024
7cfc4c1
fix: Fix write stream
matthe815 Jan 24, 2024
306f141
fix?
matthe815 Jan 24, 2024
7651ef8
fix: Fix hydration error
matthe815 Jan 24, 2024
dcd439c
fix: Fix??
matthe815 Jan 24, 2024
6a4c2e0
data: Fix the changed data
matthe815 Jan 24, 2024
ae7f8ef
fix: Many fixes
matthe815 Jan 27, 2024
709892d
fix: Fix remaining security vulns
matthe815 Jan 27, 2024
670d34a
data: Readd the missing resources
matthe815 Jan 28, 2024
92e5a2a
fix: Don't display null on friend code
matthe815 Jan 28, 2024
b684746
fix: Fix bug where invalid users are enumerated
matthe815 Jan 28, 2024
1cca8e8
fix: Fix typo in English
matthe815 Jan 28, 2024
da1a810
fix: Consider host language on home page
matthe815 Jan 28, 2024
d6c7a3a
postgres migration & branding fix
matthe815 Jul 29, 2024
49fe131
migrations: Add postgres fixes
matthe815 Jul 29, 2024
f2ad748
fix: Fix rebranding
matthe815 Jul 29, 2024
452d4cf
fix: more fixes
matthe815 Jul 29, 2024
d1aa8ba
fix: Add US region
matthe815 Jul 29, 2024
4bbf8b0
fix: Deduplicate the playlog
matthe815 Jul 29, 2024
c13cfb8
fix: Misspelled column name
matthe815 Jul 29, 2024
7e664c0
fix: Use new tag
matthe815 Jul 29, 2024
c5462c8
fix: fix for the fix
matthe815 Jul 29, 2024
eca84e9
fix: Distinct the leaderboard
matthe815 Jul 29, 2024
73eeac4
fix complicated unfathomable error
matthe815 Jul 29, 2024
6cf5b4f
oops
matthe815 Jul 29, 2024
20398bc
damn
matthe815 Jul 29, 2024
9badf5b
fix: Cache issue
matthe815 Jul 29, 2024
b1444e3
fix: add missing overlays
matthe815 Jul 29, 2024
01d8820
Fix tag image and temp disable mii rendering
bendevnull Jul 30, 2024
ec01f6b
fix: Fix massive memory leak with rendering
matthe815 Jul 30, 2024
55937e0
Merge branch 'master' of https://github.com/matthe815/RiiTag-Next
matthe815 Jul 30, 2024
1b1791a
fix: Default to max images
matthe815 Jul 30, 2024
221a444
Update README.md
matthe815 Jul 30, 2024
90fc011
optimize: Attempting to optimize image renderer
matthe815 Jul 30, 2024
120e18d
fix: oops bad code
matthe815 Jul 30, 2024
d1e484e
fix: Moderation actions
matthe815 Jul 30, 2024
7e80edc
fix: Comment section
matthe815 Jul 30, 2024
a622762
oops all alpha
matthe815 Jul 30, 2024
f3ff27e
readme: Fix readme credit (#1)
NecroNovaVGitHub Jul 30, 2024
3b93bc6
branding: Update LinkTag Logo (#2)
NecroNovaVGitHub Jul 30, 2024
1edd4a4
fix: Broken check boxes
matthe815 Jul 30, 2024
e6f3e94
fix: Readd credit that was accidentally removed (#3)
larsenv Jul 31, 2024
2cd4b11
readme: Update
matthe815 Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
NEXT_PUBLIC_BASE_URL=http://localhost:3000
NEXT_PUBLIC_LOGGING_LEVEL=debug
NEXT_PUBLIC_STAGING=true
NEXT_PUBLIC_BASE_URL=http://localhost:3000
NEXT_PUBLIC_LOGGING_LEVEL=debug
NEXT_PUBLIC_STAGING=true
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LOGGING_LEVEL=info
LOGGING_LEVEL=info
File renamed without changes.
98 changes: 23 additions & 75 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,79 +1,27 @@
{
"extends": [
"next/core-web-vitals",
"airbnb",
"airbnb/hooks",
"plugin:unicorn/recommended",
"prettier"
],
"plugins": ["unicorn"],
"env": {
"browser": true,
"es6": true,
"node": true
},
"settings": {
"import/resolver": {
"alias": {
"extensions": [".ts", ".js", ".jsx", ".json"],
"map": [
["@", "./src"],
["components", "./components"],
["lib", "./lib"],
["styles", "./styles"]
]
}
}
},
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"reportUnusedDisableDirectives": true,
"rules": {
"@next/next/no-img-element": "off",
"camelcase": "off",
"no-restricted-syntax": "off",
"jsx-a11y/anchor-is-valid": "off",
"import/prefer-default-export": "off",
"react/react-in-jsx-scope": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": [
"error",
{
"allowTernary": true
}
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"plugin:react/recommended",
"standard"
],
"react/no-array-index-key": "off",
"react/jsx-props-no-spreading": [
"error",
{
"html": "ignore",
"exceptions": ["Component"]
}
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"globals": {
"NodeJS": true
},
"plugins": [
"react"
],
"react/prop-types": "error",
"react/forbid-prop-types": "off",
"unicorn/filename-case": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-null": "off",
"unicorn/no-useless-promise-resolve-reject": "off",
"unicorn/prefer-json-parse-buffer": "off",
"unicorn/prevent-abbreviations": [
"error",
{
"allowList": {
"getServerSideProps": true,
"getStaticProps": true,
"getStaticPaths": true
}
}
]
}
"rules": {
}
}
68 changes: 34 additions & 34 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
name: Lint

on:
- push
- pull_request
- workflow_dispatch

jobs:
build:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Checkout
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint
name: Lint
on:
- push
- pull_request
- workflow_dispatch
jobs:
build:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "16"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
81 changes: 42 additions & 39 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,39 +1,42 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

# IDE
.idea
.vscode/Contributor.code-snippets
.vscode/settings.json
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

.env

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*


# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

# IDE
.idea
.vscode/Contributor.code-snippets
.vscode/settings.json
80 changes: 40 additions & 40 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

# IDE
.idea

# Prettierignore-specific
data
package-lock.json
.vscode
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
# vercel
.vercel
# IDE
.idea
# Prettierignore-specific
data
package-lock.json
.vscode
22 changes: 11 additions & 11 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"quoteProps": "consistent",
"overrides": [
{
"files": ["*.js", "*.jsx"],
"options": {
"singleQuote": true
}
}
]
}
{
"quoteProps": "consistent",
"overrides": [
{
"files": ["*.js", "*.jsx"],
"options": {
"singleQuote": true
}
}
]
}
Loading