Commit Graph

86 Commits

Author SHA1 Message Date
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 Ole Bulling
ba729b11eb Updated to Go1.24, updated dependencies (fixing CVE-2025-22868) 2025-02-25 20:16:02 +01:00
Marc Ole Bulling
472935bb33 Updated version numbers to clear cache 2025-02-05 14:25:25 +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
aebd5a439e Split admin.js into two JS files, refactoring 2024-12-17 23:53:43 +01:00
Marc Ole Bulling
b73fadee03 Added animation for increasing download count, updated dependencies 2024-12-12 11:09:00 +01:00
Marc Ole Bulling
94ef26027c Update docker build to go 1.23.4 2024-12-07 09:27:06 +01:00
Marc Ole Bulling
ddc72b0a98 Use API for most of UI interactions with an internal API key (#211), breaking API changes
* Changed color of API procressing status

* Added internal system key, use system key for API page perm changes, BREAKING: removed session auth

* API: Added /auth/delete, added option to include basic parameters in /auth/create, migrated API overview page completely to use API calls

* Added toast in API menu for clipboard, removed reference to session authentication in documentation

* Changed delete button in upload menu to API call, fixed modify API call in menu #210

* Set Api key in API menu for changing permissions, renamed title for Deleting Uploads permission, refactoring

* Added tests, refactoring
2024-12-05 13:55:11 +01:00
Marc Ole Bulling
14bddd55c4 Add risc-5 support 2024-08-05 17:14:41 +02:00
Marc Ole Bulling
f08490e69e Fixed crash after running setup and changing encryption #197, changed versioning of css/js files to prevent caching #195 2024-07-26 14:19:51 +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
5b118b5afd Change default builder to podman, add win/arm64 2024-07-07 22:21:19 +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
f7ba24913d Added tests, fixed typo 2024-06-15 22:51:20 +02:00
Kwonunn
2347bcfd2f Make go generate work on Windows 2024-06-15 22:07:49 +02:00
Marc Ole Bulling
933ad58f81 Removed legacy DB upgrade option, added tests
-
2024-06-10 16:35:16 +02:00
Marc Ole Bulling
b14d9f9e51 Added tests and coverage to makefile, updated dependencies, added tests 2024-06-09 17:43:45 +02:00
Marc Ole Bulling
6beabdebc3 Added option to display filenames in URL (#171), breaking API changes, refactoring, update OpenAPI 2024-06-08 21:52:14 +02:00
Marc Ole Bulling
9dc9aa5df8 Added makefiles 2024-06-07 19:18:18 +02:00
Marc Ole Bulling
3b7cdae6fd Added settings to set the chunk size and amount of parallel uploads for faster upload speed, fixes #162. Updated documentation 2024-06-07 16:38:59 +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
99e10345e7 Fixed building for windows, disable systemd check on windows 2024-04-20 15:41:18 +02:00
Marc Ole Bulling
e4ec6bf666 Fixed Dockerfile for manual build 2024-04-20 15:31:21 +02:00
Marc Ole Bulling
404ab72118 Updated dependencies 2024-04-20 15:19:39 +02:00
Marc Ole Bulling
12a88ef6ed Use go1.22.1-alpine build base, as armv6 support is dropped on the regular image 2024-03-26 14:18:32 +01:00
Marc Ole Bulling
0d4653ee9e Use Go 1.22 as build image, add custom releaser workflow 2024-03-26 13:58:32 +01:00
Marc Ole Bulling
2461875e60 Updated Go to 1.22.1, updated dependecies 2024-03-26 13:44:15 +01:00
Marc Ole Bulling
e8fa01c92a Fixed typo in documentation, updated dependencies 2024-03-26 09:48:53 +01:00
Marc Ole Bulling
0c67f4d7b3 Added better error handling for OIDC authentication, updated dependencies 2024-01-17 21:57:13 +01:00
Marc Ole Bulling
fa4c0bc35d Changed OIDC promt to "consent" instead of "select_account" #121, updated dependencies 2024-01-17 16:18:52 +01:00
Marc Ole Bulling
c88c9f8421 Updated API documentation, changed Go Build to 1.21 2023-12-09 13:55:31 +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
06e934daa0 Added tests, removed file data for e2e config from database 2023-11-22 13:19:18 +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
Marc Ole Bulling
2b5c2596d2 Updated documention on how to re-run the setup on Docker 2023-11-17 17:04:15 +01:00
Marc Ole Bulling
4114cc7a06 Updated dependencies 2023-10-12 14:34:56 +02:00
Marc Ole Bulling
358a32af91 Removed app_name from templateVersions 2023-05-13 20:16:56 +02:00
Marc Ole Bulling
9a913492ac Fixed background not loading #101, removed duplicate call from minify go:generate 2023-04-14 19:40:21 +02:00
Marc Ole Bulling
d2eae38b50 Fixed CSS minify process 2023-04-14 16:05:29 +02:00
Marc Ole Bulling
0ccca6cf19 Refactoring, table now searchable when using E2E encryption #99 2023-04-14 15:35:26 +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
0eefdb1ed2 Added QR code button #97, fixed button order on new upload 2023-04-03 15:09:40 +02:00
Marc Ole Bulling
246b3f5edc Upload status display is now handled natively with SSE instead of the Dropzone object. #26 #85
Protected URLs are generated to the documentation with go:generate automatically
2023-04-03 02:08:17 +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
Marc Ole Bulling
a97979a899 Replaced go generate commands with native go code 2023-03-31 13:56:25 +02:00
Marc Ole Bulling
2d57cd663a Update upload count dynamically #92, remove debug log, update dependencies 2023-03-10 21:30:07 +01:00
Marc Ole Bulling
a313d26718 Added log viewer, set JS versions through go generate 2023-02-13 23:25:47 +01:00
Marc Ole Bulling
a03b7469ed Update Go to 1.20 2023-02-13 22:30:22 +01:00
Marc Ole Bulling
74b5d3572a Updated OpenApi specs, fixed test 2022-12-14 23:14:06 +01:00