Commit Graph

100 Commits

Author SHA1 Message Date
Marc Ole Bulling c3a6c092fb Improved logs UI design, added stats 2026-01-28 00:28:55 +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
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
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 ff6cc6895f Minor refactoring 2025-08-29 13:39:43 +02:00
Marc Ole Bulling 8783499163 Switch to Go1.25, remove legacy upgrade code, small refactoring 2025-08-29 11:02:00 +02:00
Marc Ole Bulling 04d0e4e175 Added option in gokapi-cli to zip and upload a folder #294, edited documentation 2025-08-28 21:57:35 +02:00
Marc Ole Bulling 3dd574002a Allow changing of configuration file for docker #292, refactoring, comments 2025-08-28 20:05:15 +02:00
Marc Ole Bulling 24769223c2 Better error handling for CLI, updated documentation #288 2025-08-09 11:36:47 +02:00
Marc Ole Bulling 328ce98037 Added short flags to CLI #289 2025-08-09 09:56:04 +02:00
Marc Ole Bulling 25fb6351be Added Docker release for CLI, updated documentation, added docker-specific features to CLI 2025-08-08 23:29:53 +02:00
Marc Bulling 9a574dbed5 Added a CLI tool for uploading that also supports e2e (#280) 2025-08-08 16:51:54 +02:00
Marc Ole Bulling b1349ae34d Automatically create changelogs from Github releases, fixed spelling 2025-06-26 14:21:33 +02:00
Marc Ole Bulling e60e5c5472 Fixed upload failing or showing incorrect filename for non-ASCII filenames #269, added option to base64 encode filename in API, fixed API documentation 2025-06-08 16:23:51 +02:00
Marc Ole Bulling 1969d43dd9 Fixed JS function being overwritten in last commit, added DB cache, fixed tests 2025-05-31 12:55:40 +02:00
Marc Bulling 6d68134240 Added upload timestamp to metadata and API output, sort by upload data in main menu (#260) 2025-05-25 16:20:31 +02:00
Marc Bulling f36d39e728 Added extended logging (#240), fixed bug that prevented setting Manage_Users API permission on new API key, added Manage_Logs API permission
* Added Manage_Logs API permission, added API endpoint to delete logs, added more logging, added filtering and deletion of logs in UI, fixed bug that prevented setting Manage_Users API permission on new API key
2025-03-21 15:06:17 +01:00
Marc Bulling d88f649209 Add support for multiple different users, rewrote API, breaking API changes, UI changes
* Require 1.9.6 for upgrade, add function to get userID from request

* Automatically add user when successfully authenticated with headers / oauth, disallow modifing own user permissions

* Dont show user/pw page when using header authentication

* Only display redacted versions of API keys #228, fixed deployment password

* Added animation for deleting API key

* Only create salt once

* Disable elements on upload UI if insufficient permissions

* BREAKING: User field must be email for OAUTH2, added warning in setup when changing database

* BREAKING: Added option to restrict to only registered users

* Fixed crash due to concurrent map iteration

* Replace /uploadComplete with API call, BREAKING API is now in headers

* BREAKING: require true|false instead of only checking for true

* BREAKING API: Renamed apiKeyToModify parameter to targetKey
2025-02-04 09:22:55 +01:00
Marc Ole Bulling 34873b5680 Split JS into multiple files for better maintenance, changed version number 2024-12-18 15:31:12 +01:00
Marc Ole Bulling c167e752f3 Add API call and GUI option to replace content of files, API returns 404 on invalid file IDs, better handling for E2E errors 2024-12-15 17:07:29 +01:00
Marc Ole Bulling df952052fb Display error message on UI download failed due to CORS not set properly #217 2024-12-11 11:38:12 +01:00
Marc Ole Bulling 1e43148ab6 Fix for #216, updated versions and go build 2024-12-08 16:05:48 +01:00
Marc Ole Bulling 945b50cb5e Changed version number 2024-12-07 20:57:36 +01:00
Marc Ole Bulling 1a0b7f90f8 Updated version number and changelog 2024-12-07 09:21:59 +01:00
Marc Ole Bulling 0ec822fb55 Changed version number 2024-09-30 17:06:16 +02:00
Marc Ole Bulling 4f71a2b1c3 Fix processing/uploading status not showing after upload #193, updated comment in string_constants.tmpl 2024-07-22 20:12:58 +02:00
Marc Ole Bulling 94def515ca Added tests, changed version number 2024-07-15 13:30:28 +02:00
Marc Ole Bulling e704904ed1 Updated version numbers 2024-07-12 19:52:24 +02:00
Marc Ole Bulling b56970bf88 Add Redis support / make database location and provider selectable in setup (#180) 2024-07-07 22:13:51 +02:00
Marc Ole Bulling 08a81fa454 Updated Docker Go build version, updated version number 2024-05-29 13:49:06 +02:00
Marc Ole Bulling 83185a9a2f Updated version number 2024-05-27 16:48:16 +02:00
Marc Ole Bulling 5a31cd5d63 Added deployment-password flag, generate salts if invalid, added section for automatic deployment to docs 2024-05-22 23:12:45 +02:00
Marc Ole Bulling b59fe814ef Fixed Keycloak documentation regarding group mappings #158, minor change to version info output 2024-04-30 11:44:53 +02:00
Marc Ole Bulling 1951a268aa Removed wasm_exec.min.js from git repo, changed to go1.22, updated version number 2024-04-20 15:10:37 +02:00
Marc Ole Bulling 807b270124 Removed debug output 2024-04-13 19:43:06 +02:00
Mason Francis a7786f051d Add flag to install Gokapi as a systemd service (#152)
Co-authored-by: Marc Ole Bulling <Marc-Ole@gmx.de>
2024-04-13 19:38:55 +02:00
Marc Ole Bulling 729185faea Added env variable to disable CORS check 2024-04-13 00:21:29 +02:00
Marc Ole Bulling a08cd2e8f1 Updated version number and changelog 2024-02-07 16:27:40 +01:00
Marc Ole Bulling 64de638e0c Updated documentation, version number 2023-12-09 13:31:58 +01:00
Marc Ole Bulling c68afacaa5 Added permission model for API keys #79, replaced button text with icons 2023-11-28 13:47:51 +01:00
Marc Ole Bulling 1d0bde6644 Changed to sqlite, dropped Windows 32bit support, fixed data dir env not being persistant #115, updated readme 2023-11-21 20:50:30 +01:00
Kwonunn f890e416fc Fix the ASCII logo 2023-09-17 13:17:19 +02:00
Marc Ole Bulling 59271c2ff2 Added option to change the name in the setup, show filename in title for downloads, use sessionStorage instead of localStorage for e2e decryption, replaced expiry image with dynamic SVG 2023-05-13 14:33:37 +02:00
Marc Ole Bulling 1e75b9641d Updated version number 2023-04-14 19:42:26 +02:00
Marc Ole Bulling 569e0d2c1c Updated version number 2023-04-14 15:41:47 +02:00
Marc Ole Bulling 87145635d8 Minify CSS and JS, removed shadow from text input 2023-04-03 20:33:37 +02:00
Marc Ole Bulling a23a0999f0 Added go:generate for protected URLs, fixed test and reduced time for Setup test significantly, updated dependencies 2023-04-01 16:45:37 +02:00
Marc Ole Bulling da13408e1d Removed deprecated rand.Seed, set min Go version to 1.20+ 2023-03-31 14:22:40 +02:00