Skip to content

Commit 07ad651

Browse files
committed
Merge branch 'fix/native-request' into beta
2 parents 8bcd9a5 + 6c51052 commit 07ad651

20 files changed

+7874
-1259
lines changed

.env.enc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9�R9�^�❆b�Y�8�������f>�Ԧ�*�������i���a�G�YK]=��K���7���i6�a ����Ϟ

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Temporary Items
3030
!.vscode/extensions.json
3131

3232
test/tests-exe-dir
33-
advancedrestclient.pfx
34-
arc-mac-certs.p12
35-
certs.tar
3633
web_modules
34+
secrets/
35+
secrets.tar

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ before_cache:
2222
- rm -rf $HOME/.cache/electron-builder/wine
2323
branches:
2424
except:
25-
- "/^\\d+\\.\\d+\\.\\d+$/"
25+
- "/^\\d+\\.\\d+\\.\\d+$/"
2626
install:
2727
- npm install
2828
script: "./test/travis-build.sh"
2929
after_success:
3030
- tasks/arc-publish.sh
3131
env:
3232
global:
33-
- secure: vqjLjFS1r21KkSV6g5rrnHnEDvytxFZUZGglmVBfEMWMTLmUt6tpUOZ9fQhNK02Lwoqabx+jwqkqQH3n2Qh4rdgrHciaZz8rVpB+BNRbGpk8Av9pvJEFt5P2UUfjgthgBEUCAkcMlFAWvVgGoiaZPTLufxh9YZvjilG6QrZq6907+YZmxanFfQs/YpCwhG1S36BZ5ce3FxWk7z46DETD3LIe5ThImdmxruEv31F1pNNfInoDGg1qucQiZ2Icd6e+TK6tHH76KJbWc7kaJFSaubu1zIepmUNAxwdLN13nCPcxZaTkPs+LkCel3/C0hD/GLYEc48qC6zQDiQ61/JbUqtfZqShR5qpWhG0jETwpJqlUGNeWjO8KaPUcsolDy49Iiyy+ZMN8g7qiVcxqInLM3BT0Do3vyEZA3Z3WxXDF5wGeHy8PhUbFa3wZ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wMsg/R3ZnXm4e6MNOfB02GXBvtXvYU11rRaoRHErKnywevDk+pOs8F0dom3E75JzBMB773PBrECH4PJjYKGSKRCjOP2o+1rXfNMoSc3o67N4uLPmVq/cLRRD8kliJNoWqKAATT3BjUE2oQeL7spyxnV25LZp7r7U0mzbFrX24TZQL3yZAEV/rQepqCWgzNsQMId67rn56jeUd3IoXHLsHzqy2YYJIB8xmbxd6n8x0SU8n+usBLXR55zT+eIQzCcdCLcRJncGxFWXa2HAwDIHNh5sNANYYLmDO1ZrxrCBQ0os8Jemkg6KwGiLauROJkSejWdWDs+aXdfhu5Fhs9xYE2kvB1WeCJIyyFFi3pmVmri2cJ7tez2gLZov6dfbRq/XAFidrEb7llXl754zkprXkW/NDfmaepJ8AXmeBkmo7ZXMlSMphALEG9r8nKFR3mbOiXt1YCqeP5MqYYV2wUUafL58iQiVPIDPV0ISRvyqHGz+OZ/T0kCDzXmyfJ4g=

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ ARC's build process generates several builds for Linux. Find your platform and t
2626

2727
Please note that ARC won't update automatically on Linux platform as this is not yet supported by the build library. This may be possible in the future.
2828

29-
ARC uses for testing
29+
ARC uses for testing
3030

SUMMARY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@
2222

2323
* [Web APIs basics](api-school/web-apis-basics.md)
2424

25+
## ARC Actions
26+
27+
* [Introduction](arc-actions/introduction/README.md)
28+
* [Set variable action](arc-actions/introduction/set-variable-action.md)
29+
* [Set cookie action](arc-actions/introduction/set-cookie-action.md)
30+
* [Remove cookie\(s\) action](arc-actions/introduction/remove-cookie-s-action.md)
31+

arc-actions/introduction/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Introduction
2+
3+
ARC actions allows you automate some work before and after request is made.
4+
5+
The request actions allow to perform some logic before the connection to the destination URL is made. At this time you can modify the request values by setting up variables or modifying cookies. The actions run before other transformations are made to the request object like applying cookies or variables.
6+
7+
The response actions are performed after the response has been completely ready from the connection, the response object has been created, and cookies has been processed. This way you can modify data stored in ARC after a response has been processed.
8+
9+
Actions by default runs synchronously. This means that the request is being made after all request actions finish. The same for the response actions. Response is reported after the actions are performed. When it make sense some actions may have configuration option to enable asynchronous processing.
10+
11+
When an action fails the request fails. Some actions may have a configuration option to ignore failures and allow to continue the request.
12+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Remove cookie\(s\) action
2+
3+
Coming soon
4+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Set cookie action
2+
3+
Set cookie action allows you to create a new cookie or to update existing one from the request or the response data. The cookie is stored in Electron's internal cookie storage \(ARC is built on the Electron platform which is derivative of the Chromium project\).
4+
5+
To set a cookie you need to configure cookie name to set, it's URL configuration, and the value.
6+
7+
The **name** of the cookie can be any value that is acceptable as a cookie value in HTTP specification.
8+
9+
The **URL** of the cookie can be either a request or final response URL or manually configured from a domain and a path. In the Chromium project cookies are internally associated with an URL. This includes the host part of the URL and the path. Final response URL is the URL used to make the last request before receiving non-redirected response \(or the first response if redirects are disabled for the request\).
10+
11+
Finally the data can be extracted from the request or response data.It can be an URL, headers, or the body. Depending whether it's request or response action the source of the data can be either a HTTP method or the status code.
12+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Set variable action
2+
3+
Coming soon.
4+

build/entitlements.mac.plist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)