Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -9,7 +9,7 @@
|
||||
]
|
||||
},
|
||||
"app=blog&module=blogs&controller=blogs&do=form": {
|
||||
"lang_key": "menu__blog_blogs_blogs",
|
||||
"lang_key": "add_category",
|
||||
"restriction": "blogs_manage",
|
||||
"keywords": [
|
||||
"add blog"
|
||||
@@ -36,21 +36,6 @@
|
||||
"blog name"
|
||||
]
|
||||
},
|
||||
"app=blog&module=blogs&controller=blogs&searchResult=form_1_blog_enable_rss": {
|
||||
"lang_key": "blog_enable_rss",
|
||||
"restriction": "blogs_manage",
|
||||
"keywords": [
|
||||
"blog rss feed"
|
||||
]
|
||||
},
|
||||
"app=blog&module=blogs&controller=blogs&searchResult=form_1_blog_type": {
|
||||
"lang_key": "blog_type",
|
||||
"restriction": "blogs_manage",
|
||||
"keywords": [
|
||||
"blog author",
|
||||
"group blog"
|
||||
]
|
||||
},
|
||||
"app=blog&module=blogs&controller=blogs&searchResult=form_new_blog_enable_rss": {
|
||||
"lang_key": "blog_enable_rss",
|
||||
"restriction": "blogs_manage",
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<build>
|
||||
<module key="admin/blogs"><![CDATA[{"default_controller":"","protected":0,"default":1}]]></module>
|
||||
<module key="front/blogs"><![CDATA[{"default_controller":"browse","protected":0,"default":1}]]></module>
|
||||
<setting key="blog_allow_grid"><![CDATA[{"key":"blog_allow_grid","default":"1","report":"full"}]]></setting>
|
||||
<setting key="blog_allow_rss"><![CDATA[{"key":"blog_allow_rss","default":"1","report":"full"}]]></setting>
|
||||
<setting key="blog_allow_rssimport"><![CDATA[{"key":"blog_allow_rssimport","default":"1","report":"full"}]]></setting>
|
||||
<setting key="blog_enable_rating"><![CDATA[{"key":"blog_enable_rating","default":"0","report":"full"}]]></setting>
|
||||
<setting key="blog_enable_sidebar"><![CDATA[{"key":"blog_enable_sidebar","default":"0","report":"full"}]]></setting>
|
||||
<setting key="blog_view_mode"><![CDATA[{"key":"blog_view_mode","default":"grid","report":"bool"}]]></setting>
|
||||
<widget key="blogStatistics"><![CDATA[{"class":"\\IPS\\Widget\\StaticCache","restrict":[],"default_area":"","allow_reuse":false,"menu_style":"menu","embeddable":true}]]></widget>
|
||||
<widget key="entryFeed"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"modal","embeddable":true}]]></widget>
|
||||
<widget key="blogCommentFeed"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"modal","embeddable":true}]]></widget>
|
||||
<widget key="blogs"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"menu","embeddable":true}]]></widget>
|
||||
<acpsearch key="app=blog&module=blogs&controller=blogs"><![CDATA[{"lang_key":"menu__blog_blogs_blogs","restriction":"blogs_manage","keywords":["blogs","group blogs","manage blogs"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=blogs&do=form"><![CDATA[{"lang_key":"add_category","restriction":"blogs_manage","keywords":["add blog"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=blogs&searchResult=blog_desc_wrap"><![CDATA[{"lang_key":"blog_desc","restriction":"blogs_manage","keywords":["blog description"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=blogs&searchResult=blog_member_id"><![CDATA[{"lang_key":"blog_member_id","restriction":"blogs_manage","keywords":["blog author"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=blogs&searchResult=blog_name"><![CDATA[{"lang_key":"blog_name","restriction":"blogs_manage","keywords":["blog name"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=blogs&searchResult=form_new_blog_enable_rss"><![CDATA[{"lang_key":"blog_enable_rss","restriction":"blogs_manage","keywords":["blog rss feed","rss feed"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=blogs&searchResult=form_new_blog_type"><![CDATA[{"lang_key":"blog_type","restriction":"blogs_manage","keywords":["blog type","group blog"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=settings"><![CDATA[{"lang_key":"menu__blog_blogs_settings","restriction":"settings_manage","keywords":["blog settings"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=settings&searchResult=form_blog_allow_rss"><![CDATA[{"lang_key":"blog_allow_rss","restriction":"settings_manage","keywords":["blog rss export","rss export"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=settings&searchResult=form_blog_allow_rssimport"><![CDATA[{"lang_key":"blog_allow_rssimport","restriction":"settings_manage","keywords":["blog rss import","rss import"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=settings&searchResult=form_blog_enable_rating"><![CDATA[{"lang_key":"blog_enable_rating","restriction":"settings_manage","keywords":["blog ratings","ratings"]}]]></acpsearch>
|
||||
<acpsearch key="app=blog&module=blogs&controller=settings&searchResult=form_blog_enable_sidebar"><![CDATA[{"lang_key":"blog_enable_sidebar","restriction":"settings_manage","keywords":["sidebar","social"]}]]></acpsearch>
|
||||
<acpsearch key="app=core&module=members&controller=groups&searchResult=4_g_blog_allowlocal"><![CDATA[{"lang_key":"g_blog_allowlocal","restriction":"groups_manage","keywords":["blogs","blogs permission","create blogs","post blogs"]}]]></acpsearch>
|
||||
<acpsearch key="app=core&module=members&controller=groups&searchResult=g_blog_allowdelete"><![CDATA[{"lang_key":"g_blog_allowdelete","restriction":"groups_manage","keywords":["delete blogs","delete own blogs"]}]]></acpsearch>
|
||||
<acpsearch key="app=core&module=members&controller=groups&searchResult=g_blog_allowprivate"><![CDATA[{"lang_key":"g_blog_allowprivate","restriction":"groups_manage","keywords":["private blogs"]}]]></acpsearch>
|
||||
</build>
|
||||
@@ -5,7 +5,7 @@
|
||||
</td>
|
||||
<td dir='{dir}' align='left'>
|
||||
<p style='font-family: "Helvetica Neue", helvetica, sans-serif; margin: 0; font-size: 13px; font-weight: bold'>
|
||||
{$email->language->addToStack("x_created_entry_in", FALSE, array( 'sprintf' => array( $entry->author()->name, $entry->container()->_title ) ) )}
|
||||
{$email->language->addToStack("x_created_entry_in", FALSE, array( 'sprintf' => array( $entry->author()->name, $entry->container()->getTitleForLanguage( $email->language ) ) ) )}
|
||||
</p>
|
||||
<h2 style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 18px; font-weight: 500 !important; margin: 0">
|
||||
<a href='{$entry->url()}' style='text-decoration: none;'>{$entry->title}</a>
|
||||
@@ -25,7 +25,7 @@
|
||||
</strong>
|
||||
</p>
|
||||
</td>
|
||||
</tr>]]></template_content_html><template_data>$entry, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_created_entry_in", FALSE, array( 'sprintf' => array( $entry->author()->name, $entry->container()->_title ) ) )}: {$entry->title} ({$entry->url()})
|
||||
</tr>]]></template_content_html><template_data>$entry, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_created_entry_in", FALSE, array( 'htmlsprintf' => array( $entry->author()->name, $entry->container()->getTitleForLanguage( $email->language ) ) ) )}: {$entry->title} ({$entry->url()})
|
||||
]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>blog</template_app><template_name>digests__comment</template_name><template_content_html><![CDATA[<tr style='border-bottom: 1px solid #eeeeee'>
|
||||
<td dir='{dir}' width='40' align='center' valign='top' class=' '>
|
||||
<img src='{$comment->author()->get_photo( true, true )}' width='32' height='32' style='border: 1px solid #000; vertical-align: middle;'>
|
||||
@@ -41,5 +41,5 @@
|
||||
{$email->parseTextForEmail( $comment->content(), $email->language )|raw}
|
||||
</div>
|
||||
</td>
|
||||
</tr>]]></template_content_html><template_data>$comment, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_commented_entry", FALSE, array( 'sprintf' => array( $comment->author()->name ) ) )}: {$comment->item()->name} ({$comment->url()})
|
||||
</tr>]]></template_content_html><template_data>$comment, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_commented_entry", FALSE, array( 'htmlsprintf' => array( $comment->author()->name ) ) )}: {$comment->item()->name} ({$comment->url()})
|
||||
]]></template_content_plaintext><template_pinned>0</template_pinned></template></emails>
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"core": {
|
||||
"BBCode": {
|
||||
"blog": "IPS\\blog\\extensions\\core\\BBCode\\blog",
|
||||
"entry": "IPS\\blog\\extensions\\core\\BBCode\\entry"
|
||||
},
|
||||
"ContentRouter": {
|
||||
"Blog": "IPS\\blog\\extensions\\core\\ContentRouter\\Blog"
|
||||
},
|
||||
"CreateMenu": {
|
||||
"Entry": "IPS\\blog\\extensions\\core\\CreateMenu\\Entry"
|
||||
},
|
||||
"Dashboard": {
|
||||
"Overview": "IPS\\blog\\extensions\\core\\Dashboard\\Overview"
|
||||
},
|
||||
"EditorLocations": {
|
||||
"Blogs": "IPS\\blog\\extensions\\core\\EditorLocations\\Blogs",
|
||||
"Categories": "IPS\\blog\\extensions\\core\\EditorLocations\\Categories",
|
||||
"Entries": "IPS\\blog\\extensions\\core\\EditorLocations\\Entries"
|
||||
},
|
||||
"FileStorage": {
|
||||
"Blogs": "IPS\\blog\\extensions\\core\\FileStorage\\Blogs",
|
||||
"Entries": "IPS\\blog\\extensions\\core\\FileStorage\\Entries"
|
||||
},
|
||||
"FrontNavigation": {
|
||||
"Blogs": "IPS\\blog\\extensions\\core\\FrontNavigation\\Blogs"
|
||||
},
|
||||
"GroupForm": {
|
||||
"Blog": "IPS\\blog\\extensions\\core\\GroupForm\\Blog"
|
||||
},
|
||||
"LiveSearch": {
|
||||
"Blogs": "IPS\\blog\\extensions\\core\\LiveSearch\\Blogs"
|
||||
},
|
||||
"MemberFilter": {
|
||||
"Blog": "IPS\\blog\\extensions\\core\\MemberFilter\\Blog"
|
||||
},
|
||||
"MemberSync": {
|
||||
"Blog": "IPS\\blog\\extensions\\core\\MemberSync\\Blog"
|
||||
},
|
||||
"ModeratorPermissions": {
|
||||
"Blogs": "IPS\\blog\\extensions\\core\\ModeratorPermissions\\Blogs"
|
||||
},
|
||||
"OverviewStatistics": {
|
||||
"Blogs": "IPS\\blog\\extensions\\core\\OverviewStatistics\\Blogs"
|
||||
},
|
||||
"Profile": {
|
||||
"blog": "IPS\\blog\\extensions\\core\\Profile\\blog"
|
||||
},
|
||||
"Queue": {
|
||||
"RebuildEntryImages": "IPS\\blog\\extensions\\core\\Queue\\RebuildEntryImages"
|
||||
},
|
||||
"RssImport": {
|
||||
"RssImport": "IPS\\blog\\extensions\\core\\RssImport\\RssImport"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -29,16 +29,23 @@
|
||||
"real": "app=blog&module=blogs&controller=view&do=rss",
|
||||
"alias": "blog/entry-{#id}-{?}"
|
||||
},
|
||||
"blogs_blog_cat": {
|
||||
"friendly": "blog/{#id}-{?0}/{#cat}-{?1}",
|
||||
"real": "app=blog&module=blogs&controller=view",
|
||||
"seoPagination": true
|
||||
},
|
||||
"blogs_blog": {
|
||||
"friendly": "blog/{#id}-{?}",
|
||||
"real": "app=blog&module=blogs&controller=view",
|
||||
"verify": "\\IPS\\blog\\Blog"
|
||||
"verify": "\\IPS\\blog\\Blog",
|
||||
"seoPagination": true
|
||||
},
|
||||
"blog_entry": {
|
||||
"friendly": "entry/{#id}-{?}",
|
||||
"real": "app=blog&module=blogs&controller=entry",
|
||||
"verify": "\\IPS\\blog\\Entry",
|
||||
"alias": "blog/{!}/entry-{#id}-{?}"
|
||||
"alias": "blog/{!}/entry-{#id}-{?}",
|
||||
"seoPagination": true
|
||||
},
|
||||
"blog_submit": {
|
||||
"friendly": "submit",
|
||||
@@ -48,6 +55,11 @@
|
||||
"friendly": "create",
|
||||
"real": "app=blog&module=blogs&controller=create"
|
||||
},
|
||||
"blog_category": {
|
||||
"friendly": "category/{#id}-{?}",
|
||||
"real": "app=blog&module=blogs&controller=browse",
|
||||
"verify": "\\IPS\\blog\\Category"
|
||||
},
|
||||
"blogs": {
|
||||
"friendly": "",
|
||||
"real": "app=blog&module=blogs&controller=browse",
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"blog_category_1": "General"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<javascript app="blog">
|
||||
<file javascript_app="blog" javascript_location="front" javascript_path="controllers/browse" javascript_name="ips.browse.grid.js" javascript_type="controller" javascript_version="103038" javascript_position="1000050"><![CDATA[/**
|
||||
<file javascript_app="blog" javascript_location="front" javascript_path="controllers/browse" javascript_name="ips.browse.grid.js" javascript_type="controller" javascript_version="105100" javascript_position="1000150"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -37,7 +37,7 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="blog" javascript_location="front" javascript_path="controllers/browse" javascript_name="ips.browse.list.js" javascript_type="controller" javascript_version="103038" javascript_position="1000050">/**
|
||||
<file javascript_app="blog" javascript_location="front" javascript_path="controllers/browse" javascript_name="ips.browse.list.js" javascript_type="controller" javascript_version="105100" javascript_position="1000150">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -66,6 +66,297 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="blog" javascript_location="front" javascript_path="controllers/view" javascript_name="ips.view.manageCategories.js" javascript_type="controller" javascript_version="105100" javascript_position="1000100"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.view.manageCategories.js - Blog manage categories controller
|
||||
*
|
||||
* Author: Matt Mecham
|
||||
*/
|
||||
;( function($, _, undefined){
|
||||
"use strict";
|
||||
|
||||
ips.controller.register('blog.front.view.manageCategories', {
|
||||
_sortableElem: null,
|
||||
|
||||
initialize: function () {
|
||||
this.on( 'click', '[data-action="delete"]', this.delete );
|
||||
this.on( 'click', '[data-action="edit"]', this.edit );
|
||||
this.on( 'click', '[data-role="saveChanges"]', this.saveChanges );
|
||||
this.on( 'click', '[data-role="cancelChanges"]', this.cancelEditing );
|
||||
|
||||
|
||||
/* Cancel edits */
|
||||
var _this = this;
|
||||
$( document )
|
||||
.on( 'keydown', function (e) {
|
||||
if( e.keyCode == ips.ui.key.ESCAPE ){
|
||||
_this.cancelEditing();
|
||||
}
|
||||
});
|
||||
|
||||
/* Save button changes */
|
||||
$('.ipsTabs ul[role="tablist"] a').on( 'click', this.tabChange );
|
||||
$('.ipsForm .ipsToolList').append( ips.templates.render('blog.view.addButton') );
|
||||
$('[data-action="addNew"]').on( 'click', _.bind( this.newRow, this ) );
|
||||
|
||||
this.renderList();
|
||||
this.setup();
|
||||
},
|
||||
|
||||
setup: function () {
|
||||
var self = this;
|
||||
ips.loader.get( ['core/interface/jquery/jquery-ui.js'] ).then( function () {
|
||||
self.scope.find('[data-role="tableRows"]')
|
||||
.sortable({
|
||||
placeholder: 'sortable-placeholder',
|
||||
handle: '[data-role="sortHandle"]',
|
||||
items: '> li',
|
||||
forcePlaceholderSize: true,
|
||||
update: function () {
|
||||
var data = self.scope.find('[data-role="tableRows"]').sortable( 'toArray', { attribute: 'data-category-id' } )
|
||||
var url = '?app=blog&module=blogs&controller=view&do=categoriesReorder&id=' + self.scope.attr('data-blog-id');
|
||||
|
||||
ips.getAjax()( url, {
|
||||
data: {
|
||||
ajax_order: data
|
||||
},
|
||||
method: 'POST'
|
||||
})
|
||||
.done( function() {
|
||||
ips.ui.flashMsg.show( ips.getString('entry_cat_order_saved') );
|
||||
})
|
||||
.fail( function () {
|
||||
window.location = url + "&ajax_order=" + data + "&csrfKey=" + ips.getSetting('csrfKey');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Debug.log( "Sortable categories initialized" );
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Cancel all editing
|
||||
*
|
||||
* @param {event} e Event object
|
||||
* @returns {void}
|
||||
*/
|
||||
cancelEditing: function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
var _this = this;
|
||||
this.scope.find('input[type="text"][name^="blog_name_"]').each( function( i ) {
|
||||
if ( ! $(this).hasClass('ipsHide') ) {
|
||||
var id = $(this).attr('data-role').replace( /^input_/, '' );
|
||||
|
||||
if( id == 'new' )
|
||||
{
|
||||
_this.renderList();
|
||||
}
|
||||
else
|
||||
{
|
||||
_this._cancelEditingRow( id );
|
||||
}
|
||||
}
|
||||
} );
|
||||
},
|
||||
|
||||
/**
|
||||
* Cancel the text box editing
|
||||
*
|
||||
* @param {int} id Category ID
|
||||
* @returns {void}
|
||||
*/
|
||||
_cancelEditingRow: function( id ) {
|
||||
this.scope.find('[data-role="title_' + id + '"]').removeClass('ipsHide');
|
||||
this.scope.find('[data-role="input_' + id + '"]').addClass('ipsHide');
|
||||
this.scope.find('[data-role="saveChanges"][data-category-id="' + id + '"]').addClass('ipsHide');
|
||||
this.scope.find('[data-role="cancelChanges"][data-category-id="' + id + '"]').addClass('ipsHide');
|
||||
},
|
||||
|
||||
/**
|
||||
* Event handler for clicking the edit button
|
||||
*
|
||||
* @param {event} e Event object
|
||||
* @returns {void}
|
||||
*/
|
||||
newRow: function (e) {
|
||||
var listContainer = this.scope.find('[data-role="tableRows"]');
|
||||
|
||||
listContainer.append( ips.templates.render( 'blog.view.categoryRow', {
|
||||
cat: 'new',
|
||||
name: ''
|
||||
} ) );
|
||||
|
||||
$('[data-action="addNew"]').attr('disabled', true );
|
||||
$('[data-action="delete"][data-category-id="new"],[data-action="edit"][data-category-id="new"]').hide();
|
||||
$('body').find('[data-action="edit"][data-category-id="new"]').click();
|
||||
},
|
||||
|
||||
/**
|
||||
* Re-draws the list of categories
|
||||
*
|
||||
*/
|
||||
renderList: function() {
|
||||
var _this = this;
|
||||
|
||||
ips.getAjax()( '?app=blog&module=blogs&controller=view&do=categoriesJson&id=' + this.scope.attr('data-blog-id') )
|
||||
.done( function (response) {
|
||||
if( response.categories.length ){
|
||||
var listContainer = _this.scope.find('[data-role="tableRows"]');
|
||||
listContainer.html('');
|
||||
var json = response.categories;
|
||||
|
||||
for( var i = 0; i < json.length; i++ ){
|
||||
listContainer.append( ips.templates.render( 'blog.view.categoryRow', {
|
||||
cat: json[i].id,
|
||||
name: json[i].name
|
||||
} ) );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
||||
$('[data-action="addNew"]').attr('disabled', false );
|
||||
},
|
||||
|
||||
/**
|
||||
* Event handler for clicking the edit button
|
||||
*
|
||||
* @param {event} e Event object
|
||||
* @returns {void}
|
||||
*/
|
||||
tabChange: function (e) {
|
||||
|
||||
if ( ! $('#form_tab_blog_entry_categories').hasClass('ipsTabs_activeItem') ) { // This looks back to front but the tab status is changed after this has fired
|
||||
$('button[type="submit"]').addClass('ipsHide');
|
||||
$('button[data-action="addNew"]').removeClass('ipsHide');
|
||||
} else {
|
||||
$('button[type="submit"]').removeClass('ipsHide');
|
||||
$('button[data-action="addNew"]').addClass('ipsHide');
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Event handler for clicking the edit button
|
||||
*
|
||||
* @param {event} e Event object
|
||||
* @returns {void}
|
||||
*/
|
||||
edit: function (e) {
|
||||
e.preventDefault();
|
||||
var a = $( e.currentTarget );
|
||||
var id = a.attr('data-category-id');
|
||||
var title = this.scope.find('[data-role="title_' + id + '"]');
|
||||
var input = this.scope.find('[data-role="input_' + id + '"]');
|
||||
var saveButton = this.scope.find('[data-role="saveChanges"][data-category-id="' + id + '"]');
|
||||
var cancelLink = this.scope.find('[data-role="cancelChanges"][data-category-id="' + id + '"]');
|
||||
|
||||
/* Are we already editing? */
|
||||
if ( ! input.hasClass('ipsHide') ) {
|
||||
this._cancelEditingRow( id );
|
||||
return;
|
||||
}
|
||||
|
||||
title.addClass('ipsHide');
|
||||
input.val( title.html() );
|
||||
input.removeClass('ipsHide');
|
||||
saveButton.removeClass('ipsHide');
|
||||
cancelLink.removeClass('ipsHide');
|
||||
},
|
||||
|
||||
/**
|
||||
* Event handler for clicking a save changes button
|
||||
*
|
||||
* @param {event} e Event object
|
||||
* @returns {void}
|
||||
*/
|
||||
saveChanges: function (e) {
|
||||
e.preventDefault();
|
||||
var a = $( e.currentTarget );
|
||||
var id = a.attr('data-category-id');
|
||||
var title = this.scope.find('[data-role="title_' + id + '"]');
|
||||
var input = this.scope.find('[data-role="input_' + id + '"]');
|
||||
var _this = this;
|
||||
|
||||
var langBit = a.html();
|
||||
a.html(' ').addClass('ipsField_loading');
|
||||
|
||||
ips.getAjax()( '?app=blog&module=blogs&controller=view&do=editCategoryName&id=' + this.scope.attr('data-blog-id') + '&cat=' + id, {
|
||||
data: {
|
||||
name: input.val()
|
||||
},
|
||||
type: 'post'
|
||||
} )
|
||||
.done( function (response) {
|
||||
_this.renderList();
|
||||
} )
|
||||
.fail( function (response) {
|
||||
a.html( langBit ).removeClass('ipsField_loading');
|
||||
ips.ui.flashMsg.show( response.responseJSON );
|
||||
} );
|
||||
},
|
||||
|
||||
/**
|
||||
* Event handler for clicking a delete button
|
||||
*
|
||||
* @param {event} e Event object
|
||||
* @returns {void}
|
||||
*/
|
||||
delete: function (e) {
|
||||
e.preventDefault();
|
||||
var a = $( e.currentTarget );
|
||||
var id = a.attr('data-category-id');
|
||||
var _this = this;
|
||||
|
||||
ips.ui.alert.show({
|
||||
type: 'confirm',
|
||||
message: ips.getString('blog_category_confirm_delete'),
|
||||
subText: ips.getString('blog_category_confirm_delete_desc'),
|
||||
icon: 'info',
|
||||
callbacks: {
|
||||
ok: function () {
|
||||
if ( a.attr('data-category-id') == 'new' ) {
|
||||
_this.renderList();
|
||||
} else {
|
||||
ips.getAjax()( '?app=blog&module=blogs&controller=view&do=deleteCategory&id=' + _this.scope.attr('data-blog-id') + '&cat=' + id )
|
||||
.done( function (response) {
|
||||
_this.renderList();
|
||||
} )
|
||||
.fail( function (response) {
|
||||
ips.ui.flashMsg.show( response.responseJSON );
|
||||
} );
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="blog" javascript_location="front" javascript_path="templates" javascript_name="ips.templates.view.js" javascript_type="template" javascript_version="105100" javascript_position="1000050"><![CDATA[/* CLASS LIST TEMPLATES */
|
||||
ips.templates.set('blog.view.addButton', "\
|
||||
<button type=\"button\" class=\"ipsButton ipsButton_primary ipsHide\" data-action=\"addNew\">{{#lang}}manage_cats_new_row{{/lang}}</button>\
|
||||
");
|
||||
|
||||
ips.templates.set('blog.view.categoryRow', "\
|
||||
<li class=\"ipsDataItem ipsClearfix\" itemprop=\"itemListElement\" data-category-id=\"{{cat}}\">\
|
||||
<div class=\"ipsDataItem_main\">\
|
||||
<span data-role=\"sortHandle\" class=\"ipsCursor_drag\"><i class=\"fa fa-bars\"></i></span> \
|
||||
<span class=\"ipsDataItem_title\" data-role=\"title_{{cat}}\">{{name}}</span>\
|
||||
<input type=\"text\" name=\"blog_name_{{cat}}\" value=\"\" data-role=\"input_{{cat}}\" class=\"ipsHide\">\
|
||||
<a href=\"#\" data-role=\"saveChanges\" data-category-id=\"{{cat}}\" class=\"ipsHide ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow\" data-ipstooltip=\"\" title=\"{{#lang}}save{{/lang}}\">{{#lang}}save{{/lang}}</a>\
|
||||
<a href=\"#\" data-role=\"cancelChanges\" data-category-id=\"{{cat}}\" class=\"ipsHide\" data-ipstooltip=\"\" title=\"{{#lang}}cancel{{/lang}}\">{{#lang}}cancel{{/lang}}</a>\
|
||||
</div>\
|
||||
<div class=\"ipsDataItem_generic ipsDataItem_size3 cBlog_manage_edit ipsPos_top ipsType_right\">\
|
||||
<a href=\"#\" data-action=\"delete\" data-category-id=\"{{cat}}\" class=\"ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsPos_right\" data-ipstooltip title=\"{{#lang}}delete{{/lang}}\"><i class=\"fa fa-times-circle\"></i></a>\
|
||||
<a href=\"#\" data-action=\"edit\" data-category-id=\"{{cat}}\" class=\"ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsPos_right\" data-ipstooltip title=\"{{#lang}}edit{{/lang}}\"><i class\=\"fa fa-pencil\"></i></a>\
|
||||
</div>\
|
||||
</li>\
|
||||
");
|
||||
]]></file>
|
||||
<order app="global" path="/dev/js//framework/">templates
|
||||
common/ips.loader.js
|
||||
common/ui
|
||||
@@ -76,9 +367,11 @@ controllers</order>
|
||||
jquery
|
||||
mustache
|
||||
jstz
|
||||
IntersectionObserver
|
||||
Debug.js
|
||||
app.js</order>
|
||||
<order app="global" path="/dev/js//library//jquery">jquery.js
|
||||
jquery-migrate.js
|
||||
jquery.history.js
|
||||
jquery.transform.js</order>
|
||||
<order app="global" path="/dev/js//library//linkify">linkify.min.js
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<language>
|
||||
<app key="blog" version="103038">
|
||||
<app key="blog" version="105100">
|
||||
<word key="__app_blog" js="0">Blogs</word>
|
||||
<word key="frontnavigation_blogs" js="0">Blogs</word>
|
||||
<word key="__indefart_blog_entry_comment" js="0">a comment on a blog entry</word>
|
||||
@@ -32,8 +32,8 @@
|
||||
<word key="blog_enable_rating" js="0">Enable blog ratings?</word>
|
||||
<word key="blog_settings_rss" js="0">RSS Settings</word>
|
||||
<word key="blog_allow_rssimport" js="0">Allow RSS imports</word>
|
||||
<word key="blog_allow_rssimport_desc" js="0"><![CDATA[Allowing users to import RSS feeds will make your site susceptible to <a href='https://owasp.org/www-community/attacks/Server_Side_Request_Forgery' target='_blank' rel='noopener'>SSRF attacks</a>. You should not allow RSS imports to Blog if untrusted users are permitted to create blogs, and you should only import RSS feeds from sources that are trusted and that do not allow user-submitted content to be included in the feed.]]></word>
|
||||
<word key="blog_allow_rss" js="0">Allow RSS exports</word>
|
||||
<word key="blog_allow_rss_desc" js="0"><![CDATA[Only content that is available to guests will be shown. For more options, create a <a href='{internal.app=core&module=discovery&controller=rss}'>Custom RSS Feed</a>]]></word>
|
||||
<word key="blog_allow_grid" js="0">Enable grid view</word>
|
||||
<word key="blog_allow_grid_desc" js="0">Grid view showcases blog entries as cards with space for a feature photo</word>
|
||||
<word key="blog_view_mode" js="0">Default view</word>
|
||||
@@ -90,7 +90,7 @@
|
||||
<word key="blog_entry_title" js="0">Title</word>
|
||||
<word key="blog_entry_tags" js="0">Tags</word>
|
||||
<word key="blog_entry_auto_follow" js="0"></word>
|
||||
<word key="blog_entry_auto_follow_suffix" js="0">Notify me when other comments are posted</word>
|
||||
<word key="blog_entry_auto_follow_suffix" js="0">Follow this entry</word>
|
||||
<word key="blog_entry_content" js="0">Content</word>
|
||||
<word key="blog_entry_date" js="0">Publish Time</word>
|
||||
<word key="blog_entry_publish" js="0">Publish</word>
|
||||
@@ -104,6 +104,9 @@
|
||||
<word key="entry_ip_address" js="0">IP Address</word>
|
||||
<word key="entry_gallery_album" js="0">Album</word>
|
||||
<word key="entry_gallery_album_desc" js="0">You can associate an album from the Gallery with this entry to display images alongside the entry content</word>
|
||||
<word key="entry_category_choice" js="0">Entry Category</word>
|
||||
<word key="entry_category_choice_new" js="0">Create a new entry category</word>
|
||||
<word key="entry_category_choice_existing" js="0">Use an existing entry category</word>
|
||||
<word key="block_entryFeed" js="0">Blog Entry Feed</word>
|
||||
<word key="block_entryFeed_desc" js="0">Create a feed of blog entries</word>
|
||||
<word key="widget_feed_container_blog_entry" js="0">Blogs</word>
|
||||
@@ -112,6 +115,8 @@
|
||||
<word key="view_this_entry" js="0">View the entry %s</word>
|
||||
<word key="block_blogStatistics" js="0">Blog Statistics</word>
|
||||
<word key="block_blogStatistics_desc" js="0">Shows general blog statistics</word>
|
||||
<word key="stats_overview_blogs" js="0">Blogs</word>
|
||||
<word key="stats_overview_blogs_desc" js="0">Blog creation date is not tracked so this is a total count and not limited by any date range restrictions applied</word>
|
||||
<word key="total_blogs" js="0">Total Blogs</word>
|
||||
<word key="total_entries" js="0">Total Entries</word>
|
||||
<word key="block_recentEntries" js="0">Recent Entries</word>
|
||||
@@ -140,6 +145,8 @@
|
||||
<word key="entry_posted" js="0">Entry posted by %s</word>
|
||||
<word key="entry_future_posted" js="0">Entry by %s publishes on</word>
|
||||
<word key="entry_images" js="0">Images</word>
|
||||
<word key="entry_posted_with_cat" js="0">Entry posted by %s in %s</word>
|
||||
<word key="entry_future_posted_with_cat" js="0">Entry by %s in %s publishes on</word>
|
||||
<word key="blog_comments" js="0">{!#[1:comment][?:comments]}</word>
|
||||
<word key="blog_entries" js="0">{!#[1:entry][?:entries]}</word>
|
||||
<word key="blog_views" js="0">{!#[1:view][?:views]}</word>
|
||||
@@ -161,16 +168,19 @@
|
||||
<word key="read_blog" js="0">You've read this entry</word>
|
||||
<word key="go_to_blog" js="0">Go to the blog %s</word>
|
||||
<word key="latest_entry" js="0">Latest Entry</word>
|
||||
<word key="entry_name_with_cat" js="0">%s in %s</word>
|
||||
<word key="no_entries" js="0">No blog entries have been created</word>
|
||||
<word key="pin_blog" js="0">Pin</word>
|
||||
<word key="unpin_blog" js="0">Unpin</word>
|
||||
<word key="blog_by" js="0">A blog by %s</word>
|
||||
<word key="group_blog_by" js="0">A group blog by %s</word>
|
||||
<word key="blog_by" js="0">A blog by %s in %s</word>
|
||||
<word key="group_blog_by" js="0">A group blog by %s in %s</word>
|
||||
<word key="club_blog_for" js="0">A club blog for %s</word>
|
||||
<word key="contributors_to_this" js="0">Contributors to this blog</word>
|
||||
<word key="num_contributors_to_this" js="0">{# [1:contributor][?:contributors]} to this blog</word>
|
||||
<word key="about_this_blog" js="0">About this blog</word>
|
||||
<word key="entries_in_this_blog" js="0">Entries in this blog</word>
|
||||
<word key="blog_category_viewing" js="0">Viewing category %s</word>
|
||||
<word key="blog_category_select" js="0">View a category</word>
|
||||
<word key="blog_rss_offline" js="0">RSS feed disabled</word>
|
||||
<word key="blog_rss_offline_admin" js="0">This RSS feed is disabled either because the setting "Allow RSS exports" is currently disabled in the ACP or it is disabled in the individual blog settings.</word>
|
||||
<word key="blog_enable_rss" js="0">Enable RSS Feed</word>
|
||||
@@ -212,7 +222,13 @@
|
||||
<word key="loc_blog_viewing_blog" js="0">Viewing Blog: %s</word>
|
||||
<word key="loc_blog_adding_entry" js="0">Adding a Blog Entry in: %s</word>
|
||||
<word key="loc_blog_viewing_entry" js="0">Viewing Entry: %s</word>
|
||||
<word key="modperms__core_Content_blog_Entry" js="0">Blogs</word>
|
||||
<word key="loc_blog_viewing_index_action" js="0">%s is browsing blogs</word>
|
||||
<word key="loc_blog_creating_action" js="0">%s is creating a blog</word>
|
||||
<word key="loc_blog_viewing_blog_action" js="0">%s is viewing a blog</word>
|
||||
<word key="loc_blog_adding_entry_action" js="0">%s is adding a blog entry</word>
|
||||
<word key="loc_blog_viewing_entry_action" js="0">%s is reading a blog entry</word>
|
||||
<word key="modperms__core_Content_blog_Entry" js="0">Blog Entries</word>
|
||||
<word key="modperms__blog_Blogs" js="0">Blogs</word>
|
||||
<word key="can_pin_blog_entry" js="0">Can pin entries?</word>
|
||||
<word key="can_unpin_blog_entry" js="0">Can unpin entries?</word>
|
||||
<word key="can_feature_blog_entry" js="0">Can feature entries?</word>
|
||||
@@ -221,6 +237,7 @@
|
||||
<word key="can_hide_blog_entry" js="0">Can hide entries?</word>
|
||||
<word key="can_unhide_blog_entry" js="0">Can unhide entries?</word>
|
||||
<word key="can_view_hidden_blog_entry" js="0">Can view hidden entries?</word>
|
||||
<word key="can_mod_blogs" js="0">Can move blogs?</word>
|
||||
<word key="can_move_blog_entry" js="0">Can move entries?</word>
|
||||
<word key="can_move_blog_entry_desc" js="0">Will be able to move entries only between the blogs they can create new content within.</word>
|
||||
<word key="can_lock_blog_entry" js="0">Can lock entries?</word>
|
||||
@@ -246,6 +263,7 @@
|
||||
<word key="g_blog_allowprivate_desc" js="0">Private blogs can only be seen by the members that the creator chooses.</word>
|
||||
<word key="g_blog_allowpoll" js="0">Can add polls to blog entries?</word>
|
||||
<word key="g_blog_allowcomment" js="0">Can comment on blog entries?</word>
|
||||
<word key="g_blog_allowcomment_guestreg" js="0"><![CDATA[<a href='{internal.admin.app=core&module=settings&controller=posting&searchResult=post_before_registering}'>Post Before Registering</a> is enabled, but will be bypassed when you enable this setting.]]></word>
|
||||
<word key="g_blog_allowownmod" js="0">Can moderate own blog entries?</word>
|
||||
<word key="g_blog_allowownmod_desc" js="0">The user will be able to: edit comments and entries, delete comments and entries, and lock entries from further comments.</word>
|
||||
<word key="g_blog_allowdelete" js="0">Can delete own blogs?</word>
|
||||
@@ -268,5 +286,30 @@
|
||||
<word key="blog_bm_filters" js="0">Blog</word>
|
||||
<word key="mf_has_blog" js="0">Member has a Blog?</word>
|
||||
<word key="blog_entry_cover_photo" js="0">Feature Photo</word>
|
||||
<word key="menu__blog_blogs_categories" js="0">Blogs</word>
|
||||
<word key="blog_categories" js="0">Blogs</word>
|
||||
<word key="blog_create_category" js="0">Create New Category</word>
|
||||
<word key="blog_categories_add_child" js="0">Add Blog</word>
|
||||
<word key="blog_category_id" js="0">Category</word>
|
||||
<word key="category_basic_settings" js="0">Basic Settings</word>
|
||||
<word key="blog_category_desc" js="0">Description</word>
|
||||
<word key="category_parent" js="0">Parent</word>
|
||||
<word key="category_desc_placeholder" js="0">Add a description...</word>
|
||||
<word key="__api_blog_categories" js="0">Categories</word>
|
||||
<word key="entry_category_id" js="0">Select Entry Category</word>
|
||||
<word key="blog_entry_new_category" js="0">Entry Category Name</word>
|
||||
<word key="blog_entry_category_new" js="0"> - Choose New - </word>
|
||||
<word key="blog_category_heading" js="0">Viewing entries in %s</word>
|
||||
<word key="blog_manage_entry_categories" js="0">Manage Categories</word>
|
||||
<word key="blog_entry_categories" js="0">Entry Categories</word>
|
||||
<word key="blog_error_missing_name" js="0">You need to enter a name for this category</word>
|
||||
<word key="blog_error_not_find_category" js="0">Could not locate that category</word>
|
||||
<word key="blog_categories_all" js="0">Show All</word>
|
||||
<word key="no_entries_in_cat" js="0">There are no entries in this category</word>
|
||||
<word key="__api_blog_entrycategories" js="0">Entry Categories</word>
|
||||
<word key="blog_category_confirm_delete" js="1">Are you sure you want to delete this category?</word>
|
||||
<word key="blog_category_confirm_delete_desc" js="1">Existing entries in this category will be updated so that they are no longer in a category.</word>
|
||||
<word key="manage_cats_new_row" js="1">Add New Category</word>
|
||||
<word key="entry_cat_order_saved" js="1">Category order saved</word>
|
||||
</app>
|
||||
</language>
|
||||
@@ -2,13 +2,15 @@
|
||||
"admin": {
|
||||
"blogs": {
|
||||
"default_controller": "",
|
||||
"protected": 0
|
||||
"protected": 0,
|
||||
"default": 1
|
||||
}
|
||||
},
|
||||
"front": {
|
||||
"blogs": {
|
||||
"default_controller": "browse",
|
||||
"protected": 0
|
||||
"protected": 0,
|
||||
"default": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
+214
-201
@@ -379,6 +379,20 @@
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"blog_category_id": {
|
||||
"name": "blog_category_id",
|
||||
"type": "BIGINT",
|
||||
"length": 20,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
@@ -447,6 +461,16 @@
|
||||
"blog_allowguests",
|
||||
"blog_last_edate"
|
||||
]
|
||||
},
|
||||
"blog_category_id": {
|
||||
"type": "key",
|
||||
"name": "blog_category_id",
|
||||
"columns": [
|
||||
"blog_category_id"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
},
|
||||
"collation": "utf8mb4_unicode_ci",
|
||||
@@ -878,13 +902,53 @@
|
||||
},
|
||||
"entry_meta_data": {
|
||||
"name": "entry_meta_data",
|
||||
"type": "BIT",
|
||||
"type": "TINYINT",
|
||||
"length": 1,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": "0",
|
||||
"comment": "",
|
||||
"unsigned": true,
|
||||
"auto_increment": false
|
||||
},
|
||||
"entry_category_id": {
|
||||
"name": "entry_category_id",
|
||||
"type": "INT",
|
||||
"length": 10,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"entry_append_edit": {
|
||||
"name": "entry_append_edit",
|
||||
"type": "TINYINT",
|
||||
"length": 1,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": "0",
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"entry_edit_reason": {
|
||||
"name": "entry_edit_reason",
|
||||
"type": "VARCHAR",
|
||||
"length": 255,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
@@ -930,16 +994,6 @@
|
||||
"entry_last_update"
|
||||
]
|
||||
},
|
||||
"entry_category_id": {
|
||||
"type": "key",
|
||||
"name": "entry_category_id",
|
||||
"length": [
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"entry_blog_id"
|
||||
]
|
||||
},
|
||||
"entry_featured": {
|
||||
"type": "key",
|
||||
"name": "entry_featured",
|
||||
@@ -1112,18 +1166,16 @@
|
||||
"zerofill": false
|
||||
},
|
||||
"comment_text": {
|
||||
"allow_null": true,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": null,
|
||||
"length": 0,
|
||||
"name": "comment_text",
|
||||
"type": "TEXT",
|
||||
"unsigned": false,
|
||||
"type": "MEDIUMTEXT",
|
||||
"length": 0,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
},
|
||||
"comment_approved": {
|
||||
"allow_null": true,
|
||||
@@ -1239,10 +1291,105 @@
|
||||
"comment": "",
|
||||
"reporting": "count"
|
||||
},
|
||||
"blog_rss_import": {
|
||||
"name": "blog_rss_import",
|
||||
"blog_categories": {
|
||||
"name": "blog_categories",
|
||||
"columns": {
|
||||
"rss_id": {
|
||||
"category_id": {
|
||||
"allow_null": false,
|
||||
"auto_increment": true,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": null,
|
||||
"length": 5,
|
||||
"name": "category_id",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"category_seo_name": {
|
||||
"allow_null": true,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": null,
|
||||
"length": 255,
|
||||
"name": "category_seo_name",
|
||||
"type": "VARCHAR",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"category_position": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "0",
|
||||
"length": 5,
|
||||
"name": "category_position",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"category_parent": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "0",
|
||||
"length": 5,
|
||||
"name": "category_parent",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
"PRIMARY": {
|
||||
"type": "primary",
|
||||
"name": "PRIMARY",
|
||||
"length": [
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"category_id"
|
||||
]
|
||||
},
|
||||
"pg_position": {
|
||||
"type": "key",
|
||||
"name": "pg_position",
|
||||
"length": [
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"category_position"
|
||||
]
|
||||
},
|
||||
"pg_parent": {
|
||||
"type": "key",
|
||||
"name": "pg_parent",
|
||||
"length": [
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"category_parent"
|
||||
]
|
||||
}
|
||||
},
|
||||
"collation": "utf8mb4_unicode_ci",
|
||||
"engine": "InnoDB"
|
||||
},
|
||||
"blog_entry_categories": {
|
||||
"name": "blog_entry_categories",
|
||||
"columns": {
|
||||
"entry_category_id": {
|
||||
"allow_null": false,
|
||||
"auto_increment": true,
|
||||
"binary": false,
|
||||
@@ -1250,204 +1397,69 @@
|
||||
"decimals": null,
|
||||
"default": null,
|
||||
"length": 10,
|
||||
"name": "rss_id",
|
||||
"name": "entry_category_id",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"rss_blog_id": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "0",
|
||||
"length": 10,
|
||||
"name": "rss_blog_id",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"rss_url": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "",
|
||||
"length": 255,
|
||||
"name": "rss_url",
|
||||
"type": "VARCHAR",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"rss_auth_user": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "",
|
||||
"length": 255,
|
||||
"name": "rss_auth_user",
|
||||
"type": "VARCHAR",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"rss_auth_pass": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "",
|
||||
"length": 255,
|
||||
"name": "rss_auth_pass",
|
||||
"type": "VARCHAR",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"rss_last_import": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "0",
|
||||
"length": 10,
|
||||
"name": "rss_last_import",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"rss_tags": {
|
||||
"entry_category_name": {
|
||||
"allow_null": true,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": null,
|
||||
"length": 0,
|
||||
"name": "rss_tags",
|
||||
"type": "TEXT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"rss_member": {
|
||||
"name": "rss_member",
|
||||
"type": "BIGINT",
|
||||
"length": 20,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"allow_null": false,
|
||||
"default": "0",
|
||||
"comment": "",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"rss_import_show_link": {
|
||||
"name": "rss_import_show_link",
|
||||
"type": "VARCHAR",
|
||||
"length": 255,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "Text to show for link to full article",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
"PRIMARY": {
|
||||
"type": "primary",
|
||||
"name": "PRIMARY",
|
||||
"length": [
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"rss_id"
|
||||
]
|
||||
},
|
||||
"blog_time": {
|
||||
"type": "key",
|
||||
"name": "blog_time",
|
||||
"length": [
|
||||
null,
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"rss_blog_id",
|
||||
"rss_last_import"
|
||||
]
|
||||
},
|
||||
"rss_blog_id": {
|
||||
"type": "key",
|
||||
"name": "rss_blog_id",
|
||||
"length": [
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"rss_blog_id"
|
||||
]
|
||||
},
|
||||
"rss_last_import": {
|
||||
"type": "key",
|
||||
"name": "rss_last_import",
|
||||
"length": [
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"rss_last_import"
|
||||
]
|
||||
}
|
||||
},
|
||||
"comment": "",
|
||||
"reporting": "count"
|
||||
},
|
||||
"blog_rss_imported": {
|
||||
"name": "blog_rss_imported",
|
||||
"columns": {
|
||||
"rss_imported_guid": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "0",
|
||||
"length": 32,
|
||||
"name": "rss_imported_guid",
|
||||
"type": "CHAR",
|
||||
"name": "entry_category_name",
|
||||
"type": "VARCHAR",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"rss_imported_entry_id": {
|
||||
"entry_category_seo_name": {
|
||||
"allow_null": true,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": null,
|
||||
"length": 255,
|
||||
"name": "entry_category_seo_name",
|
||||
"type": "VARCHAR",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"entry_category_position": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "0",
|
||||
"length": 10,
|
||||
"name": "rss_imported_entry_id",
|
||||
"length": 5,
|
||||
"name": "entry_category_position",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"rss_imported_impid": {
|
||||
"entry_category_blog_id": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "",
|
||||
"length": 10,
|
||||
"name": "entry_category_blog_id",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"entry_category_count": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
@@ -1455,7 +1467,7 @@
|
||||
"decimals": null,
|
||||
"default": "0",
|
||||
"length": 10,
|
||||
"name": "rss_imported_impid",
|
||||
"name": "entry_category_count",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
@@ -1470,20 +1482,21 @@
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"rss_imported_guid"
|
||||
"entry_category_id"
|
||||
]
|
||||
},
|
||||
"rss_imported_impid": {
|
||||
"pg_position": {
|
||||
"type": "key",
|
||||
"name": "rss_imported_impid",
|
||||
"name": "pg_position",
|
||||
"length": [
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"rss_imported_impid"
|
||||
"entry_category_position"
|
||||
]
|
||||
}
|
||||
},
|
||||
"comment": ""
|
||||
"collation": "utf8mb4_unicode_ci",
|
||||
"engine": "InnoDB"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
{"blogrssimport":"P0Y0M0DT0H30M0S"}
|
||||
[]
|
||||
+617
-630
File diff suppressed because it is too large.
Load diff
@@ -283,5 +283,97 @@
|
||||
"103035": "4.3.6",
|
||||
"103036": "4.3.6",
|
||||
"103037": "4.3.6",
|
||||
"103038": "4.3.6"
|
||||
"103038": "4.3.6",
|
||||
"103039": "4.3.6",
|
||||
"104000": "4.4.0 Beta 1",
|
||||
"104001": "4.4.0 Beta 2",
|
||||
"104002": "4.4.0 Beta 3",
|
||||
"104004": "4.4.0 Beta 4",
|
||||
"104003": "4.4.0 Beta 4",
|
||||
"104005": "4.4.0",
|
||||
"104006": "4.4.0",
|
||||
"104007": "4.4.0",
|
||||
"104008": "4.4.0",
|
||||
"104009": "4.4.1",
|
||||
"104010": "4.4.1 Beta 2",
|
||||
"104011": "4.4.1",
|
||||
"104012": "4.4.1",
|
||||
"104013": "4.4.1",
|
||||
"104014": "4.4.1",
|
||||
"104015": "4.4.2 Beta 1",
|
||||
"104016": "4.4.2",
|
||||
"104017": "4.4.2",
|
||||
"104018": "4.4.2",
|
||||
"104019": "4.4.2",
|
||||
"104020": "4.4.2",
|
||||
"104021": "4.4.3 Beta 1",
|
||||
"104022": "4.4.3 Beta 2",
|
||||
"104023": "4.4.3",
|
||||
"104024": "4.4.3",
|
||||
"104025": "4.4.3",
|
||||
"104026": "4.4.4 Beta 1",
|
||||
"104027": "4.4.4",
|
||||
"104028": "4.4.4",
|
||||
"104029": "4.4.4",
|
||||
"104030": "4.4.5 Beta 1",
|
||||
"104031": "4.4.5 Beta 2",
|
||||
"104032": "4.4.5 Beta 2",
|
||||
"104033": "4.4.5",
|
||||
"104034": "4.4.5",
|
||||
"104035": "4.4.5",
|
||||
"104036": "4.4.5",
|
||||
"104037": "4.4.5",
|
||||
"104038": "4.4.6",
|
||||
"104039": "4.4.6",
|
||||
"104040": "4.4.6",
|
||||
"104041": "4.4.7 Beta 1",
|
||||
"104042": "4.4.7 Beta 2",
|
||||
"104043": "4.4.7 Beta 3",
|
||||
"104044": "4.4.7",
|
||||
"104045": "4.4.8 Beta 1",
|
||||
"104046": "4.4.8 Beta 2",
|
||||
"104047": "4.4.8",
|
||||
"104048": "4.4.9 Beta 1",
|
||||
"104049": "4.4.9",
|
||||
"104050": "4.4.9",
|
||||
"104051": "4.4.9",
|
||||
"104052": "4.4.9",
|
||||
"104053": "4.4.9.1",
|
||||
"104054": "4.4.9.1",
|
||||
"104055": "4.4.9.2",
|
||||
"104056": "4.4.9.2",
|
||||
"104057": "4.4.10 Beta 1",
|
||||
"104058": "4.4.10 Beta 2",
|
||||
"104059": "4.4.10 Beta 3",
|
||||
"104060": "4.4.10 Beta 4",
|
||||
"104061": "4.4.10",
|
||||
"104062": "4.4.10",
|
||||
"104063": "4.4.10",
|
||||
"104064": "4.4.10",
|
||||
"104065": "4.4.10",
|
||||
"104066": "4.4.10",
|
||||
"104067": "4.4.10",
|
||||
"104068": "4.4.10",
|
||||
"104069": "4.4.10",
|
||||
"105013": "4.5.0 Beta 1",
|
||||
"105014": "4.5.0 Beta 1",
|
||||
"105015": "4.5.0 Beta 2",
|
||||
"105016": "4.5.0 Beta 3",
|
||||
"105017": "4.5.0 Beta 4",
|
||||
"105018": "4.5.0 Beta 4",
|
||||
"105019": "4.5.0 Beta 4",
|
||||
"105020": "4.5.0 Beta 4",
|
||||
"105021": "4.5.0 Beta 5",
|
||||
"105022": "4.5.0 Beta 6",
|
||||
"105023": "4.5.0 Beta 6",
|
||||
"105024": "4.5.0 Beta 7",
|
||||
"105025": "4.5.0 Beta 8",
|
||||
"105026": "4.5.0 Beta 8",
|
||||
"105027": "4.5.0 Beta 8",
|
||||
"105028": "4.5.0 Beta 9",
|
||||
"105029": "4.5.0 Beta 10",
|
||||
"105030": "4.5.0 Beta 11",
|
||||
"105031": "4.5.0 Beta 11",
|
||||
"105032": "4.5.0 Beta 12",
|
||||
"105100": "4.5.0"
|
||||
}
|
||||
Reference in new issue
Block a user