added: mount points
(reading /etc/fstab from db not working yet)
core/mount.h
core/mountparser.h
core/mountparser.cpp
core/mounts.h
core/mounts.cpp
content/thread.cpp
content/createthread.cpp
templates/thread.cpp
git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@495 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
o = content.o priv.o emacs.o login.o rm.o cat.o logout.o ls.o node.o mkdir.o default.o run.o last.o who.o
|
||||
o = content.o priv.o emacs.o login.o rm.o cat.o logout.o ls.o node.o mkdir.o default.o run.o last.o who.o thread.o createthread.o
|
||||
|
||||
|
||||
all: content.a
|
||||
|
||||
+141
-95
@@ -5,13 +5,14 @@ cat.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
|
||||
cat.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
|
||||
cat.o: ../core/group.h ../core/ugcontainer.h ../core/users.h ../core/groups.h
|
||||
cat.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
|
||||
cat.o: ../core/lastcontainer.h ../core/request.h ../core/requesttypes.h
|
||||
cat.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
cat.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
|
||||
cat.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
cat.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
cat.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
cat.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
cat.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
|
||||
cat.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
cat.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
cat.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
|
||||
cat.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
|
||||
cat.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
|
||||
cat.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
|
||||
cat.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
cat.o: ../core/data.h ../app/content.h
|
||||
content.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
|
||||
content.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
|
||||
@@ -19,96 +20,120 @@ content.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
|
||||
content.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
|
||||
content.o: ../core/users.h ../core/groups.h ../core/functions.h
|
||||
content.o: ../core/function.h ../core/functioncodeparser.h
|
||||
content.o: ../core/lastcontainer.h ../core/request.h ../core/requesttypes.h
|
||||
content.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
content.o: ../core/httpsimpleparser.h ../core/postparser.h
|
||||
content.o: ../core/cookieparser.h ../core/item.h ../core/db.h ../core/error.h
|
||||
content.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
|
||||
content.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
content.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
content.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
|
||||
content.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
|
||||
content.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
|
||||
content.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
|
||||
content.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
content.o: ../core/request.h ../core/data.h ../app/content.h
|
||||
content.o: ../core/data.h ../app/content.h
|
||||
createthread.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
|
||||
createthread.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
|
||||
createthread.o: ../core/error.h ../core/dirs.h ../core/db.h
|
||||
createthread.o: ../core/dircontainer.h ../core/user.h ../core/group.h
|
||||
createthread.o: ../core/ugcontainer.h ../core/users.h ../core/groups.h
|
||||
createthread.o: ../core/functions.h ../core/function.h
|
||||
createthread.o: ../core/functioncodeparser.h ../core/lastcontainer.h
|
||||
createthread.o: ../core/mounts.h ../core/mount.h ../core/request.h
|
||||
createthread.o: ../core/requesttypes.h ../core/session.h ../core/done.h
|
||||
createthread.o: ../core/getparser.h ../core/httpsimpleparser.h
|
||||
createthread.o: ../core/postparser.h ../core/cookieparser.h
|
||||
createthread.o: ../core/mountparser.h ../core/request.h ../core/item.h
|
||||
createthread.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
|
||||
createthread.o: ../core/users.h ../core/groups.h ../core/log.h
|
||||
createthread.o: ../templates/patterncacher.h ../app/templates.h
|
||||
createthread.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
createthread.o: ../core/data.h ../app/content.h
|
||||
default.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
|
||||
default.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
|
||||
default.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
|
||||
default.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
|
||||
default.o: ../core/users.h ../core/groups.h ../core/functions.h
|
||||
default.o: ../core/function.h ../core/functioncodeparser.h
|
||||
default.o: ../core/lastcontainer.h ../core/request.h ../core/requesttypes.h
|
||||
default.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
default.o: ../core/httpsimpleparser.h ../core/postparser.h
|
||||
default.o: ../core/cookieparser.h ../core/item.h ../core/db.h ../core/error.h
|
||||
default.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
|
||||
default.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
default.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
default.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
|
||||
default.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
|
||||
default.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
|
||||
default.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
|
||||
default.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
default.o: ../core/request.h ../core/data.h ../app/content.h
|
||||
default.o: ../core/data.h ../app/content.h
|
||||
emacs.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
|
||||
emacs.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
|
||||
emacs.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
|
||||
emacs.o: ../core/user.h ../core/group.h ../core/ugcontainer.h ../core/users.h
|
||||
emacs.o: ../core/groups.h ../core/functions.h ../core/function.h
|
||||
emacs.o: ../core/functioncodeparser.h ../core/lastcontainer.h
|
||||
emacs.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
emacs.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
emacs.o: ../core/postparser.h ../core/cookieparser.h ../core/item.h
|
||||
emacs.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
|
||||
emacs.o: ../core/users.h ../core/groups.h ../core/log.h
|
||||
emacs.o: ../core/mounts.h ../core/mount.h ../core/request.h
|
||||
emacs.o: ../core/requesttypes.h ../core/session.h ../core/done.h
|
||||
emacs.o: ../core/getparser.h ../core/httpsimpleparser.h ../core/postparser.h
|
||||
emacs.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
|
||||
emacs.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
emacs.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
emacs.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
emacs.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
emacs.o: ../core/data.h ../app/content.h
|
||||
emacs.o: ../core/function.h ../core/functionparser.h ../core/data.h
|
||||
emacs.o: ../app/content.h
|
||||
last.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
|
||||
last.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
|
||||
last.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
|
||||
last.o: ../core/group.h ../core/ugcontainer.h ../core/users.h
|
||||
last.o: ../core/groups.h ../core/functions.h ../core/function.h
|
||||
last.o: ../core/functioncodeparser.h ../core/lastcontainer.h
|
||||
last.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
last.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
last.o: ../core/postparser.h ../core/cookieparser.h ../core/item.h
|
||||
last.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
|
||||
last.o: ../core/users.h ../core/groups.h ../core/log.h
|
||||
last.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
|
||||
last.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
|
||||
last.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
last.o: ../core/httpsimpleparser.h ../core/postparser.h
|
||||
last.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
|
||||
last.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
last.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
last.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
last.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
last.o: ../core/data.h ../app/content.h
|
||||
last.o: ../core/function.h ../core/functionparser.h ../core/data.h
|
||||
last.o: ../app/content.h
|
||||
login.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
|
||||
login.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
|
||||
login.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
|
||||
login.o: ../core/user.h ../core/group.h ../core/ugcontainer.h ../core/users.h
|
||||
login.o: ../core/groups.h ../core/functions.h ../core/function.h
|
||||
login.o: ../core/functioncodeparser.h ../core/lastcontainer.h
|
||||
login.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
login.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
login.o: ../core/postparser.h ../core/cookieparser.h ../core/item.h
|
||||
login.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
|
||||
login.o: ../core/users.h ../core/groups.h ../core/log.h
|
||||
login.o: ../core/mounts.h ../core/mount.h ../core/request.h
|
||||
login.o: ../core/requesttypes.h ../core/session.h ../core/done.h
|
||||
login.o: ../core/getparser.h ../core/httpsimpleparser.h ../core/postparser.h
|
||||
login.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
|
||||
login.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
login.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
login.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
login.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
login.o: ../core/data.h ../app/content.h
|
||||
login.o: ../core/function.h ../core/functionparser.h ../core/data.h
|
||||
login.o: ../app/content.h
|
||||
logout.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
|
||||
logout.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
|
||||
logout.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
|
||||
logout.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
|
||||
logout.o: ../core/users.h ../core/groups.h ../core/functions.h
|
||||
logout.o: ../core/function.h ../core/functioncodeparser.h
|
||||
logout.o: ../core/lastcontainer.h ../core/request.h ../core/requesttypes.h
|
||||
logout.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
logout.o: ../core/httpsimpleparser.h ../core/postparser.h
|
||||
logout.o: ../core/cookieparser.h ../core/item.h ../core/db.h ../core/error.h
|
||||
logout.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
|
||||
logout.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
logout.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
logout.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
|
||||
logout.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
|
||||
logout.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
|
||||
logout.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
|
||||
logout.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
logout.o: ../core/request.h ../core/data.h ../app/content.h
|
||||
logout.o: ../core/data.h ../app/content.h
|
||||
ls.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
|
||||
ls.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
|
||||
ls.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
|
||||
ls.o: ../core/group.h ../core/ugcontainer.h ../core/users.h ../core/groups.h
|
||||
ls.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
|
||||
ls.o: ../core/lastcontainer.h ../core/request.h ../core/requesttypes.h
|
||||
ls.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
ls.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
|
||||
ls.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
ls.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
ls.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
ls.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
ls.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
|
||||
ls.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
ls.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
ls.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
|
||||
ls.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
|
||||
ls.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
|
||||
ls.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
|
||||
ls.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
ls.o: ../core/data.h ../app/content.h
|
||||
mkdir.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
|
||||
mkdir.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
|
||||
@@ -116,78 +141,99 @@ mkdir.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
|
||||
mkdir.o: ../core/user.h ../core/group.h ../core/ugcontainer.h ../core/users.h
|
||||
mkdir.o: ../core/groups.h ../core/functions.h ../core/function.h
|
||||
mkdir.o: ../core/functioncodeparser.h ../core/lastcontainer.h
|
||||
mkdir.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
mkdir.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
mkdir.o: ../core/postparser.h ../core/cookieparser.h ../core/item.h
|
||||
mkdir.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
|
||||
mkdir.o: ../core/users.h ../core/groups.h ../core/log.h
|
||||
mkdir.o: ../core/mounts.h ../core/mount.h ../core/request.h
|
||||
mkdir.o: ../core/requesttypes.h ../core/session.h ../core/done.h
|
||||
mkdir.o: ../core/getparser.h ../core/httpsimpleparser.h ../core/postparser.h
|
||||
mkdir.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
|
||||
mkdir.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
mkdir.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
mkdir.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
mkdir.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
mkdir.o: ../core/data.h ../app/content.h
|
||||
mkdir.o: ../core/function.h ../core/functionparser.h ../core/data.h
|
||||
mkdir.o: ../app/content.h
|
||||
node.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
|
||||
node.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
|
||||
node.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
|
||||
node.o: ../core/group.h ../core/ugcontainer.h ../core/users.h
|
||||
node.o: ../core/groups.h ../core/functions.h ../core/function.h
|
||||
node.o: ../core/functioncodeparser.h ../core/lastcontainer.h
|
||||
node.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
node.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
node.o: ../core/postparser.h ../core/cookieparser.h ../core/item.h
|
||||
node.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
|
||||
node.o: ../core/users.h ../core/groups.h ../core/log.h
|
||||
node.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
|
||||
node.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
|
||||
node.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
node.o: ../core/httpsimpleparser.h ../core/postparser.h
|
||||
node.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
|
||||
node.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
node.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
node.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
node.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
node.o: ../core/data.h ../app/content.h
|
||||
node.o: ../core/function.h ../core/functionparser.h ../core/data.h
|
||||
node.o: ../app/content.h
|
||||
priv.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
|
||||
priv.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
|
||||
priv.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
|
||||
priv.o: ../core/group.h ../core/ugcontainer.h ../core/users.h
|
||||
priv.o: ../core/groups.h ../core/functions.h ../core/function.h
|
||||
priv.o: ../core/functioncodeparser.h ../core/lastcontainer.h
|
||||
priv.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
priv.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
priv.o: ../core/postparser.h ../core/cookieparser.h ../core/item.h
|
||||
priv.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
|
||||
priv.o: ../core/users.h ../core/groups.h ../core/log.h
|
||||
priv.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
|
||||
priv.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
|
||||
priv.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
priv.o: ../core/httpsimpleparser.h ../core/postparser.h
|
||||
priv.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
|
||||
priv.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
priv.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
priv.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
priv.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
priv.o: ../core/data.h ../app/content.h
|
||||
priv.o: ../core/function.h ../core/functionparser.h ../core/data.h
|
||||
priv.o: ../app/content.h
|
||||
rm.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
|
||||
rm.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
|
||||
rm.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
|
||||
rm.o: ../core/group.h ../core/ugcontainer.h ../core/users.h ../core/groups.h
|
||||
rm.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
|
||||
rm.o: ../core/lastcontainer.h ../core/request.h ../core/requesttypes.h
|
||||
rm.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
rm.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
|
||||
rm.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
rm.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
rm.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
rm.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
rm.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
|
||||
rm.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
rm.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
rm.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
|
||||
rm.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
|
||||
rm.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
|
||||
rm.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
|
||||
rm.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
rm.o: ../core/data.h ../app/content.h
|
||||
run.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
|
||||
run.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
|
||||
run.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
|
||||
run.o: ../core/group.h ../core/ugcontainer.h ../core/users.h ../core/groups.h
|
||||
run.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
|
||||
run.o: ../core/lastcontainer.h ../core/request.h ../core/requesttypes.h
|
||||
run.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
run.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
|
||||
run.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
run.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
run.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
run.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
run.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
|
||||
run.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
run.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
run.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
|
||||
run.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
|
||||
run.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
|
||||
run.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
|
||||
run.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
run.o: ../core/data.h ../app/content.h
|
||||
thread.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
|
||||
thread.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
|
||||
thread.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
|
||||
thread.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
|
||||
thread.o: ../core/users.h ../core/groups.h ../core/functions.h
|
||||
thread.o: ../core/function.h ../core/functioncodeparser.h
|
||||
thread.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
|
||||
thread.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
thread.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
thread.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
|
||||
thread.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
|
||||
thread.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
|
||||
thread.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
|
||||
thread.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
thread.o: ../core/data.h ../app/content.h
|
||||
who.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
|
||||
who.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
|
||||
who.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
|
||||
who.o: ../core/group.h ../core/ugcontainer.h ../core/users.h ../core/groups.h
|
||||
who.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
|
||||
who.o: ../core/lastcontainer.h ../core/request.h ../core/requesttypes.h
|
||||
who.o: ../core/session.h ../core/done.h ../core/getparser.h
|
||||
who.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
|
||||
who.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
|
||||
who.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
|
||||
who.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
who.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
who.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
|
||||
who.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
who.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
who.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
|
||||
who.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
|
||||
who.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
|
||||
who.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
|
||||
who.o: ../core/misc.h ../core/function.h ../core/functionparser.h
|
||||
who.o: ../core/data.h ../app/content.h
|
||||
|
||||
+49
-10
@@ -11,7 +11,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
bool Content::Init()
|
||||
{
|
||||
templates.Read();
|
||||
@@ -39,18 +38,31 @@ return true;
|
||||
|
||||
|
||||
|
||||
|
||||
void Content::SetDefaultFunction()
|
||||
void Content::SetDefaultFunctionForFile()
|
||||
{
|
||||
if( request.is_item )
|
||||
if( request.HasReadExecAccess(request.item) )
|
||||
request.pfunction = data.functions.GetFunction(FUN_RUN);
|
||||
else
|
||||
request.pfunction = data.functions.GetFunction(FUN_CAT);
|
||||
|
||||
if( request.pfunction )
|
||||
log << log3 << "Content: default function: " << request.pfunction->item.url << logend;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void Content::SetDefaultFunctionForDir()
|
||||
{
|
||||
Mount mount = data.mounts.GetCurrentMountPoint();
|
||||
|
||||
if( mount.type == Mount::thread )
|
||||
{
|
||||
if( request.HasReadExecAccess(request.item) )
|
||||
request.pfunction = data.functions.GetFunction(FUN_RUN);
|
||||
else
|
||||
request.pfunction = data.functions.GetFunction(FUN_CAT);
|
||||
|
||||
request.pfunction = data.functions.GetFunction(FUN_THREAD);
|
||||
|
||||
if( request.pfunction )
|
||||
log << log3 << "Content: default function: " << request.pfunction->item.url << logend;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -69,7 +81,20 @@ void Content::SetDefaultFunction()
|
||||
|
||||
log << log3 << "Content: Default item: id: " << default_item << logend;
|
||||
RedirectTo(default_item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void Content::SetDefaultFunction()
|
||||
{
|
||||
if( request.is_item )
|
||||
{
|
||||
SetDefaultFunctionForFile();
|
||||
}
|
||||
else
|
||||
{
|
||||
SetDefaultFunctionForDir();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,6 +152,15 @@ void Content::MakeStandardFunction()
|
||||
else
|
||||
if( request.pfunction->code == FUN_LAST )
|
||||
FunLast();
|
||||
else
|
||||
if( request.pfunction->code == FUN_THREAD )
|
||||
FunThread();
|
||||
else
|
||||
if( request.pfunction->code == FUN_CREATETHREAD )
|
||||
FunCreateThread();
|
||||
else
|
||||
request.status = Error::permision_denied;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -165,8 +199,13 @@ void Content::MakePost()
|
||||
PostFunLogin();
|
||||
break;
|
||||
|
||||
case FUN_CREATETHREAD:
|
||||
PostFunCreateThread();
|
||||
break;
|
||||
|
||||
default:
|
||||
log << log1 << "Content: unknown post function" << logend;
|
||||
// !! moze daj tutaj tez access denied?
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
+6
-2
@@ -35,6 +35,8 @@ class Content
|
||||
void PrepareUrl(Item & item);
|
||||
|
||||
|
||||
void SetDefaultFunctionForFile();
|
||||
void SetDefaultFunctionForDir();
|
||||
void SetDefaultFunction();
|
||||
bool DirsHaveReadExecPerm();
|
||||
|
||||
@@ -60,15 +62,17 @@ class Content
|
||||
void FunRun();
|
||||
void FunWho();
|
||||
void FunLast();
|
||||
|
||||
void FunThread();
|
||||
void FunCreateThread();
|
||||
|
||||
void PostFunLogin();
|
||||
void PostFunEmacsAdd();
|
||||
void PostFunEmacsEdit(bool with_url);
|
||||
void PostFunEmacs();
|
||||
void PostFunMkdir();
|
||||
void PostFunMkdir(bool add_to_dir_table = false);
|
||||
void PostFunDefault();
|
||||
void PostFunPriv();
|
||||
void PostFunCreateThread();
|
||||
|
||||
void RedirectTo(const Item & item);
|
||||
void RedirectTo(long item_id);
|
||||
|
||||
Executable
+56
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* This file is a part of CMSLU -- Content Management System like Unix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2008, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "content.h"
|
||||
#include "../app/content.h"
|
||||
|
||||
|
||||
|
||||
void Content::PostFunCreateThread()
|
||||
{
|
||||
if( !request.HasWriteAccess(*request.dir_table.back()) || request.is_item )
|
||||
{
|
||||
request.status = Error::permision_denied;
|
||||
return;
|
||||
}
|
||||
|
||||
PostFunMkdir(true);
|
||||
|
||||
if( request.session->done_status == Error::ok )
|
||||
{
|
||||
PostFunEmacs();
|
||||
|
||||
if( request.session->done_status == Error::ok )
|
||||
{
|
||||
request.session->done = Done::added_thread;
|
||||
RedirectTo(*request.dir_table.back());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void Content::FunCreateThread()
|
||||
{
|
||||
if( !request.HasWriteAccess(*request.dir_table.back()) )
|
||||
{
|
||||
request.status = Error::permision_denied;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@ void Content::FunLs()
|
||||
request.item_table.push_back( request.item );
|
||||
return;
|
||||
}
|
||||
|
||||
// !! a gdzie sprawdzenie uprawnien?
|
||||
|
||||
// we're showing the whole directory
|
||||
Item item_ref;
|
||||
|
||||
+5
-2
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
|
||||
void Content::PostFunMkdir()
|
||||
void Content::PostFunMkdir(bool add_to_dir_table)
|
||||
{
|
||||
if( !request.HasWriteAccess(*request.dir_table.back()) )
|
||||
{
|
||||
@@ -47,7 +47,10 @@ void Content::PostFunMkdir()
|
||||
|
||||
if( request.session->done_status == Error::ok )
|
||||
{
|
||||
data.dirs.AddDir(item);
|
||||
Item * pdir = data.dirs.AddDir(item);
|
||||
|
||||
if( add_to_dir_table )
|
||||
request.dir_table.push_back(pdir);
|
||||
|
||||
request.session->item = item;
|
||||
request.session->done_timer = 2;
|
||||
|
||||
Executable
+30
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* This file is a part of CMSLU -- Content Management System like Unix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2008, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "content.h"
|
||||
#include "../app/content.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void Content::FunThread()
|
||||
{
|
||||
// we're showing the whole directory
|
||||
Item item_ref;
|
||||
|
||||
item_ref.parent_id = request.dir_table.back()->id;
|
||||
|
||||
// !! zrobic inna metode, inny interfejs (jako parametr niech bierze parent_id), i zeby nie odczytywala contentu i subjectu (a moze tylko subject? przyda sie przy ls -l)
|
||||
db.GetItems(request.item_table, item_ref);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user