From fa3ed6b948e8c30e06f9b4e9bf48b51f1a9f673b Mon Sep 17 00:00:00 2001
From: Graham Steffaniak <42989099+gtsteffaniak@users.noreply.github.com>
Date: Sat, 3 Aug 2024 10:34:12 -0500
Subject: [PATCH] v0.2.7 update
---
.gitignore | 1 +
CHANGELOG.md | 8 +
README.md | 99 ++++--
backend/http/public.go | 2 +-
backend/http/users.go | 32 +-
backend/settings/config.go | 2 +
backend/settings/structs.go | 1 +
backend/storage/bolt/users.go | 4 +-
backend/users/users.go | 1 +
frontend/src/api/users.js | 4 +
frontend/src/components/ButtonGroup.vue | 24 +-
frontend/src/components/FileSelection.vue | 168 +++++++++
frontend/src/components/Search.vue | 93 +++--
frontend/src/components/Sidebar.vue | 330 ++++++++++++++----
frontend/src/components/header/Action.vue | 4 +-
frontend/src/components/prompts/Move.vue | 6 +-
frontend/src/components/prompts/Upload.vue | 128 ++++++-
.../src/components/prompts/UploadFiles.vue | 65 ----
.../src/components/settings/Languages.vue | 8 +-
frontend/src/css/base.css | 99 +-----
frontend/src/css/dark.css | 9 -
frontend/src/css/dashboard.css | 4 +-
frontend/src/css/listing.css | 6 +-
frontend/src/css/styles.css | 41 +--
frontend/src/css/upload-files.css | 61 ----
frontend/src/store/getters.js | 25 +-
frontend/src/store/mutations.js | 49 ++-
frontend/src/store/state.js | 10 +-
frontend/src/utils/upload.js | 22 +-
frontend/src/views/Files.vue | 20 +-
frontend/src/views/Layout.vue | 34 +-
frontend/src/views/Share.vue | 24 +-
frontend/src/views/bars/Default.vue | 7 -
frontend/src/views/bars/ListingBar.vue | 21 +-
frontend/src/views/files/ListingView.vue | 121 +------
frontend/src/views/files/Preview.vue | 3 +
frontend/src/views/settings/Profile.vue | 17 +-
makefile | 5 +-
roadmap.md | 25 +-
39 files changed, 921 insertions(+), 662 deletions(-)
create mode 100644 frontend/src/components/FileSelection.vue
delete mode 100644 frontend/src/components/prompts/UploadFiles.vue
delete mode 100644 frontend/src/css/upload-files.css
diff --git a/.gitignore b/.gitignore
index 9fdd14b7..14907522 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@ rice-box.go
/frontend/package-lock.json
/backend/vendor
/backend/*.cov
+/backend/test_config.yaml
.DS_Store
node_modules
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 78966d50..b321a1ed 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file. For commit guidelines, please refer to [Standard Version](https://github.com/conventional-changelog/standard-version).
+## v0.2.7
+
+ - **Change**: New sidebar style and behavior
+ - **Change**: make search view and button behavior more consistent.
+ - **Fix**: [upload file bug](https://github.com/gtsteffaniak/filebrowser/issues/153)
+ - **Fix**: user lock out bug introduced in 0.2.6
+ - **Fix**: many minor state related issues.
+
## v0.2.6
This change focuses on minimizing and simplifying build process.
diff --git a/README.md b/README.md
index 47836c91..5d411b3a 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
-
+
@@ -10,10 +10,13 @@
> [!WARNING] -> Starting with v0.2.0, *ALL* configuration is done via `filebrowser.yaml` configuration file. -> Starting with v0.2.4 *ALL* share links need to be re-created (due to security fix). +> Starting with v0.2.0, *ALL* configuration is done via `filebrowser.yaml` +> configuration file. +> Starting with v0.2.4 *ALL* share links need to be re-created (due to +> security fix). -This fork makes the following significant changes to filebrowser for origin: +This fork makes the following significant changes to filebrowser for +origin: 1. [x] Better search - Lightning fast @@ -21,7 +24,8 @@ This fork makes the following significant changes to filebrowser for origin: - Works with more type filters - interactive results page. 2. [x] Revamped and simplified GUI navbar and sidebar menu. - - Additional compact view mode as well as refreshed view mode styles. + - Additional compact view mode as well as refreshed view mode + styles. 3. [x] Revamped configuration via `filebrowser.yml` config file. - More configurations possible at a per-user level -
-
-
-
-
+
+
+
+
- autorenew -
- -{{ noneMessage }}
-- Search occurs on each character you type (3 character minimum for search - terms). -
-- The index: Search utilizes the index which automatically gets updated - on the configured interval (default: 5 minutes). Searching when the program - has just started may result in incomplete results. -
-
- Filter by type: You can have multiple type filters by adding
- type:condition
followed by search terms.
-
- Multiple Search terms: Additional terms separated by |
,
- for example "test|not"
searches for both terms independently.
-
- File size: Searching files by size may have significantly longer - search times. -
-Smaller Than:
+ autorenew +
+ +{{ noneMessage }}
++ Search occurs on each character you type (3 character minimum for search + terms). +
++ The index: Search utilizes the index which automatically gets updated + on the configured interval (default: 5 minutes). Searching when the program + has just started may result in incomplete results. +
+
+ Filter by type: You can have multiple type filters by adding
+ type:condition
followed by search terms.
+
+ Multiple Search terms: Additional terms separated by |
,
+ for example "test|not"
searches for both terms independently.
+
+ File size: Searching files by size may have significantly longer search + times. +
+