Uguu Versions Save

Uguu is a simple lightweight temporary file host with support for drop, paste, click and API uploading.

v.1.8.6

2 weeks ago

Uguu 1.8.6

This version of Uguu requires a minimum of PHP version 8.3.

Whats new

  • Includes INDEX creation in the dbSchemas files, this greatly improves performance when performing filename generation, antidupe, blacklist or rate-limit checks against the database, especially on big databases. It's recommended you follow the instructions below on how to add INDEX.
  • time() is called once in connector to get a timestamp instead of multiple times.
  • The function diverseArray is now called transposeArray, the variables within the function are also renamed to make it easier to understand.
  • The function uploadFile performs a check if BENCHMARK_MODE is set in the configuration, if it is the file will not be uploaded.
  • Benchmarking capbility added.
  • Docs updated with how to use Benchmarking and also a Optimization Guide.

Breaking changes

  • config.json must include the "BENCHMARK_MODE" value, should be set to false when not benchmarking, otherwise file(s) will not be uploaded.

Add INDEX to an existing Uguu installation

SQLite

CREATE INDEX files_hash_idx ON files (hash);
CREATE INDEX files_name_idx ON files (filename);
CREATE INDEX ratelimit_iphash_idx ON ratelimit (iphash);
CREATE INDEX blacklist_hash_idx ON blacklist (hash);

PostgreSQL

CREATE INDEX files_hash_idx ON files (hash);
CREATE INDEX files_name_idx ON files (filename);
CREATE INDEX ratelimit_iphash_idx ON ratelimit (iphash);
CREATE INDEX blacklist_hash_idx ON blacklist (hash);

MySQL

CREATE INDEX files_hash_idx ON files (hash);
CREATE INDEX files_name_idx ON files (filename);
CREATE INDEX ratelimit_iphash_idx ON ratelimit (iphash);
CREATE INDEX blacklist_hash_idx ON blacklist (hash);

v.1.8.5

3 weeks ago

This is a breaking change!

This version of Uguu requires a minimum of PHP version 8.3.

Changes:

  • Replaced the name generator method with the new Randomizer function available in PHP 8.3.
  • Formatting.
  • Updated docs.

v.1.8.4

4 months ago

This is a breaking change, src/Classes/Upload.php and src/config.json needs to be updated! Recommended to update entire Uguu.

Changes:

  • Added LICENSE file.
  • Updated copyright/license notice in files.
  • Updated some function documentation in files.
  • Updated how file extension & MIME type filtering is handled, you can now put it in whitelist or blacklist mode.
  • Fixed a possible bug where rate limit and filtering rules might default to true even if config is set to false.
  • Updated config.json, BLOCKED_MIME & BLOCKED_EXTENSIONS are now FILTER_MIME and FILTER_EXTENSIONS.
  • Updated installation documentation

v.1.8.3

4 months ago

Make sure you read the V1.8.0 release note before upgrading to this version if your current version in below 1.8.0.

Changes:

  • Flattr donation setting removed since it has been shut down.
  • Ethereum donation setting added.
  • Updated default API template.
  • Minor CSS change.

v.1.8.2

5 months ago

Make sure you read the V1.8.0 release note before upgrading to this version if your current version in below 1.8.0.

Changes:

  • Added rate limit table cleanup, if the hash has not seen an upload for 24 hours it gets removed.

v.1.8.1

7 months ago

Make sure you read the V1.8.0 release note before upgrading to this version if your current version in below 1.8.0.

Changes:

  • Added a configuration value for "take down response time" for the FAQ.

v1.8.0

7 months ago

Be sure to read the documentation before you upgrade from a earlier version since there are many major changes!

  • Fixed up uguu.js so it's a tad more modern or at least ES6+ ish compliant.
  • Fixed the issue where the progress bar jumps from 0% to 100% with nothing inbeetwen, this was due to the JS minifier breaking the code.. :) Resolved by switching from the module "Minify" to "Node-Minify" and using "node-minify/uglify-es".
  • CSS is now compressed using "cssnano"
  • Fixed so you can set the response type format you want from the API, it was overriding to JSON before which it was not supposed to do.
  • Corrected some spelling errors in the FAQ.
  • Replaced the tools page with a API page which explains how to use it.
  • Added an option in config.json if the Github nav link show be shown or not.
  • Added the FAQ link to the navbar.
  • Added minimum version of NodeJS for compilation to work. (18)
  • Added so file url links now open in a new tab.
  • Removed the checkDB and checkFiles bash scripts, this will instead be handled in a PHP script by adding it to cron. This will also read the expire value from the config file rather then having to set it manually in the script.
  • Added a expireTimeUnit to the config file so one isn't forced to use just hours, it support setting it to minutes, hours, days, weeks, months and years.
  • I've decided to remove Docker support from this release and re-do it and make it a bit better.
  • Other minor improvements.

v1.7.6

8 months ago

v1.7.5

8 months ago
  • Bumped ejs to v3.1.9 since v3.1.8 together with Node.js v20.5.1 seems to fail to include the templates.
  • Bumped up minify to v10.3.0.
  • Bumped up node-jq to v4.0.1.
  • Minor cleanup.

v1.7.4

9 months ago

Bugfixes:

  • Changed so the upload function uses the function hash_file instead of hash, otherwise it won't return the hash of the file but rather the temporary file name's hash which will break anti-dupe.
  • Changed so the Makefile removes the existingdist upon running make install.