moved some thread files to plugins/thread
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@705 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -10,40 +10,38 @@ init.o: ../../templates/htmltextstream.h ../../core/textstream.h
|
||||
init.o: ../../core/config.h ../../db/db.h ../../db/dbbase.h ../../db/dbconn.h
|
||||
init.o: ../../db/dbtextstream.h ../../core/error.h ../../db/dbitemquery.h
|
||||
init.o: ../../core/item.h ../../db/dbitemcolumns.h ../../core/user.h
|
||||
init.o: ../../core/group.h ../../core/thread.h ../../core/dircontainer.h
|
||||
init.o: ../../core/ugcontainer.h bot.h stats.h templates.h
|
||||
init.o: ../../core/plugin.h ../../core/pluginmsg.h ../../core/request.h
|
||||
init.o: ../../core/system.h ../../core/dirs.h ../../core/dircontainer.h
|
||||
init.o: ../../notify/notify.h ../../notify/notifypool.h
|
||||
init.o: ../../templates/locale.h ../../core/confparser.h
|
||||
init.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
init.o: ../../templates/locale.h ../../../ezc/src/ezc.h
|
||||
init.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
init.o: ../../../ezc/src/pattern.h ../../../ezc/src/functions.h
|
||||
init.o: ../../../ezc/src/funinfo.h ../../../ezc/src/stringconv.h
|
||||
init.o: ../../templates/htmltextstream.h ../../notify/notifythread.h
|
||||
init.o: ../../core/basethread.h ../../core/synchro.h
|
||||
init.o: ../../notify/templatesnotify.h ../../core/users.h
|
||||
init.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
|
||||
init.o: ../../core/mounts.h ../../core/mount.h ../../core/mountparser.h
|
||||
init.o: ../../core/users.h ../../core/groups.h ../../core/group.h
|
||||
init.o: ../../core/loadavg.h ../../core/thumb.h ../../core/basethread.h
|
||||
init.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
|
||||
init.o: ../../functions/functions.h ../../functions/functionbase.h
|
||||
init.o: ../../core/system.h ../../core/synchro.h
|
||||
init.o: ../../functions/functionparser.h ../../functions/adduser.h
|
||||
init.o: ../../functions/cat.h ../../functions/chmod.h
|
||||
init.o: ../../functions/privchanger.h ../../functions/chown.h
|
||||
init.o: ../../functions/ckeditor.h ../../functions/cp.h
|
||||
init.o: ../../functions/createthread.h ../../functions/functionbase.h
|
||||
init.o: ../../functions/default.h ../../functions/download.h
|
||||
init.o: ../../functions/emacs.h ../../functions/last.h
|
||||
init.o: ../../functions/login.h ../../functions/logout.h ../../functions/ln.h
|
||||
init.o: ../../functions/ls.h ../../functions/mkdir.h ../../functions/mv.h
|
||||
init.o: ../../functions/node.h ../../functions/priv.h
|
||||
init.o: ../../functions/reload.h ../../functions/rm.h ../../functions/run.h
|
||||
init.o: ../../functions/specialdefault.h ../../functions/stat.h
|
||||
init.o: ../../functions/subject.h ../../functions/funthread.h
|
||||
init.o: ../../core/group.h ../../core/dircontainer.h ../../core/ugcontainer.h
|
||||
init.o: bot.h stats.h templates.h ../../core/plugin.h ../../core/pluginmsg.h
|
||||
init.o: ../../core/request.h ../../core/system.h ../../core/dirs.h
|
||||
init.o: ../../core/dircontainer.h ../../notify/notify.h
|
||||
init.o: ../../notify/notifypool.h ../../templates/locale.h
|
||||
init.o: ../../core/confparser.h ../../templates/misc.h
|
||||
init.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
init.o: ../../../ezc/src/ezc.h ../../../ezc/src/utf8.h
|
||||
init.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
|
||||
init.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
init.o: ../../../ezc/src/stringconv.h ../../templates/htmltextstream.h
|
||||
init.o: ../../notify/notifythread.h ../../core/basethread.h
|
||||
init.o: ../../core/synchro.h ../../notify/templatesnotify.h
|
||||
init.o: ../../core/users.h ../../core/ugcontainer.h
|
||||
init.o: ../../core/lastcontainer.h ../../core/mounts.h ../../core/mount.h
|
||||
init.o: ../../core/mountparser.h ../../core/users.h ../../core/groups.h
|
||||
init.o: ../../core/group.h ../../core/loadavg.h ../../core/thumb.h
|
||||
init.o: ../../core/basethread.h ../../core/sessionmanager.h
|
||||
init.o: ../../core/sessioncontainer.h ../../functions/functions.h
|
||||
init.o: ../../functions/functionbase.h ../../core/system.h
|
||||
init.o: ../../core/synchro.h ../../functions/functionparser.h
|
||||
init.o: ../../functions/adduser.h ../../functions/cat.h
|
||||
init.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
init.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
init.o: ../../functions/cp.h ../../functions/default.h
|
||||
init.o: ../../functions/download.h ../../functions/emacs.h
|
||||
init.o: ../../functions/last.h ../../functions/login.h
|
||||
init.o: ../../functions/logout.h ../../functions/ln.h ../../functions/ls.h
|
||||
init.o: ../../functions/mkdir.h ../../functions/mv.h ../../functions/node.h
|
||||
init.o: ../../functions/priv.h ../../functions/reload.h ../../functions/rm.h
|
||||
init.o: ../../functions/run.h ../../functions/specialdefault.h
|
||||
init.o: ../../functions/stat.h ../../functions/subject.h
|
||||
init.o: ../../functions/template.h ../../functions/tinymce.h
|
||||
init.o: ../../functions/uname.h ../../functions/upload.h
|
||||
init.o: ../../functions/uptime.h ../../functions/who.h ../../functions/vim.h
|
||||
@@ -63,44 +61,42 @@ templates.o: ../../db/dbbase.h ../../db/dbconn.h ../../db/dbtextstream.h
|
||||
templates.o: ../../core/textstream.h ../../core/error.h
|
||||
templates.o: ../../db/dbitemquery.h ../../core/item.h
|
||||
templates.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
|
||||
templates.o: ../../core/thread.h ../../core/dircontainer.h
|
||||
templates.o: ../../core/ugcontainer.h ../../notify/notify.h
|
||||
templates.o: ../../notify/notifypool.h ../../templates/locale.h
|
||||
templates.o: ../../core/confparser.h ../../templates/misc.h
|
||||
templates.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
templates.o: ../../../ezc/src/ezc.h ../../../ezc/src/utf8.h
|
||||
templates.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
|
||||
templates.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
templates.o: ../../../ezc/src/stringconv.h ../../templates/htmltextstream.h
|
||||
templates.o: ../../notify/notifythread.h ../../core/basethread.h
|
||||
templates.o: ../../core/synchro.h ../../notify/templatesnotify.h
|
||||
templates.o: ../../core/config.h ../../core/users.h ../../core/user.h
|
||||
templates.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
|
||||
templates.o: ../../core/mounts.h ../../core/mount.h ../../core/error.h
|
||||
templates.o: ../../core/mountparser.h ../../core/users.h ../../core/groups.h
|
||||
templates.o: ../../core/group.h ../../core/rebus.h ../../core/loadavg.h
|
||||
templates.o: ../../core/thumb.h ../../core/basethread.h
|
||||
templates.o: ../../core/textstream.h ../../core/misc.h
|
||||
templates.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
|
||||
templates.o: ../../core/session.h ../../functions/functions.h
|
||||
templates.o: ../../functions/functionbase.h ../../core/request.h
|
||||
templates.o: ../../core/requesttypes.h ../../templates/htmltextstream.h
|
||||
templates.o: ../../core/system.h ../../core/synchro.h
|
||||
templates.o: ../../functions/functionparser.h ../../functions/adduser.h
|
||||
templates.o: ../../functions/cat.h ../../functions/chmod.h
|
||||
templates.o: ../../functions/privchanger.h ../../functions/chown.h
|
||||
templates.o: ../../functions/ckeditor.h ../../functions/cp.h
|
||||
templates.o: ../../functions/createthread.h ../../functions/functionbase.h
|
||||
templates.o: ../../functions/default.h ../../functions/download.h
|
||||
templates.o: ../../functions/emacs.h ../../functions/last.h
|
||||
templates.o: ../../functions/login.h ../../functions/logout.h
|
||||
templates.o: ../../functions/ln.h ../../functions/ls.h
|
||||
templates.o: ../../functions/mkdir.h ../../functions/mv.h
|
||||
templates.o: ../../functions/node.h ../../functions/priv.h
|
||||
templates.o: ../../functions/reload.h ../../functions/rm.h
|
||||
templates.o: ../../functions/run.h ../../functions/specialdefault.h
|
||||
templates.o: ../../functions/stat.h ../../functions/subject.h
|
||||
templates.o: ../../functions/funthread.h ../../functions/template.h
|
||||
templates.o: ../../core/dircontainer.h ../../core/ugcontainer.h
|
||||
templates.o: ../../notify/notify.h ../../notify/notifypool.h
|
||||
templates.o: ../../templates/locale.h ../../core/confparser.h
|
||||
templates.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
templates.o: ../../templates/locale.h ../../../ezc/src/ezc.h
|
||||
templates.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
templates.o: ../../../ezc/src/pattern.h ../../../ezc/src/functions.h
|
||||
templates.o: ../../../ezc/src/funinfo.h ../../../ezc/src/stringconv.h
|
||||
templates.o: ../../templates/htmltextstream.h ../../notify/notifythread.h
|
||||
templates.o: ../../core/basethread.h ../../core/synchro.h
|
||||
templates.o: ../../notify/templatesnotify.h ../../core/config.h
|
||||
templates.o: ../../core/users.h ../../core/user.h ../../core/ugcontainer.h
|
||||
templates.o: ../../core/lastcontainer.h ../../core/mounts.h
|
||||
templates.o: ../../core/mount.h ../../core/error.h ../../core/mountparser.h
|
||||
templates.o: ../../core/users.h ../../core/groups.h ../../core/group.h
|
||||
templates.o: ../../core/rebus.h ../../core/loadavg.h ../../core/thumb.h
|
||||
templates.o: ../../core/basethread.h ../../core/textstream.h
|
||||
templates.o: ../../core/misc.h ../../core/sessionmanager.h
|
||||
templates.o: ../../core/sessioncontainer.h ../../core/session.h
|
||||
templates.o: ../../functions/functions.h ../../functions/functionbase.h
|
||||
templates.o: ../../core/request.h ../../core/requesttypes.h
|
||||
templates.o: ../../templates/htmltextstream.h ../../core/system.h
|
||||
templates.o: ../../core/synchro.h ../../functions/functionparser.h
|
||||
templates.o: ../../functions/adduser.h ../../functions/cat.h
|
||||
templates.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
templates.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
templates.o: ../../functions/cp.h ../../functions/default.h
|
||||
templates.o: ../../functions/download.h ../../functions/emacs.h
|
||||
templates.o: ../../functions/last.h ../../functions/login.h
|
||||
templates.o: ../../functions/logout.h ../../functions/ln.h
|
||||
templates.o: ../../functions/ls.h ../../functions/mkdir.h
|
||||
templates.o: ../../functions/mv.h ../../functions/node.h
|
||||
templates.o: ../../functions/priv.h ../../functions/reload.h
|
||||
templates.o: ../../functions/rm.h ../../functions/run.h
|
||||
templates.o: ../../functions/specialdefault.h ../../functions/stat.h
|
||||
templates.o: ../../functions/subject.h ../../functions/template.h
|
||||
templates.o: ../../functions/tinymce.h ../../functions/uname.h
|
||||
templates.o: ../../functions/upload.h ../../functions/uptime.h
|
||||
templates.o: ../../functions/who.h ../../functions/vim.h
|
||||
|
||||
154
plugins/thread/createthread.cpp
Executable file
154
plugins/thread/createthread.cpp
Executable file
@@ -0,0 +1,154 @@
|
||||
/*
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2008-2010, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "createthread.h"
|
||||
#include "functions.h"
|
||||
|
||||
|
||||
namespace Thread
|
||||
{
|
||||
|
||||
CreateThread::CreateThread()
|
||||
{
|
||||
fun.url = L"createthread";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// returning true if we can create a thread in the current directory
|
||||
bool CreateThread::HasAccess(bool check_root)
|
||||
{
|
||||
if( request->dir_tab.empty() )
|
||||
return false;
|
||||
|
||||
if( request->is_item )
|
||||
return false;
|
||||
|
||||
if( !system->HasWriteAccess(*request->dir_tab.back()) )
|
||||
return false;
|
||||
|
||||
if( !system->mounts.pmount || system->mounts.pmount->type != system->mounts.MountTypeThread() )
|
||||
return false;
|
||||
|
||||
if( !check_root && request->session && request->session->puser && request->session->puser->super_user )
|
||||
// super can create thread regardless of the restrictcreatethread option
|
||||
return true;
|
||||
|
||||
if( !system->mounts.pmount->IsPar(system->mounts.MountParCreatethreadOn()) )
|
||||
return true;
|
||||
|
||||
if( system->mounts.pmount->IsArg(system->mounts.MountParCreatethreadOn(), request->dir_tab.size()) )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool CreateThread::HasAccess()
|
||||
{
|
||||
return HasAccess(false);
|
||||
}
|
||||
|
||||
|
||||
bool CreateThread::FunCreateThreadCheckAbuse()
|
||||
{
|
||||
if( !system->rebus.CheckRebus() )
|
||||
{
|
||||
request->status = WINIX_ERR_INCORRECT_REBUS;
|
||||
return false;
|
||||
}
|
||||
|
||||
functions->CheckGetPostTimes();
|
||||
|
||||
if( request->session->spam_score > 0 )
|
||||
{
|
||||
request->status = WINIX_ERR_SPAM;
|
||||
log << log1 << "Content: ignoring due to suspected spamming" << logend;
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void CreateThread::ReadThread()
|
||||
{
|
||||
thread.parent_id = request->dir_tab.back()->id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void CreateThread::AddThread()
|
||||
{
|
||||
thread.dir_id = request->dir_tab.back()->id;
|
||||
thread.closed = false;
|
||||
thread.items = 1;
|
||||
thread.last_item = request->item; // set by PostFunEmacsAdd()
|
||||
|
||||
request->status = db->AddThread(thread);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void CreateThread::PostFunCreateThreadLogAndRedirect()
|
||||
{
|
||||
if( request->status == WINIX_ERR_OK )
|
||||
{
|
||||
log << log2 << "Content: added a new thread" << logend;
|
||||
system->RedirectToLastDir();
|
||||
}
|
||||
else
|
||||
{
|
||||
log << log1 << "Content: problem with adding a new thread, error code: "
|
||||
<< request->status << logend;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
void CreateThread::MakePost()
|
||||
{
|
||||
functions->ReadItem(request->item, Item::dir);
|
||||
functions->SetUser(request->item);
|
||||
ReadThread();
|
||||
request->item.privileges = 0777; // !! tymczasowo 777 aby wszyscy mogli wysylac posty
|
||||
|
||||
if( !FunCreateThreadCheckAbuse() )
|
||||
{
|
||||
functions->ReadItemContentWithType(request->item); // for correctly displaying the form
|
||||
return;
|
||||
}
|
||||
|
||||
request->status = system->dirs.AddDirectory(request->item, true, 0, WINIX_NOTIFY_CODE_THREAD_ADD);
|
||||
|
||||
if( request->status == WINIX_ERR_OK )
|
||||
{
|
||||
functions->ReadItemContentWithType(request->item);
|
||||
request->item.type = Item::file;
|
||||
request->item.privileges = 0644; // !! tymczasowo
|
||||
request->item.parent_id = request->dir_tab.back()->id;
|
||||
request->status = system->AddFile(request->item);
|
||||
|
||||
if( request->status == WINIX_ERR_OK )
|
||||
AddThread();
|
||||
}
|
||||
|
||||
PostFunCreateThreadLogAndRedirect();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} // namespace
|
||||
43
plugins/thread/createthread.h
Executable file
43
plugins/thread/createthread.h
Executable file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2010, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef headerfile_winix_plugins_thread_createthread
|
||||
#define headerfile_winix_plugins_thread_createthread
|
||||
|
||||
#include "functions/functionbase.h"
|
||||
|
||||
|
||||
|
||||
namespace Thread
|
||||
{
|
||||
|
||||
|
||||
class CreateThread : public FunctionBase
|
||||
{
|
||||
public:
|
||||
|
||||
CreateThread();
|
||||
bool HasAccess(bool check_root);
|
||||
bool HasAccess();
|
||||
void MakePost();
|
||||
|
||||
private:
|
||||
|
||||
Thread thread;
|
||||
|
||||
bool FunCreateThreadCheckAbuse();
|
||||
void ReadThread();
|
||||
void AddThread();
|
||||
void PostFunCreateThreadLogAndRedirect();
|
||||
};
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
89
plugins/thread/funthread.cpp
Executable file
89
plugins/thread/funthread.cpp
Executable file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2008-2010, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include "core/misc.h"
|
||||
#include "funthread.h"
|
||||
|
||||
|
||||
namespace Thread
|
||||
{
|
||||
|
||||
FunThread::FunThread()
|
||||
{
|
||||
fun.url = L"thread";
|
||||
Clear();
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool FunThread::HasAccess()
|
||||
{
|
||||
return !request->is_item;
|
||||
}
|
||||
|
||||
|
||||
void FunThread::Clear()
|
||||
{
|
||||
thread.Clear();
|
||||
thread_tab.clear();
|
||||
}
|
||||
|
||||
|
||||
void FunThread::CreateSortIndexByDate()
|
||||
{
|
||||
size_t i;
|
||||
|
||||
for(i = 0; i < thread_tab.size() ; ++i)
|
||||
{
|
||||
Item * pdir = system->dirs.GetDir(thread_tab[i].dir_id);
|
||||
|
||||
if( pdir )
|
||||
thread_tab[i].sort = (unsigned long)Time(pdir->date_creation);
|
||||
else
|
||||
thread_tab[i].sort = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool FunThread::FunThreadSort(const Thread & t1, const Thread & t2)
|
||||
{
|
||||
return t1.sort > t2.sort;
|
||||
}
|
||||
|
||||
|
||||
void FunThread::MakeGet()
|
||||
{
|
||||
is_thread = (db->GetThreadByDirId(request->dir_tab.back()->id, thread) == WINIX_ERR_OK);
|
||||
|
||||
DbItemQuery iq;
|
||||
|
||||
if( system->mounts.pmount->IsArg(system->mounts.MountParThread(), L"sort_desc") )
|
||||
iq.sort_asc = false;
|
||||
|
||||
iq.WhereParentId(request->dir_tab.back()->id);
|
||||
iq.WhereType(Item::file);
|
||||
iq.WhereFileType(WINIX_ITEM_FILETYPE_NONE);
|
||||
|
||||
db->GetItems(request->item_tab, iq);
|
||||
db->GetThreads(request->dir_tab.back()->id, thread_tab);
|
||||
|
||||
system->CheckAccessToItems(request->item_tab);
|
||||
|
||||
CreateSortIndexByDate();
|
||||
std::sort(thread_tab.begin(), thread_tab.end(), FunThreadSort);
|
||||
|
||||
Clear();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
} // namespace
|
||||
45
plugins/thread/funthread.h
Executable file
45
plugins/thread/funthread.h
Executable file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2010, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef headerfile_winix_plugins_thread_funthread
|
||||
#define headerfile_winix_plugins_thread_funthread
|
||||
|
||||
#include "functions/functionbase.h"
|
||||
#include "core/thread.h"
|
||||
|
||||
|
||||
namespace Thread
|
||||
{
|
||||
|
||||
|
||||
class FunThread : public FunctionBase
|
||||
{
|
||||
public:
|
||||
|
||||
FunThread();
|
||||
bool HasAccess();
|
||||
void MakeGet();
|
||||
|
||||
// current thread (if exists)
|
||||
bool is_thread;
|
||||
Thread thread;
|
||||
std::vector<Thread> thread_tab;
|
||||
|
||||
private:
|
||||
|
||||
static bool FunThreadSort(const Thread & t1, const Thread & t2);
|
||||
void CreateSortIndexByDate();
|
||||
void Clear();
|
||||
|
||||
};
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
215
plugins/thread/templates.cpp
Executable file
215
plugins/thread/templates.cpp
Executable file
@@ -0,0 +1,215 @@
|
||||
/*
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2008-2010, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "templates.h"
|
||||
#include "misc.h"
|
||||
#include "core/request.h"
|
||||
#include "core/misc.h"
|
||||
#include "functions/functions.h"
|
||||
|
||||
|
||||
|
||||
namespace Thread
|
||||
{
|
||||
using namespace TemplatesFunctions;
|
||||
using TemplatesFunctions::system;
|
||||
|
||||
|
||||
extern ThreadInfo thread_info;
|
||||
extern FunThread fun_thread;
|
||||
extern CreateThread fun_create_thread;
|
||||
extern ShowThreads fun_show_threads;
|
||||
|
||||
|
||||
|
||||
void thread_is(Info & i)
|
||||
{
|
||||
i.res = functions->fun_thread.is_thread;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
static size_t thread_tab_index;
|
||||
|
||||
|
||||
|
||||
void thread_tab(Info & i)
|
||||
{
|
||||
thread_tab_index = i.iter;
|
||||
|
||||
i.res = thread_tab_index < functions->fun_thread.thread_tab.size();
|
||||
}
|
||||
|
||||
|
||||
void thread_tab_url(Info & i)
|
||||
{
|
||||
if( thread_tab_index < functions->fun_thread.thread_tab.size() )
|
||||
{
|
||||
Item * dir = system->dirs.GetDir( functions->fun_thread.thread_tab[thread_tab_index].dir_id );
|
||||
|
||||
if( dir )
|
||||
{
|
||||
i.out << dir->url;
|
||||
}
|
||||
else
|
||||
{
|
||||
i.out << "<!-- unknown directory -->"; // !! do konfiga
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void thread_tab_subject(Info & i)
|
||||
{
|
||||
if( thread_tab_index < functions->fun_thread.thread_tab.size() )
|
||||
{
|
||||
Item * dir = system->dirs.GetDir( functions->fun_thread.thread_tab[thread_tab_index].dir_id );
|
||||
|
||||
if( dir )
|
||||
{
|
||||
if( !dir->subject.empty() )
|
||||
i.out << dir->subject;
|
||||
else
|
||||
i.out << dir->url;
|
||||
}
|
||||
else
|
||||
{
|
||||
i.out << "<!-- unknown subject -->"; // !! do konfiga
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void thread_tab_answers(Info & i)
|
||||
{
|
||||
if( thread_tab_index < functions->fun_thread.thread_tab.size() )
|
||||
{
|
||||
long a = functions->fun_thread.thread_tab[thread_tab_index].items;
|
||||
|
||||
// the first is created by the author
|
||||
// we count only the rest
|
||||
if( a > 0 )
|
||||
--a;
|
||||
|
||||
i.out << a;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void thread_tab_author(Info & i)
|
||||
{
|
||||
bool unknown = true;
|
||||
|
||||
|
||||
if( thread_tab_index < functions->fun_thread.thread_tab.size() )
|
||||
{
|
||||
Item * dir = system->dirs.GetDir( functions->fun_thread.thread_tab[thread_tab_index].dir_id );
|
||||
|
||||
if( dir )
|
||||
{
|
||||
User * puser = system->users.GetUser(dir->user_id);
|
||||
unknown = false;
|
||||
|
||||
if( puser )
|
||||
i.out << puser->name;
|
||||
else
|
||||
{
|
||||
i.out << "~";
|
||||
|
||||
if( !dir->guest_name.empty() )
|
||||
i.out << dir->guest_name;
|
||||
else
|
||||
i.out << "guest"; // !! dodac do konfiga
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if( unknown )
|
||||
{
|
||||
i.out << "<!-- unknown user -->";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void thread_tab_last_item_date_modification(Info & i)
|
||||
{
|
||||
if( thread_tab_index < functions->fun_thread.thread_tab.size() )
|
||||
if( functions->fun_thread.thread_tab[thread_tab_index].last_item.id != -1 )
|
||||
i.out << DateToStr( &functions->fun_thread.thread_tab[thread_tab_index].last_item.date_modification );
|
||||
}
|
||||
|
||||
|
||||
void thread_tab_last_item_date_modification_nice(Info & i)
|
||||
{
|
||||
if( thread_tab_index < functions->fun_thread.thread_tab.size() )
|
||||
if( functions->fun_thread.thread_tab[thread_tab_index].last_item.id != -1 )
|
||||
print_date_nice(i, functions->fun_thread.thread_tab[thread_tab_index].last_item.date_modification);
|
||||
}
|
||||
|
||||
|
||||
void thread_tab_last_item_user(Info & i)
|
||||
{
|
||||
if( thread_tab_index < functions->fun_thread.thread_tab.size() )
|
||||
{
|
||||
if( functions->fun_thread.thread_tab[thread_tab_index].last_item.id != -1 )
|
||||
{
|
||||
User * puser = system->users.GetUser( functions->fun_thread.thread_tab[thread_tab_index].last_item.user_id );
|
||||
|
||||
if( puser )
|
||||
i.out << puser->name;
|
||||
else
|
||||
{
|
||||
i.out << "~";
|
||||
|
||||
if( !functions->fun_thread.thread_tab[thread_tab_index].last_item.guest_name.empty() )
|
||||
i.out << functions->fun_thread.thread_tab[thread_tab_index].last_item.guest_name;
|
||||
else
|
||||
i.out << "guest"; // !! dodac do konfiga
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void thread_can_create(Info & i)
|
||||
{
|
||||
i.res = functions->fun_createthread.HasAccess(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void AddEzcFunctions(PluginInfo & info)
|
||||
{
|
||||
using TemplatesFunctions::EzcFun;
|
||||
EzcFun * fun = reinterpret_cast<EzcFun*>(info.p1);
|
||||
|
||||
fun->Insert("thread_is", thread_is);
|
||||
fun->Insert("thread_tab", thread_tab);
|
||||
fun->Insert("thread_tab_url", thread_tab_url);
|
||||
fun->Insert("thread_tab_subject", thread_tab_subject);
|
||||
fun->Insert("thread_tab_author", thread_tab_author);
|
||||
fun->Insert("thread_tab_answers", thread_tab_answers);
|
||||
fun->Insert("thread_tab_last_item_date_modification", thread_tab_last_item_date_modification);
|
||||
fun->Insert("thread_tab_last_item_date_modification_nice", thread_tab_last_item_date_modification_nice);
|
||||
fun->Insert("thread_tab_last_item_user", thread_tab_last_item_user);
|
||||
fun->Insert("thread_can_create", thread_can_create);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
|
||||
|
||||
|
||||
65
plugins/thread/thread.h
Executable file
65
plugins/thread/thread.h
Executable file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2009-2010, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef headerfile_winix_plugins_thread_thread
|
||||
#define headerfile_winix_plugins_thread_thread
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
namespace Thread
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
class Thread
|
||||
{
|
||||
public:
|
||||
|
||||
long file_id;
|
||||
|
||||
//long parent_id;
|
||||
|
||||
long dir_id;
|
||||
bool closed;
|
||||
|
||||
// how many items there are inside
|
||||
long items;
|
||||
|
||||
// last item in the directory (this variable is mainly for reading)
|
||||
// at the moment only used: id, date_modification, user_id
|
||||
Item last_item;
|
||||
|
||||
// used when sorting
|
||||
unsigned long sort;
|
||||
|
||||
void Clear()
|
||||
{
|
||||
id = parent_id = dir_id = -1;
|
||||
last_item.Clear();
|
||||
closed = false;
|
||||
items = 0;
|
||||
sort = 0;
|
||||
}
|
||||
|
||||
Thread()
|
||||
{
|
||||
Clear();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -7,14 +7,13 @@ createticket.o: ../../core/error.h ../../core/log.h ../../core/textstream.h
|
||||
createticket.o: ../../functions/functionbase.h ../../core/item.h
|
||||
createticket.o: ../../db/db.h ../../db/dbbase.h ../../db/dbitemquery.h
|
||||
createticket.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
|
||||
createticket.o: ../../core/thread.h ../../core/dircontainer.h
|
||||
createticket.o: ../../core/ugcontainer.h ../../core/request.h
|
||||
createticket.o: ../../core/requesttypes.h ../../core/session.h
|
||||
createticket.o: ../../core/error.h ../../core/user.h ../../core/plugindata.h
|
||||
createticket.o: ../../core/rebus.h ../../core/config.h
|
||||
createticket.o: ../../core/confparser.h ../../core/htmlfilter.h
|
||||
createticket.o: ../../templates/htmltextstream.h ../../core/config.h
|
||||
createticket.o: ../../core/system.h ../../core/dirs.h
|
||||
createticket.o: ../../core/dircontainer.h ../../core/ugcontainer.h
|
||||
createticket.o: ../../core/request.h ../../core/requesttypes.h
|
||||
createticket.o: ../../core/session.h ../../core/error.h ../../core/user.h
|
||||
createticket.o: ../../core/plugindata.h ../../core/rebus.h
|
||||
createticket.o: ../../core/config.h ../../core/confparser.h
|
||||
createticket.o: ../../core/htmlfilter.h ../../templates/htmltextstream.h
|
||||
createticket.o: ../../core/config.h ../../core/system.h ../../core/dirs.h
|
||||
createticket.o: ../../core/dircontainer.h ../../core/request.h
|
||||
createticket.o: ../../notify/notify.h ../../notify/notifypool.h
|
||||
createticket.o: ../../templates/locale.h ../../core/confparser.h
|
||||
@@ -37,16 +36,15 @@ createticket.o: ../../functions/functionparser.h ../../functions/adduser.h
|
||||
createticket.o: ../../functions/cat.h ../../functions/chmod.h
|
||||
createticket.o: ../../functions/privchanger.h ../../functions/chown.h
|
||||
createticket.o: ../../functions/ckeditor.h ../../functions/cp.h
|
||||
createticket.o: ../../functions/createthread.h ../../functions/default.h
|
||||
createticket.o: ../../functions/download.h ../../functions/emacs.h
|
||||
createticket.o: ../../functions/last.h ../../functions/login.h
|
||||
createticket.o: ../../functions/logout.h ../../functions/ln.h
|
||||
createticket.o: ../../functions/ls.h ../../functions/mkdir.h
|
||||
createticket.o: ../../functions/mv.h ../../functions/node.h
|
||||
createticket.o: ../../functions/priv.h ../../functions/reload.h
|
||||
createticket.o: ../../functions/rm.h ../../functions/run.h
|
||||
createticket.o: ../../functions/specialdefault.h ../../functions/stat.h
|
||||
createticket.o: ../../functions/subject.h ../../functions/funthread.h
|
||||
createticket.o: ../../functions/default.h ../../functions/download.h
|
||||
createticket.o: ../../functions/emacs.h ../../functions/last.h
|
||||
createticket.o: ../../functions/login.h ../../functions/logout.h
|
||||
createticket.o: ../../functions/ln.h ../../functions/ls.h
|
||||
createticket.o: ../../functions/mkdir.h ../../functions/mv.h
|
||||
createticket.o: ../../functions/node.h ../../functions/priv.h
|
||||
createticket.o: ../../functions/reload.h ../../functions/rm.h
|
||||
createticket.o: ../../functions/run.h ../../functions/specialdefault.h
|
||||
createticket.o: ../../functions/stat.h ../../functions/subject.h
|
||||
createticket.o: ../../functions/template.h ../../functions/tinymce.h
|
||||
createticket.o: ../../functions/uname.h ../../functions/upload.h
|
||||
createticket.o: ../../functions/uptime.h ../../functions/who.h
|
||||
@@ -60,34 +58,32 @@ editticket.o: ticketparser.h ticketconf.h ../../core/item.h
|
||||
editticket.o: ../../core/system.h ../../core/dirs.h ../../core/dircontainer.h
|
||||
editticket.o: ../../db/db.h ../../db/dbbase.h ../../db/dbitemquery.h
|
||||
editticket.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
|
||||
editticket.o: ../../core/thread.h ../../core/dircontainer.h
|
||||
editticket.o: ../../core/ugcontainer.h ../../core/request.h
|
||||
editticket.o: ../../notify/notify.h ../../notify/notifypool.h
|
||||
editticket.o: ../../templates/locale.h ../../core/confparser.h
|
||||
editticket.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
editticket.o: ../../templates/locale.h ../../../ezc/src/ezc.h
|
||||
editticket.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
editticket.o: ../../../ezc/src/pattern.h ../../../ezc/src/functions.h
|
||||
editticket.o: ../../../ezc/src/funinfo.h ../../../ezc/src/stringconv.h
|
||||
editticket.o: ../../templates/htmltextstream.h ../../notify/notifythread.h
|
||||
editticket.o: ../../core/basethread.h ../../core/synchro.h
|
||||
editticket.o: ../../notify/templatesnotify.h ../../core/config.h
|
||||
editticket.o: ../../core/users.h ../../core/user.h ../../core/ugcontainer.h
|
||||
editticket.o: ../../core/lastcontainer.h ../../core/mounts.h
|
||||
editticket.o: ../../core/mount.h ../../core/error.h ../../core/mountparser.h
|
||||
editticket.o: ../../core/config.h ../../core/confparser.h
|
||||
editticket.o: ../../core/htmlfilter.h ../../core/users.h ../../core/groups.h
|
||||
editticket.o: ../../core/group.h ../../core/rebus.h ../../core/loadavg.h
|
||||
editticket.o: ../../core/thumb.h ../../core/basethread.h
|
||||
editticket.o: ../../functions/functions.h ../../functions/functionbase.h
|
||||
editticket.o: ../../functions/functionparser.h ../../core/request.h
|
||||
editticket.o: ../../core/requesttypes.h ../../core/session.h
|
||||
editticket.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
editticket.o: ../../functions/adduser.h ../../functions/cat.h
|
||||
editticket.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
editticket.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
editticket.o: ../../functions/cp.h ../../functions/createthread.h
|
||||
editticket.o: ../../functions/functionbase.h ../../core/synchro.h
|
||||
editticket.o: ../../core/dircontainer.h ../../core/ugcontainer.h
|
||||
editticket.o: ../../core/request.h ../../notify/notify.h
|
||||
editticket.o: ../../notify/notifypool.h ../../templates/locale.h
|
||||
editticket.o: ../../core/confparser.h ../../templates/misc.h
|
||||
editticket.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
editticket.o: ../../../ezc/src/ezc.h ../../../ezc/src/utf8.h
|
||||
editticket.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
|
||||
editticket.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
editticket.o: ../../../ezc/src/stringconv.h ../../templates/htmltextstream.h
|
||||
editticket.o: ../../notify/notifythread.h ../../core/basethread.h
|
||||
editticket.o: ../../core/synchro.h ../../notify/templatesnotify.h
|
||||
editticket.o: ../../core/config.h ../../core/users.h ../../core/user.h
|
||||
editticket.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
|
||||
editticket.o: ../../core/mounts.h ../../core/mount.h ../../core/error.h
|
||||
editticket.o: ../../core/mountparser.h ../../core/config.h
|
||||
editticket.o: ../../core/confparser.h ../../core/htmlfilter.h
|
||||
editticket.o: ../../core/users.h ../../core/groups.h ../../core/group.h
|
||||
editticket.o: ../../core/rebus.h ../../core/loadavg.h ../../core/thumb.h
|
||||
editticket.o: ../../core/basethread.h ../../functions/functions.h
|
||||
editticket.o: ../../functions/functionbase.h ../../functions/functionparser.h
|
||||
editticket.o: ../../core/request.h ../../core/requesttypes.h
|
||||
editticket.o: ../../core/session.h ../../core/plugindata.h
|
||||
editticket.o: ../../templates/htmltextstream.h ../../functions/adduser.h
|
||||
editticket.o: ../../functions/cat.h ../../functions/chmod.h
|
||||
editticket.o: ../../functions/privchanger.h ../../functions/chown.h
|
||||
editticket.o: ../../functions/ckeditor.h ../../functions/cp.h
|
||||
editticket.o: ../../functions/default.h ../../functions/download.h
|
||||
editticket.o: ../../functions/emacs.h ../../functions/last.h
|
||||
editticket.o: ../../functions/login.h ../../functions/logout.h
|
||||
@@ -97,11 +93,12 @@ editticket.o: ../../functions/node.h ../../functions/priv.h
|
||||
editticket.o: ../../functions/reload.h ../../functions/rm.h
|
||||
editticket.o: ../../functions/run.h ../../functions/specialdefault.h
|
||||
editticket.o: ../../functions/stat.h ../../functions/subject.h
|
||||
editticket.o: ../../functions/funthread.h ../../functions/template.h
|
||||
editticket.o: ../../functions/tinymce.h ../../functions/uname.h
|
||||
editticket.o: ../../functions/upload.h ../../functions/uptime.h
|
||||
editticket.o: ../../functions/who.h ../../functions/vim.h
|
||||
editticket.o: ../../core/htmlfilter.h sessiondata.h ../../core/plugindata.h
|
||||
editticket.o: ../../functions/template.h ../../functions/tinymce.h
|
||||
editticket.o: ../../functions/uname.h ../../functions/upload.h
|
||||
editticket.o: ../../functions/uptime.h ../../functions/who.h
|
||||
editticket.o: ../../functions/vim.h ../../core/htmlfilter.h
|
||||
editticket.o: ../../functions/functionbase.h ../../core/synchro.h
|
||||
editticket.o: sessiondata.h ../../core/plugindata.h
|
||||
funticket.o: funticket.h tdb.h ticket.h ../../db/dbbase.h ../../db/dbconn.h
|
||||
funticket.o: ../../db/dbtextstream.h ../../core/textstream.h
|
||||
funticket.o: ../../core/misc.h ../../core/item.h ../../core/error.h
|
||||
@@ -110,34 +107,32 @@ funticket.o: ticketparser.h ticketconf.h ../../core/item.h
|
||||
funticket.o: ../../core/system.h ../../core/dirs.h ../../core/dircontainer.h
|
||||
funticket.o: ../../db/db.h ../../db/dbbase.h ../../db/dbitemquery.h
|
||||
funticket.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
|
||||
funticket.o: ../../core/thread.h ../../core/dircontainer.h
|
||||
funticket.o: ../../core/ugcontainer.h ../../core/request.h
|
||||
funticket.o: ../../notify/notify.h ../../notify/notifypool.h
|
||||
funticket.o: ../../templates/locale.h ../../core/confparser.h
|
||||
funticket.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
funticket.o: ../../templates/locale.h ../../../ezc/src/ezc.h
|
||||
funticket.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
funticket.o: ../../../ezc/src/pattern.h ../../../ezc/src/functions.h
|
||||
funticket.o: ../../../ezc/src/funinfo.h ../../../ezc/src/stringconv.h
|
||||
funticket.o: ../../templates/htmltextstream.h ../../notify/notifythread.h
|
||||
funticket.o: ../../core/basethread.h ../../core/synchro.h
|
||||
funticket.o: ../../notify/templatesnotify.h ../../core/config.h
|
||||
funticket.o: ../../core/users.h ../../core/user.h ../../core/ugcontainer.h
|
||||
funticket.o: ../../core/lastcontainer.h ../../core/mounts.h
|
||||
funticket.o: ../../core/mount.h ../../core/error.h ../../core/mountparser.h
|
||||
funticket.o: ../../core/config.h ../../core/confparser.h
|
||||
funticket.o: ../../core/htmlfilter.h ../../core/users.h ../../core/groups.h
|
||||
funticket.o: ../../core/group.h ../../core/rebus.h ../../core/loadavg.h
|
||||
funticket.o: ../../core/thumb.h ../../core/basethread.h
|
||||
funticket.o: ../../functions/functions.h ../../functions/functionbase.h
|
||||
funticket.o: ../../functions/functionparser.h ../../core/request.h
|
||||
funticket.o: ../../core/requesttypes.h ../../core/session.h
|
||||
funticket.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
funticket.o: ../../functions/adduser.h ../../functions/cat.h
|
||||
funticket.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
funticket.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
funticket.o: ../../functions/cp.h ../../functions/createthread.h
|
||||
funticket.o: ../../functions/functionbase.h ../../core/synchro.h
|
||||
funticket.o: ../../core/dircontainer.h ../../core/ugcontainer.h
|
||||
funticket.o: ../../core/request.h ../../notify/notify.h
|
||||
funticket.o: ../../notify/notifypool.h ../../templates/locale.h
|
||||
funticket.o: ../../core/confparser.h ../../templates/misc.h
|
||||
funticket.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
funticket.o: ../../../ezc/src/ezc.h ../../../ezc/src/utf8.h
|
||||
funticket.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
|
||||
funticket.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
funticket.o: ../../../ezc/src/stringconv.h ../../templates/htmltextstream.h
|
||||
funticket.o: ../../notify/notifythread.h ../../core/basethread.h
|
||||
funticket.o: ../../core/synchro.h ../../notify/templatesnotify.h
|
||||
funticket.o: ../../core/config.h ../../core/users.h ../../core/user.h
|
||||
funticket.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
|
||||
funticket.o: ../../core/mounts.h ../../core/mount.h ../../core/error.h
|
||||
funticket.o: ../../core/mountparser.h ../../core/config.h
|
||||
funticket.o: ../../core/confparser.h ../../core/htmlfilter.h
|
||||
funticket.o: ../../core/users.h ../../core/groups.h ../../core/group.h
|
||||
funticket.o: ../../core/rebus.h ../../core/loadavg.h ../../core/thumb.h
|
||||
funticket.o: ../../core/basethread.h ../../functions/functions.h
|
||||
funticket.o: ../../functions/functionbase.h ../../functions/functionparser.h
|
||||
funticket.o: ../../core/request.h ../../core/requesttypes.h
|
||||
funticket.o: ../../core/session.h ../../core/plugindata.h
|
||||
funticket.o: ../../templates/htmltextstream.h ../../functions/adduser.h
|
||||
funticket.o: ../../functions/cat.h ../../functions/chmod.h
|
||||
funticket.o: ../../functions/privchanger.h ../../functions/chown.h
|
||||
funticket.o: ../../functions/ckeditor.h ../../functions/cp.h
|
||||
funticket.o: ../../functions/default.h ../../functions/download.h
|
||||
funticket.o: ../../functions/emacs.h ../../functions/last.h
|
||||
funticket.o: ../../functions/login.h ../../functions/logout.h
|
||||
@@ -147,11 +142,11 @@ funticket.o: ../../functions/node.h ../../functions/priv.h
|
||||
funticket.o: ../../functions/reload.h ../../functions/rm.h
|
||||
funticket.o: ../../functions/run.h ../../functions/specialdefault.h
|
||||
funticket.o: ../../functions/stat.h ../../functions/subject.h
|
||||
funticket.o: ../../functions/funthread.h ../../functions/template.h
|
||||
funticket.o: ../../functions/tinymce.h ../../functions/uname.h
|
||||
funticket.o: ../../functions/upload.h ../../functions/uptime.h
|
||||
funticket.o: ../../functions/who.h ../../functions/vim.h
|
||||
funticket.o: ../../core/htmlfilter.h
|
||||
funticket.o: ../../functions/template.h ../../functions/tinymce.h
|
||||
funticket.o: ../../functions/uname.h ../../functions/upload.h
|
||||
funticket.o: ../../functions/uptime.h ../../functions/who.h
|
||||
funticket.o: ../../functions/vim.h ../../core/htmlfilter.h
|
||||
funticket.o: ../../functions/functionbase.h ../../core/synchro.h
|
||||
init.o: tdb.h ticket.h ../../db/dbbase.h ../../db/dbconn.h
|
||||
init.o: ../../db/dbtextstream.h ../../core/textstream.h ../../core/misc.h
|
||||
init.o: ../../core/item.h ../../core/error.h ../../core/log.h
|
||||
@@ -159,19 +154,18 @@ init.o: ../../core/textstream.h funticket.h ticketinfo.h ticketparser.h
|
||||
init.o: ticketconf.h ../../core/item.h ../../core/system.h ../../core/dirs.h
|
||||
init.o: ../../core/dircontainer.h ../../db/db.h ../../db/dbbase.h
|
||||
init.o: ../../db/dbitemquery.h ../../db/dbitemcolumns.h ../../core/user.h
|
||||
init.o: ../../core/group.h ../../core/thread.h ../../core/dircontainer.h
|
||||
init.o: ../../core/ugcontainer.h ../../core/request.h ../../notify/notify.h
|
||||
init.o: ../../notify/notifypool.h ../../templates/locale.h
|
||||
init.o: ../../core/confparser.h ../../templates/misc.h
|
||||
init.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
init.o: ../../../ezc/src/ezc.h ../../../ezc/src/utf8.h
|
||||
init.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
|
||||
init.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
init.o: ../../../ezc/src/stringconv.h ../../templates/htmltextstream.h
|
||||
init.o: ../../notify/notifythread.h ../../core/basethread.h
|
||||
init.o: ../../core/synchro.h ../../notify/templatesnotify.h
|
||||
init.o: ../../core/config.h ../../core/users.h ../../core/user.h
|
||||
init.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
|
||||
init.o: ../../core/group.h ../../core/dircontainer.h ../../core/ugcontainer.h
|
||||
init.o: ../../core/request.h ../../notify/notify.h ../../notify/notifypool.h
|
||||
init.o: ../../templates/locale.h ../../core/confparser.h
|
||||
init.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
init.o: ../../templates/locale.h ../../../ezc/src/ezc.h
|
||||
init.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
init.o: ../../../ezc/src/pattern.h ../../../ezc/src/functions.h
|
||||
init.o: ../../../ezc/src/funinfo.h ../../../ezc/src/stringconv.h
|
||||
init.o: ../../templates/htmltextstream.h ../../notify/notifythread.h
|
||||
init.o: ../../core/basethread.h ../../core/synchro.h
|
||||
init.o: ../../notify/templatesnotify.h ../../core/config.h ../../core/users.h
|
||||
init.o: ../../core/user.h ../../core/ugcontainer.h ../../core/lastcontainer.h
|
||||
init.o: ../../core/mounts.h ../../core/mount.h ../../core/error.h
|
||||
init.o: ../../core/mountparser.h ../../core/config.h ../../core/confparser.h
|
||||
init.o: ../../core/htmlfilter.h ../../core/users.h ../../core/groups.h
|
||||
@@ -184,20 +178,19 @@ init.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
init.o: ../../functions/adduser.h ../../functions/cat.h
|
||||
init.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
init.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
init.o: ../../functions/cp.h ../../functions/createthread.h
|
||||
init.o: ../../functions/functionbase.h ../../core/synchro.h
|
||||
init.o: ../../functions/default.h ../../functions/download.h
|
||||
init.o: ../../functions/emacs.h ../../functions/last.h
|
||||
init.o: ../../functions/login.h ../../functions/logout.h ../../functions/ln.h
|
||||
init.o: ../../functions/ls.h ../../functions/mkdir.h ../../functions/mv.h
|
||||
init.o: ../../functions/node.h ../../functions/priv.h
|
||||
init.o: ../../functions/reload.h ../../functions/rm.h ../../functions/run.h
|
||||
init.o: ../../functions/specialdefault.h ../../functions/stat.h
|
||||
init.o: ../../functions/subject.h ../../functions/funthread.h
|
||||
init.o: ../../functions/cp.h ../../functions/default.h
|
||||
init.o: ../../functions/download.h ../../functions/emacs.h
|
||||
init.o: ../../functions/last.h ../../functions/login.h
|
||||
init.o: ../../functions/logout.h ../../functions/ln.h ../../functions/ls.h
|
||||
init.o: ../../functions/mkdir.h ../../functions/mv.h ../../functions/node.h
|
||||
init.o: ../../functions/priv.h ../../functions/reload.h ../../functions/rm.h
|
||||
init.o: ../../functions/run.h ../../functions/specialdefault.h
|
||||
init.o: ../../functions/stat.h ../../functions/subject.h
|
||||
init.o: ../../functions/template.h ../../functions/tinymce.h
|
||||
init.o: ../../functions/uname.h ../../functions/upload.h
|
||||
init.o: ../../functions/uptime.h ../../functions/who.h ../../functions/vim.h
|
||||
init.o: ../../core/htmlfilter.h editticket.h createticket.h showtickets.h
|
||||
init.o: ../../core/htmlfilter.h ../../functions/functionbase.h
|
||||
init.o: ../../core/synchro.h editticket.h createticket.h showtickets.h
|
||||
init.o: ../../core/log.h ../../core/plugin.h ../../core/pluginmsg.h
|
||||
init.o: ../../core/system.h ../../core/sessionmanager.h
|
||||
init.o: ../../core/sessioncontainer.h ../../templates/templates.h
|
||||
@@ -214,49 +207,47 @@ showtickets.o: ticketinfo.h ticketparser.h ticketconf.h ../../core/item.h
|
||||
showtickets.o: ../../core/system.h ../../core/dirs.h
|
||||
showtickets.o: ../../core/dircontainer.h ../../db/db.h ../../db/dbbase.h
|
||||
showtickets.o: ../../db/dbitemquery.h ../../db/dbitemcolumns.h
|
||||
showtickets.o: ../../core/user.h ../../core/group.h ../../core/thread.h
|
||||
showtickets.o: ../../core/dircontainer.h ../../core/ugcontainer.h
|
||||
showtickets.o: ../../core/request.h ../../notify/notify.h
|
||||
showtickets.o: ../../notify/notifypool.h ../../templates/locale.h
|
||||
showtickets.o: ../../core/confparser.h ../../templates/misc.h
|
||||
showtickets.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
showtickets.o: ../../../ezc/src/ezc.h ../../../ezc/src/utf8.h
|
||||
showtickets.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
|
||||
showtickets.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
showtickets.o: ../../../ezc/src/stringconv.h ../../templates/htmltextstream.h
|
||||
showtickets.o: ../../notify/notifythread.h ../../core/basethread.h
|
||||
showtickets.o: ../../core/synchro.h ../../notify/templatesnotify.h
|
||||
showtickets.o: ../../core/config.h ../../core/users.h ../../core/user.h
|
||||
showtickets.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
|
||||
showtickets.o: ../../core/mounts.h ../../core/mount.h ../../core/error.h
|
||||
showtickets.o: ../../core/mountparser.h ../../core/config.h
|
||||
showtickets.o: ../../core/confparser.h ../../core/htmlfilter.h
|
||||
showtickets.o: ../../core/users.h ../../core/groups.h ../../core/group.h
|
||||
showtickets.o: ../../core/rebus.h ../../core/loadavg.h ../../core/thumb.h
|
||||
showtickets.o: ../../core/basethread.h ../../functions/functions.h
|
||||
showtickets.o: ../../functions/functionbase.h
|
||||
showtickets.o: ../../core/user.h ../../core/group.h ../../core/dircontainer.h
|
||||
showtickets.o: ../../core/ugcontainer.h ../../core/request.h
|
||||
showtickets.o: ../../notify/notify.h ../../notify/notifypool.h
|
||||
showtickets.o: ../../templates/locale.h ../../core/confparser.h
|
||||
showtickets.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
showtickets.o: ../../templates/locale.h ../../../ezc/src/ezc.h
|
||||
showtickets.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
showtickets.o: ../../../ezc/src/pattern.h ../../../ezc/src/functions.h
|
||||
showtickets.o: ../../../ezc/src/funinfo.h ../../../ezc/src/stringconv.h
|
||||
showtickets.o: ../../templates/htmltextstream.h ../../notify/notifythread.h
|
||||
showtickets.o: ../../core/basethread.h ../../core/synchro.h
|
||||
showtickets.o: ../../notify/templatesnotify.h ../../core/config.h
|
||||
showtickets.o: ../../core/users.h ../../core/user.h ../../core/ugcontainer.h
|
||||
showtickets.o: ../../core/lastcontainer.h ../../core/mounts.h
|
||||
showtickets.o: ../../core/mount.h ../../core/error.h ../../core/mountparser.h
|
||||
showtickets.o: ../../core/config.h ../../core/confparser.h
|
||||
showtickets.o: ../../core/htmlfilter.h ../../core/users.h ../../core/groups.h
|
||||
showtickets.o: ../../core/group.h ../../core/rebus.h ../../core/loadavg.h
|
||||
showtickets.o: ../../core/thumb.h ../../core/basethread.h
|
||||
showtickets.o: ../../functions/functions.h ../../functions/functionbase.h
|
||||
showtickets.o: ../../functions/functionparser.h ../../core/request.h
|
||||
showtickets.o: ../../core/requesttypes.h ../../core/session.h
|
||||
showtickets.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
showtickets.o: ../../functions/adduser.h ../../functions/cat.h
|
||||
showtickets.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
showtickets.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
showtickets.o: ../../functions/cp.h ../../functions/createthread.h
|
||||
showtickets.o: ../../functions/functionbase.h ../../core/synchro.h
|
||||
showtickets.o: ../../functions/default.h ../../functions/download.h
|
||||
showtickets.o: ../../functions/emacs.h ../../functions/last.h
|
||||
showtickets.o: ../../functions/login.h ../../functions/logout.h
|
||||
showtickets.o: ../../functions/ln.h ../../functions/ls.h
|
||||
showtickets.o: ../../functions/mkdir.h ../../functions/mv.h
|
||||
showtickets.o: ../../functions/node.h ../../functions/priv.h
|
||||
showtickets.o: ../../functions/reload.h ../../functions/rm.h
|
||||
showtickets.o: ../../functions/run.h ../../functions/specialdefault.h
|
||||
showtickets.o: ../../functions/stat.h ../../functions/subject.h
|
||||
showtickets.o: ../../functions/funthread.h ../../functions/template.h
|
||||
showtickets.o: ../../functions/cp.h ../../functions/default.h
|
||||
showtickets.o: ../../functions/download.h ../../functions/emacs.h
|
||||
showtickets.o: ../../functions/last.h ../../functions/login.h
|
||||
showtickets.o: ../../functions/logout.h ../../functions/ln.h
|
||||
showtickets.o: ../../functions/ls.h ../../functions/mkdir.h
|
||||
showtickets.o: ../../functions/mv.h ../../functions/node.h
|
||||
showtickets.o: ../../functions/priv.h ../../functions/reload.h
|
||||
showtickets.o: ../../functions/rm.h ../../functions/run.h
|
||||
showtickets.o: ../../functions/specialdefault.h ../../functions/stat.h
|
||||
showtickets.o: ../../functions/subject.h ../../functions/template.h
|
||||
showtickets.o: ../../functions/tinymce.h ../../functions/uname.h
|
||||
showtickets.o: ../../functions/upload.h ../../functions/uptime.h
|
||||
showtickets.o: ../../functions/who.h ../../functions/vim.h
|
||||
showtickets.o: ../../core/htmlfilter.h
|
||||
showtickets.o: ../../core/htmlfilter.h ../../functions/functionbase.h
|
||||
showtickets.o: ../../core/synchro.h
|
||||
tdb.o: tdb.h ticket.h ../../db/dbbase.h ../../db/dbconn.h
|
||||
tdb.o: ../../db/dbtextstream.h ../../core/textstream.h ../../core/misc.h
|
||||
tdb.o: ../../core/item.h ../../core/error.h ../../core/log.h
|
||||
@@ -269,9 +260,9 @@ templates.o: ticketinfo.h ticket.h ticketparser.h ticketconf.h
|
||||
templates.o: ../../core/item.h ../../core/system.h ../../core/dirs.h
|
||||
templates.o: ../../core/dircontainer.h ../../db/db.h ../../db/dbbase.h
|
||||
templates.o: ../../db/dbitemquery.h ../../db/dbitemcolumns.h
|
||||
templates.o: ../../core/user.h ../../core/group.h ../../core/thread.h
|
||||
templates.o: ../../core/dircontainer.h ../../core/ugcontainer.h
|
||||
templates.o: ../../core/log.h ../../core/textstream.h ../../core/request.h
|
||||
templates.o: ../../core/user.h ../../core/group.h ../../core/dircontainer.h
|
||||
templates.o: ../../core/ugcontainer.h ../../core/log.h
|
||||
templates.o: ../../core/textstream.h ../../core/request.h
|
||||
templates.o: ../../notify/notify.h ../../notify/notifypool.h
|
||||
templates.o: ../../templates/locale.h ../../core/confparser.h
|
||||
templates.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
@@ -293,25 +284,24 @@ templates.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
templates.o: ../../functions/adduser.h ../../functions/cat.h
|
||||
templates.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
templates.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
templates.o: ../../functions/cp.h ../../functions/createthread.h
|
||||
templates.o: ../../functions/functionbase.h ../../core/synchro.h
|
||||
templates.o: ../../functions/default.h ../../functions/download.h
|
||||
templates.o: ../../functions/emacs.h ../../functions/last.h
|
||||
templates.o: ../../functions/login.h ../../functions/logout.h
|
||||
templates.o: ../../functions/ln.h ../../functions/ls.h
|
||||
templates.o: ../../functions/mkdir.h ../../functions/mv.h
|
||||
templates.o: ../../functions/node.h ../../functions/priv.h
|
||||
templates.o: ../../functions/reload.h ../../functions/rm.h
|
||||
templates.o: ../../functions/run.h ../../functions/specialdefault.h
|
||||
templates.o: ../../functions/stat.h ../../functions/subject.h
|
||||
templates.o: ../../functions/funthread.h ../../functions/template.h
|
||||
templates.o: ../../functions/cp.h ../../functions/default.h
|
||||
templates.o: ../../functions/download.h ../../functions/emacs.h
|
||||
templates.o: ../../functions/last.h ../../functions/login.h
|
||||
templates.o: ../../functions/logout.h ../../functions/ln.h
|
||||
templates.o: ../../functions/ls.h ../../functions/mkdir.h
|
||||
templates.o: ../../functions/mv.h ../../functions/node.h
|
||||
templates.o: ../../functions/priv.h ../../functions/reload.h
|
||||
templates.o: ../../functions/rm.h ../../functions/run.h
|
||||
templates.o: ../../functions/specialdefault.h ../../functions/stat.h
|
||||
templates.o: ../../functions/subject.h ../../functions/template.h
|
||||
templates.o: ../../functions/tinymce.h ../../functions/uname.h
|
||||
templates.o: ../../functions/upload.h ../../functions/uptime.h
|
||||
templates.o: ../../functions/who.h ../../functions/vim.h
|
||||
templates.o: ../../core/htmlfilter.h tdb.h ../../db/dbbase.h
|
||||
templates.o: ../../db/dbconn.h ../../db/dbtextstream.h ../../core/error.h
|
||||
templates.o: editticket.h createticket.h ../../core/misc.h
|
||||
templates.o: ../../core/plugin.h ../../core/pluginmsg.h ../../core/system.h
|
||||
templates.o: editticket.h ../../functions/functionbase.h ../../core/synchro.h
|
||||
templates.o: createticket.h ../../core/misc.h ../../core/plugin.h
|
||||
templates.o: ../../core/pluginmsg.h ../../core/system.h
|
||||
templates.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
|
||||
templates.o: ../../templates/templates.h ../../templates/patterncacher.h
|
||||
templates.o: ../../templates/ckeditorgetparser.h
|
||||
@@ -324,9 +314,8 @@ ticketinfo.o: ../../core/item.h ../../core/system.h ../../core/dirs.h
|
||||
ticketinfo.o: ../../core/item.h ../../core/dircontainer.h ../../db/db.h
|
||||
ticketinfo.o: ../../db/dbbase.h ../../db/dbitemquery.h
|
||||
ticketinfo.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
|
||||
ticketinfo.o: ../../core/thread.h ../../core/dircontainer.h
|
||||
ticketinfo.o: ../../core/ugcontainer.h ../../core/log.h
|
||||
ticketinfo.o: ../../core/textstream.h ../../core/request.h
|
||||
ticketinfo.o: ../../core/dircontainer.h ../../core/ugcontainer.h
|
||||
ticketinfo.o: ../../core/log.h ../../core/textstream.h ../../core/request.h
|
||||
ticketinfo.o: ../../notify/notify.h ../../notify/notifypool.h
|
||||
ticketinfo.o: ../../templates/locale.h ../../core/confparser.h
|
||||
ticketinfo.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
@@ -352,18 +341,16 @@ ticketinfo.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
ticketinfo.o: ../../functions/adduser.h ../../functions/cat.h
|
||||
ticketinfo.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
ticketinfo.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
ticketinfo.o: ../../functions/cp.h ../../functions/createthread.h
|
||||
ticketinfo.o: ../../functions/functionbase.h ../../core/synchro.h
|
||||
ticketinfo.o: ../../functions/default.h ../../functions/download.h
|
||||
ticketinfo.o: ../../functions/emacs.h ../../functions/last.h
|
||||
ticketinfo.o: ../../functions/login.h ../../functions/logout.h
|
||||
ticketinfo.o: ../../functions/ln.h ../../functions/ls.h
|
||||
ticketinfo.o: ../../functions/mkdir.h ../../functions/mv.h
|
||||
ticketinfo.o: ../../functions/node.h ../../functions/priv.h
|
||||
ticketinfo.o: ../../functions/reload.h ../../functions/rm.h
|
||||
ticketinfo.o: ../../functions/run.h ../../functions/specialdefault.h
|
||||
ticketinfo.o: ../../functions/stat.h ../../functions/subject.h
|
||||
ticketinfo.o: ../../functions/funthread.h ../../functions/template.h
|
||||
ticketinfo.o: ../../functions/cp.h ../../functions/default.h
|
||||
ticketinfo.o: ../../functions/download.h ../../functions/emacs.h
|
||||
ticketinfo.o: ../../functions/last.h ../../functions/login.h
|
||||
ticketinfo.o: ../../functions/logout.h ../../functions/ln.h
|
||||
ticketinfo.o: ../../functions/ls.h ../../functions/mkdir.h
|
||||
ticketinfo.o: ../../functions/mv.h ../../functions/node.h
|
||||
ticketinfo.o: ../../functions/priv.h ../../functions/reload.h
|
||||
ticketinfo.o: ../../functions/rm.h ../../functions/run.h
|
||||
ticketinfo.o: ../../functions/specialdefault.h ../../functions/stat.h
|
||||
ticketinfo.o: ../../functions/subject.h ../../functions/template.h
|
||||
ticketinfo.o: ../../functions/tinymce.h ../../functions/uname.h
|
||||
ticketinfo.o: ../../functions/upload.h ../../functions/uptime.h
|
||||
ticketinfo.o: ../../functions/who.h ../../functions/vim.h
|
||||
|
||||
Reference in New Issue
Block a user