933c8841ff
added: uptime winix function prints how many sessions there are
Tomasz Sowa2010-11-25 01:34:46 +00:00
518281e101
fixed: when signal comes winix properly exits fixed: when winix exits the session data were not properly destroyed (memory leak) we should set request.session pointer to each session when deleting sessions from session_container the session data were not properly destroyed when winix checked for outdated sessions (and when it was removing them) fixed: performance (memcpy used too often) in some places there were reserve method used (on std::wstring/std::string objects) especially in AssignString() method and TextStream<> object if we add a new string we should check the new size and only call reserve() if the new size will be greater than existing one (plus some constant) changed: fcgi objects moved to App class (from Request) now we use thread safe methods (e.g. FCGX_Accept_r) added: log_plugin_call option to the config default: false when true winix log when a plugin function is called added: winix parameter 'nostat' for not calculating statistics (useful when making performance tests)
Tomasz Sowa2010-11-23 21:52:25 +00:00
515d4bab0d
added ezc functions: winix_false, winix_true
Tomasz Sowa2010-11-22 01:12:46 +00:00
8e72a820dd
added support for UTF-8 now the UTF-8 is a default charset
Tomasz Sowa2010-11-21 00:19:17 +00:00
c6473f20dc
now winix can demonize itself parameter in the config: demonize (default: true)
Tomasz Sowa2010-10-24 19:26:54 +00:00
9c34cb5862
winix can drop privileges now (if started as the root) added parameters to the config: user (string) group (string) additional_groups (bool)
Tomasz Sowa2010-10-24 17:49:38 +00:00
1b053c03ba
added: now plugin ticket uses a new horizontal table (plugins.ticket) columns: dir_id, param, value we are able to build complicated tickets
Tomasz Sowa2010-10-19 00:31:20 +00:00
33057acd62
added ticket parser: plugins/ticket/ticketparser.h plugins/ticket/ticketparser.cpp
Tomasz Sowa2010-10-11 20:42:49 +00:00
07511a2eb0
fixed: DbBase::ConvertTime(tm) should not have been used in this way as it was (it uses a static buffer) now DbTextStream can get tm struct so you don't have to use ConvertTime
Tomasz Sowa2010-10-09 20:27:45 +00:00
69c634d53f
added to core/misc: bool EqualNoCase(const std::string & str1, const std::string & str2)
Tomasz Sowa2010-10-01 23:20:03 +00:00
7bc17a9202
fixed: ticket sets a default function only for directories fixed: reading a new url and subject in Functions::ReadItem() added: tickets are sorted now (by date)
Tomasz Sowa2010-09-30 20:58:20 +00:00
d94a08b991
moved: plugins/ticket/ticket.cpp -> plugins/ticket/templates.cpp
Tomasz Sowa2010-09-29 22:41:34 +00:00
a8b8c1feec
tickets has been moved to a new plugin 'ticket'
Tomasz Sowa2010-09-29 21:24:34 +00:00
a589e5a090
added: TextStream a class similar to std::ostringstream but with a Clear() method the dynamic allocated buffer can be easily reused added: DbTextStream a special version of a stream used to create a database string query everything is escaped by default added: DbBase a base class with some basic methods for communicating with the database added: DbConn a class for managing connection to the database changed: some refactoring in Db class
Tomasz Sowa2010-09-18 00:51:12 +00:00
8b1db3304f
creating winix/db directory (for the database class)
Tomasz Sowa2010-09-16 10:20:20 +00:00
23aedd68b0
changed: mount points mount type and mount fs are of type 'int' now they can be added by plugins
Tomasz Sowa2010-09-12 23:33:27 +00:00
f48f08a98b
changed: notification's template added: notifications in tickets
Tomasz Sowa2010-09-07 23:54:01 +00:00
81dd88d25a
fixed: there was missing html/fun_editticket.html template
Tomasz Sowa2010-09-05 18:58:24 +00:00
c92081d6e1
added: to stats plugin: microsoft bing searcher
Tomasz Sowa2010-08-28 21:19:30 +00:00
3b655f39e1
added: plugins_dir to config small changes in makefiles
Tomasz Sowa2010-08-17 22:32:47 +00:00
eec0ddf466
added: method ConfParser::UseEscapeChar(bool escape)
Tomasz Sowa2010-08-16 14:15:37 +00:00
ca4e53bb0f
html code in editors (emacs, ckeditor...) is filtered now for normal users (root is allowed to use any html code)
Tomasz Sowa2010-08-14 17:56:07 +00:00
7bfed62526
emacs didn't correctly report errors from db
Tomasz Sowa2010-08-14 16:55:16 +00:00
b63ac98f40
now winix waites for the database to be ready (when the operating system starts)
Tomasz Sowa2010-08-14 16:23:18 +00:00
1e7d297c0e
small changes in template winix function
Tomasz Sowa2010-08-14 14:45:25 +00:00
f3cd3b88b9
some improvement in templates (now we have O(1) time for selecting the right html template) added: winix function: template for selecting a template for an item (file or dir)
Tomasz Sowa2010-08-13 20:04:57 +00:00
c3fac2e83f
changed method: void PostMultiParser::ReadContentToFileLoop() previous version was not clean
Tomasz Sowa2010-08-11 15:47:44 +00:00
c7f6d2727c
fixed: PostMultiParser incorrectly logged the size of input items (those which were not files)
Tomasz Sowa2010-08-11 10:00:23 +00:00
9901c63ede
removed some thread and ticket information from request they are in FunThread and FunTicket classes now added funtion FunUptime (I forgot about it)
Tomasz Sowa2010-08-10 20:43:38 +00:00
76897b8a83
I have forgotten to create classes: Ckeditor and Tinymce (in functions)
Tomasz Sowa2010-08-10 17:05:19 +00:00
217cf1420b
the first part of reimplementing has been done now we have app object and singletons are only: log logn plugin and app
0.4.0
Tomasz Sowa2010-08-10 16:12:50 +00:00
031ace3fe5
changed: the way how plugins work all your plugin functions can have signature either: void my_function(PluginInfo & info); or void my_function(); only the main Init should have: extern "C" void Init(PluginFunction & info);
Tomasz Sowa2010-07-27 20:41:56 +00:00
e4683b9a05
fixed: in htmlfilter: <area> should be treated as single tag changed: ConfParser is abble to recognize lists
Tomasz Sowa2010-07-21 17:24:16 +00:00
50cb88c5ed
added: parameters consist of a name and a value now sample: /dir/dir2/function/paramname:paramvalue removed: TemplatesMisc namespace
Tomasz Sowa2010-07-04 20:27:14 +00:00
76e32703ac
fixed: a mount parameter html_template() was not properly read when mountpoints were reloaded
Tomasz Sowa2010-07-01 15:40:18 +00:00
16bb238518
added: bbcode files: core/bbcodeparser.h core/bbcodeparser.cpp
Tomasz Sowa2010-06-30 18:42:50 +00:00
759135fd7d
struct Item has modification_user_id (long) now this is the id of a user who has modified the item recently this is only for information, persmissions don't use it
Tomasz Sowa2010-06-22 21:09:37 +00:00
1e3f5e8695
added: mount option: html_template(file.html) files: indexpatterns.h indexpatterns.cpp removed: templates/index_root.html its content was moved to index.html
0.3.2
Tomasz Sowa2010-06-21 23:53:19 +00:00
ff3c141138
added: a new editor: tinymce (function tinymce) added: html filter can check orphans: "i", "a", "o" ... in a text
Tomasz Sowa2010-06-20 22:47:24 +00:00
fe31e0e849
added: cp function for directories added: emacs/mkdir uses group_id of the parent directory when creating new items added: parameter 'dirls' to ls function
Tomasz Sowa2010-06-05 19:44:49 +00:00
2a26968c6c
added: function cp (only for files)
Tomasz Sowa2010-06-03 17:38:18 +00:00
612f260938
added function: uname added function: subject - for changing a subject
Tomasz Sowa2010-05-20 18:28:19 +00:00
2ad666d221
added: sessions data for plugins (plugindata.h plugindata.cpp)
Tomasz Sowa2010-05-04 21:58:22 +00:00
aff4cc516e
added: 'rm' function can remove auth content now
Tomasz Sowa2010-03-15 17:09:45 +00:00
6fbcffe63b
added: to the Item: auth_path - a path to a static file (if auth is different from auth_none) added: function 'mv' (move)
Tomasz Sowa2010-03-15 01:47:26 +00:00
ebd868fa33
removed: Done class (core/done.h, core/done.cpp) removed: from Session: done, done_status, timers
Tomasz Sowa2010-02-28 21:33:06 +00:00
71a63cc70e
added: function adduser changed: errors (removed enum, there are macros now) added: error messages to locales (winix_err_NN) removed: templates: err_abuse.html err_others.html
Tomasz Sowa2010-02-28 00:08:10 +00:00
3702efc5be
added: parameter 'l' to 'ls' function added: Db::ItemQuery struct for querying items changed: some refactoring (renamed some config variables)
Tomasz Sowa2010-02-22 22:52:09 +00:00
16e51cd4e5
added: to mount points: file systems we have two file systems now: - simplefs - the files stored on the hard drive have the same structure as in the database (dir1/dir2/file) - hashfs - files are stored in special directories extented: the mountparser can read file system added: function download this is a default function for items which have static content
Tomasz Sowa2010-02-18 23:30:22 +00:00
fa8d8f9ea0
fixed: Config::Text() returned a reference to a local variable (std::string) added: 'static' directory with *.css and images we have a default layout moved: locale from data to templates notification templates have its own locale object added: reload function reloades locale now too added: 'nice' form of item_info in templates
Tomasz Sowa2010-02-15 00:31:14 +00:00
4aae12fc63
I forgot to commit loadavg.h and loadavg.cpp
Tomasz Sowa2010-02-13 20:14:44 +00:00
256a8fb5c5
added: calculation of load averages and requests per second (uptime function shows it)
Tomasz Sowa2010-02-13 20:12:15 +00:00
3c5a7cd664
changed: upload function select file type by the extension param: multi fixed: uptime function it showed incorrect uptime time (minuts were badly calculated)
Tomasz Sowa2010-02-12 23:16:13 +00:00
796985472a
added to config: parameter static_auth_dir_tmp with a path to directory for tmp files (for upload functino)
Tomasz Sowa2010-02-12 17:05:32 +00:00
cd74d1887a
fixed: sprintf %d in uptime function
Tomasz Sowa2010-02-11 21:04:53 +00:00
adf36e71ce
added: functions: ckeditor, uptime added: for function: login - a html pattern for GET request
Tomasz Sowa2010-02-11 20:56:52 +00:00
fc3c303d30
added: to templates: item_url_is and dir_last_url
Tomasz Sowa2010-02-08 20:02:16 +00:00
0e50977779
added: 'rm' function can work with tickets
Tomasz Sowa2010-02-06 14:08:44 +00:00
ed9feaf542
changed: log is saved after some requests (config: log_request value) (performance)
Tomasz Sowa2010-01-28 21:09:48 +00:00
09d427b4ba
changed: rename cmslu to winix changed: html templates are a part of winix now and the user can provide special html templates for its site added: locales added: html templates are using HtmlFilter now (locales) changed: now we have html templates for each language
Tomasz Sowa2010-01-28 15:39:01 +00:00
848ddcebd7
fixed: not logged users cannot edit a ticket
Tomasz Sowa2010-01-25 07:27:18 +00:00
71763d340e
fixed: not logged users are not allowed to remove anything (temporarily - we're waiting for the sticky bit)
Tomasz Sowa2010-01-25 07:04:34 +00:00
89daf6489d
added: issues ticket system added functions: ticket, createticket, editticket (there is no 'rm' function working for tickets yet) changed: mount parser and mount points now we have more parameters (arguments in parameters) some refactoring in functions 'emacs' and 'mkdir'
Tomasz Sowa2010-01-25 04:52:17 +00:00
356e93914b
fixed: there was a wrong template used for 404 header
Tomasz Sowa2010-01-11 16:41:23 +00:00
5523d0c27a
fixed: access to content type should not be checked when generating a page
Tomasz Sowa2010-01-11 15:09:31 +00:00
590a94523e
fixed: content type was always 'formatted text' (in emacs when creating a new item)
Tomasz Sowa2010-01-11 14:59:19 +00:00
81faca041a
added: parser for multipart forms, files: postmultiparser.h postmultiparser.cpp added: function: upload
Tomasz Sowa2010-01-06 19:17:53 +00:00
60fccea703
fixed: dots in url-es (now only one dot is available in the whole name and it cannot be only one dot ".") added: cmslu can act as an authorizer (fast cgi authorize role) added: Item::static_auth we can have additional static content on the file system this content is authorized through cmslu (fastcgi authorizer mode) changed: some changes in config changed: the way how the www server is using cmslu added new virtuals: static static_auth changed: cmslu returns correct http headers (200, 404, 403) changed: in cookie parser: we get the last cookie (if the server has more than one cookie with the same name)
Tomasz Sowa2009-12-30 20:46:12 +00:00