we can create links (hard links, symbolic links) now

added winix functions: ln

winix function 'default' can be used without redirecting now

added new tickets types: TypeProgress, TypeString, TypeMultistring, TypeImages, TypeFiles
now tickets are combined with files
added winix functions: showtickets

fixed mountpoints:
when the default root mount was created its parameter table was empty
and it caused accessing to a non-existing objects

fixed logger:
modifiers (log1, log2, log3) were incorrectly treated
added modifier: log4 (debug info)

now we are moving threads to a new plugin 'thread'
created directory: plugins/thread
(not finished yet)




git-svn-id: svn://ttmath.org/publicrep/winix/trunk@704 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-01-05 21:24:11 +00:00
parent bb83aed20d
commit 8154c403d8
113 changed files with 5840 additions and 2972 deletions

View File

@@ -69,13 +69,15 @@ int main(int argv, char ** argc)
app.stdout_is_closed = true;
}
log.Init(app.config.log_level, app.config.log_file, app.config.log_stdout, app.config.log_request);
nlog.Init(app.config.log_level, app.config.log_notify_file, false, 1);
log.Init(app.config.log_level, app.config.log_save_each_line, app.config.log_file,
app.config.log_stdout, app.config.log_request);
log << log3 << "-- preparing to start winix --" << logend << logsavenow;
nlog.Init(app.config.log_level, true, app.config.log_notify_file, false, 1);
log << log3 << "-- preparing to start winix --" << logend;
if( !app.InitFCGI() )
return false; // !! dodac logsave do logow
return false;
if( !app.DropPrivileges() )
return 3;
@@ -98,13 +100,7 @@ int main(int argv, char ** argc)
return 1;
log.PutDate(log1);
log << "winix started" << logend << logsavenow;
// !! wywalic to sprawdzanie
//log << log2 << "checking for table consistency:" << logend;
// !! zrobic wyjatek dla root
//app.db.CheckAllUrlSubject();
log << "winix started" << logend << logsave;
app.StartThreads();
// now we have more threads, we should use Lock() and Unlock()
@@ -121,7 +117,7 @@ int main(int argv, char ** argc)
// now all others threads are terminated
log.PutDate(log1);
log << "winix stopped" << logend << logsavenow;
log << "winix stopped" << logend << logsave;
return 0;
}