Commit graph

359 commits

Author SHA1 Message Date
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
4e70daa4d8
feat(v3.6.4): version 2022-12-15 20:13:45 -08:00
diced
bb28f49cf5
feat: default avatar stuffs 2022-12-15 20:09:02 -08:00
diced
d85211a145
feat: better nav bar stuff 2022-12-15 20:09:02 -08:00
diced
a7291d374d
fix: favorite pagination num 2022-12-15 20:09:02 -08:00
Jayvin Hernandez
5c9b558ac2
chore: update the readme (#246)
feature requests are now discussion threads instead of issues

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2022-12-15 18:09:36 -08:00
diced
36ede22d45
fix: readme sheilds.io images 2022-12-15 18:02:10 -08:00
diced
6528ec4056
fix: add default exit transition to modals 2022-12-14 22:46:41 -08:00
diced
56ee494c7d
fix: add wayland instructions in flameshot builder 2022-12-14 22:45:10 -08:00
diced
b21995a0b9
fix: cleanup old methods from /api/user/files 2022-12-14 22:18:50 -08:00
diced
3c00575ecd
feat: new system for paged files 2022-12-13 23:32:57 -08:00
diced
27ccbcb54a
chore: pg latest -> pg 15 2022-12-13 22:26:50 -08:00
diced
fecbf394c1
fix: remove comments 2022-12-11 15:37:59 -08:00
diced
91341e2d21
feat: new variables parser 2022-12-11 15:30:19 -08:00
TacticalCoderJay
6349503b00
feat: clear storage (#244) (#239)
* - fix: use oauth's user id instead of username
 - feat: add login only config for oauth

* Addresses tomato's concerns

* fix: catch same account on different user

* Add storage cleaning

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

* Update src/components/pages/Manage/index.tsx

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

* Update src/components/pages/Manage/index.tsx

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

Co-authored-by: dicedtomato <diced@users.noreply.github.com>
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2022-12-10 15:00:39 -08:00
diced
58e8c103b7
fix: change CORE_HTTPS To CORE_RETURN_HTTPS in compose file 2022-12-10 14:24:34 -08:00
diced
5d115afa71
feat: update deps & fix stuff 2022-12-10 14:19:53 -08:00
diced
d8b308a18c
fix: bind 2022-12-09 19:37:40 -08:00
diced
76267c00d5
fix: attempt to fix #243 2022-12-09 19:31:35 -08:00
diced
9648856052
chore: update prisma-binaries 2022-12-09 18:09:58 -08:00
diced
d87e465a8e
fix: undefined 2022-12-08 18:53:35 -08:00
diced
2c07d6719e
feat: save showNonMedia checkbox value 2022-12-08 18:50:00 -08:00
diced
4c633eb60d
fix: clean up 2022-12-07 23:11:19 -08:00
diced
ba6580e4ef
fix: route not found for nextjs api routes 2022-12-07 23:10:43 -08:00
diced
c21d8f837e
feat: built-in ssl support
- CORE_HTTPS is now CORE_RETURN_HTTPS
- SSL_(KEY/CERT/ALLOW_HTTP1)
2022-12-07 19:40:54 -08:00
diced
eadfa09570
refactor: migrate to fastify
- (maybe) faster http server
- easy to develop on
2022-12-07 19:21:26 -08:00
TacticalCoderJay
ea1a0b7fc8
fix: new oauth stuff (#240)
* - fix: use oauth's user id instead of username
 - feat: add login only config for oauth

* Addresses tomato's concerns

* fix: catch same account on different user
2022-12-06 21:40:13 -08:00
diced
9f797613d2
fix: render in files & fix typos 2022-12-06 17:19:02 -08:00
diced
b728ff33ec
fix: delete URLs after serving 2022-12-06 16:35:38 -08:00
diced
7dc036c6e4
fix: order urls by desc 2022-12-06 16:30:47 -08:00
diced
78135aac02
fix: dynamically import prism languages 2022-12-05 19:57:14 -08:00
diced
950018673f
feat: render tex (katex) and markdown 2022-12-05 18:16:31 -08:00
diced
cfdcf05135
feat: ability to use / for URLS_ROUTE 2022-12-03 14:31:13 -08:00
diced
ace474eb2c
feat(v3.6.3): version 2022-12-03 08:37:37 -08:00
diced
285ed8d56e
fix: actually fix recursive thing 2022-12-03 08:02:16 -08:00
diced
738e25feda
fix: exiftool not working on docker 2022-12-02 17:35:47 -08:00
diced
6d2d071293
fix: max call stack error 2022-12-02 08:37:13 -08:00
diced
725ce50608
feat(V3.6.2): version 2022-12-01 09:47:09 -08:00
diced
78e884e97e
feat: default expiration/ttl (#237) 2022-12-01 09:42:16 -08:00
diced
cb123cb575
fix: formatting 2022-12-01 09:31:29 -08:00
diced
6f3081cb8e
feat: headless mode 2022-12-01 09:27:14 -08:00
dicedtomato
231f734fd5
Update README.md 2022-11-28 20:47:24 -08:00
TacticalCoderJay
fce7325a24
fix: add onDelete to all relations (#236) 2022-11-28 20:39:20 -08:00
diced
2bec45411f
feat: overhaul upload frontend 2022-11-28 19:58:21 -08:00
diced
577195b578
fix: serve favicon.ico always 2022-11-27 20:06:22 -08:00
diced
a402227c4f
fix: custom placeholder 2022-11-27 19:55:14 -08:00
TacticalCoderJay
a75b790654
fix: allow root route & remove swift refs (#235) (#214)
* fix:
 - readd root route for uploads only
 - catch 1 edge case for root route (/dashboard)

* fix: spelt dashboard right

* fix: include the dot for the extension

* fix: remove any possible references of swift

* fix: missed a spot

* Update .env.local.example

Co-authored-by: Jonathan <axis@axis.moe>

* Update .env.local.example

* Update validateConfig.ts

* format

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
Co-authored-by: Jonathan <axis@axis.moe>
2022-11-27 18:20:29 -08:00
TacticalCoderJay
f07cbeac52
fix: small bug & no file ext (#234)
* fix: allow empty file extensions

* fix: Add a button to show non-media files

* fix: Looks better

* Update FilePagation.tsx

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
2022-11-26 16:15:09 -08:00
diced
dcfcce7803
update readme with stuff 2022-11-26 14:33:42 -08:00
diced
659868181d
feat: supabase datasource & remove swift 2022-11-25 14:30:18 -08:00