1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Elias Schneider d147614f76
release: 0.24.1 2024-05-04 14:45:19 +03:00
Elias Schneider c999df15e0
fix: error on admin share management page if a share was created by an anonymous user 2024-05-04 14:45:08 +03:00
8 changed files with 23 additions and 9 deletions

View File

@ -1,3 +1,10 @@
## [0.24.1](https://github.com/stonith404/pingvin-share/compare/v0.24.0...v0.24.1) (2024-05-04)
### Bug Fixes
* error on admin share management page if a share was created by an anonymous user ([c999df1](https://github.com/stonith404/pingvin-share/commit/c999df15e04a927f6e952db3c807b9591fb14894))
## [0.24.0](https://github.com/stonith404/pingvin-share/compare/v0.23.1...v0.24.0) (2024-05-04)

View File

@ -1,12 +1,12 @@
{
"name": "pingvin-share-backend",
"version": "0.24.0",
"version": "0.24.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "pingvin-share-backend",
"version": "0.24.0",
"version": "0.24.1",
"dependencies": {
"@nestjs/cache-manager": "^2.1.0",
"@nestjs/common": "^10.1.2",

View File

@ -1,6 +1,6 @@
{
"name": "pingvin-share-backend",
"version": "0.24.0",
"version": "0.24.1",
"scripts": {
"build": "nest build",
"dev": "cross-env NODE_ENV=development nest start --watch",

View File

@ -1,12 +1,12 @@
{
"name": "pingvin-share-frontend",
"version": "0.24.0",
"version": "0.24.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "pingvin-share-frontend",
"version": "0.24.0",
"version": "0.24.1",
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/server": "^11.11.0",

View File

@ -1,6 +1,6 @@
{
"name": "pingvin-share-frontend",
"version": "0.24.0",
"version": "0.24.1",
"scripts": {
"dev": "next dev",
"build": "next build",

View File

@ -5,6 +5,7 @@ import {
MediaQuery,
Skeleton,
Table,
Text,
} from "@mantine/core";
import { useClipboard } from "@mantine/hooks";
import { useModals } from "@mantine/modals";
@ -65,7 +66,13 @@ const ManageShareTable = ({
<tr key={share.id}>
<td>{share.id}</td>
<td>{share.name}</td>
<td>{share.creator.username}</td>
<td>
{share.creator ? (
share.creator.username
) : (
<Text color="dimmed">Anonymous</Text>
)}
</td>
<td>{share.views}</td>
<td>{byteToHumanSizeString(share.size)}</td>
<td>

View File

@ -4,7 +4,7 @@ export type Share = {
id: string;
name?: string;
files: any;
creator: User;
creator?: User;
description?: string;
expiration: Date;
size: number;

View File

@ -1,6 +1,6 @@
{
"name": "pingvin-share",
"version": "0.24.0",
"version": "0.24.1",
"scripts": {
"format": "cd frontend && npm run format && cd ../backend && npm run format",
"lint": "cd frontend && npm run lint && cd ../backend && npm run lint",