45drives / cockpit-navigator Goto Github PK
View Code? Open in Web Editor NEWA Featureful File Browser for Cockpit
License: GNU General Public License v3.0
A Featureful File Browser for Cockpit
License: GNU General Public License v3.0
Since this and other projects by 45Drives already support EL7 and EL8, would it be possible to add support for Fedora? I am aware that I could technically install via an El8 binary (possibly) or from source. Just wondering in case this was a simple thing to implement as EL and Fedora are closely related.
Could you guys please update the setup-repo.sh
script to make it compatible with Ubuntu 22.04 LTS based distros?
I'm currently running Pop!_OS 22.04 LTS x86_64 and when running sudo bash setup-repo.sh
I'm getting this
This command has been run on a distribution that is not supported by the 45Drives Team.
If you believe this is a mistake, please contact our team at [email protected]!
I'm not familiar with the manual commands for adding repos, but because the above script failed I tend to think the manual procedure you provided (https://github.com/45Drives/cockpit-navigator#ubuntu-2) would fail too, leaving the repo configuration in a broken status... so, I hope you can help :)
Thank you!
I'm using cockpit on an Ubuntu 20.04.3 server and have installed the 45drives repository.
Navigator installed fine (although there's an issue with the fonts I'll report on a separate post).
Updating from inside cockpit, it fails with this message:
The following packages have unmet dependencies:
cockpit-system: Breaks: cockpit-dashboard but 215-1 is to be installed
cockpit-dashboard: Depends: cockpit-ws (< 215-1.1~) but 250.1.1-1 is to be installed
cockpit-bridge: Breaks: cockpit-dashboard (< 233) but 215-1 is to be installed
How do I resolve this?
Describe the bug
Info pane shows a number one greater amount of selected files when the selection is done with CTRL pressed to begin with (multi select).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The info column should have shown 1 selected.
Console Output
(...)
The resource from “https://[REDACTED]:9090/cockpit/@localhost/*/po.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
[index.html](https://[REDACTED]:9090/cockpit/@localhost/navigator/index.html#/)
Loading failed for the <script> with source “https://[REDACTED]:9090/cockpit/@localhost/*/po.js”.
(...)
These entries might not be relevant as they show up already before navigating to Cockpit Navigator in Cockpit.
Desktop
Hi, I encounter an issue, I am copying a large file(20g) using this plugin.
After finish, I found that the file copied is only 10GB and there is no error popup in navigator to show error.
Is there a way i can show some alert or error message to notify if there is file copy problem
Describe the bug
https://github.com/45Drives/cockpit-navigator#from-github-release used hardcode commands for an outdated version
Expected behavior
use commands that will install "latest released github version"
When attempting to delete a directory that is not empty, the operation will first fail, as it's not running with '-r' option, but a spinner shows up in the background. The spinner does not go away if the user decides to close the modal dialog, by pressing 'No'.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The spinner should only be present while operations are running
Screenshots
Screencast from 2023-02-03 10-08-32.webm
Creating a new file or directory when logged in with a normal user, but having elevated permissions (Administrative access) will create files owned by root:root instead of the current user.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
currentuser:currentuser permissions are expected, even when logged in with 'Administrative access'
It's a simple txt file but with .txt extension, when i try to open it, make me download the file instead of visualizing it
Have the text colored based on syntax and file format, similar to how sublime text, VS code, Kate, Kwrite and many other text editors does it
Is there something we should know about the lack of Debian support? I installed the ubuntu deb file in Debian 11 and all works fine. Any thing I'm not noticing?
Describe the bug
After selecting a file and inspecting it's properties, if you select another file, the "Properties"-panel isn't updated if you select another file. (and leave the properties of the previous file open.)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect that the permissions would automatically update, depending on the selected file
Console Output
n/a
Desktop (please complete the following information):
Smartphone (please complete the following information):
n/a
Additional context
It seems to me, either it was forgotten to update the entire Properties-pane, that's left open.
SSH starts in User's Directory Navigator does not start in User's Directory How Can I Do?
Frontend error interrupt file downloading
To Reproduce
Steps to reproduce the behavior:
Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self' https://172.16.18.152:9090". Either the 'unsafe-inline' keyword, a hash ('sha256-BMIkowAqVEI88ibUJ1NtYB8ByZOuS4MTi73eGoFo2+Q='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.
Refresh helps but only sometimes. If copy file link from downloads and copy in new tab, file downloading is successfull.
My Browsers:
Edge 112.0.1722.58
Chrome 112.0.5615.138 (Official Build) (64-bit)
Client OS: Windows 10, Windows 2016
How can i update it
Avahi allow you linux service such as SMB, FTP, SSH & VNC to MacOS as if they were coming to natively from another MacOS
Describe the bug
While testing I've noticed that any regular user (even without any permissions) can login to web console and navigate (Navigator) through the whole system with full permissions.
To Reproduce
Expected behavior
Browsing limited to user's folder.
Desktop (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Console Output
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Originally posted by sommerso September 29, 2021
Hi,
I'm want to use navigator as a GUI to edit /etc/mail/relay-domains. This will be an ACL for a jnr Windows Admin to administrate.
My user is in visudo as well as the wheel group. I've managed to make /etc/mail the default landing page for Navigator and the file has rw-rw-rw permissions, however when I try to save my edit, I get a pop up
Operation not permitted.
I changed ownership to my user and confirmed that my user can write to the file via the shell. However I'm still having issues with Navigator.
What am I missing?
Describe the bug
File upload of larger file size, say >2GB, fails after sometime.
To Reproduce
Steps to reproduce the behavior:
Try to upload a file of size >2GB, upload process starts but crashes after some time.
Expected behavior
File should be uploaded successfully.
Additional context
IMHO, the file should be uploaded in chunks.
cockpit-navigator/navigator/components/FileUpload.js
Lines 115 to 126 in cf7910c
Files are not downloading via the context menu 'Download' option.
I've noticed that Cockpit-Navigator is not officially supported on Fedora, but it is available in the Fedora repositories. It might be helpful to add a note about this in the documentation to inform users about its existence on Fedora. This could potentially prevent unnecessary bug reports and contribute to increased adoption.
Thank you for considering this suggestion.
i juest installed the navigator on my cockpit running on manjora it is awlsome
Hi, Is it possible to provide a package for Ubuntu Server LTS 22.04 ?
Pls do consider.
Thanks,
MCZen
p.s. - Is there a Ubuntu PPA that has this package ?
Is there any URL/query parameter that can be used to provide the folder to be selected?
I am running Ubuntu Server 22.04.2 LTS, codename "Jammy". I installed Cockpit and it was working great. Then I installed the Navigator application and I started getting this error when I refresh the applications screen in Cockpit:
"Error - Cannot download packages whilst offline"
I do not understand the error because the Network log says "carrier: link connected". So I am thinking my installing the Navigator application somehow messed up my Cockpit app. What is the correct way to install Navigator? Has anybody out there had any success installing Navigator into Cockpit? Because it never worked for me after using the two installations commands below:
$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.10/cockpit-navigator_0.5.10-1focal_all.deb
# apt install ./cockpit-navigator_0.5.10-1focal_all.deb
I also tried the installation commands shown below with no success:
wget -qO - https://repo.45drives.com/key/gpg.asc | sudo gpg --dearmor -o /usr/share/keyrings/45drives-archive-keyring.gpg
cd /etc/apt/sources.list.d
sudo curl -sSL https://repo.45drives.com/lists/45drives.sources -o /etc/apt/sources.list.d/45drives.sources
sudo apt update
Hello, I am Anup Chandak. I'm interested in the project "Navigator plugin modernization" for GSoC 2023.
I am using ubuntu operating system and I followed all the process in readme file to set up cockpit-navigator. But Navigator screen is not loading locally.
Here are some images of what its looking like on my machine. I can login to cockpit with browser and access navigator option present there.
As stated in Docs here
https://docs.google.com/document/d/1PLf4ZO1qgc_yZL1aHkWGmvg9QKGaaMmyzBkG1SbJrKA/edit
I worked on webpack.config.js file and try to find issue with patternfly but as I am not able to run it
locally I am unable to proceed.
Please guide how can I start working on this project.
Add an option to sort by last changed etc
Describe the bug
package dependencies not working well
To Reproduce
Steps to reproduce the behavior:
just try to install on rocky linux 9
Expected behavior
Install Successfull
Screenshots
If applicable, add screenshots to help explain your problem.
Console Output
[root@goblin ~]# dnf install cockpit-navigator
45Drives EL8 Stable 849 B/s | 833 B 00:00
45Drives EL8 Stable 6.7 kB/s | 3.1 kB 00:00
Importing GPG key 0x731C472B:
Userid : "FourFiveDrives Repo (45Drives Package Repositories) [email protected]"
Fingerprint: 3FBD 7E03 4E80 BAF6 3D5A A9BB 9889 DBBC 731C 472B
From : https://repo.45drives.com/key/gpg.asc
Is this ok [y/N]: y
45Drives EL8 Stable 435 kB/s | 889 kB 00:02
Rocky Linux 9 - BaseOS 5.1 MB/s | 1.7 MB 00:00
Rocky Linux 9 - AppStream 8.5 MB/s | 6.4 MB 00:00
Rocky Linux 9 - Extras 20 kB/s | 6.6 kB 00:00
Error:
Problem: cannot install the best candidate for the job
[root@goblin ~]# cat /etc/os
cat: /etc/os: No such file or directory
[root@goblin ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.1 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.1"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.1 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.1"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.1"
Additional context
Just Trying to Install on Rocky Linux 9 and test it
When editing a directory/file in navigator, if you click outside of the editor. It will change the currently edited directory/file to the folder above. You can also select other files/directories and keep current changes. Can lead to accidentally changing permissions on the incorrect directory/file. Can also be a way around the warning of editing permissions on a dangerous path.
I believe it is an issue on a few versions, but can consistently recreated on:
Ubuntu 20.04
cockpit-navigator/focal,now 0.5.8-1focal all [installed]
Describe the bug
The icons that reprecent the folders / files on the filesystem are not keyboard navigatable.
Expected behavior
It's expected behavior to be able to move with arrows - left - right, and select with enter key.
Tested current main branch, build from sources.
Hello!
Installed your plugin, but it seems some styles did not apply. Do you have any idea how I can fix this? I'm not sure if this is a bug, so I created a blank issue.
I have tested this issue by installing this plugin both with make install
from source (ba615bd) and by just downloading the .deb file and installing it. Im using debian and I use cockpit version 273.
If you need any details, please let me know
i tried to install this on Centos Stream 9. The setup script for Centos 8 doesn't work. and copying the repo file manually still gives an error.
To Reproduce
Steps to reproduce the behavior:
`Error:
Problem: cannot install the best candidate for the job
when i just want to move with cut/paste, it takes too long.
i checked top, it used rsync.
why dont use mv?
Describe the bug
If a big file is uploaded to the target machine (where Cockpit is running on) by drag and drop, the file is crippled.
It seems that only the last 32KB a transfered correctly, but the rest of the file is filed with zeros (file size is correct)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Uploaded file is not changed
Console Output
Desktop (please complete the following information):
allow setting a users default directory to $HOME for example
that way every time they open the navigator its in their home directory
when clicking the question mark at the bottom right the info gets displayed.
when it is clicked again the info is displayed again, this can be repeated probably indefinitely and the space will just keep piling up at the bottom of the screen.
i feel a better behavior would be if for a second click the already displayed space would close again.
Describe the bug
Ordinary users cannot download their own files in the home directory, and the download error prompts: no permission or network problems, but root users can download. This problem exists in the Chrome and Firefox browsers of win10 20H2, Ubuntu20.04, centos8.4, but the safari browser of macOS is normal.
Expected behavior
Ordinary users can download files in their home directories.
Screenshots
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.