forked from RESTEDClient/RESTED
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
1,128 additions
and
842 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Contributing | ||
|
||
Contributing to this project is pretty straightforward. | ||
|
||
Please check out [this wiki article](../../../wiki/Setting-up-a-dev-environment) to learn how to setup a development environment. | ||
|
||
After that, you can fork that repo, hack on it, push your changes and [submit a pull request](../../../pulls). | ||
|
||
You can also [submit bugs or feature requests](../../../issues) in the corresponding section. | ||
|
||
**In both cases you will be presented with a mandatory template that you will need to fill, ignoring the template will most likely result in rejection of your item.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
**Do you want to request a *feature* or report a *bug*?** | ||
<!-- Is this a new feature or a bug in the existing functionality? --> | ||
|
||
**Your envieronment** | ||
<!-- Names and versions of: OS, browser, extension itself --> | ||
|
||
**What is the current behavior?** | ||
<!-- Step-by-step instructions about what to do to see the issue --> | ||
|
||
**What is the expected behavior?** | ||
<!-- What did you expect to happen? --> | ||
|
||
**Videos/screenshots of the issue** | ||
<!-- You can use ShareX (https://getsharex.com/) to record GIFs and upload them to Imgur --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
**Changes description** | ||
<!-- What does your code change? If there is a corresponding issue in this project already, provide its ID --> | ||
|
||
**What browsers (with versions) did you use to test your code?** | ||
<!-- Names and versions of: OS, browser, extension itself --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
.idea | ||
*.xpi | ||
install.rdf | ||
node_modules | ||
bootstrap.js | ||
RESTED-APS.* | ||
manifest.json | ||
npm-debug.log | ||
target | ||
dist/*rested-aps.js | ||
dist/*rested-aps.js.map | ||
coverage/ | ||
/.idea | ||
/node_modules | ||
/RESTED-APS.* | ||
/manifest.json | ||
/dist/background.js | ||
/dist/content.js | ||
/dist/rested-aps.js | ||
/coverage/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
![RESTED APS](https://github.com/gear54rus/RESTED-APS/raw/master/doc/images/rested-aps-logo-full.png) | ||
![RESTED APS logo](./doc/images/rested-aps-logo-full.png) | ||
|
||
A REST client for the rest of us. | ||
# What is this? | ||
|
||
**RESTED** is a new take on REST clients for browsers. | ||
A REST HTTP client for the rest of us, with [APS features](https://doc.apsstandard.org/). Forked from [RESTED](../../../../RESTEDClient/RESTED) client. This extension replaces the old [RESTClient APS](../../../../odin-public/RESTClient-APS), RIP ⚰️. | ||
|
||
It is designed to be easy to use to let you work as effective as possible. | ||
It features all the most commonly used HTTP methods, setting headers, beautiful themes, | ||
saving requests in your browser, and more. | ||
**RESTED** is built upon all the latest web technologies to make | ||
both the user's and developer's experience as great as possible. _Enjoy!_ | ||
### Minimum browser versions: | ||
|
||
![Image of RESTED](https://github.com/gear54rus/RESTED-APS/raw/master/doc/images/rested-aps-app.png) | ||
- Firefox: `52.4.1` | ||
- Chrome: `60.0` | ||
|
||
**RESTED APS** is a fork of **RESTED** with [APS](http://doc.apsstandard.org/7.2/) features. | ||
# Addon downloads | ||
<a href='https://addons.mozilla.org/en-US/firefox/addon/rested-aps/'><img src='./doc/images/firefox-icon.png' height='128' alt='Firefox'></a> | ||
<a href='https://chrome.google.com/webstore/detail/rested-aps/omkndfeccmeplaimlpaefimnimmniccl'><img src='./doc/images/chrome-icon.png' height='128' alt='Chrome'></a> | ||
|
||
# Contributions | ||
|
||
All contributions are welcome. Please review [the guidelines](.github/CONTRIBUTING.md) and the [article about how to setup the development environment](../../wiki/Setting-up-a-dev-environment). | ||
|
||
Submit your issues in the [issues section](../../issues). [Pull requests](../../pulls) will also be reviewed. | ||
|
||
**Issues and pull requests that do not adhere to the template will be closed.** |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
const oaTabData = {}; | ||
|
||
chrome.runtime.onConnect.addListener(port => { | ||
port.onMessage.addListener(tabData => { | ||
const tabID = port.sender.tab.id; | ||
let text = ''; | ||
|
||
if (tabData) { | ||
oaTabData[tabID] = tabData; | ||
text = String(Object.keys(tabData.data).length); | ||
} else { | ||
delete oaTabData[tabID]; | ||
} | ||
|
||
chrome.browserAction.setBadgeText({ | ||
tabId: tabID, | ||
text, | ||
}); | ||
}); | ||
}); | ||
|
||
chrome.browserAction.onClicked.addListener(({ id: tabID }) => { | ||
chrome.tabs.create({ | ||
url: chrome.extension.getURL(`dist/index.html${oaTabData[tabID] ? `#${JSON.stringify(oaTabData[tabID])}` : ''}`), | ||
}); | ||
}); |
Oops, something went wrong.