Commit Graph

537 Commits

Author SHA1 Message Date
Marc Ole Bulling
ace6df08e0 Formatting 2026-01-28 18:06:49 +01:00
Marc Ole Bulling
b8d8741d89 Added API for refreshing dashboard 2026-01-28 18:00:17 +01:00
Marc Ole Bulling
1d6a6d8c87 Fully functional dashboard, todo: implement API 2026-01-28 13:43:07 +01:00
Marc Ole Bulling
4fb1910c2d Add more stats to dashboard, disk space still placeholder, TODO: get stats and logs via API 2026-01-28 01:39:13 +01:00
Marc Ole Bulling
c3a6c092fb Improved logs UI design, added stats 2026-01-28 00:28:55 +01:00
Marc Ole Bulling
b1476f0f30 Toggle dropdown if navigator.share is not supported #330 2026-01-27 20:01:13 +01:00
Marc Ole Bulling
2c1909674c Fixed public upload UI, fixed some JS logic for public uploads 2026-01-27 16:58:20 +01:00
Marc Ole Bulling
3cc38f88bb Better form for login and change-password, possible fix for #351 2026-01-27 15:27:49 +01:00
Marc Ole Bulling
dc05b1417e Update docker version to go1.25.6 v2.2.0-rc1 2026-01-26 22:54:09 +01:00
Marc Ole Bulling
599d6eae05 Delete related API keys when deleting file request, added and improved tests 2026-01-26 22:20:19 +01:00
Marc Ole Bulling
f9ab0c01ca Fixed error in redis, that prevented saving file requests, added tests 2026-01-26 19:22:23 +01:00
Marc Ole Bulling
d52ea3f3cc Use in-memory for presigned URLs instead of database, added tests 2026-01-26 18:49:32 +01:00
Marc Ole Bulling
cea7900616 Updated docs 2026-01-26 17:47:11 +01:00
Marc Bulling
325849b94a Implementing guest upload / file requests (#337)
* Add API call to download files and optionally not increasing counter, added Download API permission

* Added option for presigned URLs and add download button in main menu

* Breaking: Check that chunks are at least 5MB

* Added docs

* A lot of refactoring and minor fixes
2026-01-26 16:23:07 +01:00
Marc Ole Bulling
e2ec083f1e Generate environment variables documentation automatically 2026-01-24 22:25:52 +01:00
Marc Ole Bulling
76c1b6bc8b Ensure int env variables are not negative 2026-01-24 21:06:19 +01:00
Marc Ole Bulling
145e51485a Added API call to change file owner, only admin/superadmin is now allowed to delete logs 2026-01-14 23:35:01 +01:00
Marc Ole Bulling
44d12bfaf7 Change file owner to API caller on /files/duplicate, fixed openapi.json 2026-01-14 15:57:59 +01:00
lif
4286d75b4d fix: prevent download of files with pending deletion status (#344)
Add check in GetFile() to return false for files that have a pending
deletion timestamp set. This fixes a race condition where files could
still be downloaded during the grace period after deletion was
scheduled but before the actual deletion occurred.

Fixes #341

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: majiayu000 <1835304752@qq.com>
2026-01-12 13:15:25 +01:00
Marc Ole Bulling
638b29fbbc Raise error if the database if from a newer Gokapi version 2026-01-12 12:30:25 +01:00
Marc Bulling
6b07bf0194 Check if enough free space is available before accepting an upload (#349), fixed docs 2026-01-12 12:08:54 +01:00
Marc Ole Bulling
568f535ba2 Make Dropzone uuid generation more secure 2026-01-06 15:48:44 +01:00
Marc Ole Bulling
c1d2bf9623 Better animation for permissions 2026-01-02 13:21:47 +01:00
Marc Ole Bulling
21725ef549 Added on hover effect for permission icons 2026-01-02 12:57:36 +01:00
Marc Ole Bulling
b490ada6a6 Change sqlite busy timeout to 30s 2026-01-01 12:39:43 +01:00
Marc Ole Bulling
2fafae8b60 Updated bootstrap icons, replaced bi-share with svg to fix #274 2025-12-31 12:32:12 +01:00
Marc Bulling
b761ee7d82 Use browser timezone instead of server timezone for UI, breaking API output for FileList (#343)
* Make dates in Upload view browser TZ, BREAKING change API output to UTC for ExpireAtString

* Changed user and api key overview to local TZ, increased JS version

* Fixed FileList API output to comply with API specs, fixed tests
2025-12-29 11:53:56 +01:00
Marc Ole Bulling
a8c79ce6ea Decrypt file info when restoring an e2e encrypted file 2025-12-20 21:05:09 +01:00
Marc Bulling
75745aebb8 Use short-lived tokens instead of user API keys (#340) 2025-12-20 21:02:17 +01:00
Marc Ole Bulling
14b2f7b645 Added warning if Redis persistence is disabled and added documentation 2025-12-04 17:31:26 +01:00
Marc Ole Bulling
5a03054f22 Fixed documentation regarding DB migration 2025-12-04 16:26:10 +01:00
Marc Ole Bulling
41682f205f Updated dependencies 2025-12-01 19:03:47 +01:00
Marc Ole Bulling
41545237be Fixed JS error when a user without Manage Users permission was creating a new API key, disable selection of API permissions for new keys when user does not have the required user permission 2025-12-01 18:55:09 +01:00
spaghetti-coder
84eb70edbb Add deprecation alerts, deprecate DOCKER_NONROOT in favor of docker --user ... (#327)
* deprecate DOCKER_NONROOT in favor of docker --user ...

* remove redundant named volumes creation in compose
* remove DOCKER_NONROOT from demo env file
* add deprecation warning to docker entrypoint
* update documentation

* Added feature to show deprecation messages in UI and logs
Added deprecation message for Docker_NONROOT
Fixed documentation

---------

Co-authored-by: Marc Ole Bulling <Marc-Ole@gmx.de>
2025-11-04 22:26:04 +01:00
Paul Draeger
a1efcdf2cf Added env variable to set a minium password length (#312)
Co-authored-by: Marc Ole Bulling <Marc-Ole@gmx.de>
2025-10-20 17:48:46 +02:00
Marc Ole Bulling
8c375e9031 Fixed Docker image not displaying git commit hash #309 2025-10-20 15:41:33 +02:00
Marc Bulling
8765878270 Delete .github/workflows/codeql.yml 2025-10-19 22:49:03 +02:00
Marc Bulling
174fa4f21e Create codeql.yml 2025-10-19 22:35:08 +02:00
Marc Ole Bulling
d3d56cc7a9 Fixed possible null-pointer exception, fixed Docker binary not showing git details #309 2025-10-19 21:42:54 +02:00
Marc Ole Bulling
f68efc57a2 Better error handling for permission errors or other file related errors #326 2025-10-19 21:10:35 +02:00
Marc Ole Bulling
077570c0ff Only allow expiry for up to 100000 days (270 years) 2025-10-15 15:54:18 +02:00
Marc Ole Bulling
dfd55462ea Fixed not being able to paste into input fields #321 2025-10-15 15:32:01 +02:00
Marc Ole Bulling
d774d2c1be Added feature to use custom favicon #305 2025-08-30 22:06:17 +02:00
Marc Ole Bulling
e26bc3a087 Added noindex tag #304 2025-08-30 20:34:22 +02:00
Marc Ole Bulling
1a6678eb38 Fixed documentation v2.1.0 2025-08-29 14:56:13 +02:00
Marc Ole Bulling
4009d3cd13 Added documention note for CLI tool 2025-08-29 14:44:48 +02:00
Marc Ole Bulling
28d1660482 Added changelog 2025-08-29 14:15:40 +02:00
Marc Ole Bulling
a4278fa399 Fixed docker-compose 2025-08-29 14:01:17 +02:00
Marc Ole Bulling
ff6cc6895f Minor refactoring 2025-08-29 13:39:43 +02:00
Marc Ole Bulling
16e4079ffa Fixed tests 2025-08-29 11:20:07 +02:00