Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
783b8c2e91 | ||
|
|
75f57a4e57 | ||
|
|
eb142b75f7 |
3
.github/workflows/backend-system-tests.yml
vendored
3
.github/workflows/backend-system-tests.yml
vendored
@@ -17,9 +17,6 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Create .env file
|
|
||||||
working-directory: ./backend
|
|
||||||
run: mv .env.example .env
|
|
||||||
- name: Run Server and Test with Newman
|
- name: Run Server and Test with Newman
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
run: npm run test:system
|
run: npm run test:system
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
### [0.3.1](https://github.com/stonith404/pingvin-share/compare/v0.3.0...v0.3.1) (2022-12-05)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* dropzone rejection on chrome ([75f57a4](https://github.com/stonith404/pingvin-share/commit/75f57a4e57fb13cc62e87428e8302b453ea6b44b))
|
||||||
|
|
||||||
## [0.3.0](https://github.com/stonith404/pingvin-share/compare/v0.2.0...v0.3.0) (2022-12-05)
|
## [0.3.0](https://github.com/stonith404/pingvin-share/compare/v0.2.0...v0.3.0) (2022-12-05)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
14
frontend/package-lock.json
generated
14
frontend/package-lock.json
generated
@@ -10,13 +10,13 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.10.5",
|
"@emotion/react": "^11.10.5",
|
||||||
"@emotion/server": "^11.10.0",
|
"@emotion/server": "^11.10.0",
|
||||||
"@mantine/core": "^5.9.1",
|
"@mantine/core": "^5.9.2",
|
||||||
"@mantine/dropzone": "^5.9.1",
|
"@mantine/dropzone": "^5.9.2",
|
||||||
"@mantine/form": "^5.9.1",
|
"@mantine/form": "^5.9.2",
|
||||||
"@mantine/hooks": "^5.9.1",
|
"@mantine/hooks": "^5.9.2",
|
||||||
"@mantine/modals": "^5.9.1",
|
"@mantine/modals": "^5.9.2",
|
||||||
"@mantine/next": "^5.9.1",
|
"@mantine/next": "^5.9.2",
|
||||||
"@mantine/notifications": "^5.9.1",
|
"@mantine/notifications": "^5.9.2",
|
||||||
"axios": "^1.2.0",
|
"axios": "^1.2.0",
|
||||||
"cookies-next": "^2.1.1",
|
"cookies-next": "^2.1.1",
|
||||||
"file-saver": "^2.0.5",
|
"file-saver": "^2.0.5",
|
||||||
|
|||||||
@@ -11,13 +11,13 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.10.5",
|
"@emotion/react": "^11.10.5",
|
||||||
"@emotion/server": "^11.10.0",
|
"@emotion/server": "^11.10.0",
|
||||||
"@mantine/core": "^5.9.1",
|
"@mantine/core": "^5.9.2",
|
||||||
"@mantine/dropzone": "^5.9.1",
|
"@mantine/dropzone": "^5.9.2",
|
||||||
"@mantine/form": "^5.9.1",
|
"@mantine/form": "^5.9.2",
|
||||||
"@mantine/hooks": "^5.9.1",
|
"@mantine/hooks": "^5.9.2",
|
||||||
"@mantine/modals": "^5.9.1",
|
"@mantine/modals": "^5.9.2",
|
||||||
"@mantine/next": "^5.9.1",
|
"@mantine/next": "^5.9.2",
|
||||||
"@mantine/notifications": "^5.9.1",
|
"@mantine/notifications": "^5.9.2",
|
||||||
"axios": "^1.2.0",
|
"axios": "^1.2.0",
|
||||||
"cookies-next": "^2.1.1",
|
"cookies-next": "^2.1.1",
|
||||||
"file-saver": "^2.0.5",
|
"file-saver": "^2.0.5",
|
||||||
|
|||||||
@@ -45,12 +45,6 @@ const Dropzone = ({
|
|||||||
return (
|
return (
|
||||||
<div className={classes.wrapper}>
|
<div className={classes.wrapper}>
|
||||||
<MantineDropzone
|
<MantineDropzone
|
||||||
// Temporary fix for Dropzone issue (https://github.com/mantinedev/mantine/issues/3115)
|
|
||||||
getFilesFromEvent={(e) => {
|
|
||||||
return Promise.resolve([
|
|
||||||
...((e.target as EventTarget & HTMLInputElement)?.files as any),
|
|
||||||
]);
|
|
||||||
}}
|
|
||||||
maxSize={parseInt(config.get("MAX_FILE_SIZE"))}
|
maxSize={parseInt(config.get("MAX_FILE_SIZE"))}
|
||||||
onReject={(e) => {
|
onReject={(e) => {
|
||||||
toast.error(e[0].errors[0].message);
|
toast.error(e[0].errors[0].message);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pingvin-share",
|
"name": "pingvin-share",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "cd frontend && npm run format && cd ../backend && npm run format",
|
"format": "cd frontend && npm run format && cd ../backend && npm run format",
|
||||||
"lint": "cd frontend && npm run lint && cd ../backend && npm run lint",
|
"lint": "cd frontend && npm run lint && cd ../backend && npm run lint",
|
||||||
|
|||||||
Reference in New Issue
Block a user