pcanterino [Fri, 24 Dec 2010 11:56:11 +0000 (11:56 +0000)]
- I always wanted an option for switching Dev-Editor to read-only. So I defined
a pseudo command named "@write". When disabling this command in the
configuration file, all writing commands get disabled.
When you add a command beginning with "@" to the "disable_commands" option,
it is not added to the internal data structure.
- When disabling the "remove" command, "remove_multi" gets also disabled.
pcanterino [Mon, 11 May 2009 15:41:18 +0000 (15:41 +0000)]
Changed usage of template class.
We don't use the "new" (2006...) set_var() (and so on) methods any more,
because it causes some problems concercing variable substitution. Instead we
use fillin() and so on and start loop parsing manually using parse_loop(). I
think there is actually no need of using the new methods. Maybe we can switch
it later.
pcanterino [Sun, 10 May 2009 21:00:11 +0000 (21:00 +0000)]
Make use of new methods defined by template class.
Replacing "fillin()" by "set_var()" is not always possible... Sometimes, we
need to keep "fillin()" or we will have some variable substitution problems...
pcanterino [Tue, 31 Mar 2009 17:25:11 +0000 (17:25 +0000)]
Added new template {IF} block ("even") for allowing to change color of the
table rows in directory listing for every row with an even number. This allows
a better distinction of the rows.
pcanterino [Mon, 30 Mar 2009 17:58:58 +0000 (17:58 +0000)]
Added new configurtaion option for hiding dot files.
When new option "hide_dot_files" is set to 1, every file or directory beginning
with a "." is not shown in the directory listing. But you can still access the
file / directory by typing its name into the "Go to directory/file" box.
This option is also available in the user-dependent configuration.
pcanterino [Thu, 24 Aug 2006 19:48:37 +0000 (19:48 +0000)]
Trying to simplify some of Dev-Editor's functions:
If you want to copy or rename/move a file or a directory or save a file using a
different name, the form field for the new filename is prefilled with the old
one. Additionally, the entered path is no more relative to the directory of the
original file.
pcanterino [Thu, 10 Nov 2005 17:40:44 +0000 (17:40 +0000)]
- Fixed a security problem:
It was possible to access files and directories above the virtual root
directory beginning with the same string as the root directory.
For example:
If your root directory is "/var/www/user1" it was possible to access
"/var/www/user10", "/var/www/user11" and so on.
- Updated version number to 3.0.1
- Updated Change Log
You can now define alias names for users who have an individual configuration,
so you don't need to define an individual sections for users with the same
configuration any more.
pcanterino [Thu, 25 Aug 2005 11:35:17 +0000 (11:35 +0000)]
- Now, Dev-Editor is able to switch some configuration values depending on the
current HTTP Auth user.
This is controlled by a separate configuration file that contains sections
like Windows INI files (thus the configuration file parser is now able to
parse files containing sections in square brackets).
You may overwrite the following configuration values:
- fileroot
- httproot
- forbidden (you may also clear the default "forbidden" list)
- Fixed a bug occuring if the user placed an empty "forbidden" configuration
option in the main configuration file. In this case we create an empty Array
Reference.
- Fixed an error in an {IF} block in dirlist_dir.htm
pcanterino [Mon, 1 Aug 2005 09:18:25 +0000 (09:18 +0000)]
- Fixed the prototype problem of dir_copy() in File::Access
- Added some notes about the problems of the feature of copying a whole
directory
- Added some notes about my incompetence
- In the edit dialogue, there is a new checkbox allowing to continue editing the
file after saving it
pcanterino [Fri, 10 Jun 2005 12:38:36 +0000 (12:38 +0000)]
- Dev-Editor is now able to forbid accessing a file using the configuration file
- Added ReadMe file, Change Log and a copy of the Artistic License to the
repository
pcanterino [Sun, 15 May 2005 09:41:04 +0000 (09:41 +0000)]
Removed the JavaScript code which prevents users from marking text in the
textarea containing the Artistic License.
I added this code for browsers not supporting the readonly attribute, but that
is not a good solution.
pcanterino [Sun, 15 May 2005 09:21:11 +0000 (09:21 +0000)]
- Before changing the permissions of a file, check if the user entered a valid
octal number
- Changed the name of the error message "dir_read_fail" to "dir_read_failed"
- Removed HTML::Entities:
This module is a little bit slow and does currently not support very much
encodings. Now, we just encode the HTML control characters (<, >, & and ").
- Began to fix bugs [1120717] and [1071051]
- Do not write new file content if the user did not change it
- If two users edit a file at the same time and they both did the same changes,
do not complain that the file has changed
Do not switch to binmode before saving a file or before showing the editing
form. It caused a problem with the line endings. Let's hope it does not cause
new problems...