Commit graph

527 commits

Author SHA1 Message Date
dicedtomato
5c424a2c6d
feat: video thumbnails (#413) (#376)
* feat: thumbnails workers

* feat: thumbnails final

* fix: no thumbnailId

* fix: unecessary stuff
2023-05-29 19:02:18 -07:00
Jayvin Hernandez
f40d65a9f7
feat: view other user files (#408)
* feat: Add the capability of viewing another user's images as admin.

* fix: add columns, oops...

* fix: Gotta check if the user's legit before letting them see

* fix: made administrators non-viewable

* Please don't reference yourself

* fix: superAdmin > admin

---------

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2023-05-23 22:34:21 -07:00
Jayvin Hernandez
a2c085719a
feat: new opt bug.yml (#411)
Hopefully this is a better explanation for the version selector.

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2023-05-22 15:36:53 -07:00
Jayvin Hernandez
60d7b22dca
fix: ability to delete other users images (#407)
* fix: Worst, but minimally working, fix so other users do not delete each other's files.

* fix: include previous fix for PATCH

---------

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2023-05-22 15:36:19 -07:00
Jayvin Hernandez
d111b0811f
fix: add a debug log (#406) 2023-05-22 15:32:26 -07:00
NebulaBC
b46e7b8ba2
Fix branding oversight caused by 0a34b0c (#405) 2023-05-16 14:46:48 -07:00
diced
39a8d52353
feat: built-in robots.txt (#402) 2023-05-13 16:25:27 -07:00
diced
ec09458ad3
feat: allow full paths (#393) 2023-05-13 00:12:29 -07:00
Jayvin Hernandez
a7ad58b196
fix: embed links #390 (#403)
* fix: Use raw route for embedding images.

* fix: there was already a raw link passed 😔
2023-05-12 23:14:59 -07:00
Jayvin Hernandez
1ddd351242
fix: things (#401)
* fix: use relative path for volumes

* fix: null check oauth config

* fix: attempt refresh if error is on /dashboard

---------

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2023-05-10 22:39:08 -07:00
Derock
24b06c76fb
feat: server-side sorting (#366)
Co-authored-by: Jayvin Hernandez <gogojayvin923@gmail.com>
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2023-05-10 22:32:13 -07:00
Dane
0a34b0cc21
feat: bypass local login (#373)
* adding option to bypass local login

* oops

* fix: add descriptive title

---------

Co-authored-by: Jayvin Hernandez <gogojayvin923@gmail.com>
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2023-05-06 11:04:52 -07:00
diced
ce26a414ac
fix: update reference (#392) 2023-05-06 10:41:46 -07:00
diced
f71aab2cde
fix: body size limit for pfp (#389) 2023-05-06 10:37:38 -07:00
diced
5f76e9d383
refactor: copy errors removed (#344) 2023-05-06 10:36:08 -07:00
diced
4a46f15833
fix: ext finding (#384) 2023-04-30 15:41:27 -07:00
diced
d6ce64ae21
fix: go back one page (#371) 2023-04-30 15:31:19 -07:00
Jayvin Hernandez
7cbf828f3b
fix: properly type the relation field for OAuth (#370)
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2023-04-28 20:51:34 -07:00
Jayvin Hernandez
3ff215366a
fix: a lot of things (#386)
* @diced forgor

* check if proper id

* fix(?): await datasource's get

* fix (diced/zipline#350): Return size 0 for not found
2023-04-28 20:32:51 -07:00
IThundxr
d238e24f62
feat: Add check to prevent favorited files from being deleted (#369)
* additions

* add proper lock system

* migreation

* Revert "migreation"

This reverts commit 4058146c2867d8a0cf2edc56b89e4bec3b2a826b.

* remove that

* get rid of bad code

---------

Co-authored-by: Jayvin Hernandez <gogojayvin923@gmail.com>
2023-04-12 16:59:30 -07:00
Jayvin Hernandez
fd2746c2d0
fix: clearing (#367)
+ added convenient clear-temp script, no flags yet
2023-04-11 18:37:38 -07:00
Jayvin Hernandez
61b2eff6a4
fix: #364
* some fixes for diced/zipline-docs#50

* appropriately changed items

* tight fit for a selector
2023-04-06 20:02:07 -07:00
Jayvin Hernandez
89a28bf50b
fix: query-size (#363)
* feat: add flags for querying & delete option

* return 0 for no file

* include size
2023-04-05 20:25:19 -07:00
Jayvin Hernandez
5ded128263
fix: user uuid (#355)
* fix: user uuid is used instead of user id for its uniqueness

* fix: use cuid instead & exclude from parser

* fix: apply new foreign key constraints to existing data

* fix: migration partly done

* not-fix: General form of migration achieved, still broken

* fix: migrate and use db's uuid function for existing users

* fix: Proper not nulling!

* fix: #354

* fix: migration & use uuid instead

---------

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
Co-authored-by: diced <pranaco2@gmail.com>
2023-04-04 20:07:41 -07:00
dicedtomato
eedeb89c7d
feat: offloaded chunked uploads (#356)
* feat: offloaded chunked uploads

* fix: use temp_directory instead of tmpdir()

* feat: CHUNKS_ENABLED config
2023-04-03 22:42:27 -07:00
Jayvin Hernandez
bf40fa9cd2
feat: many things (#351)
* remove source from final image

* move check state to ClearStorage

* use inspect for fancy colors

* newlines are now possible! yay!

* Catch user's leave if uploading

* feat?: Temp directory can be specified by the user.
Default is /tmp/zipline (or os equivalent)

* fix: ignore onDash config, use only ?compress query

---------

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2023-03-31 22:25:00 -07:00
diced
bc58c1b56e
fix: milestone again again again again again again 2023-03-31 22:12:13 -07:00
diced
c57a6e1700
fix: milestone again again again again again 2023-03-31 22:07:17 -07:00
diced
8649a489d8
fix: milestone again again again again 2023-03-31 22:05:59 -07:00
diced
40f29907c7
fix: milestone again again again 2023-03-31 21:55:26 -07:00
diced
34005ece43
fix: milestone again again 2023-03-31 21:53:30 -07:00
diced
8e6fc1e8a3
fix: milestone again 2023-03-31 21:49:50 -07:00
diced
065f44b145
fix: milestone 2023-03-31 21:41:19 -07:00
diced
e5a07f568d
fix: update milestone action 2023-03-27 16:48:56 -07:00
dicedtomato
a728d71da1
Merge branch '3.x' into trunk 2023-03-26 20:46:00 -07:00
diced
91e468791e
feat(3.7.0): version 2023-03-26 20:45:01 -07:00
dicedtomato
169a2ea562
Revert "Release 3.7.0 (#328)" (#347)
This reverts commit f9060f8ae7.
2023-03-26 20:40:41 -07:00
dicedtomato
f9060f8ae7
Release 3.7.0 (#328)
* fix: oauthId optional

* fix: remove optional

* hotfix: make oauthid optional (#249)

* hotfix: fallback oauth find (#250)

* fix: add a forgotten ? to schema

* fix: catch null at other places (#252)

* fix: forgor (#253)

* Fix root url & uploader stuff (#254)

* fix: uploader route as root won't be broken

* fix: fix broken url route for when on root

* fix: catch hopefully the most of the edge cases (#251)

* fix: catch hopefully the most of the edge cases

* fix: invite only, fools

* feat: tsup, small fixes

* fix: #264

* fix: urls handle empty strings

* fix: remove esbuild

* fix: do not mutate res #266

* feat: new embed method

* fix: overwrite tmp ss flameshot

* fix: overrides for uploading

* refactor: chart.js -> recharts

* feat: download query on /r/

* fix: better icons on file vie2

* feat: ability to generate url shorten config

* fix: sxcu name

* fix: react hooks error

* feat: ability to insert tabs on Tab keypress

* feat: overhaul image upload

* fix: clean

* fix: group icons vertically

* fix: embeds not showing up

* fix: docker stuff

* feat(3.7.0-rc1): version

* fix: cors for files (#257)

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* refactor: many columns/tables in prisma

* feat: keep original name #247

* fix: ability to gen with original-name

* fix: type error

* fix: no name on dashboard

* feat(v3.7.0-rc2): version

* fix: sharex DestinationType

* fix: ensureDatabaseExists args

* fix: sharex config

* fix: #277 #272

* fix: 🐛 Add Menu component as parent

* refactor: popover -> menu

Co-authored-by: IceToast <>
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* fix: add a "skip" for fresh db's (#274)

* fix: add a "skip" for fresh db's

* fix: trimming

* fix: elevate logging!

* fix: allow more variables on view

* fix: optimize docker image

* fix:  root url for upload and shorten (#255)

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* fix: /app -> /zipline

* feat(v3.7.0-rc3): folders for files

* fix: use `name` instead of `file` (#281)

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* feat: search+create for folder select (#283)

* feat?: Search for the folder to add.
Also you can create a folder right from the file, rather than being redirected.

* woops wrong import

* fix: return null for no string in parser (#285)

* feat: use ENTRYPOINT in docker (#286)

* :3

* Update Dockerfile

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* Update Dockerfile

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* Update Dockerfile

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* test

---------

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* fix: set password to actual text value

* fix: url encode password query

* fix: entrypoint executable (#289)

* feat: override domain header

* fix: random domains

* feat: better version checking

* feat: public folders

* fix: dates #278

* feat: devcontainers for codespaces, etc.

* experiment with devcontainer.json

* introduce a docker-compose for devcontainer

* Devcontainers!

* version pop

* Port labeling and a complimentary env variable

* see it to believe it

* Update .devcontainer/devcontainer.json

* Update .devcontainer/devcontainer.json

* Update .devcontainer/docker-compose.yml

---------

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* fix: spaces and route fixes (#294)

* fix: spaces and route fixes

* fix: shorten url response

* feat: better version checking

* fix: use special characters should work

If it doesn't, better call saul

* save that extra byte

* fix: returning protocol again in domain

unrelated to this pr but whatever

* fix: above ^

* Rename shorten.tsv to shorten.ts

---------

Co-authored-by: diced <pranaco2@gmail.com>
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* fix: #296

* fix: show files per user (#299)

* feat: clearing orphaned files (#303)

* fix: default public folder (docker)

* feat: seperate discord webhooks (shorten/upload) (#260)

* fix: title for folders

* fix: clipboard & 2fa improvements

A workaround that shows the content that would have been copied if `navigator.clipboard` is unavailable for whatever reason.

2FA input autofocuses & submits on enter.

* fix: revamp uploaded file modal

* fix: revamp mobile ui

* feat: more functionality within files table

* feat: clear zero byte files script

* feat: logger improvements
- Timestamp is gray
- removed colorette dependency
- introduction of LOGGER_FILTERS

* chore: update deps

* feat(v3.7.0-rc4): version

* fix: show warning when password protect

* fix: fix (#310)

* Muted audio by default!

* Code renderin'

* not but still decently standard files being viewable

* reserved routes

* Update validateConfig.ts

---------

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* feat: file size (#308)

* feat: baseline support for file sizes

* feat: script to add file sizes

* fix: #311

* chore: update to mantine@6

* refactor: remove old File.tsx

* feat: initial move to mantine v6

* feat: use api option

* remove: useless size modifier

* fix: user button

* feat: use pininput for 2fa

* fix: breaking changes in migrating mantine v6

---------

Co-authored-by: TacticalCoderJay <gogojayvin923@gmail.com>

* feat: add size to datatable

* fix: null on non originalName

* fix: allow download query on non raw

* fix: undef file

* fix: spacingg between count_by_user

* feat: new ui for shortened urls

* fix: spacing within appshell/paper

* feat: new login page

* feat: reorganize menu

* feat: keyboard spotlight

* feat: tabler icons

* fix: remove feather import

* fix: update 2fa enabled appropriately & delete files (#315)

* fix: update 2fa enabled appropriately

* fix: a proper delete

---------

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* feat(v3.7.0-rc5): version

* feat: add feature request "contact_link"

* feat: multiple stuffs

* feat: gfycat url #322

* feat: gfycat attribution

* feat(3.7.0-rc6): version

* fix: type cast

* feat: list view for urls, invites, users: #302

* refactor: docker-compose -> docker compose

* fix: open folder in new tab

* fix: save list-view setting to localStorage

* fix: Bug: URLs list view #330

* fix: #332

* fix: #331

* fix: #333

* feat: link to view gallery (icon)

* fix: clean up Anchors

* refactor: new eslint changes

* fix: fine tune devcontainer (#329)

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>

* fix: FileModal scrollbars

* fix: dynamically import katex

* fix: remove rogue console.log

* fix: open folder onRowClick

* fix: filter on usePaginatedFiles

* fix: icon sizes

* fix: paste listener

* feat(actions): auto-assign milestone

* feat(v3.7.0-rc7): version

* fix: #339

* fix: resetting avatars

* feat: new icons / oauth icons changed

* feat: UPLOADER_ASSUME_MIMETYPES (#337)

* fix: any instance of #342

* fix: any instance of #345

* fix: make tables take entire vh

* chore: update deps

* fix: add bigger sizeLimit

* fix: token exposed on view/[id]

---------

Co-authored-by: Jayvin Hernandez <gogojayvin923@gmail.com>
Co-authored-by: IceToast <54889359+IceToast@users.noreply.github.com>
Co-authored-by: IThundxr <harshdhaliwal9767@gmail.com>
Co-authored-by: IThundxr <contact@ithundxr.dev>
2023-03-26 20:40:01 -07:00
diced
d379bf8b1c
fix: token exposed on view/[id] 2023-03-26 12:14:41 -07:00
diced
67b71ceffe
fix: add bigger sizeLimit 2023-03-26 00:17:59 -07:00
diced
eb6929b889
chore: update deps 2023-03-26 00:03:10 -07:00
diced
d7299f8220
fix: make tables take entire vh 2023-03-25 23:39:16 -07:00
diced
1ed267ad94
fix: any instance of #345 2023-03-25 23:36:16 -07:00
diced
40a0cce3e8
fix: any instance of #342 2023-03-25 23:33:37 -07:00
diced
556aafaad3
feat: UPLOADER_ASSUME_MIMETYPES (#337) 2023-03-24 17:57:56 -07:00
diced
fdc7901eff
feat: new icons / oauth icons changed 2023-03-24 17:56:53 -07:00
diced
9632399f5d
fix: resetting avatars 2023-03-24 17:24:15 -07:00
diced
cc8a5411ab
fix: #339 2023-03-24 17:20:33 -07:00
diced
12bb804e6a
feat(v3.7.0-rc7): version 2023-03-22 20:27:52 -07:00
diced
3a27f31a03
feat(actions): auto-assign milestone 2023-03-22 19:41:06 -07:00