Merge in fix for non-root file downloads

This commit is contained in:
joshuaboud 2021-12-01 12:54:30 -04:00
commit 944a775115
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E
7 changed files with 20 additions and 11 deletions

View File

@ -1,4 +1,3 @@
## Cockpit Navigator 0.5.7-1
## Cockpit Navigator 0.5.8-1
* Fix bug where loading spinner doesn't go away after upload dialog is cancelled.
* Add modification and creation time columns and allow sorting by them.
* Fix non-root user file downloads.

View File

@ -23,17 +23,17 @@ With no command line use needed, you can:
# Installation
## From Github Release
### Ubuntu
1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.7/cockpit-navigator_0.5.7-1focal_all.deb`
1. `# apt install ./cockpit-navigator_0.5.7-1focal_all.deb`
1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.8/cockpit-navigator_0.5.8-1focal_all.deb`
1. `# apt install ./cockpit-navigator_0.5.8-1focal_all.deb`
### EL7
1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.7/cockpit-navigator-0.5.7-1.el7.noarch.rpm`
1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.8/cockpit-navigator-0.5.8-1.el7.noarch.rpm`
### EL8
1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.7/cockpit-navigator-0.5.7-1.el8.noarch.rpm`
1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.8/cockpit-navigator-0.5.8-1.el8.noarch.rpm`
## From Source
1. Ensure dependencies are installed: `cockpit`, `python3`, `rsync`, `zip`.
1. `$ git clone https://github.com/45Drives/cockpit-navigator.git`
1. `$ cd cockpit-navigator`
1. `$ git checkout <version>` (v0.5.7 is latest)
1. `$ git checkout <version>` (v0.5.8 is latest)
1. `# make install`
## From 45Drives Repositories
### Automatic Repo Setup with Script

View File

@ -3,7 +3,7 @@
"name": "cockpit-navigator",
"title": "Cockpit Navigator",
"prerelease": false,
"version": "0.5.7",
"version": "0.5.8",
"buildVersion": "1",
"author": "Josh Boudreau <jboudreau@45drives.com>",
"url": "https://github.com/45Drives/cockpit-navigator",
@ -54,7 +54,7 @@
],
"changelog": {
"urgency": "medium",
"version": "0.5.7",
"version": "0.5.8",
"buildVersion": "1",
"ignore": [],
"date": null,

View File

@ -35,7 +35,7 @@ export class NavDownloader {
payload: 'fsread1',
binary: 'raw',
path: this.path,
superuser: true,
superuser: false,
max_read_size: this.read_size,
external: {
'content-disposition': 'attachment; filename="' + this.filename + '"',

View File

@ -32,6 +32,8 @@ rm -rf %{buildroot}
/usr/share/cockpit/navigator/*
%changelog
* Wed Dec 01 2021 Joshua Boudreau <jboudreau@45drives.com> 0.5.8-1
- Fix non-root user file downloads.
* Mon Nov 29 2021 Joshua Boudreau <jboudreau@45drives.com> 0.5.7-1
- Fix bug where loading spinner doesn't go away after upload dialog is cancelled.
- Add modification and creation time columns and allow sorting by them.

View File

@ -32,6 +32,8 @@ rm -rf %{buildroot}
/usr/share/cockpit/navigator/*
%changelog
* Wed Dec 01 2021 Joshua Boudreau <jboudreau@45drives.com> 0.5.8-1
- Fix non-root user file downloads.
* Mon Nov 29 2021 Joshua Boudreau <jboudreau@45drives.com> 0.5.7-1
- Fix bug where loading spinner doesn't go away after upload dialog is cancelled.
- Add modification and creation time columns and allow sorting by them.

View File

@ -1,3 +1,9 @@
cockpit-navigator (0.5.8-1focal) focal; urgency=medium
* Fix non-root user file downloads.
-- Joshua Boudreau <jboudreau@45drives.com> Wed, 01 Dec 2021 08:50:33 -0400
cockpit-navigator (0.5.7-1focal) focal; urgency=medium
* Fix bug where loading spinner doesn't go away after upload dialog is cancelled.