Commit Graph

37 Commits

Author SHA1 Message Date
Pitu aa7d245317 feat: Add hash checking for chunked uploads 2020-12-27 04:48:03 +09:00
Pitu e97fee4844 Fixes chunked uploads not being saved to albums or thumbnails 2020-12-27 04:27:56 +09:00
Pitu f73cde6bb5 Chore: Move database to a subfolder for docker purposes 2020-12-25 03:58:19 +09:00
Zephyrrus 90001c2df5 chore: remove trailing commas 2020-12-24 10:40:50 +02:00
Zephyrrus 645b62b81d Merge branch 'dev' into dev-zephy 2020-07-19 22:35:59 +03:00
Pitu d644b21d43 Make thumbnails webp (bye bye safari) 2020-07-18 05:50:47 +09:00
Pitu b70a75da1a Fix for real 2020-07-18 03:37:52 +09:00
Pitu 6dd7500084 Fix deleting files without thumb 2020-07-18 03:35:08 +09:00
Pitu 407fb8bcc3 Fix authorization 2020-07-18 03:05:12 +09:00
Pitu 5f58431409 Fix authorization 2020-07-18 02:57:24 +09:00
Pitu 4dafc79cb7 fix authorization 2020-07-18 02:55:05 +09:00
Zephyrrus ad852de51a chore: linter the entire project using the new rules 2020-07-08 04:00:12 +03:00
Zephyrrus eccbb1ca93 fix: errors in Util caused by separating into different classes improperly 2020-07-08 02:32:12 +03:00
Zephyrrus 1e1f3fbb27 feat: experimental videos in grid 2020-07-04 23:18:51 +03:00
Zephyrrus a790d7749e feat: add experimental meaningful preview extraction from videos
For now, it sitll requires gifski. It could be rewritten to use webp instead of gifs, because that is a lot faster, uses less space and we could use ffmpeg for it.
2020-07-02 03:42:20 +03:00
Zephyrrus 42f1a1003a feat: externalize thumb generation function for easier testing 2020-07-02 03:12:12 +03:00
Zephyrrus 3e1677c18a fix: remove .bmp from the imageExtensions because sharp doesn't support it
Trying to generate a thumb would throw a not supported exception, which would crash newer node.js versions because the process (on older version, it would only throw a UnhandledPromiseRejectionWarning)
2020-07-01 20:13:34 +03:00
Zephyrrus 520062508c feat: backend pagination
serverLoad++;
userRamUsage--;
2020-06-29 22:18:42 +03:00
Pitu a639b85734 Fix: consistent hash of uploads 2020-05-09 23:56:35 +09:00
Pitu 459ab5433b chore: remove exif strip support.
After some thought, modifying uploaded files is not something I want to support.
2019-10-12 14:58:58 +09:00
Pitu c121bd42f3 chore: upload fixes 2019-10-12 14:37:09 +09:00
Pitu 579e1e754a feature: uploader with chunks support 2019-10-01 14:11:16 -03:00
Pitu af9d752eaf Add uuid package 2019-03-14 23:13:51 +09:00
Pitu 4277db90f6 Possible fix for files not being purged 2019-03-12 06:18:32 +00:00
Pitu ce76a8ec7b Be able to add a file to multiple albums 2019-03-02 22:07:24 +09:00
Pitu 73d85e8c79 Enviroment variables parsing fix 2019-03-02 02:08:11 +09:00
Pitu 9f5a3d15f5 Purge user's files 2019-02-28 23:51:59 +09:00
Pitu fc95cb7b0f Better DB handling and stuff 2019-02-23 00:45:45 +09:00
Kana df90d3157a
Update Util.js 2019-02-22 15:07:37 +09:00
Pitu c7a4a39de4 Add support for sqlite 2019-02-22 00:00:07 +09:00
Pitu 25c5a06ec3 derp 2019-02-21 23:05:56 +09:00
Pitu 89a271818e Switch config to .env 2019-02-19 23:52:24 +09:00
Pitu 4b2b02110b We can now download albums yayyyy 2018-09-18 03:34:00 -03:00
Pitu 1fe6f579f9 Delete thumbs when deleting a file 2018-09-18 01:44:58 -03:00
Pitu c2c6e99878 Public albums wooo! 2018-09-17 04:38:25 -03:00
Pitu d777439c7b Flawed logic on the async retry 2018-09-16 17:53:26 -03:00
Pitu a42cf4400e Utils 2018-09-16 00:55:41 -03:00