Skip to content

Commit

Permalink
🔒 Fix missing HTTPS on airflow site links (#13043)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Dec 13, 2020
1 parent 0d49a47 commit ed4926f
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,6 @@ and slightly modified and consensus reached in October 2020:

Resources & Links
=================
- `Airflow’s official documentation <http://airflow.apache.org/>`__
- `Airflow’s official documentation <https://airflow.apache.org/>`__

- `More resources and links to Airflow related content on the Wiki <https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Links>`__
6 changes: 3 additions & 3 deletions UPDATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ from my_plugin import MyOperator

The name under `airflow.operators.` was the plugin name, where as in the second example it is the python module name where the operator is defined.

See http://airflow.apache.org/docs/stable/howto/custom-operator.html for more info.
See https://airflow.apache.org/docs/stable/howto/custom-operator.html for more info.

### Importing Hooks via plugins is no longer supported

Expand All @@ -169,7 +169,7 @@ from my_plugin import MyHook

It is still possible (but not required) to "register" hooks in plugins. This is to allow future support for dynamically populating the Connections form in the UI.

See http://airflow.apache.org/docs/stable/howto/custom-operator.html for more info.
See https://airflow.apache.org/docs/stable/howto/custom-operator.html for more info.

### Adding Operators and Sensors via plugins is no longer supported

Expand Down Expand Up @@ -1875,7 +1875,7 @@ session_lifetime_minutes = 43200
The ability to import Operators, Hooks and Sensors via the plugin mechanism has been deprecated and will raise warnings
in Airflow 1.10.13 and will be removed completely in Airflow 2.0.

Check http://airflow.apache.org/docs/1.10.13/howto/custom-operator.html to see how you can create and import
Check https://airflow.apache.org/docs/1.10.13/howto/custom-operator.html to see how you can create and import
Custom Hooks, Operators and Sensors.

## Airflow 1.10.12
Expand Down
2 changes: 1 addition & 1 deletion airflow/api_connexion/openapi/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2893,4 +2893,4 @@ tags:


externalDocs:
url: http://airflow.apache.org/docs/stable/
url: https://airflow.apache.org/docs/stable/
20 changes: 10 additions & 10 deletions airflow/providers/dingding/example_dags/example_dingding.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def failure_callback(context):
message={
'title': 'Airflow dingding link message',
'text': 'Airflow official documentation link',
'messageUrl': 'http://airflow.apache.org',
'picURL': 'http://airflow.apache.org/_images/pin_large.png',
'messageUrl': 'https://airflow.apache.org',
'picURL': 'https://airflow.apache.org/_images/pin_large.png',
},
)

Expand All @@ -132,7 +132,7 @@ def failure_callback(context):
'text': '# Markdown message title\n'
'content content .. \n'
'### sub-title\n'
'![logo](http://airflow.apache.org/_images/pin_large.png)',
'![logo](https://airflow.apache.org/_images/pin_large.png)',
},
at_mobiles=['156XXXXXXXX'],
at_all=False,
Expand All @@ -146,12 +146,12 @@ def failure_callback(context):
message={
'title': 'Airflow dingding single actionCard message',
'text': 'Airflow dingding single actionCard message\n'
'![logo](http://airflow.apache.org/_images/pin_large.png)\n'
'![logo](https://airflow.apache.org/_images/pin_large.png)\n'
'This is a official logo in Airflow website.',
'hideAvatar': '0',
'btnOrientation': '0',
'singleTitle': 'read more',
'singleURL': 'http://airflow.apache.org',
'singleURL': 'https://airflow.apache.org',
},
)

Expand All @@ -162,12 +162,12 @@ def failure_callback(context):
message={
'title': 'Airflow dingding multi actionCard message',
'text': 'Airflow dingding multi actionCard message\n'
'![logo](http://airflow.apache.org/_images/pin_large.png)\n'
'![logo](https://airflow.apache.org/_images/pin_large.png)\n'
'Airflow documentation and GitHub',
'hideAvatar': '0',
'btnOrientation': '0',
'btns': [
{'title': 'Airflow Documentation', 'actionURL': 'http://airflow.apache.org'},
{'title': 'Airflow Documentation', 'actionURL': 'https://airflow.apache.org'},
{'title': 'Airflow GitHub', 'actionURL': 'https://github.com/apache/airflow'},
],
},
Expand All @@ -182,17 +182,17 @@ def failure_callback(context):
{
"title": "Airflow DAG feed card",
"messageURL": "https://airflow.apache.org/docs/stable/ui.html",
"picURL": "http://airflow.apache.org/_images/dags.png",
"picURL": "https://airflow.apache.org/_images/dags.png",
},
{
"title": "Airflow tree feed card",
"messageURL": "https://airflow.apache.org/docs/stable/ui.html",
"picURL": "http://airflow.apache.org/_images/tree.png",
"picURL": "https://airflow.apache.org/_images/tree.png",
},
{
"title": "Airflow graph feed card",
"messageURL": "https://airflow.apache.org/docs/stable/ui.html",
"picURL": "http://airflow.apache.org/_images/graph.png",
"picURL": "https://airflow.apache.org/_images/graph.png",
},
]
},
Expand Down
2 changes: 1 addition & 1 deletion airflow/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "git",
"url": "git+https://github.com/apache/airflow.git"
},
"homepage": "http://airflow.apache.org/",
"homepage": "https://airflow.apache.org/",
"keywords": [
"big",
"data",
Expand Down
2 changes: 1 addition & 1 deletion dev/provider_packages/SETUP_TEMPLATE.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def do_setup():
],
author='Apache Software Foundation',
author_email='[email protected]',
url='http://airflow.apache.org/',
url='https://airflow.apache.org/',
download_url=(
'https://archive.apache.org/dist/airflow/{{ PROVIDERS_FOLDER }}'),
python_requires='~=3.6',
Expand Down
2 changes: 1 addition & 1 deletion docs/apache-airflow/project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Contributor page:
Resources & links
-----------------

* `Airflow's official documentation <http://airflow.apache.org/docs/>`_
* `Airflow's official documentation <https://airflow.apache.org/docs/>`_
* Mailing lists:

* Developer's mailing list: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name = apache-airflow
summary = Programmatically author, schedule and monitor data pipelines
author = Apache Software Foundation
author_email = [email protected]
url = http://airflow.apache.org/
url = https://airflow.apache.org/
long_description = file: README.md
long_description_content_type = text/markdown
license = Apache License 2.0
Expand Down
22 changes: 11 additions & 11 deletions tests/providers/dingding/hooks/test_dingding.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_build_markdown_message_remind_specific(self):
msg = {
'title': 'Airflow dingding markdown message',
'text': '# Markdown message title\ncontent content .. \n### sub-title\n'
'![logo](http://airflow.apache.org/_images/pin_large.png)',
'![logo](https://airflow.apache.org/_images/pin_large.png)',
}
config = {
'dingding_conn_id': self.conn_id,
Expand All @@ -118,7 +118,7 @@ def test_build_markdown_message_remind_all(self):
msg = {
'title': 'Airflow dingding markdown message',
'text': '# Markdown message title\ncontent content .. \n### sub-title\n'
'![logo](http://airflow.apache.org/_images/pin_large.png)',
'![logo](https://airflow.apache.org/_images/pin_large.png)',
}
config = {
'dingding_conn_id': self.conn_id,
Expand All @@ -135,8 +135,8 @@ def test_build_link_message(self):
msg = {
'title': 'Airflow dingding link message',
'text': 'Airflow official documentation link',
'messageUrl': 'http://airflow.apache.org',
'picURL': 'http://airflow.apache.org/_images/pin_large.png',
'messageUrl': 'https://airflow.apache.org',
'picURL': 'https://airflow.apache.org/_images/pin_large.png',
}
config = {'dingding_conn_id': self.conn_id, 'message_type': 'link', 'message': msg}
expect = {'msgtype': 'link', 'link': msg}
Expand All @@ -148,12 +148,12 @@ def test_build_single_action_card_message(self):
msg = {
'title': 'Airflow dingding single actionCard message',
'text': 'Airflow dingding single actionCard message\n'
'![logo](http://airflow.apache.org/_images/pin_large.png)\n'
'![logo](https://airflow.apache.org/_images/pin_large.png)\n'
'This is a official logo in Airflow website.',
'hideAvatar': '0',
'btnOrientation': '0',
'singleTitle': 'read more',
'singleURL': 'http://airflow.apache.org',
'singleURL': 'https://airflow.apache.org',
}
config = {'dingding_conn_id': self.conn_id, 'message_type': 'actionCard', 'message': msg}
expect = {'msgtype': 'actionCard', 'actionCard': msg}
Expand All @@ -165,12 +165,12 @@ def test_build_multi_action_card_message(self):
msg = {
'title': 'Airflow dingding multi actionCard message',
'text': 'Airflow dingding multi actionCard message\n'
'![logo](http://airflow.apache.org/_images/pin_large.png)\n'
'![logo](https://airflow.apache.org/_images/pin_large.png)\n'
'Airflow documentation and GitHub',
'hideAvatar': '0',
'btnOrientation': '0',
'btns': [
{'title': 'Airflow Documentation', 'actionURL': 'http://airflow.apache.org'},
{'title': 'Airflow Documentation', 'actionURL': 'https://airflow.apache.org'},
{'title': 'Airflow GitHub', 'actionURL': 'https://github.com/apache/airflow'},
],
}
Expand All @@ -186,17 +186,17 @@ def test_build_feed_card_message(self):
{
"title": "Airflow DAG feed card",
"messageURL": "https://airflow.apache.org/docs/stable/ui.html",
"picURL": "http://airflow.apache.org/_images/dags.png",
"picURL": "https://airflow.apache.org/_images/dags.png",
},
{
"title": "Airflow tree feed card",
"messageURL": "https://airflow.apache.org/docs/stable/ui.html",
"picURL": "http://airflow.apache.org/_images/tree.png",
"picURL": "https://airflow.apache.org/_images/tree.png",
},
{
"title": "Airflow graph feed card",
"messageURL": "https://airflow.apache.org/docs/stable/ui.html",
"picURL": "http://airflow.apache.org/_images/graph.png",
"picURL": "https://airflow.apache.org/_images/graph.png",
},
]
}
Expand Down

0 comments on commit ed4926f

Please sign in to comment.