Andy Lutomirski
3e2d68a059
webconfig: fixes for token security
...
* Use 16-byte tokens
* Use os.urandom (random.getrandbits shouldn't be used for security)
* Convert to hex correctly
2014-08-22 01:43:30 +08:00
Andy Lutomirski
78e2b7cc08
webconfig: Use a constant-time token comparison
...
This prevents a linear-time attack to recover the auth token.
2014-08-11 18:04:03 -07:00
David Adam
397249a8d5
Authenticate connections to web_config service
...
- Require all requests to use a session path.
- Use a redirect file to avoid exposing the URL on the command line, as
it contains the session path.
Fix for CVE-2014-2914.
Closes #1438 .
2014-08-07 16:14:42 +08:00
David Adam
c0989dce2d
use mktemp(1) to generate temporary file names
...
Fix for CVE-2014-2906.
Closes a race condition in funced which would allow execution of
arbitrary code; closes a race condition in psub which would allow
alternation of the data stream.
Note that `psub -f` does not work (#1040 ); a fix should be committed
separately for ease of maintenance.
2014-04-27 12:26:21 +08:00
Anders Bergh
10642a34f1
fish_config: Listen on both IPv6 and IPv4.
...
A subclass of TCPServer was created to deny any non-local connections and to
listen using an IPv6 socket.
2014-04-27 11:32:26 +08:00
Ronaldo Maia
3788f462b4
Add postgres psql completion
...
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
2013-10-04 23:28:01 -07:00
Ronaldo Maia
238bbfcbbb
Add postgres psql completion
...
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
2013-10-04 23:28:01 -07:00
sra
0efa211a05
Use manpath instead of man --path in man.fish function (as in commit
...
c7941fc
).
2013-10-03 11:46:58 +02:00
nulltrek
6990871efd
Fix git completions when aliased command is not found.
2013-10-02 21:40:19 +08:00
MagicMuscleMan
843944f558
Complete apt-get purge identical to apt-get remove
...
As apt-get purge really has the same operations as apt-get remove, there is not reason to handle them differently in its completion file.
2013-09-29 13:35:03 +02:00
Konrad Borowski
4aa9f76d06
Fix one element tuple to be actually tuple.
...
While in this case it doesn't mean much (neither `z` or `-` would be
passed to options parser), it makes things possibly less buggy.
2013-09-25 16:39:22 +02:00
David Adam
1235e60a29
default key bindings: fix syntax errors introduced in 735af50
2013-09-24 22:49:11 +08:00
David Adam
735af50ce9
default key bindings: add further iTerm2 bindings
2013-09-24 20:04:05 +08:00
Konrad Borowski
f76a16a727
Add Perl modules completion.
2013-09-22 20:12:14 +02:00
David Adam
fdef82f89c
rsync completions: complete hostnames ala scp
...
Closes #1010
2013-09-19 23:24:36 +08:00
David Adam
3d68d1bbe2
scp completions: use __fish_print_hostnames rather than doing independent hostname searches
2013-09-19 23:24:36 +08:00
David Adam
c2dcfc9176
__fish_print_hostnames: do a better job of searching SSH files
2013-09-19 23:24:36 +08:00
bathtub
df300e042b
Small fix for fish_update_completions (amended)
...
Amended from https://github.com/fish-shell/fish-shell/pull/1003 .
Fix a Unicode parsing error; search man6.
2013-09-19 13:15:15 +02:00
Konrad Borowski
3996f178e5
Added git stash completion options.
...
Squashed commit of the following:
commit 962a19dfab
Author: Mandeep Sandhu <mandeepsandhu.chd@gmail.com>
Date: Wed Sep 18 18:09:49 2013 +0530
Add missing 'git stash' completion options
Fixed typo.
commit 57bbd89caf
Author: Mandeep Sandhu <mandeepsandhu.chd@gmail.com>
Date: Wed Sep 18 17:59:36 2013 +0530
Add missing 'git stash' completion options
Added the following options which were missing:
* save
* branch
2013-09-18 14:54:11 +02:00
David Adam
7935b1613a
__fish_print_packages: ignore errors, do less manipulation
...
Closes #479 by piping STDERR to /dev/null.
Also does much less manipulation of the package list; there are no
packages in any of the archives containing the names that are stripped
out as far as I can see.
2013-09-17 22:27:15 +08:00
David Adam
8df81f93c8
__fish_print_packages: whitespace fix
2013-09-17 22:20:16 +08:00
nulltrek
daf3469ce4
Add newline before listing current token.
2013-09-13 14:30:13 +08:00
nulltrek
e031fa7207
Fix some typos.
2013-09-12 11:46:31 +02:00
nulltrek
1b521d0822
Rename internal functions for consistency.
2013-09-12 11:46:31 +02:00
Christian Rishøj
cd1c2f74d3
add support for downcase-word, upcase-word and capitalise-word
2013-09-09 18:46:16 +02:00
Konrad Borowski
a1020b3e61
Remove useless semicolon in webconfig.py
2013-09-08 20:19:43 +02:00
ridiculousfish
3816abb9de
Make __fish_print_mounted work better on OS X
2013-09-05 11:40:51 -07:00
ridiculousfish
7561075af8
OS X Mavericks keybinding fix
2013-09-05 00:46:19 -07:00
Konrad Borowski
fe10f98038
Fix VTE version test
2013-09-04 22:08:44 +02:00
Tim Cuthbertson
74e27a0a82
Notify vte-based terminals of $PWD change ( #906 )
2013-09-04 20:30:42 +02:00
Tim Cuthbertson
04c0ac9ee8
add __fish_urlencode function which URL-escapes stdin
2013-09-04 20:30:42 +02:00
ridiculousfish
cca60adc35
Fix useradd completion syntax
...
(https://github.com/fish-shell/fish-shell/issues/863 )
2013-09-02 00:34:54 -07:00
Adrien Grellier
f230da12c5
completion for vim-addons
2013-09-01 16:07:59 +02:00
ridiculousfish
03aae47424
Fix more indentation in fish_default_key_bindings.fish
2013-08-31 21:11:09 -07:00
ridiculousfish
df0aaa1ebe
Fix indentation
2013-08-31 21:10:11 -07:00
ridiculousfish
23ba7b5bff
Support iTerm2 forward/backward word escapes
...
(https://github.com/fish-shell/fish-shell/issues/920 )
2013-08-31 14:29:52 -07:00
Konrad Borowski
7a1bedcab6
Fix #976 . Now prompt tries to use standard git command.
2013-08-26 16:24:59 +02:00
ridiculousfish
9f46881c16
Fix to respect the order of paths in /etc/paths (oops)
2013-08-25 14:02:03 -07:00
ridiculousfish
dead45fa67
Rearrange the PATH to respect the order defined in /etc/paths ( #927 ) and
...
to prepend it to $PATH instead of appending it (#950 )
2013-08-25 13:27:52 -07:00
ridiculousfish
8605cc685d
Fix tabs in share/functions/__fish_config_interactive.fish
2013-08-24 12:20:21 -07:00
nulltrek
9a49b2c9fb
Fix "command not found" handler behaviour.
2013-08-24 12:16:28 -07:00
lledey
69c6b007aa
Remove grep warning from make target completion
...
grep was throwing warnings when no Makefile was found
Signed-off-by: lledey <lledey@gmail.com>
2013-08-19 22:14:20 -04:00
ridiculousfish
e849beabba
Initial work towards various IO cleanups with an eye to fixing https://github.com/fish-shell/fish-shell/issues/110
2013-08-19 18:06:24 -07:00
Konrad Borowski
2979d3bf16
Fix #684 by putting newline after $argv
...
It's rather hacky, but it sort of works. (but then, this makes fish
compare to PHP (but PHP doesn't put that newline), so perhaps I
shouldn't do that - http://git.io/GFurbg )
2013-08-18 10:57:33 +02:00
ridiculousfish
88efc73797
Actually commit the no-scope-shadowing to . function
2013-08-17 17:04:16 -07:00
ridiculousfish
77b13d02f0
Fix "." function to not shadow scopes, so the tests pass again. Remove eval's use of "." function.
2013-08-17 17:00:15 -07:00
Konrad Borowski
3e115b7a85
Mac OS X doesn't support uname -o. Use uname instead.
...
I break compatibility with Mac OS X again, that I don't have access
to. Result: Stuff break, and I have to fix it, so it will perhaps
work. At least, I hope it will work.
2013-08-16 20:48:44 +02:00
Konrad Borowski
5818289c2d
Deprecate "." command. Fixes #310 .
...
Needs documentation (for the new name), but manages to move . to source,
while preserving compatibility.
2013-08-14 18:43:09 +03:00
Konrad Borowski
d407d680ea
Show path containing current disk drive in Windows in title
2013-08-14 12:21:17 +03:00
Konrad Borowski
feb36e7342
Show drive letter under Cygwin
...
/c/c looks awful, and C:/ is simply better.
2013-08-14 12:11:09 +03:00