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

Review (not for merge) #10

Open
wants to merge 137 commits into
base: collaborators-review
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 124 commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
cfc1f82
added package*.json files
Oct 21, 2021
13466b5
-m removed unnecessary react code and files
Oct 21, 2021
1d72878
add dot files
Oct 21, 2021
c9b7e02
changed dot files
Oct 21, 2021
d3b3cf7
configured react
Oct 21, 2021
b722652
add code of conduct and contributing
Oct 21, 2021
d63591c
improved package.json and added yarn.lock
Oct 21, 2021
fc347d1
Init project env
MaksGovor Nov 14, 2021
022d326
implement login page
Honchar007 Nov 16, 2021
c1c472b
Merge pull request #1 from Intelligent-Cloud-System/feature/register-…
Honchar007 Nov 20, 2021
f9ea037
implement register page and validation
Honchar007 Nov 22, 2021
41921c3
Merge pull request #2 from Intelligent-Cloud-System/feature/register-…
Honchar007 Nov 22, 2021
4a5354e
add swagger generate
tedi4t Nov 25, 2021
618822c
generate swagger clients
tedi4t Nov 25, 2021
eefd6e7
auth integration
tedi4t Nov 28, 2021
9175182
small style changes
tedi4t Nov 28, 2021
dd01ca6
injectFirst
tedi4t Nov 29, 2021
2e8ac45
Merge pull request #3 from Intelligent-Cloud-System/feature/auth-inte…
MaksGovor Dec 2, 2021
04925df
Add husky pre-commit
MaksGovor Dec 3, 2021
93c8db1
Merge branch 'dev' into feature/add-husky
MaksGovor Dec 3, 2021
e17941c
add auto token refresh
tedi4t Dec 4, 2021
79a887f
Merge pull request #4 from Intelligent-Cloud-System/feature/add-husky
tedi4t Dec 4, 2021
f0a5ef4
generate-clients
tedi4t Dec 4, 2021
ac67f3a
Merge pull request #5 from Intelligent-Cloud-System/feature/auth-inte…
MaksGovor Dec 4, 2021
5de1228
Add favicon & logo
MaksGovor Dec 4, 2021
c9aa5ef
Add base layout
MaksGovor Dec 4, 2021
9401016
feature\implement-upload-ui
Honchar007 Dec 4, 2021
5f95f57
add notification hook for errors
tedi4t Dec 4, 2021
195b6d8
Change nav structure
MaksGovor Dec 4, 2021
06c5778
small changes
tedi4t Dec 4, 2021
e0ee9b2
add all implement of nav
MaksGovor Dec 4, 2021
0f9e3d5
Full implementation navbar
MaksGovor Dec 4, 2021
b8c507a
Restore App.tsx
MaksGovor Dec 4, 2021
ebb585a
Merge pull request #7 from Intelligent-Cloud-System/feature/applicati…
MaksGovor Dec 5, 2021
b633027
query client
tedi4t Dec 5, 2021
2b247e6
small changes
tedi4t Dec 5, 2021
ab62539
implement upload page
Honchar007 Dec 7, 2021
bd11058
Merge pull request #9 from Intelligent-Cloud-System/feature/query-client
tedi4t Dec 8, 2021
6d6aee3
Fix review issues
MaksGovor Dec 8, 2021
a95cf76
Merge pull request #8 from Intelligent-Cloud-System/feature/navigation
tedi4t Dec 8, 2021
f4cfc40
merge dev
tedi4t Dec 8, 2021
9397478
Fix imports
MaksGovor Dec 8, 2021
2f806b3
removed unnecessary code, add wrapper for navbar
tedi4t Dec 8, 2021
dc1eea1
renamed navigation
tedi4t Dec 8, 2021
80e44af
improved code style
tedi4t Dec 8, 2021
715ee8b
merge dev
tedi4t Dec 8, 2021
fac3b8a
Delete env
Honchar007 Dec 9, 2021
4afcf92
Remove unused file and change imports
Honchar007 Dec 9, 2021
55958fe
Update README.md
MaksGovor Dec 11, 2021
abea766
add file uploading
tedi4t Dec 12, 2021
38cce57
updated clients
tedi4t Dec 16, 2021
5122237
updated clients
tedi4t Dec 16, 2021
4dd049f
user context
tedi4t Dec 16, 2021
a91f19f
Merge pull request #11 from Intelligent-Cloud-System/feature/user-con…
tedi4t Dec 16, 2021
8864a5f
merge dev
tedi4t Dec 16, 2021
68a4806
updated useAuthTokenRefresh
Dec 16, 2021
0a6010e
small style changes
Dec 17, 2021
3089bd0
Implement Files Page
MaksGovor Dec 17, 2021
95bd6f5
Merge pull request #12 from Intelligent-Cloud-System/feature/layout-f…
tedi4t Dec 17, 2021
a1cd60d
updated gitignore
Dec 17, 2021
6957f17
add uploading files with drag and drop
Dec 17, 2021
6599581
process while uploading file
Dec 17, 2021
f4c7523
add deleting files
Dec 17, 2021
15e7413
Fix file size in uploads
MaksGovor Dec 18, 2021
b8e85da
Implement user page
MaksGovor Dec 19, 2021
cc59434
add file saving
Dec 19, 2021
4208aaf
add disabled button
Dec 19, 2021
a48a5fe
small changes
Dec 19, 2021
73ee045
Merge pull request #13 from Intelligent-Cloud-System/feature/implemen…
tedi4t Dec 19, 2021
dc4497e
Merge branch 'dev' into feature/user-page
MaksGovor Dec 19, 2021
148f281
Fix routes
MaksGovor Dec 20, 2021
6d95def
Add user to nav pannel
MaksGovor Dec 20, 2021
1b231bb
Add user page to navigation
MaksGovor Dec 20, 2021
31a2eb3
Add user to user-page
MaksGovor Dec 20, 2021
8706995
Fix size avatar
MaksGovor Dec 20, 2021
53b8c5a
small fix
MaksGovor Dec 20, 2021
4b714f6
Add templorary solution for logout
MaksGovor Dec 20, 2021
3f976f9
Fix user registration mutation
MaksGovor Dec 21, 2021
844c1a5
Fix review issues
MaksGovor Dec 21, 2021
d18b021
fixed bug with logout
Dec 21, 2021
919d6ab
Fix mutation entity
MaksGovor Dec 21, 2021
4e4847f
small changes
Dec 21, 2021
c73c402
Merge pull request #16 from Intelligent-Cloud-System/fix/registration…
tedi4t Dec 21, 2021
0ee4a5a
updated app routes
Dec 21, 2021
c4608be
Fix layout
MaksGovor Dec 21, 2021
d28790f
Merge branch 'feature/user-page' of github.com:Intelligent-Cloud-Syst…
MaksGovor Dec 21, 2021
9690364
changed files endpoint
Dec 21, 2021
6c92cc8
Merge pull request #15 from Intelligent-Cloud-System/feature/user-page
tedi4t Dec 21, 2021
3844d94
Merge pull request #17 from Intelligent-Cloud-System/dev
tedi4t Dec 21, 2021
3f71487
Update README.md
tedi4t Dec 21, 2021
6642134
fix dependencies
MaksGovor Dec 21, 2021
f2d96d7
Merge branch 'dev' of github.com:Intelligent-Cloud-System/ics-fronten…
MaksGovor Dec 21, 2021
11d18d1
Merge branch 'dev' into main
MaksGovor Dec 21, 2021
0c834f1
Fix: updated git hooks accordingly new scripts in package.json
MaksGovor May 21, 2022
7d962f1
Feature: folder views
MaksGovor May 21, 2022
2349234
Feature: add folders routing & change file model view
MaksGovor May 22, 2022
ee81f86
Merge pull request #18 from Intelligent-Cloud-System/fix/git-hooks
MaksGovor May 22, 2022
9d8f0a0
Fix: small style fixes
MaksGovor May 22, 2022
445310c
theme
May 24, 2022
f4ce723
Feature: folder creating
MaksGovor May 24, 2022
07bc6d3
Merge branch 'dev' into feature/file-folder-pretty-view
MaksGovor May 24, 2022
2966d42
Add theming
MaksGovor May 24, 2022
713cfc8
Feature: smart buttons
MaksGovor May 24, 2022
aed8e2b
Fix: restyling items
MaksGovor May 24, 2022
919a297
Fix: Removed the ability to select objects from multiple folders
MaksGovor May 24, 2022
6eb2dc1
Feat: update clients
MaksGovor May 25, 2022
4ffda8f
Feat: add single checking items
MaksGovor May 25, 2022
32a5a96
Feature: Add deleting files & folders
MaksGovor May 25, 2022
d30e342
Feat: uploading files
MaksGovor May 25, 2022
c220188
Feat: use react dropzone
MaksGovor May 25, 2022
3b3f040
Feature: generate clients for downloading files
MaksGovor May 26, 2022
6cd51bf
Feature: add download single file
MaksGovor May 26, 2022
f65c3f5
Fix: fix code formatting
MaksGovor May 26, 2022
0a50602
Fix: fix repeating code
MaksGovor May 26, 2022
a23eede
Fix: small fixes
MaksGovor May 26, 2022
be2fe32
Fix: fix styles logic
MaksGovor May 26, 2022
5bbe697
Feat: use addaptive scroll bar in files container
MaksGovor May 26, 2022
ee458cc
Feat: update clients
MaksGovor May 27, 2022
d89243b
Fix: using default import
MaksGovor May 29, 2022
761f908
Rename downloadFilesByLink to downloadFilesFromSignedUrls
MaksGovor May 29, 2022
2274c49
Fix: rename existingContent to content
MaksGovor May 29, 2022
1d565f3
Fix: use onError method for Error handling
MaksGovor May 29, 2022
af3d74a
Merge pull request #19 from Intelligent-Cloud-System/feature/file-fol…
MaksGovor May 29, 2022
fc3755d
Merge pull request #20 from Intelligent-Cloud-System/dev
MaksGovor May 29, 2022
45c4b24
add .idea to gitignore
May 29, 2022
62a80a3
ws
Jun 13, 2022
126b46d
Update src/hooks/socket/useSocket.ts
tedi4t Jun 14, 2022
12bfd3c
Merge pull request #21 from Intelligent-Cloud-System/feature/ws
tedi4t Jun 14, 2022
cd190d4
Merge pull request #22 from Intelligent-Cloud-System/dev
tedi4t Jun 14, 2022
33ab648
Fix: update formatting
MaksGovor Jun 14, 2022
fa1d346
Fix: delete unused static
MaksGovor Jun 14, 2022
b317816
linter run
Jun 14, 2022
2336fc2
Merge pull request #23 from Intelligent-Cloud-System/refactor
tedi4t Jun 15, 2022
0ab8cc2
Merge pull request #24 from Intelligent-Cloud-System/dev
tedi4t Jun 15, 2022
6bae370
Feature: generate new clients && fix: fixed generation logic
MaksGovor Jun 22, 2022
1cd383e
Fix: fixed creating bg colour for avatars
MaksGovor Jun 23, 2022
809856c
Merge pull request #26 from Intelligent-Cloud-System/dev
MaksGovor Jun 23, 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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
5 changes: 5 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_CORE_URL=http://localhost:5000
REACT_APP_CLIENT_ID=clien_id
REACT_APP_CLIENT_SECRET=client_secret
REACT_APP_REGION=eu-central-1
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lib
lib-scripts
lib-temp
temp
node_modules
49 changes: 49 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["react", "react-hooks", "@typescript-eslint", "prettier"],
"extends": [
"eslint:recommended",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add sonar, it's always usefull

"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"react-app",
"prettier"
],
"settings": {
"react": {
"pragma": "React",
"version": "detect"
},
"import/external-module-folders": ["node_modules"],
"import/resolver": {
"node": {
"extensions": [".ts", ".tsx", ".js", ".jsx"],
"moduleDirectory": ["node_modules", "src/"]
}
}
},
"rules": {
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-empty-function": 0,
// We are using React 17 so we can disable this rules
"react/prop-types": 0,
"react/display-name": 0,
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
// Make prettier code formatting suggestions more verbose.
"prettier/prettier": [
"error",
{},
{
"usePrettierrc": true
}
]
}
}
96 changes: 3 additions & 93 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,104 +1,14 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/
# Swagger files
temp

# TernJS port file
.tern-port
.DS_Store
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/ics-frontend.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 77 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build
/lib-temp

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
.idea
.eslintcache
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package.json
public/
node_modules/
build
lib
lib-scripts
src/clients
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"semi": true,
"singleQuote": true,
"jsxSingleQuote": true,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"useTabs": true,
"tabWidth": 2,
"printWidth": 100,
"trailingComma": "all",
"endOfLine": "auto"
}
Loading