Commit Graph

7076 Commits

Author SHA1 Message Date
Matthew Shao
ce15501c54 [web] Add tests for js/components/common/Dropdown.jsx 2017-05-11 08:43:50 +08:00
Matthew Shao
f295bfd558 [web] Add 'react-test-renderer' dependency. 2017-05-11 08:27:40 +08:00
Matthew Shao
f3e5c35b49 [web] Add tests for js/components/common/Button.jsx 2017-05-11 08:19:10 +08:00
Matthew Shao
cafa094f75 Merge pull request #2322 from MatthewShao/jest-dev
[web] Coverage improve
2017-05-10 03:11:27 -05:00
Ujjwal Verma
3e85dfd242 Handle head request on onboarding app: Fix #2324 (#2325) 2017-05-09 20:08:42 +02:00
Maximilian Hils
537d5fa229 web: do not collect coverage when invoking "jest"
this is annoying when runnig jest --watch=all.
2017-05-09 19:12:56 +02:00
Maximilian Hils
457bc36d7f web: clear mock store actions after each test 2017-05-09 19:10:48 +02:00
Matthew Shao
fd24e15bfb [web] Update tests for js/ducks/ui/keyboard.js 2017-05-09 18:55:24 +08:00
Matthew Shao
aca30ad8d8 [web] Add tests for js/ducks/ui/keyboard.js 2017-05-09 16:05:41 +08:00
Maximilian Hils
81d68aa564 Merge pull request #2320 from Ritiek/master
Add specific instructions on mitm.it when an icon is clicked
2017-05-08 17:34:50 +02:00
Matthew Shao
f327a52029 [web] Add tests for js/__tests__/ducks/ui/indexSpec.js 2017-05-08 09:26:00 +08:00
Ritiek Malhotra
4c2404049c Change to only Apps & VPN 2017-05-08 06:43:44 +05:30
Matthew Shao
21cdfe835b [web] Add tests for js/ducks/index.js & js/ducks/ui/index.js 2017-05-08 08:53:44 +08:00
Matthew Shao
23f180ba4f [web] Clear up jest.unmock()
Automocking is no longer enable by default, so we don't need to unmock
modules manually.
2017-05-07 21:32:49 +08:00
Ritiek Malhotra
e07d2b0660 Add instructions for Windows and Android 2017-05-07 08:13:45 +05:30
Ritiek Malhotra
98fd704f67 Add apple info from docs 2017-05-07 07:44:58 +05:30
Ritiek Malhotra
39356e8f34 Add dynamic apple instructions 2017-05-07 02:07:41 +05:30
Zhigang Fang
fdec51d732 Note to enable Certificate Trust Settings in iOS 10.3 or up (#2312) 2017-05-05 14:26:48 +02:00
Maximilian Hils
d734f6bbd6 Merge pull request #2286 from charlesdhdt/master
Added LDAP Auth
2017-05-04 16:24:57 +02:00
Charles d'Hondt
154e8ac0fc fixed lint 2017-05-04 13:39:48 +02:00
Charles d'Hondt
f67d9adc31 Added ldap mock test 2017-05-04 13:25:15 +02:00
Maximilian Hils
40f387eb48 Merge pull request #2311 from mhils/issue-2310
fix #2310
2017-05-03 18:41:07 +02:00
Maximilian Hils
315daa042a fix #2310 2017-05-03 17:38:17 +02:00
Aldo Cortesi
822797c7e0 Merge pull request #2307 from cortesi/layouts
console: add a two-pane layout
2017-05-03 15:46:56 +12:00
Aldo Cortesi
2659b52209 console: add a two-pane layout
- Replace options.console_eventlog with options.console_layout
- This can be "single", "vertical" and "horizontal"
- At the base of the primary pane is the flowlist. At the base of the secondary
pane is the event log.
- Any of the other primary windows can be opened in each of the panes.

For now, I've bound "-" to the flow layout switch, "shift tab" to the layout
pane switch, and "P" to open the currently focused flow in whichever pane
you're in. These are just temporary  - we'll reassess the default bindings
carefully once the keybindings work is complete.
2017-05-03 14:55:02 +12:00
Maximilian Hils
e24ff261e7 Merge pull request #2306 from mhils/web-cov
Honest JS Coverage
2017-05-02 12:44:02 +02:00
Aldo Cortesi
0f4d94b31c console: Make EventLog its own control, bind to "E" 2017-05-02 22:42:04 +12:00
Maximilian Hils
63ffd9a3a9 honest js coverage 2017-05-02 11:34:42 +02:00
Charles d'Hondt
a68808294d lint checks 2017-05-02 10:35:56 +02:00
Charles d'Hondt
3f094a54ce added ldap3 to setup.py 2017-05-02 10:18:49 +02:00
Aldo Cortesi
9d2350b670 Merge pull request #2305 from cortesi/consolebugs
console: various bugfixes
2017-05-02 13:09:27 +12:00
Aldo Cortesi
dcae79e017 console: various bugs
- Action bar now correctly gets the palette background
- Viewing connection details for a killed flow no longer crashes
- Editing options with selections no longer crashes
2017-05-02 12:56:27 +12:00
Aldo Cortesi
4e39d387d3 commands: options control
Use the new commands to bind the Options view in console.
2017-05-02 12:18:24 +12:00
Aldo Cortesi
9e58c36639 console: globally respected nav commands
Use this to bind nav keys with commands throughout.
2017-05-02 12:18:24 +12:00
Aldo Cortesi
8d29492960 Merge pull request #2299 from iharsh234/mypy-pathod
Mypy Checking to pathod
2017-05-02 12:17:57 +12:00
harsh vijay
e24b4cc1b6 Extend Mypy checking to pathod
* mypy checking pathod

* initial commit , fixed errors

* tox: mypy checking to pathod

* Fixed mypy test failed

* issue was with args in custom_contentview.py

* tox: mypy checking to #2221

* follow-import=skip since we cant provide args to custom_contentview.py during mypy testing

* Lint , Typo Fixed

* code style: module import
2017-05-02 05:19:25 +05:30
Aldo Cortesi
53ad658e9f Merge pull request #2302 from cortesi/flowview
commands: view.setval, view.getval, view.setval.toggle
2017-05-01 20:17:24 +12:00
Aldo Cortesi
2f52d8b9ad commands: view.setval, view.getval, view.setval.toggle
Use these to bind the last of the key for flowview. Flow views are now 100%
keybound.
2017-05-01 19:52:24 +12:00
Aldo Cortesi
143872b574 Merge pull request #2301 from cortesi/encoding
commands: flow.encode, flow.decode, flow.encode.toggle
2017-05-01 19:52:00 +12:00
Aldo Cortesi
7d56ec9d49 commands: flow.encode, flow.decode, flow.encode.toggle
Use this to bind "z" in flowview.
2017-05-01 18:31:22 +12:00
Aldo Cortesi
06c99bffc3 Merge pull request #2300 from cortesi/consolerevamp
Console revamp
2017-05-01 18:29:44 +12:00
Aldo Cortesi
542a998174 commands: console.bodyview, console.choose
Use this to replace the "v" for view shortcut key in flowview.
2017-05-01 17:56:21 +12:00
Aldo Cortesi
1ea4a5a48e keymap: keys can now bind to multiple contexts
Use this to map the majority of the keys in flowview.
2017-05-01 16:52:58 +12:00
Aldo Cortesi
670d1e408b command: flow.set
Use this to replace the flow edit components of flowview entirely.
2017-05-01 14:56:57 +12:00
Aldo Cortesi
46373977e2 Refactor console
- All top-level window objects are now persistent. It turns out that urwid
keeps a reference to these even after they're no longer used, so they were
leaking before.
- Revamp editors to work with console commands, and start reworking bindings
for flowview.
2017-05-01 14:12:22 +12:00
Maximilian Hils
288448c575 Merge pull request #2285 from MatthewShao/jest-dev
[web] Add coverage for js/urlState.js
2017-04-30 18:26:41 +02:00
Matthew Shao
365677006c [web] Export updateUrlFromStore and updateStoreFromUrl 2017-04-30 22:40:58 +08:00
Maximilian Hils
fccc9bc45e Merge pull request #2271 from mhils/mitmweb-connection-indicator
[web] add connection indicator [WIP]
2017-04-30 15:23:20 +02:00
Aldo Cortesi
29ce5a83d2 Merge pull request #2297 from cortesi/flowcmd
commands: view.order.options, view.marked.toggle, view.create
2017-05-01 00:02:15 +12:00
Matthew Shao
a7feced5de [web] Introduce redux-mock-store and minor fix. 2017-04-30 20:00:36 +08:00