Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bassmanitram/actions-for-nautilus
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.1
Choose a base ref
...
head repository: bassmanitram/actions-for-nautilus
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 4 commits
  • 3 files changed
  • 2 contributors

Commits on Feb 25, 2023

  1. Security warning

    bassmanitram authored Feb 25, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1d38628 View commit details

Commits on Dec 29, 2023

  1. Variablize the location of jquery

    Martin Bartlett committed Dec 29, 2023
    Copy the full SHA
    334edc8 View commit details
  2. Fix

    Martin Bartlett committed Dec 29, 2023
    Copy the full SHA
    8b37913 View commit details
  3. Merge pull request #54 from bassmanitram/49-jquery-gets-404-in-config…

    …urator
    
    49 jquery gets 404 in configurator
    bassmanitram authored Dec 29, 2023
    Copy the full SHA
    0a3c7ce View commit details
Showing with 14 additions and 2 deletions.
  1. +4 −0 README.md
  2. +2 −1 configurator/actions-for-nautilus-configurator.py
  3. +8 −1 configurator/start-configurator.sh
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
**IMPORTANT NOTE**
All users of releases 1.6.0 and before should update their installations to release 1.6.1 as soon as possible
due to a security issue.

# Actions For Nautilus
An extension to the Gnome **Files** file manager (otherwise known as Nautilus) that allows
you to add arbitrary actions to the Gnome Files selection context menu.
3 changes: 2 additions & 1 deletion configurator/actions-for-nautilus-configurator.py
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@

PORT = 8000
HOME = os.environ.get('HOME')
JQUERY = os.environ.get('JQUERY')

# config_html = "./actions-for-nautilus-configurator.html"
# cmdline_help = "./command-line-help.html"
@@ -69,7 +70,7 @@
"default": None
},
"/javascript/jquery.min.js": {
"path": "/usr/share/javascript/jquery/jquery.min.js",
"path": JQUERY,
"mimetype": "application/javascript",
"default": None
},
9 changes: 8 additions & 1 deletion configurator/start-configurator.sh
Original file line number Diff line number Diff line change
@@ -7,8 +7,15 @@ mkdir -p $HOME/.local/share/actions-for-nautilus

[ -f $HOME/.local/share/actions-for-nautilus/config.json ] || cp ./sample-config.json $HOME/.local/share/actions-for-nautilus/config.json

if [ -f $PWD/javascript/jquery.min.js ]; then
JQUERY=$PWD/javascript/jquery.min.js
else
JQUERY=/usr/share/javascript/jquery/jquery.min.js
fi
export JQUERY

#
# Start the configuration server, the xdg-open the home page
# Start the configuration server, then xdg-open the home page
#

#