Tomasz Sowa
d9f2e91806
removed some debug logs from emacs
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@640 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-14 17:07:13 +00:00
Tomasz Sowa
7bfed62526
emacs didn't correctly report errors from db
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@639 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-14 16:55:16 +00:00
Tomasz Sowa
b63ac98f40
now winix waites for the database to be ready (when the operating system starts)
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@638 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-14 16:23:18 +00:00
Tomasz Sowa
1e7d297c0e
small changes in template winix function
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@637 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-14 14:45:25 +00:00
Tomasz Sowa
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)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@636 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-13 20:04:57 +00:00
Tomasz Sowa
9a199cd834
part II of rewriting
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@635 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-12 19:10:12 +00:00
Tomasz Sowa
c3fac2e83f
changed method: void PostMultiParser::ReadContentToFileLoop()
...
previous version was not clean
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@634 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-11 15:47:44 +00:00
Tomasz Sowa
c7f6d2727c
fixed: PostMultiParser incorrectly logged the size of input items (those which were not files)
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@633 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-11 10:00:23 +00:00
Tomasz Sowa
9901c63ede
removed some thread and ticket information from request
...
they are in FunThread and FunTicket classes now
added funtion FunUptime (I forgot about it)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@631 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-10 20:43:38 +00:00
Tomasz Sowa
76897b8a83
I have forgotten to create classes: Ckeditor and Tinymce (in functions)
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@630 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-10 17:05:19 +00:00
Tomasz Sowa
217cf1420b
the first part of reimplementing has been done
...
now we have app object and singletons are only: log logn plugin and app
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@628 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-10 16:12:50 +00:00
Tomasz Sowa
6897192364
added: [dir_last_url_is] to templates
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@626 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-08-02 18:36:17 +00:00
Tomasz Sowa
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);
added: directory 'plugins' for plugins
added: 'stats' plugin
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@624 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-07-27 20:41:56 +00:00
Tomasz Sowa
e4683b9a05
fixed: in htmlfilter: <area> should be treated as single tag
...
changed: ConfParser is abble to recognize lists
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@623 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-07-21 17:24:16 +00:00
Tomasz Sowa
93da32cfb3
updated to the new version of ezc
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@621 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-07-19 23:07:34 +00:00
Tomasz Sowa
62a0e52092
added: progress bar (image) to tickets table
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@620 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-07-05 17:22:30 +00:00
Tomasz Sowa
262ba10443
small refactoring
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@619 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-07-05 15:21:06 +00:00
Tomasz Sowa
50cb88c5ed
added: parameters consist of a name and a value now
...
sample: /dir/dir2/function/paramname:paramvalue
removed: TemplatesMisc namespace
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@618 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-07-04 20:27:14 +00:00
Tomasz Sowa
76e32703ac
fixed: a mount parameter html_template() was not properly read when mountpoints were reloaded
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@617 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-07-01 15:40:18 +00:00
Tomasz Sowa
d9f5fbaf04
added: "edit" button on threads
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@616 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-30 19:56:32 +00:00
Tomasz Sowa
16bb238518
added: bbcode
...
files: core/bbcodeparser.h core/bbcodeparser.cpp
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@615 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-30 18:42:50 +00:00
Tomasz Sowa
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
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@614 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-22 21:09:37 +00:00
Tomasz Sowa
56075857f2
debug
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@613 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-22 13:05:49 +00:00
Tomasz Sowa
8d3c7500d8
debugging info
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@612 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-22 13:01:56 +00:00
Tomasz Sowa
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
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@611 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-21 23:53:19 +00:00
Tomasz Sowa
08f5865c72
html templates
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@610 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-21 13:10:53 +00:00
Tomasz Sowa
ff3c141138
added: a new editor: tinymce (function tinymce)
...
added: html filter can check orphans: "i", "a", "o" ... in a text
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@607 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-20 22:47:24 +00:00
Tomasz Sowa
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
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@606 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-05 19:44:49 +00:00
Tomasz Sowa
2a26968c6c
added: function cp (only for files)
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@605 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-06-03 17:38:18 +00:00
Tomasz Sowa
fe8774953a
changed html templates
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@604 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-05-31 20:42:13 +00:00
Tomasz Sowa
4a7f036561
updated to new version of Ezc
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@602 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-05-30 21:07:46 +00:00
Tomasz Sowa
612f260938
added function: uname
...
added function: subject - for changing a subject
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@600 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-05-20 18:28:19 +00:00
Tomasz Sowa
2ad666d221
added: sessions data for plugins (plugindata.h plugindata.cpp)
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@598 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-05-04 21:58:22 +00:00
Tomasz Sowa
aff4cc516e
added: 'rm' function can remove auth content now
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@597 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-03-15 17:09:45 +00:00
Tomasz Sowa
6fbcffe63b
added: to the Item: auth_path - a path to a static file (if auth is different from auth_none)
...
added: function 'mv' (move)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@596 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-03-15 01:47:26 +00:00
Tomasz Sowa
ebd868fa33
removed: Done class (core/done.h, core/done.cpp)
...
removed: from Session: done, done_status, timers
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@594 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-28 21:33:06 +00:00
Tomasz Sowa
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
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@593 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-28 00:08:10 +00:00
Tomasz Sowa
3702efc5be
added: parameter 'l' to 'ls' function
...
added: Db::ItemQuery struct for querying items
changed: some refactoring (renamed some config variables)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@589 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-22 22:52:09 +00:00
Tomasz Sowa
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
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@588 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-18 23:30:22 +00:00
Tomasz Sowa
87747fab06
added: functions: chmod, chown
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@587 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-16 18:34:41 +00:00
Tomasz Sowa
4fe3d4339f
added: parameter 'r' to priv function
...
all directories and files can be changed
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@586 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-16 00:37:00 +00:00
Tomasz Sowa
a276fb6b79
modified templates
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@585 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-15 18:22:16 +00:00
Tomasz Sowa
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
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@582 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-15 00:31:14 +00:00
Tomasz Sowa
c58031cbf4
added static dir
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@581 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-14 14:28:43 +00:00
Tomasz Sowa
4aae12fc63
I forgot to commit loadavg.h and loadavg.cpp
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@579 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-13 20:14:44 +00:00
Tomasz Sowa
256a8fb5c5
added: calculation of load averages and requests per second
...
(uptime function shows it)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@577 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-13 20:12:15 +00:00
Tomasz Sowa
3c5a7cd664
changed: upload function
...
select file type by the extension
param: multi
fixed: uptime function
it showed incorrect uptime time (minuts were badly calculated)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@575 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-12 23:16:13 +00:00
Tomasz Sowa
796985472a
added to config: parameter static_auth_dir_tmp
...
with a path to directory for tmp files (for upload functino)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@572 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-12 17:05:32 +00:00
Tomasz Sowa
7e0014865e
added: loggin to upload.cpp
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@571 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-12 16:39:09 +00:00
Tomasz Sowa
cd74d1887a
fixed: sprintf %d in uptime function
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@569 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-02-11 21:04:53 +00:00