zipline

A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!

MIT License

Stars
987

Bot releases are visible (Hide)

zipline - v3.7.9 Latest Release

Published by diced 8 months ago

What's changed

  • ampm modifier for dates
  • x-zipline-folder header (the value should be a folder id)
    • this automatically adds the file you are uploading to the folder

Bugs fixed

  • fixed {file.size::bytes} not working on some conditions #532
  • fixed image resizing in view route #527

Full Changelog: https://github.com/diced/zipline/compare/v3.7.8...v3.7.9

zipline - v3.7.8

Published by diced 10 months ago

What's changed

  • new year new zipline update
  • better alignment for thumbnails
  • folder viewing fixed
  • thumbnails show up in folder views
  • max width and height on videos/images on view route
  • new locale and tz options for date variables: {file.createdAt::locale::en-US,America/Los_Angeles}

Pulls Merged

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.7.7...v3.7.8

zipline - v3.7.7

Published by diced 11 months ago

What's changed

  • Prisma version mismatch hotfix ([email protected] now), sorry about the issues yesterday!
  • Better styling in view file card and upload file dropzone
  • Password protected non-media files can be viewed now
    • /r route supports ?password={password} query now!

Pulls merged

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.7.6...v3.7.7

zipline - v3.7.6

Published by diced 11 months ago

What's changed

  • dupe fixed fixed fr
  • updated packages
  • files above int limit (2gb) now work

Pulls merged

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.7.5...v3.7.6

zipline - v3.7.5

Published by diced 12 months ago

What's changed

  • og:video type
  • fixed oauth notnull
  • fixed no file size on folders page
  • new UPLOADER+RANDOM_WORDS_SEPERATOR for gfycat format
  • fixed non english characters encoding (cyrillic, japanese, chinese, korean, and hindi were tested but anything should work)
  • fixed import file script to include size of file
  • warning shown when theres no public/adjectives or public/animals files for gfycat format
  • fixed overwriting existing files when using NAME format
  • custom redirect_uri for discord/google oauth
  • new whitelisted user ids for discord oauth

Pulls merged

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.7.4...v3.7.5

zipline - v3.7.4

Published by diced about 1 year ago

What's changed

  • Domains moved to https://zipline.diced.sh/
  • Fixed letters being cut off in user button #448
  • Huge docker size improvements (1gb now from 2gb)
  • WEBSITE_SHOW_VERSION=false works now #450
  • Giphy name generator fixed #449

Pulls merged

Full Changelog: https://github.com/diced/zipline/compare/v3.7.3...v3.7.4

zipline - v3.7.3

Published by diced about 1 year ago

What's changed

  • moved domains

sorry

zipline - v3.7.2

Published by diced about 1 year ago

What's changed

  • bytes modifier for int: {file.size::bytes}
  • docker caching works................................................
  • Fixed bug regarding thumbnail generation (#444)
  • Thumbnail workers have more debug logs for unexpected errors, etc.
  • Fixed bug when CHUNKS_ENABLED=false, dashboard still chunks based on other chunk vars. (#446)
  • Compression bug fixes
  • Fixed bug that didn't allow user registration without invites enabled
  • Date objects being created twice leading to Invalid Date for some locales (#410)

Pulls merged

Full Changelog: https://github.com/diced/zipline/compare/v3.7.1...v3.7.2

zipline - v3.7.1

Published by diced over 1 year ago

What's changed

  • Offloaded chunked uploads (pending uploads)
  • Query size script fixed
  • Check favorite files before deletion
  • Exif temp files are removed (previously weren't, oversight)
  • Invites no longer include never (no functionality was added)
  • Lots of fixes for meta tags
  • Clear temp script
  • Lot's of bug fixes covered in pull requests below.

PRs merged

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.7.0...v3.7.1

zipline - v3.7.0

Published by diced over 1 year ago

Breaking changes

  • Embed settings have been changed completely, make sure to save your previous values before updating.
  • Variables for webhooks and embeds have been changed

New things

  • Switched to tsup
  • Embed settings made more streamlined
  • Ability to add ?download=true to /r/ links
  • Generate URL Shortening scripts/configurations
  • Pressing Tab within the text uploader, will add a 2-space tab.
  • Image uploading UI was overhauled
  • Ability to keep original name (content-disposition)
  • Folders, to put your files in
  • ENTRYPOINT in docker
  • Better version checking for upstream and non-upstream users!
  • Clear "orphaned" files (files not owned by anyone)
  • Ability to separate webhooks for upload and shorten notifications.
  • Clear zero byte files script
  • Logger improvements
  • File sizes
  • Query file size script
  • Muted audio by default
  • New tables for dashboard, urls, invites, users
    • Ability to switch between grid and list (table) mode within those pages
  • New success modals for uploads/url shortens
  • New login page
  • User menu reorganized
  • Keyboard shortcut menu (CTRL+K, CMD+K)
  • New icons with @tabler-icons/react
  • Gfycat urls (adjectiveadjectiveanimal)

Bugs fixed

A lot, go ahead and check the full changelog. Any commit prefixed with fix: is a bug-fix usually.

Pulls merged

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.6.4...v3.7.0

zipline - v3.6.4

Published by diced almost 2 years ago

Breaking Changes

  • CORE_HTTPS is now CORE_RETURN_HTTPS

What's Changed

  • Ability to use / for shortened links, and will work if both uploader and urls route is /
  • Rendering TeX files with KaTeX
  • Rendering Markdown files
  • A bunch of languages that weren't supported are dynamically imported (code syntax highlighting with prismajs)
  • The "Show non-media files" checkbox saves your value, so that it is persistent
  • Built-in SSL support, provide your own keys and Zipline will use them!
  • Switch from builtin http to fastify for easier development & performance benefits(?)
  • Most dependencies have been updated, including prisma-binaries which are now 4.7.x
  • New variables parser, with modifiers and more flexibility.
  • Better file pagination
    • The route now has a query with "?page=1" which automatically opens that page, ex. /dashboard/files?page=2, will open page 2 automatically
    • This should be easier on the database as it doesn't re-fetch all images every time the route is loaded.
  • Flameshot generator now supports Wayland, and will generate files with wl-copy, etc.
  • Navbar is changed a bit, go figure out what changed ;)
  • You can set a default avatar for newly created accounts

Bugs squashed

  • URLs are now ordered by descending
  • URLs with maxViews are deleted after serving
  • OAuth improvements
  • All modals have an exit transition

Pulls Merged

Join the Discord, to see screenshots and more stuff!

Full Changelog: https://github.com/diced/zipline/compare/v3.6.3...v3.6.4

zipline - v3.6.3

Published by diced almost 2 years ago

Bugfixes

  • Fixed exiftool not working on docker
  • Fixed unintended recursive function when headless is not turned on for 404's

Full Changelog: https://github.com/diced/zipline/compare/v3.6.2...v3.6.3

zipline - v3.6.2

Published by diced almost 2 years ago

What's Changed

  • Swift datasource has been removed
  • Supabase datasource introduced, with support for their storage API
  • Two factor authentication via TOTP codes, supported in apps like Authy and Google Authenticator
  • Ability to view exif metadata in images
  • Ability to remove GPS metadata from images
  • Fixed database constraints bugs
  • Ability to view non-media files that may be uploaded if there are no media files to be shown on the gallery
  • Better placeholder component for media on gallery, no longer flickers
  • Overhauled upload options, a modal will more configuration options. (Both file and text uploads have this)
  • Ability to set default expiration time for uploads
  • Ability to run in "headless" mode, which disables every instance of a front-end leaving only the API accessible.
  • Fixed CORS issues
  • Ability to use all API's with the Authorization header (your token) instead of Cookies
  • Fixed file naming when they have no extension
  • Ability to set upload route to /, so you can view your files like this: https://example.com/something.png instead of https://example.com/u/something.png
  • Stats are updated on startup, and invites are cleaned on startup.

Pulls merged

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.6.1...v3.6.2

zipline - v3.6.1

Published by diced almost 2 years ago

What's Changed

  • New Icons! Background is lighter, text is a subtle gradient with blue.
  • Invites work when user_registration is false
  • Fixed crash when opening images/files
  • Fixed views being added on /r links
  • Entire API backend is rewritten, and is more uniform
  • DEBUG env var now provides very verbose logs
  • /dashboard/upload -> /dashboard/upload/file
  • /dashboard/text -> /dashboard/upload/text
  • Fixed 3d invites defaulting to like 53 years
  • Large files now have their notification stay on screen, and the last chunk will have a notification saying that it's finalizing.
    • If you are experiencing Zipline crashes during this stage it may be due to not having enough memory to load all the chunks. This may be changed in the future though unfortunately there is not much we can do about it.
  • Progress bar for partial uploads is out of the total chunks
  • CONFIG_FEATURES_INVITES_LENGTH will let you set the randomly generated string length for invites
  • When encountering an oauth error, you will be redirected to a styled page instead of application/json
  • Entire UI now uses the Ubuntu font (in future, maybe custom fonts?)
  • Logs for partial uploads
  • Logout page uses the title you set, even though it may be visible for less than a second
  • List users script, list all users, duh
  • Set user script, set properties on a user
  • Views get counted AFTER the file has been served

Pulls merged

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.6.0...v3.6.1

zipline - v3.6.0

Published by diced almost 2 years ago

What's Changed

  • New formatting system with prettier & eslint
  • Issue templates on GitHub
  • Updated GitHub actions
  • OAuth Registration with GitHub, Discord and Google
  • User registration, the same way invites work but you don't need a code.
  • Deleting a user without deleting their images is fixed
  • Files can have a max views property, they will automatically delete after reaching that threshold
  • Several frontend improvements
    • A overhauled statistics page with graphs and other useful utilities
    • Ability to view non-media files in the file gallery
    • Most areas where there used to be a date has been replaced with a relative time (you can see the precise time when you hover)
    • Fixed invites password strength popup
    • Switch from redux to recoil
    • No preview files look nicer & follow theme
    • Ability to link or unlink OAuth accounts in the manage page
    • A Flameshot script generator with check boxes and other things for fully customized script
    • A ShareX configuration generator with check boxes and other things for fully customized config
    • Ability to force update statistics on the manage page if administrator
    • Ability to preview code uploads
    • Ability to search through languages in text uploads
    • More info on URL cards and Invite cards
  • Ability to upload large files (>95 MB or custom limit) via partial uploads (chunked uploads)
  • Transition to dayjs from other random libraries for dates
  • New import-dir script to easily import a directory into zipline
  • Updated most dependencies and now relying on Node v18 as it is LTS.
  • File serving has been reworked with a new system
  • Text uploads with passwords now actually are password protected
  • the /invite/[code] page has been turned into /auth/register which is also used for user registration.
  • Ability to bulk create invites
  • Max views works on shortened URLs too
  • Exports work on S3 and other datasources if they didn't already.
  • New Configuration keys
    • Entirely new configuration validation system
    • CORE_HTTPS is fixed and actually works
    • DATASOURCE_S3_PORT
    • DATASOURCE_S3_SSL
    • UPLOADER_ADMIN_LIMIT now accepts values like 10mb or 50mb, etc
    • UPLOADER_USER_LIMIT now accepts values like 10mb or 50mb, etc
    • WEBSITE_DISABLE_MEDIA_PREVIEW will completely disable all media previews on the dashboard
    • OAUTH<GITHUB/GOOGLE/DISCORD>_CLIENT_<ID/SECRET> Configures oauth2 clients
    • FEATURES_INVITES Disable/enable invites
    • FEATURES_OAUTH_REGISTRATION Enable registration via oauth
    • FEATURES_USER_REGISTRATION Enable registration via the register button on the login page
    • CHUNKS_MAX_SIZE The max size of a file before it gets chunked into smaller requests, this value supports values like 10mb, etc
    • CHUNKS_CHUNKS_SIZE The size of each chunk, preferably smaller than the max size, this value supports values like 10mb, etc

Pulls merged

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.5.1...v3.6.0

zipline - v3.5.1

Published by diced about 2 years ago

What's Changed

  • Discord webhook notifications (upload and shorten only at the moment)
  • There is a tooltip when hovering over the expire value on the file pop up that shows the entire date
  • Fix the image table on the dashboard
  • The version is now shown again but on the sidebar. It will have a red badge if outdated and when hovering over it, will tell you to update
  • External links, you can configure your own links to show up on the bottom of the sidebar
  • Domain duplication on the manage page is now fixed
  • You can use dates such as 1d to represent 1 day in the Expires-At header field.
  • New scheduler type way to delete invites that are used, its interval can be configured (default 30m).
  • Images that are compressed into jpgs, now have their mimetype and extension changed
  • The expire time is shown in the response returned by /api/upload
  • Expires at time is shown on recent images on the main dashboard page
  • There's a script that will return the raw config, useful for debugging. run scripts:read-config

Full Changelog: https://github.com/diced/zipline/compare/v3.5.0...v3.5.1

zipline - v3.5.0

Published by diced about 2 years ago

What's Changed

  • Update to Mantine v5 (with this comes many frontend changes)
  • Update to Prisma 4.1.x
  • Switch from custom esbuild to using tsx (still using esbuild)
  • Image expiration, you can make your image disappear forever!
  • Image compression, save up on space and internet bandwidth!
  • User avatars, spice up your dashboard by uploading an avatar
  • Modals all have the same properties and should look the same
  • Video embeds (still experimental)
  • Reject creating a URL with a vanity that already exists
  • Other small fixes
  • New documentation! https://zipline.diced.tech

Full Changelog: https://github.com/diced/zipline/compare/v3.4.8...v3.5.0

zipline - v3.4.8

Published by diced over 2 years ago

What's Changed

  • Configuration file (TOML) has been removed, in favor for environment variables. If you would still like to use a file for your configuration you may use .env.local as the file. Please use the .env.local.example file as a starting point
  • Builds are now split, you can use the stable release channel which updates on every tag release, or you can use the bleeding edge version which is built on every commit.
  • Update mimes list which a much larger version
  • Invites are now here! Feel free to invite your friends by creating one on the dashboard then sending a link to them so they can use your instance.
  • You can now upload text like you can on text uploading websites such as pastebin and hastebin which language support
  • The file viewer on the home page and files now is quite different. Videos, audio and text files will not be previewed, in order to view them you willl need to click on it an then the preview will show up. Text previewing has been added, using prismjs rendering and only a handful of languages are supported at the moment (syntax highlighting).
  • Switch to using feather-icons
  • You can now configure whether you want to hide the "files per user" table in /dashboard/stats for privacy reasons
  • You can now configure the apps title to anything you would like, including the one on the nav/header bar
  • Bunch of small changes to the front end to make UX more pleasing I hope
  • Files returned will now have a Content-Length header so when you download files it will show the remaining bytes left!
  • New error pages, 500, 404

Full Changelog: https://github.com/diced/zipline/compare/v3.4.7...v3.4.8

zipline - v3.4.7

Published by diced over 2 years ago

What's Changed

  • Add Openstack Swift support by @cestef in https://github.com/diced/zipline/pull/154
  • add link to xsel by @advilm in https://github.com/diced/zipline/pull/157
  • Multiple files had some refactoring done
  • Previewing files on the upload page works with audio and video
  • Exports on the manage page show their size
  • Password fields now use Mantine's PasswordInput which allows you to click an eye to show your input
  • Use of crypto.randomUUID instead of the npm package uuid
  • Switch from aws-sdk to minio for s3 support, endpoint for s3 is required now
  • You can set the region of s3 now DATASOURCE_S3_REGION or datasource.s3.region they default to us-east-1
  • Removal of scripts folder, no need for it anymore
  • Revamp error pages (404, 500, etc)
  • When logging in instead of showing notifications the fields will show an error
  • Fixed bug where when logging out the state does not reset (noticeable when logging out then logging into a different account where it would show the old user without doing a full refresh of the page)
  • Theres a loading overlay shown on all pages now
  • Probably a bunch of other stuff I forgot to include while reading the diffs

New Contributors

Full Changelog: https://github.com/diced/zipline/compare/v3.4.6...v3.4.7

zipline - v3.4.6

Published by diced over 2 years ago

What's Changed

  • Tons of refactoring to the code base: server code, ratelimits, configuration, readme
  • When hovering over uploads on the uploads page it will show info and a preview about the file
  • There is now a progress bar on the uploads page, though if only uploading one file on decent internet you probably see it for like 1 second
  • Added blur to password modal
  • Prisma migrations exit correctly when no there are no migrations to run
  • Videos work on embedded uploads (#145)
  • When you get ratelimited, the remaining seconds are in a header: X-Ratelimit-Remaining
  • Other small bugfixes

Full Changelog: https://github.com/diced/zipline/compare/v3.4.5...v3.4.6