Skip to content

Commit

Permalink
Release 0.9.2.0 (#59)
Browse files Browse the repository at this point in the history
* Resizable hostname field

* Clicking on encode checkbox doesn't update the full url #33

* Set focus on next param element after deleting

* New blue accent color

* Highlight when typing params

* RichTextBox event handling refactoring + few fixes corner cases

* Keyboard navigation - loop

* Fix riche-textbox highlighting for paths (when short)

* Autosuggest layout adjustments

* Make sure that autosuggest is always visible

* Disable spell check on input fields

* AutoSuggest: after removing last suggestion from the list the AS box stays visible #34

* Param menu (#36)

* Initial menu

* Move param options code to separate file

* Handling events

* Change func responsible for encoding

* Encoding handlers - working version

* Move menu to the same level as the button

* Mark all new params as encoded

* Move param options menu to the right position horizontally; make sure it is visible

* Set url-encoded property when param is encoded

* Remove encoding checkbox

* Make the param options button focusable by keyboard (ctrl+right)

* Adjust param menu layout

* Allow only one param encoding at the time

* Keyboard handling for param's menu

* Auto encode if param value contains ampersand

* Fix highlighting after turning on/off encoding

* Fix click handling (double click event)

* Move checkboxes to the right

* Fix for exception in base64 decoding; Fix urldecoding

* Handle escape - close menu

* Param options refactoring (#38)

* Initial refactoring

* small changes / references / idea on handling options

* Final refactored ParamOptions object

* Sample usage

* Added encoding options to paramoptions menu - it doesn't work perfectly

* Fixed click handling for options; url encoding by default; partially fixed keyboard handling

* Update to TS2.2

* Fixed base64 ancoding/decoding

* Additional fixes for param encoding (make sure base64 strings are as well urlEncoded)

* Fix for highlighting url parts: last param was including hash

* Remove redundant variables

* Bump new version; Changed icon for params menu button

* Add delete option to param-options menu; Fix for using obsoltete container for param-options action

* Update screenshots

* Small update for extension packing script

* Keyboard combination/shortcut to go to home #40

* Migrate to NPM and VSCode (#47)

* VSCode support and npm configs

* Remove redundant files

* Clean up in Tests folder

* Cleaned up test directory; added support for 'npm run test' command

* Updated readme for devs

* Remove js files from git in Test dir

* Bump version

* Fix broken npm package version

* #46 Fix url parsing bug resulting in incorrect param highlighting

* Fix for ctrl+a on full url field

* Updated packing script

* Option: auto-select value on focus change

* Node modules with local paths to bin files

* Update readme

* Jump to param value on enter char in param-name element

* Bump revision

* Bundle JS resources in one file

* Muli host params #49 (#57)

* Initial code for options page

* Separate module for suggestions related logic on options page

* Fix typo and missing file

* Renamed var

* Added test file for options/suggestions

* Tiny change in UT for suggestions

* Unit tests for params merging logic - for multi host params

* Respect aliases when showing and deleting suggestions

* Note what to do later

* Fix list of pages to bind; add more UT

* Unbind page params

* Reverse unbind

* Validate pages to bind collection in a separate test

* Validate if page bind to some other does not appear on the list

* Test Canvas

* Chrome mock

* Fix/change event triggering

* Testing the actual html template: Gulp + gulp-html2string

* Working version of rendered templates for tests

* Chrome API mock conmcept

* ChromeMock based on jasmine.spy; waitUntil to replace missing watsFor/runs in jasmine; Final working test sample

* Fix invalid arg and removed redundant args

* Further simplifications for async view testing - moved waiting to beforeEach

* Fix autoSuggestData which was set in incorrect format

* Test: helper function for getting params

* Typing simulation

* Gulp-open to runt he tests

* Libs to simulate events

* jquery-simulate-ext for integration tests; testing if suggestions appear for param name and value

* Gulp watcher for test specs; Test for adding new param

* Fix for saving empty arrays in autosuggest data

* Fix for saving params when domain alias is used; Added ITs for domain aliases

* ITs for cases when params or values existed or not existed before

* Replace all var keywords with let in autosuggest.ts

* Fix case when page which is being bind was bind already

* Tests for deleting suggestions

* Cover suggestion delete actions (mouse/keyboard)

* Test for name suggestion submission

* Clean up all the empty suggestion collections

* Refactored options tests to run on the actual HTML

* Abstraction layer for autosuggest data

* Move AutoSuggest Page object to shared location

* Migate options suggestions code to new abstraction layer for AS data

* Migrate popup autosuggest to new abstraction layer for autosuggest data

* File and object renames; moved shared interfaces to shared dir; added one more integration test

* debugging testhooks

* Clearing the selected fields on binding save

* reset fields on save or domain unselection

* package-lock

* Debug print all params

* Bundle app files

* Exclude background.ts from the app.js

* Fix build after merge

* Import export suggestion data (#58)

* Suggestions data import/export

* Bumping up version

* Update readme

* TravisCI

* Travis - npm install

* Small reference fixes

* Travis - try to open chrome

* Revert change braking UT

* Remove travis
  • Loading branch information
maxwroc authored Sep 12, 2017
1 parent 4e4e777 commit a7f0620
Show file tree
Hide file tree
Showing 40 changed files with 16,901 additions and 336 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Ignore app auto-generated JS files
**/*.map
**/UrlEditorPRO/app/**/*.js
**/UrlEditorPRO.Tests/**/*.js
**/UrlEditorPRO.Tests/spec/**/*.js
typings/

## Ignore Visual Studio temporary files, build results, and
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
// The following will hide the js and map files in the editor
"files.exclude": {
"**/*.js": true,
"UrlEditorPRO/**/*.js": true,
"UrlEditorPROTest/**/*.js": true,
"**/*.map": true,
"*/Properties/": true
}
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ This extension can help you with changing parameters (or parts) of complex and l
### How to start?
* Instal [NPM]( https://www.npmjs.com/)
* `npm install`
* `typings install`

Recommended IDE: VSCode

### Working with the code
* Manual build: `npm run build`
* Run tests: `npm run test`
* Build + watch: `npm run watch`
* Build: `gulp build`
* Build tests: `gulp build-test`
* Run tests: `gulp test`
* Watch app: `gulp watch`
* Watch tests: `gulp watch-test`
10 changes: 9 additions & 1 deletion UrlEditorPRO.Tests/SpecRunner.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@
<script type="text/javascript" src="../node_modules/jasmine-core/lib/jasmine-core/jasmine.js"></script>
<script type="text/javascript" src="../node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js"></script>
<script type="text/javascript" src="../node_modules/jasmine-core/lib/jasmine-core/boot.js"></script>


<script type="text/javascript" src="libs/bililiteRange.js"></script>
<script type="text/javascript" src="libs/jquery.js"></script>
<script type="text/javascript" src="libs/jquery.simulate.js"></script>
<script type="text/javascript" src="libs/jquery.simulate.ext.js"></script>
<script type="text/javascript" src="libs/jquery.simulate.key-sequence.js"></script>
<script type="text/javascript" src="libs/jquery.simulate.key-combo.js"></script>

<script type="text/javascript" src="spec/templates.js"></script>
<script type="text/javascript" src="spec/aggregate.tests.js"></script>
</head>
<body>
Expand Down
Loading

0 comments on commit a7f0620

Please sign in to comment.