Version Description
- 2016-09-27 =
Added
- Ability for users to toggle Automatic HTTPS Rewrites (enabled by default, solves for most mixed content errors).
Fixed
- Fixed an issue where low PHP version where getting syntax error.
- Fixed issue where some users using Flexible SSL where not able to login to wp-admin .
- Fixed a bug where the active zone selector was not paginating through the whole zone list.
- Fixed an issue where the setting for Image Optimization was being displayed incorrectly.
- Fixed a bug in Analytics where theUniques Visitors data was not displaying accurately.
Changed
- Compressed assets to lower plugin size.
- Hooks loading logic refactored to make it more simple and readable.
Download this release
Release Info
Developer | furkan811 |
Plugin | Cloudflare |
Version | 3.0.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.3 to 3.0.4
- README.md +85 -0
- assets/analytics-welcome.svg +1 -1
- assets/details-arrows.png +0 -0
- assets/hero-bg-clouds.png +0 -0
- assets/icons-seee324dde5.png +0 -0
- assets/icons_2x-s6333fe7591.png +0 -0
- assets/layers-2x.png +0 -0
- assets/layers.png +0 -0
- assets/logo-reverse.svg +1 -129
- assets/logo-symbol.svg +1 -91
- assets/logo.svg +1 -129
- assets/modal-two-factor-auth.png +0 -0
- assets/modal-two-factor-auth_2x.png +0 -0
- assets/overview-welcome-yjs.svg +1 -36
- assets/overview-welcome.svg +1 -62
- assets/plan-changed-success.svg +1 -1
- assets/request-submitted-success.svg +1 -1
- assets/select2-cf-white.png +0 -0
- assets/select2-cf.png +0 -0
- assets/select2x2-cf-white.png +0 -0
- assets/select2x2-cf.png +0 -0
- assets/spinner.gif +0 -0
- assets/vertical-range.png +0 -0
- assets/yjs-logo.svg +1 -1
- cloudflare.loader.php +45 -0
- cloudflare.php +16 -44
- compiled.js +139 -144
- composer.json +18 -18
- composer.lock +7 -7
- config.js +3 -3
- lang/en.js +2 -2
- readme.txt +20 -1
- src/WordPress/Hooks.php +49 -76
- src/WordPress/PluginActions.php +5 -0
- src/WordPress/Proxy.php +149 -0
- src/WordPress/Uninstall.php +0 -18
- vendor/cloudflare/cloudflare-plugin-backend/.gitignore +1 -0
- vendor/cloudflare/cloudflare-plugin-backend/CHANGELOG.md +4 -0
- vendor/cloudflare/cloudflare-plugin-backend/composer.json +1 -1
- vendor/cloudflare/cloudflare-plugin-backend/src/API/AbstractAPIClient.php +57 -25
- vendor/composer/installed.json +37 -37
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Cloudflare’s Plugin for WordPress
|
2 |
+
|
3 |
+
Cloudflare’s WordPress plugin brings all of the benefits of Cloudflare into your WordPress dashboard for configuration, including a one-click application of default settings specifically optimized for WordPress.
|
4 |
+
|
5 |
+
By enabling Cloudflare on your WordPress website, you’ll find performance and security gains such as doubling your page load speeds, DDoS protection, web application firewall with WordPress-specific rulesets, free SSL, and SEO improvements.
|
6 |
+
|
7 |
+
## Table of Contents
|
8 |
+
|
9 |
+
[Description](#description)
|
10 |
+
[Installation](#description)
|
11 |
+
[Support](#support)
|
12 |
+
[Features](#features)
|
13 |
+
[FAQ](#faq)
|
14 |
+
[Contributions](#contributions)
|
15 |
+
[Changelog](#changelog)
|
16 |
+
|
17 |
+
## Description
|
18 |
+
|
19 |
+
The WordPress plugin for Cloudflare offers all of the benefits of Cloudflare, with a one-click installation of settings specifically developed for the WordPress platform. Cloudflare’s free plugin for WordPress accelerates page load speeds, improves SEO, and protects against DDoS attacks and WordPress-specific vulnerabilities.
|
20 |
+
|
21 |
+
## Features
|
22 |
+
|
23 |
+
### One-click WordPress-optimized settings
|
24 |
+
One-click application of WordPress-optimized settings is the easiest way to setup Cloudflare’s performance and security on your WordPress site. You can review the recommended settings that are applied, here: https://support.cloudflare.com/hc/en-us/articles/227342487
|
25 |
+
|
26 |
+
### Web application firewall (WAF) rulesets
|
27 |
+
Cloudflare’s web application firewall (WAF), available on all of Cloudflare’s paid plans, has built-in rulesets specifically built to mitigate against WordPress threats and vulnerabilities. Cloudflare’s WAF provides confidence that your website is always protected, even against the latest threats and vulnerabilities targeting WordPress websites.
|
28 |
+
|
29 |
+
### Automatic cache purge on website updates
|
30 |
+
Cloudflare’s plugin for WordPress automatically refreshes the Cloudflare cache upon making changes to your website appearance. This means that you can focus on your website, while we take care of ensuring that the freshest content is always available to your visitors.
|
31 |
+
|
32 |
+
### Additional Features
|
33 |
+
- Header rewrites to prevent a redirect loop when Cloudflare’s Universal SSL is enabled.
|
34 |
+
- Change Cloudflare settings from within the plugin without needing to navigate to the Cloudflare.com dashboard. You can change settings for cache purge, security level, Always Online™, and image optimization.
|
35 |
+
- View analytics such as total visitors, bandwidth saved, and threats blocked.
|
36 |
+
- Support for HTTP2/Server Push.
|
37 |
+
|
38 |
+
## Installation
|
39 |
+
1. To install the Cloudflare plugin into your WordPress admin panel, please visit: https://wordpress.org/plugins/cloudflare/ and click “Download” or download the plugin from this GitHub repo.
|
40 |
+
- To install the plugin after downloading it via GitHub, navigate to Plugins >> Add New >> Upload Plugin and upload the Cloudflare-Wordpress-master.zip file.
|
41 |
+
|
42 |
+
2. Once you’ve installed the plugin, activate it through the WordPress plugin panel.
|
43 |
+
|
44 |
+
3. If you're upgrading from the old plugin, and had previously inputted your API Key, you'll be automatically logged-in after updating the plugin.
|
45 |
+
|
46 |
+
4. If this is the first time installing Cloudflare's WordPress plugin, please navigate to the plugin settings inside of your WordPress admin panel after activating, and input your Cloudflare username and API key; to find your API key, follow these instructions. If you do not already have a Cloudflare account, you’ll see the option to create one.
|
47 |
+
|
48 |
+
5. After successfully logging into the plugin, click the “Apply Default Settings” button within the plugin’s dashboard. Clicking “Apply” will enable specific Cloudflare settings, optimized for the WordPress platform. These settings can be found here.
|
49 |
+
|
50 |
+
6. Once this setting has been applied, that’s it! Your website is now on the Cloudflare network and optimized for the WordPress platform. You’ll also begin to see improved website load speeds, bandwidth savings, and protection against hackers, spammers, and bots.
|
51 |
+
|
52 |
+
## FAQ
|
53 |
+
### Do I need a Cloudflare account to use the plugin?
|
54 |
+
Yes, on install and activation the plugin, first time users will be asked to enter their email address (used to sign-up for an account at cloudflare.com) and their user API key. This is needed to support all the features offered by the plugin.
|
55 |
+
|
56 |
+
### What settings are applied when I click "Apply Default Settings" in Cloudflare's WordPress plugin?
|
57 |
+
You can review the recommended settings that are applied, here: https://support.cloudflare.com/hc/en-us/articles/227342487
|
58 |
+
|
59 |
+
### Does the plugin work if I have Varnish enabled?
|
60 |
+
Yes, Cloudflare works with, and helps speed up your site even more, if you have Varnish enabled.
|
61 |
+
|
62 |
+
### Why am I getting “Cloudflare plugin requires php5-curl to be installed” error?
|
63 |
+
Make sure that the php5-curl extension is installed on your system.
|
64 |
+
|
65 |
+
## Support
|
66 |
+
### Visit Our Knowledge Base
|
67 |
+
Before submitting a support ticket, check out our knowledge base to see if your question has already been answered: https://support.cloudflare.com/hc/en-us/sections/200820268-Content-Management-System-CMS-
|
68 |
+
|
69 |
+
### File a Support Ticket
|
70 |
+
For all support inquiries regarding Cloudflare’s WordPress plugin, please login to your Cloudflare account, file a support ticket, include any screenshots or details: https://support.cloudflare.com/hc/en-us/requests/new
|
71 |
+
|
72 |
+
## Contributions
|
73 |
+
We welcome community contribution to this repository. To help add functionality or address issues, please take the following steps:
|
74 |
+
- Fork the repository from the master branch.
|
75 |
+
- Create a new branch for your features / fixes.
|
76 |
+
- Make the changes you wish to see.
|
77 |
+
- Add tests for all changes.
|
78 |
+
- Create a pull request with details of what changes have been made, explanation of new behaviour, and link to issue that is addressed.
|
79 |
+
- Ensure documentation contains the correct information.
|
80 |
+
- Pull requests will be reviewed and hopefully merged into a release.
|
81 |
+
|
82 |
+
## Changelog
|
83 |
+
|
84 |
+
See [changelog](https://en-gb.wordpress.org/plugins/cloudflare/changelog/)
|
85 |
+
|
assets/analytics-welcome.svg
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 389 384" enable-background="new 0 0 389 384"><path fill="#3A82C2" d="M194.5 378.2C91.7 378.2 8.1 294.5 8.1 191.8 8.1 89 91.7 5.3 194.5 5.3c102.8 0 186.4 83.6 186.4 186.4 0 102.8-83.6 186.5-186.4 186.5zm0-369C93.8 9.2 11.9 91.1 11.9 191.8c0 100.7 81.9 182.6 182.6 182.6 100.7 0 182.6-81.9 182.6-182.6 0-100.7-81.9-182.6-182.6-182.
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 389 384" enable-background="new 0 0 389 384"><path fill="#3A82C2" d="M194.5 378.2C91.7 378.2 8.1 294.5 8.1 191.8 8.1 89 91.7 5.3 194.5 5.3c102.8 0 186.4 83.6 186.4 186.4 0 102.8-83.6 186.5-186.4 186.5zm0-369C93.8 9.2 11.9 91.1 11.9 191.8c0 100.7 81.9 182.6 182.6 182.6 100.7 0 182.6-81.9 182.6-182.6 0-100.7-81.9-182.6-182.6-182.6zm0 349.4c-92 0-166.8-74.8-166.8-166.8S102.5 24.9 194.5 24.9s166.8 74.8 166.8 166.8-74.8 166.9-166.8 166.9zm0-329.8c-89.9 0-163 73.1-163 163s73.1 163 163 163 163-73.1 163-163-73.1-163-163-163zm0 310.2c-81.2 0-147.2-66-147.2-147.2s66-147.2 147.2-147.2 147.2 66 147.2 147.2S275.7 339 194.5 339zm0-290.6c-79.1 0-143.4 64.3-143.4 143.4s64.3 143.4 143.4 143.4 143.4-64.3 143.4-143.4S273.6 48.4 194.5 48.4zm0 271c-70.4 0-127.6-57.2-127.6-127.6 0-70.4 57.2-127.6 127.6-127.6 70.4 0 127.6 57.2 127.6 127.6 0 70.3-57.2 127.6-127.6 127.6zm0-251.4c-68.2 0-123.8 55.5-123.8 123.8s55.5 123.8 123.8 123.8S318.3 260 318.3 191.8 262.7 68 194.5 68zm0 231.8c-59.6 0-108-48.5-108-108s48.5-108 108-108 108 48.5 108 108-48.4 108-108 108zm0-212.2c-57.4 0-104.2 46.7-104.2 104.2S137 296 194.5 296s104.2-46.7 104.2-104.2S251.9 87.6 194.5 87.6zm0 192.6c-48.7 0-88.4-39.7-88.4-88.4s39.7-88.4 88.4-88.4 88.4 39.7 88.4 88.4-39.7 88.4-88.4 88.4zm0-173c-46.6 0-84.5 37.9-84.5 84.5s37.9 84.5 84.5 84.5 84.5-37.9 84.5-84.5-37.9-84.5-84.5-84.5zm0 153.3c-37.9 0-68.8-30.9-68.8-68.8s30.9-68.8 68.8-68.8 68.8 30.9 68.8 68.8c0 38-30.9 68.8-68.8 68.8zm0-133.7c-35.8 0-64.9 29.1-64.9 64.9 0 35.8 29.1 64.9 64.9 64.9 35.8 0 64.9-29.1 64.9-64.9 0-35.8-29.1-64.9-64.9-64.9z"/><circle cx="142.1" cy="258.3" r="11.6" fill="#9BCA3E"/><path fill="#2F7BBF" d="M142.1 265c-3.3 0-6-3-6-6h2.8c0 2 1.5 3.2 3.2 3.2s3.2-1.2 3.2-3.2h2.8c0 3-2.7 6-6 6zm2.3-12.4h3.5v3.5h-3.5zm-8.1 0h3.5v3.5h-3.5z"/><path fill="#63A1D7" d="M80.8 141.7c0 10.6-8 18.9-18.6 18.9-10.6 0-19.1-8.6-19.1-19.6H61v-18.3c10 0 19.8 8.4 19.8 19zM57 137v-19.8c-10 1.1-18.7 9.8-19.7 19.8H57z"/><circle cx="194.5" cy="191.8" r="52.5" fill="#204361"/><path fill="#ECECEC" d="M194.5 144.4c-26.1 0-47.3 21.2-47.3 47.3 0 13.3 5.5 25.3 14.3 33.9l66.9-66.9c-8.6-8.8-20.6-14.3-33.9-14.3z"/><path fill="#fff" d="M161.5 225.6c8.5 8.3 20.2 13.4 33 13.4 26.1 0 47.3-21.2 47.3-47.3 0-12.9-5.1-24.5-13.4-33l-66.9 66.9z"/><path fill="#204361" d="M194.3 160.2c-.8 0-1.4-.6-1.4-1.4V149c0-.8.6-1.4 1.4-1.4s1.4.6 1.4 1.4v9.8c0 .7-.6 1.4-1.4 1.4zm0 75.7c-.8 0-1.4-.6-1.4-1.4v-9.8c0-.8.6-1.4 1.4-1.4s1.4.6 1.4 1.4v9.8c0 .8-.6 1.4-1.4 1.4zM161 193.2h-9.8c-.8 0-1.4-.6-1.4-1.4s.6-1.4 1.4-1.4h9.8c.8 0 1.4.6 1.4 1.4s-.6 1.4-1.4 1.4zm75.8 0H227c-.8 0-1.4-.6-1.4-1.4s.6-1.4 1.4-1.4h9.8c.8 0 1.4.6 1.4 1.4s-.6 1.4-1.4 1.4z"/><path fill="#3A82C2" d="M215 212.4c-.3 0-.7-.1-.9-.3l-21.6-18.6 24.7-40.6c.4-.7 1.3-.9 2-.5s.9 1.3.5 2L196.2 193l19.7 17c.6.5.7 1.4.2 2-.3.2-.7.4-1.1.4z"/><path fill="#63A1D7" d="M243.5 272.1c-5.3 0-9.5 4.3-9.5 9.5 0 5.3 9.5 14.3 9.5 14.3s9.5-9.1 9.5-14.3c.1-5.2-4.2-9.5-9.5-9.5zm0 13.6c-2.3 0-4.1-1.8-4.1-4.1s1.8-4.1 4.1-4.1 4.1 1.8 4.1 4.1-1.8 4.1-4.1 4.1z"/><path fill="#F68B20" d="M81.7 255h-9.6l3.8-15.8-25 22.8h9.6l-3.8 15.8z"/><path fill="#9BCA3E" d="M251.6 112c-4.3-.1-7.6-3.7-7.5-7.9.1-4.3 3.7-7.6 7.9-7.5 4.3.1 7.6 3.7 7.5 7.9-.1 4.3-3.6 7.6-7.9 7.5zm-.6-4.6l4.8-4.5-1.5-1.6-3.2 3-1.5-1.6-1.6 1.5 3 3.2z"/><path fill="#63A1D7" d="M325.1 161.2h-17.5l-3.8 12.5v12.5h25v-12.5l-3.7-12.5zm1.3 22.5h-20v-7.5h20v7.5zm-2.5-2.5h-2.5v-2.5h2.5v2.5z"/></svg>
|
assets/details-arrows.png
CHANGED
Binary file
|
assets/hero-bg-clouds.png
CHANGED
Binary file
|
assets/icons-seee324dde5.png
CHANGED
Binary file
|
assets/icons_2x-s6333fe7591.png
CHANGED
Binary file
|
assets/layers-2x.png
CHANGED
Binary file
|
assets/layers.png
CHANGED
Binary file
|
assets/logo-reverse.svg
CHANGED
@@ -1,129 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 1110.8 195.2" enable-background="new 0 0 1110.8 195.2" xml:space="preserve">
|
5 |
-
<g>
|
6 |
-
<g>
|
7 |
-
<g>
|
8 |
-
<g>
|
9 |
-
<g>
|
10 |
-
<path fill="#FFFFFF" d="M958,84.5h-22.3l-21.9,39.6h-29.4V84.5h-15.2v47.4h56l5-9h34.1l5.2,9h15.4L958,84.5z M933.5,116
|
11 |
-
L947,91.4h0.2l13.6,24.6H933.5z"/>
|
12 |
-
<path fill="#FFFFFF" d="M1031.9,116.1c11.7-1.2,16.2-4.9,16.2-15.3c0-13.3-7-16.3-28.1-16.3h-35v47.4h15.2V92.2h19.8
|
13 |
-
c11.4-0.1,13,1.8,13,8.5c0,6.4-2,7.7-11.9,7.9H1004l27.5,23.1h19.2L1031.9,116.1z"/>
|
14 |
-
<path fill="#FFFFFF" d="M1070.4,104.1h37v7.5h-37v12.6h39.3v7.8h-54.5V84.5h54.2v7.8h-39V104.1z"/>
|
15 |
-
</g>
|
16 |
-
<g>
|
17 |
-
<path fill="#FFFFFF" d="M522.5,122.9h-28.8c-11.8,0-15.4-6.3-15.4-12.4V97.6c0-9.1,5-11.3,18.3-11.3h22.5v0h8.2v-8.9h-30.7
|
18 |
-
c-25.1,0-35.8,5.5-35.8,20.3v12.9c0,11.3,5.3,21.4,32.8,21.4h33.6v-8.9L522.5,122.9L522.5,122.9z"/>
|
19 |
-
</g>
|
20 |
-
<g>
|
21 |
-
<path fill="#FFFFFF" d="M548.3,124h36.9v7.8h-52.1V84.4h15.2V124z"/>
|
22 |
-
</g>
|
23 |
-
<g>
|
24 |
-
<path fill="#FFFFFF" d="M651.7,101.2V114c0,15.2-9.8,18.1-33.7,18.1c-24.5,0-33.4-2.5-33.4-18.1v-12.8
|
25 |
-
c0-14.7,8.3-17.3,33.4-17.3C640.7,83.9,651.7,86,651.7,101.2z M599.7,101.2V114c0,9.4,3.1,10.3,18.2,10.3
|
26 |
-
c13.8,0,18.5-1.1,18.5-10.3v-12.8c0.3-8.9-5.1-9.5-18.5-9.5C601.6,91.7,600.1,93.7,599.7,101.2z"/>
|
27 |
-
</g>
|
28 |
-
<g>
|
29 |
-
<path fill="#FFFFFF" d="M723,84.3V118c0,13.2-13.8,14.1-33,14.1c-18.5,0-32.8-0.8-32.8-14.1V84.3h15.2V118
|
30 |
-
c0,4.9,3,6.3,17.6,6.3c14,0,17.8-1.2,17.8-6.3V84.3H723z"/>
|
31 |
-
</g>
|
32 |
-
<g>
|
33 |
-
<path fill="#FFFFFF" d="M731.1,84.4h37.7c21.8,0,31.1,4.7,31.1,17.6v11.2c0,9.9-4.6,18.6-28.6,18.6h-40.3V84.4z M771.3,124
|
34 |
-
c10.2,0,13.4-5.5,13.4-10.8V102c0-7.9-4.3-9.9-15.9-9.9h-22.6V124H771.3z"/>
|
35 |
-
</g>
|
36 |
-
<g>
|
37 |
-
<path fill="#FFFFFF" d="M822.8,101.1h39.9v8.5h-39.9v22.2h-17.2V78h59.2v8.8h-42V101.1z"/>
|
38 |
-
</g>
|
39 |
-
</g>
|
40 |
-
</g>
|
41 |
-
</g>
|
42 |
-
|
43 |
-
<radialGradient id="SVGID_1_" cx="339.2699" cy="109.2709" r="80.8503" fx="337.2908" fy="113.4299" gradientUnits="userSpaceOnUse">
|
44 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
45 |
-
<stop offset="0.1902" style="stop-color:#FCE800"/>
|
46 |
-
<stop offset="0.8593" style="stop-color:#EC8F27"/>
|
47 |
-
</radialGradient>
|
48 |
-
<polygon fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_1_)" points="332.6,57.5 342.2,23.9 343.6,24.1 344.6,59.3
|
49 |
-
362.6,29.5 364.2,30.3 355.8,64.1 381.3,39.9 382.6,41.1 365.4,71.7 396.4,55.3 397.4,56.5 372.8,81.7 407,73.9 407.8,75.3
|
50 |
-
377.4,93.1 412.6,94.4 412.6,95.9 378.6,105.3 412.4,115.3 412.4,116.7 377.2,117.3 407,135.9 406.2,137.5 372.3,128.9
|
51 |
-
396.2,154.3 395.4,155.7 365,138.3 381.3,169.1 379.8,170.3 354.8,145.7 363,179.5 361.4,180.5 343.6,150.3 343.1,185.1
|
52 |
-
341.2,185.5 331.6,151.9 321.6,185.5 319.8,185.1 319.8,150.3 318.8,149.9 299.4,179.1 307.8,145.3 282.2,169.3 280.8,168.1
|
53 |
-
298.2,137.7 267,153.9 266,152.7 290.6,127.9 256.2,135.5 255.8,134.1 286.2,116.3 251.4,114.9 250.8,113.5 284.6,103.9
|
54 |
-
251.2,94.1 251.4,92.5 286.4,91.9 256.8,73.9 257,72.3 291.3,80.9 267,55.3 268.2,53.9 299,70.7 282.2,40.3 283.2,39.1 309,63.7
|
55 |
-
300.6,29.5 300.3,28.9 320.6,59.3 321,23.9 323,23.9 "/>
|
56 |
-
<g>
|
57 |
-
<path fill="#F68B1F" d="M427.5,170.7c0-33.6-27.2-60.8-60.8-60.8c-13.6,0-26.1,4.4-36.2,11.9c1.3-6.4,1.9-13,1.9-19.7
|
58 |
-
C332.5,46.3,287.2,1,231.3,1c-44.5,0-82.3,28.7-95.9,68.7c-7.6-5.7-17.1-9.1-27.3-9.1c-25.2,0-45.6,20.4-45.6,45.6
|
59 |
-
c0,3.9,0.5,7.7,1.4,11.3C29,118.5,1,147.1,1,182.2c0,4.1,0.4,8.1,1.1,12h420.7C425.9,187,427.5,179,427.5,170.7z"/>
|
60 |
-
</g>
|
61 |
-
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="231.347" y1="81.211" x2="231.347" y2="1.91">
|
62 |
-
<stop offset="0" style="stop-color:#F68B1F"/>
|
63 |
-
<stop offset="1" style="stop-color:#FFFFFF"/>
|
64 |
-
</linearGradient>
|
65 |
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_2_)" d="M320.7,102.3c0,49.3-40.1,80.5-89.4,80.5
|
66 |
-
c-49.3,0-89.2-31.2-89.2-80.5S182,13,231.3,13C280.7,13,320.7,53,320.7,102.3"/>
|
67 |
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#F68B1F" d="M307,102.9c0,30.2-34.1,54.6-76.2,54.6
|
68 |
-
c-42.1,0-76.2-24.5-76.2-54.6c0-30.2,34.1-54.6,76.2-54.6C272.9,48.3,307,72.7,307,102.9"/>
|
69 |
-
|
70 |
-
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="101.1775" y1="148.0421" x2="126.395" y2="173.2596" gradientTransform="matrix(0.9642 0.2653 -0.2653 0.9642 31.8692 -95.1941)">
|
71 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
72 |
-
<stop offset="4.820809e-02" style="stop-color:#FEF6ED"/>
|
73 |
-
<stop offset="0.2569" style="stop-color:#FBD0A5"/>
|
74 |
-
<stop offset="0.4442" style="stop-color:#F9B26B"/>
|
75 |
-
<stop offset="0.6034" style="stop-color:#F79D42"/>
|
76 |
-
<stop offset="0.7282" style="stop-color:#F69028"/>
|
77 |
-
<stop offset="0.8033" style="stop-color:#F68B1F"/>
|
78 |
-
</linearGradient>
|
79 |
-
<circle fill="url(#SVGID_3_)" cx="108.3" cy="106.4" r="33.7"/>
|
80 |
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#F68B1F" d="M135.7,93.5c5.7,9.9-1.4,24.7-16,33.1c-14.5,8.4-31,7.2-36.7-2.7
|
81 |
-
c-5.7-9.9,1.4-24.7,16-33.1C113.6,82.4,130,83.6,135.7,93.5"/>
|
82 |
-
<g>
|
83 |
-
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="5.8597" y1="82.1805" x2="101.2378" y2="229.0325">
|
84 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
85 |
-
<stop offset="4.820809e-02" style="stop-color:#FEF6ED"/>
|
86 |
-
<stop offset="0.2569" style="stop-color:#FBD0A5"/>
|
87 |
-
<stop offset="0.4442" style="stop-color:#F9B26B"/>
|
88 |
-
<stop offset="0.6034" style="stop-color:#F79D42"/>
|
89 |
-
<stop offset="0.7282" style="stop-color:#F69028"/>
|
90 |
-
<stop offset="0.8033" style="stop-color:#F68B1F"/>
|
91 |
-
</linearGradient>
|
92 |
-
<path fill="url(#SVGID_4_)" d="M118.9,182.1c0-29.4-23.8-53.2-53.2-53.2c-29.4,0-53.2,23.8-53.2,53.2c0,0.1,0,0.2,0,0.3h106.4
|
93 |
-
C118.9,182.3,118.9,182.2,118.9,182.1z"/>
|
94 |
-
</g>
|
95 |
-
<g>
|
96 |
-
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="384.5498" y1="119.1828" x2="369.9152" y2="162.0772">
|
97 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
98 |
-
<stop offset="4.820809e-02" style="stop-color:#FEF6ED"/>
|
99 |
-
<stop offset="0.2569" style="stop-color:#FBD0A5"/>
|
100 |
-
<stop offset="0.4442" style="stop-color:#F9B26B"/>
|
101 |
-
<stop offset="0.6034" style="stop-color:#F79D42"/>
|
102 |
-
<stop offset="0.7282" style="stop-color:#F69028"/>
|
103 |
-
<stop offset="0.8033" style="stop-color:#F68B1F"/>
|
104 |
-
</linearGradient>
|
105 |
-
<path fill="url(#SVGID_5_)" d="M415.8,170.2c0-26.8-21.7-48.5-48.5-48.5c-26.8,0-48.5,21.7-48.5,48.5c0,3.8,0.4,7.4,1.3,11h94.5
|
106 |
-
C415.3,177.7,415.8,174,415.8,170.2z"/>
|
107 |
-
</g>
|
108 |
-
<g>
|
109 |
-
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="215.2657" y1="138.7798" x2="215.2657" y2="185.6538">
|
110 |
-
<stop offset="0" style="stop-color:#F68B1F"/>
|
111 |
-
<stop offset="0.5308" style="stop-color:#CB672F"/>
|
112 |
-
<stop offset="1" style="stop-color:#A1453F"/>
|
113 |
-
</linearGradient>
|
114 |
-
<polygon fill="url(#SVGID_6_)" points="417.8,182.9 416,179.3 414,175.9 411.2,171.5 408.4,167.9 405,163.7 401.6,160.1
|
115 |
-
397.6,156.3 393.8,153.1 389.6,150.1 385.4,147.5 380.8,144.9 376.8,142.9 372.8,141.3 369.2,140.3 365.6,139.5 362,138.9
|
116 |
-
357.8,138.5 83,139.1 78.6,139.3 74.2,139.5 69.4,140.1 65.4,140.9 60.2,142.1 56.6,143.3 52.8,144.7 49,146.1 44.2,148.5
|
117 |
-
40.6,150.3 36,153.3 31.8,156.5 27.4,160.1 23.6,163.9 20.6,167.5 17.4,171.7 15,175.9 13.2,179.5 12.2,182.9 11.6,185.8
|
118 |
-
419,185.8 "/>
|
119 |
-
</g>
|
120 |
-
|
121 |
-
<radialGradient id="SVGID_7_" cx="271.3896" cy="133.3459" r="108.2159" fx="338.517" fy="113.7265" gradientUnits="userSpaceOnUse">
|
122 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
123 |
-
<stop offset="0.1334" style="stop-color:#FCE800"/>
|
124 |
-
<stop offset="0.8593" style="stop-color:#EC8F27"/>
|
125 |
-
</radialGradient>
|
126 |
-
<polygon fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_7_)" points="338.6,113.9 375.4,162.1 374,163.1 331,124.5
|
127 |
-
166,154.5 165.8,152.9 319.2,117.7 234.8,88.9 235.8,87.7 "/>
|
128 |
-
</g>
|
129 |
-
</svg>
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1110.8 195.2" enable-background="new 0 0 1110.8 195.2"><g fill="#fff"><path d="M958 84.5h-22.3l-21.9 39.6h-29.4V84.5h-15.2v47.4h56l5-9h34.1l5.2 9h15.4L958 84.5zM933.5 116L947 91.4h.2l13.6 24.6h-27.3zM1031.9 116.1c11.7-1.2 16.2-4.9 16.2-15.3 0-13.3-7-16.3-28.1-16.3h-35v47.4h15.2V92.2h19.8c11.4-.1 13 1.8 13 8.5 0 6.4-2 7.7-11.9 7.9H1004l27.5 23.1h19.2l-18.8-15.6zM1070.4 104.1h37v7.5h-37v12.6h39.3v7.8h-54.5V84.5h54.2v7.8h-39v11.8z"/></g><path fill="#fff" d="M522.5 122.9h-28.8c-11.8 0-15.4-6.3-15.4-12.4V97.6c0-9.1 5-11.3 18.3-11.3h30.7v-8.9h-30.7c-25.1 0-35.8 5.5-35.8 20.3v12.9c0 11.3 5.3 21.4 32.8 21.4h33.6v-8.9l-4.7-.2zM548.3 124h36.9v7.8h-52.1V84.4h15.2V124zM651.7 101.2V114c0 15.2-9.8 18.1-33.7 18.1-24.5 0-33.4-2.5-33.4-18.1v-12.8c0-14.7 8.3-17.3 33.4-17.3 22.7 0 33.7 2.1 33.7 17.3zm-52 0V114c0 9.4 3.1 10.3 18.2 10.3 13.8 0 18.5-1.1 18.5-10.3v-12.8c.3-8.9-5.1-9.5-18.5-9.5-16.3 0-17.8 2-18.2 9.5zM723 84.3V118c0 13.2-13.8 14.1-33 14.1-18.5 0-32.8-.8-32.8-14.1V84.3h15.2V118c0 4.9 3 6.3 17.6 6.3 14 0 17.8-1.2 17.8-6.3V84.3H723zM731.1 84.4h37.7c21.8 0 31.1 4.7 31.1 17.6v11.2c0 9.9-4.6 18.6-28.6 18.6H731V84.4zm40.2 39.6c10.2 0 13.4-5.5 13.4-10.8V102c0-7.9-4.3-9.9-15.9-9.9h-22.6V124h25.1zM822.8 101.1h39.9v8.5h-39.9v22.2h-17.2V78h59.2v8.8h-42v14.3z"/><radialGradient id="a" cx="339.27" cy="109.271" r="80.85" fx="337.291" fy="113.43" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".19" stop-color="#FCE800"/><stop offset=".859" stop-color="#EC8F27"/></radialGradient><path fill="url(#a)" fill-rule="evenodd" d="M332.6 57.5l9.6-33.6 1.4.2 1 35.2 18-29.8 1.6.8-8.4 33.8 25.5-24.2 1.3 1.2-17.2 30.6 31-16.4 1 1.2-24.6 25.2 34.2-7.8.8 1.4-30.4 17.8 35.2 1.3v1.5l-34 9.4 33.8 10v1.4l-35.2.6 29.8 18.6-.8 1.6-33.9-8.6 23.9 25.4-.8 1.4-30.4-17.4 16.3 30.8-1.5 1.2-25-24.6 8.2 33.8-1.6 1-17.8-30.2-.5 34.8-1.9.4-9.6-33.6-10 33.6-1.8-.4v-34.8l-1-.4-19.4 29.2 8.4-33.8-25.6 24-1.4-1.2 17.4-30.4-31.2 16.2-1-1.2 24.6-24.8-34.4 7.6-.4-1.4 30.4-17.8-34.8-1.4-.6-1.4 33.8-9.6-33.4-9.8.2-1.6 35-.6-29.6-18 .2-1.6 34.3 8.6L267 55.3l1.2-1.4L299 70.7l-16.8-30.4 1-1.2L309 63.7l-8.4-34.2-.3-.6 20.3 30.4.4-35.4h2z" clip-rule="evenodd"/><path fill="#F68B1F" d="M427.5 170.7c0-33.6-27.2-60.8-60.8-60.8-13.6 0-26.1 4.4-36.2 11.9 1.3-6.4 1.9-13 1.9-19.7C332.5 46.3 287.2 1 231.3 1c-44.5 0-82.3 28.7-95.9 68.7-7.6-5.7-17.1-9.1-27.3-9.1-25.2 0-45.6 20.4-45.6 45.6 0 3.9.5 7.7 1.4 11.3C29 118.5 1 147.1 1 182.2c0 4.1.4 8.1 1.1 12h420.7c3.1-7.2 4.7-15.2 4.7-23.5z"/><linearGradient id="b" x1="231.347" x2="231.347" y1="81.211" y2="1.91" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#F68B1F"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#b)" fill-rule="evenodd" d="M320.7 102.3c0 49.3-40.1 80.5-89.4 80.5-49.3 0-89.2-31.2-89.2-80.5S182 13 231.3 13c49.4 0 89.4 40 89.4 89.3" clip-rule="evenodd"/><path fill="#F68B1F" fill-rule="evenodd" d="M307 102.9c0 30.2-34.1 54.6-76.2 54.6s-76.2-24.5-76.2-54.6c0-30.2 34.1-54.6 76.2-54.6S307 72.7 307 102.9" clip-rule="evenodd"/><linearGradient id="c" x1="101.177" x2="126.395" y1="148.042" y2="173.26" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.964 .265 -.265 .964 31.869 -95.194)"><stop offset="0" stop-color="#fff"/><stop offset=".048" stop-color="#FEF6ED"/><stop offset=".257" stop-color="#FBD0A5"/><stop offset=".444" stop-color="#F9B26B"/><stop offset=".603" stop-color="#F79D42"/><stop offset=".728" stop-color="#F69028"/><stop offset=".803" stop-color="#F68B1F"/></linearGradient><circle cx="108.3" cy="106.4" r="33.7" fill="url(#c)"/><path fill="#F68B1F" fill-rule="evenodd" d="M135.7 93.5c5.7 9.9-1.4 24.7-16 33.1-14.5 8.4-31 7.2-36.7-2.7-5.7-9.9 1.4-24.7 16-33.1 14.6-8.4 31-7.2 36.7 2.7" clip-rule="evenodd"/><linearGradient id="d" x1="5.86" x2="101.238" y1="82.18" y2="229.032" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".048" stop-color="#FEF6ED"/><stop offset=".257" stop-color="#FBD0A5"/><stop offset=".444" stop-color="#F9B26B"/><stop offset=".603" stop-color="#F79D42"/><stop offset=".728" stop-color="#F69028"/><stop offset=".803" stop-color="#F68B1F"/></linearGradient><path fill="url(#d)" d="M118.9 182.1c0-29.4-23.8-53.2-53.2-53.2-29.4 0-53.2 23.8-53.2 53.2 0 .1 0 .2 0 .3h106.4c0-.1 0-.2 0-.3z"/><linearGradient id="e" x1="384.55" x2="369.915" y1="119.183" y2="162.077" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".048" stop-color="#FEF6ED"/><stop offset=".257" stop-color="#FBD0A5"/><stop offset=".444" stop-color="#F9B26B"/><stop offset=".603" stop-color="#F79D42"/><stop offset=".728" stop-color="#F69028"/><stop offset=".803" stop-color="#F68B1F"/></linearGradient><path fill="url(#e)" d="M415.8 170.2c0-26.8-21.7-48.5-48.5-48.5s-48.5 21.7-48.5 48.5c0 3.8.4 7.4 1.3 11h94.5c.7-3.5 1.2-7.2 1.2-11z"/><linearGradient id="f" x1="215.266" x2="215.266" y1="138.78" y2="185.654" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#F68B1F"/><stop offset=".531" stop-color="#CB672F"/><stop offset="1" stop-color="#A1453F"/></linearGradient><path fill="url(#f)" d="M417.8 182.9l-1.8-3.6-2-3.4-2.8-4.4-2.8-3.6-3.4-4.2-3.4-3.6-4-3.8-3.8-3.2-4.2-3-4.2-2.6-4.6-2.6-4-2-4-1.6-3.6-1-3.6-.8-3.6-.6-4.2-.4-274.8.6-4.4.2-4.4.2-4.8.6-4 .8-5.2 1.2-3.6 1.2-3.8 1.4-3.8 1.4-4.8 2.4-3.6 1.8-4.6 3-4.2 3.2-4.4 3.6-3.8 3.8-3 3.6-3.2 4.2-2.4 4.2-1.8 3.6-1 3.4-.6 2.9H419z"/><radialGradient id="g" cx="271.39" cy="133.346" r="108.216" fx="338.517" fy="113.727" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".133" stop-color="#FCE800"/><stop offset=".859" stop-color="#EC8F27"/></radialGradient><path fill="url(#g)" fill-rule="evenodd" d="M338.6 113.9l36.8 48.2-1.4 1-43-38.6-165 30-.2-1.6 153.4-35.2-84.4-28.8 1-1.2z" clip-rule="evenodd"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/logo-symbol.svg
CHANGED
@@ -1,91 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 439.4 207.4" enable-background="new 0 0 439.4 207.4" xml:space="preserve">
|
5 |
-
<g>
|
6 |
-
|
7 |
-
<radialGradient id="SVGID_1_" cx="344.6563" cy="115.3711" r="80.8503" fx="342.6772" fy="119.5301" gradientUnits="userSpaceOnUse">
|
8 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
9 |
-
<stop offset="0.1902" style="stop-color:#FCE800"/>
|
10 |
-
<stop offset="0.8593" style="stop-color:#EC8F27"/>
|
11 |
-
</radialGradient>
|
12 |
-
<polygon fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_1_)" points="338,63.6 347.6,30 349,30.2 350,65.4 368,35.6
|
13 |
-
369.6,36.4 361.2,70.2 386.7,46 388,47.2 370.8,77.8 401.8,61.4 402.8,62.6 378.2,87.8 412.4,80 413.2,81.4 382.8,99.2 418,100.5
|
14 |
-
418,102 384,111.4 417.8,121.4 417.8,122.8 382.6,123.4 412.4,142 411.6,143.6 377.7,135 401.6,160.4 400.8,161.8 370.4,144.4
|
15 |
-
386.7,175.2 385.2,176.4 360.2,151.8 368.4,185.6 366.8,186.6 349,156.4 348.4,191.2 346.6,191.6 337,158 327,191.6 325.2,191.2
|
16 |
-
325.2,156.4 324.2,156 304.8,185.2 313.2,151.4 287.6,175.4 286.2,174.2 303.6,143.8 272.4,160 271.4,158.8 296,134 261.6,141.6
|
17 |
-
261.2,140.2 291.6,122.4 256.8,121 256.2,119.6 289.9,110 256.6,100.2 256.8,98.6 291.8,98 262.2,80 262.4,78.4 296.7,87
|
18 |
-
272.4,61.4 273.6,60 304.4,76.8 287.6,46.4 288.6,45.2 314.4,69.8 306,35.6 305.7,35 325.9,65.4 326.4,30 328.4,30 "/>
|
19 |
-
<g>
|
20 |
-
<path fill="#F68B1F" d="M432.9,176.9c0-33.6-27.2-60.8-60.8-60.8c-13.6,0-26.1,4.4-36.2,11.9c1.3-6.4,1.9-13,1.9-19.7
|
21 |
-
c0-55.9-45.3-101.2-101.3-101.2c-44.5,0-82.3,28.7-95.9,68.7c-7.6-5.7-17.1-9.1-27.3-9.1c-25.2,0-45.6,20.4-45.6,45.6
|
22 |
-
c0,3.9,0.5,7.7,1.4,11.3c-34.9,1-62.9,29.6-62.9,64.8c0,4.1,0.4,8.1,1.1,12h420.7C431.3,193.1,432.9,185.1,432.9,176.9z"/>
|
23 |
-
</g>
|
24 |
-
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="236.7335" y1="87.3112" x2="236.7335" y2="8.0102">
|
25 |
-
<stop offset="0" style="stop-color:#F68B1F"/>
|
26 |
-
<stop offset="1" style="stop-color:#FFFFFF"/>
|
27 |
-
</linearGradient>
|
28 |
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_2_)" d="M326,108.4c0,49.3-40.1,80.5-89.4,80.5
|
29 |
-
c-49.3,0-89.2-31.2-89.2-80.5s40-89.3,89.3-89.3C286.1,19.1,326,59.1,326,108.4"/>
|
30 |
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#F68B1F" d="M312.4,109c0,30.2-34.1,54.6-76.2,54.6
|
31 |
-
c-42.1,0-76.2-24.5-76.2-54.6c0-30.2,34.1-54.6,76.2-54.6C278.2,54.4,312.4,78.8,312.4,109"/>
|
32 |
-
|
33 |
-
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="94.0415" y1="61.5134" x2="119.2589" y2="86.7309" gradientTransform="matrix(0.9642 0.2653 -0.2653 0.9642 21.1801 -3.7698)">
|
34 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
35 |
-
<stop offset="4.820809e-02" style="stop-color:#FEF6ED"/>
|
36 |
-
<stop offset="0.2569" style="stop-color:#FBD0A5"/>
|
37 |
-
<stop offset="0.4442" style="stop-color:#F9B26B"/>
|
38 |
-
<stop offset="0.6034" style="stop-color:#F79D42"/>
|
39 |
-
<stop offset="0.7282" style="stop-color:#F69028"/>
|
40 |
-
<stop offset="0.8033" style="stop-color:#F68B1F"/>
|
41 |
-
</linearGradient>
|
42 |
-
<circle fill="url(#SVGID_3_)" cx="113.7" cy="112.5" r="33.7"/>
|
43 |
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#F68B1F" d="M141.1,99.6c5.7,9.9-1.4,24.7-16,33.1c-14.5,8.4-31,7.2-36.7-2.7
|
44 |
-
c-5.7-9.9,1.4-24.7,16-33.1C119,88.5,135.4,89.7,141.1,99.6"/>
|
45 |
-
<g>
|
46 |
-
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="11.2461" y1="88.2807" x2="106.6242" y2="235.1327">
|
47 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
48 |
-
<stop offset="4.820809e-02" style="stop-color:#FEF6ED"/>
|
49 |
-
<stop offset="0.2569" style="stop-color:#FBD0A5"/>
|
50 |
-
<stop offset="0.4442" style="stop-color:#F9B26B"/>
|
51 |
-
<stop offset="0.6034" style="stop-color:#F79D42"/>
|
52 |
-
<stop offset="0.7282" style="stop-color:#F69028"/>
|
53 |
-
<stop offset="0.8033" style="stop-color:#F68B1F"/>
|
54 |
-
</linearGradient>
|
55 |
-
<path fill="url(#SVGID_4_)" d="M124.3,188.2c0-29.4-23.8-53.2-53.2-53.2c-29.4,0-53.2,23.8-53.2,53.2c0,0.1,0,0.2,0,0.3h106.4
|
56 |
-
C124.3,188.4,124.3,188.3,124.3,188.2z"/>
|
57 |
-
</g>
|
58 |
-
<g>
|
59 |
-
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="389.9363" y1="125.283" x2="375.3016" y2="168.1774">
|
60 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
61 |
-
<stop offset="4.820809e-02" style="stop-color:#FEF6ED"/>
|
62 |
-
<stop offset="0.2569" style="stop-color:#FBD0A5"/>
|
63 |
-
<stop offset="0.4442" style="stop-color:#F9B26B"/>
|
64 |
-
<stop offset="0.6034" style="stop-color:#F79D42"/>
|
65 |
-
<stop offset="0.7282" style="stop-color:#F69028"/>
|
66 |
-
<stop offset="0.8033" style="stop-color:#F68B1F"/>
|
67 |
-
</linearGradient>
|
68 |
-
<path fill="url(#SVGID_5_)" d="M421.2,176.3c0-26.8-21.7-48.5-48.5-48.5c-26.8,0-48.5,21.7-48.5,48.5c0,3.8,0.4,7.4,1.3,11h94.5
|
69 |
-
C420.7,183.8,421.2,180.1,421.2,176.3z"/>
|
70 |
-
</g>
|
71 |
-
<g>
|
72 |
-
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="220.6522" y1="144.88" x2="220.6522" y2="191.754">
|
73 |
-
<stop offset="0" style="stop-color:#F68B1F"/>
|
74 |
-
<stop offset="0.5308" style="stop-color:#CB672F"/>
|
75 |
-
<stop offset="1" style="stop-color:#A1453F"/>
|
76 |
-
</linearGradient>
|
77 |
-
<polygon fill="url(#SVGID_6_)" points="423.2,189 421.4,185.4 419.4,182 416.6,177.6 413.8,174 410.4,169.8 407,166.2 403,162.4
|
78 |
-
399.2,159.2 395,156.2 390.8,153.6 386.2,151 382.2,149 378.2,147.4 374.6,146.4 371,145.6 367.4,145 363.2,144.6 88.4,145.2
|
79 |
-
84,145.4 79.6,145.6 74.8,146.2 70.8,147 65.6,148.2 62,149.4 58.2,150.8 54.4,152.2 49.6,154.6 46,156.4 41.4,159.4 37.2,162.6
|
80 |
-
32.8,166.2 29,170 26,173.6 22.8,177.8 20.4,182 18.6,185.6 17.6,189 16.9,191.9 424.4,191.9 "/>
|
81 |
-
</g>
|
82 |
-
|
83 |
-
<radialGradient id="SVGID_7_" cx="276.776" cy="139.4461" r="108.2159" fx="343.9035" fy="119.8267" gradientUnits="userSpaceOnUse">
|
84 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
85 |
-
<stop offset="0.1334" style="stop-color:#FCE800"/>
|
86 |
-
<stop offset="0.8593" style="stop-color:#EC8F27"/>
|
87 |
-
</radialGradient>
|
88 |
-
<polygon fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_7_)" points="344,120 380.8,168.2 379.4,169.2 336.4,130.6
|
89 |
-
171.4,160.6 171.2,159 324.6,123.8 240.2,95 241.2,93.8 "/>
|
90 |
-
</g>
|
91 |
-
</svg>
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 439.4 207.4" enable-background="new 0 0 439.4 207.4"><radialGradient id="a" cx="344.656" cy="115.371" r="80.85" fx="342.677" fy="119.53" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".19" stop-color="#FCE800"/><stop offset=".859" stop-color="#EC8F27"/></radialGradient><path fill="url(#a)" fill-rule="evenodd" d="M338 63.6l9.6-33.6 1.4.2 1 35.2 18-29.8 1.6.8-8.4 33.8L386.7 46l1.3 1.2-17.2 30.6 31-16.4 1 1.2-24.6 25.2 34.2-7.8.8 1.4-30.4 17.8 35.2 1.3v1.5l-34 9.4 33.8 10v1.4l-35.2.6 29.8 18.6-.8 1.6-33.9-8.6 23.9 25.4-.8 1.4-30.4-17.4 16.3 30.8-1.5 1.2-25-24.6 8.2 33.8-1.6 1-17.8-30.2-.6 34.8-1.8.4L337 158l-10 33.6-1.8-.4v-34.8l-1-.4-19.4 29.2 8.4-33.8-25.6 24-1.4-1.2 17.4-30.4-31.2 16.2-1-1.2L296 134l-34.4 7.6-.4-1.4 30.4-17.8-34.8-1.4-.6-1.4 33.7-9.6-33.3-9.8.2-1.6 35-.6-29.6-18 .2-1.6 34.3 8.6-24.3-25.6 1.2-1.4 30.8 16.8-16.8-30.4 1-1.2 25.8 24.6-8.4-34.2-.3-.6 20.2 30.4.5-35.4h2z" clip-rule="evenodd"/><path fill="#F68B1F" d="M432.9 176.9c0-33.6-27.2-60.8-60.8-60.8-13.6 0-26.1 4.4-36.2 11.9 1.3-6.4 1.9-13 1.9-19.7 0-55.9-45.3-101.2-101.3-101.2-44.5 0-82.3 28.7-95.9 68.7-7.6-5.7-17.1-9.1-27.3-9.1-25.2 0-45.6 20.4-45.6 45.6 0 3.9.5 7.7 1.4 11.3-34.9 1-62.9 29.6-62.9 64.8 0 4.1.4 8.1 1.1 12H428c3.3-7.3 4.9-15.3 4.9-23.5z"/><linearGradient id="b" x1="236.733" x2="236.733" y1="87.311" y2="8.01" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#F68B1F"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#b)" fill-rule="evenodd" d="M326 108.4c0 49.3-40.1 80.5-89.4 80.5-49.3 0-89.2-31.2-89.2-80.5s40-89.3 89.3-89.3c49.4 0 89.3 40 89.3 89.3" clip-rule="evenodd"/><path fill="#F68B1F" fill-rule="evenodd" d="M312.4 109c0 30.2-34.1 54.6-76.2 54.6S160 139.1 160 109c0-30.2 34.1-54.6 76.2-54.6 42 0 76.2 24.4 76.2 54.6" clip-rule="evenodd"/><linearGradient id="c" x1="94.041" x2="119.259" y1="61.513" y2="86.731" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.964 .265 -.265 .964 21.18 -3.77)"><stop offset="0" stop-color="#fff"/><stop offset=".048" stop-color="#FEF6ED"/><stop offset=".257" stop-color="#FBD0A5"/><stop offset=".444" stop-color="#F9B26B"/><stop offset=".603" stop-color="#F79D42"/><stop offset=".728" stop-color="#F69028"/><stop offset=".803" stop-color="#F68B1F"/></linearGradient><circle cx="113.7" cy="112.5" r="33.7" fill="url(#c)"/><path fill="#F68B1F" fill-rule="evenodd" d="M141.1 99.6c5.7 9.9-1.4 24.7-16 33.1-14.5 8.4-31 7.2-36.7-2.7-5.7-9.9 1.4-24.7 16-33.1 14.6-8.4 31-7.2 36.7 2.7" clip-rule="evenodd"/><linearGradient id="d" x1="11.246" x2="106.624" y1="88.281" y2="235.133" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".048" stop-color="#FEF6ED"/><stop offset=".257" stop-color="#FBD0A5"/><stop offset=".444" stop-color="#F9B26B"/><stop offset=".603" stop-color="#F79D42"/><stop offset=".728" stop-color="#F69028"/><stop offset=".803" stop-color="#F68B1F"/></linearGradient><path fill="url(#d)" d="M124.3 188.2c0-29.4-23.8-53.2-53.2-53.2-29.4 0-53.2 23.8-53.2 53.2 0 .1 0 .2 0 .3h106.4c0-.1 0-.2 0-.3z"/><linearGradient id="e" x1="389.936" x2="375.302" y1="125.283" y2="168.177" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".048" stop-color="#FEF6ED"/><stop offset=".257" stop-color="#FBD0A5"/><stop offset=".444" stop-color="#F9B26B"/><stop offset=".603" stop-color="#F79D42"/><stop offset=".728" stop-color="#F69028"/><stop offset=".803" stop-color="#F68B1F"/></linearGradient><path fill="url(#e)" d="M421.2 176.3c0-26.8-21.7-48.5-48.5-48.5s-48.5 21.7-48.5 48.5c0 3.8.4 7.4 1.3 11H420c.7-3.5 1.2-7.2 1.2-11z"/><linearGradient id="f" x1="220.652" x2="220.652" y1="144.88" y2="191.754" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#F68B1F"/><stop offset=".531" stop-color="#CB672F"/><stop offset="1" stop-color="#A1453F"/></linearGradient><path fill="url(#f)" d="M423.2 189l-1.8-3.6-2-3.4-2.8-4.4-2.8-3.6-3.4-4.2-3.4-3.6-4-3.8-3.8-3.2-4.2-3-4.2-2.6-4.6-2.6-4-2-4-1.6-3.6-1-3.6-.8-3.6-.6-4.2-.4-274.8.6-4.4.2-4.4.2-4.8.6-4 .8-5.2 1.2-3.6 1.2-3.8 1.4-3.8 1.4-4.8 2.4-3.6 1.8-4.6 3-4.2 3.2-4.4 3.6L29 170l-3 3.6-3.2 4.2-2.4 4.2-1.8 3.6-1 3.4-.7 2.9h407.5z"/><radialGradient id="g" cx="276.776" cy="139.446" r="108.216" fx="343.904" fy="119.827" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".133" stop-color="#FCE800"/><stop offset=".859" stop-color="#EC8F27"/></radialGradient><path fill="url(#g)" fill-rule="evenodd" d="M344 120l36.8 48.2-1.4 1-43-38.6-165 30-.2-1.6 153.4-35.2L240.2 95l1-1.2z" clip-rule="evenodd"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/logo.svg
CHANGED
@@ -1,129 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 1110.8 195.2" enable-background="new 0 0 1110.8 195.2" xml:space="preserve">
|
5 |
-
<g>
|
6 |
-
<g>
|
7 |
-
<g>
|
8 |
-
<g>
|
9 |
-
<g>
|
10 |
-
<path fill="#414042" d="M958,84.5h-22.3l-21.9,39.6h-29.4V84.5h-15.2v47.4h56l5-9h34.1l5.2,9h15.4L958,84.5z M933.5,116
|
11 |
-
L947,91.4h0.2l13.6,24.6H933.5z"/>
|
12 |
-
<path fill="#414042" d="M1031.9,116.1c11.7-1.2,16.2-4.9,16.2-15.3c0-13.3-7-16.3-28.1-16.3h-35v47.4h15.2V92.2h19.8
|
13 |
-
c11.4-0.1,13,1.8,13,8.5c0,6.4-2,7.7-11.9,7.9H1004l27.5,23.1h19.2L1031.9,116.1z"/>
|
14 |
-
<path fill="#414042" d="M1070.4,104.1h37v7.5h-37v12.6h39.3v7.8h-54.5V84.5h54.2v7.8h-39V104.1z"/>
|
15 |
-
</g>
|
16 |
-
<g>
|
17 |
-
<path fill="#414042" d="M522.5,122.9h-28.8c-11.8,0-15.4-6.3-15.4-12.4V97.6c0-9.1,5-11.3,18.3-11.3h22.5v0h8.2v-8.9h-30.7
|
18 |
-
c-25.1,0-35.8,5.5-35.8,20.3v12.9c0,11.3,5.3,21.4,32.8,21.4h33.6v-8.9L522.5,122.9L522.5,122.9z"/>
|
19 |
-
</g>
|
20 |
-
<g>
|
21 |
-
<path fill="#414042" d="M548.3,124h36.9v7.8h-52.1V84.4h15.2V124z"/>
|
22 |
-
</g>
|
23 |
-
<g>
|
24 |
-
<path fill="#414042" d="M651.7,101.2V114c0,15.2-9.8,18.1-33.7,18.1c-24.5,0-33.4-2.5-33.4-18.1v-12.8
|
25 |
-
c0-14.7,8.3-17.3,33.4-17.3C640.7,83.9,651.7,86,651.7,101.2z M599.7,101.2V114c0,9.4,3.1,10.3,18.2,10.3
|
26 |
-
c13.8,0,18.5-1.1,18.5-10.3v-12.8c0.3-8.9-5.1-9.5-18.5-9.5C601.6,91.7,600.1,93.7,599.7,101.2z"/>
|
27 |
-
</g>
|
28 |
-
<g>
|
29 |
-
<path fill="#414042" d="M723,84.3V118c0,13.2-13.8,14.1-33,14.1c-18.5,0-32.8-0.8-32.8-14.1V84.3h15.2V118
|
30 |
-
c0,4.9,3,6.3,17.6,6.3c14,0,17.8-1.2,17.8-6.3V84.3H723z"/>
|
31 |
-
</g>
|
32 |
-
<g>
|
33 |
-
<path fill="#414042" d="M731.1,84.4h37.7c21.8,0,31.1,4.7,31.1,17.6v11.2c0,9.9-4.6,18.6-28.6,18.6h-40.3V84.4z M771.3,124
|
34 |
-
c10.2,0,13.4-5.5,13.4-10.8V102c0-7.9-4.3-9.9-15.9-9.9h-22.6V124H771.3z"/>
|
35 |
-
</g>
|
36 |
-
<g>
|
37 |
-
<path fill="#414042" d="M822.8,101.1h39.9v8.5h-39.9v22.2h-17.2V78h59.2v8.8h-42V101.1z"/>
|
38 |
-
</g>
|
39 |
-
</g>
|
40 |
-
</g>
|
41 |
-
</g>
|
42 |
-
|
43 |
-
<radialGradient id="SVGID_1_" cx="339.2699" cy="109.2709" r="80.8503" fx="337.2908" fy="113.4299" gradientUnits="userSpaceOnUse">
|
44 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
45 |
-
<stop offset="0.1902" style="stop-color:#FCE800"/>
|
46 |
-
<stop offset="0.8593" style="stop-color:#EC8F27"/>
|
47 |
-
</radialGradient>
|
48 |
-
<polygon fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_1_)" points="332.6,57.5 342.2,23.9 343.6,24.1 344.6,59.3
|
49 |
-
362.6,29.5 364.2,30.3 355.8,64.1 381.3,39.9 382.6,41.1 365.4,71.7 396.4,55.3 397.4,56.5 372.8,81.7 407,73.9 407.8,75.3
|
50 |
-
377.4,93.1 412.6,94.4 412.6,95.9 378.6,105.3 412.4,115.3 412.4,116.7 377.2,117.3 407,135.9 406.2,137.5 372.3,128.9
|
51 |
-
396.2,154.3 395.4,155.7 365,138.3 381.3,169.1 379.8,170.3 354.8,145.7 363,179.5 361.4,180.5 343.6,150.3 343.1,185.1
|
52 |
-
341.2,185.5 331.6,151.9 321.6,185.5 319.8,185.1 319.8,150.3 318.8,149.9 299.4,179.1 307.8,145.3 282.2,169.3 280.8,168.1
|
53 |
-
298.2,137.7 267,153.9 266,152.7 290.6,127.9 256.2,135.5 255.8,134.1 286.2,116.3 251.4,114.9 250.8,113.5 284.6,103.9
|
54 |
-
251.2,94.1 251.4,92.5 286.4,91.9 256.8,73.9 257,72.3 291.3,80.9 267,55.3 268.2,53.9 299,70.7 282.2,40.3 283.2,39.1 309,63.7
|
55 |
-
300.6,29.5 300.3,28.9 320.6,59.3 321,23.9 323,23.9 "/>
|
56 |
-
<g>
|
57 |
-
<path fill="#F68B1F" d="M427.5,170.7c0-33.6-27.2-60.8-60.8-60.8c-13.6,0-26.1,4.4-36.2,11.9c1.3-6.4,1.9-13,1.9-19.7
|
58 |
-
C332.5,46.3,287.2,1,231.3,1c-44.5,0-82.3,28.7-95.9,68.7c-7.6-5.7-17.1-9.1-27.3-9.1c-25.2,0-45.6,20.4-45.6,45.6
|
59 |
-
c0,3.9,0.5,7.7,1.4,11.3C29,118.5,1,147.1,1,182.2c0,4.1,0.4,8.1,1.1,12h420.7C425.9,187,427.5,179,427.5,170.7z"/>
|
60 |
-
</g>
|
61 |
-
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="231.347" y1="81.211" x2="231.347" y2="1.91">
|
62 |
-
<stop offset="0" style="stop-color:#F68B1F"/>
|
63 |
-
<stop offset="1" style="stop-color:#FFFFFF"/>
|
64 |
-
</linearGradient>
|
65 |
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_2_)" d="M320.7,102.3c0,49.3-40.1,80.5-89.4,80.5
|
66 |
-
c-49.3,0-89.2-31.2-89.2-80.5S182,13,231.3,13C280.7,13,320.7,53,320.7,102.3"/>
|
67 |
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#F68B1F" d="M307,102.9c0,30.2-34.1,54.6-76.2,54.6
|
68 |
-
c-42.1,0-76.2-24.5-76.2-54.6c0-30.2,34.1-54.6,76.2-54.6C272.9,48.3,307,72.7,307,102.9"/>
|
69 |
-
|
70 |
-
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="101.1775" y1="148.0421" x2="126.395" y2="173.2596" gradientTransform="matrix(0.9642 0.2653 -0.2653 0.9642 31.8692 -95.1941)">
|
71 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
72 |
-
<stop offset="4.820809e-02" style="stop-color:#FEF6ED"/>
|
73 |
-
<stop offset="0.2569" style="stop-color:#FBD0A5"/>
|
74 |
-
<stop offset="0.4442" style="stop-color:#F9B26B"/>
|
75 |
-
<stop offset="0.6034" style="stop-color:#F79D42"/>
|
76 |
-
<stop offset="0.7282" style="stop-color:#F69028"/>
|
77 |
-
<stop offset="0.8033" style="stop-color:#F68B1F"/>
|
78 |
-
</linearGradient>
|
79 |
-
<circle fill="url(#SVGID_3_)" cx="108.3" cy="106.4" r="33.7"/>
|
80 |
-
<path fill-rule="evenodd" clip-rule="evenodd" fill="#F68B1F" d="M135.7,93.5c5.7,9.9-1.4,24.7-16,33.1c-14.5,8.4-31,7.2-36.7-2.7
|
81 |
-
c-5.7-9.9,1.4-24.7,16-33.1C113.6,82.4,130,83.6,135.7,93.5"/>
|
82 |
-
<g>
|
83 |
-
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="5.8597" y1="82.1805" x2="101.2378" y2="229.0325">
|
84 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
85 |
-
<stop offset="4.820809e-02" style="stop-color:#FEF6ED"/>
|
86 |
-
<stop offset="0.2569" style="stop-color:#FBD0A5"/>
|
87 |
-
<stop offset="0.4442" style="stop-color:#F9B26B"/>
|
88 |
-
<stop offset="0.6034" style="stop-color:#F79D42"/>
|
89 |
-
<stop offset="0.7282" style="stop-color:#F69028"/>
|
90 |
-
<stop offset="0.8033" style="stop-color:#F68B1F"/>
|
91 |
-
</linearGradient>
|
92 |
-
<path fill="url(#SVGID_4_)" d="M118.9,182.1c0-29.4-23.8-53.2-53.2-53.2c-29.4,0-53.2,23.8-53.2,53.2c0,0.1,0,0.2,0,0.3h106.4
|
93 |
-
C118.9,182.3,118.9,182.2,118.9,182.1z"/>
|
94 |
-
</g>
|
95 |
-
<g>
|
96 |
-
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="384.5498" y1="119.1828" x2="369.9152" y2="162.0772">
|
97 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
98 |
-
<stop offset="4.820809e-02" style="stop-color:#FEF6ED"/>
|
99 |
-
<stop offset="0.2569" style="stop-color:#FBD0A5"/>
|
100 |
-
<stop offset="0.4442" style="stop-color:#F9B26B"/>
|
101 |
-
<stop offset="0.6034" style="stop-color:#F79D42"/>
|
102 |
-
<stop offset="0.7282" style="stop-color:#F69028"/>
|
103 |
-
<stop offset="0.8033" style="stop-color:#F68B1F"/>
|
104 |
-
</linearGradient>
|
105 |
-
<path fill="url(#SVGID_5_)" d="M415.8,170.2c0-26.8-21.7-48.5-48.5-48.5c-26.8,0-48.5,21.7-48.5,48.5c0,3.8,0.4,7.4,1.3,11h94.5
|
106 |
-
C415.3,177.7,415.8,174,415.8,170.2z"/>
|
107 |
-
</g>
|
108 |
-
<g>
|
109 |
-
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="215.2657" y1="138.7798" x2="215.2657" y2="185.6538">
|
110 |
-
<stop offset="0" style="stop-color:#F68B1F"/>
|
111 |
-
<stop offset="0.5308" style="stop-color:#CB672F"/>
|
112 |
-
<stop offset="1" style="stop-color:#A1453F"/>
|
113 |
-
</linearGradient>
|
114 |
-
<polygon fill="url(#SVGID_6_)" points="417.8,182.9 416,179.3 414,175.9 411.2,171.5 408.4,167.9 405,163.7 401.6,160.1
|
115 |
-
397.6,156.3 393.8,153.1 389.6,150.1 385.4,147.5 380.8,144.9 376.8,142.9 372.8,141.3 369.2,140.3 365.6,139.5 362,138.9
|
116 |
-
357.8,138.5 83,139.1 78.6,139.3 74.2,139.5 69.4,140.1 65.4,140.9 60.2,142.1 56.6,143.3 52.8,144.7 49,146.1 44.2,148.5
|
117 |
-
40.6,150.3 36,153.3 31.8,156.5 27.4,160.1 23.6,163.9 20.6,167.5 17.4,171.7 15,175.9 13.2,179.5 12.2,182.9 11.6,185.8
|
118 |
-
419,185.8 "/>
|
119 |
-
</g>
|
120 |
-
|
121 |
-
<radialGradient id="SVGID_7_" cx="271.3896" cy="133.3459" r="108.2159" fx="338.517" fy="113.7265" gradientUnits="userSpaceOnUse">
|
122 |
-
<stop offset="0" style="stop-color:#FFFFFF"/>
|
123 |
-
<stop offset="0.1334" style="stop-color:#FCE800"/>
|
124 |
-
<stop offset="0.8593" style="stop-color:#EC8F27"/>
|
125 |
-
</radialGradient>
|
126 |
-
<polygon fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_7_)" points="338.6,113.9 375.4,162.1 374,163.1 331,124.5
|
127 |
-
166,154.5 165.8,152.9 319.2,117.7 234.8,88.9 235.8,87.7 "/>
|
128 |
-
</g>
|
129 |
-
</svg>
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1110.8 195.2" enable-background="new 0 0 1110.8 195.2"><g fill="#414042"><path d="M958 84.5h-22.3l-21.9 39.6h-29.4V84.5h-15.2v47.4h56l5-9h34.1l5.2 9h15.4L958 84.5zM933.5 116L947 91.4h.2l13.6 24.6h-27.3zM1031.9 116.1c11.7-1.2 16.2-4.9 16.2-15.3 0-13.3-7-16.3-28.1-16.3h-35v47.4h15.2V92.2h19.8c11.4-.1 13 1.8 13 8.5 0 6.4-2 7.7-11.9 7.9H1004l27.5 23.1h19.2l-18.8-15.6zM1070.4 104.1h37v7.5h-37v12.6h39.3v7.8h-54.5V84.5h54.2v7.8h-39v11.8z"/></g><path fill="#414042" d="M522.5 122.9h-28.8c-11.8 0-15.4-6.3-15.4-12.4V97.6c0-9.1 5-11.3 18.3-11.3h30.7v-8.9h-30.7c-25.1 0-35.8 5.5-35.8 20.3v12.9c0 11.3 5.3 21.4 32.8 21.4h33.6v-8.9l-4.7-.2zM548.3 124h36.9v7.8h-52.1V84.4h15.2V124zM651.7 101.2V114c0 15.2-9.8 18.1-33.7 18.1-24.5 0-33.4-2.5-33.4-18.1v-12.8c0-14.7 8.3-17.3 33.4-17.3 22.7 0 33.7 2.1 33.7 17.3zm-52 0V114c0 9.4 3.1 10.3 18.2 10.3 13.8 0 18.5-1.1 18.5-10.3v-12.8c.3-8.9-5.1-9.5-18.5-9.5-16.3 0-17.8 2-18.2 9.5zM723 84.3V118c0 13.2-13.8 14.1-33 14.1-18.5 0-32.8-.8-32.8-14.1V84.3h15.2V118c0 4.9 3 6.3 17.6 6.3 14 0 17.8-1.2 17.8-6.3V84.3H723zM731.1 84.4h37.7c21.8 0 31.1 4.7 31.1 17.6v11.2c0 9.9-4.6 18.6-28.6 18.6H731V84.4zm40.2 39.6c10.2 0 13.4-5.5 13.4-10.8V102c0-7.9-4.3-9.9-15.9-9.9h-22.6V124h25.1zM822.8 101.1h39.9v8.5h-39.9v22.2h-17.2V78h59.2v8.8h-42v14.3z"/><radialGradient id="a" cx="339.27" cy="109.271" r="80.85" fx="337.291" fy="113.43" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".19" stop-color="#FCE800"/><stop offset=".859" stop-color="#EC8F27"/></radialGradient><path fill="url(#a)" fill-rule="evenodd" d="M332.6 57.5l9.6-33.6 1.4.2 1 35.2 18-29.8 1.6.8-8.4 33.8 25.5-24.2 1.3 1.2-17.2 30.6 31-16.4 1 1.2-24.6 25.2 34.2-7.8.8 1.4-30.4 17.8 35.2 1.3v1.5l-34 9.4 33.8 10v1.4l-35.2.6 29.8 18.6-.8 1.6-33.9-8.6 23.9 25.4-.8 1.4-30.4-17.4 16.3 30.8-1.5 1.2-25-24.6 8.2 33.8-1.6 1-17.8-30.2-.5 34.8-1.9.4-9.6-33.6-10 33.6-1.8-.4v-34.8l-1-.4-19.4 29.2 8.4-33.8-25.6 24-1.4-1.2 17.4-30.4-31.2 16.2-1-1.2 24.6-24.8-34.4 7.6-.4-1.4 30.4-17.8-34.8-1.4-.6-1.4 33.8-9.6-33.4-9.8.2-1.6 35-.6-29.6-18 .2-1.6 34.3 8.6L267 55.3l1.2-1.4L299 70.7l-16.8-30.4 1-1.2L309 63.7l-8.4-34.2-.3-.6 20.3 30.4.4-35.4h2z" clip-rule="evenodd"/><path fill="#F68B1F" d="M427.5 170.7c0-33.6-27.2-60.8-60.8-60.8-13.6 0-26.1 4.4-36.2 11.9 1.3-6.4 1.9-13 1.9-19.7C332.5 46.3 287.2 1 231.3 1c-44.5 0-82.3 28.7-95.9 68.7-7.6-5.7-17.1-9.1-27.3-9.1-25.2 0-45.6 20.4-45.6 45.6 0 3.9.5 7.7 1.4 11.3C29 118.5 1 147.1 1 182.2c0 4.1.4 8.1 1.1 12h420.7c3.1-7.2 4.7-15.2 4.7-23.5z"/><linearGradient id="b" x1="231.347" x2="231.347" y1="81.211" y2="1.91" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#F68B1F"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#b)" fill-rule="evenodd" d="M320.7 102.3c0 49.3-40.1 80.5-89.4 80.5-49.3 0-89.2-31.2-89.2-80.5S182 13 231.3 13c49.4 0 89.4 40 89.4 89.3" clip-rule="evenodd"/><path fill="#F68B1F" fill-rule="evenodd" d="M307 102.9c0 30.2-34.1 54.6-76.2 54.6s-76.2-24.5-76.2-54.6c0-30.2 34.1-54.6 76.2-54.6S307 72.7 307 102.9" clip-rule="evenodd"/><linearGradient id="c" x1="101.177" x2="126.395" y1="148.042" y2="173.26" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.964 .265 -.265 .964 31.869 -95.194)"><stop offset="0" stop-color="#fff"/><stop offset=".048" stop-color="#FEF6ED"/><stop offset=".257" stop-color="#FBD0A5"/><stop offset=".444" stop-color="#F9B26B"/><stop offset=".603" stop-color="#F79D42"/><stop offset=".728" stop-color="#F69028"/><stop offset=".803" stop-color="#F68B1F"/></linearGradient><circle cx="108.3" cy="106.4" r="33.7" fill="url(#c)"/><path fill="#F68B1F" fill-rule="evenodd" d="M135.7 93.5c5.7 9.9-1.4 24.7-16 33.1-14.5 8.4-31 7.2-36.7-2.7-5.7-9.9 1.4-24.7 16-33.1 14.6-8.4 31-7.2 36.7 2.7" clip-rule="evenodd"/><linearGradient id="d" x1="5.86" x2="101.238" y1="82.18" y2="229.032" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".048" stop-color="#FEF6ED"/><stop offset=".257" stop-color="#FBD0A5"/><stop offset=".444" stop-color="#F9B26B"/><stop offset=".603" stop-color="#F79D42"/><stop offset=".728" stop-color="#F69028"/><stop offset=".803" stop-color="#F68B1F"/></linearGradient><path fill="url(#d)" d="M118.9 182.1c0-29.4-23.8-53.2-53.2-53.2-29.4 0-53.2 23.8-53.2 53.2 0 .1 0 .2 0 .3h106.4c0-.1 0-.2 0-.3z"/><linearGradient id="e" x1="384.55" x2="369.915" y1="119.183" y2="162.077" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".048" stop-color="#FEF6ED"/><stop offset=".257" stop-color="#FBD0A5"/><stop offset=".444" stop-color="#F9B26B"/><stop offset=".603" stop-color="#F79D42"/><stop offset=".728" stop-color="#F69028"/><stop offset=".803" stop-color="#F68B1F"/></linearGradient><path fill="url(#e)" d="M415.8 170.2c0-26.8-21.7-48.5-48.5-48.5s-48.5 21.7-48.5 48.5c0 3.8.4 7.4 1.3 11h94.5c.7-3.5 1.2-7.2 1.2-11z"/><linearGradient id="f" x1="215.266" x2="215.266" y1="138.78" y2="185.654" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#F68B1F"/><stop offset=".531" stop-color="#CB672F"/><stop offset="1" stop-color="#A1453F"/></linearGradient><path fill="url(#f)" d="M417.8 182.9l-1.8-3.6-2-3.4-2.8-4.4-2.8-3.6-3.4-4.2-3.4-3.6-4-3.8-3.8-3.2-4.2-3-4.2-2.6-4.6-2.6-4-2-4-1.6-3.6-1-3.6-.8-3.6-.6-4.2-.4-274.8.6-4.4.2-4.4.2-4.8.6-4 .8-5.2 1.2-3.6 1.2-3.8 1.4-3.8 1.4-4.8 2.4-3.6 1.8-4.6 3-4.2 3.2-4.4 3.6-3.8 3.8-3 3.6-3.2 4.2-2.4 4.2-1.8 3.6-1 3.4-.6 2.9H419z"/><radialGradient id="g" cx="271.39" cy="133.346" r="108.216" fx="338.517" fy="113.727" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".133" stop-color="#FCE800"/><stop offset=".859" stop-color="#EC8F27"/></radialGradient><path fill="url(#g)" fill-rule="evenodd" d="M338.6 113.9l36.8 48.2-1.4 1-43-38.6-165 30-.2-1.6 153.4-35.2-84.4-28.8 1-1.2z" clip-rule="evenodd"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/modal-two-factor-auth.png
CHANGED
Binary file
|
assets/modal-two-factor-auth_2x.png
CHANGED
Binary file
|
assets/overview-welcome-yjs.svg
CHANGED
@@ -1,36 +1 @@
|
|
1 |
-
|
2 |
-
<svg width="373px" height="374px" viewBox="0 0 373 374" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
3 |
-
<!-- Generator: Sketch 3.3.3 (12072) - http://www.bohemiancoding.com/sketch -->
|
4 |
-
<title>Artwork</title>
|
5 |
-
<desc>Created with Sketch.</desc>
|
6 |
-
<defs></defs>
|
7 |
-
<g id="YJS-CHina" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
8 |
-
<g id="overview-yjs-banner" sketch:type="MSArtboardGroup" transform="translate(-610.000000, -152.000000)">
|
9 |
-
<g id="banner" sketch:type="MSLayerGroup" transform="translate(31.000000, 151.000000)">
|
10 |
-
<g id="Example-module-Copy-2" transform="translate(0.000000, 0.500000)" sketch:type="MSShapeGroup">
|
11 |
-
<g id="Artwork" transform="translate(579.000000, 0.000000)">
|
12 |
-
<g id="Imported-Layers" transform="translate(0.000000, 0.900391)">
|
13 |
-
<path d="M186.5,373.177 C83.704,373.177 0.073,289.546 0.073,186.75 C0.073,83.954 83.704,0.323 186.5,0.323 C289.296,0.323 372.927,83.954 372.927,186.75 C372.927,289.546 289.296,373.177 186.5,373.177 L186.5,373.177 Z M186.5,4.177 C85.829,4.177 3.927,86.079 3.927,186.75 C3.927,287.421 85.829,369.323 186.5,369.323 C287.171,369.323 369.073,287.421 369.073,186.75 C369.073,86.079 287.171,4.177 186.5,4.177 L186.5,4.177 Z" id="Fill-2" fill="#3982C2"></path>
|
14 |
-
<path d="M186.5,353.572 C94.514,353.572 19.678,278.736 19.678,186.75 C19.678,94.764 94.514,19.928 186.5,19.928 C278.486,19.928 353.322,94.764 353.322,186.75 C353.322,278.736 278.486,353.572 186.5,353.572 L186.5,353.572 Z M186.5,23.781 C96.639,23.781 23.531,96.889 23.531,186.75 C23.531,276.611 96.639,349.719 186.5,349.719 C276.361,349.719 349.469,276.611 349.469,186.75 C349.469,96.889 276.361,23.781 186.5,23.781 L186.5,23.781 Z" id="Fill-3" fill="#3982C2"></path>
|
15 |
-
<path d="M186.5,333.968 C105.324,333.968 39.283,267.926 39.283,186.75 C39.283,105.574 105.324,39.533 186.5,39.533 C267.676,39.533 333.718,105.574 333.718,186.75 C333.718,267.926 267.676,333.968 186.5,333.968 L186.5,333.968 Z M186.5,43.386 C107.449,43.386 43.136,107.699 43.136,186.75 C43.136,265.801 107.449,330.114 186.5,330.114 C265.551,330.114 329.864,265.801 329.864,186.75 C329.864,107.699 265.551,43.386 186.5,43.386 L186.5,43.386 Z" id="Fill-4" fill="#3982C2"></path>
|
16 |
-
<path d="M186.5,314.362 C116.134,314.362 58.887,257.115 58.887,186.75 C58.887,116.384 116.134,59.137 186.5,59.137 C256.865,59.137 314.112,116.384 314.112,186.75 C314.112,257.115 256.865,314.362 186.5,314.362 L186.5,314.362 Z M186.5,62.991 C118.259,62.991 62.741,118.509 62.741,186.75 C62.741,254.991 118.259,310.509 186.5,310.509 C254.741,310.509 310.259,254.991 310.259,186.75 C310.259,118.509 254.741,62.991 186.5,62.991 L186.5,62.991 Z" id="Fill-5" fill="#3982C2"></path>
|
17 |
-
<path d="M186.5,294.758 C126.944,294.758 78.492,246.306 78.492,186.75 C78.492,127.194 126.944,78.742 186.5,78.742 C246.056,78.742 294.508,127.194 294.508,186.75 C294.508,246.306 246.056,294.758 186.5,294.758 L186.5,294.758 Z M186.5,82.596 C129.069,82.596 82.346,129.319 82.346,186.75 C82.346,244.181 129.069,290.904 186.5,290.904 C243.931,290.904 290.654,244.181 290.654,186.75 C290.654,129.319 243.931,82.596 186.5,82.596 L186.5,82.596 Z" id="Fill-6" fill="#3982C2"></path>
|
18 |
-
<path d="M186.5,275.153 C137.754,275.153 98.097,235.496 98.097,186.75 C98.097,138.004 137.754,98.347 186.5,98.347 C235.246,98.347 274.903,138.004 274.903,186.75 C274.903,235.496 235.246,275.153 186.5,275.153 L186.5,275.153 Z M186.5,102.2 C139.879,102.2 101.95,140.129 101.95,186.75 C101.95,233.371 139.879,271.3 186.5,271.3 C233.121,271.3 271.05,233.371 271.05,186.75 C271.05,140.129 233.121,102.2 186.5,102.2 L186.5,102.2 Z" id="Fill-7" fill="#3982C2"></path>
|
19 |
-
<path d="M186.5,255.549 C148.564,255.549 117.701,224.685 117.701,186.75 C117.701,148.814 148.564,117.951 186.5,117.951 C224.435,117.951 255.299,148.814 255.299,186.75 C255.299,224.685 224.435,255.549 186.5,255.549 L186.5,255.549 Z M186.5,121.805 C150.689,121.805 121.555,150.939 121.555,186.75 C121.555,222.56 150.689,251.695 186.5,251.695 C222.31,251.695 251.445,222.56 251.445,186.75 C251.445,150.939 222.31,121.805 186.5,121.805 L186.5,121.805 Z" id="Fill-8" fill="#3982C2"></path>
|
20 |
-
<path d="M235.529,237.133 C230.267,237.133 226,241.399 226,246.662 C226,251.925 235.529,261 235.529,261 C235.529,261 245.059,251.925 245.059,246.662 C245.059,241.399 240.792,237.133 235.529,237.133 L235.529,237.133 Z M235.529,250.746 C233.274,250.746 231.445,248.918 231.445,246.662 C231.445,244.406 233.274,242.578 235.529,242.578 C237.785,242.578 239.613,244.406 239.613,246.662 C239.613,248.918 237.785,250.746 235.529,250.746 L235.529,250.746 Z" id="Fill-9" fill="#63A1D7"></path>
|
21 |
-
</g>
|
22 |
-
<path d="M208.9525,181.994667 L192.093,181.994667 L198.8375,154.5 L155,194.199795 L171.8595,194.199795 L165.11675,221.694462 L208.9525,181.994667" id="Imported-Layers" fill="#F78B20"></path>
|
23 |
-
<g id="Imported-Layers" transform="translate(259.000000, 141.500000)">
|
24 |
-
<path d="M0,10 C0,15.523 4.477,20 10,20 C15.523,20 20,15.523 20,10 C20,4.477 15.523,0 10,0 C4.477,0 0,4.477 0,10" id="Fill-1" fill="#9BCA3E"></path>
|
25 |
-
<path d="M6,10.5 C6,12.709 7.791,14.5 10,14.5 C12.209,14.5 14,12.709 14,10.5" id="Stroke-2" stroke="#2F7BBF" stroke-width="2.4"></path>
|
26 |
-
<path d="M5,5 L8,5 L8,8 L5,8 L5,5 Z" id="Fill-3" fill="#2F7BBF"></path>
|
27 |
-
<path d="M12,5 L15,5 L15,8 L12,8 L12,5 Z" id="Fill-4" fill="#2F7BBF"></path>
|
28 |
-
</g>
|
29 |
-
<path d="M86.529,154.5 C81.267,154.5 77,158.766 77,164.029 C77,169.292 86.529,178.367 86.529,178.367 C86.529,178.367 96.059,169.292 96.059,164.029 C96.059,158.766 91.792,154.5 86.529,154.5 L86.529,154.5 Z M86.529,168.113 C84.274,168.113 82.445,166.285 82.445,164.029 C82.445,161.773 84.274,159.945 86.529,159.945 C88.785,159.945 90.613,161.773 90.613,164.029 C90.613,166.285 88.785,168.113 86.529,168.113 L86.529,168.113 Z" id="Imported-Layers" fill="#63A1D7"></path>
|
30 |
-
<path d="M310.292,219.5 L292.758,219.5 L289,232.024 L289,244.549 L314.05,244.549 L314.05,232.024 L310.292,219.5 L310.292,219.5 Z M291.505,234.529 L311.545,234.529 L311.545,242.044 L291.505,242.044 L291.505,234.529 Z M306.535,237.034 L309.04,237.034 L309.04,239.539 L306.535,239.539 L306.535,237.034 Z" id="Imported-Layers" fill="#63A1D7"></path>
|
31 |
-
</g>
|
32 |
-
</g>
|
33 |
-
</g>
|
34 |
-
</g>
|
35 |
-
</g>
|
36 |
-
</svg>
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="373" height="374"><title>Artwork</title><desc>Created with Sketch.</desc><g fill="none"><g><g><g><g><g id="Imported-Layers"><path fill="#3982C2" d="M186.5 373.58C83.7 373.58.07 289.95.07 187.15.07 84.35 83.7.72 186.5.72c102.8 0 186.43 83.63 186.43 186.43 0 102.8-83.63 186.43-186.43 186.43zm0-369C85.83 4.58 3.93 86.48 3.93 187.15c0 100.67 81.9 182.57 182.57 182.57 100.67 0 182.57-81.9 182.57-182.57 0-100.67-81.9-182.57-182.57-182.57z"/><path id="Fill-3" fill="#3982C2" d="M186.5 353.97c-92 0-166.82-74.83-166.82-166.82 0-92 74.83-166.82 166.82-166.82 92 0 166.82 74.83 166.82 166.82 0 92-74.83 166.82-166.82 166.82zm0-329.8c-89.86 0-162.97 73.12-162.97 162.98 0 89.86 73.1 162.97 162.97 162.97 89.86 0 162.97-73.1 162.97-162.97 0-89.86-73.1-162.97-162.97-162.97z"/><path id="Fill-4" fill="#3982C2" d="M186.5 334.37c-81.18 0-147.22-66.04-147.22-147.22 0-81.18 66.04-147.22 147.22-147.22 81.18 0 147.22 66.04 147.22 147.22 0 81.18-66.04 147.22-147.22 147.22zm0-290.58c-79.05 0-143.36 64.3-143.36 143.35S107.44 330.5 186.5 330.5c79.05 0 143.36-64.3 143.36-143.35S265.56 43.8 186.5 43.8z"/><path fill="#3982C2" d="M186.5 314.76c-70.37 0-127.6-57.25-127.6-127.6 0-70.38 57.23-127.62 127.6-127.62s127.6 57.24 127.6 127.6c0 70.38-57.24 127.62-127.6 127.62zm0-251.37c-68.24 0-123.76 55.5-123.76 123.75 0 68.24 55.52 123.76 123.76 123.76 68.24 0 123.76-55.5 123.76-123.75 0-68.24-55.52-123.76-123.76-123.76z"/><path fill="#3982C2" d="M186.5 295.16c-59.56 0-108-48.45-108-108 0-59.57 48.44-108.02 108-108.02s108 48.45 108 108c0 59.57-48.44 108.02-108 108.02zm0-212.16c-57.43 0-104.15 46.72-104.15 104.15 0 57.43 46.72 104.15 104.15 104.15 57.43 0 104.15-46.72 104.15-104.15C290.65 129.72 243.93 83 186.5 83z"/><path fill="#3982C2" d="M186.5 275.55c-48.75 0-88.4-39.65-88.4-88.4 0-48.75 39.65-88.4 88.4-88.4 48.75 0 88.4 39.65 88.4 88.4 0 48.75-39.65 88.4-88.4 88.4zm0-172.95c-46.62 0-84.55 37.93-84.55 84.55s37.93 84.55 84.55 84.55 84.55-37.93 84.55-84.55-37.93-84.55-84.55-84.55z"/><path fill="#3982C2" d="M186.5 255.95c-37.94 0-68.8-30.86-68.8-68.8s30.86-68.8 68.8-68.8 68.8 30.86 68.8 68.8-30.87 68.8-68.8 68.8zm0-133.74c-35.8 0-64.94 29.14-64.94 64.95 0 35.8 29.13 64.94 64.94 64.94 35.8 0 64.94-29.14 64.94-64.95 0-35.8-29.13-64.94-64.94-64.94z"/><path fill="#63A1D7" d="M235.53 237.53c-5.26 0-9.53 4.27-9.53 9.53 0 5.27 9.53 14.34 9.53 14.34s9.53-9.07 9.53-14.34c0-5.26-4.27-9.53-9.53-9.53zm0 13.62c-2.26 0-4.1-1.83-4.1-4.1 0-2.24 1.84-4.07 4.1-4.07 2.25 0 4.08 1.83 4.08 4.08 0 2.26-1.8 4.1-4.07 4.1z"/></g><path id="Imported-Layers" fill="#F78B20" d="M208.95 181.5H192.1l6.74-27.5L155 193.7h16.86l-6.74 27.5 43.83-39.7"/><g id="Imported-Layers"><path fill="#9BCA3E" d="M259 151c0 5.52 4.48 10 10 10s10-4.48 10-10-4.48-10-10-10-10 4.48-10 10"/><path stroke="#2F7BBF" stroke-width="2.4" d="M265 151.5c0 2.2 1.8 4 4 4s4-1.8 4-4"/><path fill="#2F7BBF" d="M264 146h3v3h-3v-3z"/><path fill="#2F7BBF" d="M271 146h3v3h-3v-3z"/></g><path fill="#63A1D7" d="M86.53 154c-5.26 0-9.53 4.27-9.53 9.53s9.53 14.34 9.53 14.34 9.53-9.08 9.53-14.34S91.8 154 86.53 154zm0 13.6c-2.26 0-4.1-1.8-4.1-4.07 0-2.26 1.84-4.1 4.1-4.1 2.25 0 4.08 1.84 4.08 4.1 0 2.25-1.8 4.08-4.07 4.08zM310.3 219h-17.54L289 231.52v12.53h25.05v-12.53L310.3 219zm-18.8 15.03h20.05v7.5H291.5v-7.5zm15.04 2.5h2.5v2.5h-2.5v-2.5z"/></g></g></g></g></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/overview-welcome.svg
CHANGED
@@ -1,62 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 462 387" enable-background="new 0 0 462 387" xml:space="preserve">
|
6 |
-
<g>
|
7 |
-
<path fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10" d="M268.5,385C374.1,385,460,299.1,460,193.5
|
8 |
-
S374.1,2,268.5,2S77,87.9,77,193.5S162.9,385,268.5,385z"/>
|
9 |
-
<path fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10" d="M268.5,364.7c94.4,0,171.2-76.8,171.2-171.2
|
10 |
-
S362.9,22.3,268.5,22.3S97.3,99.1,97.3,193.5S174.1,364.7,268.5,364.7z"/>
|
11 |
-
<path fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10" d="M268.5,344.3c83.2,0,150.8-67.6,150.8-150.8
|
12 |
-
S351.7,42.7,268.5,42.7s-150.8,67.6-150.8,150.8S185.3,344.3,268.5,344.3z"/>
|
13 |
-
<path fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10" d="M268.5,324c72,0,130.5-58.5,130.5-130.5
|
14 |
-
S340.5,63,268.5,63S138,121.5,138,193.5S196.5,324,268.5,324z"/>
|
15 |
-
<path fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10" d="M268.5,303.6c60.8,0,110.1-49.4,110.1-110.1
|
16 |
-
S329.3,83.4,268.5,83.4s-110.1,49.4-110.1,110.1S207.7,303.6,268.5,303.6z"/>
|
17 |
-
<path fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10" d="M268.5,283.3c49.5,0,89.8-40.2,89.8-89.8
|
18 |
-
s-40.2-89.8-89.8-89.8s-89.8,40.2-89.8,89.8S219,283.3,268.5,283.3z"/>
|
19 |
-
<circle fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10" cx="268.5" cy="193.5" r="69.4"/>
|
20 |
-
</g>
|
21 |
-
<path id="firewall_2_" fill="#63A1D7" d="M229,278.5v17.8l10.5,4.6l10.5-4.6v-17.8h-11.4H229z M233,282.5h6v13.8l-6-2.3V282.5z"/>
|
22 |
-
<g>
|
23 |
-
<polygon fill="#63A1D7" points="51,261.5 38.4,261.5 27,269.3 27,259.3 27,254.3 27,237.5 51,237.5 "/>
|
24 |
-
<polygon fill="#63A1D7" points="21,237.5 21,261.5 10.9,261.5 0,269.3 0,259.3 0,254.3 0,237.5 "/>
|
25 |
-
</g>
|
26 |
-
<g>
|
27 |
-
<polygon fill="#FFFFFF" points="338,249.5 345.3,249.5 351,254.7 351,249.1 351,246.3 351,236.5 338,236.5 "/>
|
28 |
-
<polygon fill="#FFFFFF" points="354,236.5 354,249.5 360.6,249.5 366,254.7 366,249.1 366,246.3 366,236.5 "/>
|
29 |
-
</g>
|
30 |
-
<path fill="#F68B20" d="M126.1,208.8c0-4.3-3.5-7.7-7.7-7.7c-1.1,0-2.1,0.2-3.1,0.6c-0.2-8.6-7.3-15.5-15.9-15.5
|
31 |
-
c-7,0-12.9,4.5-15.1,10.8c-1.2-0.9-2.7-1.4-4.3-1.4c-4,0-7.2,3.2-7.2,7.2c0,0.6,0.1,1.2,0.2,1.8c0,0,0,0,0,0c-0.5,0-0.9,0.1-1.4,0.1
|
32 |
-
c-2.7,0.6-4.7,3-4.7,5.9c0,3.3,2.7,6,6,6c-0.2,0,45.9,0,45.9,0C122.9,216.2,126.1,212.9,126.1,208.8z"/>
|
33 |
-
<g>
|
34 |
-
<circle fill="#9BCA3E" cx="147.6" cy="148.8" r="9.5"/>
|
35 |
-
<path fill="none" stroke="#2F7BBF" stroke-width="2.28" stroke-miterlimit="10" d="M151.4,149.3c0,2.1-1.7,3.8-3.8,3.8
|
36 |
-
s-3.8-1.7-3.8-3.8v0"/>
|
37 |
-
<rect x="149.5" y="144.1" fill="#2F7BBF" width="2.8" height="2.8"/>
|
38 |
-
<rect x="142.8" y="144.1" fill="#2F7BBF" width="2.8" height="2.8"/>
|
39 |
-
</g>
|
40 |
-
<path id="Domains" fill="#FFFFFF" d="M134,255.5v46h46v-46H134z M145,259.5h5v5h-5V259.5z M138,259.5h5v5h-5V259.5z M176,297.5h-38
|
41 |
-
v-28h38V297.5z M154,292.5h-11v-18h11V292.5z M171,278.5h-11v-4h11V278.5z M171,285.5h-11v-4h11V285.5z M171,292.5h-11v-5h11V292.5z
|
42 |
-
"/>
|
43 |
-
<g>
|
44 |
-
|
45 |
-
<line fill="none" stroke="#FFFFFF" stroke-width="5.3428" stroke-linecap="round" stroke-miterlimit="10" x1="203.3" y1="140.2" x2="198.8" y2="132.9"/>
|
46 |
-
|
47 |
-
<line fill="none" stroke="#FFFFFF" stroke-width="5.3428" stroke-linecap="round" stroke-miterlimit="10" x1="185.1" y1="172.2" x2="176.8" y2="170.2"/>
|
48 |
-
|
49 |
-
<line fill="none" stroke="#FFFFFF" stroke-width="5.3428" stroke-linecap="round" stroke-miterlimit="10" x1="187.2" y1="209.9" x2="179.9" y2="214.5"/>
|
50 |
-
<g>
|
51 |
-
<circle fill="#FFFFFF" cx="313.6" cy="203" r="12.9"/>
|
52 |
-
<circle fill="#FFFFFF" cx="220.1" cy="180.8" r="7.4"/>
|
53 |
-
<polygon fill="#63A1D7" points="282.8,198.9 285.2,189.4 284.9,189.4 287.1,180.7 225.7,147 219.3,174.8 216.5,186.9 210,215
|
54 |
-
280.4,210.5 282.5,201.4 282.4,201.4 "/>
|
55 |
-
|
56 |
-
<rect x="273.9" y="180.4" transform="matrix(0.9744 0.2248 -0.2248 0.9744 52.1496 -61.3494)" fill="#143959" width="43.2" height="35.8"/>
|
57 |
-
|
58 |
-
<rect x="273.7" y="215.7" transform="matrix(0.9744 0.2248 -0.2248 0.9744 56.5985 -59.7748)" fill="#63A1D7" width="34.1" height="5.9"/>
|
59 |
-
<polygon fill="#143959" points="277.8,251.6 291.2,221.7 306.5,225.3 293.1,255.1 "/>
|
60 |
-
</g>
|
61 |
-
</g>
|
62 |
-
</svg>
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 462 387" enable-background="new 0 0 462 387"><g fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10"><path d="M268.5 385C374.1 385 460 299.1 460 193.5S374.1 2 268.5 2 77 87.9 77 193.5 162.9 385 268.5 385zM268.5 364.7c94.4 0 171.2-76.8 171.2-171.2S362.9 22.3 268.5 22.3 97.3 99.1 97.3 193.5s76.8 171.2 171.2 171.2zM268.5 344.3c83.2 0 150.8-67.6 150.8-150.8S351.7 42.7 268.5 42.7s-150.8 67.6-150.8 150.8 67.6 150.8 150.8 150.8zM268.5 324c72 0 130.5-58.5 130.5-130.5S340.5 63 268.5 63 138 121.5 138 193.5 196.5 324 268.5 324zM268.5 303.6c60.8 0 110.1-49.4 110.1-110.1S329.3 83.4 268.5 83.4s-110.1 49.4-110.1 110.1 49.3 110.1 110.1 110.1zM268.5 283.3c49.5 0 89.8-40.2 89.8-89.8s-40.2-89.8-89.8-89.8-89.8 40.2-89.8 89.8 40.3 89.8 89.8 89.8z"/><circle cx="268.5" cy="193.5" r="69.4"/></g><path fill="#63A1D7" d="M229 278.5v17.8l10.5 4.6 10.5-4.6v-17.8h-21zm4 4h6v13.8l-6-2.3v-11.5z"/><g fill="#63A1D7"><path d="M51 261.5H38.4L27 269.3v-31.8h24zM21 237.5v24H10.9L0 269.3v-31.8z"/></g><g fill="#fff"><path d="M338 249.5h7.3l5.7 5.2v-18.2h-13zM354 236.5v13h6.6l5.4 5.2v-18.2z"/></g><path fill="#F68B20" d="M126.1 208.8c0-4.3-3.5-7.7-7.7-7.7-1.1 0-2.1.2-3.1.6-.2-8.6-7.3-15.5-15.9-15.5-7 0-12.9 4.5-15.1 10.8-1.2-.9-2.7-1.4-4.3-1.4-4 0-7.2 3.2-7.2 7.2 0 .6.1 1.2.2 1.8-.5 0-.9.1-1.4.1-2.7.6-4.7 3-4.7 5.9 0 3.3 2.7 6 6 6-.2 0 45.9 0 45.9 0 4.1-.4 7.3-3.7 7.3-7.8z"/><circle cx="147.6" cy="148.8" r="9.5" fill="#9BCA3E"/><path fill="none" stroke="#2F7BBF" stroke-width="2.28" stroke-miterlimit="10" d="M151.4 149.3c0 2.1-1.7 3.8-3.8 3.8s-3.8-1.7-3.8-3.8"/><path fill="#2F7BBF" d="M149.5 144.1h2.8v2.8h-2.8zM142.8 144.1h2.8v2.8h-2.8z"/><path fill="#fff" d="M134 255.5v46h46v-46h-46zm11 4h5v5h-5v-5zm-7 0h5v5h-5v-5zm38 38h-38v-28h38v28zm-22-5h-11v-18h11v18zm17-14h-11v-4h11v4zm0 7h-11v-4h11v4zm0 7h-11v-5h11v5z"/><path fill="none" stroke="#fff" stroke-width="5.343" stroke-miterlimit="10" d="M203.3 140.2l-4.5-7.3M185.1 172.2l-8.3-2M187.2 209.9l-7.3 4.6" stroke-linecap="round"/><circle cx="313.6" cy="203" r="12.9" fill="#fff"/><circle cx="220.1" cy="180.8" r="7.4" fill="#fff"/><path fill="#63A1D7" d="M282.8 198.9l2.4-9.5h-.3l2.2-8.7-61.4-33.7-6.4 27.8-2.8 12.1L210 215l70.4-4.5 2.1-9.1h-.1z"/><path fill="#143959" d="M278.48 176l42.1 9.72-8.05 34.88-42.1-9.7z"/><path fill="#63A1D7" d="M274.8 211.93l33.23 7.67-1.33 5.75-33.22-7.67z"/><path fill="#143959" d="M277.8 251.6l13.4-29.9 15.3 3.6-13.4 29.8z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/plan-changed-success.svg
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 645 645"><g fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10"><path d="M319.8 526.2c113.5 0 205.9-92.3 205.9-205.9s-92.3-205.9-205.9-205.9S114 206.8 114 320.4s92.3 205.8 205.8 205.
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 645 645"><g fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10"><path d="M319.8 526.2c113.5 0 205.9-92.3 205.9-205.9s-92.3-205.9-205.9-205.9S114 206.8 114 320.4s92.3 205.8 205.8 205.8zM319.8 504.4c101.5 0 184-82.6 184-184s-82.6-184-184-184-184 82.6-184 184 82.5 184 184 184zM319.8 482.5c89.4 0 162.1-72.7 162.1-162.1s-72.7-162.1-162.1-162.1S157.7 231 157.7 320.4s72.7 162.1 162.1 162.1zM319.8 460.6c77.4 0 140.3-62.9 140.3-140.3S397.2 180 319.8 180s-140.3 63-140.3 140.4 62.9 140.2 140.3 140.2zM319.8 438.7c65.4 0 118.4-53.1 118.4-118.4S385.1 202 319.8 202s-118.4 53-118.4 118.4 53.1 118.3 118.4 118.3zM319.8 416.9c53.2 0 96.5-43.2 96.5-96.5s-43.2-96.5-96.5-96.5-96.5 43.2-96.5 96.5 43.3 96.5 96.5 96.5z"/><circle cx="319.8" cy="320.4" r="74.6"/></g><path fill="#FFF" d="M378.4 437.5v13.2l7.5 3.3 7.5-3.3v-13.2h-15zm3.2 3.3h4.3v10l-4.3-1.6v-8.4z"/><path fill="#143959" d="M225.9 251.3h191v142.4h-191z"/><circle cx="233.6" cy="261.1" r="2.5" fill="#FFF"/><circle cx="243.3" cy="261.1" r="2.5" fill="#FFF"/><circle cx="253.1" cy="261.1" r="2.5" fill="#FFF"/><path fill="#FFF" d="M231 268.8h180.4v119.9H231z"/><path fill="#EBEBEB" d="M231 288.9h180.4v42.9H231z"/><path fill="#7E7E7E" d="M280.9 297.8H362v5.6h-81.1z"/><path fill="#C9C9C9" d="M240.8 339.4h29.6V369h-29.6zm43.3 0h29.6V369h-29.6zm43.5 0h29.6V369h-29.6zm43.4 0h29.6V369H371z"/><path fill="#7E7E7E" d="M264.8 311.9h113.4v2.8H264.8z"/><path fill="#C9C9C9" d="M240.8 376.6h29.6v2.8h-29.6zm0 6.1h29.6v2.8h-29.6zm43.3-6.1h29.6v2.8h-29.6zm0 6.1h29.6v2.8h-29.6zm43.5-6.1h29.6v2.8h-29.6zm0 6.1h29.6v2.8h-29.6zm43.4-6.1h29.6v2.8H371zm0 6.1h29.6v2.8H371zm16.1-105.2h18.1v2.8h-18.1zm-24.8 0h18.1v2.8h-18.1zm-24 0h18.1v2.8h-18.1z"/><path fill="#7E7E7E" d="M264.8 319.9h113.4v2.8H264.8z"/><circle cx="248.4" cy="278.9" r="4.8" fill="#C9C9C9"/><path fill="#FFF" d="M332.1 159.7v-3.9H323v3.9h-1.3v9.1h11.7v-9.1h-1.3zm-2-1.9v1.9h-5.3v-1.9h5.3zm-1.3 8.4h-2.6v-3.9h2.6v3.9z"/><path fill="#F68B20" d="M191.2 388.1h-16.9l4.8-19.4-36.2 29.1h16.8l-4.8 19.3"/><g fill="#63A1D7"><path d="M260.3 181.6h-22.1l-4.7 15.8v15.8h31.7v-15.8l-4.9-15.8zm1.6 28.5h-25.4v-9.5h25.4v9.5zM255.5 203.8h3.1v3.1h-3.1z"/></g><path fill="#9BCA3E" d="M167.7 273.1v-7.5h-7.5v-6.5h7.5v-7.5h6.4v7.5h7.5v6.5h-7.5v7.5h-6.4zM329 495.6v-7.5h-7.5v-6.4h7.5v-7.5h6.5v7.5h7.5v6.4h-7.5v7.5H329zm130-84.9V401h-9.7v-8.6h9.7v-10.8h8.6v10.8h10.8v8.6h-10.8v9.7H459zm-68.8-212.9V186h-11.8v-10.8h11.8v-12.9H401v12.9h12.9V186H401v11.8h-10.8zM109.7 359.1v-11.8H97.8v-10.8h11.8v-12.9h10.8v12.9h12.9v10.8h-12.9v11.8h-10.7zm121.4 78.4v-4.3h-4.3v-4.3h4.3v-5.4h4.3v5.4h5.4v4.3h-5.4v4.3h-4.3zm-24.7-99.9v-4.3h-4.3V329h4.3v-5.4h4.3v5.4h5.4v4.3h-5.4v4.3h-4.3zm275.2-16.2v-4.3h-4.3v-4.3h4.3v-5.4h4.3v5.4h5.4v4.3h-5.4v4.3h-4.3zM310.7 205.3V201h-4.3v-4.3h4.3v-5.4h4.3v5.4h5.4v4.3H315v4.3h-4.3zM186 151.6v-4.3h-4.3V143h4.3v-5.4h4.3v5.4h5.4v4.3h-5.4v4.3H186zm346.1 75.2v-4.3h-4.3v-4.3h4.3v-5.4h4.3v5.4h5.4v4.3h-5.4v4.3h-4.3z"/><path fill="#63A1D7" d="M505.3 237.6v15.1h-17.2v-15.1h6.5v-4.3H473v4.3h6.4v15.1h-17.2v-15.1h6.4V229h12.9v-4.3H475v-15h17.2v15h-6.5v4.3h12.9v8.6h6.7z"/></svg>
|
assets/request-submitted-success.svg
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 645 645"><g fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10"><path d="M403.4 502.6c113.5 0 205.9-92.3 205.9-205.9S517 90.8 403.4 90.8s-205.9 92.3-205.9 205.9 92.4 205.9 205.9 205.
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 645 645"><g fill="none" stroke="#3A82C2" stroke-width="4" stroke-miterlimit="10"><path d="M403.4 502.6c113.5 0 205.9-92.3 205.9-205.9S517 90.8 403.4 90.8s-205.9 92.3-205.9 205.9 92.4 205.9 205.9 205.9zM403.4 480.7c101.5 0 184-82.6 184-184s-82.6-184-184-184-183.9 82.6-183.9 184 82.5 184 183.9 184zM403.4 458.8c89.4 0 162.1-72.7 162.1-162.1s-72.7-162.1-162.1-162.1-162.1 72.7-162.1 162.1S314 458.8 403.4 458.8zM403.4 437c77.4 0 140.3-62.9 140.3-140.3s-62.9-140.3-140.3-140.3-140.2 62.9-140.2 140.3S326.2 437 403.4 437zM403.4 415.1c65.4 0 118.4-53.1 118.4-118.4s-53.1-118.4-118.4-118.4S285 231.3 285 296.7s53.2 118.4 118.4 118.4zM403.4 393.2c53.2 0 96.5-43.2 96.5-96.5s-43.2-96.5-96.5-96.5-96.5 43.2-96.5 96.5 43.3 96.5 96.5 96.5z"/><circle cx="403.4" cy="296.7" r="74.6"/></g><path fill="#FFF" d="M383.6 237.6h-84.9v67.7h17.2v17l21.2-17h46.5v-67.7z"/><path fill="#2F7BBF" d="M320.1 275.2H362v8.6h-41.9zm0-16.1H362v8.6h-41.9z"/><path fill="#63A1D7" d="M377.1 387h31.5l13.7 11.8V387h11.8v-45.2h-57V387z"/><path fill="#2F7BBF" d="M391.1 367.7h29v5.4h-29zm0-10.8h29v5.4h-29z"/><path fill="#F68B20" d="M254.1 289.2h-15.2L245 264l-39.7 35.9h15.3l-6.1 25.2"/><circle cx="584.3" cy="359.3" r="13.3" fill="#9BCA3E"/><path fill="none" stroke="#2F7BBF" stroke-width="2.981" stroke-miterlimit="10" d="M578.9 359.9c0 2.9 2.4 5.4 5.4 5.4 2.9 0 5.4-2.4 5.4-5.4"/><path fill="#2F7BBF" d="M577.6 352.6h4v4h-4zm9.4 0h4v4h-4z"/><path fill="#63A1D7" d="M518.8 244.5V300c-8.2 8.6-19.8 14.1-32.7 14.1-24.3 0-44.1-19.2-44.9-43.3v-54.2l77.6 27.9z"/><path fill="#2F7BBF" d="M480.1 255.3l-8.9 18.3h8.9"/><path fill="none" stroke="#143959" stroke-width="2" stroke-miterlimit="10" d="M469.7 238s-9.1-6.2-18.3 0"/><path fill="#FFF" d="M492.5 285.1c0 5.9-6 10.8-13.4 10.8s-13.4-4.8-13.4-10.8"/><path fill="none" stroke="#143959" stroke-width="2" stroke-miterlimit="10" d="M488.8 258c0-4.5 3.7-8.2 8.1-8.2 4.4 0 8.1 3.9 8.1 8.2h3.2m-4.2-4.1l3.9-1m-38.2 5.1c0-4.5-3.7-8.2-8.2-8.2-4.4 0-8.2 3.9-8.2 8.2h-3.2m4.4-4.1l-4-1"/><circle cx="489.2" cy="269.4" r="1.3" fill="#2F7BBF"/><circle cx="496.5" cy="265.7" r="1.3" fill="#2F7BBF"/><circle cx="504" cy="269.4" r="1.3" fill="#2F7BBF"/><circle cx="453.7" cy="269.4" r="1.3" fill="#2F7BBF"/><circle cx="461" cy="265.7" r="1.3" fill="#2F7BBF"/><circle cx="468.4" cy="269.4" r="1.3" fill="#2F7BBF"/><path fill="#143959" d="M430.6 237.6c0-30.7 24.9-55.7 55.7-55.7s55.7 24.9 55.7 55.7v84.9h-23v-74L441.4 221v49.5c.4 11.3 4.9 21.6 12.3 29.2v22.7h-22.6l-.3-83c-.2-.6-.2-1.2-.2-1.8z"/><path fill="#63A1D7" d="M541.6 258.2c0 5.9-4.8 10.8-10.8 10.8v-21.5c5.9 0 10.8 4.8 10.8 10.7z"/><path fill="#FFF" d="M148.7 261.2h-7.6v-7.5h-6.4v7.5h-7.5v6.5h7.5v7.5h6.4v-7.5h7.6"/><g fill="#9BCA3E"><circle cx="173.1" cy="359.3" r="10.8"/><circle cx="130.1" cy="359.3" r="10.8"/><circle cx="87.1" cy="359.3" r="10.8"/></g></svg>
|
assets/select2-cf-white.png
CHANGED
Binary file
|
assets/select2-cf.png
CHANGED
Binary file
|
assets/select2x2-cf-white.png
CHANGED
Binary file
|
assets/select2x2-cf.png
CHANGED
Binary file
|
assets/spinner.gif
CHANGED
Binary file
|
assets/vertical-range.png
CHANGED
Binary file
|
assets/yjs-logo.svg
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<svg
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1076 384"><style>.st0{fill:#8CC32B;} .st1{fill:#666666;} .st2{fill:#999999;} .st3{fill:none;stroke:#999999;stroke-miterlimit:10;} .st4{fill:#2276BD;} .st5{clip-path:url(#SVGID_2_);fill:url(#SVGID_3_);} .st6{clip-path:url(#SVGID_5_);fill:url(#SVGID_6_);}</style><path d="M521.6 142.8h96.1c1.4 0 2.1.7 2.1 2.1 0 1.7-.7 2.5-2.1 2.5h-42.6c-.3.3-.6.8-.8 1.7-2.8 8.2-5.1 13.5-6.7 16h34.6c7-.6 10.4 3.4 10.1 11.8v48.5c.6 7.6-3 11.1-10.5 10.5h-64.9c-6.5 0-9.7-3.4-9.7-10.1v-50.2c0-7 3.6-10.5 11-10.5h24.4c2.8-4.8 5.3-10.7 7.6-17.7h-48.5c-1.4 0-2.1-.8-2.1-2.5-.1-1.4.6-2.1 2-2.1m86.4 34.1c.3-5.1-2.1-7.6-7.2-7.6h-61.5c-5.6-.6-8.2 2.1-7.6 8v19.4H608v-19.8zm0 24h-76.3v23.2c-.3 5.6 2 8.1 6.7 7.6h62c5.6.6 8.1-2.1 7.6-8v-22.8zm66.2-60.7c-.6-1.4-.1-2.4 1.3-3 1.4-.6 2.4-.1 3 1.3.3 1.1.8 2.8 1.7 5.1-.3-.6-.1.1.4 2.1h41.7c1.4 0 2.1.7 2.1 2.1 0 1.4-.7 2.1-2.1 2.1H643c-3.4-.3-4.9 1.3-4.6 4.6V198c-.6 14.3-2.8 25.4-6.7 33.3-1.1 1.7-2.4 2.2-3.8 1.7-1.1-1.1-1.3-2.7-.4-4.6 3.9-8.7 6.2-19.2 6.7-31.6v-42.1c-.6-6.5 2.1-9.4 8-8.9h33.7c-.3-2.3-.9-4.2-1.7-5.6m37.1 55.2c5.6 1.1 6.6 4.5 2.9 10.1-6.7 8.2-15.6 15.2-26.5 21.1 12.1 3.6 24.3 6.3 36.7 8 2 .6 2.8 1.4 2.5 2.5-.6 1.4-1.8 2.1-3.8 2.1-14.9-2-28.5-5.5-40.9-10.5-13.2 5.1-27.7 8.1-43.4 9.3-2 0-3-.8-3-2.5.3-1.7 1.4-2.5 3.4-2.5 12.6-.3 24.9-2.4 36.7-6.3-.8-.6-2.1-1.5-3.8-3-9.6-6.5-15.9-11.9-19-16.4-.8-1.4-.7-2.5.4-3.4 1.4-.8 2.5-.6 3.4.8 5.6 7.3 14 13.8 25.3 19.4 11.5-5.1 20.9-12.1 28.2-21.1 1.1-2 0-2.9-3.4-2.9h-56c-1.4 0-2.1-.8-2.1-2.5 0-1.4.7-2.1 2.1-2.1h60.3zm-51-41.7v11h43v-10.1c0-1.4.8-2.1 2.5-2.1 1.4 0 2.1.7 2.1 2.1v10.1h16c1.4 0 2.1.7 2.1 2.1 0 1.7-.7 2.5-2.1 2.5h-16v11.4c.3 4.8-2 7-6.7 6.7h-39.6c-3.9.6-5.8-1.8-5.5-7.2v-11h-12.6c-2.3-1.1-2.3-2.7 0-4.6h12.6v-11c0-1.1.7-1.8 2.1-2.1 1.4.4 2.1 1.1 2.1 2.2m0 15.6v10.5c0 2 .8 2.9 2.5 2.9h37.9c1.7 0 2.5-.8 2.5-2.5v-11h-42.9zm171.9 7.6c1.4 0 2.1.7 2.1 2.1 0 1.4-.7 2.1-2.1 2.1h-51.8c-11 19.4-21.9 35.3-32.9 47.6-.8 1.1-.6 1.8.8 2.1 28.9-.3 53.7-1.7 74.2-4.2-8.2-12.9-14.8-22.2-19.8-27.8-1.1-1.4-1.1-2.5 0-3.4 1.4-1.1 2.7-1 3.8.4 10.4 13.5 19.4 26.7 27 39.6.6 1.4.3 2.5-.8 3.4-1.4.6-2.5.1-3.4-1.3-1.7-3.1-3.1-5.5-4.2-7.2-27.8 3.1-55.5 4.6-83 4.6-1.7 0-2.7-.6-3-1.7-.3-1.1.1-2.3 1.3-3.4 15.7-16.9 27.4-33.1 35-48.9h-37.9c-1.4 0-2.1-.7-2.1-2.1 0-1.4.7-2.1 2.1-2.1h94.7zm-8-32c1.4 0 2.1.7 2.1 2.1-.3 1.4-1.1 2.1-2.5 2.1h-79.6c-1.1 0-1.7-.7-1.7-2.1 0-1.4.6-2.1 1.7-2.1h80zm40-6.4v14.8h14.3c7.9-.6 11.7 3.1 11.4 11 0 7.6-.1 17.1-.4 28.7 0 20.2-.3 31.8-.8 34.6-1.1 11.5-10.1 14.7-27 9.7-1.7-.6-2.4-1.5-2.1-2.9.8-1.7 2-2.3 3.4-1.7 12.6 4.5 19.8 2.7 21.5-5.5.6-2.8.8-8.6.8-17.3.3-3.9.4-9.3.4-16v-29.1c.3-5.1-2-7.3-6.7-6.7h-14.8c-.6 34.6-6.7 60.8-18.5 78.8-1.1 1.4-2.3 2-3.4 1.7-1.1-.6-1.3-1.7-.4-3.4 11.5-19.7 17.6-45.4 18.1-77.1h-16c-1.7 0-2.5-.8-2.5-2.5 0-1.4.8-2.1 2.5-2.1h16v-14.8c0-1.1.7-1.8 2.1-2.1 1.4.1 2.1.8 2.1 1.9M927 147c7.6-.3 11.1 2.7 10.5 8.9V228c0 6.7-3.5 10.1-10.5 10.1h-17.3c-7 .3-10.4-3.1-10.1-10.1v-72.1c-.6-6.5 1.8-9.4 7.2-8.9H927zm-18.1 4.2c-3.7-.6-5.2 1.4-4.6 5.9v70.4c-.3 4.5 1.7 6.6 5.9 6.3H927c4.5 0 6.6-2.1 6.3-6.3v-71.2c.3-3.4-1.7-5.1-5.9-5.1h-18.5zm43.8 25.3h8.9c5.6-.6 8.1 2.1 7.6 8v25.3c0 5.1 2.2 10 6.7 14.8 6.7 5.9 15.6 9.1 26.5 9.7h45.1c1.7 0 2.5.8 2.5 2.5 0 1.4-.8 2.1-2.5 2.1h-43.8c-16.9-1.1-28.5-7-35-17.7-2.5 6.2-6.9 11.9-13.1 17.3-1.1.8-2.3.7-3.4-.4-.8-1.1-.7-2.3.4-3.4 7.9-5.3 11.9-11.5 12.2-18.5v-32c.3-2.2-.8-3.2-3.4-3h-8.9c-1.7 0-2.5-.8-2.5-2.5.2-1.5 1.1-2.2 2.7-2.2m4.3-30.4c9 5.9 14.9 10.1 17.7 12.6.6 1.1.4 2.1-.4 3-.8.8-1.7.8-2.5 0-2.8-2.8-8.4-6.7-16.9-11.8-1.1-.8-1.4-1.8-.8-2.9.7-1.1 1.7-1.4 2.9-.9m52.6-5.9c0-1.7.7-2.5 2.1-2.5 1.4 0 2.1.8 2.1 2.5v8h31.2c1.1 0 1.8.7 2.1 2.1-.3 1.7-1 2.5-2.1 2.5h-31.2v8.9h21.1c5.9-.3 8.7 2.9 8.4 9.7v11c.3 5.3-2.5 8-8.4 8h-21.1v3.4c13.5 7.9 24.3 15.7 32.5 23.6 1.1 1.1 1.3 2.3.4 3.4-.8 1.1-1.8 1.1-3 0-7-6.5-17-14.2-29.9-23.2V227c0 .8-.7 1.4-2.1 1.7-1.4-.3-2.1-.8-2.1-1.7v-32c-9.3 9.8-18.7 17.8-28.2 24-1.1.8-2.3.8-3.4 0-.8-1.4-.7-2.5.4-3.4 14-9 23.9-17.4 29.5-25.3h-21.1c-4.8 0-7.2-2.5-7.2-7.6v-12.6c-.3-5.9 2.4-8.7 8-8.4h21.9v-8.9H980c-1.1 0-1.8-.8-2.1-2.5 0-1.4.7-2.1 2.1-2.1h29.5v-8zm-22.7 26.2c-2-.3-2.8.7-2.5 3v14.3c0 1.7.7 2.5 2.1 2.5h23.2v-19.8h-22.8zm49.3 0h-22.3v19.8h22.3c2 0 3-1.1 3-3.4v-13.1c-.1-2.5-1.1-3.6-3-3.3" class="st1"/><path d="M647.9 267.3c-.3-4.2-3-6.2-9.6-6.2-6.2 0-8.3 2.4-8.3 5 0 2.8 2.1 3.9 5.1 4.3l8.1 1.1c4.7.6 8 2.4 8 6.9 0 6.9-7.8 7.6-12.1 7.6-7 0-12-2.4-12.4-8.7h2.3c.2 2.6.8 6.7 10.7 6.7 6.7 0 9.2-2 9.2-5.6 0-3-2.1-4.2-5.1-4.6l-8.9-1.2c-3.2-.4-7.1-1.8-7.1-6.4 0-2.9 2-7.2 10.6-7.2 9.3 0 11.5 4.3 11.8 8.2h-2.3zm31.8 17.9h-2.3v-5h-.1c-1.6 3-4.9 5.8-10.7 5.8-11.6 0-11.6-7.4-11.6-10.5v-15.6h2.3v15.5c0 5.1 1.9 8.6 9.4 8.6s10.7-4.6 10.7-9.3v-14.8h2.3v25.3zm7-4.9h2.6v4.9h-2.6zm9.5-30.4h2.3v15.4h.1c1.4-2.8 5-6.2 11.2-6.2 7.7 0 13.5 5.3 13.5 13.4 0 7.1-4.6 13.5-13.5 13.5-6.5 0-10-3.3-11.2-6.3h-.1v5.5h-2.3v-35.3zm24.8 22.6c0-7.7-5.4-11.4-11.3-11.4-5.1 0-11.6 2.8-11.6 11.7 0 4.5 2.4 11.2 11.9 11.2 6.3 0 11-4.3 11-11.5m6-4.8c.8-6.4 4.2-8.6 11.8-8.6 7.3 0 11.6 1.7 11.6 7.4v14.2c0 1.9 0 3 1.7 3 .7 0 1.4-.1 2.2-.4v2c-.7.2-1.6.4-2.8.4-3.1 0-3.1-2.2-3.1-5.5h-.1c-2.8 5.2-8.8 5.8-12.1 5.8-2.2 0-10.4 0-10.4-7.7 0-5.1 4.4-7 9.5-7.3l8.9-.6c2.6-.1 3.9-.5 3.9-3.6 0-3.4-1.9-5.7-9.4-5.7-6.7 0-8.8 2.1-9.4 6.6H727zm21.1 3.4c-.6.6-2 1.2-4.2 1.3l-8.6.6c-4.2.2-7.3 1.5-7.3 5.3 0 5.1 5.2 5.7 8.3 5.7 5 0 11.7-2.2 11.7-8.3v-4.6zm8.8-21.2h2.3v5.2h-2.3v-5.2zm0 10h2.3v25.3h-2.3v-25.3zm31.3 19.8c-1.3 3-4.8 6.3-11.3 6.3-8.9 0-13.5-6.4-13.5-13.5 0-8.1 5.8-13.4 13.5-13.4 6.2 0 9.8 3.4 11.2 6.2h.1v-15.4h2.3v35.3h-2.3v-5.5zm.3-6.9c0-8.9-6.4-11.7-11.6-11.7-5.8 0-11.3 3.7-11.3 11.4 0 7.3 4.7 11.6 11 11.6 9.5-.1 11.9-6.7 11.9-11.3m32.2 12.4h-2.3v-5h-.1c-1.6 3-4.9 5.8-10.7 5.8-11.6 0-11.6-7.4-11.6-10.5v-15.6h2.3v15.5c0 5.1 1.9 8.6 9.4 8.6s10.7-4.6 10.7-9.3v-14.8h2.3v25.3zm7-4.9h2.6v4.9h-2.6zm33.1-12.4c-.2-3.2-4.6-6.8-10.7-6.8-8.1 0-12 5.7-12 11.7 0 4.1 2.9 11.2 12 11.2 5.1 0 9.9-2.4 11.1-7.7h2.3c-1.3 6.6-7 9.6-13.3 9.6-8.3 0-14.3-5.3-14.3-13.2 0-8.9 6.5-13.7 14.3-13.7 7.7 0 12.8 4.5 13 8.8h-2.4zm19.4-8.8c9 0 14.3 6.4 14.3 13.4 0 7.2-5.2 13.4-14.3 13.4-9 0-14.3-6.3-14.3-13.4.1-7 5.3-13.4 14.3-13.4m0 24.9c8.1 0 12-5.7 12-11.5 0-5.7-4-11.5-12-11.5s-12 5.7-12 11.5 4 11.5 12 11.5m18.4-24.1h2.3v4.3h.1c2-3.3 5.7-5.1 9.7-5.1 6.2 0 8.7 2.7 9.7 5.9 1.8-3.9 5.1-5.9 9.8-5.9 7.3 0 10.5 3.2 10.5 8.9v17.2h-2.3v-16.4c0-4.2-2.3-7.7-8.2-7.7-6.2 0-9.4 3.2-9.4 8.6v15.6h-2.3v-16.9c0-4.5-2.3-7.3-8.2-7.3-5.5 0-9.4 3.3-9.4 9v15.1h-2.3v-25.3z" class="st2"/><path d="M606.9 274.9h-86.6m529.1 0h-86.6" class="st3"/><path d="M324 79.3c-81.2 83.1-127.2 114.4-127.2 114.4h87.8L324 79.3z" class="st0"/><path d="M122.1 95.5c4.9-1.9 12.5-4.7 23.6-6.5 6.2-1 12.5-1.5 18.9-1.5 2.8 0 5.5.1 8.2.3 5.5-4.2 11.5-7.6 17.9-10.3 5.9-2.5 12.2-4.3 18.7-5.3 4.2-.7 8.4-1 12.8-1 19.2 0 36.9 6.7 50.8 17.8 1.5 1.2 3 2.5 4.5 3.9l25.2-22.5c-20.8-20.3-49.2-32.8-80.5-32.8-29.1 0-55.6 10.8-75.8 28.5-4.4 3.9-8.6 8.1-12.4 12.6-4.4 5.1-8.4 10.8-11.9 16.8M368 87.7c-9.2 0-18.1 1.1-26.6 3.1L329 131.3c1.9-1.1 3.9-2 6-2.9 1.8-.8 3.7-1.5 5.6-2.2 8.6-3.1 17.8-4.8 27.4-4.8 45.1 0 81.7 36.6 81.7 81.7 0 43.8-34.4 79.5-77.7 81.6h-96.1c-5.3 7.2-11.3 13.9-17.9 20-5.5 5.1-11.5 9.2-17.8 13.3H379c58.6-5.5 104.4-54.8 104.4-114.8 0-63.8-51.6-115.5-115.4-115.5" class="st4"/><defs><path id="SVGID_4_" d="M57.4 160.2c-.1.1-.1.3-.2.5-.2.6-.5 1.3-.7 1.9-.1.2-.2.5-.3.7-.2.6-.4 1.2-.6 1.7-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.5-.2.6-.4 1.3-.6 1.9v.1C51 180 49.4 191 49.4 202.4c0 63.7 51.7 115.3 115.4 115.3 30.1 0 57.4-11.5 77.9-30.3 11.9-11 21.5-24.4 28-39.5H233c-14.7 22-39.7 36.5-68.1 36.5-45.2 0-81.8-36.6-81.8-81.8v-2.3c1.1-44.1 37.2-79.6 81.7-79.6 10.6 0 20.7 2 30 5.7 7.5-9.6 16.6-17.8 27-24.3-14.6-8.1-31.2-13.3-48.8-14.6-2.7-.2-5.5-.3-8.2-.3-48.8 0-90.5 30.3-107.4 73"/></defs><clipPath id="SVGID_2_"><use xlink:href="#SVGID_4_" overflow="visible"/></clipPath><linearGradient id="SVGID_3_" x1="-419" x2="-418" y1="1052.999" y2="1052.999" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 230.682 230.682 0 -242748.188 96743.055)"><stop offset="0" stop-color="#2276BD"/><stop offset=".202" stop-color="#2276BD"/><stop offset=".622" stop-color="#7EB853"/><stop offset=".818" stop-color="#8CC32C"/><stop offset="1" stop-color="#8CC32C"/></linearGradient><path d="M49.3 87.2h221.3v230.7H49.3z" class="st5"/><path d="M239.6 232.1h36c1.6-5 4.9-15.3 5.7-20.6H247c-1.3 5.4-5.1 15.7-7.4 20.6" class="st0"/></svg>
|
cloudflare.loader.php
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once 'vendor/autoload.php';
|
4 |
+
|
5 |
+
use CloudFlare\IpRewrite;
|
6 |
+
|
7 |
+
// Rewrites Cloudflare IP
|
8 |
+
$ipRewrite = new IpRewrite();
|
9 |
+
|
10 |
+
$is_cf = $ipRewrite->isCloudFlare();
|
11 |
+
if ($is_cf) {
|
12 |
+
// Fixes Flexible SSL
|
13 |
+
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
|
14 |
+
$_SERVER['HTTPS'] = 'on';
|
15 |
+
|
16 |
+
return true;
|
17 |
+
}
|
18 |
+
}
|
19 |
+
|
20 |
+
// Enable HTTP2 Server Push
|
21 |
+
// add_action('init', array('\CF\Hooks\HTTP2ServerPush', 'init'));
|
22 |
+
|
23 |
+
if (is_admin()) {
|
24 |
+
// Initiliaze Hooks class which contains WordPress hook functions
|
25 |
+
$cloudflareHooks = new \CF\WordPress\Hooks();
|
26 |
+
|
27 |
+
//Register proxy AJAX endpoint
|
28 |
+
add_action('wp_ajax_cloudflare_proxy', array($cloudflareHooks, 'initProxy'));
|
29 |
+
|
30 |
+
//Add CloudFlare Plugin homepage to admin settings menu
|
31 |
+
add_action('admin_menu', array($cloudflareHooks, 'cloudflareConfigPage'));
|
32 |
+
|
33 |
+
//Add CloudFlare Plugin homepage to admin settings menu
|
34 |
+
add_action('plugin_action_links_cloudflare/cloudflare.php', array($cloudflareHooks, 'pluginActionLinks'));
|
35 |
+
|
36 |
+
// Load Activation Script
|
37 |
+
register_activation_hook(CLOUDFLARE_PLUGIN_DIR.'cloudflare.php', array($cloudflareHooks, 'activate'));
|
38 |
+
|
39 |
+
// Load Deactivation Script
|
40 |
+
register_deactivation_hook(CLOUDFLARE_PLUGIN_DIR.'cloudflare.php', array($cloudflareHooks, 'deactivate'));
|
41 |
+
|
42 |
+
// Load Automatic Cache Purge
|
43 |
+
add_action('switch_theme', array($cloudflareHooks, 'purgeCache'));
|
44 |
+
add_action('customize_save_after', array($cloudflareHooks, 'purgeCache'));
|
45 |
+
}
|
cloudflare.php
CHANGED
@@ -3,57 +3,29 @@
|
|
3 |
Plugin Name: CloudFlare
|
4 |
Plugin URI: http://www.cloudflare.com/wiki/CloudFlareWordPressPlugin
|
5 |
Description: CloudFlare integrates your blog with the CloudFlare platform.
|
6 |
-
Version: 3.0.
|
7 |
Author: John Wineman, Furkan Yilmaz, Junade Ali (CloudFlare Team)
|
8 |
License: BSD-3-Clause
|
9 |
*/
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
if (!defined('ABSPATH')) { // Exit if accessed directly
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
$cloudflareConfig = new CF\Integration\DefaultConfig(file_get_contents('config.js', true));
|
21 |
-
$cloudflareLogger = new CF\Integration\DefaultLogger($cloudflareConfig->getValue('debug'));
|
22 |
-
$cloudflareDataStore = new CF\WordPress\DataStore($cloudflareLogger);
|
23 |
-
$cloudflareWordpressAPI = new CF\WordPress\WordPressAPI($cloudflareDataStore);
|
24 |
-
$cloudflareWordpressIntegration = new CF\Integration\DefaultIntegration($cloudflareConfig, $cloudflareWordpressAPI, $cloudflareDataStore, $cloudflareLogger);
|
25 |
-
|
26 |
-
// ************************************************************** //
|
27 |
-
|
28 |
-
// Initiliaze Hooks class which contains WordPress hook functions
|
29 |
-
$cloudflareHooks = new \CF\WordPress\Hooks($cloudflareWordpressIntegration);
|
30 |
-
|
31 |
-
// Load Init Script
|
32 |
-
add_action('init', array($cloudflareHooks, 'init'), 1);
|
33 |
-
|
34 |
-
//Register proxy AJAX endpoint
|
35 |
-
add_action('wp_ajax_cloudflare_proxy', array($cloudflareHooks, 'initProxy'));
|
36 |
|
37 |
-
//
|
38 |
-
|
|
|
|
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
add_action('plugin_action_links_cloudflare/cloudflare.php', array($cloudflareHooks, 'pluginActionLinks'));
|
44 |
-
|
45 |
-
// Load Activation Script
|
46 |
-
register_activation_hook(__FILE__, array($cloudflareHooks, 'activate'));
|
47 |
-
|
48 |
-
// Load Deactivation Script
|
49 |
-
register_deactivation_hook(__FILE__, array($cloudflareHooks, 'deactivate'));
|
50 |
-
|
51 |
-
// Load Uninstall Script
|
52 |
-
register_uninstall_hook(__FILE__, array('\CF\WordPress\Hooks', 'uninstall'));
|
53 |
-
|
54 |
-
// Load AutomaticCache
|
55 |
-
add_action('switch_theme', array($cloudflareHooks, 'purgeCache'));
|
56 |
-
add_action('customize_save_after', array($cloudflareHooks, 'purgeCache'));
|
57 |
|
58 |
-
//
|
59 |
-
//
|
|
3 |
Plugin Name: CloudFlare
|
4 |
Plugin URI: http://www.cloudflare.com/wiki/CloudFlareWordPressPlugin
|
5 |
Description: CloudFlare integrates your blog with the CloudFlare platform.
|
6 |
+
Version: 3.0.4
|
7 |
Author: John Wineman, Furkan Yilmaz, Junade Ali (CloudFlare Team)
|
8 |
License: BSD-3-Clause
|
9 |
*/
|
10 |
|
11 |
+
// Exit if accessed directly
|
12 |
+
if (!defined('ABSPATH')) {
|
|
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
+
define('CLOUDFLARE_MIN_PHP_VERSION', '5.3.10');
|
17 |
+
define('CLOUDFLARE_MIN_WP_VERSION', '3.4');
|
18 |
+
define('CLOUDFLARE_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
+
// PHP version check has to go here because the below code uses namespaces
|
21 |
+
if (version_compare(PHP_VERSION, CLOUDFLARE_MIN_PHP_VERSION, '<')) {
|
22 |
+
// We need to load "plugin.php" manually to call "deactivate_plugins"
|
23 |
+
require_once ABSPATH.'wp-admin/includes/plugin.php';
|
24 |
|
25 |
+
deactivate_plugins(plugin_basename(__FILE__), true);
|
26 |
+
wp_die('<p>The CloudFlare plugin requires a php version of at least '.CLOUDFLARE_MIN_PHP_VERSION.' you have '.PHP_VERSION.'.</p>', 'Plugin Activation Error', array('response' => 200, 'back_link' => true));
|
27 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
+
// Plugin uses namespaces. To support old PHP version which doesn't support
|
30 |
+
// namespaces we load everything in "cloudflare.loader.php"
|
31 |
+
require_once CLOUDFLARE_PLUGIN_DIR.'cloudflare.loader.php';
|
compiled.js
CHANGED
@@ -78978,7 +78978,7 @@ exports.default = (0, _reactRedux.connect)(mapStateToProps)(AppWrapper);
|
|
78978 |
|
78979 |
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
78980 |
|
78981 |
-
},{"../../actions/config":532,"../../containers/ActiveZoneSelector/ActiveZoneSelector":555,"../../containers/AppNavigation/AppNavigation":560,"../../containers/GlobalNotifications/GlobalNotifications":
|
78982 |
'use strict';
|
78983 |
|
78984 |
exports.__esModule = true;
|
@@ -79221,6 +79221,107 @@ var _reactRedux = _dereq_('react-redux');
|
|
79221 |
|
79222 |
var _reactIntl = _dereq_('react-intl');
|
79223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79224 |
var _cfComponentCard = _dereq_('cf-component-card');
|
79225 |
|
79226 |
var _cfComponentSelect = _dereq_('cf-component-select');
|
@@ -79307,7 +79408,7 @@ function mapStateToProps(state) {
|
|
79307 |
}
|
79308 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(BrowserCacheTTLCard));
|
79309 |
|
79310 |
-
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-select":117,"react":511,"react-intl":290,"react-redux":312}],
|
79311 |
'use strict';
|
79312 |
|
79313 |
exports.__esModule = true;
|
@@ -79408,7 +79509,7 @@ function mapStateToProps(state) {
|
|
79408 |
}
|
79409 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(BrowserIntegrityCheckCard));
|
79410 |
|
79411 |
-
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],
|
79412 |
'use strict';
|
79413 |
|
79414 |
exports.__esModule = true;
|
@@ -79506,7 +79607,7 @@ function mapStateToProps(state) {
|
|
79506 |
}
|
79507 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(CacheLevelCard));
|
79508 |
|
79509 |
-
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-radio":115,"react":511,"react-intl":290,"react-redux":312}],
|
79510 |
'use strict';
|
79511 |
|
79512 |
exports.__esModule = true;
|
@@ -79606,7 +79707,7 @@ function mapStateToProps(state) {
|
|
79606 |
}
|
79607 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(ChallengePassageCard));
|
79608 |
|
79609 |
-
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-select":117,"react":511,"react-intl":290,"react-redux":312}],
|
79610 |
'use strict';
|
79611 |
|
79612 |
exports.__esModule = true;
|
@@ -79792,7 +79893,7 @@ function mapStateToProps(state) {
|
|
79792 |
|
79793 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(ClientLoginPage));
|
79794 |
|
79795 |
-
},{"../../actions/user":536,"../../constants/UrlPaths.js":553,"../../containers/MarketingFeatureCollection/MarketingFeatureCollection":
|
79796 |
'use strict';
|
79797 |
|
79798 |
exports.__esModule = true;
|
@@ -79971,7 +80072,7 @@ function mapStateToProps(state) {
|
|
79971 |
|
79972 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(DNSManagementPage));
|
79973 |
|
79974 |
-
},{"../../constants/UrlPaths.js":553,"../../containers/ActivationCheckCard/ActivationCheckCard":554,"../../containers/DNSRecordEditor/DNSRecordEditor":
|
79975 |
'use strict';
|
79976 |
|
79977 |
exports.__esModule = true;
|
@@ -80128,7 +80229,7 @@ function mapStateToProps(state) {
|
|
80128 |
}
|
80129 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(DNSRecordEditor));
|
80130 |
|
80131 |
-
},{"../../actions/zoneDnsRecords":538,"../../components/CloudToggle/CloudToggle":545,"cf-component-loading":88,"cf-component-table":131,"lodash":188,"react":511,"react-intl":290,"react-redux":312}],
|
80132 |
'use strict';
|
80133 |
|
80134 |
exports.__esModule = true;
|
@@ -80229,7 +80330,7 @@ function mapStateToProps(state) {
|
|
80229 |
}
|
80230 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(DevelopmentModeCard));
|
80231 |
|
80232 |
-
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],
|
80233 |
'use strict';
|
80234 |
|
80235 |
exports.__esModule = true;
|
@@ -80312,7 +80413,7 @@ function mapStateToProps(state) {
|
|
80312 |
|
80313 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(GlobalNotifications));
|
80314 |
|
80315 |
-
},{"../../actions/notifications":534,"cf-component-notifications":110,"react":511,"react-intl":290,"react-redux":312}],
|
80316 |
'use strict';
|
80317 |
|
80318 |
exports.__esModule = true;
|
@@ -80389,7 +80490,7 @@ function mapStateToProps(state) {
|
|
80389 |
}
|
80390 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(HomePage));
|
80391 |
|
80392 |
-
},{"../../components/RenderCardsDynamically/RenderCardsDynamically":549,"../../selectors/pluginSettings":611,"cf-component-heading":74,"lodash":188,"react":511,"react-intl":290,"react-redux":312}],
|
80393 |
'use strict';
|
80394 |
|
80395 |
exports.__esModule = true;
|
@@ -80571,7 +80672,7 @@ var HostLoginPage = function (_Component) {
|
|
80571 |
|
80572 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)()(HostLoginPage));
|
80573 |
|
80574 |
-
},{"../../actions/user":536,"../../constants/UrlPaths.js":553,"../../containers/MarketingFeatureCollection/MarketingFeatureCollection":
|
80575 |
'use strict';
|
80576 |
|
80577 |
exports.__esModule = true;
|
@@ -80672,7 +80773,7 @@ function mapStateToProps(state) {
|
|
80672 |
}
|
80673 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(IPV6Card));
|
80674 |
|
80675 |
-
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],
|
80676 |
'use strict';
|
80677 |
|
80678 |
exports.__esModule = true;
|
@@ -80747,7 +80848,8 @@ var ImageOptimizationCard = function (_Component) {
|
|
80747 |
var modifiedDate = _props2.modifiedDate;
|
80748 |
|
80749 |
var zone = zones[activeZone.name];
|
80750 |
-
|
|
|
80751 |
|
80752 |
var formatMessage = this.props.intl.formatMessage;
|
80753 |
|
@@ -80794,7 +80896,7 @@ function mapStateToProps(state) {
|
|
80794 |
}
|
80795 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(ImageOptimizationCard));
|
80796 |
|
80797 |
-
},{"../../actions/zoneSettings":542,"../../components/CustomCardControl/CustomCardControl":546,"../../constants/Plans.js":551,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],
|
80798 |
'use strict';
|
80799 |
|
80800 |
exports.__esModule = true;
|
@@ -80895,7 +80997,7 @@ function mapStateToProps(state) {
|
|
80895 |
}
|
80896 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(IpRewriteCard));
|
80897 |
|
80898 |
-
},{"../../actions/pluginSettings":535,"../../selectors/pluginSettings":611,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],
|
80899 |
'use strict';
|
80900 |
|
80901 |
exports.__esModule = true;
|
@@ -80967,7 +81069,7 @@ function mapStateToProps(state) {
|
|
80967 |
|
80968 |
exports.default = (0, _reactRedux.connect)(mapStateToProps)(LoginPage);
|
80969 |
|
80970 |
-
},{"../../constants/UrlPaths.js":553,"../../containers/ClientLoginPage/ClientLoginPage":
|
80971 |
'use strict';
|
80972 |
|
80973 |
exports.__esModule = true;
|
@@ -81042,7 +81144,7 @@ function mapStateToProps(state) {
|
|
81042 |
|
81043 |
exports.default = (0, _reactRedux.connect)(mapStateToProps)(MarketingFeatureCollection);
|
81044 |
|
81045 |
-
},{"../../components/MarketingFeature/MarketingFeature":548,"../../selectors/config":609,"cf-component-flex":64,"react":511,"react-redux":312}],
|
81046 |
'use strict';
|
81047 |
|
81048 |
exports.__esModule = true;
|
@@ -81113,9 +81215,9 @@ var MinifyCard = function (_Component) {
|
|
81113 |
var formatMessage = this.props.intl.formatMessage;
|
81114 |
var modifiedDate = this.props.modifiedDate;
|
81115 |
|
81116 |
-
// this.state.checkboxValues = [];
|
81117 |
-
//convert on/off to true/false
|
81118 |
|
|
|
|
|
81119 |
for (var key in this.props.minifyValues) {
|
81120 |
if (this.props.minifyValues[key] === 'on') {
|
81121 |
this.state.checkboxValues.push(key);
|
@@ -81165,7 +81267,7 @@ function mapStateToProps(state) {
|
|
81165 |
}
|
81166 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(MinifyCard));
|
81167 |
|
81168 |
-
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-checkbox":23,"react":511,"react-intl":290,"react-redux":312}],
|
81169 |
'use strict';
|
81170 |
|
81171 |
exports.__esModule = true;
|
@@ -81256,7 +81358,7 @@ function mapStateToProps(state) {
|
|
81256 |
}
|
81257 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(MoreSettingsPage));
|
81258 |
|
81259 |
-
},{"../../components/RenderCardsDynamically/RenderCardsDynamically":549,"../../selectors/pluginSettings":611,"cf-component-heading":74,"lodash":188,"react":511,"react-intl":290,"react-redux":312}],
|
81260 |
'use strict';
|
81261 |
|
81262 |
exports.__esModule = true;
|
@@ -81313,10 +81415,6 @@ var _PurgeCacheCard = _dereq_('../../containers/PurgeCacheCard/PurgeCacheCard');
|
|
81313 |
|
81314 |
var _PurgeCacheCard2 = _interopRequireDefault(_PurgeCacheCard);
|
81315 |
|
81316 |
-
var _ProtocolRewriteCard = _dereq_('../../containers/ProtocolRewriteCard/ProtocolRewriteCard');
|
81317 |
-
|
81318 |
-
var _ProtocolRewriteCard2 = _interopRequireDefault(_ProtocolRewriteCard);
|
81319 |
-
|
81320 |
var _RailgunCard = _dereq_('../../containers/RailgunCard/RailgunCard');
|
81321 |
|
81322 |
var _RailgunCard2 = _interopRequireDefault(_RailgunCard);
|
@@ -81382,11 +81480,6 @@ var PerformancePage = function (_Component) {
|
|
81382 |
{ isEnabled: config.featureManagerIsIpRewriteEnabled },
|
81383 |
_react2.default.createElement(_IpRewriteCard2.default, null)
|
81384 |
),
|
81385 |
-
_react2.default.createElement(
|
81386 |
-
_FeatureManager2.default,
|
81387 |
-
{ isEnabled: config.featureManagerIsProtocolRewriteEnabled },
|
81388 |
-
_react2.default.createElement(_ProtocolRewriteCard2.default, null)
|
81389 |
-
),
|
81390 |
_react2.default.createElement(
|
81391 |
_FeatureManager2.default,
|
81392 |
{ isEnabled: config.featureManagerIsCacheLevelEnabled },
|
@@ -81443,7 +81536,7 @@ function mapStateToProps(state) {
|
|
81443 |
}
|
81444 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(PerformancePage));
|
81445 |
|
81446 |
-
},{"../../components/FeatureManager/FeatureManager":547,"../../containers/AlwaysOnlineCard/AlwaysOnlineCard":557,"../../containers/BrowserCacheTTLCard/BrowserCacheTTLCard":
|
81447 |
'use strict';
|
81448 |
|
81449 |
exports.__esModule = true;
|
@@ -81611,7 +81704,7 @@ function mapStateToProps(state) {
|
|
81611 |
}
|
81612 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(PluginSpecificCacheCard));
|
81613 |
|
81614 |
-
},{"../../actions/pluginSettings":535,"../../selectors/pluginSettings":611,"../../utils/utils":620,"cf-component-button":5,"cf-component-card":16,"cf-component-modal":99,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],
|
81615 |
'use strict';
|
81616 |
|
81617 |
exports.__esModule = true;
|
@@ -81722,107 +81815,7 @@ function mapStateToProps(state) {
|
|
81722 |
}
|
81723 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(PluginSpecificCacheTagCard));
|
81724 |
|
81725 |
-
},{"../../actions/pluginSettings":535,"../../components/CustomCardControl/CustomCardControl":546,"../../constants/Plans.js":551,"../../selectors/pluginSettings":611,"../../selectors/zones":613,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],
|
81726 |
-
'use strict';
|
81727 |
-
|
81728 |
-
exports.__esModule = true;
|
81729 |
-
|
81730 |
-
var _react = _dereq_('react');
|
81731 |
-
|
81732 |
-
var _react2 = _interopRequireDefault(_react);
|
81733 |
-
|
81734 |
-
var _reactRedux = _dereq_('react-redux');
|
81735 |
-
|
81736 |
-
var _reactIntl = _dereq_('react-intl');
|
81737 |
-
|
81738 |
-
var _cfComponentCard = _dereq_('cf-component-card');
|
81739 |
-
|
81740 |
-
var _cfComponentToggle = _dereq_('cf-component-toggle');
|
81741 |
-
|
81742 |
-
var _cfComponentToggle2 = _interopRequireDefault(_cfComponentToggle);
|
81743 |
-
|
81744 |
-
var _pluginSettings = _dereq_('../../actions/pluginSettings');
|
81745 |
-
|
81746 |
-
var _pluginSettings2 = _dereq_('../../selectors/pluginSettings');
|
81747 |
-
|
81748 |
-
var _utils = _dereq_('../../utils/utils');
|
81749 |
-
|
81750 |
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
81751 |
-
|
81752 |
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
81753 |
-
|
81754 |
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
81755 |
-
|
81756 |
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
81757 |
-
|
81758 |
-
var SETTING_NAME = 'protocol_rewrite';
|
81759 |
-
|
81760 |
-
var ProtocolRewriteCard = function (_Component) {
|
81761 |
-
_inherits(ProtocolRewriteCard, _Component);
|
81762 |
-
|
81763 |
-
function ProtocolRewriteCard() {
|
81764 |
-
_classCallCheck(this, ProtocolRewriteCard);
|
81765 |
-
|
81766 |
-
return _possibleConstructorReturn(this, _Component.apply(this, arguments));
|
81767 |
-
}
|
81768 |
-
|
81769 |
-
ProtocolRewriteCard.prototype.handleChange = function handleChange(value) {
|
81770 |
-
var _props = this.props;
|
81771 |
-
var activeZoneId = _props.activeZoneId;
|
81772 |
-
var dispatch = _props.dispatch;
|
81773 |
-
|
81774 |
-
dispatch((0, _pluginSettings.asyncPluginUpdateSetting)(SETTING_NAME, activeZoneId, value));
|
81775 |
-
};
|
81776 |
-
|
81777 |
-
ProtocolRewriteCard.prototype.render = function render() {
|
81778 |
-
var formatMessage = this.props.intl.formatMessage;
|
81779 |
-
var modifiedDate = this.props.modifiedDate;
|
81780 |
-
|
81781 |
-
|
81782 |
-
return _react2.default.createElement(
|
81783 |
-
'div',
|
81784 |
-
null,
|
81785 |
-
_react2.default.createElement(
|
81786 |
-
_cfComponentCard.Card,
|
81787 |
-
null,
|
81788 |
-
_react2.default.createElement(
|
81789 |
-
_cfComponentCard.CardSection,
|
81790 |
-
null,
|
81791 |
-
_react2.default.createElement(
|
81792 |
-
_cfComponentCard.CardContent,
|
81793 |
-
{ title: formatMessage({ id: 'container.protocolRewrite.title' }), footerMessage: (0, _utils.getLastModifiedDate)(this.props.intl, modifiedDate) },
|
81794 |
-
_react2.default.createElement(
|
81795 |
-
'p',
|
81796 |
-
null,
|
81797 |
-
_react2.default.createElement(_reactIntl.FormattedMessage, { id: 'container.protocolRewrite.description' })
|
81798 |
-
)
|
81799 |
-
),
|
81800 |
-
_react2.default.createElement(
|
81801 |
-
_cfComponentCard.CardControl,
|
81802 |
-
null,
|
81803 |
-
_react2.default.createElement(_cfComponentToggle2.default, {
|
81804 |
-
label: '',
|
81805 |
-
value: this.props.protocolRewriteValue == true,
|
81806 |
-
onChange: this.handleChange.bind(this) })
|
81807 |
-
)
|
81808 |
-
)
|
81809 |
-
)
|
81810 |
-
);
|
81811 |
-
};
|
81812 |
-
|
81813 |
-
return ProtocolRewriteCard;
|
81814 |
-
}(_react.Component);
|
81815 |
-
|
81816 |
-
function mapStateToProps(state) {
|
81817 |
-
return {
|
81818 |
-
activeZoneId: state.activeZone.id,
|
81819 |
-
protocolRewriteValue: (0, _pluginSettings2.getPluginSettingsValueForZoneId)(state.activeZone.id, SETTING_NAME, state),
|
81820 |
-
modifiedDate: (0, _pluginSettings2.getPluginSettingsModifiedDateForZoneId)(state.activeZone.id, SETTING_NAME, state)
|
81821 |
-
};
|
81822 |
-
}
|
81823 |
-
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(ProtocolRewriteCard));
|
81824 |
-
|
81825 |
-
},{"../../actions/pluginSettings":535,"../../selectors/pluginSettings":611,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],584:[function(_dereq_,module,exports){
|
81826 |
'use strict';
|
81827 |
|
81828 |
exports.__esModule = true;
|
@@ -82219,6 +82212,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
82219 |
|
82220 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
82221 |
|
|
|
|
|
82222 |
var SSLCard = function (_Component) {
|
82223 |
_inherits(SSLCard, _Component);
|
82224 |
|
@@ -82491,7 +82486,7 @@ function mapStateToProps(state) {
|
|
82491 |
}
|
82492 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(SecurityPage));
|
82493 |
|
82494 |
-
},{"../../components/FeatureManager/FeatureManager":547,"../../containers/BrowserIntegrityCheckCard/BrowserIntegrityCheckCard":
|
82495 |
'use strict';
|
82496 |
|
82497 |
exports.__esModule = true;
|
@@ -83654,7 +83649,7 @@ function buildZoneAnalyticsData(zoneAnalyticsResponse) {
|
|
83654 |
data.threats[0].push(analyticsInterval.threats.all);
|
83655 |
}
|
83656 |
if (typeof analyticsInterval.uniques !== 'undefined') {
|
83657 |
-
data.uniques[0].push(analyticsInterval.
|
83658 |
}
|
83659 |
});
|
83660 |
return data;
|
@@ -84114,7 +84109,7 @@ exports.default = _react2.default.createElement(
|
|
84114 |
_react2.default.createElement(_reactRouter.Route, { path: UrlPaths.MORE_SETTINGS_PAGE, component: _MoreSettingsPage2.default, onEnter: requireAuth })
|
84115 |
);
|
84116 |
|
84117 |
-
},{"./constants/UrlPaths":553,"./containers/AnalyticsPage/AnaltyicsPage":558,"./containers/App/App":559,"./containers/DNSManagementPage/DNSManagementPage":
|
84118 |
'use strict';
|
84119 |
|
84120 |
exports.__esModule = true;
|
@@ -84851,10 +84846,6 @@ var _MinifyCard = _dereq_('../containers/MinifyCard/MinifyCard');
|
|
84851 |
|
84852 |
var _MinifyCard2 = _interopRequireDefault(_MinifyCard);
|
84853 |
|
84854 |
-
var _ProtocolRewriteCard = _dereq_('../containers/ProtocolRewriteCard/ProtocolRewriteCard');
|
84855 |
-
|
84856 |
-
var _ProtocolRewriteCard2 = _interopRequireDefault(_ProtocolRewriteCard);
|
84857 |
-
|
84858 |
var _PurgeCacheCard = _dereq_('../containers/PurgeCacheCard/PurgeCacheCard');
|
84859 |
|
84860 |
var _PurgeCacheCard2 = _interopRequireDefault(_PurgeCacheCard);
|
@@ -84883,6 +84874,10 @@ var _RailgunCard = _dereq_('../containers/RailgunCard/RailgunCard');
|
|
84883 |
|
84884 |
var _RailgunCard2 = _interopRequireDefault(_RailgunCard);
|
84885 |
|
|
|
|
|
|
|
|
|
84886 |
var _DNSManagementPage = _dereq_('../containers/DNSManagementPage/DNSManagementPage');
|
84887 |
|
84888 |
var _DNSManagementPage2 = _interopRequireDefault(_DNSManagementPage);
|
@@ -84904,20 +84899,20 @@ var cardMapper = {
|
|
84904 |
MinifyCard: _MinifyCard2.default,
|
84905 |
PluginSpecificCacheCard: _PluginSpecificCacheCard2.default,
|
84906 |
PluginSpecificCacheTagCard: _PluginSpecificCachetTagCard2.default,
|
84907 |
-
ProtocolRewriteCard: _ProtocolRewriteCard2.default,
|
84908 |
PurgeCacheCard: _PurgeCacheCard2.default,
|
84909 |
SSLCard: _SSLCard2.default,
|
84910 |
SecurityLevelCard: _SecurityLevelCard2.default,
|
84911 |
WAFCard: _WAFCard2.default,
|
84912 |
RailgunCard: _RailgunCard2.default,
|
84913 |
-
DNSManagementPage: _DNSManagementPage2.default
|
|
|
84914 |
};
|
84915 |
|
84916 |
// Pages
|
84917 |
// Cards
|
84918 |
exports.cardMapper = cardMapper;
|
84919 |
|
84920 |
-
},{"../containers/AdvanceDDoSCard/AdvanceDDoSCard":556,"../containers/AlwaysOnlineCard/AlwaysOnlineCard":557,"../containers/ApplyDefaultSettingsCard/ApplyDefaultSettingsCard":561,"../containers/BrowserCacheTTLCard/BrowserCacheTTLCard":
|
84921 |
'use strict';
|
84922 |
|
84923 |
exports.__esModule = true;
|
78978 |
|
78979 |
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
78980 |
|
78981 |
+
},{"../../actions/config":532,"../../containers/ActiveZoneSelector/ActiveZoneSelector":555,"../../containers/AppNavigation/AppNavigation":560,"../../containers/GlobalNotifications/GlobalNotifications":571,"../../containers/UnderAttackButton/UnderAttackButton":590,"../../selectors/config":609,"../../utils/Auth/Auth":615,"cf-component-layout":80,"intl":186,"react":511,"react-gateway":281,"react-intl":290,"react-redux":312}],560:[function(_dereq_,module,exports){
|
78982 |
'use strict';
|
78983 |
|
78984 |
exports.__esModule = true;
|
79221 |
|
79222 |
var _reactIntl = _dereq_('react-intl');
|
79223 |
|
79224 |
+
var _cfComponentToggle = _dereq_('cf-component-toggle');
|
79225 |
+
|
79226 |
+
var _cfComponentToggle2 = _interopRequireDefault(_cfComponentToggle);
|
79227 |
+
|
79228 |
+
var _cfComponentCard = _dereq_('cf-component-card');
|
79229 |
+
|
79230 |
+
var _zoneSettings = _dereq_('../../actions/zoneSettings');
|
79231 |
+
|
79232 |
+
var _utils = _dereq_('../../utils/utils');
|
79233 |
+
|
79234 |
+
var _zoneSettings2 = _dereq_('../../selectors/zoneSettings');
|
79235 |
+
|
79236 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
79237 |
+
|
79238 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
79239 |
+
|
79240 |
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
79241 |
+
|
79242 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
79243 |
+
|
79244 |
+
var SETTING_NAME = 'automatic_https_rewrites';
|
79245 |
+
|
79246 |
+
var AutomaticHTTPSRewritesCard = function (_Component) {
|
79247 |
+
_inherits(AutomaticHTTPSRewritesCard, _Component);
|
79248 |
+
|
79249 |
+
function AutomaticHTTPSRewritesCard() {
|
79250 |
+
_classCallCheck(this, AutomaticHTTPSRewritesCard);
|
79251 |
+
|
79252 |
+
return _possibleConstructorReturn(this, _Component.apply(this, arguments));
|
79253 |
+
}
|
79254 |
+
|
79255 |
+
AutomaticHTTPSRewritesCard.prototype.handleChange = function handleChange(value) {
|
79256 |
+
var _props = this.props;
|
79257 |
+
var activeZoneId = _props.activeZoneId;
|
79258 |
+
var dispatch = _props.dispatch;
|
79259 |
+
|
79260 |
+
value = value === true ? 'on' : 'off';
|
79261 |
+
dispatch((0, _zoneSettings.asyncZoneUpdateSetting)(SETTING_NAME, activeZoneId, value));
|
79262 |
+
};
|
79263 |
+
|
79264 |
+
AutomaticHTTPSRewritesCard.prototype.render = function render() {
|
79265 |
+
var formatMessage = this.props.intl.formatMessage;
|
79266 |
+
var modifiedDate = this.props.modifiedDate;
|
79267 |
+
|
79268 |
+
|
79269 |
+
return _react2.default.createElement(
|
79270 |
+
'div',
|
79271 |
+
null,
|
79272 |
+
_react2.default.createElement(
|
79273 |
+
_cfComponentCard.Card,
|
79274 |
+
null,
|
79275 |
+
_react2.default.createElement(
|
79276 |
+
_cfComponentCard.CardSection,
|
79277 |
+
null,
|
79278 |
+
_react2.default.createElement(
|
79279 |
+
_cfComponentCard.CardContent,
|
79280 |
+
{ title: formatMessage({ id: 'container.automatichttprewrites.title' }), footerMessage: (0, _utils.getLastModifiedDate)(this.props.intl, modifiedDate) },
|
79281 |
+
_react2.default.createElement(
|
79282 |
+
'p',
|
79283 |
+
null,
|
79284 |
+
_react2.default.createElement(_reactIntl.FormattedMessage, { id: 'container.automatichttprewrites.description' })
|
79285 |
+
)
|
79286 |
+
),
|
79287 |
+
_react2.default.createElement(
|
79288 |
+
_cfComponentCard.CardControl,
|
79289 |
+
null,
|
79290 |
+
_react2.default.createElement(_cfComponentToggle2.default, {
|
79291 |
+
label: '',
|
79292 |
+
value: this.props.rewriteValue === 'on',
|
79293 |
+
onChange: this.handleChange.bind(this) })
|
79294 |
+
)
|
79295 |
+
)
|
79296 |
+
)
|
79297 |
+
);
|
79298 |
+
};
|
79299 |
+
|
79300 |
+
return AutomaticHTTPSRewritesCard;
|
79301 |
+
}(_react.Component);
|
79302 |
+
|
79303 |
+
function mapStateToProps(state) {
|
79304 |
+
return {
|
79305 |
+
activeZoneId: state.activeZone.id,
|
79306 |
+
rewriteValue: (0, _zoneSettings2.getZoneSettingsValueForZoneId)(state.activeZone.id, SETTING_NAME, state),
|
79307 |
+
modifiedDate: (0, _zoneSettings2.getZoneSettingsModifiedDateForZoneId)(state.activeZone.id, SETTING_NAME, state)
|
79308 |
+
};
|
79309 |
+
}
|
79310 |
+
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(AutomaticHTTPSRewritesCard));
|
79311 |
+
|
79312 |
+
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],563:[function(_dereq_,module,exports){
|
79313 |
+
'use strict';
|
79314 |
+
|
79315 |
+
exports.__esModule = true;
|
79316 |
+
|
79317 |
+
var _react = _dereq_('react');
|
79318 |
+
|
79319 |
+
var _react2 = _interopRequireDefault(_react);
|
79320 |
+
|
79321 |
+
var _reactRedux = _dereq_('react-redux');
|
79322 |
+
|
79323 |
+
var _reactIntl = _dereq_('react-intl');
|
79324 |
+
|
79325 |
var _cfComponentCard = _dereq_('cf-component-card');
|
79326 |
|
79327 |
var _cfComponentSelect = _dereq_('cf-component-select');
|
79408 |
}
|
79409 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(BrowserCacheTTLCard));
|
79410 |
|
79411 |
+
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-select":117,"react":511,"react-intl":290,"react-redux":312}],564:[function(_dereq_,module,exports){
|
79412 |
'use strict';
|
79413 |
|
79414 |
exports.__esModule = true;
|
79509 |
}
|
79510 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(BrowserIntegrityCheckCard));
|
79511 |
|
79512 |
+
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],565:[function(_dereq_,module,exports){
|
79513 |
'use strict';
|
79514 |
|
79515 |
exports.__esModule = true;
|
79607 |
}
|
79608 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(CacheLevelCard));
|
79609 |
|
79610 |
+
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-radio":115,"react":511,"react-intl":290,"react-redux":312}],566:[function(_dereq_,module,exports){
|
79611 |
'use strict';
|
79612 |
|
79613 |
exports.__esModule = true;
|
79707 |
}
|
79708 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(ChallengePassageCard));
|
79709 |
|
79710 |
+
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-select":117,"react":511,"react-intl":290,"react-redux":312}],567:[function(_dereq_,module,exports){
|
79711 |
'use strict';
|
79712 |
|
79713 |
exports.__esModule = true;
|
79893 |
|
79894 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(ClientLoginPage));
|
79895 |
|
79896 |
+
},{"../../actions/user":536,"../../constants/UrlPaths.js":553,"../../containers/MarketingFeatureCollection/MarketingFeatureCollection":578,"../../selectors/generateUTMLink.js":610,"cf-component-button":5,"cf-component-form":71,"cf-component-input":76,"cf-component-layout":80,"react":511,"react-intl":290,"react-redux":312}],568:[function(_dereq_,module,exports){
|
79897 |
'use strict';
|
79898 |
|
79899 |
exports.__esModule = true;
|
80072 |
|
80073 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(DNSManagementPage));
|
80074 |
|
80075 |
+
},{"../../constants/UrlPaths.js":553,"../../containers/ActivationCheckCard/ActivationCheckCard":554,"../../containers/DNSRecordEditor/DNSRecordEditor":569,"../../containers/ZoneProvisionContainer/ZoneProvisionContainer":592,"cf-component-button":5,"cf-component-heading":74,"cf-component-table":131,"lodash":188,"react":511,"react-intl":290,"react-redux":312}],569:[function(_dereq_,module,exports){
|
80076 |
'use strict';
|
80077 |
|
80078 |
exports.__esModule = true;
|
80229 |
}
|
80230 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(DNSRecordEditor));
|
80231 |
|
80232 |
+
},{"../../actions/zoneDnsRecords":538,"../../components/CloudToggle/CloudToggle":545,"cf-component-loading":88,"cf-component-table":131,"lodash":188,"react":511,"react-intl":290,"react-redux":312}],570:[function(_dereq_,module,exports){
|
80233 |
'use strict';
|
80234 |
|
80235 |
exports.__esModule = true;
|
80330 |
}
|
80331 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(DevelopmentModeCard));
|
80332 |
|
80333 |
+
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],571:[function(_dereq_,module,exports){
|
80334 |
'use strict';
|
80335 |
|
80336 |
exports.__esModule = true;
|
80413 |
|
80414 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(GlobalNotifications));
|
80415 |
|
80416 |
+
},{"../../actions/notifications":534,"cf-component-notifications":110,"react":511,"react-intl":290,"react-redux":312}],572:[function(_dereq_,module,exports){
|
80417 |
'use strict';
|
80418 |
|
80419 |
exports.__esModule = true;
|
80490 |
}
|
80491 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(HomePage));
|
80492 |
|
80493 |
+
},{"../../components/RenderCardsDynamically/RenderCardsDynamically":549,"../../selectors/pluginSettings":611,"cf-component-heading":74,"lodash":188,"react":511,"react-intl":290,"react-redux":312}],573:[function(_dereq_,module,exports){
|
80494 |
'use strict';
|
80495 |
|
80496 |
exports.__esModule = true;
|
80672 |
|
80673 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)()(HostLoginPage));
|
80674 |
|
80675 |
+
},{"../../actions/user":536,"../../constants/UrlPaths.js":553,"../../containers/MarketingFeatureCollection/MarketingFeatureCollection":578,"react":511,"react-intl":290,"react-redux":312,"react-router":343}],574:[function(_dereq_,module,exports){
|
80676 |
'use strict';
|
80677 |
|
80678 |
exports.__esModule = true;
|
80773 |
}
|
80774 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(IPV6Card));
|
80775 |
|
80776 |
+
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],575:[function(_dereq_,module,exports){
|
80777 |
'use strict';
|
80778 |
|
80779 |
exports.__esModule = true;
|
80848 |
var modifiedDate = _props2.modifiedDate;
|
80849 |
|
80850 |
var zone = zones[activeZone.name];
|
80851 |
+
|
80852 |
+
var imageOptimizationValue = this.props.mirageValue === 'on' && (this.props.polishValue === 'lossless' || this.props.polishValue === 'lossy');
|
80853 |
|
80854 |
var formatMessage = this.props.intl.formatMessage;
|
80855 |
|
80896 |
}
|
80897 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(ImageOptimizationCard));
|
80898 |
|
80899 |
+
},{"../../actions/zoneSettings":542,"../../components/CustomCardControl/CustomCardControl":546,"../../constants/Plans.js":551,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],576:[function(_dereq_,module,exports){
|
80900 |
'use strict';
|
80901 |
|
80902 |
exports.__esModule = true;
|
80997 |
}
|
80998 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(IpRewriteCard));
|
80999 |
|
81000 |
+
},{"../../actions/pluginSettings":535,"../../selectors/pluginSettings":611,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],577:[function(_dereq_,module,exports){
|
81001 |
'use strict';
|
81002 |
|
81003 |
exports.__esModule = true;
|
81069 |
|
81070 |
exports.default = (0, _reactRedux.connect)(mapStateToProps)(LoginPage);
|
81071 |
|
81072 |
+
},{"../../constants/UrlPaths.js":553,"../../containers/ClientLoginPage/ClientLoginPage":567,"../../containers/HostLoginPage/HostLoginPage":573,"../../selectors/config":609,"../../utils/Auth/Auth":615,"react":511,"react-redux":312,"redux-simple-router":513}],578:[function(_dereq_,module,exports){
|
81073 |
'use strict';
|
81074 |
|
81075 |
exports.__esModule = true;
|
81144 |
|
81145 |
exports.default = (0, _reactRedux.connect)(mapStateToProps)(MarketingFeatureCollection);
|
81146 |
|
81147 |
+
},{"../../components/MarketingFeature/MarketingFeature":548,"../../selectors/config":609,"cf-component-flex":64,"react":511,"react-redux":312}],579:[function(_dereq_,module,exports){
|
81148 |
'use strict';
|
81149 |
|
81150 |
exports.__esModule = true;
|
81215 |
var formatMessage = this.props.intl.formatMessage;
|
81216 |
var modifiedDate = this.props.modifiedDate;
|
81217 |
|
|
|
|
|
81218 |
|
81219 |
+
this.state.checkboxValues = [];
|
81220 |
+
//convert on/off to true/false
|
81221 |
for (var key in this.props.minifyValues) {
|
81222 |
if (this.props.minifyValues[key] === 'on') {
|
81223 |
this.state.checkboxValues.push(key);
|
81267 |
}
|
81268 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(MinifyCard));
|
81269 |
|
81270 |
+
},{"../../actions/zoneSettings":542,"../../selectors/zoneSettings":612,"../../utils/utils":620,"cf-component-card":16,"cf-component-checkbox":23,"react":511,"react-intl":290,"react-redux":312}],580:[function(_dereq_,module,exports){
|
81271 |
'use strict';
|
81272 |
|
81273 |
exports.__esModule = true;
|
81358 |
}
|
81359 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(MoreSettingsPage));
|
81360 |
|
81361 |
+
},{"../../components/RenderCardsDynamically/RenderCardsDynamically":549,"../../selectors/pluginSettings":611,"cf-component-heading":74,"lodash":188,"react":511,"react-intl":290,"react-redux":312}],581:[function(_dereq_,module,exports){
|
81362 |
'use strict';
|
81363 |
|
81364 |
exports.__esModule = true;
|
81415 |
|
81416 |
var _PurgeCacheCard2 = _interopRequireDefault(_PurgeCacheCard);
|
81417 |
|
|
|
|
|
|
|
|
|
81418 |
var _RailgunCard = _dereq_('../../containers/RailgunCard/RailgunCard');
|
81419 |
|
81420 |
var _RailgunCard2 = _interopRequireDefault(_RailgunCard);
|
81480 |
{ isEnabled: config.featureManagerIsIpRewriteEnabled },
|
81481 |
_react2.default.createElement(_IpRewriteCard2.default, null)
|
81482 |
),
|
|
|
|
|
|
|
|
|
|
|
81483 |
_react2.default.createElement(
|
81484 |
_FeatureManager2.default,
|
81485 |
{ isEnabled: config.featureManagerIsCacheLevelEnabled },
|
81536 |
}
|
81537 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(PerformancePage));
|
81538 |
|
81539 |
+
},{"../../components/FeatureManager/FeatureManager":547,"../../containers/AlwaysOnlineCard/AlwaysOnlineCard":557,"../../containers/BrowserCacheTTLCard/BrowserCacheTTLCard":563,"../../containers/CacheLevelCard/CacheLevelCard":565,"../../containers/DevelopmentModeCard/DevelopmentModeCard":570,"../../containers/IPV6Card/IPV6Card":574,"../../containers/ImageOptimizationCard/ImageOptimizationCard":575,"../../containers/IpRewriteCard/IpRewriteCard":576,"../../containers/MinifyCard/MinifyCard":579,"../../containers/PurgeCacheCard/PurgeCacheCard":584,"../../containers/RailgunCard/RailgunCard":585,"../../containers/WAFCard/WAFCard":591,"../../selectors/pluginSettings":611,"cf-component-heading":74,"lodash":188,"react":511,"react-intl":290,"react-redux":312}],582:[function(_dereq_,module,exports){
|
81540 |
'use strict';
|
81541 |
|
81542 |
exports.__esModule = true;
|
81704 |
}
|
81705 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(PluginSpecificCacheCard));
|
81706 |
|
81707 |
+
},{"../../actions/pluginSettings":535,"../../selectors/pluginSettings":611,"../../utils/utils":620,"cf-component-button":5,"cf-component-card":16,"cf-component-modal":99,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],583:[function(_dereq_,module,exports){
|
81708 |
'use strict';
|
81709 |
|
81710 |
exports.__esModule = true;
|
81815 |
}
|
81816 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(PluginSpecificCacheTagCard));
|
81817 |
|
81818 |
+
},{"../../actions/pluginSettings":535,"../../components/CustomCardControl/CustomCardControl":546,"../../constants/Plans.js":551,"../../selectors/pluginSettings":611,"../../selectors/zones":613,"../../utils/utils":620,"cf-component-card":16,"cf-component-toggle":149,"react":511,"react-intl":290,"react-redux":312}],584:[function(_dereq_,module,exports){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81819 |
'use strict';
|
81820 |
|
81821 |
exports.__esModule = true;
|
82212 |
|
82213 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
82214 |
|
82215 |
+
var SETTING_NAME = 'ssl';
|
82216 |
+
|
82217 |
var SSLCard = function (_Component) {
|
82218 |
_inherits(SSLCard, _Component);
|
82219 |
|
82486 |
}
|
82487 |
exports.default = (0, _reactIntl.injectIntl)((0, _reactRedux.connect)(mapStateToProps)(SecurityPage));
|
82488 |
|
82489 |
+
},{"../../components/FeatureManager/FeatureManager":547,"../../containers/BrowserIntegrityCheckCard/BrowserIntegrityCheckCard":564,"../../containers/ChallengePassageCard/ChallengePassageCard":566,"../../containers/SSLCard/SSLCard":586,"../../containers/SecurityLevelCard/SecurityLevelCard":587,"cf-component-heading":74,"lodash":188,"react":511,"react-intl":290,"react-redux":312}],589:[function(_dereq_,module,exports){
|
82490 |
'use strict';
|
82491 |
|
82492 |
exports.__esModule = true;
|
83649 |
data.threats[0].push(analyticsInterval.threats.all);
|
83650 |
}
|
83651 |
if (typeof analyticsInterval.uniques !== 'undefined') {
|
83652 |
+
data.uniques[0].push(analyticsInterval.uniques.all);
|
83653 |
}
|
83654 |
});
|
83655 |
return data;
|
84109 |
_react2.default.createElement(_reactRouter.Route, { path: UrlPaths.MORE_SETTINGS_PAGE, component: _MoreSettingsPage2.default, onEnter: requireAuth })
|
84110 |
);
|
84111 |
|
84112 |
+
},{"./constants/UrlPaths":553,"./containers/AnalyticsPage/AnaltyicsPage":558,"./containers/App/App":559,"./containers/DNSManagementPage/DNSManagementPage":568,"./containers/HomePage/HomePage":572,"./containers/LoginPage/LoginPage":577,"./containers/MoreSettingsPage/MoreSettingsPage":580,"./containers/PerformancePage/PerformancePage":581,"./containers/SecurityPage/SecurityPage":588,"./containers/SignUpPage/SignUpPage":589,"./utils/Auth/Auth":615,"react":511,"react-router":343}],609:[function(_dereq_,module,exports){
|
84113 |
'use strict';
|
84114 |
|
84115 |
exports.__esModule = true;
|
84846 |
|
84847 |
var _MinifyCard2 = _interopRequireDefault(_MinifyCard);
|
84848 |
|
|
|
|
|
|
|
|
|
84849 |
var _PurgeCacheCard = _dereq_('../containers/PurgeCacheCard/PurgeCacheCard');
|
84850 |
|
84851 |
var _PurgeCacheCard2 = _interopRequireDefault(_PurgeCacheCard);
|
84874 |
|
84875 |
var _RailgunCard2 = _interopRequireDefault(_RailgunCard);
|
84876 |
|
84877 |
+
var _AutomaticHTTPSRewritesCard = _dereq_('../containers/AutomaticHTTPSRewritesCard/AutomaticHTTPSRewritesCard');
|
84878 |
+
|
84879 |
+
var _AutomaticHTTPSRewritesCard2 = _interopRequireDefault(_AutomaticHTTPSRewritesCard);
|
84880 |
+
|
84881 |
var _DNSManagementPage = _dereq_('../containers/DNSManagementPage/DNSManagementPage');
|
84882 |
|
84883 |
var _DNSManagementPage2 = _interopRequireDefault(_DNSManagementPage);
|
84899 |
MinifyCard: _MinifyCard2.default,
|
84900 |
PluginSpecificCacheCard: _PluginSpecificCacheCard2.default,
|
84901 |
PluginSpecificCacheTagCard: _PluginSpecificCachetTagCard2.default,
|
|
|
84902 |
PurgeCacheCard: _PurgeCacheCard2.default,
|
84903 |
SSLCard: _SSLCard2.default,
|
84904 |
SecurityLevelCard: _SecurityLevelCard2.default,
|
84905 |
WAFCard: _WAFCard2.default,
|
84906 |
RailgunCard: _RailgunCard2.default,
|
84907 |
+
DNSManagementPage: _DNSManagementPage2.default,
|
84908 |
+
AutomaticHTTPSRewritesCard: _AutomaticHTTPSRewritesCard2.default
|
84909 |
};
|
84910 |
|
84911 |
// Pages
|
84912 |
// Cards
|
84913 |
exports.cardMapper = cardMapper;
|
84914 |
|
84915 |
+
},{"../containers/AdvanceDDoSCard/AdvanceDDoSCard":556,"../containers/AlwaysOnlineCard/AlwaysOnlineCard":557,"../containers/ApplyDefaultSettingsCard/ApplyDefaultSettingsCard":561,"../containers/AutomaticHTTPSRewritesCard/AutomaticHTTPSRewritesCard":562,"../containers/BrowserCacheTTLCard/BrowserCacheTTLCard":563,"../containers/BrowserIntegrityCheckCard/BrowserIntegrityCheckCard":564,"../containers/CacheLevelCard/CacheLevelCard":565,"../containers/ChallengePassageCard/ChallengePassageCard":566,"../containers/DNSManagementPage/DNSManagementPage":568,"../containers/DevelopmentModeCard/DevelopmentModeCard":570,"../containers/IPV6Card/IPV6Card":574,"../containers/ImageOptimizationCard/ImageOptimizationCard":575,"../containers/IpRewriteCard/IpRewriteCard":576,"../containers/MinifyCard/MinifyCard":579,"../containers/PluginSpecificCacheCard/PluginSpecificCacheCard":582,"../containers/PluginSpecificCacheTagCard/PluginSpecificCachetTagCard.js":583,"../containers/PurgeCacheCard/PurgeCacheCard":584,"../containers/RailgunCard/RailgunCard":585,"../containers/SSLCard/SSLCard":586,"../containers/SecurityLevelCard/SecurityLevelCard":587,"../containers/WAFCard/WAFCard":591}],619:[function(_dereq_,module,exports){
|
84916 |
'use strict';
|
84917 |
|
84918 |
exports.__esModule = true;
|
composer.json
CHANGED
@@ -1,30 +1,30 @@
|
|
1 |
{
|
2 |
-
"name": "cloudflare/wordpress-plugin",
|
3 |
-
"license": "BSD-3-Clause",
|
4 |
-
"require": {
|
5 |
-
"cloudflare/cloudflare-plugin-backend": "^1.1",
|
6 |
-
"cloudflare/cf-ip-rewrite": "^1.0.0",
|
7 |
-
"symfony/yaml": "~2.6",
|
8 |
-
"guzzle/guzzle": "~3.9"
|
9 |
-
},
|
10 |
"autoload": {
|
11 |
"psr-4": {
|
12 |
"CF\\": "src/"
|
13 |
}
|
14 |
},
|
15 |
-
"
|
16 |
-
"
|
17 |
-
|
18 |
-
|
19 |
-
"
|
20 |
-
|
21 |
-
|
|
|
22 |
},
|
23 |
"require-dev": {
|
24 |
-
"squizlabs/php_codesniffer": "2.*",
|
25 |
"johnkary/phpunit-speedtrap": "^1.0",
|
|
|
26 |
"phpunit/phpunit": "4.8.*",
|
27 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
},
|
29 |
-
"
|
30 |
}
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"autoload": {
|
3 |
"psr-4": {
|
4 |
"CF\\": "src/"
|
5 |
}
|
6 |
},
|
7 |
+
"description": "A CloudFlare plugin for WordPress",
|
8 |
+
"license": "BSD-3-Clause",
|
9 |
+
"name": "cloudflare/wordpress-plugin",
|
10 |
+
"require": {
|
11 |
+
"cloudflare/cf-ip-rewrite": "^1.0.0",
|
12 |
+
"cloudflare/cloudflare-plugin-backend": "^1.1",
|
13 |
+
"guzzle/guzzle": "~3.9",
|
14 |
+
"symfony/yaml": "~2.6"
|
15 |
},
|
16 |
"require-dev": {
|
|
|
17 |
"johnkary/phpunit-speedtrap": "^1.0",
|
18 |
+
"php-mock/php-mock-phpunit": "^1.1",
|
19 |
"phpunit/phpunit": "4.8.*",
|
20 |
+
"squizlabs/php_codesniffer": "2.*"
|
21 |
+
},
|
22 |
+
"scripts": {
|
23 |
+
"format": "vendor/bin/phpcs -n --standard=PSR2 --extensions=php,live.php src/",
|
24 |
+
"post-install-cmd": [
|
25 |
+
"bash git-hooks/setup.sh"
|
26 |
+
],
|
27 |
+
"test": "vendor/bin/phpunit"
|
28 |
},
|
29 |
+
"version": "3.0.4"
|
30 |
}
|
composer.lock
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
-
"hash": "
|
8 |
-
"content-hash": "
|
9 |
"packages": [
|
10 |
{
|
11 |
"name": "cloudflare/cf-ip-rewrite",
|
@@ -54,16 +54,16 @@
|
|
54 |
},
|
55 |
{
|
56 |
"name": "cloudflare/cloudflare-plugin-backend",
|
57 |
-
"version": "1.1.
|
58 |
"source": {
|
59 |
"type": "git",
|
60 |
"url": "https://github.com/cloudflare/cloudflare-plugin-backend.git",
|
61 |
-
"reference": "
|
62 |
},
|
63 |
"dist": {
|
64 |
"type": "zip",
|
65 |
-
"url": "https://api.github.com/repos/cloudflare/cloudflare-plugin-backend/zipball/
|
66 |
-
"reference": "
|
67 |
"shasum": ""
|
68 |
},
|
69 |
"require": {
|
@@ -85,7 +85,7 @@
|
|
85 |
"BSD-3-Clause"
|
86 |
],
|
87 |
"description": "A PHP backend for CloudFlare plugins.",
|
88 |
-
"time": "2016-09-
|
89 |
},
|
90 |
{
|
91 |
"name": "guzzle/guzzle",
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
+
"hash": "1b2ed2384099ef1861c3f325effb669e",
|
8 |
+
"content-hash": "ebafc0d16ea74dc6eff5419a82bb7006",
|
9 |
"packages": [
|
10 |
{
|
11 |
"name": "cloudflare/cf-ip-rewrite",
|
54 |
},
|
55 |
{
|
56 |
"name": "cloudflare/cloudflare-plugin-backend",
|
57 |
+
"version": "1.1.11",
|
58 |
"source": {
|
59 |
"type": "git",
|
60 |
"url": "https://github.com/cloudflare/cloudflare-plugin-backend.git",
|
61 |
+
"reference": "20e5b6d5ae271aa8770eb42c3899a0958a9a24ad"
|
62 |
},
|
63 |
"dist": {
|
64 |
"type": "zip",
|
65 |
+
"url": "https://api.github.com/repos/cloudflare/cloudflare-plugin-backend/zipball/20e5b6d5ae271aa8770eb42c3899a0958a9a24ad",
|
66 |
+
"reference": "20e5b6d5ae271aa8770eb42c3899a0958a9a24ad",
|
67 |
"shasum": ""
|
68 |
},
|
69 |
"require": {
|
85 |
"BSD-3-Clause"
|
86 |
],
|
87 |
"description": "A PHP backend for CloudFlare plugins.",
|
88 |
+
"time": "2016-09-27 16:47:36"
|
89 |
},
|
90 |
{
|
91 |
"name": "guzzle/guzzle",
|
config.js
CHANGED
@@ -11,7 +11,6 @@
|
|
11 |
"featureManagerIsIpRewriteEnabled": true,
|
12 |
"featureManagerIsIpv6Enabled": true,
|
13 |
"featureManagerIsMinifyEnabled": true,
|
14 |
-
"featureManagerIsProtocolRewriteEnabled": true,
|
15 |
"featureManagerIsPurgeCacheEnabled": true,
|
16 |
"featureManagerIsRailgunEnabled": true,
|
17 |
"featureManagerIsSSLEnabled": true,
|
@@ -30,7 +29,8 @@
|
|
30 |
"container.moresettings.security": [
|
31 |
"SecurityLevelCard",
|
32 |
"WAFCard",
|
33 |
-
"AdvanceDDoSCard"
|
|
|
34 |
],
|
35 |
"container.moresettings.speed": [
|
36 |
"AlwaysOnlineCard",
|
@@ -38,5 +38,5 @@
|
|
38 |
]
|
39 |
},
|
40 |
"useHostAPILogin": false,
|
41 |
-
"version": "3.0.
|
42 |
}
|
11 |
"featureManagerIsIpRewriteEnabled": true,
|
12 |
"featureManagerIsIpv6Enabled": true,
|
13 |
"featureManagerIsMinifyEnabled": true,
|
|
|
14 |
"featureManagerIsPurgeCacheEnabled": true,
|
15 |
"featureManagerIsRailgunEnabled": true,
|
16 |
"featureManagerIsSSLEnabled": true,
|
29 |
"container.moresettings.security": [
|
30 |
"SecurityLevelCard",
|
31 |
"WAFCard",
|
32 |
+
"AdvanceDDoSCard",
|
33 |
+
"AutomaticHTTPSRewritesCard"
|
34 |
],
|
35 |
"container.moresettings.speed": [
|
36 |
"AlwaysOnlineCard",
|
38 |
]
|
39 |
},
|
40 |
"useHostAPILogin": false,
|
41 |
+
"version": "3.0.4"
|
42 |
}
|
lang/en.js
CHANGED
@@ -132,8 +132,8 @@
|
|
132 |
"container.pluginSpecificCacheCard.modal.buttonCancel": "Cancel",
|
133 |
"container.pluginSpecificCacheTagCard.title": "Automatically Purge Cache When Site Content is Updated",
|
134 |
"container.pluginSpecificCacheTagCard.description": "Enable to automatically purge the cache when your site content changes.",
|
135 |
-
"container.
|
136 |
-
"container.
|
137 |
"container.purgeCacheCard.dropdown": "Purge Cache",
|
138 |
"container.purgeCacheCard.button": "Purge Everything",
|
139 |
"container.purgeCacheCard.title": "Purge Cache",
|
132 |
"container.pluginSpecificCacheCard.modal.buttonCancel": "Cancel",
|
133 |
"container.pluginSpecificCacheTagCard.title": "Automatically Purge Cache When Site Content is Updated",
|
134 |
"container.pluginSpecificCacheTagCard.description": "Enable to automatically purge the cache when your site content changes.",
|
135 |
+
"container.automatichttprewrites.title": "Automatic HTTPS Rewrites",
|
136 |
+
"container.automatichttprewrites.description": "Automatic HTTPS Rewrites helps fix mixed content by changing \"http\" to \"https\" for all resources or links on your web site that can be served with HTTPS.",
|
137 |
"container.purgeCacheCard.dropdown": "Purge Cache",
|
138 |
"container.purgeCacheCard.button": "Purge Everything",
|
139 |
"container.purgeCacheCard.title": "Purge Cache",
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: jwineman, furkan811, IcyApril
|
|
3 |
Tags: cloudflare, seo, ssl, ddos, speed, security, cdn, performance, free
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 4.6
|
6 |
-
Stable tag: 3.0.
|
7 |
License: BSD-3-Clause
|
8 |
|
9 |
All of CloudFlare’s performance and security benefits in a simple one-click install of recommended settings specifically developed for WordPress.
|
@@ -84,6 +84,25 @@ Make sure that the php5-curl extension is installed on your system.
|
|
84 |
|
85 |
== Changelog ==
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
= 3.0.3 - 2016-09-21 =
|
88 |
|
89 |
*Fixed*
|
3 |
Tags: cloudflare, seo, ssl, ddos, speed, security, cdn, performance, free
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 4.6
|
6 |
+
Stable tag: 3.0.4
|
7 |
License: BSD-3-Clause
|
8 |
|
9 |
All of CloudFlare’s performance and security benefits in a simple one-click install of recommended settings specifically developed for WordPress.
|
84 |
|
85 |
== Changelog ==
|
86 |
|
87 |
+
= 3.0.4 - 2016-09-27 =
|
88 |
+
|
89 |
+
*Added*
|
90 |
+
|
91 |
+
* Ability for users to toggle Automatic HTTPS Rewrites (enabled by default, solves for most mixed content errors).
|
92 |
+
|
93 |
+
*Fixed*
|
94 |
+
|
95 |
+
* Fixed an issue where low PHP version where getting syntax error.
|
96 |
+
* Fixed issue where some users using Flexible SSL where not able to login to wp-admin .
|
97 |
+
* Fixed a bug where the active zone selector was not paginating through the whole zone list.
|
98 |
+
* Fixed an issue where the setting for Image Optimization was being displayed incorrectly.
|
99 |
+
* Fixed a bug in Analytics where the Uniques Visitors data was not displaying accurately.
|
100 |
+
|
101 |
+
*Changed*
|
102 |
+
|
103 |
+
* Compressed assets to lower plugin size.
|
104 |
+
* Hooks loading logic refactored to make it more simple and readable.
|
105 |
+
|
106 |
= 3.0.3 - 2016-09-21 =
|
107 |
|
108 |
*Fixed*
|
src/WordPress/Hooks.php
CHANGED
@@ -2,53 +2,67 @@
|
|
2 |
|
3 |
namespace CF\WordPress;
|
4 |
|
5 |
-
use
|
|
|
|
|
6 |
|
7 |
class Hooks
|
8 |
{
|
9 |
protected $api;
|
10 |
protected $config;
|
11 |
protected $dataStore;
|
|
|
12 |
protected $integrationAPI;
|
13 |
-
protected $ipRewrite;
|
14 |
protected $logger;
|
|
|
15 |
|
16 |
-
|
17 |
-
const CF_MIN_WP_VERSION = '3.4';
|
18 |
-
|
19 |
-
/**
|
20 |
-
* @param \CF\Integration\IntegrationInterface $integrationContext
|
21 |
-
*/
|
22 |
-
public function __construct(\CF\Integration\IntegrationInterface $integrationContext)
|
23 |
{
|
24 |
-
$this->
|
25 |
-
$this->
|
26 |
-
$this->dataStore = $
|
27 |
-
$this->integrationAPI = $
|
28 |
-
|
29 |
-
$this->
|
|
|
30 |
}
|
31 |
|
32 |
/**
|
33 |
* @param \CF\API\APIInterface $api
|
34 |
*/
|
35 |
-
public function setAPI(
|
36 |
{
|
37 |
$this->api = $api;
|
38 |
}
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
-
public function
|
45 |
{
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
}
|
53 |
|
54 |
public function cloudflareConfigPage()
|
@@ -60,7 +74,7 @@ class Hooks
|
|
60 |
|
61 |
public function cloudflareIndexPage()
|
62 |
{
|
63 |
-
include
|
64 |
}
|
65 |
|
66 |
public function pluginActionLinks($links)
|
@@ -70,59 +84,25 @@ class Hooks
|
|
70 |
return $links;
|
71 |
}
|
72 |
|
73 |
-
public function cloudflareAdminInit()
|
74 |
-
{
|
75 |
-
// NARNIA!!
|
76 |
-
}
|
77 |
-
|
78 |
public function initProxy()
|
79 |
{
|
80 |
-
|
81 |
}
|
82 |
|
83 |
public function activate()
|
84 |
{
|
85 |
-
$
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
public function checkVersionCompatibility()
|
90 |
-
{
|
91 |
-
//wordpress global
|
92 |
-
global $wp_version;
|
93 |
-
|
94 |
-
if (version_compare(PHP_VERSION, self::CF_MIN_PHP_VERSION, '<')) {
|
95 |
-
$flag = 'PHP';
|
96 |
-
$version = self::CF_MIN_PHP_VERSION;
|
97 |
-
}
|
98 |
-
|
99 |
-
if (version_compare($wp_version, self::CF_MIN_WP_VERSION, '<')) {
|
100 |
-
$flag = 'WordPress';
|
101 |
-
$version = self::CF_MIN_WP_VERSION;
|
102 |
-
}
|
103 |
-
|
104 |
-
if (isset($flag) || isset($version)) {
|
105 |
-
// Deactivate Plugin
|
106 |
-
deactivate_plugins(basename(__FILE__));
|
107 |
-
|
108 |
-
// Kill Execution
|
109 |
-
wp_die('<p><strong>Cloudflare</strong> plugin requires '.$flag.' version '.$version.' or greater.</p>', 'Plugin Activation Error', array('response' => 200, 'back_link' => true));
|
110 |
-
|
111 |
-
return;
|
112 |
}
|
113 |
-
}
|
114 |
|
115 |
-
public function checkDependenciesExist()
|
116 |
-
{
|
117 |
// Guzzle3 depends on php5-curl. If dependency does not exist kill the plugin.
|
118 |
if (!extension_loaded('curl')) {
|
119 |
-
|
120 |
-
deactivate_plugins(basename(__FILE__));
|
121 |
-
|
122 |
wp_die('<p><strong>Cloudflare</strong> plugin requires php5-curl to be installed.</p>', 'Plugin Activation Error', array('response' => 200, 'back_link' => true));
|
123 |
-
|
124 |
-
return;
|
125 |
}
|
|
|
|
|
126 |
}
|
127 |
|
128 |
public function deactivate()
|
@@ -130,13 +110,6 @@ class Hooks
|
|
130 |
$this->dataStore->clearDataStore();
|
131 |
}
|
132 |
|
133 |
-
public static function uninstall() {
|
134 |
-
$config = new \CF\Integration\DefaultConfig('[]');
|
135 |
-
$logger = new \CF\Integration\DefaultLogger($config->getValue('debug'));
|
136 |
-
$dataStore = new \CF\WordPress\DataStore($logger);
|
137 |
-
$dataStore->clearDataStore();
|
138 |
-
}
|
139 |
-
|
140 |
public function purgeCache()
|
141 |
{
|
142 |
if ($this->isPluginSpecificCacheEnabled()) {
|
@@ -153,7 +126,7 @@ class Hooks
|
|
153 |
}
|
154 |
}
|
155 |
|
156 |
-
|
157 |
{
|
158 |
$cacheSettingObject = $this->dataStore->getPluginSetting(\CF\API\Plugin::SETTING_PLUGIN_SPECIFIC_CACHE);
|
159 |
$cacheSettingValue = $cacheSettingObject[\CF\API\Plugin::SETTING_VALUE_KEY];
|
2 |
|
3 |
namespace CF\WordPress;
|
4 |
|
5 |
+
use CF\API\APIInterface;
|
6 |
+
use CF\Integration;
|
7 |
+
use Psr\Log\LoggerInterface;
|
8 |
|
9 |
class Hooks
|
10 |
{
|
11 |
protected $api;
|
12 |
protected $config;
|
13 |
protected $dataStore;
|
14 |
+
protected $integrationContext;
|
15 |
protected $integrationAPI;
|
|
|
16 |
protected $logger;
|
17 |
+
protected $proxy;
|
18 |
|
19 |
+
public function __construct()
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
{
|
21 |
+
$this->config = new Integration\DefaultConfig('[]');
|
22 |
+
$this->logger = new Integration\DefaultLogger(false);
|
23 |
+
$this->dataStore = new DataStore($this->logger);
|
24 |
+
$this->integrationAPI = new WordPressAPI($this->dataStore);
|
25 |
+
$this->integrationContext = new Integration\DefaultIntegration($this->config, $this->integrationAPI, $this->dataStore, $this->logger);
|
26 |
+
$this->api = new WordPressClientAPI($this->integrationContext);
|
27 |
+
$this->proxy = new Proxy($this->integrationContext);
|
28 |
}
|
29 |
|
30 |
/**
|
31 |
* @param \CF\API\APIInterface $api
|
32 |
*/
|
33 |
+
public function setAPI(APIInterface $api)
|
34 |
{
|
35 |
$this->api = $api;
|
36 |
}
|
37 |
|
38 |
+
public function setConfig(Integration\ConfigInterface $config)
|
39 |
+
{
|
40 |
+
$this->config = $config;
|
41 |
+
}
|
42 |
+
|
43 |
+
public function setDataStore(Integration\DataStoreInterface $dataStore)
|
44 |
+
{
|
45 |
+
$this->dataStore = $dataStore;
|
46 |
+
}
|
47 |
+
|
48 |
+
public function setIntegrationContext(Integration\IntegrationInterface $integrationContext)
|
49 |
+
{
|
50 |
+
$this->integrationContext = $integrationContext;
|
51 |
+
}
|
52 |
+
|
53 |
+
public function setIntegrationAPI(Integration\IntegrationAPIInterface $integrationAPI)
|
54 |
+
{
|
55 |
+
$this->integrationAPI = $integrationAPI;
|
56 |
+
}
|
57 |
|
58 |
+
public function setLogger(LoggerInterface $logger)
|
59 |
{
|
60 |
+
$this->logger = $logger;
|
61 |
+
}
|
62 |
+
|
63 |
+
public function setProxy(Proxy $proxy)
|
64 |
+
{
|
65 |
+
$this->proxy = $proxy;
|
66 |
}
|
67 |
|
68 |
public function cloudflareConfigPage()
|
74 |
|
75 |
public function cloudflareIndexPage()
|
76 |
{
|
77 |
+
include CLOUDFLARE_PLUGIN_DIR.'index.php';
|
78 |
}
|
79 |
|
80 |
public function pluginActionLinks($links)
|
84 |
return $links;
|
85 |
}
|
86 |
|
|
|
|
|
|
|
|
|
|
|
87 |
public function initProxy()
|
88 |
{
|
89 |
+
$this->proxy->run();
|
90 |
}
|
91 |
|
92 |
public function activate()
|
93 |
{
|
94 |
+
if (version_compare($GLOBALS['wp_version'], CLOUDFLARE_MIN_WP_VERSION, '<')) {
|
95 |
+
deactivate_plugins(basename(CLOUDFLARE_PLUGIN_DIR));
|
96 |
+
wp_die('<p><strong>Cloudflare</strong> plugin requires WordPress version '.CLOUDFLARE_MIN_WP_VERSION.' or greater.</p>', 'Plugin Activation Error', array('response' => 200, 'back_link' => true));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
}
|
|
|
98 |
|
|
|
|
|
99 |
// Guzzle3 depends on php5-curl. If dependency does not exist kill the plugin.
|
100 |
if (!extension_loaded('curl')) {
|
101 |
+
deactivate_plugins(basename(CLOUDFLARE_PLUGIN_DIR));
|
|
|
|
|
102 |
wp_die('<p><strong>Cloudflare</strong> plugin requires php5-curl to be installed.</p>', 'Plugin Activation Error', array('response' => 200, 'back_link' => true));
|
|
|
|
|
103 |
}
|
104 |
+
|
105 |
+
return true;
|
106 |
}
|
107 |
|
108 |
public function deactivate()
|
110 |
$this->dataStore->clearDataStore();
|
111 |
}
|
112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
public function purgeCache()
|
114 |
{
|
115 |
if ($this->isPluginSpecificCacheEnabled()) {
|
126 |
}
|
127 |
}
|
128 |
|
129 |
+
protected function isPluginSpecificCacheEnabled()
|
130 |
{
|
131 |
$cacheSettingObject = $this->dataStore->getPluginSetting(\CF\API\Plugin::SETTING_PLUGIN_SPECIFIC_CACHE);
|
132 |
$cacheSettingValue = $cacheSettingObject[\CF\API\Plugin::SETTING_VALUE_KEY];
|
src/WordPress/PluginActions.php
CHANGED
@@ -115,6 +115,11 @@ class PluginActions extends AbstractPluginActions
|
|
115 |
throw new ZoneSettingFailException();
|
116 |
}
|
117 |
|
|
|
|
|
|
|
|
|
|
|
118 |
// If plan supports Mirage and Polish try to set them on
|
119 |
if (!Plans::PlanNeedsUpgrade($currentPlan, Plans::BIZ_PLAN)) {
|
120 |
$result &= $this->clientAPI->changeZoneSettings($zoneId, 'mirage', array('value' => 'on'));
|
115 |
throw new ZoneSettingFailException();
|
116 |
}
|
117 |
|
118 |
+
$result &= $this->clientAPI->changeZoneSettings($zoneId, 'automatic_https_rewrites', array('value' => 'on'));
|
119 |
+
if (!$result) {
|
120 |
+
throw new ZoneSettingFailException();
|
121 |
+
}
|
122 |
+
|
123 |
// If plan supports Mirage and Polish try to set them on
|
124 |
if (!Plans::PlanNeedsUpgrade($currentPlan, Plans::BIZ_PLAN)) {
|
125 |
$result &= $this->clientAPI->changeZoneSettings($zoneId, 'mirage', array('value' => 'on'));
|
src/WordPress/Proxy.php
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace CF\WordPress;
|
4 |
+
|
5 |
+
use CF\API;
|
6 |
+
use CF\Integration\IntegrationInterface;
|
7 |
+
use CF\Router\RequestRouter;
|
8 |
+
|
9 |
+
class Proxy
|
10 |
+
{
|
11 |
+
protected $config;
|
12 |
+
protected $dataStore;
|
13 |
+
protected $logger;
|
14 |
+
protected $wordpressAPI;
|
15 |
+
protected $wordpressClientAPI;
|
16 |
+
protected $wordpressIntegration;
|
17 |
+
protected $requestRouter;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* @param IntegrationInterface $integration
|
21 |
+
*/
|
22 |
+
public function __construct(IntegrationInterface $integration)
|
23 |
+
{
|
24 |
+
$this->config = $integration->getConfig();
|
25 |
+
$this->dataStore = $integration->getDataStore();
|
26 |
+
$this->logger = $integration->getLogger();
|
27 |
+
$this->wordpressAPI = $integration->getIntegrationAPI();
|
28 |
+
$this->wordpressIntegration = $integration;
|
29 |
+
$this->wordpressClientAPI = new WordPressClientAPI($this->wordpressIntegration);
|
30 |
+
|
31 |
+
$this->requestRouter = new RequestRouter($this->wordpressIntegration);
|
32 |
+
$this->requestRouter->addRouter('\CF\WordPress\WordPressClientAPI', ClientRoutes::$routes);
|
33 |
+
$this->requestRouter->addRouter('\CF\API\Plugin', PluginRoutes::getRoutes(PluginRoutes::$routes));
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* @param API\APIInterface $wordpressClientAPI
|
38 |
+
*/
|
39 |
+
public function setWordpressClientAPI(API\APIInterface $wordpressClientAPI)
|
40 |
+
{
|
41 |
+
$this->wordpressClientAPI = $wordpressClientAPI;
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* @param RequestRouter $requestRouter
|
46 |
+
*/
|
47 |
+
public function setRequestRouter(RequestRouter $requestRouter)
|
48 |
+
{
|
49 |
+
$this->requestRouter = $requestRouter;
|
50 |
+
}
|
51 |
+
|
52 |
+
public function run()
|
53 |
+
{
|
54 |
+
header('Content-Type: application/json');
|
55 |
+
|
56 |
+
$this->cacheDomainName();
|
57 |
+
|
58 |
+
$request = $this->createRequest();
|
59 |
+
|
60 |
+
$response = null;
|
61 |
+
$body = $request->getBody();
|
62 |
+
$csrfToken = $body['cfCSRFToken'];
|
63 |
+
if ($this->isCloudFlareCSRFTokenValid($request->getMethod(), $csrfToken)) {
|
64 |
+
$response = $this->requestRouter->route($request);
|
65 |
+
} else {
|
66 |
+
if ($csrfToken === null) {
|
67 |
+
$response = $this->wordpressClientAPI->createAPIError('CSRF Token not found. Its possible another plugin is altering requests sent by the CloudFlare plugin.');
|
68 |
+
} else {
|
69 |
+
$response = $this->wordpressClientAPI->createAPIError('CSRF Token not valid.');
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
//die is how wordpress ajax keeps the rest of the app from loading during an ajax request
|
74 |
+
wp_die(json_encode($response));
|
75 |
+
}
|
76 |
+
|
77 |
+
public function cacheDomainName()
|
78 |
+
{
|
79 |
+
// Check if domain name needs to cached
|
80 |
+
$wpDomain = $this->wordpressAPI->getOriginalDomain();
|
81 |
+
$cachedDomainList = $this->wordpressAPI->getDomainList();
|
82 |
+
$cachedDomain = $cachedDomainList[0];
|
83 |
+
|
84 |
+
if (Utils::getRegistrableDomain($wpDomain) !== $cachedDomain) {
|
85 |
+
// Since we may not be logged in yet we need to check the credentials being set
|
86 |
+
if ($this->wordpressClientAPI->isCrendetialsSet()) {
|
87 |
+
// If it's not a subdomain cache the current domain
|
88 |
+
$domainName = $wpDomain;
|
89 |
+
|
90 |
+
// Get cloudflare zones to find if the current domain is a subdomain
|
91 |
+
// of any cloudflare zones registered
|
92 |
+
$response = $this->wordpressClientAPI->getZones();
|
93 |
+
$validDomainName = $this->wordpressAPI->checkIfValidCloudflareSubdomain($response, $wpDomain);
|
94 |
+
|
95 |
+
// Check if it's a subdomain, if it is cache the zone instead of the
|
96 |
+
// subdomain
|
97 |
+
if ($this->wordpressClientAPI->responseOK($response) && $validDomainName) {
|
98 |
+
$domainName = Utils::getRegistrableDomain($wpDomain);
|
99 |
+
}
|
100 |
+
|
101 |
+
$this->wordpressAPI->setDomainNameCache($domainName);
|
102 |
+
}
|
103 |
+
}
|
104 |
+
}
|
105 |
+
|
106 |
+
public function createRequest()
|
107 |
+
{
|
108 |
+
$method = $_SERVER['REQUEST_METHOD'];
|
109 |
+
$parameters = $_GET;
|
110 |
+
$body = json_decode(file_get_contents('php://input'), true);
|
111 |
+
$path = null;
|
112 |
+
|
113 |
+
if (strtoupper($method === 'GET')) {
|
114 |
+
if ($_GET['proxyURLType'] === 'CLIENT') {
|
115 |
+
$path = API\Client::ENDPOINT.$_GET['proxyURL'];
|
116 |
+
} elseif ($_GET['proxyURLType'] === 'PLUGIN') {
|
117 |
+
$path = API\Plugin::ENDPOINT.$_GET['proxyURL'];
|
118 |
+
}
|
119 |
+
} else {
|
120 |
+
$path = $body['proxyURL'];
|
121 |
+
}
|
122 |
+
|
123 |
+
unset($parameters['proxyURLType']);
|
124 |
+
unset($parameters['proxyURL']);
|
125 |
+
unset($body['proxyURL']);
|
126 |
+
|
127 |
+
return new API\Request($method, $path, $parameters, $body);
|
128 |
+
}
|
129 |
+
|
130 |
+
/**
|
131 |
+
* https://codex.wordpress.org/Function_Reference/wp_verify_nonce.
|
132 |
+
*
|
133 |
+
* Boolean false if the nonce is invalid. Otherwise, returns an integer with the value of:
|
134 |
+
* 1 – if the nonce has been generated in the past 12 hours or less.
|
135 |
+
* 2 – if the nonce was generated between 12 and 24 hours ago.
|
136 |
+
*
|
137 |
+
* @param $csrfToken
|
138 |
+
*
|
139 |
+
* @return bool
|
140 |
+
*/
|
141 |
+
public function isCloudFlareCSRFTokenValid($method, $csrfToken)
|
142 |
+
{
|
143 |
+
if ($method === 'GET') {
|
144 |
+
return true;
|
145 |
+
}
|
146 |
+
|
147 |
+
return wp_verify_nonce($csrfToken, WordPressAPI::API_NONCE) !== false;
|
148 |
+
}
|
149 |
+
}
|
src/WordPress/Uninstall.php
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace CF\WordPress;
|
4 |
-
|
5 |
-
// Uninstall must have it's own class since WordPress doesn't accept
|
6 |
-
// non-static class function for register_uninstall_hook
|
7 |
-
class Uninstall
|
8 |
-
{
|
9 |
-
public static function init()
|
10 |
-
{
|
11 |
-
// Create temp objects because to call clearDataStore
|
12 |
-
$config = new \CF\Integration\DefaultConfig('[]');
|
13 |
-
$logger = new \CF\Integration\DefaultLogger($config->getValue('debug'));
|
14 |
-
$dataStore = new \CF\WordPress\DataStore($logger);
|
15 |
-
|
16 |
-
$dataStore->clearDataStore();
|
17 |
-
}
|
18 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/cloudflare/cloudflare-plugin-backend/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
vendor/
|
vendor/cloudflare/cloudflare-plugin-backend/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2 |
All notable changes to this project will be documented in this file.
|
3 |
This project adheres to [Semantic Versioning](http://semver.org/).
|
4 |
|
|
|
|
|
|
|
|
|
5 |
## [1.1.10](#1.1.10) - 2016-09-12
|
6 |
### Fixed
|
7 |
- Fixed method PUT not having a http body bug. [#26](https://github.com/cloudflare/cloudflare-plugin-backend/pull/26)
|
2 |
All notable changes to this project will be documented in this file.
|
3 |
This project adheres to [Semantic Versioning](http://semver.org/).
|
4 |
|
5 |
+
## [1.1.11](#1.1.11) - 2016-09-27
|
6 |
+
### Fixed
|
7 |
+
- Fixed bug where requests were not paginating. [#27](https://github.com/cloudflare/cloudflare-plugin-backend/pull/27)
|
8 |
+
|
9 |
## [1.1.10](#1.1.10) - 2016-09-12
|
10 |
### Fixed
|
11 |
- Fixed method PUT not having a http body bug. [#26](https://github.com/cloudflare/cloudflare-plugin-backend/pull/26)
|
vendor/cloudflare/cloudflare-plugin-backend/composer.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"name": "cloudflare/cloudflare-plugin-backend",
|
3 |
"description": "A PHP backend for CloudFlare plugins.",
|
4 |
"license": "BSD-3-Clause",
|
5 |
-
"version": "1.1.
|
6 |
"scripts": {
|
7 |
"test": "vendor/bin/phpunit",
|
8 |
"format": "vendor/bin/phpcs -n --standard=PSR2 --extensions=php,live.php src/"
|
2 |
"name": "cloudflare/cloudflare-plugin-backend",
|
3 |
"description": "A PHP backend for CloudFlare plugins.",
|
4 |
"license": "BSD-3-Clause",
|
5 |
+
"version": "1.1.11",
|
6 |
"scripts": {
|
7 |
"test": "vendor/bin/phpunit",
|
8 |
"format": "vendor/bin/phpcs -n --standard=PSR2 --extensions=php,live.php src/"
|
vendor/cloudflare/cloudflare-plugin-backend/src/API/AbstractAPIClient.php
CHANGED
@@ -39,42 +39,74 @@ abstract class AbstractAPIClient implements APIInterface
|
|
39 |
|
40 |
$request = $this->beforeSend($request);
|
41 |
|
|
|
|
|
|
|
42 |
$headers = $request->getHeaders();
|
43 |
-
$
|
44 |
-
$bodyType = (($contentTypeHeader === self::APPLICATION_JSON_KEY) ? 'json' : 'body');
|
45 |
-
|
46 |
-
$requestOptions = array(
|
47 |
-
'headers' => $request->getHeaders(),
|
48 |
-
'query' => $request->getParameters(),
|
49 |
-
$bodyType => $request->getBody(),
|
50 |
-
);
|
51 |
|
52 |
-
|
53 |
-
|
|
|
54 |
}
|
55 |
|
56 |
-
$
|
57 |
|
58 |
-
$
|
|
|
59 |
|
60 |
-
|
61 |
-
|
62 |
-
// with setBody() function.
|
63 |
-
if ($method !== 'GET') {
|
64 |
-
$apiRequest->setBody(json_encode($request->getBody()), 'application/json');
|
65 |
-
}
|
66 |
|
67 |
-
|
|
|
|
|
|
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
-
|
74 |
-
$this->logAPICall($this->getAPIClientName(), array('type' => 'response', 'body' => $response), true);
|
75 |
}
|
76 |
|
77 |
-
return $
|
78 |
} catch (BadResponseException $e) {
|
79 |
$errorMessage = $this->getErrorMessage($e);
|
80 |
|
39 |
|
40 |
$request = $this->beforeSend($request);
|
41 |
|
42 |
+
$method = $request->getMethod();
|
43 |
+
$params = $request->getParameters();
|
44 |
+
$url = $request->getUrl();
|
45 |
$headers = $request->getHeaders();
|
46 |
+
$body = $request->getBody();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
+
$isPaginatable = false;
|
49 |
+
if ($method === 'GET') {
|
50 |
+
$isPaginatable = true;
|
51 |
}
|
52 |
|
53 |
+
$mergedResponse = null;
|
54 |
|
55 |
+
$currentPage = 1;
|
56 |
+
$totalPages = 1;
|
57 |
|
58 |
+
while ($totalPages >= $currentPage) {
|
59 |
+
$apiRequest = $client->createRequest($method, $url, $headers, $body, array());
|
|
|
|
|
|
|
|
|
60 |
|
61 |
+
// Enable pagination
|
62 |
+
if ($isPaginatable) {
|
63 |
+
$params['page'] = $currentPage;
|
64 |
+
}
|
65 |
|
66 |
+
// Assign parameters
|
67 |
+
$query = $apiRequest->getQuery();
|
68 |
+
foreach ($params as $key => $value) {
|
69 |
+
$query->set($key, $value);
|
70 |
+
}
|
71 |
+
|
72 |
+
// Since Guzzle automatically overwrites a new header when the request
|
73 |
+
// is POST / PATCH / DELETE / PUT, we need to overwrite the Content-Type header
|
74 |
+
// with setBody() function.
|
75 |
+
if ($method !== 'GET') {
|
76 |
+
$apiRequest->setBody(json_encode($request->getBody()), 'application/json');
|
77 |
+
}
|
78 |
+
|
79 |
+
$response = $client->send($apiRequest)->json();
|
80 |
+
|
81 |
+
if (json_last_error() !== JSON_ERROR_NONE) {
|
82 |
+
throw new BadResponseException('Error decoding client API JSON', $response);
|
83 |
+
}
|
84 |
+
|
85 |
+
if (!$this->responseOk($response)) {
|
86 |
+
$this->logAPICall($this->getAPIClientName(), array('type' => 'response', 'body' => $response), true);
|
87 |
+
}
|
88 |
+
|
89 |
+
if ($isPaginatable && isset($response['result_info'])) {
|
90 |
+
$totalPages = $response['result_info']['total_pages'];
|
91 |
+
|
92 |
+
if (!isset($mergedResponse)) {
|
93 |
+
$mergedResponse = $response;
|
94 |
+
} else {
|
95 |
+
$mergedResponse['result'] = array_merge($mergedResponse['result'], $response['result']);
|
96 |
+
|
97 |
+
// Notify the frontend that pagination is taken care.
|
98 |
+
$mergedResponse['result_info']['notify'] = 'Backend has taken care of pagination. Ouput is merged in results.';
|
99 |
+
$mergedResponse['result_info']['page'] = -1;
|
100 |
+
$mergedResponse['result_info']['count'] = -1;
|
101 |
+
}
|
102 |
+
} else {
|
103 |
+
$mergedResponse = $response;
|
104 |
+
}
|
105 |
|
106 |
+
$currentPage += 1;
|
|
|
107 |
}
|
108 |
|
109 |
+
return $mergedResponse;
|
110 |
} catch (BadResponseException $e) {
|
111 |
$errorMessage = $this->getErrorMessage($e);
|
112 |
|
vendor/composer/installed.json
CHANGED
@@ -246,43 +246,6 @@
|
|
246 |
],
|
247 |
"abandoned": "guzzlehttp/guzzle"
|
248 |
},
|
249 |
-
{
|
250 |
-
"name": "cloudflare/cloudflare-plugin-backend",
|
251 |
-
"version": "1.1.10",
|
252 |
-
"version_normalized": "1.1.10.0",
|
253 |
-
"source": {
|
254 |
-
"type": "git",
|
255 |
-
"url": "https://github.com/cloudflare/cloudflare-plugin-backend.git",
|
256 |
-
"reference": "d4993dbfc456bb7f7a6491978aa5e65ce9a2c924"
|
257 |
-
},
|
258 |
-
"dist": {
|
259 |
-
"type": "zip",
|
260 |
-
"url": "https://api.github.com/repos/cloudflare/cloudflare-plugin-backend/zipball/d4993dbfc456bb7f7a6491978aa5e65ce9a2c924",
|
261 |
-
"reference": "d4993dbfc456bb7f7a6491978aa5e65ce9a2c924",
|
262 |
-
"shasum": ""
|
263 |
-
},
|
264 |
-
"require": {
|
265 |
-
"guzzle/guzzle": "~3.9",
|
266 |
-
"psr/log": "^1.0"
|
267 |
-
},
|
268 |
-
"require-dev": {
|
269 |
-
"phpunit/phpunit": "4.8.*",
|
270 |
-
"squizlabs/php_codesniffer": "2.*"
|
271 |
-
},
|
272 |
-
"time": "2016-09-12 15:56:33",
|
273 |
-
"type": "library",
|
274 |
-
"installation-source": "dist",
|
275 |
-
"autoload": {
|
276 |
-
"psr-4": {
|
277 |
-
"CF\\": "src/"
|
278 |
-
}
|
279 |
-
},
|
280 |
-
"notification-url": "https://packagist.org/downloads/",
|
281 |
-
"license": [
|
282 |
-
"BSD-3-Clause"
|
283 |
-
],
|
284 |
-
"description": "A PHP backend for CloudFlare plugins."
|
285 |
-
},
|
286 |
{
|
287 |
"name": "johnkary/phpunit-speedtrap",
|
288 |
"version": "v1.0.1",
|
@@ -1735,5 +1698,42 @@
|
|
1735 |
"phpcs",
|
1736 |
"standards"
|
1737 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1738 |
}
|
1739 |
]
|
246 |
],
|
247 |
"abandoned": "guzzlehttp/guzzle"
|
248 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
{
|
250 |
"name": "johnkary/phpunit-speedtrap",
|
251 |
"version": "v1.0.1",
|
1698 |
"phpcs",
|
1699 |
"standards"
|
1700 |
]
|
1701 |
+
},
|
1702 |
+
{
|
1703 |
+
"name": "cloudflare/cloudflare-plugin-backend",
|
1704 |
+
"version": "1.1.11",
|
1705 |
+
"version_normalized": "1.1.11.0",
|
1706 |
+
"source": {
|
1707 |
+
"type": "git",
|
1708 |
+
"url": "https://github.com/cloudflare/cloudflare-plugin-backend.git",
|
1709 |
+
"reference": "20e5b6d5ae271aa8770eb42c3899a0958a9a24ad"
|
1710 |
+
},
|
1711 |
+
"dist": {
|
1712 |
+
"type": "zip",
|
1713 |
+
"url": "https://api.github.com/repos/cloudflare/cloudflare-plugin-backend/zipball/20e5b6d5ae271aa8770eb42c3899a0958a9a24ad",
|
1714 |
+
"reference": "20e5b6d5ae271aa8770eb42c3899a0958a9a24ad",
|
1715 |
+
"shasum": ""
|
1716 |
+
},
|
1717 |
+
"require": {
|
1718 |
+
"guzzle/guzzle": "~3.9",
|
1719 |
+
"psr/log": "^1.0"
|
1720 |
+
},
|
1721 |
+
"require-dev": {
|
1722 |
+
"phpunit/phpunit": "4.8.*",
|
1723 |
+
"squizlabs/php_codesniffer": "2.*"
|
1724 |
+
},
|
1725 |
+
"time": "2016-09-27 16:47:36",
|
1726 |
+
"type": "library",
|
1727 |
+
"installation-source": "dist",
|
1728 |
+
"autoload": {
|
1729 |
+
"psr-4": {
|
1730 |
+
"CF\\": "src/"
|
1731 |
+
}
|
1732 |
+
},
|
1733 |
+
"notification-url": "https://packagist.org/downloads/",
|
1734 |
+
"license": [
|
1735 |
+
"BSD-3-Clause"
|
1736 |
+
],
|
1737 |
+
"description": "A PHP backend for CloudFlare plugins."
|
1738 |
}
|
1739 |
]
|