Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update urls #1041

Merged
merged 15 commits into from
Nov 7, 2017
Merged

Update urls #1041

merged 15 commits into from
Nov 7, 2017

Conversation

beatadelura
Copy link
Contributor

@beatadelura beatadelura commented Oct 12, 2017

What is the purpose of this pull request?

Updating URLs.


I went through all files and checked/changed URLs. I left URLs in test files to avoid regression. Let me know, If you think, test files should be also changed.

There is one more URL to change: http://ckeditor.com/license, https://cksource.com/ckeditor/license/ - but it's under discussion.


Closes #1131.

@@ -17,6 +17,6 @@ For more advanced needs (e.g. CKEditor integration in your products, or developm

For more reading visit our supporting resources:

* An extensive [CKEditor 4 documentation](http://docs.ckeditor.com/) with information about CKEditor features and configuration settings.
* An extensive [CKEditor 4 documentation](https://docs.ckeditor.com/ckeditor4/latest/) with information about CKEditor features and configuration settings.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link for documentation is: https://docs.ckeditor.com/ckeditor4/docs/, https://docs.ckeditor.com/ckeditor4/latest/ is the entry page that includes SDK etc. Since we have samples separately below, I'd use the direct documentation link.

@@ -3,7 +3,7 @@
<!--
Replace this comment with your issue type: Bug / Feature request / Other, please explain.

Please **do not report security issues here**, use the contact form at http://cksource.com/contact instead.
Please **do not report security issues here**, use the contact form at https://cksource.com/contact/ instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -9,7 +9,7 @@ If you are preparing a pull request, see [Contributing Code and Providing Patche
If you would like to contribute in any other way, you can consider the following actions:

1. Create your own [plugins](http://docs.ckeditor.com/#!/guide/plugin_sdk_sample) or [skins](http://docs.ckeditor.com/#!/guide/skin_sdk_intro)
and submit them to [CKEditor Add-Ons Repository](http://ckeditor.com/addons/plugins).
and submit them to [CKEditor Add-Ons Repository](https://ckeditor.com/addons/plugins).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core/config.js Outdated
@@ -319,7 +319,7 @@ CKEDITOR.config = {
*
* **Note:** The most recommended way to
* [add CKEditor plugins](http://docs.ckeditor.com/#!/guide/dev_plugins) is through
* [CKEditor Builder](http://ckeditor.com/builder). Read more in the
* [CKEditor Builder](https://ckeditor.com/builder). Read more in the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -309,7 +309,7 @@ CKEDITOR.replaceClass = 'ckeditor';

/**
* Gets the element that can be used to check the editor size. This method
* is mainly used by the [Editor Resize](http://ckeditor.com/addon/resize) plugin, which adds
* is mainly used by the [Editor Resize](https://ckeditor.com/addon/resize) plugin, which adds
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -659,7 +659,7 @@ CKEDITOR.config.disableNativeTableHandles = true;
* users can always reach the native context menu by holding the
* *Ctrl* key when right-clicking if {@link #browserContextMenuOnCtrl}
* is enabled or you are simply not using the
* [context menu](http://ckeditor.com/addon/contextmenu) plugin.
* [context menu](https://ckeditor.com/addon/contextmenu) plugin.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<li><a href="https://github.com/ckeditor/ckeditor-dev/issues">I found a bug</a></li>
<li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li>
</ul>
<ul class="navigation-a-right grid-width-30">
<li><a href="http://ckeditor.com/blog-list">CKEditor Blog</a></li>
<li><a href="https://ckeditor.com/blog-list">CKEditor Blog</a></li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -17,12 +17,12 @@
<nav class="navigation-a">
<div class="grid-container">
<ul class="navigation-a-left grid-width-70">
<li><a href="http://ckeditor.com">Project Homepage</a></li>
<li><a href="https://ckeditor.com">Project Homepage</a></li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -25,12 +25,12 @@
<nav class="navigation-a">
<div class="grid-container">
<ul class="navigation-a-left grid-width-70">
<li><a href="http://ckeditor.com">Project Homepage</a></li>
<li><a href="https://ckeditor.com">Project Homepage</a></li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<li><a href="https://github.com/ckeditor/ckeditor-dev/issues">I found a bug</a></li>
<li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li>
</ul>
<ul class="navigation-a-right grid-width-30">
<li><a href="http://ckeditor.com/blog-list">CKEditor Blog</a></li>
<li><a href="https://ckeditor.com/blog-list">CKEditor Blog</a></li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@beatadelura
Copy link
Contributor Author

@AnnaTomanek Thanks for help and review! I changed requested files, PTAL.

There is one more thing, I found file CHANGES.md which should be also updated. I'm working on it, so I'll let you know when PR will be ready :)

@beatadelura
Copy link
Contributor Author

@AnnaTomanek CHANGES.md updated. PTAL

@AnnaTomanek
Copy link
Contributor

Just noticed that we also have links to API docs that changed their location... For example, https://docs.ckeditor.com/#!/api/CKEDITOR.focusManager-method-focus -> https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.focusManager-method-focus

Do we also want to change those? Should be easy enough...

@beatadelura
Copy link
Contributor Author

@AnnaTomanek I changed it. PTAL :)

@AnnaTomanek AnnaTomanek added this to the 4.8.0 milestone Nov 3, 2017
@msamsel
Copy link
Contributor

msamsel commented Nov 3, 2017

@AnnaTomanek do you know a little bit more about this case? What kind/types of link we want to correct? Is there some kind of list (at least domains which should be corrected?).
Do you know also what's the status of http://ckeditor.com/license link? Is there some decision how it should looks like?

@AnnaTomanek
Copy link
Contributor

We're leaving http://ckeditor.com/license as is, a correct redirect will be in place.

@msamsel
Copy link
Contributor

msamsel commented Nov 6, 2017

I use https for license, as it is landing url regardless of using protocol.

@msamsel
Copy link
Contributor

msamsel commented Nov 6, 2017

I've made additional url replacements. Some info:

@AnnaTomanek
Copy link
Contributor

Looks fine, I noticed two minor http://ckeditor.com cases in samples (enterkey and inlineall).

Also plenty of http://ckeditor.com and http://cksource.com in tests but I guess it's intentional, so let's leave it.

@msamsel
Copy link
Contributor

msamsel commented Nov 6, 2017

With tests folder is this problem, that changing it would require detail analyse of specific test. Firstly I change everything and as result I get failed test (mostly autoembed and link unit tests). It seems to be more secure to not update those tests.
Generally tests cases should not be traffic source for CKEditor page. Usually those links are inside editor, so are not clickable and does not redirect user nor tester.

I add those 2 missing CKEditor urls. I have no idea how I missed that :( I also rebase to actual major and update link in changelog.

@f1ames f1ames self-assigned this Nov 7, 2017
@f1ames f1ames merged commit 7f55904 into major Nov 7, 2017
@f1ames f1ames deleted the update_urls branch November 7, 2017 12:51
@mlewand mlewand removed this from the 4.8.0 milestone Nov 24, 2017
@msamsel msamsel restored the update_urls branch December 15, 2017 11:54
@msamsel msamsel deleted the update_urls branch December 15, 2017 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants