Matthew Shao
2c0f6c2023
Minor Update and add test.
2017-06-13 23:03:07 +08:00
Aldo Cortesi
e6cf9ac9ab
console: use master.shutdown rather than raising urwid.ExitMainLoop
2017-06-13 16:16:39 +12:00
Aldo Cortesi
79ce711784
console: extract console addons into consoleaddons.py
2017-06-13 16:15:22 +12:00
Aldo Cortesi
09128d9d1a
console: keymap - list keys with modifiers separately
2017-06-13 16:10:40 +12:00
Aldo Cortesi
4a7cafee9e
console: teach keymap to understand "space"
...
Urwid uses " ", which is not a great user experience.
2017-06-13 15:36:00 +12:00
Aldo Cortesi
08972c3f5b
Merge pull request #2394 from cortesi/moarconsole
...
Misc console-related improvements
2017-06-13 12:33:36 +12:00
Aldo Cortesi
ba49b55684
console: key binding viewer
...
Read-only for now.
2017-06-13 11:48:08 +12:00
Aldo Cortesi
88832f92a3
view: show a message if we remove more than one flow from view
2017-06-13 11:02:32 +12:00
Aldo Cortesi
56eb0441da
commands: teach parser correct annotations for variable args
...
We should annotate with the base type, not the resulting sequence.
2017-06-13 10:26:03 +12:00
Aldo Cortesi
0fc24857e1
core: set command can now take multiple values
...
These are joined together with spaces before execution. This is a big
convenience boost on the command-prompt.
2017-06-13 09:47:50 +12:00
Aldo Cortesi
d95f28e6bf
config: don't crash with a config file containing only comments
2017-06-13 09:43:12 +12:00
Aldo Cortesi
06cb68c799
Minor: formatting, make default color scheme solarized-dark
2017-06-13 09:30:33 +12:00
Ujjwal Verma
9da6cc4534
Merge pull request #2393 from ujjwal96/streaming-test
...
Test for streaming
2017-06-13 01:37:08 +05:30
Ujjwal Verma
6ca45856b4
Test for streaming
2017-06-12 23:46:43 +05:30
Matthew Shao
03bb0a09b9
Add tests for dump_dicts in optmanager.py.
2017-06-12 23:23:09 +08:00
Matthew Shao
aabc78350a
Add GET /options RESTful API for mitmweb.
2017-06-12 20:26:46 +08:00
Maximilian Hils
33252cb6bb
Merge pull request #2392 from mhils/web-fixes
...
[web] Update dependencies, minor fixes
2017-06-12 13:34:56 +02:00
Maximilian Hils
c4804b5fe1
[web] update dependencies
2017-06-12 13:02:15 +02:00
Maximilian Hils
99eca6dfed
[web] fix contentviews, simplify related logic
2017-06-12 13:01:22 +02:00
Maximilian Hils
c1ba6b6c21
[web] fix stopEdit
2017-06-12 12:57:37 +02:00
Thomas Kriechbaumer
2ceefe9582
Merge pull request #2390 from ograff/remove_private_key_pkcs12
...
Remove private key from PKCS12 file
2017-06-12 11:15:37 +02:00
Maximilian Hils
c89d076cf3
Merge pull request #2376 from MatthewShao/jest-dev
...
[WIP][web] Add tests for components/ContentView (con't)
2017-06-12 10:59:27 +02:00
Oliver Graff
bd9d0bf6b1
Remove private key from PKCS12 file
...
Fixes #2349
2017-06-12 01:44:26 -07:00
Matthew Shao
49a04e37c3
[web] Update ContentLoader class name.
2017-06-12 08:41:40 +08:00
Thomas Kriechbaumer
93d37e29c3
Merge pull request #2389 from ujjwal96/test-coverage
...
Tests for Proxy config
2017-06-11 22:48:45 +02:00
Ujjwal Verma
4587b54aed
tests for Proxy config
2017-06-12 01:32:58 +05:30
Aldo Cortesi
c03f14cba6
Merge pull request #2388 from cortesi/consolebits
...
A few console-related bits and bobs
2017-06-11 22:35:05 +12:00
Aldo Cortesi
a61178f28a
console: console.eventlog.clear command, bind to "z" by default
2017-06-11 22:16:02 +12:00
Aldo Cortesi
9c57508fde
console: extract "enter" to m_select
...
Regularise, kill dead code, remove keybindings now not needed.
2017-06-11 21:55:31 +12:00
Aldo Cortesi
60de6e6d1e
console: delete stale help code
2017-06-11 21:22:55 +12:00
Aldo Cortesi
a482868cd6
console: extract "tab" to m_next pseudo-key
...
This makes tab work consistently across contexts, makes it globally bindable,
and gets rid of an un-needed command.
2017-06-11 21:20:12 +12:00
Aldo Cortesi
0e569d1af1
Merge pull request #2387 from cortesi/helptext
...
console: Key binding help
2017-06-11 19:03:29 +12:00
Aldo Cortesi
926b58ab4f
console: Make global nav keys work within help
2017-06-11 18:57:02 +12:00
Aldo Cortesi
fdfd3ed937
console: Key binding help
...
Add a help field to key bindings, use that in contextual help display.
2017-06-11 18:19:23 +12:00
Aldo Cortesi
40703afd0a
Merge pull request #2386 from cortesi/help
...
console help
2017-06-11 17:45:59 +12:00
Aldo Cortesi
7caa7e7538
console: auto-generate context key binding help
2017-06-11 17:09:52 +12:00
Aldo Cortesi
fd68eca351
Keep emojis out of tox.ini
...
This breaks config parsers like the one used by flake8. Also... emojis? In a
config file?
2017-06-11 16:18:40 +12:00
Aldo Cortesi
816a51b6c8
console: help - remove hardcoded help everywhere
2017-06-11 13:28:31 +12:00
Aldo Cortesi
75c047da3f
Merge pull request #2384 from cortesi/layouts
...
console: layout pane headers
2017-06-11 13:14:30 +12:00
Aldo Cortesi
ecce260542
console: generalise grideditor help text, only show headers if we have them
2017-06-11 12:07:02 +12:00
Aldo Cortesi
a4833a5bbf
console: grideditor - re-add column headers
...
Also remove special-case shortcut for user-agent. This is awkward in the new
structure. Down the track we can come up with a more regular mechanism like
snippets.
2017-06-11 11:57:44 +12:00
Aldo Cortesi
d7cc7e62a2
console: grideditor keybindings for r, R and e
2017-06-11 11:47:04 +12:00
Aldo Cortesi
f804495fd8
console: overlays shouldn't clear window titles
2017-06-11 11:17:19 +12:00
Aldo Cortesi
8427c2c4c7
console: extract grideditor keybindings
...
Also formalise the LayoutWidget interface a bit
2017-06-11 11:05:03 +12:00
Aldo Cortesi
2054739c1e
console: grideditors don't display their own titles anymore
2017-06-10 10:09:48 +12:00
Aldo Cortesi
040238e255
console: layout pane heaaders
...
Controlled with the new console_layout_headers option
2017-06-10 09:54:03 +12:00
Matthew Shao
d1a40def20
[web] Export PureViewServer in ContentView/ContentView.jsx
2017-06-08 11:26:36 +08:00
Matthew Shao
602ab1a687
[web] Add tests for js/components/ContentView/ContentView.jsx
2017-06-08 11:13:59 +08:00
Matthew Shao
55fd82b8f0
[web] Add tests for js/components/ContentView/ContentLoader.jsx
2017-06-08 11:09:29 +08:00
Matthew Shao
edd363262c
[web] Add mock-xmlhttprequest dependency.
2017-06-08 11:06:24 +08:00