Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 745d481

Browse files
committed
Change NodeBox URLs to secure URLs.
1 parent 62eab3d commit 745d481

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ For downloads, documentation and the forum, visit the website:
1212

1313
<https://nodebox.net/>
1414

15-
[![Build Status](https://secure.travis-ci.org/nodebox/nodebox.png)](http://travis-ci.org/nodebox/nodebox)
15+
[![Build Status](https://secure.travis-ci.org/nodebox/nodebox.png)](https://travis-ci.org/nodebox/nodebox)
1616

1717
## Building on Mac
1818

19-
NodeBox requires the [Java JDK](http://jdk.java.net/15/), and [Homebrew](http://brew.sh/) (for Ant and Maven)
19+
NodeBox requires the [Java JDK](https://jdk.java.net/15/), and [Homebrew](https://brew.sh/) (for Ant and Maven)
2020

2121
NodeBox uses Ant and Maven to build a running version. Install these first:
2222

@@ -37,9 +37,9 @@ ant dist-mac
3737

3838
## Building on Windows
3939

40-
- Install [Git](http://git-scm.com/).
41-
- Install a recent [Java SDK](http://openjdk.java.net/).
42-
- Install [Ant](http://ant.apache.org/).
40+
- Install [Git](https://git-scm.com/).
41+
- Install a recent [Java SDK](https://openjdk.java.net/).
42+
- Install [Ant](https://ant.apache.org/).
4343
- Install [Wix Toolset](https://wixtoolset.org/).
4444

4545
From the command prompt, run:

libraries/network/network.ndbx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</node>
88
<node category="network" description="Get the contents of an URL." function="network/httpGet" name="http_get"
99
position="1.00,1.00">
10-
<port name="url" range="value" type="string" value="http://nodebox.net/" description="The URL to fetch. Should start with 'http://' or 'https://.'"/>
10+
<port name="url" range="value" type="string" value="https://nodebox.net/" description="The URL to fetch. Should start with 'http://' or 'https://.'"/>
1111
<port name="username" range="value" type="string" value="" description="Username for authenticated requests (optional)."/>
1212
<port name="password" range="value" type="string" widget="password" value="" description="Password for authenticated requests (optional)."/>
1313
<port name="refreshTime" range="value" type="int" value="300" description="Amount of seconds before the resource is fetched again (time-to-live)."/>

src/main/java/nodebox/client/NodeBoxMenuBar.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ public NodeboxSiteAction() {
617617
}
618618

619619
public void actionPerformed(ActionEvent e) {
620-
Platform.openURL("http://nodebox.net/");
620+
Platform.openURL("https://nodebox.net/");
621621
}
622622
}
623623

@@ -628,7 +628,7 @@ public GettingStartedAction() {
628628
}
629629

630630
public void actionPerformed(ActionEvent e) {
631-
Platform.openURL("http://nodebox.net/node/documentation/tutorial/getting-started.html");
631+
Platform.openURL("https://nodebox.net/node/documentation/tutorial/getting-started.html");
632632
}
633633
}
634634

@@ -638,7 +638,7 @@ public HelpAndSupportAction() {
638638
}
639639

640640
public void actionPerformed(ActionEvent e) {
641-
Platform.openURL("http://nodebox.net/node/documentation/");
641+
Platform.openURL("https://nodebox.net/node/documentation/");
642642
}
643643
}
644644

src/main/java/nodebox/node/NodeLibraryUpgrades.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ public static UpgradeResult upgradeTo(File file, String targetVersion) throws Lo
118118
// Avoid upgrades getting stuck in an infinite loop.
119119
int tries = 0;
120120
if (currentVersion.equals("0.9")) {
121-
throw new LoadException(file, "This is a NodeBox 2 file. Download NodeBox 2 from http://beta.nodebox.net/");
121+
throw new LoadException(file, "This is a NodeBox 2 file and is no longer supported.");
122122
}
123123
while (!currentVersion.equals(targetVersion) && tries < 100) {
124124
Method upgradeMethod = upgradeMap.get(currentVersion);
125125
if (upgradeMethod == null) {
126-
throw new LoadException(file, "Unsupported version " + currentVersion + ": this file is too new. Try downloading a new version of NodeBox from http://nodebox.net/download/");
126+
throw new LoadException(file, "Unsupported version " + currentVersion + ": this file is too new. Try downloading a new version of NodeBox from https://nodebox.net/download/");
127127
}
128128
try {
129129
UpgradeStringResult result = (UpgradeStringResult) upgradeMethod.invoke(null, currentXml);

src/test/java/nodebox/versioncheck/appcast.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<rss version="2.0" xmlns:appcast="http://nodebox.net/xml-namespaces/appcast">
2+
<rss version="2.0" xmlns:appcast="https://nodebox.net/xml-namespaces/appcast">
33
<channel>
44
<title>MockBox Appcast</title>
55
<link>http://example.com/download/</link>

0 commit comments

Comments
 (0)