Use https in links were possible

This commit is contained in:
Michiel Beijen 2016-10-21 17:44:35 +02:00
parent 246a3dd7ec
commit 6e44b5ae26
10 changed files with 48 additions and 49 deletions

View file

@ -15,9 +15,9 @@ Get Zammad
---------- ----------
````shell ````shell
test -d ~/zammad/ || mkdir ~/zammad test -d ~/zammad/ || mkdir ~/zammad
cd ~/zammad/ cd ~/zammad/
curl -L -O http://zammad.org/zammad-latest.tar.bz2 | tar -xj curl -L -O http://ftp.zammad.com/zammad-latest.tar.bz2 | tar -xj
```` ````
Install Zammad Install Zammad

View file

@ -53,4 +53,3 @@
### Restart nginx as root ### Restart nginx as root
* exit * exit
* systemctl restart nginx * systemctl restart nginx

View file

@ -1,6 +1,6 @@
<div class="alert alert--danger hidden" role="alert"></div> <div class="alert alert--danger hidden" role="alert"></div>
<p> <p>
<%- @T('The tutorial on how to manage a %s is hosted on our [online documentation](http://zammad.org/documentation/channel/facebook).', 'Facebook App') %> <%- @T('The tutorial on how to manage a %s is hosted on our [online documentation](https://zammad.org/documentation/channel/facebook).', 'Facebook App') %>
</p> </p>
<fieldset> <fieldset>
<h2><%- @T('Enter your %s App Keys', 'Facebook') %></h2> <h2><%- @T('Enter your %s App Keys', 'Facebook') %></h2>
@ -26,4 +26,4 @@
<input class="form-control js-select" readonly value="<%= @callbackUrl %>"> <input class="form-control js-select" readonly value="<%= @callbackUrl %>">
</div> </div>
</div> </div>
</fieldset> </fieldset>

View file

@ -7,7 +7,7 @@
<h2>Ticket Article</h2> <h2>Ticket Article</h2>
<div class="ticketZoom"> <div class="ticketZoom">
<div class="scrollPageHeader tabsSidebar-sidebarSpacer" <div class="scrollPageHeader tabsSidebar-sidebarSpacer"
data-anchor-target=".ticketZoom .page-header" data-anchor-target=".ticketZoom .page-header"
data-128-top-bottom="transform: translateY(-64px);" data-128-top-bottom="transform: translateY(-64px);"
data-64-top-bottom="transform: translateY(0px);" data-64-top-bottom="transform: translateY(0px);"
@ -37,7 +37,7 @@
<h1 contenteditable="true" class="ticket-title-update" data-placeholder="Enter Title...">Welcome to Zammad! We want to entertain you and your whole family!</h1> <h1 contenteditable="true" class="ticket-title-update" data-placeholder="Enter Title...">Welcome to Zammad! We want to entertain you and your whole family!</h1>
</div> </div>
<div class="ticket-meta"> <div class="ticket-meta">
<small class="task-subline">Ticket# <span class="ticket-number">10001</span> - erstellte <span class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="11.07.2014 12:10">11.07.2014</span> <small class="task-subline">Ticket# <span class="ticket-number">10001</span> - erstellte <span class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="11.07.2014 12:10">11.07.2014</span>
</small> </small>
</div> </div>
</div> </div>
@ -65,12 +65,12 @@ Welcome!
<br/> <br/>
Thank you for installing Zammad.<br/> Thank you for installing Zammad.<br/>
<br/> <br/>
You will find updates and patches at <a href="http://zammad.org/" title="http://zammad.org/" target="_blank">http://zammad.org/</a>. Online<br/> You will find updates and patches at <a href="https://zammad.org/" title="https://zammad.org/" target="_blank">https://zammad.org/</a>. Online<br/>
documentation is available at <a href="http://guides.zammad.org/" title="http://guides.zammad.org/" target="_blank">http://guides.zammad.org/</a>. You can also<br/> documentation is available at <a href="https://zammad.org/documentation/" title="https://zammad.org/documentation/" target="_blank">https://zammad.org/documentation/</a>. Get involved<br/>
use our forums at <a href="http://forums.zammad.org/" title="http://forums.zammad.org/" target="_blank">http://forums.zammad.org/</a><br/> (discussions, contributing, ...) at <a href="https://zammad.org/participate" title="https://zammad.org/participate" target="_blank">https://zammad.org/participate</a>.<br/>
<br/> <br/>
Regards,<br/> Regards,<br/>
The <a href="http://Zammad.org" title="http://Zammad.org" target="_blank">Zammad.org</a> Project The <a href="https://zammad.org" title="https://zammad.org" target="_blank">zammad.org</a> Project
<div class="textBubble-overflowContainer"> <div class="textBubble-overflowContainer">
<div class="btn btn--text js-unfold"><%- @T('See more') %></div> <div class="btn btn--text js-unfold"><%- @T('See more') %></div>
</div> </div>
@ -105,7 +105,7 @@ The <a href="http://Zammad.org" title="http://Zammad.org" target="_blank">Zammad
<small class="task-subline"><time class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="2014-07-11 12:10">2014-07-11</time></small> <small class="task-subline"><time class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="2014-07-11 12:10">2014-07-11</time></small>
</div> </div>
<div class="ticket-article-item agent note" data-id="23" id="article-23"> <div class="ticket-article-item agent note" data-id="23" id="article-23">
<div class="article-meta-clip top"> <div class="article-meta-clip top">
<div class="article-content-meta top hide"> <div class="article-content-meta top hide">
<div class="article-meta top"> <div class="article-meta top">
@ -189,7 +189,7 @@ Grüße, Peter</div>
<small class="task-subline"><time class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="2014-07-11 12:10">2014-07-11</time></small> <small class="task-subline"><time class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="2014-07-11 12:10">2014-07-11</time></small>
</div> </div>
<div class="ticket-article-item agent note" data-id="23" id="article-23"> <div class="ticket-article-item agent note" data-id="23" id="article-23">
<div class="article-meta-clip top"> <div class="article-meta-clip top">
<div class="article-content-meta top hide"> <div class="article-content-meta top hide">
<div class="article-meta top"> <div class="article-meta top">
@ -274,4 +274,4 @@ Oliver<br>
</div> </div>
</div> </div>
</div> </div>

View file

@ -97,15 +97,15 @@
</div> </div>
<div> <div>
You will find updates and patches at <a href="http://zammad.org/" target="_blank" title="http://zammad.org/">http://zammad.org/</a>. Online You will find updates and patches at <a href="https://zammad.org/" target="_blank" title="https://zammad.org/">https://zammad.org/</a>. Online
</div> </div>
<div> <div>
documentation is available at <a href="http://guides.zammad.org/" target="_blank" title="http://guides.zammad.org/">http://guides.zammad.org/</a>. You can also documentation is available at <a href="https://zammad.org/documentation/" target="_blank" title="https://zammad.org/documentation/>https://zammad.org/documentation/</a>. You can also
</div> </div>
<div> <div>
use our forums at <a href="http://forums.zammad.org/" target="_blank" title="http://forums.zammad.org/">http://forums.zammad.org/</a> get involved (discussions, contributing, ...) at <a href="https://zammad.org/participate" target="_blank" title="https://zammad.org/participate">https://zammad.org/participate</a>.
</div> </div>
<div> <div>
@ -121,7 +121,7 @@
</div> </div>
<div> <div>
The <a href="http://Zammad.org" target="_blank" title="http://Zammad.org">Zammad.org</a> Project The <a href="https://zammad.org" target="_blank" title="https://zammad.org">zammad.org</a> Project
</div> </div>
<div class="textBubble-overflowContainer hide"> <div class="textBubble-overflowContainer hide">
@ -625,7 +625,7 @@
<option selected value="1"> <option selected value="1">
Users Users
</option> </option>
</select> </select>
</div><span class="help-inline"></span> <span class="help-block"></span> </div><span class="help-inline"></span> <span class="help-block"></span>
</div> </div>
</div> </div>
@ -649,7 +649,7 @@
<option selected value="4"> <option selected value="4">
Hans Huber Hans Huber
</option> </option>
</select> </select>
</div><span class="help-inline"></span> <span class="help-block"></span> </div><span class="help-inline"></span> <span class="help-block"></span>
</div> </div>
</div> </div>
@ -677,7 +677,7 @@
<option value="3"> <option value="3">
pending reminder pending reminder
</option> </option>
</select> </select>
</div><span class="help-inline"></span> <span class="help-block"></span> </div><span class="help-inline"></span> <span class="help-block"></span>
</div> </div>
</div> </div>
@ -717,7 +717,7 @@
<option value="3"> <option value="3">
3 high 3 high
</option> </option>
</select> </select>
</div><span class="help-inline"></span> <span class="help-block"></span> </div><span class="help-inline"></span> <span class="help-block"></span>
</div> </div>
</div> </div>
@ -896,7 +896,7 @@
<option value="3"> <option value="3">
pending pending
</option> </option>
</select> </select>
</div> </div>
<div class="form-group is-changed"> <div class="form-group is-changed">
@ -912,7 +912,7 @@
<option value="3"> <option value="3">
3 high 3 high
</option> </option>
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
@ -932,7 +932,7 @@
<option selected value="1"> <option selected value="1">
Users Users
</option> </option>
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
@ -944,7 +944,7 @@
<option value="3"> <option value="3">
Felix Niklas Felix Niklas
</option> </option>
</select> </select>
</div> </div>
</form> </form>
@ -954,4 +954,4 @@
</div> </div>
</form> </form>
</div> </div>
</div> </div>

View file

@ -27,7 +27,7 @@
</div> </div>
</div> </div>
<div class="scrollPageHeader tabsSidebar-sidebarSpacer" <div class="scrollPageHeader tabsSidebar-sidebarSpacer"
data-anchor-target=".ticketZoom .page-header" data-anchor-target=".ticketZoom .page-header"
data-128-top-bottom="transform: translateY(-64px);" data-128-top-bottom="transform: translateY(-64px);"
data-64-top-bottom="transform: translateY(0px);" data-64-top-bottom="transform: translateY(0px);"
@ -57,7 +57,7 @@
<h1 contenteditable="true" class="ticket-title-update" data-placeholder="Enter Title...">Welcome to Zammad! We want to entertain you and your whole family!</h1> <h1 contenteditable="true" class="ticket-title-update" data-placeholder="Enter Title...">Welcome to Zammad! We want to entertain you and your whole family!</h1>
</div> </div>
<div class="ticket-meta"> <div class="ticket-meta">
<small class="task-subline">Ticket# <span class="ticket-number">10001</span> - erstellte <span class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="11.07.2014 12:10">11.07.2014</span> <small class="task-subline">Ticket# <span class="ticket-number">10001</span> - erstellte <span class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="11.07.2014 12:10">11.07.2014</span>
</small> </small>
</div> </div>
</div> </div>
@ -86,12 +86,12 @@
<br/> <br/>
Thank you for installing Zammad.<br/> Thank you for installing Zammad.<br/>
<br/> <br/>
You will find updates and patches at <a href="http://zammad.org/" title="http://zammad.org/" target="_blank">http://zammad.org/</a>. Online<br/> You will find updates and patches at <a href="https://zammad.org/" title="https://zammad.org/" target="_blank">https://zammad.org/</a>. Online<br/>
documentation is available at <a href="http://guides.zammad.org/" title="http://guides.zammad.org/" target="_blank">http://guides.zammad.org/</a>. You can also<br/> documentation is available at <a href="https://zammad.org/documentation/" title="https://zammad.org/documentation/" target="_blank">https://zammad.org/documentation/</a>. Get involved<br/>
use our forums at <a href="http://forums.zammad.org/" title="http://forums.zammad.org/" target="_blank">http://forums.zammad.org/</a><br/> (discussions, contributing, ...) at <a href="https://zammad.org/participate" title="https://zammad.org/participate" target="_blank">https://zammad.org/participate</a>.<br/>
<br/> <br/>
Regards,<br/> Regards,<br/>
The <a href="http://Zammad.org" title="http://Zammad.org" target="_blank">Zammad.org</a> Project The <a href="https://zammad.org" title="https://zammad.org" target="_blank">zammad.org</a> Project
</div> </div>
<div class="textBubble-overflowContainer"> <div class="textBubble-overflowContainer">
<div class="btn btn--text js-unfold"><%- @T('See more') %></div> <div class="btn btn--text js-unfold"><%- @T('See more') %></div>
@ -130,7 +130,7 @@
<small class="task-subline"><time class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="2014-07-11 12:10">2014-07-11</time></small> <small class="task-subline"><time class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="2014-07-11 12:10">2014-07-11</time></small>
</div> </div>
<div class="ticket-article-item agent note" data-id="23" id="article-23"> <div class="ticket-article-item agent note" data-id="23" id="article-23">
<div class="article-meta-clip top"> <div class="article-meta-clip top">
<div class="article-content-meta top hide"> <div class="article-content-meta top hide">
<div class="article-meta top"> <div class="article-meta top">
@ -219,7 +219,7 @@
<small class="task-subline"><time class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="2014-07-11 12:10">2014-07-11</time></small> <small class="task-subline"><time class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" title="2014-07-11 12:10">2014-07-11</time></small>
</div> </div>
<div class="ticket-article-item agent note" data-id="23" id="article-23"> <div class="ticket-article-item agent note" data-id="23" id="article-23">
<div class="article-meta-clip top"> <div class="article-meta-clip top">
<div class="article-content-meta top hide"> <div class="article-content-meta top hide">
<div class="article-meta top"> <div class="article-meta top">
@ -655,4 +655,4 @@
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
<div class="alert alert--danger hidden" role="alert"></div> <div class="alert alert--danger hidden" role="alert"></div>
<p> <p>
<%- @T('The tutorial on how to manage a %s is hosted on our [online documentation](http://zammad.org/documentation/channel/twitter).', 'Twitter App') %> <%- @T('The tutorial on how to manage a %s is hosted on our [online documentation](https://zammad.org/documentation/channel/twitter).', 'Twitter App') %>
</p> </p>
<fieldset> <fieldset>
<h2><%- @T('Enter your %s App Keys', 'Twitter') %></h2> <h2><%- @T('Enter your %s App Keys', 'Twitter') %></h2>
@ -26,4 +26,4 @@
<input class="form-control js-select" readonly value="<%= @callbackUrl %>"> <input class="form-control js-select" readonly value="<%= @callbackUrl %>">
</div> </div>
</div> </div>
</fieldset> </fieldset>

View file

@ -3029,9 +3029,9 @@ Ticket::Article.create(
Thank you for choosing Zammad. Thank you for choosing Zammad.
You will find updates and patches at http://zammad.org/. Online You will find updates and patches at https://zammad.org/. Online
documentation is available at http://zammad.org/documentation. Get documentation is available at https://zammad.org/documentation. Get
involved (discussions, contributing, ...) at http://zammad.org/participate. involved (discussions, contributing, ...) at https://zammad.org/participate.
Regards, Regards,

View file

@ -6,8 +6,8 @@ class MaintenanceSessionMessageTest < TestCase
string = rand(99_999_999_999_999_999).to_s string = rand(99_999_999_999_999_999).to_s
title_html = "test <b>#{string}</b>" title_html = "test <b>#{string}</b>"
title_text = "test <b>#{string}<\/b>" title_text = "test <b>#{string}<\/b>"
message_html = "message <b>1äöüß</b> #{string}\n\n\nhttp://zammad.org" message_html = "message <b>1äöüß</b> #{string}\n\n\nhttps://zammad.org"
message_text = "message <b>1äöüß</b> #{string}\n\n\nhttp://zammad.org" message_text = "message <b>1äöüß</b> #{string}\n\n\nhttps://zammad.org"
# check #1 # check #1
browser1 = browser_instance browser1 = browser_instance

View file

@ -129,10 +129,10 @@ class AaaStringTest < ActiveSupport::TestCase
result = 'test' result = 'test'
assert_equal(result, html.html2text) assert_equal(result, html.html2text)
html = "\n<div><a href=\"http://zammad.org\">Best Tool of the World</a> html = "\n<div><a href=\"https://zammad.org\">Best Tool of the World</a>
some other text</div> some other text</div>
<div>" <div>"
result = "[1] Best Tool of the Worldsome other text\n\n[1] http://zammad.org" result = "[1] Best Tool of the Worldsome other text\n\n[1] https://zammad.org"
assert_equal(result, html.html2text) assert_equal(result, html.html2text)
html = "<!-- some comment --> html = "<!-- some comment -->
@ -397,10 +397,10 @@ P.S.: You receive this e-mail because you are listed in our database as person w
[1] http://www.teamviewer.example/en/company/unsubscribe.aspx?id=1009645&ident=xxx' [1] http://www.teamviewer.example/en/company/unsubscribe.aspx?id=1009645&ident=xxx'
assert_equal(result, html.html2text) assert_equal(result, html.html2text)
html = "<div><br>Dave and leaned her html = "<div><br>Dave and leaned her
days adam.</div><span style=\"color:#F7F3FF; font-size:8px\">Maybe we days adam.</div><span style=\"color:#F7F3FF; font-size:8px\">Maybe we
want any help me that.<br>Next morning charlie saw at their want any help me that.<br>Next morning charlie saw at their
father.<br>Well as though adam took out here. Melvin will be more money. father.<br>Well as though adam took out here. Melvin will be more money.
Called him into this one last thing.<br>Men----------------------- Called him into this one last thing.<br>Men-----------------------
<br />" <br />"
result = 'Dave and leaned her days adam. result = 'Dave and leaned her days adam.