Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
980d64e
extract tag replacing logic
cubeghost Dec 29, 2021
7beccf0
use Tags in tumblr client
cubeghost Dec 30, 2021
46d4676
refactor tumblr client to use event emitters
cubeghost Dec 30, 2021
cf63ba5
websockets, bullmq setup
cubeghost Dec 31, 2021
74726f2
move find pagination to workers
cubeghost Jan 1, 2022
e7956dc
update some packages, start converting to hooks
cubeghost Jan 1, 2022
d41c4b1
more hooks
cubeghost Jan 1, 2022
974259f
more components with hooks
cubeghost Jan 1, 2022
45aafcd
convert replacer to hooks
cubeghost Jan 2, 2022
bd3c099
more hooks
cubeghost Jan 2, 2022
ec1f364
redux toolkit, the end of class components
cubeghost Jan 2, 2022
707923d
redux toolkit
cubeghost Jan 2, 2022
bed32ed
socket middleware
cubeghost Jan 2, 2022
32484f9
async thunk find, add job from /api/find,
cubeghost Jan 4, 2022
3dfea2e
map queue messages to redux actions, handle find results
cubeghost Jan 9, 2022
7720de1
use ioredis connection
cubeghost Jan 10, 2022
ce58ea2
cache blogs and username on session
cubeghost Jan 11, 2022
089529d
replace worker
cubeghost Jan 14, 2022
0681201
single tumblr queue for rate limiting reasons, start handling replace
cubeghost Jan 21, 2022
03ef1f2
refactor results to filter posts
cubeghost Jan 21, 2022
08bee34
replace endpoint
cubeghost Jan 21, 2022
32ee981
move a lot of files around
cubeghost Jan 22, 2022
b4603d2
watch commands for worker, scheduler
cubeghost Jan 22, 2022
a6882b3
Merge branch 'main' into workers
cubeghost Jan 22, 2022
615b01a
upgrade bullmq, remove scheduler, do replace with 1 api call
cubeghost Jul 11, 2023
5b2c425
some upgrades
cubeghost Jul 11, 2023
0bbaf02
upgrades etc
cubeghost Jul 12, 2023
d46db60
newish ui
cubeghost Jul 13, 2023
42ac2bb
assorted cleanup
cubeghost Jul 13, 2023
0757809
post previews
cubeghost Jul 15, 2023
28ead91
checkmark, post border
cubeghost Jul 15, 2023
32e7afc
"steps", fix some stuff
cubeghost Jul 23, 2023
300f968
bull-board debug package, fix some bugs, discover others, counts
cubeghost Jul 25, 2023
d615c01
move from options to methods
cubeghost Aug 7, 2023
99783a9
use tumblr.js@4.0.1
cubeghost Oct 4, 2023
f6844ec
clear posts when doing new find, button styles
cubeghost Oct 4, 2023
c4c4057
node version
cubeghost Oct 4, 2023
d856c3e
post state emoji, find fix
cubeghost Jan 31, 2024
1eb4124
whitespace
cubeghost Feb 18, 2024
7012020
id string
cubeghost Feb 18, 2024
309d065
node 18
cubeghost Feb 20, 2024
cbfa0d0
webpack 5, esbuild, small tweaks
cubeghost Feb 20, 2024
90baddc
disable css modules
cubeghost Feb 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
module.exports = {
root: true,
parser: '@babel/eslint-parser',
plugins: ['jsx-a11y', 'react', 'react-hooks'],
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:jsx-a11y/recommended',
],

env: {
browser: true,
commonjs: true,
es6: true,
node: true,
},

parserOptions: {
ecmaVersion: 8,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
generators: true,
experimentalObjectRestSpread: true,
},
},

settings: {
'import/ignore': ['node_modules', '\\.(json|css|jpg|png|gif|eot|svg|ttf|woff|woff2|mp4|webm)$'],
'import/extensions': ['.js'],
'import/resolver': {
node: {
extensions: ['.js', '.json'],
},
},
},

rules: {
'react/no-multi-comp': 1,
'jsx-a11y/label-has-for': [2, {
required: {
some: ['nesting', 'id'],
},
}]
}
};
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
4 changes: 3 additions & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
web: npm start
web: yarn start
worker: yarn start:worker
scheduler: yarn start:scheduler
163 changes: 0 additions & 163 deletions eslint.js

This file was deleted.

91 changes: 51 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,92 +11,103 @@
"license": "SEE LICENSE IN LICENSE.md",
"scripts": {
"watch": "npm-run-all --parallel watch:*",
"watch:server": "nodemon --watch src ./src/index.js",
"watch:client": "webpack --watch",
"watch:server": "nodemon --watch src ./src/index.js",
"watch:worker": "nodemon --watch src ./src/workers/index.js",
"build": "webpack",
"start": "node src/index.js",
"start:worker": "node src/workers/index.js",
"test": "mocha \"./src/**/tests/*.js\"",
"watch:test": "mocha --watch --recursive \"./src/**/tests/*.js\""
},
"engines": {
"node": "14.x"
"node": "18.x"
},
"dependencies": {
"@babel/runtime": "^7.7.4",
"@babel/runtime": "^7.22.6",
"@sentry/node": "^6.11.0",
"@sentry/tracing": "^6.11.0",
"body-parser": "^1.19.0",
"bullmq": "^2.4.0",
"connect-redis": "^3.4.2",
"debug": "^3.2.6",
"debug": "^4.3.3",
"envify": "^4.1.0",
"es6-promise": "^3.2.1",
"express": "^4.17.1",
"express-async-handler": "^1.2.0",
"express-session": "^1.17.0",
"grant-express": "^4.6.4",
"helmet": "^3.21.2",
"history": "^4.10.1",
"is-docker": "^2.0.0",
"lodash": "^4.17.15",
"pixelarticons": "^1.7.0",
"raven-js": "3.26.3",
"react-markdown": "^2.5.0",
"redis": "^2.8.0",
"sass": "^1.38.0",
"serialize-javascript": "^6.0.0",
"stringify": "^5.1.0",
"tumblr.js": "https://github.com/cubeghost/tumblr.js",
"winston": "^3.2.1"
"tumblr.js": "4.0.1",
"uuid": "^8.3.2",
"winston": "^3.2.1",
"ws": "^8.4.0"
},
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"@babel/core": "^7.22.8",
"@babel/eslint-parser": "^7.22.7",
"@babel/plugin-transform-runtime": "^7.22.7",
"@babel/preset-env": "^7.22.7",
"@babel/preset-react": "^7.22.5",
"@bull-board/express": "3.11.1",
"@react-spring/web": "9.6.x",
"@reduxjs/toolkit": "^1.9.5",
"autoprefixer": "9.0.0",
"babel-eslint": "8.2.6",
"babel-loader": "^8.0.6",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.x",
"babel-plugin-transform-runtime": "^6.23.0",
"case-sensitive-paths-webpack-plugin": "2.1.2",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"chai": "^4.2.0",
"class-autobind": "^0.1.4",
"classnames": "^2.2.6",
"clean-webpack-plugin": "^0.1.19",
"css-loader": "1.0.0",
"clsx": "^1.1.1",
"css-loader": "^6.10.0",
"dotenv": "^2.0.0",
"eslint": "^5.16.0",
"esbuild-loader": "^4.0.3",
"eslint": "^8.44.0",
"eslint-formatter-pretty": "1.3.0",
"eslint-loader": "2.0.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "7.10.0",
"file-loader": "^1.1.11",
"find-cache-dir": "^2.1.0",
"friendly-errors-webpack-plugin": "1.7.0",
"html-webpack-plugin": "3.2.0",
"mini-css-extract-plugin": "0.4.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-webpack-plugin": "^4.0.1",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.8.0",
"mocha": "^5.2.0",
"nodemon": "^1.19.4",
"npm-run-all": "^4.1.5",
"postcss-loader": "2.1.6",
"postcss-loader": "^8.1.0",
"prelude-extension": "^0.1.0",
"prelude-ls": "^1.1.2",
"raw-loader": "^0.5.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-redux": "^5.1.2",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-select": "^2.4.4",
"redux": "^3.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^7",
"react-router": "^5",
"react-router-dom": "^5",
"react-select": "^5.7.3",
"redux": "^4",
"redux-thunk": "^2.3.0",
"sass-loader": "7.3.1",
"simple-progress-webpack-plugin": "1.1.2",
"sass-loader": "^14.1.1",
"simple-progress-webpack-plugin": "^2.0.0",
"style-loader": "0.21.0",
"terser-webpack-plugin": "4",
"tether": "^1.4.7",
"uglifyjs-webpack-plugin": "1.2.7",
"webpack": "4",
"webpack-cli": "3.1.0",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4",
"whatwg-fetch": "^1.0.0"
},
"eslintConfig": {
"extends": "./eslint.js"
},
"optionalDependencies": {
"bufferutil": "^4.0.5"
}
}
}
Loading