Skip to content

Commit

Permalink
v1.0final
Browse files Browse the repository at this point in the history
  • Loading branch information
psxc committed May 8, 2005
1 parent ee4e581 commit 3446399
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion BUGS
@@ -1,3 +1,3 @@
TODO is now deprecated. use http://bugs.relay.dk/.
TODO is now deprecated. use http://bugs.pzs-ng.com/.
(You can report bugs and classify them as features to add feature-requests)
Thank you. :-)
6 changes: 3 additions & 3 deletions CHANGELOG
Expand Up @@ -9,10 +9,10 @@ v0.6.1 --> 1.00 : The changes from the original project-zs by d1 is
changed a lot and have been given a few new options, so
check the sitebot.conf and the README.

In total, there has been nearly 1700 code updates, so
In total, there has been over 1800 code updates, so
i won't list all of those here. I'll just list what
changes are major ones. The new config options can be
read about in README.ZSCONFIG
changes are major ones. The new config options listed
below can be read about in README.ZSCONFIG.


---- Changes in the zipscript:
Expand Down
2 changes: 2 additions & 0 deletions FAQ
Expand Up @@ -58,6 +58,8 @@ A: You should disable the announce in glftpd.conf. Change your dirlog lines
The / at the end hinders announces/logging of new dirs after it, ie dirs
created in /site/BOOKWARE/some_release/* is not announced. For more info
see glftpd.docs.
A: Check the docs on the sitebot. There is a denypost directive, and you have
options to redirect output to a different channel.

Q: (BOT) I get errors on !bw !speed etc in the bot. What to do?
---------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion README.ZSCONFIG
Expand Up @@ -310,7 +310,7 @@ debug_mode <TRUE|FALSE>
If something seems weird/doesn't work, you should debug. Setting this
variable to TRUE will turn on debugging. A file named .debug will be
created, normally in the same dir as the upload-dir.
Default: TRUE
Default: FALSE

debug_altlog <TRUE|FALSE>
If debug is on, you can choose wether you wish to have the .debug file
Expand Down
20 changes: 8 additions & 12 deletions zipscript/conf/zsconfig.h.dist
@@ -1,15 +1,15 @@
/* zsconfig.h - ZipScript-C config file
*
* This file only contains overrides of the defaults.
* Please see README.ZSCONFIG for a complete list
* of all settings.
* This file only contains overrides of the defaults. If you need to edit/change
* other options, please copy the option from README.ZSCONFIG and place it in
* here.
* The complete list of options availible is found in README.ZSCONFIG.
*
* Please do not change settings you do not understand!
*
*/



/* DO NOT USE WILDCARDS HERE - only cleanupdirs use wildcards! */
#define sitepath_dir "/site/"
#define group_dirs "/site/groups/"
Expand All @@ -20,22 +20,20 @@
#define audio_nocheck_dirs "/site/groups/ /site/incoming/requests/"
#define allowed_types_exemption_dirs "/site/incoming/musicvideos/"
#define check_for_missing_nfo_dirs "/site/incoming/games/ /site/incoming/apps/"

#define cleanupdirs "/site/test/ /site/incoming/games/ /site/incoming/apps/ /site/incoming/musicvideos/"
#define cleanupdirs_dated "/site/incoming/0day/%m%d/ /site/incoming/mp3/%m%d/"

#define short_sitename "NG"

#define status_bar_type 1
#define debug_mode FALSE
#define debug_altlog TRUE

#define status_bar_type 1
#define incompleteislink 1

#define allowed_types "jpg,cue,m3u,mpg,mpeg,avi,txt,mov,vob"

#define ignored_types ",diz,debug,message,imdb"

#define remove_dot_files_on_delete FALSE

#define deny_double_sfv FALSE
#define force_sfv_first FALSE

Expand All @@ -44,7 +42,7 @@
#define audio_year_path "/site/incoming/music.by.year/"
#define audio_group_path "/site/incoming/music.by.group/"
#define allowed_constant_bitrates "160,192"
#define allowed_years "2003,2004,2005"
#define allowed_years "2003,2004,2005,2006"
#define banned_genres "Christian Rap,Christian Rock,Christian Gangsta Rap,Contemporary Christian"
#define allowed_genres "Rock,Ethnic,Indie,Instrumental Rock,Soundtrack"
#define audio_genre_sort FALSE
Expand All @@ -59,8 +57,6 @@
#define audio_allowed_genre_check FALSE
#define audio_genre_warn TRUE

#define announce_norace TRUE

#define enable_nfo_script FALSE
#define nfo_script "/bin/psxc-imdb.sh"
#define enable_complete_script FALSE
Expand Down
2 changes: 1 addition & 1 deletion zipscript/include/zsconfig.defaults.h
Expand Up @@ -305,7 +305,7 @@
* rescan (to be used with *allowed/approved* type files).
*/
#ifndef debug_mode
#define debug_mode TRUE
#define debug_mode FALSE
#endif
#ifndef debug_altlog
#define debug_altlog TRUE
Expand Down
2 changes: 1 addition & 1 deletion zipscript/src/helpfunctions.c
Expand Up @@ -44,7 +44,7 @@ find_last_of(char *name, const char *delim)
void
strip_whitespaces(char *s)
{
if (s)
if (s && *s)
while (s[(int)strlen(s)-1] == ' ' ||
s[(int)strlen(s)-1] == '\t' ||
s[(int)strlen(s)-1] == '\n' ||
Expand Down
2 changes: 1 addition & 1 deletion zipscript/src/ng-version.c
@@ -1,3 +1,3 @@
#include "ng-version.h"

const char* ng_version(void) { const char* NG_Version = "1.0RC4(pre) (r1723)"; return NG_Version; }
const char* ng_version(void) { const char* NG_Version = "1.0.0.1811"; return NG_Version; }

0 comments on commit 3446399

Please sign in to comment.