Commit Graph

33 Commits (master)

Author SHA1 Message Date
Jonatan Nilsson d1bab7a929 formidable: Add support for site-specific filesize
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2023-11-29 21:57:14 +00:00
Jonatan Nilsson afde7fb89a cors: Add proper full cors support to all the media routes
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2023-11-15 13:21:22 +00:00
Jonatan Nilsson 8d0265d0fe cors: Fix cors to allow any if site allows cors
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2023-11-15 10:07:20 +00:00
Jonatan Nilsson 81c9603ea0 Add cors support for sites that request it
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2023-11-15 08:52:58 +00:00
Jonatan Nilsson ec81950c42 formidable: Fix typo in regex
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-10-17 09:47:03 +00:00
Jonatan Nilsson a578e2fd80 formidable: Replace spaces and other illegal characters with url cleaner version.
continuous-integration/appveyor/branch AppVeyor build failed Details
resize: Auto filter out null values
2022-10-17 09:45:28 +00:00
Jonatan Nilsson 75929e7c17 routes: Fix path joining when removing files and traverse detection
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-08-16 08:36:08 +00:00
Jonatan Nilsson b931dfb784 unlinkFile: Fix so it decodes the uri path. Also add some safety checks
continuous-integration/appveyor/branch AppVeyor build failed Details
2022-08-16 08:30:27 +00:00
Jonatan Nilsson f1be7e0d79 server: Fix logging for health, aggregate them into 12 * 60 * 60 instances
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-08-15 20:22:21 +00:00
Jonatan Nilsson 9790f298f3 Fix init being smarter and less io intensive, skip reading size of files during startup
continuous-integration/appveyor/branch AppVeyor build failed Details
2022-08-15 19:51:13 +00:00
Jonatan Nilsson 71c8937f93 Minor tweaks and test
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-08-15 09:05:05 +00:00
Jonatan Nilsson 7755847af3 server: Add specific health check route that doesn't spam logs
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-08-15 08:39:59 +00:00
Jonatan Nilsson 675994f129 server: Log config sites on startup
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-08-14 00:03:57 +00:00
Jonatan Nilsson 666c4bee89 Use service-core 2022-08-13 21:52:45 +00:00
Jonatan Nilsson 9a0fca4a22 noprefix now auto-adds prefix if file exists.
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-08-13 01:03:06 +00:00
Jonatan Nilsson 2b31fce045 Server: Update and clean logging a bit
continuous-integration/appveyor/branch AppVeyor build succeeded Details
Sharp: Switch back to sharp due to bugs in main sharp git.
2022-04-07 17:15:27 +00:00
Jonatan Nilsson f4afd8bfae media: Add route that can resize existing uploaded image
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-04-07 11:35:29 +00:00
Jonatan Nilsson 1abe64cb09 Added few more operation support in the API 2022-01-06 09:51:43 +00:00
Jonatan Nilsson 58553f3e34 Many updates. Added ability to upload prefix-less files. Added ability to remove files.
Breaking: Renamed name to filename when listing files in folder.
Breaking: Fixed the schema response for /media/resize. It is now consistent with other upload methods.
2022-01-06 09:01:10 +00:00
Jonatan Nilsson 68eef3a6b6 Complete refactor, features and optimization of code
Removed large amount of dependencies.
Added vips support and automatically resizing based on any criteria.
Faster and leaner.
Added ability to fetch listing of files in folders.
2022-01-05 14:47:51 +00:00
Jonatan Nilsson d2e263afbe Fix logging, fix a few bugs, add docker file, move files a bit and add auto build and publish to docker 2021-10-11 03:39:01 +00:00
Jonatan Nilsson 799c4419dc cleanup debug code and last of circleci bugs 2021-10-11 02:21:20 +00:00
Jonatan Nilsson 4780813d3d more debug code for circleci 2021-10-11 02:09:18 +00:00
Jonatan Nilsson 36c45c9353 more debug code for circleci 2021-10-11 01:40:18 +00:00
Jonatan Nilsson d601ce169d add slight debug stuff to figure out why circleci tests are failing 2021-10-11 01:36:36 +00:00
Jonatan Nilsson bf508fc5b8 Replace multer with formidable 2021-10-11 00:56:22 +00:00
Jonatan Nilsson 0961d4b2dd Remove some koa leftovers 2021-10-11 00:22:44 +00:00
Jonatan Nilsson 11c1133696 Finished unit test, refactored to use flaska instead of koa 2021-10-11 00:21:57 +00:00
Jonatan Nilsson 2b53b48a5d Lots of development and cleanup of dependencies 2021-10-09 00:11:52 +00:00
Jonatan Nilsson dc462a3d53 Huge update and cleanup on dependencies and test environment among other stuff 2021-07-03 13:56:53 +00:00
Jonatan Nilsson 4dee8dfbb2 implemented storage uploader 2017-12-10 09:45:38 +00:00
Jonatan Nilsson aa15a46b61 Remove references to lodash 2017-12-09 22:55:25 +00:00
Jonatan Nilsson 0ee7b6f8cb bootstrapped project 2017-12-09 21:51:18 +00:00