Commit Graph

7 Commits

Author SHA1 Message Date
Tomasz Sowa 55cd813141 added: privileges (user, groups, permissions)
(not finished yet)
       classes: User, Group, Users, Groups, UGContainer
changed: Dir class into Dirs


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@467 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-12-21 21:17:09 +00:00
Tomasz Sowa 86f28faf8d changed: db: table item: url_subject into url
changed: item.url_subject into item.url
changed: a new table: content
         with: id, subject, content, content_type
         (those from the item table)
         it helps to create hard links


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@466 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-12-14 05:28:28 +00:00
Tomasz Sowa 023faa66fc added: config: base_url_redirect
when true the server checks whether HTTP_HOST environment variable
       is the same as base_url from the config (of course without the 'http://' part
       and the last slash) - if it's not the same then the server
       redirects you into a new location base_url+REQUEST_URI
changed: variables env_* from Request are never null (after Request::Read())
       if the server didn't set such a variable it will be pointing into an empty string "\0"


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@465 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-12-12 03:11:29 +00:00
Tomasz Sowa 3462cdf827 I forgot to add config.h and config.cpp into the repository
git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@464 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-12-11 02:48:25 +00:00
Tomasz Sowa 8aab988752 added: program reads its configuration from a config file
added: confparser directory and confparser.h and confparser.cpp
       class ConfParser used to parse a config file
       this is a generic parser, can be used by another project
added: config.h, config.cpp
       class Config used for assigning values from 
       a config file into the data object
added: function for signals: SIGINT, SIGHUP
       after receiving SIGHUP the program will read
       its config file again


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@463 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-12-11 02:46:16 +00:00
Tomasz Sowa c53e985a92 import the first version of cmslu
git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@460 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-12-10 04:42:49 +00:00
Tomasz Sowa d4a5f1f963 creating directory cmslu/trunk
git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@459 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-12-10 04:41:09 +00:00