717eb526fb* added: class HTMLFilter files: htmlfilter.h htmlfilter.cpp this is an html filter used to make the html output looking better this is a very lightweight filter (without using any dynamic memory - some memory is allocated only at the beginning - in ctors) this filter has O(n) complexity over the whole html string * added: antyspamming method if the POST request is sent too fast after the GET it is treated as a spam only for no logged users and only in 'emacs' and 'createthread' functionsTomasz Sowa2009-12-09 00:42:40 +00:00
9241fddb1esmall changes in Makefile now the binaries are in local 'bin' directory (use make install)Tomasz Sowa2009-12-04 05:03:44 +00:00
2dff0bed72changed: SessionParser::ReadLong() can read negative valuesTomasz Sowa2009-11-21 00:08:08 +00:00
4827c116f0added: 'remember me' flag when logging added: the session file sessions can still be available between starting and stopping the cmslu systemTomasz Sowa2009-11-20 23:09:52 +00:00
848afac803removed: hidden variable 'old_url' in emacs templateTomasz Sowa2009-11-18 01:58:38 +00:00
13b0204427I have forgotten to add templates/rebus.cpp to the repositoryTomasz Sowa2009-11-17 01:07:29 +00:00
2ca44ec361added: Rebus (when no logged user wants to send a message then he is asked a question)Tomasz Sowa2009-11-16 23:36:38 +00:00
c62d48160afixed: the core didn't test for special folder when system was running (now mkdir addes correctly special folders) added: function 'reload' param: 'templates' - reloading templatesTomasz Sowa2009-11-16 17:43:23 +00:00
9129f1b82aadded: mount points are read from db: /etc/fstab changed: mount points parser allows empty lines (with some white characters)Tomasz Sowa2009-11-15 23:55:11 +00:00
378cfc0c3dadded: plugin mechanism files: core/plugin.h core/plugin.cpp core/pluginmsg.h added: directory 'main' with main.cpp (moved from 'core' directory) changed: the way of building nearly everything is in cmslu.so only main() is in cmslu and is dynamically linked with cmslu.soTomasz Sowa2009-11-13 20:40:11 +00:00
7db71d43e0added: acceptbaseparser.h acceptbaseparser.cpp class AcceptBaseParser for parsing http accept* headers added: acceptencodingparser.h class AcceptEncodingParser for parsing HTTP_ACCEPT_ENCODING header added: compresion only when HTTP_ACCEPT_ENCODING has 'deflate' and the browser is not the Internet ExplorerTomasz Sowa2009-10-08 17:59:10 +00:00
85b678a8fbadded: notifications to users' emails (core/notify.h core/notify.cpp) templatesnotify directory all notifications are managed by a second thread
0.3.0
Tomasz Sowa2009-09-30 22:31:20 +00:00
9902ce2b78added: support for output compressionTomasz Sowa2009-09-21 23:05:05 +00:00
f99c993d96added: column 'guest_name' to 'item' table used when user_id is -1 added: mount parameters: thread_with_info, thread_with_header added: function rm can remove threadsTomasz Sowa2009-06-07 02:40:27 +00:00
1eb42446f8added: forum added: mount params can have arguments (in parentheses) added: mount params: withheader, withinfo, restrictcreatethread, only_root_can_remove, can_use_emacs_on(level), can_use_mkdir_on(level), added: table Item has 'subject' column now removed: column 'subject' from table ContentTomasz Sowa2009-06-05 20:29:06 +00:00
2dd3fc7df8changed: the way of building core.a content.a templates.a confparser.a have gone away there is only: cmslu.a now (in the global directory 'cmslu') changed: the way of building in Makefile(s) we dont longer use explicitly a variable 'o = file1.o file2.o...' it was put into Makefile.o.dep and is generated automatically when 'make depend' is invoked changed: some #include "..." directives were put from *.h to *.cpp files fewer dependencesTomasz Sowa2009-04-21 20:50:55 +00:00
f46677dfc0added: mount points have parameters now added: to the database: table 'thread'Tomasz Sowa2009-04-20 23:49:28 +00:00
e94ccc86f8fixed: a small problem in mountparser (it coused core dumped when there was a wrong mount point supplied) fixed: 'default' funtion can take a directory now (there was an error early)Tomasz Sowa2009-04-20 21:10:31 +00:00
e778903dabadded: put info about logging out a user (to 'last' table) (when a session expires)Tomasz Sowa2009-04-20 20:22:35 +00:00
a1ea298a43added: 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.cppTomasz Sowa2009-04-19 22:13:21 +00:00
7a4a8e0fe2added: container LastContainer (lastcontainer.h lastcontainer.cpp) it consists of last logged users added: function 'last'Tomasz Sowa2009-04-16 01:59:42 +00:00
bbaefd0f77added: date_creation and date_modification to items changed: function 'run' is using a template: fun_run.html there is: [item_run] called from this templateTomasz Sowa2009-03-22 23:54:15 +00:00
951d0e8653changed: DirContainer - uses std::list instead of std::vector as the main container we do not have to rebuild indexes after deleting some items added: DirContainer::DelById(long id) changed: Dirs::CheckRootDir() addes the root dir if there is no one added: Dirs::DeleteDir(long id) - deletes specified directory (and its contents) (from the cache and the database) added: Db::DelDirById(long id) - deletes a dir from the database and its first children added: standard function rm can delete directoriesTomasz Sowa2009-02-06 13:12:03 +00:00
7d73d048c8added: SessionContainer special container used by SessionManager sessions are indexed by id and time (last used time) changed: old sessions are deleted parameter: session_max_iddle in the config file added: function 'who'Tomasz Sowa2009-01-31 06:53:36 +00:00
a48766871dfixed: the way AppDb works (pg_conn and Connect method)Tomasz Sowa2009-01-27 18:43:44 +00:00
406cb4a619changed: not logging (headers and body)Tomasz Sowa2009-01-26 21:21:07 +00:00
20f6fbcf84changed: the way of building the cmslu main Makefile is in an application directory in cmslu/ there are only libraries: core.a content.a confparser.a templates.a added: macros APPTEMPLATES APPFUNCTIONS defined in the application's Makefile added: PatternCacher added: cmslu function 'run' files which have exec permissions can be run (run is a default function) after read from the database the content is parsed into Ezc::Pattern object, this object is then cached in PatternCacher added: FunctionCodeParser - will be used to parse the code from standard functions (ls/cat/...)Tomasz Sowa2009-01-26 20:49:28 +00:00
327f18525cchanged: cmslu building Makefile from cmslu/ builds only: confparser.a content.a core.a templates.a the proper *.fcgi file is created from an application changed: all cmslu functions have english names (ls, emacs, etc) fixed: function: login/logout are placed where there are permissionsTomasz Sowa2009-01-14 20:11:12 +00:00
8a0ea59c77added: function: default changes the default item in a directoryTomasz Sowa2008-12-31 18:28:12 +00:00
3e328932fcadded: created directory 'content' which has Content:: files added: created directory 'templates' which has Templates:: and TemplatesFunctions:: files changed: content.cpp split into many files (directory 'content') changed: templates.cpp split into many files (directory 'templates') added: full permissions changed: building of the program (GNU make is used now) Makefile and Makefile.dep added into directories added: a parser 'FunctionParser' is used to parse the GET string it recognizes directories, items, functions, functions parameters added: other classes: Function, Functions added: function: ls, privileges changed: function 'id' to 'node' changed: version: to 0.2.0 added/changed: a lot of work have been done
0.2.0
Tomasz Sowa2008-12-30 01:05:03 +00:00
fac60a197bchanged: there is one dir called root (has parent_id -1) (we have an owner, group, privileges etc of the root dir) the root.id of course is not -1Tomasz Sowa2008-12-22 16:03:03 +00:00
55cd813141added: privileges (user, groups, permissions) (not finished yet) classes: User, Group, Users, Groups, UGContainer changed: Dir class into DirsTomasz Sowa2008-12-21 21:17:09 +00:00
86f28faf8dchanged: 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 linksTomasz Sowa2008-12-14 05:28:28 +00:00
023faa66fcadded: 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"Tomasz Sowa2008-12-12 03:11:29 +00:00
3462cdf827I forgot to add config.h and config.cpp into the repositoryTomasz Sowa2008-12-11 02:48:25 +00:00
8aab988752added: 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 againTomasz Sowa2008-12-11 02:46:16 +00:00