Skip to content

Commit 4e7aad5

Browse files
committed
v4.13 ready
1 parent d054fe1 commit 4e7aad5

File tree

7 files changed

+49
-22
lines changed

7 files changed

+49
-22
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<img align="left" width="80" height="80" src="https://raw.githubusercontent.com/mbruel/ngPost/master/src/resources/icons/ngPost.png" alt="ngPost">
22

3-
# ngPost v4.12
3+
# ngPost v4.13
44

55
[Pour la version Française cliquez ici ;)](https://github.com/mbruel/ngPost/blob/master/README_FR.md)<br/>
66
<br/>
@@ -22,7 +22,7 @@ it is **translated in Chinese, Dutch, English, French, German, Portuguese and Sp
2222

2323
![ngPost_v4.3](https://raw.githubusercontent.com/mbruel/ngPost/master/pics/ngPost_v4.3.png)
2424

25-
[Releases are availables](https://github.com/mbruel/ngPost/releases/tag/v4.12) for: Linux 64bit, Windows (both 32bit and 64bit), MacOS and Raspbian (RPI 4). Soon for Android then iOS...
25+
[Releases are availables](https://github.com/mbruel/ngPost/releases/tag/v4.13) for: Linux 64bit, Windows (both 32bit and 64bit), MacOS and Raspbian (RPI 4). Soon for Android then iOS...
2626

2727
Here are the main features and advantages of ngPost:
2828
- **full obfuscation of the Article Header** : the Subject will be a UUID (as the msg-id) and a random Poster will be used. **Be Careful**, using this, you won't be able to find your post on Usenet (or any Indexers) if you lose the NZB file. But using this method is **completely safe**, **no need to obfuscate your files or even tp use a password**.
@@ -158,17 +158,17 @@ The following ones are for experimented posters:
158158

159159
### Linux 64bit portable release (compiled with Qt v5.12.6)
160160
if you don't want to build it and install the dependencies, you can also the portable release that includes everything.<br/>
161-
- download [ngPost_v4.12-x86_64.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12-x86_64.AppImage)
162-
- chmod 755 ngPost_v4.12-x86_64.AppImage
161+
- download [ngPost_v4.13-x86_64.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13-x86_64.AppImage)
162+
- chmod 755 ngPost_v4.13-x86_64.AppImage
163163
- launch it using the same syntax than describe in the section above
164164
- if you wish to keep the configuration file, edit the file **~/.ngPost** using [this model](https://raw.githubusercontent.com/mbruel/ngPost/master/ngPost.conf) (don't put the .conf extension)
165165

166-
PS: for older system with GLIBC < 2.24, here is a version compiled on Debian8 with GLIBC 2.19 and Qt v5.8.0: [ngPost_v4.12-x86_64_debian8.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12-x86_64_debian8.AppImage)
166+
PS: for older system with GLIBC < 2.24, here is a version compiled on Debian8 with GLIBC 2.19 and Qt v5.8.0: [ngPost_v4.13-x86_64_debian8.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13-x86_64_debian8.AppImage)
167167

168168

169169
### Raspbian release (armhf for Raspberry PI)
170-
- download [ngPost_v4.12-armhf.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12-armhf.AppImage)
171-
- chmod 755 ngPost_v4.12-armhf.AppImage
170+
- download [ngPost_v4.13-armhf.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13-armhf.AppImage)
171+
- chmod 755 ngPost_v4.13-armhf.AppImage
172172
- launch it using the same syntax than describe in the section above
173173
- if you wish to keep the configuration file, edit the file **~/.ngPost** using [this model](https://raw.githubusercontent.com/mbruel/ngPost/master/ngPost.conf) (don't put the .conf extension)
174174

@@ -190,7 +190,7 @@ RAR_EXTRA = -mx0 -mhe=on
190190

191191

192192
### Windows installer
193-
- just use the packager [ngPost_v4.12_x64_setup.exe](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12_x64_setup.exe) or [ngPost_v4.12_x86_setup.exe](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12_x86_setup.exe) for the 32bit version
193+
- just use the packager [ngPost_v4.13_x64_setup.exe](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13_x64_setup.exe) or [ngPost_v4.13_x86_setup.exe](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13_x86_setup.exe) for the 32bit version
194194
- edit **ngPost.conf** (in the installation folder) to add your server settings (you can put several).
195195
- launch **ngPost.exe** (GUI version)
196196
- or you can use it with the command line: **ngPost.exe** -i "your file or directory"
@@ -204,7 +204,7 @@ By default:
204204

205205

206206
### MacOS release built on High Sierra (v10.13)
207-
- download [ngPost_v4.12.dmg](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12.dmg)
207+
- download [ngPost_v4.13.dmg](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13.dmg)
208208
- launch it using the same syntax than describe in the section above
209209
- if you wish to keep the configuration file, edit the file **~/.ngPost** using [this model](https://raw.githubusercontent.com/mbruel/ngPost/master/ngPost.conf) (don't put the .conf extension)
210210

README_FR.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<img align="left" width="80" height="80" src="https://raw.githubusercontent.com/mbruel/ngPost/master/src/resources/icons/ngPost.png" alt="ngPost">
22

3-
# ngPost v4.12
3+
# ngPost v4.13
44

55
ngPost est un posteur pour Usenet en ligne de commande ou via une interface graphique développé en C++11/Qt5.<br/>
66
Il a été conçu pour être le plus rapide possible et offrir toutes les fonctionnalités utiles pour poster facilement et en toute sécurité.<br/>
@@ -21,7 +21,7 @@ Voici la liste des principales fonctionnalités et atouts de ngPost:
2121
![ngPost_v4.3](https://raw.githubusercontent.com/mbruel/ngPost/master/pics/ngPost_v4.3.png)
2222

2323

24-
[Les versions pour chacun des OS sont disponibles ici](https://github.com/mbruel/ngPost/releases/tag/v4.12), pour: Linux 64bit, Windows (32bit et 64bit), MacOS et Raspbian (RPI 4). Bientôt pour Android et iOS...
24+
[Les versions pour chacun des OS sont disponibles ici](https://github.com/mbruel/ngPost/releases/tag/v4.13), pour: Linux 64bit, Windows (32bit et 64bit), MacOS et Raspbian (RPI 4). Bientôt pour Android et iOS...
2525

2626

2727
### Fichier de configuration
@@ -190,17 +190,17 @@ Une alternative pour compiler est [d'installer QT](https://www.qt.io/download) e
190190

191191

192192
### version Linux portable: AppImage compilée avec Qt v5.12.6, GLIBC 2.24
193-
- téléchargez [ngPost_v4.12-x86_64.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12-x86_64.AppImage)
194-
- chmod 755 ngPost_v4.12-x86_64.AppImage
193+
- téléchargez [ngPost_v4.13-x86_64.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13-x86_64.AppImage)
194+
- chmod 755 ngPost_v4.13-x86_64.AppImage
195195
- si vous le lancez sans paramètres, l'interface graphique s'ouvrira, sinon c'est en mode ligne de commande. (cf ngPost --help -l fr)
196196
- pour le fichier de configuration, éditez le fichier **~/.ngPost** et copiez [ce modèle](https://raw.githubusercontent.com/mbruel/ngPost/master/ngPost_fr.conf) (ne pas mettre l'extension .conf!)
197197

198-
PS: pour des systèmes plus vieux GLIBC < 2.24, voici une version compilée sous Debian8 avec GLIBC 2.19 et Qt v5.8.0: [ngPost_v4.12-x86_64_debian8.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12-x86_64_debian8.AppImage)
198+
PS: pour des systèmes plus vieux GLIBC < 2.24, voici une version compilée sous Debian8 avec GLIBC 2.19 et Qt v5.8.0: [ngPost_v4.13-x86_64_debian8.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13-x86_64_debian8.AppImage)
199199

200200

201201
### version Raspbian portable (armhf pour Raspberry PI)
202-
- téléchargez [ngPost_v4.12-armhf.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12-armhf.AppImage)
203-
- chmod 755 ngPost_v4.12-armhf.AppImage
202+
- téléchargez [ngPost_v4.13-armhf.AppImage](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13-armhf.AppImage)
203+
- chmod 755 ngPost_v4.13-armhf.AppImage
204204
- si vous le lancez sans paramètres, l'interface graphique s'ouvrira, sinon c'est en mode ligne de commande. (cf ngPost --help -l fr)
205205
- pour le fichier de configuration, éditez le fichier **~/.ngPost** et copiez [ce modèle](https://raw.githubusercontent.com/mbruel/ngPost/master/ngPost_fr.conf) (ne pas mettre l'extension .conf!)
206206

@@ -221,15 +221,15 @@ RAR_EXTRA = -mx0 -mhe=on
221221
</pre>
222222

223223
### Windows installer
224-
- Utilisez l'installeur [ngPost_v4.12_x64_setup.exe](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12_x64_setup.exe) ou [ngPost_v4.12_x86_setup.exe](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12_x86_setup.exe) pour la version 32bit
224+
- Utilisez l'installeur [ngPost_v4.13_x64_setup.exe](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13_x64_setup.exe) ou [ngPost_v4.13_x86_setup.exe](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13_x86_setup.exe) pour la version 32bit
225225
- lancez l'application **ngPost.exe**, l'interface graphique s'ouvrira. Changez tous vos paramètres dont la langue puis cliquez sur **sauver**
226226
- vous pouvez bien sûr ensuite l'utiliser en ligne de commande. cf ngPost --help
227227

228228
**Know Issue with non SSL support:** you may need to install [msvc2015 redistribuables](https://www.microsoft.com/en-us/download/details.aspx?id=48145) as libssl depends on its APIs<br/>
229229

230230

231231
### MacOS release built on High Sierra (v10.13)
232-
- téléchargez [ngPost_v4.12.dmg](https://github.com/mbruel/ngPost/releases/download/v4.12/ngPost_v4.12.dmg)
232+
- téléchargez [ngPost_v4.13.dmg](https://github.com/mbruel/ngPost/releases/download/v4.13/ngPost_v4.13.dmg)
233233
- si vous le lancez sans paramètres, l'interface graphique s'ouvrira, sinon c'est en mode ligne de commande. (cf ngPost --help -l fr)
234234
- pour le fichier de configuration, éditez le fichier **~/.ngPost** et copiez [ce modèle](https://raw.githubusercontent.com/mbruel/ngPost/master/ngPost_fr.conf) (ne pas mettre l'extension .conf!)
235235

ngPost.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ nzbPath = /tmp
3939
#NZB_POST_CMD = zip "__nzbPath__.zip" "__nzbPath__"
4040
#NZB_POST_CMD = ~/scripts/postNZB.sh "__nzbPath__" "__groups__" __rarName__ __rarPass__ __sizeInByte__ __nbFiles__ __nbArticles__ __nbArticlesFailed__
4141
#NZB_POST_CMD = mysql -h localhost -D myDB -u myUser -pmyPass-e "INSERT INTO POST (release, rarName, rarPass, size) VALUES('__nzbName__', '__rarName__', '__rarPass__', '__sizeInByte__')"
42+
#NZB_POST_CMD = cmd.exe /C move "__nzbPath__" "C:\ngPost\nzb\__nzbName__{{__rarPass__}}.nzb"
4243

4344
## nzb files are normally all created in nzbPath
4445
## but using this option, the nzb of each monitoring folder will be stored in their own folder (created in nzbPath)
@@ -225,6 +226,7 @@ user = myUser
225226
pass = myPass
226227
connection = 30
227228
enabled = true
229+
nzbCheck = false
228230

229231
## You can add as many server if you have several providers by adding other "server" sections
230232
#[server]
@@ -235,4 +237,5 @@ enabled = true
235237
#pass = myOtherPass
236238
#connection = 15
237239
#enabled = false
240+
#nzbCheck = false
238241

release_notes.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,27 @@ TODO: include ParPar instead of par2cmdline?
1414

1515
TODO: auto RAR size and par2 parameters depending on the inputs size?
1616

17+
18+
####################################################
19+
### Release: ngPost v4.13 ###
20+
### date: 2020/10/18 ###
21+
####################################################
22+
23+
- no more giving up on Articles when their connection is down
24+
instead we put them back on the Stack so other connections could post them
25+
26+
- new --check option in CMD to test nzb files (using the NNTP Stat command)
27+
in conf, there is the new "nzbCheck" keyword for the servers,
28+
only those with it set up to true will be used for nzb checks (download)
29+
this allow to add non-blocks accounts for the checks with enabled to false
30+
31+
- Issue #82: handle deletion of the _packingJob
32+
33+
- Issue #81 : ngPost uses TMP_RAM even when folder is too big
34+
- Add log when using TMP_RAM and fix the reading of its RATIO
35+
36+
37+
1738
####################################################
1839
### Release: ngPost v4.12 ###
1940
### date: 2020/10/12 ###

src/NgPost.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2379,6 +2379,7 @@ void NgPost::saveConfig()
23792379
<< "#NZB_POST_CMD = zip \"__nzbPath__.zip\" \"__nzbPath__\"\n"
23802380
<< "#NZB_POST_CMD = ~/scripts/postNZB.sh \"__nzbPath__\" \"__groups__\" __rarName__ __rarPass__ __sizeInByte__ __nbFiles__ __nbArticles__ __nbArticlesFailed__\n"
23812381
<< "#NZB_POST_CMD = mysql -h localhost -D myDB -u myUser -pmyPass-e \"INSERT INTO POST (release, rarName, rarPass, size) VALUES('__nzbName__', '__rarName__', '__rarPass__', '__sizeInByte__')\"\n"
2382+
<< "#NZB_POST_CMD = cmd.exe /C move \"__nzbPath__\" \"C:\\ngPost\\nzb\\__nzbName__{{__rarPass__}}.nzb\"\n"
23822383
<< "" ;
23832384
for (const QString &nzbPostCmd : _nzbPostCmd)
23842385
stream << "NZB_POST_CMD = " << nzbPostCmd << "\n";
@@ -2591,6 +2592,7 @@ void NgPost::saveConfig()
25912592
<< "#pass = myOtherPass\n"
25922593
<< "#connection = 15\n"
25932594
<< "#enabled = false\n"
2595+
<< "#nzbCheck = false\n"
25942596
<< "\n";
25952597

25962598

src/PostingJob.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ void PostingJob::onDisconnectedConnection(NntpConnection *con)
423423
void PostingJob::onNntpFileStartPosting()
424424
{
425425
NntpFile *nntpFile = static_cast<NntpFile*>(sender());
426-
_log(QString("[%1][%2: %3] >>>>> %4").arg(timestamp()).arg(tr("avg. speed")).arg(avgSpeed()).arg(nntpFile->name()));
426+
if (!_ngPost->useHMI())
427+
_log(QString("[%1][%2: %3] >>>>> %4").arg(timestamp()).arg(tr("avg. speed")).arg(avgSpeed()).arg(nntpFile->name()));
427428
}
428429

429430
void PostingJob::onNntpFilePosted()
@@ -434,7 +435,7 @@ void PostingJob::onNntpFilePosted()
434435
if (_postWidget)
435436
emit filePosted(nntpFile->path(), nntpFile->nbArticles(), nntpFile->nbFailedArticles());
436437

437-
if (_ngPost->_dispFilesPosting)
438+
if (_ngPost->_dispFilesPosting && !_ngPost->useHMI())
438439
_log(QString("[%1][%2: %3] <<<<< %4").arg(timestamp()).arg(tr("avg. speed")).arg(avgSpeed()).arg(nntpFile->name()));
439440

440441
nntpFile->writeToNZB(_nzbStream, QString::fromStdString(_from));
@@ -461,7 +462,7 @@ void PostingJob::onNntpErrorReading()
461462
if (_postWidget)
462463
emit filePosted(nntpFile->path(), nntpFile->nbArticles(), nntpFile->nbArticles());
463464

464-
if (_ngPost->_dispFilesPosting)
465+
if (_ngPost->_dispFilesPosting && !_ngPost->useHMI())
465466
_log(tr("[avg. speed: %1] <<<<< %2").arg(avgSpeed()).arg(nntpFile->name()));
466467

467468
_filesInProgress.remove(nntpFile);

src/ngPost.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
QT += network gui
22
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
33

4-
DEFINES += "APP_VERSION=\"4.12\""
4+
DEFINES += "APP_VERSION=\"4.13\""
55

66
INCLUDEPATH += $$PWD
77
TARGET = ngPost

0 commit comments

Comments
 (0)