Skip to content

Commit

Permalink
Merge pull request #32 from 45Drives/dev-josh
Browse files Browse the repository at this point in the history
Fix permissions & ownership while editing files, add edit and upload buttons
  • Loading branch information
joshuaboud authored Oct 4, 2021
2 parents bc95746 + a51cebb commit 0f4b9d0
Show file tree
Hide file tree
Showing 22 changed files with 407 additions and 282 deletions.
8 changes: 3 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
## Cockpit Navigator 0.5.4-1
## Cockpit Navigator 0.5.5-1

* Add fuzzy search.
* Optimize folder uploads.
* Fix bugs with selecting entries and renaming files.
* Stop user from deleting or renaming system-critical paths.
* Fix maintaining file permissions and ownership after editing file.
* Add file upload button to top bar.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.4/cockpit-navigator_0.5.4-1focal_all.deb`
1. `# apt install ./cockpit-navigator_0.5.4-1focal_all.deb`
1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.5/cockpit-navigator_0.5.5-1focal_all.deb`
1. `# apt install ./cockpit-navigator_0.5.5-1focal_all.deb`
### EL7
1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.4/cockpit-navigator-0.5.4-1.el7.noarch.rpm`
1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.5/cockpit-navigator-0.5.5-1.el7.noarch.rpm`
### EL8
1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.4/cockpit-navigator-0.5.4-1.el8.noarch.rpm`
1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.5/cockpit-navigator-0.5.5-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.4 is latest)
1. `$ git checkout <version>` (v0.5.5 is latest)
1. `# make install`
## From 45Drives Repositories
### Automatic Repo Setup with Script
Expand Down Expand Up @@ -77,4 +77,4 @@ sudo dnf clean all
2. Install Package
```bash
sudo dnf install cockpit-navigator
```
```
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "cockpit-navigator",
"title": "Cockpit Navigator",
"prerelease": false,
"version": "0.5.4",
"version": "0.5.5",
"buildVersion": "1",
"author": "Josh Boudreau <jboudreau@45drives.com>",
"url": "https://github.com/45Drives/cockpit-navigator",
Expand Down Expand Up @@ -54,7 +54,7 @@
],
"changelog": {
"urgency": "medium",
"version": "0.5.4",
"version": "0.5.5",
"buildVersion": "1",
"ignore": [],
"date": null,
Expand Down
6 changes: 3 additions & 3 deletions navigator/components/FileUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
along with Cockpit Navigator. If not, see <https://www.gnu.org/licenses/>.
*/

import {NavWindow} from "./NavWindow.js";
import {format_time_remaining} from "../functions.js";
import {ModalPrompt} from "./ModalPrompt.js";
import { NavWindow } from "./NavWindow.js";
import { format_time_remaining } from "../functions.js";
import { ModalPrompt } from "./ModalPrompt.js";

export class FileUpload {
/**
Expand Down
4 changes: 2 additions & 2 deletions navigator/components/FileUploadManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
along with Cockpit Navigator. If not, see <https://www.gnu.org/licenses/>.
*/

import {FileUpload} from "./FileUpload.js";
import {NavWindow} from "./NavWindow.js";
import { FileUpload } from "./FileUpload.js";
import { NavWindow } from "./NavWindow.js";

export class FileUploadManager {
/**
Expand Down
Loading

0 comments on commit 0f4b9d0

Please sign in to comment.