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

Replace Alt.js with Redux and upgrade react-scripts #112

Merged
merged 56 commits into from
Jan 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
caa5800
naive implementation of slices matching existing stores and actions
dlajarretie Oct 19, 2021
e032539
delete alt stores and actions
dlajarretie Oct 19, 2021
28b1ece
refacto App.js to use redux instead of alt
dlajarretie Oct 19, 2021
fef42a4
refacto Sidebar.js to use redux instead of alt
dlajarretie Oct 19, 2021
be11cc1
refacto user components to use redux instead of alt
dlajarretie Oct 28, 2021
c97a004
refacto SecretListItem components to use redux instead of alt
dlajarretie Oct 28, 2021
0e157b8
refacto options components to use redux instead of alt
dlajarretie Oct 28, 2021
09c2fd4
refacto import components to use redux instead of alt
dlajarretie Oct 28, 2021
417ea2e
refacto secrets components to use redux instead of alt
dlajarretie Oct 29, 2021
ae42b1f
get rid of Immutable.js
dlajarretie Oct 29, 2021
21f158e
fix most compilation errors
dlajarretie Oct 29, 2021
c36539f
comment out MetadataSlice errors for testing
dlajarretie Oct 29, 2021
2d84020
fix runtime errors in models
dlajarretie Oct 29, 2021
61ec226
fix more runtime errors - now able to sign up and sign in
dlajarretie Oct 30, 2021
7419898
store raw version of objects in state, fix secret creation modal
dlajarretie Dec 14, 2021
a5c9848
fix display of secrets list
dlajarretie Dec 14, 2021
cd1c65e
fix opening of the show secret modal
dlajarretie Jan 24, 2022
e310d7b
fix rendering of secret fields
dlajarretie Jan 24, 2022
f63fbb0
improve cross-reducer actions
dlajarretie Jan 24, 2022
ad5fedd
fix secret sharing form
dlajarretie Jan 24, 2022
e6c0913
fix secret editing
dlajarretie Jan 25, 2022
ac1b518
fix enabling delete and share when online
dlajarretie Jan 25, 2022
3113194
display error in case of sharing failure
dlajarretie Jan 25, 2022
c7f60b1
fix secret sharing
dlajarretie Jan 25, 2022
5485cf9
add reselect lib
dlajarretie Jan 25, 2022
fe70387
fix folders display in secrets list
dlajarretie Jan 25, 2022
9d020d1
fix drag n drop UI
dlajarretie Jan 25, 2022
4104afa
fix displaying folder content + add secret to folder using dnd
dlajarretie Jan 25, 2022
5638011
fix breadcrumbs
dlajarretie Jan 25, 2022
731b995
fix secret and folder creation inside folder
dlajarretie Jan 25, 2022
be5944c
fix all secrets list
dlajarretie Jan 25, 2022
1ebbdd2
fix my secrets list
dlajarretie Jan 25, 2022
113daec
fix shared secrets list
dlajarretie Jan 25, 2022
fc33f34
enable options when user is online
dlajarretie Jan 25, 2022
0af8ee0
fix some TODOs
dlajarretie Jan 25, 2022
c705c01
fix shared with column
dlajarretie Jan 26, 2022
682e436
fix autologout and change master password
dlajarretie Jan 26, 2022
b5078bb
fix options loading & shortlogin deactivation
dlajarretie Jan 26, 2022
c222c55
fix totp
dlajarretie Jan 26, 2022
2aee726
fix proptypes for secret list
dlajarretie Jan 26, 2022
3c27ce5
fix secret list sorting
dlajarretie Jan 26, 2022
2a38ffc
fix import UI
dlajarretie Jan 26, 2022
ff36e02
fix import success ui
dlajarretie Jan 26, 2022
62b097c
make inputs uncontrolled
dlajarretie Jan 26, 2022
bd47ccd
upgrade to react 17
dlajarretie Jan 26, 2022
c319ed5
handle broken legacy agix secrets
dlajarretie Jan 26, 2022
8775475
fix autologout
dlajarretie Jan 26, 2022
9c3ded9
random css trick to fix scrollbars
dlajarretie Jan 26, 2022
358cccf
I fucking hate css
dlajarretie Jan 27, 2022
2d89350
fix metadata decrypt progress bar
dlajarretie Jan 27, 2022
7acf22e
fix loading state for login button
dlajarretie Jan 28, 2022
c79e69b
fix login/sign up form after disabling shortlogin
dlajarretie Jan 28, 2022
da36ecd
add logout button
dlajarretie Jan 28, 2022
bd7b67e
fix autofocus when clicking use another account
dlajarretie Jan 28, 2022
3c1f4ec
fix UI feedback when saving edited secret
dlajarretie Jan 28, 2022
45c4456
downgrade to react 16 to avoid breaking dropdown menu
dlajarretie Jan 28, 2022
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
6 changes: 6 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"baseUrl": "src"
},
"include": ["src"]
}
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,42 +19,42 @@
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"gh-pages": "^1.0.0",
"node-sass": "^4.13.0",
"node-sass": "^5.0.0",
"prettier": "^1.19.1",
"react-scripts": "2.1.8"
"react-scripts": "4.0.3"
},
"dependencies": {
"alt": "^0.18.6",
"alt-utils": "^2.0.0",
"@reduxjs/toolkit": "^1.5.1",
"classnames": "^2.2.6",
"copy-to-clipboard": "^3.2.0",
"immutable": "^3.8.2",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"mousetrap": "^1.6.3",
"prop-types": "^15.7.2",
"qrcode.react": "^1.0.0",
"react": "^16.12.0",
"react": "^16.0.0",
"react-bootstrap": "^0.32.4",
"react-dnd": "^5.0.0",
"react-dnd-html5-backend": "^5.0.1",
"react-dom": "^16.12.0",
"react-dom": "^16.0.0",
"react-overlays": "^0.8.3",
"react-redux": "^7.2.3",
"react-router-dom": "^5.1.2",
"reselect": "^4.1.5",
"secretin": "^2.1.1",
"url-join": "^4.0.1",
"uuid": "^3.3.3"
},
"scripts": {
"deploy": "scripts/deploy.sh",
"start": "yarn run build-css && yarn run watch-css & NODE_PATH=./src react-scripts start",
"build": "yarn run build-css && NODE_PATH=./src node_modules/.bin/react-scripts build",
"start": "yarn build-css && yarn run watch-css & NODE_PATH=./src react-scripts start",
"build": "yarn build-css && NODE_PATH=./src node_modules/.bin/react-scripts build",
"build-css": "node_modules/.bin/node-sass src/stylesheets/application.sass src/index.css",
"watch-css": "node_modules/.bin/node-sass src/stylesheets/application.sass src/index.css -w",
"electron": "yarn run build && node_modules/.bin/electron-packager ./ --platform=all --arch=x64 --asar --overwrite --ignore=scripts --ignore=.gitignore --ignore=yarn.lock --ignore=.travis.yml --ignore=.*.zip --ignore=public --ignore=.nvmrc --ignore=.eslintrc.js --ignore=node_modules --ignore=src",
"dev-electron": "yarn run build && electron .",
"electron": "yarn build && node_modules/.bin/electron-packager ./ --platform=all --arch=x64 --asar --overwrite --ignore=scripts --ignore=.gitignore --ignore=yarn.lock --ignore=.travis.yml --ignore=.*.zip --ignore=public --ignore=.nvmrc --ignore=.eslintrc.js --ignore=node_modules --ignore=src",
"dev-electron": "yarn build && electron .",
"lint": "node_modules/.bin/eslint src/",
"test": "yarn run lint"
"test": "yarn lint"
},
"eslintConfig": {
"extends": "./.eslintrc.js"
Expand Down
172 changes: 0 additions & 172 deletions src/actions/AppUIActions.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/actions/EditSecretUIActions.js

This file was deleted.

59 changes: 0 additions & 59 deletions src/actions/ImportActions.js

This file was deleted.

Loading