Skip to content

Commit abfdbdf

Browse files
committed
resources: Eliminate the use of http:// across whole project
1 parent 6cc2f0c commit abfdbdf

File tree

28 files changed

+42
-42
lines changed

28 files changed

+42
-42
lines changed

[admin]/acpanel/s_settings.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ end
232232
-- Get version info about this resource
233233
---------------------------------------------------------
234234
function GetAcPanelVersInfoFromRemoteServer()
235-
fetchRemote( "http://nightly.multitheftauto.com/ver/acpanel/", onGotAcPanelVersInfo )
235+
fetchRemote( "https://nightly.multitheftauto.com/ver/acpanel/", onGotAcPanelVersInfo )
236236
end
237237

238238

[admin]/admin/admin.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
44
<* = call ( getResourceFromName("ajax"), "start", getResourceName(getThisResource()) ) *>

[admin]/admin/server/http/bans.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
44
<script src='/bans.js' type='text/javascript'></script>

[admin]/admin/server/http/menu.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
44
<* = call ( getResourceFromName("ajax"), "start", getResourceName(getThisResource()) ) *>

[admin]/admin2/http/screenshots.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
end
77
end
88
*>
9-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
9+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1010
<html>
1111
<head>
1212
<*= call ( getResourceFromName("ajax"), "start", getResourceName(getThisResource()) ) *>

[admin]/ip2c/server.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
local aCountries = {}
1717
local IP2C_FILENAME = "conf/IpToCountryCompact.csv"
1818
local IP2C_FILENAME_BACKUP = "conf/IpToCountryCompact.csv.backup" -- If no file exists, it will be copied from here (failsafe in case update URL is unreachable)
19-
local IP2C_UPDATE_URL = "http://mirror-cdn.multitheftauto.com/mtasa/scripts/IpToCountryCompact.csv"
19+
local IP2C_UPDATE_URL = "https://mirror-cdn.multitheftauto.com/mtasa/scripts/IpToCountryCompact.csv"
2020
local IP2C_UPDATE_INTERVAL_SECONDS = 60 * 60 * 24 * 1 -- Update no more than once a day
2121

2222
-- [Exported]

[admin]/runcode/meta.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<html src="runcode.css" raw="true"/>
1515
<html src="runcode.js" raw="true"/>
1616

17-
<!-- codemirror files http://codemirror.net/ -->
17+
<!-- codemirror files https://codemirror.net/ -->
1818
<html src="codemirror\codemirror.js" raw="true"/>
1919
<html src="codemirror\codemirror.css" raw="true"/>
2020
<html src="codemirror\docs.css" raw="true"/>

[admin]/runcode/runcode.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
44
<* = exports.ajax:start(getResourceName(getThisResource())) *>

[editor]/editor_gui/client/images/elementmenu/readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This copyright and license notice covers the images in this directory.
44

55
TITLE: Crystal Project Icons
66
AUTHOR: Everaldo Coelho
7-
SITE: http://www.everaldo.com
7+
SITE: https://www.everaldo.com
88
99

1010
Copyright (c) 2006-2007 Everaldo Coelho.

[editor]/editor_gui/client/images/topmenu/readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This copyright and license notice covers the images in this directory.
44

55
TITLE: Crystal Project Icons
66
AUTHOR: Everaldo Coelho
7-
SITE: http://www.everaldo.com
7+
SITE: https://www.everaldo.com
88
99

1010
Copyright (c) 2006-2007 Everaldo Coelho.

[editor]/editor_gui/client/orderedPairs.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--This code is an exact, unmodified copy of that from the official Lua docs: http://lua-users.org/wiki/SortedIteration
1+
--This code is an exact, unmodified copy of that from the official Lua docs: https://lua-users.org/wiki/SortedIteration
22

33
local sortingFunction = nil
44

[editor]/editor_main/client/complex.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
-- the access is faster than in a hash table
1616
-- the metatable is just a add on, when it comes to speed, one is faster using a direct function call
1717

18-
-- http://luaforge.net/projects/LuaMatrix
19-
-- http://lua-users.org/wiki/ComplexNumbers
18+
-- https://luaforge.net/projects/LuaMatrix
19+
-- https://lua-users.org/wiki/ComplexNumbers
2020

2121
-- Licensed under the same terms as Lua itself.
2222

[editor]/editor_main/client/matrix.lua

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
or use num = vec1:scalar( vec2 ), where num is a number
3232
3333
Sites:
34-
http://luaforge.net/projects/LuaMatrix
35-
http://lua-users.org/wiki/SimpleMatrix
34+
https://luaforge.net/projects/LuaMatrix
35+
https://lua-users.org/wiki/SimpleMatrix
3636
3737
Licensed under the same terms as Lua itself.
3838
3939
Developers:
4040
Michael Lutz (chillcode)
41-
David Manura http://lua-users.org/wiki/DavidManura
41+
David Manura https://lua-users.org/wiki/DavidManura
4242
4343
MODIFIED TO SUIT THE MTA SCRIPTING SYSTEM
4444
]]--
@@ -561,7 +561,7 @@ end
561561

562562
--// matrix.root ( m1, root [,iters] )
563563
-- calculate any root of a matrix
564-
-- source: http://www.dm.unipi.it/~cortona04/slides/bruno.pdf
564+
-- source: https://www.dm.unipi.it/~cortona04/slides/bruno.pdf
565565
-- m1 and root have to be given;(m1 = matrix, root = number)
566566
-- conditions same as matrix.sqrt
567567
-- returns same values as matrix.sqrt
@@ -599,7 +599,7 @@ end
599599
--// matrix.normf ( mtx )
600600
-- calculates the Frobenius norm of the matrix.
601601
-- ||mtx||_F = sqrt(SUM_{i,j} |a_{i,j}|^2)
602-
-- http://en.wikipedia.org/wiki/Frobenius_norm#Frobenius_norm
602+
-- https://en.wikipedia.org/wiki/Frobenius_norm#Frobenius_norm
603603
function matrix.normf(mtx)
604604
local mtype = matrix.type(mtx)
605605
local result = 0
@@ -618,7 +618,7 @@ end
618618
-- calculates the max norm of the matrix.
619619
-- ||mtx||_{max} = max{|a_{i,j}|}
620620
-- Does not work with symbolic matrices
621-
-- http://en.wikipedia.org/wiki/Frobenius_norm#Max_norm
621+
-- https://en.wikipedia.org/wiki/Frobenius_norm#Max_norm
622622
function matrix.normmax(mtx)
623623
local abs = (matrix.type(mtx) == "number") and math.abs or mtx[1][1].abs
624624
local result = 0

[editor]/editor_main/client/rotation.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function quatMul(a, b)
121121
return result
122122
end
123123

124-
-- http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles
124+
-- https://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles
125125
function getQuatFromEuler(euler)
126126
local result = {}
127127
local tcos = {}

[editor]/editor_main/server/orderedPairs.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--This code is an exact, unmodified copy of that from the official Lua docs: http://lua-users.org/wiki/SortedIteration
1+
--This code is an exact, unmodified copy of that from the official Lua docs: https://lua-users.org/wiki/SortedIteration
22

33
function __genOrderedIndex( t )
44
local orderedIndex = {}

[gamemodes]/[race]/race/config_client.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function openConfigMenu ()
4242

4343
gui["scrollpane"] = guiCreateScrollPane( 0, 0, 1, 1, true, gui["form"] )
4444
gui["button_close"] = guiCreateButton( 0, 0, 1, 1, 'Close', false, gui["form"] )
45-
gui["label1"] = guiCreateLabel( 0, 0, 1, 1, 'Get more race addons from http://community.multitheftauto.com/', false, gui["form"] )
45+
gui["label1"] = guiCreateLabel( 0, 0, 1, 1, 'Get more race addons from https://community.multitheftauto.com/', false, gui["form"] )
4646
gui["label2"] = guiCreateLabel( 0, 0, 1, 1, "Note: Some addons may not take effect", false, gui["form"] )
4747
gui["label3"] = guiCreateLabel( 0, 0, 1, 1, "until the start of the next map.", false, gui["form"] )
4848
gui["rows"] = {}

[gameplay]/scoreboard/scoreboard.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
44
<* = call ( getResourceFromName("ajax"), "start", getResourceName(getThisResource()) ) *>

[gameplay]/scores/scores.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local isColumnActive = {}
33

44
local KDR_DECIMAL_PLACES = 2
55

6-
--http://lua-users.org/wiki/SimpleRound
6+
--https://lua-users.org/wiki/SimpleRound
77
local function round(num, idp)
88
local mult = 10^(idp or 0)
99
return math.floor(num * mult + 0.5) / mult

[gameplay]/sfxbrowser/sfxBrowser_data.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sfxBrowser = sfxBrowser or {}
22

3-
-- The following data has been extracted from http://pdescobar.home.comcast.net/~pdescobar/gta/saat/sfx_dir.html
3+
-- The following data has been extracted from https://pdescobar.home.comcast.net/~pdescobar/gta/saat/sfx_dir.html
44
-- Regex: <tr><td>(.*?)</td><td>(.*?)</td><td>(.*?)</td><td>(.*?)</td><td>(.*?)</td></tr> ; Replace: {num = \3, desc = "\5"};
55
sfxBrowser.ms_Data = {
66
feet = {

[gameplay]/sirenEdit/complex.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
-- the access is faster than in a hash table
1616
-- the metatable is just a add on, when it comes to speed, one is faster using a direct function call
1717

18-
-- http://luaforge.net/projects/LuaMatrix
19-
-- http://lua-users.org/wiki/ComplexNumbers
18+
-- https://luaforge.net/projects/LuaMatrix
19+
-- https://lua-users.org/wiki/ComplexNumbers
2020

2121
-- Licensed under the same terms as Lua itself.
2222

[gameplay]/sirenEdit/matrix.lua

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
or use num = vec1:scalar( vec2 ), where num is a number
3232
3333
Sites:
34-
http://luaforge.net/projects/LuaMatrix
35-
http://lua-users.org/wiki/SimpleMatrix
34+
https://luaforge.net/projects/LuaMatrix
35+
https://lua-users.org/wiki/SimpleMatrix
3636
3737
Licensed under the same terms as Lua itself.
3838
3939
Developers:
4040
Michael Lutz (chillcode)
41-
David Manura http://lua-users.org/wiki/DavidManura
41+
David Manura https://lua-users.org/wiki/DavidManura
4242
4343
MODIFIED TO SUIT THE MTA SCRIPTING SYSTEM
4444
]]--
@@ -561,7 +561,7 @@ end
561561

562562
--// matrix.root ( m1, root [,iters] )
563563
-- calculate any root of a matrix
564-
-- source: http://www.dm.unipi.it/~cortona04/slides/bruno.pdf
564+
-- source: https://www.dm.unipi.it/~cortona04/slides/bruno.pdf
565565
-- m1 and root have to be given;(m1 = matrix, root = number)
566566
-- conditions same as matrix.sqrt
567567
-- returns same values as matrix.sqrt
@@ -599,7 +599,7 @@ end
599599
--// matrix.normf ( mtx )
600600
-- calculates the Frobenius norm of the matrix.
601601
-- ||mtx||_F = sqrt(SUM_{i,j} |a_{i,j}|^2)
602-
-- http://en.wikipedia.org/wiki/Frobenius_norm#Frobenius_norm
602+
-- https://en.wikipedia.org/wiki/Frobenius_norm#Frobenius_norm
603603
function matrix.normf(mtx)
604604
local mtype = matrix.type(mtx)
605605
local result = 0
@@ -618,7 +618,7 @@ end
618618
-- calculates the max norm of the matrix.
619619
-- ||mtx||_{max} = max{|a_{i,j}|}
620620
-- Does not work with symbolic matrices
621-
-- http://en.wikipedia.org/wiki/Frobenius_norm#Max_norm
621+
-- https://en.wikipedia.org/wiki/Frobenius_norm#Max_norm
622622
function matrix.normmax(mtx)
623623
local abs = (matrix.type(mtx) == "number") and math.abs or mtx[1][1].abs
624624
local result = 0

[gameplay]/webbrowser/WebBrowserGUI.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ function WebBrowserGUI:loadURL(url)
125125
self.m_EditAddress:setText(url)
126126
self.m_Browser:getBrowser():loadURL(url)
127127
return
128-
elseif url:sub(0, 7) ~= "http://" and url:sub(0, 8) ~= "https://" then
129-
url = "http://"..url
128+
elseif url:sub(0, 7) ~= "https://" and url:sub(0, 8) ~= "https://" then
129+
url = "https://"..url
130130
end
131131

132132
if Browser.isDomainBlocked(url, true) then

[managers]/mapmanager/mapmanager.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
44
<* = call ( getResourceFromName("ajax"), "start", getResourceName(getThisResource()) ) *>

[web]/elementbrowser/elementbrowser.htm

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd">
2-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd">
2+
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
33
<head>
44
<link rel="stylesheet" type="text/css" href="css.css" />
55
<title>Element browser</title>

[web]/elementbrowser/meta.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<meta>
22
<info author="eAi" description="Shows a pretty element tree in the web browser" showInResourceBrowser="true" name="Element browser" version="1.0.0" />
3-
<update url="http://code.opencoding.net/mta/updatesite" />
3+
<update url="https://code.opencoding.net/mta/updatesite" />
44

55
<script src="elementbrowser.lua" />
66
<include resource="ajax"/>

[web]/performancebrowser/main.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
44
<* = call ( getResourceFromName("ajax"), "start", getResourceName(getThisResource()) ) *>

[web]/resourcebrowser/browser.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
44
<title>Multi Theft Auto - Resource Browser</title>

[web]/resourcemanager/manager.htm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
44
<* = call ( getResourceFromName("ajax"), "start", getResourceName(getThisResource()) ) *>

0 commit comments

Comments
 (0)