- updated notice panel on login page with new feature list
- added Discord integration to feature list - updated "pathfinder_esi" version check composer.json
This commit is contained in:
@@ -27,6 +27,6 @@
|
||||
"monolog/monolog": "1.*",
|
||||
"websoftwares/monolog-zmq-handler": "0.2.*",
|
||||
"swiftmailer/swiftmailer": "^6.0",
|
||||
"exodus4d/pathfinder_esi": "dev-master#v1.2.1"
|
||||
"exodus4d/pathfinder_esi": "dev-master#v1.2.2"
|
||||
}
|
||||
}
|
||||
|
||||
BIN
public/img/landing/discord_1.jpg
Normal file
BIN
public/img/landing/discord_1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB |
BIN
public/img/landing/thumbs/discord_1.jpg
Normal file
BIN
public/img/landing/thumbs/discord_1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.7 KiB |
@@ -1,84 +0,0 @@
|
||||
/**
|
||||
* releases dialog (GitHub API repository information)
|
||||
*/
|
||||
|
||||
define([
|
||||
'jquery',
|
||||
'app/init',
|
||||
'app/util',
|
||||
'app/render',
|
||||
'bootbox'
|
||||
], function($, Init, Util, Render, bootbox) {
|
||||
'use strict';
|
||||
|
||||
let config = {
|
||||
releasesDialogClass: 'pf-releases-dialog' // class for "Releases" dialog
|
||||
};
|
||||
|
||||
/**
|
||||
* load release information in dialog
|
||||
* @param releasesDialog
|
||||
*/
|
||||
let loadDialogData = function(releasesDialog){
|
||||
|
||||
// lock dialog
|
||||
let dialogContent = releasesDialog.find('.modal-content');
|
||||
dialogContent.showLoadingAnimation();
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: Init.path.gitHubReleases,
|
||||
// data: updatedMapData,
|
||||
dataType: 'json'
|
||||
}).done(function(releasesData){
|
||||
requirejs(['text!templates/ui/timeline_element.html', 'mustache'], function(template, Mustache) {
|
||||
for(let i = 0; i < releasesData.length; i++){
|
||||
let releaseData = releasesData[i];
|
||||
|
||||
// template vars
|
||||
let data = {
|
||||
isFirst: (i === 0),
|
||||
isOdd: (i % 2 !== 0),
|
||||
releaseDate: releaseData.published_at.substr(0, 10),
|
||||
releaseData: releaseData
|
||||
};
|
||||
|
||||
let content = Mustache.render(template, data);
|
||||
releasesDialog.find('ul.timeline').append(content);
|
||||
}
|
||||
|
||||
$('.timeline > li').velocity('transition.expandIn', {
|
||||
stagger: 300,
|
||||
duration: 240,
|
||||
//display: 'auto',
|
||||
complete: function(){}
|
||||
});
|
||||
});
|
||||
}).fail(function( jqXHR, status, error) {
|
||||
let reason = status + ' ' + jqXHR.status + ': ' + error;
|
||||
Util.showNotify({title: jqXHR.status + ': login', text: reason, type: 'error'});
|
||||
}).always(function() {
|
||||
dialogContent.hideLoadingAnimation();
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* show releases dialog
|
||||
*/
|
||||
$.fn.releasesDialog = function(){
|
||||
let content = '<ul class="timeline"></ul>';
|
||||
|
||||
let releasesDialog = bootbox.dialog({
|
||||
className: config.releasesDialogClass,
|
||||
title: 'Releases',
|
||||
size: 'large',
|
||||
message: content
|
||||
});
|
||||
|
||||
// after modal is shown =======================================================================
|
||||
releasesDialog.on('shown.bs.modal', function(e) {
|
||||
loadDialogData(releasesDialog);
|
||||
});
|
||||
};
|
||||
|
||||
});
|
||||
@@ -7,10 +7,11 @@
|
||||
<div class="panel-body no-padding text-align-center">
|
||||
<div class="price-features" style="min-height: inherit;">
|
||||
<ul class="list-unstyled text-left">
|
||||
<li><i class="fa fa-fw fa-angle-right"></i>New ship "mass log" feature added for wormholes <a target="_blank" href="https://github.com/exodus4d/pathfinder/issues/313">#313</a></li>
|
||||
<li><i class="fa fa-fw fa-angle-right"></i>New "connection panel" added. Compare multiple connections</li>
|
||||
<li><i class="fa fa-fw fa-angle-right"></i>Added custom panel layouts. Reorder panels by drag&drop <a target="_blank" href="https://github.com/exodus4d/pathfinder/issues/470">#470</a></li>
|
||||
<li><i class="fa fa-fw fa-angle-right"></i>Added all 80 wormhole types to "jump info" dialog </li>
|
||||
<li><i class="fa fa-fw fa-angle-right"></i>New <em>Discord</em> integration with <em>Webhooks</em> <a target="_blank" href="https://github.com/exodus4d/pathfinder/issues/547">#547</a></li>
|
||||
<li><i class="fa fa-fw fa-angle-right"></i>New feature added for sorting map tabs (drag&drop) <a target="_blank" href="https://github.com/exodus4d/pathfinder/issues/571">#571</a></li>
|
||||
<li><i class="fa fa-fw fa-angle-right"></i>New "map recovery" option added to admin section <a target="_blank" href="https://github.com/exodus4d/pathfinder/issues/547">#547</a></li>
|
||||
<li><i class="fa fa-fw fa-angle-right"></i>Improvements and fixes for ship "mass log" panel <a target="_blank" href="https://github.com/exodus4d/pathfinder/issues/560">#560</a></li>
|
||||
<li><i class="fa fa-fw fa-angle-right"></i>Improved system positions on map. Prevents overlapping. <a target="_blank" href="https://github.com/exodus4d/pathfinder/issues/570">#570</a></li>
|
||||
<li><i class="fa fa-fw fa-angle-double-right"></i>Complete <a href="javascript:void(0)" class="pf-navbar-version-info">changelog</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -514,7 +514,7 @@
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-9 col-lg-4">
|
||||
<h4>Mass Log <span class="label label-success">new</span></h4>
|
||||
<h4>Mass Log  <span class="label label-success">new</span></h4>
|
||||
<ul class="fa-ul pf-landing-list">
|
||||
<li><i></i>Track ship jump mass for wormholes</li>
|
||||
<li><i></i>Compare multiple connections by mass left</li>
|
||||
@@ -549,24 +549,24 @@
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-12 col-sm-3 col-lg-2">
|
||||
<a class="pf-animate-on-visible pf-animate" href="public/img/landing/slack_1.jpg" data-description="Slack Notification" data-gallery="#pf-gallery">
|
||||
<img class="pf-landing-image-preview pf-landing-image-preview-small" data-original="public/img/landing/thumbs/slack_1.jpg" width="160" height="160" alt="Slack Notification">
|
||||
<a class="pf-animate-on-visible pf-animate" href="public/img/landing/discord_1.jpg" data-description="Discord/Slack Notification" data-gallery="#pf-gallery">
|
||||
<img class="pf-landing-image-preview pf-landing-image-preview-small" data-original="public/img/landing/thumbs/discord_1.jpg" width="160" height="160" alt="DiscordSlack Notification">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-9 col-lg-4">
|
||||
<h4>Notification</h4>
|
||||
<h4>Discord/Slack integration <span class="label label-success">new</span></h4>
|
||||
<ul class="fa-ul pf-landing-list">
|
||||
<li><i></i>Send "rally point" push notifications</li>
|
||||
<li>
|
||||
<ul class="fa-ul">
|
||||
<li><i></i>Email, Slack, Desktop</li>
|
||||
<li><i></i>Discord, Slack, Desktop, Email</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><i></i>Send map logs to a custom <em>Slack</em> channel</li>
|
||||
<li><i></i>Send map logs to a custom <em>Discord</em> or <em>Slack</em> channel</li>
|
||||
<li>
|
||||
<ul class="fa-ul">
|
||||
<li><i></i>Slack WebHook API build in</li>
|
||||
<li><i></i>Discord/Slack WebHook API build in</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user