Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not strip the current working directoy from sys.path | Wojciech Siewierski | 2017-05-06 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #861. This code was assuming that cwd is being added to `sys.path` but according to my investigation it isn't true. On the other hand, the script directory is added to `sys.path`, which would be `/usr/bin/` in this case. `/usr/bin/` is neither a vulnerability, nor affected by this code, so I'm removing it. I'm pasting my brief tests of the Python module loading behavior: ``` [root@de5476e76587 test]# tree . ├── main.py └── ranger └── __init__.py 1 directory, 2 files [root@de5476e76587 test]# cat main.py import ranger print("Done") [root@de5476e76587 test]# cat ranger/__init__.py print("I'm a bad module doing bad stuff to good people.") [root@de5476e76587 test]# ./main.py I'm a bad module doing bad stuff to good people. Done [root@de5476e76587 test]# cd ../ [root@de5476e76587 ~]# ./test/main.py I'm a bad module doing bad stuff to good people. Done [root@de5476e76587 ~]# cd - /root/test [root@de5476e76587 test]# mv main.py .. [root@de5476e76587 test]# ../main.py Done [root@de5476e76587 test]# PATH=..:$PATH main.py Done [root@de5476e76587 test]# mv ../main.py . [root@de5476e76587 test]# cd .. [root@de5476e76587 ~]# PATH=$PWD/test:$PATH main.py I'm a bad module doing bad stuff to good people. Done [root@de5476e76587 ~]# ``` | ||||
* | config/rifle.conf: list/extract archives without atool | hut | 2017-04-23 | 1 | -3/+10 |
| | |||||
* | setup.py: Make executables executable | nfnty | 2017-04-12 | 1 | -4/+26 |
| | |||||
* | config/rc.conf: Properly set `preview_script` by default | nfnty | 2017-04-12 | 3 | -6/+19 |
| | | | | | | | | | | | | | | Multiple users have complained about having problems with the way `scope.sh` sourcing is handled: * When running in clean mode * When wanting to run with the default config * When having non-default `$XDG_CONFIG_HOME` Lays groundwork for further default setting handling in the future. Fixes #840 Fixes #849 Closes #853 | ||||
* | core.fm: confpath, datapath: Be strict about clean mode | nfnty | 2017-04-12 | 2 | -35/+42 |
| | | | | Fixes #848 | ||||
* | container.settings: Log nonexistent `preview_script` | nfnty | 2017-04-11 | 2 | -8/+5 |
| | | | | Related to #849 | ||||
* | container.fsobject: Fix some issues with symlink stat handling | Wojciech Siewierski | 2017-04-06 | 1 | -1/+1 |
| | | | | | | | | | | In the file loading code, if the loaded file was a symlink, the last stored modification time of the real file (`self.stat`) was compared with the modification time of the symlink (`real_ctime`). It was leading to some subtle issues. The most visible result of this bug was a flickering image preview of the symlinked images. The bug was introduced in ec5dfcb1cb0f549fea3ecf7b0505f02e197887b2. | ||||
* | config: Disable `cd_tab_smart` by default | nfnty | 2017-03-26 | 1 | -1/+1 |
| | |||||
* | commands: cd: Implement smart tab completion with less typing | nfnty | 2017-03-26 | 6 | -47/+120 |
| | | | | Thanks to @nanuda for the first implementation and inspiration. | ||||
* | doc: ranger: Reorder some settings | nfnty | 2017-03-19 | 2 | -18/+18 |
| | |||||
* | commands: Add setting for cd tab completion case sensitivity | Dmitry Kryukov | 2017-03-19 | 5 | -2/+29 |
| | |||||
* | Add ability to save/restore tabs | Vitaly Belman | 2017-03-19 | 7 | -2/+40 |
| | | | | | Fixes #502 Closes #505 | ||||
* | core.main: Add support for `file://` URIs as path arguments | nfnty | 2017-03-18 | 1 | -1/+4 |
| | | | | Fixes #836 | ||||
* | core.main: Use `PWD` as starting path cwd if available | nfnty | 2017-03-18 | 1 | -1/+1 |
| | | | | | | Prevents dereferencing symlinks on startup. Fixes #837 | ||||
* | gui.curses_shortcuts: Fix handling of strings for `add*` functions | nfnty | 2017-03-18 | 1 | -3/+3 |
| | | | | Fixes #833 | ||||
* | Improve error message for some commands when called without args | Samuel Walladge | 2017-03-15 | 2 | -6/+19 |
| | | | | | | | | | Commands improved: * `change_mode` * `flat` * `chain` * `chmod` * All `map` commands | ||||
* | :cd tab completion again considers the whole line | Wojciech Siewierski | 2017-03-12 | 1 | -2/+2 |
| | | | | Important when the directory name contains spaces. | ||||
* | config.commands.cd.tab: Now tab works fine with '-r' | 강동훈(DongHoon Kang) | 2017-03-12 | 1 | -3/+9 |
| | | | | | cd tab completion didn't work in the presence of real path argument '-r'. Fixed that. | ||||
* | data/scope.sh: highlight: Replace tabs with spaces | nfnty | 2017-03-10 | 1 | -1/+3 |
| | |||||
* | rc.conf: Map F2 to :rename | Wojciech Siewierski | 2017-02-26 | 1 | -0/+1 |
| | | | | | | | | F2 is commonly used for renaming in various file managers. Since we support the other F-keys in a manner similar to Midnight Commander, mapping F2 to rename makes sense too. Closes #818. | ||||
* | gui.widgets.console.Console: Don't crash when parsing corrupt history file | nfnty | 2017-02-25 | 1 | -2/+6 |
| | | | | Fixes #817 | ||||
* | core.main: `--version`: Report Python version and locale | nfnty | 2017-02-19 | 3 | -10/+15 |
| | | | | | | Makes issue reporting easier. Fixes #812 | ||||
* | Beta release 1.9.0b5 v1.9.0b5 | nfnty | 2017-02-19 | 5 | -5/+5 |
| | |||||
* | doc: howto-publish-a-release: Add tag steps | nfnty | 2017-02-19 | 1 | -1/+2 |
| | |||||
* | setup.py: Add `keywords` and `classifiers` | nfnty | 2017-02-19 | 1 | -0/+22 |
| | |||||
* | Move license from `AUTHORS` to `LICENSE` | nfnty | 2017-02-18 | 2 | -690/+675 |
| | |||||
* | doc/howto-publish-a-release: Use `*` for bullet lists | nfnty | 2017-02-17 | 1 | -29/+29 |
| | |||||
* | settings: Allow any capitalization of `RANGER_LOAD_DEFAULT_RC` | nfnty | 2017-02-16 | 2 | -2/+2 |
| | | | | Fixes #810 | ||||
* | doc: man: Clarify config sourcing | nfnty | 2017-02-16 | 3 | -26/+20 |
| | |||||
* | linting: pylint: `sys.stdout.buffer.write`: Fix `no-member` | nfnty | 2017-02-14 | 1 | -1/+1 |
| | |||||
* | ext.img_display.Iterm2ImageDisplayer.draw: Fix `TypeError` | nfnty | 2017-02-14 | 1 | -1/+5 |
| | | | | Fixes #807 | ||||
* | setup.py: Fix Travis CI pylint error | nfnty | 2017-02-11 | 1 | -1/+1 |
| | |||||
* | setup.py: Use distutils by default | nfnty | 2017-02-11 | 2 | -5/+5 |
| | | | | Fixes #805 | ||||
* | gui.ansi.char_slice: Widestring aware | nfnty | 2017-02-10 | 1 | -4/+6 |
| | | | | | | Fix Python 2 widestrings being cut off Fixes #164 | ||||
* | ranger.VERSION: Change to `master` | nfnty | 2017-02-10 | 1 | -1/+1 |
| | |||||
* | Beta release 1.9.0b4 v1.9.0b4 | nfnty | 2017-02-10 | 5 | -6/+6 |
| | |||||
* | ranger.VERSION: Change to `master` | nfnty | 2017-02-10 | 1 | -1/+1 |
| | |||||
* | Beta release 1.9.0b3 v1.9.0b3 | nfnty | 2017-02-10 | 5 | -6/+6 |
| | |||||
* | doc/howto-publish-a-release: Change to markdown | nfnty | 2017-02-10 | 2 | -39/+49 |
| | |||||
* | release docs: Add PyPI release | nfnty | 2017-02-10 | 1 | -4/+16 |
| | |||||
* | Makefile: Add help for different tests | nfnty | 2017-02-10 | 1 | -13/+19 |
| | |||||
* | ranger.VERSION: Change to `master` | nfnty | 2017-02-10 | 1 | -1/+1 |
| | |||||
* | Beta release 1.9.0b2 v1.9.0b2 | nfnty | 2017-02-10 | 5 | -6/+6 |
| | |||||
* | setup.py: Minor changes | nfnty | 2017-02-10 | 1 | -12/+11 |
| | |||||
* | README: Change version format | nfnty | 2017-02-10 | 1 | -1/+1 |
| | |||||
* | ranger.VERSION: Change to `master` | nfnty | 2017-02-10 | 1 | -1/+1 |
| | |||||
* | Beta release 1.9.0b1 v1.9.0b1 | nfnty | 2017-02-10 | 6 | -7/+7 |
| | |||||
* | core.main: Improve version info | nfnty | 2017-02-10 | 2 | -17/+13 |
| | |||||
* | setup.py: Fix build scripts for PyPI | nfnty | 2017-02-10 | 2 | -10/+27 |
| | |||||
* | setup.py: Use `setuptools` by default, Change name for PyPI | nfnty | 2017-02-10 | 2 | -4/+15 |
| |