]> git.p6c8.net - devedit.git/log
devedit.git
13 years agoCatch error of trying to download a non-readable file using URL manipulation
pcanterino [Sun, 26 Dec 2010 14:47:46 +0000 (14:47 +0000)]
Catch error of trying to download a non-readable file using URL manipulation

13 years ago- Some color changes
pcanterino [Fri, 24 Dec 2010 13:19:40 +0000 (13:19 +0000)]
- Some color changes
- Removed unused code in Tool.pm

13 years ago- Updated ReadMe
pcanterino [Fri, 24 Dec 2010 12:36:21 +0000 (12:36 +0000)]
- Updated ReadMe
- Small changes to Change Log

13 years agoUpdated Change Log
pcanterino [Fri, 24 Dec 2010 12:15:20 +0000 (12:15 +0000)]
Updated Change Log

13 years agoAdded new configuration option "startdir" which defines the default directory
pcanterino [Fri, 24 Dec 2010 12:09:52 +0000 (12:09 +0000)]
Added new configuration option "startdir" which defines the default directory
instead of "/".

13 years ago- I always wanted an option for switching Dev-Editor to read-only. So I defined
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.

13 years ago- Tool.pm: Be consistent (lc instead of uc)
pcanterino [Thu, 23 Dec 2010 21:19:45 +0000 (21:19 +0000)]
- Tool.pm: Be consistent (lc instead of uc)
- README: Begin documentation of "disable_commands"

13 years agoNew config option: disable_commands. This option defines a list of commands
pcanterino [Thu, 23 Dec 2010 21:09:40 +0000 (21:09 +0000)]
New config option: disable_commands. This option defines a list of commands
the user is not allowed to execute.

14 years agoAdded a checkbox for editing a file after creating it
pcanterino [Mon, 24 May 2010 10:08:17 +0000 (10:08 +0000)]
Added a checkbox for editing a file after creating it

14 years agoAllow to execute a HTTP download of a file
pcanterino [Tue, 29 Dec 2009 12:52:03 +0000 (12:52 +0000)]
Allow to execute a HTTP download of a file

15 years ago*wargl* version_3_1
pcanterino [Tue, 12 May 2009 19:30:09 +0000 (19:30 +0000)]
*wargl*

15 years agoIncluded 3.1 release date
pcanterino [Tue, 12 May 2009 19:27:54 +0000 (19:27 +0000)]
Included 3.1 release date

15 years agoChanged version number to 3.1
pcanterino [Tue, 12 May 2009 19:22:27 +0000 (19:22 +0000)]
Changed version number to 3.1

15 years agoChanged usage of template class.
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.

15 years agoMake use of new methods defined by template class.
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...

15 years agoIn some parts of file "Command.pm", make use of new methods defined by the
pcanterino [Sat, 9 May 2009 11:55:44 +0000 (11:55 +0000)]
In some parts of file "Command.pm", make use of new methods defined by the
template class.

Cool, this is revision 1.100 of "Command.pm" ;) Congratulations!

15 years agoUpdated copyright year in about dialogue
pcanterino [Sat, 9 May 2009 11:42:52 +0000 (11:42 +0000)]
Updated copyright year in about dialogue

15 years agoIn file "Output.pm", make use of new methods defined by the template class
pcanterino [Sat, 9 May 2009 11:38:39 +0000 (11:38 +0000)]
In file "Output.pm", make use of new methods defined by the template class

15 years agoForgot to mention something in the change log
pcanterino [Sat, 9 May 2009 11:34:38 +0000 (11:34 +0000)]
Forgot to mention something in the change log

15 years agoAgain: Some changes in README file
pcanterino [Sat, 9 May 2009 11:31:14 +0000 (11:31 +0000)]
Again: Some changes in README file

15 years agoSome changes in README file
pcanterino [Sat, 9 May 2009 11:28:24 +0000 (11:28 +0000)]
Some changes in README file

15 years agoUpdated copyright year
pcanterino [Sat, 9 May 2009 11:18:04 +0000 (11:18 +0000)]
Updated copyright year

15 years agoAdded description for "hide_dot_files" in README
pcanterino [Sat, 9 May 2009 11:16:10 +0000 (11:16 +0000)]
Added description for "hide_dot_files" in README

15 years agoUpdated change log
pcanterino [Sat, 9 May 2009 11:07:16 +0000 (11:07 +0000)]
Updated change log

15 years agoWhen removing multiple files, just redirect if all files have been removed
pcanterino [Sat, 9 May 2009 11:03:30 +0000 (11:03 +0000)]
When removing multiple files, just redirect if all files have been removed
successfully

15 years agoSmall bugfix when filtering out invalid files before removing multiple files
pcanterino [Thu, 7 May 2009 16:06:31 +0000 (16:06 +0000)]
Small bugfix when filtering out invalid files before removing multiple files

15 years agoAdded a feature for removing multiple files from a directory.
pcanterino [Wed, 6 May 2009 20:52:08 +0000 (20:52 +0000)]
Added a feature for removing multiple files from a directory.

You can select a set of files in a directory and then remove them by clicking a
button. Of course, there is a confirmation dialogue.

For security reasons, any file sent by URL containing slashes or just
consisting of dots is ignored.

15 years agoNoted changes done since version 3.0.1 (long, long time ago...)
pcanterino [Tue, 31 Mar 2009 17:52:02 +0000 (17:52 +0000)]
Noted changes done since version 3.0.1 (long, long time ago...)

15 years agoAdded a copyright note at the top of each file
pcanterino [Tue, 31 Mar 2009 17:32:25 +0000 (17:32 +0000)]
Added a copyright note at the top of each file

15 years agoAdded new template {IF} block ("even") for allowing to change color of the
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.

15 years agoAdded new configurtaion option for hiding dot files.
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.

15 years agoUpdated template class to version 2.0
pcanterino [Mon, 30 Mar 2009 17:30:07 +0000 (17:30 +0000)]
Updated template class to version 2.0

15 years agoAllow to specify a remote name for an uploaded file
pcanterino [Mon, 30 Mar 2009 17:17:57 +0000 (17:17 +0000)]
Allow to specify a remote name for an uploaded file

16 years agoIf "*" was supplied as a DOS wildcard, don't convert it to an ordinary regex,
pcanterino [Fri, 25 Apr 2008 14:25:19 +0000 (14:25 +0000)]
If "*" was supplied as a DOS wildcard, don't convert it to an ordinary regex,
just check if it is "*" and return 1 if so.

18 years ago"Revert" sounds better than "discard"
pcanterino [Sat, 14 Oct 2006 19:59:53 +0000 (19:59 +0000)]
"Revert" sounds better than "discard"

18 years agoChanged this very stupid "edit_file_changed" error message
pcanterino [Sun, 3 Sep 2006 15:22:57 +0000 (15:22 +0000)]
Changed this very stupid "edit_file_changed" error message

18 years agoTrying to simplify some of Dev-Editor's functions:
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.

19 years ago- Fixed a security problem: version_3_0_1
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

19 years agoForgot to remove " (CVS)" version_3_0
pcanterino [Tue, 18 Oct 2005 12:10:10 +0000 (12:10 +0000)]
Forgot to remove " (CVS)"

19 years ago- Changed version number to 3.0
pcanterino [Tue, 18 Oct 2005 12:07:20 +0000 (12:07 +0000)]
- Changed version number to 3.0
- Updated Change Log

19 years agoWrote documentation for creating an user-dependent configuration
pcanterino [Fri, 30 Sep 2005 20:15:25 +0000 (20:15 +0000)]
Wrote documentation for creating an user-dependent configuration

19 years ago*wargl*
pcanterino [Fri, 30 Sep 2005 17:17:36 +0000 (17:17 +0000)]
*wargl*
It happens again and again...

19 years agoYou can now define alias names for users who have an individual configuration,
pcanterino [Fri, 30 Sep 2005 17:16:32 +0000 (17:16 +0000)]
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.

19 years agoChanged the "continue" checkbox to a separate submit button
pcanterino [Thu, 1 Sep 2005 17:02:47 +0000 (17:02 +0000)]
Changed the "continue" checkbox to a separate submit button

19 years ago- Now, Dev-Editor is able to switch some configuration values depending on the
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

19 years agoPreserve the directory listing filter if the user changes the directory using
pcanterino [Mon, 15 Aug 2005 14:25:34 +0000 (14:25 +0000)]
Preserve the directory listing filter if the user changes the directory using
the input field at the bottom of the directory listing

19 years ago- Fixed the prototype problem of dir_copy() in File::Access
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

19 years agoRestored the version of check_path() found in revision 1.34 of Tool.pm
pcanterino [Sat, 23 Jul 2005 16:44:43 +0000 (16:44 +0000)]
Restored the version of check_path() found in revision 1.34 of Tool.pm

19 years agoChanging the mode of inaccessible directories works again
pcanterino [Sat, 23 Jul 2005 11:52:16 +0000 (11:52 +0000)]
Changing the mode of inaccessible directories works again

19 years agoWhoops...
pcanterino [Wed, 6 Jul 2005 19:47:14 +0000 (19:47 +0000)]
Whoops...

19 years agoFixed a small typo
pcanterino [Wed, 6 Jul 2005 15:41:39 +0000 (15:41 +0000)]
Fixed a small typo

19 years agoImplemented experimental feature of copying a whole directory.
pcanterino [Wed, 6 Jul 2005 14:36:34 +0000 (14:36 +0000)]
Implemented experimental feature of copying a whole directory.

Currently the target the user wants to copy the directory to must not exist.
I hope I will be able to change this in future.

19 years agoDescribe the possibility of using comments in configuration files
pcanterino [Sun, 19 Jun 2005 19:46:15 +0000 (19:46 +0000)]
Describe the possibility of using comments in configuration files

19 years agoFinished documentation of the configuration directive "forbidden"
pcanterino [Sun, 19 Jun 2005 10:09:34 +0000 (10:09 +0000)]
Finished documentation of the configuration directive "forbidden"

19 years agoAgain: Forgot to encode HTML in some more strings...
pcanterino [Tue, 14 Jun 2005 14:58:39 +0000 (14:58 +0000)]
Again: Forgot to encode HTML in some more strings...

19 years ago- Changed a comment in devedit.pl
pcanterino [Tue, 14 Jun 2005 14:53:10 +0000 (14:53 +0000)]
- Changed a comment in devedit.pl
- Fixed a typo in errors.conf

19 years agoForgot to encode HTML in some more strings...
pcanterino [Tue, 14 Jun 2005 12:22:16 +0000 (12:22 +0000)]
Forgot to encode HTML in some more strings...

19 years agoForgot to encode HTML in some strings
pcanterino [Tue, 14 Jun 2005 12:02:59 +0000 (12:02 +0000)]
Forgot to encode HTML in some strings

19 years ago- Dev-Editor is now able to forbid accessing a file using the configuration file
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

19 years agoRemoved some spaces
pcanterino [Sun, 29 May 2005 11:04:37 +0000 (11:04 +0000)]
Removed some spaces

19 years agoRemoved space
pcanterino [Thu, 26 May 2005 13:47:35 +0000 (13:47 +0000)]
Removed space

19 years agoAdded checkboxes for allowing to overwrite an existing file immediately
pcanterino [Wed, 25 May 2005 14:22:01 +0000 (14:22 +0000)]
Added checkboxes for allowing to overwrite an existing file immediately

19 years agoRemoved confirm_unlock template file
pcanterino [Sun, 15 May 2005 12:27:20 +0000 (12:27 +0000)]
Removed confirm_unlock template file

19 years agoRemoved the JavaScript code which prevents users from marking text in the
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.

19 years ago- Before changing the permissions of a file, check if the user entered a valid
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"

19 years agoSimplified check_path() a little bit
pcanterino [Sat, 7 May 2005 20:26:56 +0000 (20:26 +0000)]
Simplified check_path() a little bit

19 years agoWhoops...
pcanterino [Thu, 5 May 2005 15:21:26 +0000 (15:21 +0000)]
Whoops...

19 years ago- Changed names of some {IF} blocks (make use of negations)
pcanterino [Thu, 5 May 2005 15:18:22 +0000 (15:18 +0000)]
- Changed names of some {IF} blocks (make use of negations)
- Don't show the "Copy" link if a file is not readable

19 years ago- Make use of capabilities of new template class
pcanterino [Thu, 5 May 2005 11:28:52 +0000 (11:28 +0000)]
- Make use of capabilities of new template class
- Don't show "Chmod/Chgrp" link in directory listing if the object is a symbolic
  link

19 years agoUpdated to version 1.5
pcanterino [Thu, 5 May 2005 11:14:31 +0000 (11:14 +0000)]
Updated to version 1.5
See http://www.patshaping.de/redirector/redirect.php?page=template-class

19 years agoRemoved templates/confirm_unlock.htm
pcanterino [Wed, 4 May 2005 19:54:29 +0000 (19:54 +0000)]
Removed templates/confirm_unlock.htm

19 years agoTypo
pcanterino [Sat, 30 Apr 2005 09:37:19 +0000 (09:37 +0000)]
Typo

19 years agoSmall changes
pcanterino [Sun, 24 Apr 2005 11:22:00 +0000 (11:22 +0000)]
Small changes

19 years agoFixed typo
pcanterino [Sat, 23 Apr 2005 07:54:27 +0000 (07:54 +0000)]
Fixed typo

19 years agoRemoved debug code
pcanterino [Sat, 23 Apr 2005 07:05:29 +0000 (07:05 +0000)]
Removed debug code

19 years agoFixed a really strange bug only occuring on Windows systems
pcanterino [Fri, 22 Apr 2005 17:35:31 +0000 (17:35 +0000)]
Fixed a really strange bug only occuring on Windows systems

19 years agoSome small changes
pcanterino [Fri, 22 Apr 2005 17:09:51 +0000 (17:09 +0000)]
Some small changes

19 years ago- Removed HTML::Entities:
pcanterino [Fri, 22 Apr 2005 12:55:00 +0000 (12:55 +0000)]
- 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]

19 years agoChanged version number
pcanterino [Sat, 16 Apr 2005 07:59:08 +0000 (07:59 +0000)]
Changed version number

19 years agoSmall cleanup
pcanterino [Fri, 15 Apr 2005 20:08:22 +0000 (20:08 +0000)]
Small cleanup

19 years agoThis line of code causes nothing but problems! I thought this was fixed long
pcanterino [Fri, 15 Apr 2005 15:20:41 +0000 (15:20 +0000)]
This line of code causes nothing but problems! I thought this was fixed long
time ago!

19 years ago- Do not write new file content if the user did not change it
pcanterino [Fri, 15 Apr 2005 14:42:53 +0000 (14:42 +0000)]
- 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

19 years agoDo not switch to binmode before saving a file or before showing the editing
pcanterino [Sun, 10 Apr 2005 12:27:17 +0000 (12:27 +0000)]
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...

19 years ago*grr*
pcanterino [Sun, 10 Apr 2005 10:13:28 +0000 (10:13 +0000)]
*grr*
Don't parse the "binary_file" {IF} block, parse the "binary" {IF} block!

19 years ago- Locking did not work
pcanterino [Sun, 10 Apr 2005 09:55:31 +0000 (09:55 +0000)]
- Locking did not work
- Allow to save an empty file

19 years ago- Began to change the behaviour of Dev-Editor's editing function:
pcanterino [Sun, 10 Apr 2005 09:24:20 +0000 (09:24 +0000)]
- Began to change the behaviour of Dev-Editor's editing function:
  The concept of locking the file for other users before editing it is not very
  good, causes some problems and makes it difficult to add new features. So I
  decided to remove it.
  When Dev-Editor shows the form for editing a file, it calculates the MD5
  checksum and places it in the editing form. Before saving the file, the MD5
  checksum is calculated again and compared to the submitted one. If the two
  sums don't match, Dev-Editor does not save the file and shows the editing
  form.
  It seems to work, but the solution is currently VERY dirty...
- Removed the possibility to encode ISO-8859-1 HTML entities. There is no real
  use for this function.
- The extension of the configuration files is now "conf"
- Changed the names of some error messages:
  binary      -> binary_file
  cmd_unknown -> command_unknown
  create_ar   -> create_above_root
  not_exist   -> not_found

19 years agoForm element "file" was defined twice
pcanterino [Sat, 9 Apr 2005 14:30:35 +0000 (14:30 +0000)]
Form element "file" was defined twice

19 years agoUpdated to version 1.4a
pcanterino [Mon, 21 Mar 2005 15:54:16 +0000 (15:54 +0000)]
Updated to version 1.4a
See http://www.patshaping.de/redirector/redirect.php?page=template-class

19 years agoUsing the move() function from the File::Copy module is more reliable than using
pcanterino [Fri, 18 Mar 2005 18:14:41 +0000 (18:14 +0000)]
Using the move() function from the File::Copy module is more reliable than using
the rename() function

19 years agoDon't create an incomplete HTML table if the root directory is empty or none of
pcanterino [Mon, 28 Feb 2005 16:34:19 +0000 (16:34 +0000)]
Don't create an incomplete HTML table if the root directory is empty or none of
the files in the root directory matches against the current wildcard

19 years agoNow, the root directory must not be a symbolic link. version_2_3_1
pcanterino [Sat, 19 Feb 2005 09:42:04 +0000 (09:42 +0000)]
Now, the root directory must not be a symbolic link.
Sorry for this, I really would have liked to allow the root directory to be a
symbolic link, but if I would allow this, Dev-Editor would not be able to create
files in the root directory. I'm looking for an alternative...

19 years agohttp://forum.de.selfhtml.org/?t=101375&m=622582
pcanterino [Wed, 16 Feb 2005 14:10:40 +0000 (14:10 +0000)]
http://forum.de.selfhtml.org/?t=101375&m=622582
This posting in a big german web developer forum sounds very convincing

19 years agoThe file saving process was aborted if the user wanted to write text data using
pcanterino [Mon, 14 Feb 2005 15:33:27 +0000 (15:33 +0000)]
The file saving process was aborted if the user wanted to write text data using
the edit function into a file that does not exists.
The reason was that Dev-Editor thought that this non-existing file was a binary
file.

19 years agoSmall code cleaning
pcanterino [Mon, 14 Feb 2005 12:45:07 +0000 (12:45 +0000)]
Small code cleaning

19 years agoAha!
pcanterino [Sun, 13 Feb 2005 15:22:21 +0000 (15:22 +0000)]
Aha!

19 years ago- Handle broken symbolic links properly
pcanterino [Sun, 13 Feb 2005 15:12:08 +0000 (15:12 +0000)]
- Handle broken symbolic links properly
- It was possible to create files above the virtual root directory using
  symbolic links
- Updated version number to 2.3.1

19 years agoWindows drive letters are case-insensitive!
pcanterino [Sun, 13 Feb 2005 10:31:59 +0000 (10:31 +0000)]
Windows drive letters are case-insensitive!

19 years ago- For security reasons, I completely changed the handling of symbolic links:
pcanterino [Sun, 13 Feb 2005 09:42:39 +0000 (09:42 +0000)]
- For security reasons, I completely changed the handling of symbolic links:
  Symbolic links are now treated as files, no matter where they point to. The
  user is just allowed to see the path where the link points to, he is allowed
  to delete the link, to rename it and to overwrite it by renaming an other
  file. Nothing else is allowed.
  Accessing a symbolic link pointing to a directory caused also a very strange
  effect: It was possible to access this directory, but you could not access the
  objects in it.
  I had to do it in this way because of the very stupid behaviour of abs_path()
  from the Cwd module: This function is just able to detect the absolute path of
  directories.
  Hard links are not affected by this, because it is not possible to detect them
  (at least I don't know how to detect them).
- Changed the names of two error messages:
  dircopy -> dir_copy
  editdir -> dir_edit
- Fixed various errors in some template files

19 years ago- Check if unlocking of the list of files in use was successful
pcanterino [Thu, 10 Feb 2005 18:42:10 +0000 (18:42 +0000)]
- Check if unlocking of the list of files in use was successful
- Check if a file could be successfully added to the list of files in use
- Check if a file could be successfully removed from the list of files in use

19 years agofile_read() is now able to open a file in binary mode (maybe we will need it)
pcanterino [Wed, 9 Feb 2005 18:21:58 +0000 (18:21 +0000)]
file_read() is now able to open a file in binary mode (maybe we will need it)

patrick-canterino.de