Changeset 3340756
- Timestamp:
- 08/07/2025 06:42:03 AM (8 months ago)
- Location:
- ai-wp-writer
- Files:
-
- 32 added
- 6 edited
-
tags/4.1.2 (added)
-
tags/4.1.2/assets (added)
-
tags/4.1.2/assets/css (added)
-
tags/4.1.2/assets/css/style.css (added)
-
tags/4.1.2/assets/images (added)
-
tags/4.1.2/assets/images/arrow-mod.png (added)
-
tags/4.1.2/assets/images/arrow.jpg (added)
-
tags/4.1.2/assets/images/bg-to-logo.png (added)
-
tags/4.1.2/assets/images/check.png (added)
-
tags/4.1.2/assets/images/cryptocloud.png (added)
-
tags/4.1.2/assets/images/doc.png (added)
-
tags/4.1.2/assets/images/lock.png (added)
-
tags/4.1.2/assets/images/logo.png (added)
-
tags/4.1.2/assets/images/paypal.png (added)
-
tags/4.1.2/assets/images/robokassa.png (added)
-
tags/4.1.2/assets/js (added)
-
tags/4.1.2/assets/js/app.js (added)
-
tags/4.1.2/assets/js/button.js (added)
-
tags/4.1.2/assets/js/image-block.js (added)
-
tags/4.1.2/assets/js/image-tiny-mce.js (added)
-
tags/4.1.2/assets/libs (added)
-
tags/4.1.2/assets/libs/charts.js (added)
-
tags/4.1.2/class.assistant.php (added)
-
tags/4.1.2/index.php (added)
-
tags/4.1.2/langs (added)
-
tags/4.1.2/langs/wp-ai-assistant-ru_RU.mo (added)
-
tags/4.1.2/langs/wp-ai-assistant-ru_RU.po (added)
-
tags/4.1.2/readme.txt (added)
-
tags/4.1.2/tpl (added)
-
tags/4.1.2/tpl/notice.php (added)
-
tags/4.1.2/tpl/options.php (added)
-
tags/4.1.2/tpl/workspace.php (added)
-
trunk/assets/css/style.css (modified) (4 diffs)
-
trunk/assets/js/app.js (modified) (3 diffs)
-
trunk/class.assistant.php (modified) (1 diff)
-
trunk/index.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/tpl/options.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ai-wp-writer/trunk/assets/css/style.css
r3334056 r3340756 297 297 } 298 298 299 #start-articles-generations #aiassist-loader{ 300 display: inline-block; 301 } 302 299 303 /* loader end */ 300 304 … … 1095 1099 transition: transform 0.2s ease-in-out; 1096 1100 } 1101 1102 .aiassist-rates-tabs{ 1103 display: flex; 1104 width: 50%; 1105 margin: auto; 1106 padding: 20px; 1107 } 1108 1109 .aiassist-rates-tab{ 1110 width: 200px; 1111 border: solid 1px #ccc; 1112 text-align: center; 1113 cursor: pointer; 1114 padding: 10px; 1115 } 1116 1117 .aiassist-rates-tab.active{ 1118 background: #fff; 1119 border-bottom: none; 1120 } 1121 1097 1122 /* tab rates end */ 1098 1123 … … 1696 1721 1697 1722 .pay-method.active{ 1723 background: #fff; 1698 1724 border: solid 1px rgb( 66, 179, 213 ); 1699 1725 } … … 2068 2094 .aiassist-rates-info{ 2069 2095 font-size: 14pt; 2096 text-align: center; 2070 2097 padding: 20px 0px 0px 20px; 2071 2098 } -
ai-wp-writer/trunk/assets/js/app.js
r3334056 r3340756 1155 1155 1156 1156 if( items.length ){ 1157 let articles = {};1158 1157 1159 1158 let c = 0; 1160 1159 let index = 0; 1160 let articles = {} 1161 1161 1162 items.each(function(){ 1162 1163 let e = $(this); 1163 1164 let id = e.find('.cats-item').val(); 1164 1165 1165 if( articles[ id ] == undefined )1166 articles[ id ] = [];1167 1168 1166 e.find('.aiassist-multi-themes .aiassist-multi-item').each(function(){ 1169 1167 let item = $(this); … … 1171 1169 1172 1170 if( theme !== '' ){ c++; 1173 articles[ id ].push( { theme: theme, keywords: e.find('.aiassist-multi-keywords .aiassist-multi-item:eq('+( item.index() - 1 )+')').val() } ); 1171 1172 if( c % 300 === 0 ) 1173 index++; 1174 1175 if( articles[ index ] == undefined ) 1176 articles[ index ] = {}; 1177 1178 if( articles[ index ][ id ] == undefined ) 1179 articles[ index ][ id ] = []; 1180 1181 articles[ index ][ id ].push( { theme: theme, keywords: e.find('.aiassist-multi-keywords .aiassist-multi-item:eq('+( item.index() - 1 )+')').val() } ); 1174 1182 $('.aiassist-articles-queue').append('<div class="aiassist-article-queue aiassist-queue"><div class="aiassist-article-item-close" data-key="'+( c - 1 )+'"></div><span class="aiassist-queue-keyword">'+ theme +'</span> <span class="aiassist-queue-status">'+( c==1 ? aiassist.locale['Generation in progress'] : aiassist.locale['In line'] )+'</span></div>'); 1175 1183 } 1184 1176 1185 }) 1177 1186 … … 1185 1194 textModel = $('#aiassist-change-text-model').val(); 1186 1195 1187 await app.request( { articles: articles, artPromt: artPromt, titlePromt: titlePromt, textModel: textModel, imageModel: imageModel, descPromt: descPromt, action: 'initArticlesGen', nonce: aiassist.nonce } ); 1196 $('#start-articles-generations').html('<div id="aiassist-loader"></div>'); 1197 1198 for( let k in articles ){ 1199 await app.sleep( 3 ); 1200 await app.request( { articles: articles[ k ], artPromt: artPromt, titlePromt: titlePromt, textModel: textModel, imageModel: imageModel, descPromt: descPromt, action: 'initArticlesGen', nonce: aiassist.nonce } ); 1201 } 1202 1203 $('#start-articles-generations').text( aiassist.locale['Start articles generation'] ); 1188 1204 1189 1205 $('.aiassist-article-item:not(:first)').remove(); -
ai-wp-writer/trunk/class.assistant.php
r3334056 r3340756 1440 1440 'Restore original / removing generated images' => __('Restore original / removing generated images', 'wp-ai-assistant'), 1441 1441 'Remove original images' => __('Remove original images', 'wp-ai-assistant'), 1442 'Start articles generation' => __('Start articles generation', 'wp-ai-assistant'), 1442 1443 ], 1443 1444 ] ); -
ai-wp-writer/trunk/index.php
r3334056 r3340756 1 1 <?php 2 2 /* 3 Version: 4.1 3 Version: 4.1.2 4 4 Plugin Name: AI WP Writer 5 5 Description: Fast generation of articles with images in Wordpress editor, automatic content writer on schedule, mass rewriting of articles. Powered by ChatGPT, GPT-4.1, GPT-4.1-mini, GPT-4.1-nano, o3-mini, Dalle 3, GPT-image, FLUX. -
ai-wp-writer/trunk/readme.txt
r3334056 r3340756 5 5 Tested up to: 6.8.2 6 6 Requires PHP: 5.6.0 7 Stable tag: 4.1 7 Stable tag: 4.1.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html -
ai-wp-writer/trunk/tpl/options.php
r3334067 r3340756 590 590 591 591 <div class="aiassist-rates-wrap"> 592 592 593 593 <div class="aiassist-rates-info"><?php _e('The subscription applies to all sites connected to your API key, and one common credit balance is used for all sites.', 'wp-ai-assistant') ?></div> 594 594
Note: See TracChangeset
for help on using the changeset viewer.