e.g.: 07555 means:
7 for owner
5 for group
5 for others
5 for guests (not logged users)
added: the sticky bit for directories
e.g. permissions to a directory with a sticky bit set
can be set to: 017555
rewritten: rm/mv winix functions to correctly understand the sticky bit
added: Dir::FollowLink() recognizes ".." and "." now
consequently System::FollowAllLinks recognizes it too
added: umask -- calculating privileges for new files/directories
all users have their own umask (in meta)
and there is one in the config
(for guests and when a user has not definied its own one)
removed: mount option: only_root_remove
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@801 e52654a7-88a9-db11-a3e9-0013d4bc506e
miscspace.h, miscspace.cpp
changed: plugin ticket
now as a config we use a PT::Space struct
(not finished yet, only 'integer', 'select' and 'progress' are done)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@794 e52654a7-88a9-db11-a3e9-0013d4bc506e
added: to db: bool DbBase::AssertValueSpace(PGresult * r, int row, int col, Space & space, bool split_single)
added: environment variables for users
User::env (of type Space) and
User::aenv (of type Space) for admin variables (can be changed only by a super user)
added: winix function 'env'
for changing User::env and User::aenv ('env' winix function with a 'a' parameter)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@790 e52654a7-88a9-db11-a3e9-0013d4bc506e
now we have two parameters: first is a path and second is: "images", "dirs", "files" or empty
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@786 e52654a7-88a9-db11-a3e9-0013d4bc506e
the kind of "Content-Type" header send to the client
if utf8 is enabled then 'charset=UTF-8' will also be appended
added: to templates: an index pattern for 'rawcontent'
used when 'rawcontent' parameter is present
by default the template has only one [content] ezc function
useful in AJAX requests
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@784 e52654a7-88a9-db11-a3e9-0013d4bc506e
added: ezc functions: winix_function_param_value_is and winix_function_param_value_is_not
they take two arguments: param_name and param_value
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@780 e52654a7-88a9-db11-a3e9-0013d4bc506e
rewritten changing of strings in html output
(added support for https:// prefix)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@779 e52654a7-88a9-db11-a3e9-0013d4bc506e
is chosen automatically when 'fullscreen' parameter is passed
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@776 e52654a7-88a9-db11-a3e9-0013d4bc506e
menu_dir_tab ezc functions can be nested now
(not finished yet)
added: 'meta' winix function
additional meta information for files and directories
(not finished yet)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@775 e52654a7-88a9-db11-a3e9-0013d4bc506e
it's nearly finished
now we are using three levels from Space (ConfParser)
- group set
- group
- values
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@773 e52654a7-88a9-db11-a3e9-0013d4bc506e
WINIX_FILE_REMOVED and WINIX_DIR_PREPARE_TO_REMOVE
now as a parameter we have a pointer to the Item struct
changed: export plugin now exports all files from a directory
(in the future there'll be an option how the plugin should behave)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@772 e52654a7-88a9-db11-a3e9-0013d4bc506e
then current iterators (and pointers) were invalidated
now we are using std::vector<Type*>
this caused some crashes when a new user was added by 'adduser' winix function
added: plugin 'export' is able to upload files on a remote server now
(not finished yet)
changed: Thumb class is now called: Image
and we are able to resize images too
(some new options in the config and in mount points)
added: some new plugin messages
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@764 e52654a7-88a9-db11-a3e9-0013d4bc506e
true if the connections is encrypted by using SSL
changed: in BaseUrlRedirect
we also check if the connection should use SSL
and if so then we make a redirect to "https://.."
changed: in 'static' mount points:
if the request was e.g. "/styles/default.js?t=B49E5BQ"
we should return a file "/styles/default.js" (without the "?..." part)
additionally '#' character is checked
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@762 e52654a7-88a9-db11-a3e9-0013d4bc506e
changed: in base redirect we are using 301 moved permanently status code now (was 303)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@761 e52654a7-88a9-db11-a3e9-0013d4bc506e
added: locale.ToSmall(wchar_t), locale.ToCapital(wchar_t)
now we are able to recognize other than ASCII characters
added: static/basic/winix.css with basic styles
removed: [include "item_options.html"] from html templates (fun_cat.html and others)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@760 e52654a7-88a9-db11-a3e9-0013d4bc506e
ezc patterns are managed by this class
added: some work in groupitem plugin (not finished yet)
changed: ConfParser can read a string from memory now
(need some testing yet)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@757 e52654a7-88a9-db11-a3e9-0013d4bc506e
added: new options to the config:
url_proto: default: http://
url_ssl_proto: default: https://
use_ssl, use_ssl_static, use_ssl_common (whether or not to use SSL protocol)
use_ssl_only_for_logged_users
now we are able to use SSL encryption (https) together with normal connections
removed: config option: base_server
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@755 e52654a7-88a9-db11-a3e9-0013d4bc506e
we cannot delete ezc patterns when PatternCacher::GetPattern() method is called
because we can delete a pattern which is in use
now deleting is performed at the end of a request
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@751 e52654a7-88a9-db11-a3e9-0013d4bc506e
fixed: System::FollowAllLinks didn't check permissions to a file (only to a simlink or a directory)
added: new ezc function: insert_page
now we are able to nest pages in pages
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@750 e52654a7-88a9-db11-a3e9-0013d4bc506e
(int Request::redirect_type variable)
we can set following integer values:
300 - Multiple Choices
301 - Moved Permanently
302 - Found
307 - Temporary Redirect
303 - See Other
default is 303 for all redirects
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@749 e52654a7-88a9-db11-a3e9-0013d4bc506e
for changing your password
or if you are a super user you can
change a password for anyone
added: uname prints available plugins now
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@748 e52654a7-88a9-db11-a3e9-0013d4bc506e
we're using an jquery upload plugin
added: Item struct has new rows: hash, hash_type, file_size, sort_index
added: css mount parameter
you can specify css files there, and javascript wysiwyg editors
(ckeditor, tinymce) can make use of it
changed: post parsers can parse post variables with the same name
(a postfix is added in such a case)
added: common_dir parameter to the config
this is a path to common directory (directory with common static files)
it is needed to the 'css' mount parameter
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@746 e52654a7-88a9-db11-a3e9-0013d4bc506e