]> git.p6c8.net - devedit.git/log
devedit.git
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)

19 years agoUpdated to version 1.4
pcanterino [Sat, 5 Feb 2005 13:48:54 +0000 (13:48 +0000)]
Updated to version 1.4
See http://www.patshaping.de/redirector/redirect.php?page=template-class

19 years agoChanged some comments
pcanterino [Tue, 1 Feb 2005 21:06:04 +0000 (21:06 +0000)]
Changed some comments

19 years agoARGH!
pcanterino [Mon, 24 Jan 2005 16:04:26 +0000 (16:04 +0000)]
ARGH!

19 years agoParse the {IF} block "gmt" only once
pcanterino [Fri, 21 Jan 2005 14:00:03 +0000 (14:00 +0000)]
Parse the {IF} block "gmt" only once

19 years ago- Allow to use Greenwich Mean Time in date strings (maybe someone needs it)
pcanterino [Thu, 20 Jan 2005 15:20:15 +0000 (15:20 +0000)]
- Allow to use Greenwich Mean Time in date strings (maybe someone needs it)
- Changed the order of the configuration options a little bit

19 years agoWhoops...
pcanterino [Mon, 10 Jan 2005 14:32:45 +0000 (14:32 +0000)]
Whoops...
Missing line break at the end of the file

19 years ago- NOW check_path() should work properly version_2_3
pcanterino [Sat, 8 Jan 2005 10:18:18 +0000 (10:18 +0000)]
- NOW check_path() should work properly
  I removed my self-written code to resolve "..", "...", "...." and so on and
  replaced it by a single call to abs_path(). That is more reliable!
- file_name() and upper_path() now take care of a
  "multiple-slash-root-directory" and Windows drive letters

19 years agoUpdated version number and copyright year
pcanterino [Fri, 7 Jan 2005 15:51:26 +0000 (15:51 +0000)]
Updated version number and copyright year

19 years agoSmall cleanup
pcanterino [Fri, 7 Jan 2005 12:32:58 +0000 (12:32 +0000)]
Small cleanup

19 years agoLet's hope, check_path() is now working properly.
pcanterino [Fri, 7 Jan 2005 11:10:45 +0000 (11:10 +0000)]
Let's hope, check_path() is now working properly.
Maybe we should switch to Win32::GetFullPathName() on Windows...

19 years ago- Fixed a bug occuring if the "curdir" CGI parameter had no trailing slash and
pcanterino [Thu, 6 Jan 2005 14:28:00 +0000 (14:28 +0000)]
- Fixed a bug occuring if the "curdir" CGI parameter had no trailing slash and
  the "newfile" parameter had no leading slash
- On Windows systems it was possible to access the directories above the root
  directory by accessing a path ending with "..." or "...." and so on

19 years ago- When composing the temporary virtual path for a new file, don't call
pcanterino [Thu, 6 Jan 2005 11:25:46 +0000 (11:25 +0000)]
- When composing the temporary virtual path for a new file, don't call
  clean_path(). It is unnecessary and it also caused a problem if this path
  would begin with /../, because on UNIX systems, canonpath() removes /../ at
  the beginning of a path. So if a user wanted to create the file /../file.ext
  (which he wasn't allowed to), he created /file.ext.
- file_name() and upper_path() now remove multiple trailing slashes
- Improved configuration file parser:
  - Allow configuration options with empty values
  - If a option is defined twice, the line number is shown in the error message
- Static values are now surrounded by single quotes. Maybe it helps to increase
  the speed of Dev-Editor, because Perl doesn't have to try to interpolate
  variables in the values.

19 years ago- Removed error message "file_in_use"
pcanterino [Wed, 5 Jan 2005 16:06:19 +0000 (16:06 +0000)]
- Removed error message "file_in_use"
- Synchronized exec_mkfile() and exec_mkdir() in Command.pm

19 years ago- In the virtual directory string, check_path() converts backslashes to slashes
pcanterino [Tue, 4 Jan 2005 12:53:57 +0000 (12:53 +0000)]
- In the virtual directory string, check_path() converts backslashes to slashes
  before removing slashes at the beginning (not really necessary, but I want to
  be sure)
- check_path() and equal_url() now remove multiple disturbing slashes in strings

19 years ago- Format HTTP root as hyperlink
pcanterino [Tue, 4 Jan 2005 12:22:00 +0000 (12:22 +0000)]
- Format HTTP root as hyperlink
- "User"  -> "Process user"
  "Group" -> "Process group"

19 years ago- Check if the CGI module was able to create a valid handle for a file upload
pcanterino [Sun, 2 Jan 2005 13:33:28 +0000 (13:33 +0000)]
- Check if the CGI module was able to create a valid handle for a file upload
- Changed the error message "lock_failed" a little bit

19 years agoWhen parsing a configuration file, ignore lines like that:
pcanterino [Fri, 31 Dec 2004 14:36:50 +0000 (14:36 +0000)]
When parsing a configuration file, ignore lines like that:
   = Value

19 years agoIf locking of the uselist file failed, get the template variables directly from
pcanterino [Wed, 29 Dec 2004 20:39:59 +0000 (20:39 +0000)]
If locking of the uselist file failed, get the template variables directly from
the File::UseList object, because the name of the lock file could have been
composed by File::UseList.

19 years agoChanged some error messages
pcanterino [Wed, 29 Dec 2004 11:55:34 +0000 (11:55 +0000)]
Changed some error messages

19 years agoCleaned exec_show() and exec_beginedit()
pcanterino [Wed, 29 Dec 2004 11:51:54 +0000 (11:51 +0000)]
Cleaned exec_show() and exec_beginedit()

19 years ago- Allow to filter directory listing using DOS-style wildcards (maybe it still
pcanterino [Sun, 26 Dec 2004 12:13:57 +0000 (12:13 +0000)]
- Allow to filter directory listing using DOS-style wildcards (maybe it still
  needs work for being more usable)
- Fixed a typo in File::Access

20 years ago- While processing a file upload, check if the user wants to replace a directory
pcanterino [Tue, 21 Dec 2004 13:40:34 +0000 (13:40 +0000)]
- While processing a file upload, check if the user wants to replace a directory
  or overwrite a write-protected file
- If the user wants to copy or rename a file, check if he wants to overwrite a
  write-protected file

20 years agoSome small changes
pcanterino [Tue, 21 Dec 2004 10:11:22 +0000 (10:11 +0000)]
Some small changes

20 years ago- Dev-Editor now uses flock(). flock() is called using a wrapper function which
pcanterino [Fri, 17 Dec 2004 17:05:45 +0000 (17:05 +0000)]
- Dev-Editor now uses flock(). flock() is called using a wrapper function which
  checks if it is really available.
- file_save() in File::Access is now able to open a file in binary mode. Thus,
  the file saving process in the file upload code in Command.pm has been
  replaced by a single file_save() call.

20 years agoRemoved useless "use Tool;" in Output.pm
pcanterino [Fri, 17 Dec 2004 15:00:40 +0000 (15:00 +0000)]
Removed useless "use Tool;" in Output.pm

20 years ago- Entities in some more strings are now encoded
pcanterino [Thu, 16 Dec 2004 15:45:32 +0000 (15:45 +0000)]
- Entities in some more strings are now encoded
- The Hash Reference for devedit_reload() is now optional
- Removed "use Data::Dumper;" in Command.pm. I forgot to remove it after debugging.

20 years ago- exec_chprop() should have a proper coding style, but it made the routine hard
pcanterino [Mon, 13 Dec 2004 15:17:44 +0000 (15:17 +0000)]
- exec_chprop() should have a proper coding style, but it made the routine hard
  to maintain. Thus, I changed its structure.
- Don't allow to change the properties of a file in use
- Don't allow to upload a file if a file with the same virtual name is currently
  in use

20 years agoThe "Edit" link of files in use were not greyed in directory listing.
pcanterino [Fri, 10 Dec 2004 14:00:32 +0000 (14:00 +0000)]
The "Edit" link of files in use were not greyed in directory listing.
I hope it works properly now...

20 years agoDo not allow to change the properties of the virtual root directory
pcanterino [Mon, 6 Dec 2004 16:25:02 +0000 (16:25 +0000)]
Do not allow to change the properties of the virtual root directory

20 years agoSome cleanings
pcanterino [Fri, 3 Dec 2004 16:41:45 +0000 (16:41 +0000)]
Some cleanings

20 years agoVersion 1.3:
pcanterino [Fri, 3 Dec 2004 14:04:28 +0000 (14:04 +0000)]
Version 1.3:
- Replaced open() by sysopen()
- Added method remove_all() to remove all files from the list (maybe we will
  need it...)
- Changed my email address

20 years agoFile uploads did not work. Fixed in Dev-Editor 2.2a. version_2_2a
pcanterino [Mon, 29 Nov 2004 15:32:43 +0000 (15:32 +0000)]
File uploads did not work. Fixed in Dev-Editor 2.2a.

20 years agoThis file testing order before saving a file makes more sense
pcanterino [Mon, 29 Nov 2004 13:27:09 +0000 (13:27 +0000)]
This file testing order before saving a file makes more sense

20 years agoDev-Editor 2.2 version_2_2
pcanterino [Sat, 27 Nov 2004 10:37:29 +0000 (10:37 +0000)]
Dev-Editor 2.2

20 years agoChanged my email address (patshaping@gmx.net -> patrick@patshaping.de) in all
pcanterino [Sat, 27 Nov 2004 09:57:23 +0000 (09:57 +0000)]
Changed my email address (patshaping@gmx.net -> patrick@patshaping.de) in all
files except the Template and the File::UseList modules (they are seperate
software).

20 years ago- Don't display the file upload link in directory listing if Dev-Editor has no
pcanterino [Fri, 26 Nov 2004 17:35:58 +0000 (17:35 +0000)]
- Don't display the file upload link in directory listing if Dev-Editor has no
  write access to this directory.
- Wrong variable "{DIRECTORY}" in error message "dir_no_create" - it should be
  "{DIR}".

20 years ago- Check if we have enough permissions to write in directory at the following
pcanterino [Fri, 26 Nov 2004 16:00:27 +0000 (16:00 +0000)]
- Check if we have enough permissions to write in directory at the following
  points:
  - Before executing a command which creates a new file
  - Before uploading a file
  - Before removing or moving/renaming a file or directory
- oct() does not care about leading zeros, the resulting value is always the
  same.
- The name of the variable which will be replaced by a directory to go back to
  in error.htm was renamed from "{DIR}" to "{BACK}". "{DIR}" caused some
  problems.
- Changed the names of some error messages:
  nocopy -> no_copy
  noedit -> no_edit
  noview -> no_view

20 years agoSome small changes
pcanterino [Thu, 25 Nov 2004 15:19:50 +0000 (15:19 +0000)]
Some small changes

20 years ago- Check if the user really wants to upload a file to a directory
pcanterino [Wed, 24 Nov 2004 16:56:04 +0000 (16:56 +0000)]
- Check if the user really wants to upload a file to a directory
- Cleaned exec_show()

20 years ago- Added new if blocks to the templates about.htm and chprop.htm: The blocks are
pcanterino [Wed, 24 Nov 2004 16:35:20 +0000 (16:35 +0000)]
- Added new if blocks to the templates about.htm and chprop.htm: The blocks are
  named "group_detected" and "user_detected" and show if Dev-Editor could
  successfully convert a group or user ID into the corresponding name.
- Cleaned exec_beginedit() and exec_endedit()
- More proper encoding of HTML entities at some points (still needs work)

20 years agoAdded single quotes around the "COMMAND" variable in the "cmd_unknown" error
pcanterino [Mon, 22 Nov 2004 14:01:30 +0000 (14:01 +0000)]
Added single quotes around the "COMMAND" variable in the "cmd_unknown" error
message and around the "FILE" variable in the "not_owner" error message.

20 years agoThe path the user wants to access must now BEGIN with the root directory. The
pcanterino [Sat, 13 Nov 2004 09:13:02 +0000 (09:13 +0000)]
The path the user wants to access must now BEGIN with the root directory. The
old check made it possible to access a directory structure outside the root
directory similar to the root directory.

20 years ago- The abort() routine from the Output module is now also able to display a link
pcanterino [Sat, 13 Nov 2004 08:56:34 +0000 (08:56 +0000)]
- The abort() routine from the Output module is now also able to display a link
  at the bottom of the error message. It is a direct wrapper to the error()
  routine.
  Thus, the following error messages now contain a link at the bottom:
  - File not found
  - Accessing above the virtual root directory
  - Creating an object above the virtual root directory
  - Directory where Dev-Editor should create an object does not exist
- It was possible to access the directory containing the virtual root directory.
  Well, it was only read-access.

20 years agoAnother bug in the same line!
pcanterino [Wed, 10 Nov 2004 15:05:57 +0000 (15:05 +0000)]
Another bug in the same line!
I should work more properly...

20 years agoTrying to fight against the chaos in errors.dat and templates.dat by sorting the
pcanterino [Tue, 9 Nov 2004 19:03:50 +0000 (19:03 +0000)]
Trying to fight against the chaos in errors.dat and templates.dat by sorting the
entries alphabetically.

20 years agoStupid bug
pcanterino [Tue, 9 Nov 2004 16:05:38 +0000 (16:05 +0000)]
Stupid bug

20 years agoCheck if the root directory exists
pcanterino [Sun, 7 Nov 2004 20:42:19 +0000 (20:42 +0000)]
Check if the root directory exists

20 years ago- Dev-Editor now checks if it is able to access a directory: Directories that
pcanterino [Fri, 5 Nov 2004 12:54:06 +0000 (12:54 +0000)]
- Dev-Editor now checks if it is able to access a directory: Directories that
  are not accessible are greyed in directory listing. Accessing such a directory
  causes an error message.
- Dev-Editor checks if it has read access to the virtual root directory. Having
  no access to this directory would cause Dev-Editor to show the contents of the
  real root directory!

20 years ago- There is no need to load the POSIX module twice
pcanterino [Sun, 31 Oct 2004 15:15:17 +0000 (15:15 +0000)]
- There is no need to load the POSIX module twice
- Dev-Editor also shows the current umask of the process in the about dialogue

20 years ago- There is no need to load the POSIX module twice
pcanterino [Sun, 31 Oct 2004 09:31:17 +0000 (09:31 +0000)]
- There is no need to load the POSIX module twice
- Dev-Editor also shows the current umask of the process in the about dialogue

20 years agoBecause of the ugly behaviour of $(, I'm now using the getgid() function from
pcanterino [Sat, 30 Oct 2004 17:32:26 +0000 (17:32 +0000)]
Because of the ugly behaviour of $(, I'm now using the getgid() function from
the POSIX module to detect the process GID. For being consistent, I'm now using
getuid() (also from the POSIX module) to detect the process UID.

20 years agoIn file edit and file upload dialogue, I added <label> tags for the checkboxes
pcanterino [Fri, 29 Oct 2004 15:06:17 +0000 (15:06 +0000)]
In file edit and file upload dialogue, I added <label> tags for the checkboxes
and radio buttons.

20 years agoChanged a comment
pcanterino [Thu, 28 Oct 2004 14:58:38 +0000 (14:58 +0000)]
Changed a comment

20 years agoRemoving one and more whitespace makes more sense than removing no, one and more...
pcanterino [Thu, 28 Oct 2004 09:45:07 +0000 (09:45 +0000)]
Removing one and more whitespace makes more sense than removing no, one and more whitespaces.

20 years agoWe are now using the `chgrp` system command to change the group of a file
pcanterino [Wed, 27 Oct 2004 19:47:35 +0000 (19:47 +0000)]
We are now using the `chgrp` system command to change the group of a file
(see bug [1052335])

20 years agoWhen viewing a file, insert the contents of the file into the template AFTER
pcanterino [Sat, 23 Oct 2004 13:29:13 +0000 (13:29 +0000)]
When viewing a file, insert the contents of the file into the template AFTER
parsing the "editable" {IF}-block.
(Ever tried to view the viewfile.htm template file using Dev-Editor? Oh my god!)

20 years agoDev-Editor 2.1a version_2_1a
pcanterino [Fri, 22 Oct 2004 09:58:50 +0000 (09:58 +0000)]
Dev-Editor 2.1a

20 years agoInstead of absolute paths in error_file and template_file, I use relative ones.
pcanterino [Fri, 22 Oct 2004 09:58:09 +0000 (09:58 +0000)]
Instead of absolute paths in error_file and template_file, I use relative ones.
That's better for me ;-)

20 years agoNow we already unlock the file at the begining of exec_endedit(), because if an
pcanterino [Fri, 22 Oct 2004 09:40:22 +0000 (09:40 +0000)]
Now we already unlock the file at the begining of exec_endedit(), because if an
error occurs during saving, the file keeps locked.
This is not a perfect solution, there are still problems. I have to figure out
another one.

20 years agoDev-Editor 2.1 version_2_1
pcanterino [Wed, 13 Oct 2004 19:55:45 +0000 (19:55 +0000)]
Dev-Editor 2.1

20 years agoRemoved the note which said that existing files can't be overwritten
pcanterino [Thu, 7 Oct 2004 16:35:24 +0000 (16:35 +0000)]
Removed the note which said that existing files can't be overwritten

20 years agoChanged some comments
pcanterino [Tue, 5 Oct 2004 18:05:26 +0000 (18:05 +0000)]
Changed some comments

20 years agoexec_unlock() now checks if the file is really in use. Otherwise, we return to
pcanterino [Tue, 5 Oct 2004 17:43:11 +0000 (17:43 +0000)]
exec_unlock() now checks if the file is really in use. Otherwise, we return to
directory view (maybe we change this behaviour and display an error message...).

20 years agoCheck if the user wants to write text data into a binary file when saving a file
pcanterino [Tue, 5 Oct 2004 17:33:47 +0000 (17:33 +0000)]
Check if the user wants to write text data into a binary file when saving a file

20 years agoImproved file editing using another filename:
pcanterino [Mon, 4 Oct 2004 17:50:05 +0000 (17:50 +0000)]
Improved file editing using another filename:
- If the user just entered spaces as filename (detection works for other
  commands using the "newfile" CGI parameter too), we use the original filename
- Saving even works if the file has to be created first

20 years agoImproved file editing using another filename:
pcanterino [Mon, 4 Oct 2004 17:50:04 +0000 (17:50 +0000)]
Improved file editing using another filename:
- If the user just entered spaces as filename (detection works for other
  commands using the "newfile" CGI parameter too), we use the original filename
- Saving even works, if the file has to be created first

20 years agoOoops...?
pcanterino [Sun, 5 Sep 2004 15:25:09 +0000 (15:25 +0000)]
Ooops...?
What was that?

Something definitely went wrong when I remade the copy and the rename functions.
They printed a wrong error message if the destination already existed and if it
was a file.
Dev-Editor also didn't deny copying a directory.

20 years agoAdded an option for overwriting files during file upload if they already exist
pcanterino [Sun, 29 Aug 2004 12:43:15 +0000 (12:43 +0000)]
Added an option for overwriting files during file upload if they already exist

20 years agoDev-Editor 2.0 version_2_0
pcanterino [Mon, 9 Aug 2004 13:51:28 +0000 (13:51 +0000)]
Dev-Editor 2.0

20 years ago- Added some notes for changing mode and group
pcanterino [Sat, 7 Aug 2004 11:33:19 +0000 (11:33 +0000)]
- Added some notes for changing mode and group
- The formular fields are no longer filled with the old values

20 years agoRemoved the race condition in file_create() which could set a file to 0 if it
pcanterino [Thu, 5 Aug 2004 10:06:49 +0000 (10:06 +0000)]
Removed the race condition in file_create() which could set a file to 0 if it
already exist.
I wanted to use O_EXCL, but `perldoc -f sysopen` doesn't say that O_EXCL is
avaiable in _every_ system. So I use O_RDONLY and O_CREAT.
Additionally, I replaced all the open() calls in this module by sysopen() calls.

20 years agoSome small changes
pcanterino [Mon, 2 Aug 2004 09:55:53 +0000 (09:55 +0000)]
Some small changes

20 years agoAllow to change the group of a file using the Group ID
pcanterino [Sun, 1 Aug 2004 11:39:56 +0000 (11:39 +0000)]
Allow to change the group of a file using the Group ID
(Let's hope nobody will define a group composed only of numbers - let's hope it
isn't allowed at all - I should install Linux at home...)

20 years agoReplaced the code of mode_string() by some self-written code that I also
pcanterino [Fri, 30 Jul 2004 10:03:32 +0000 (10:03 +0000)]
Replaced the code of mode_string() by some self-written code that I also
understand
(The previous code was grabbed from Sven Rautenberg's SELFHTML Developer
internal PHP Dev-Editor)

20 years agoDev-Editor is now able to change the mode and the group of files
pcanterino [Thu, 29 Jul 2004 13:46:03 +0000 (13:46 +0000)]
Dev-Editor is now able to change the mode and the group of files

20 years agoCommands are now case-insensitive
pcanterino [Tue, 27 Jul 2004 12:30:46 +0000 (12:30 +0000)]
Commands are now case-insensitive

20 years agoDo not allow removing or renaming the root directory
pcanterino [Thu, 22 Jul 2004 10:50:16 +0000 (10:50 +0000)]
Do not allow removing or renaming the root directory

20 years agoFiles and directories are now sorted case-insensitively
pcanterino [Wed, 21 Jul 2004 19:50:41 +0000 (19:50 +0000)]
Files and directories are now sorted case-insensitively

20 years agoTypo
pcanterino [Wed, 21 Jul 2004 11:29:25 +0000 (11:29 +0000)]
Typo

20 years agoWhen viewing a file and if the file is editable, there is a new link to edit this...
pcanterino [Tue, 20 Jul 2004 12:07:37 +0000 (12:07 +0000)]
When viewing a file and if the file is editable, there is a new link to edit this file.

20 years agoThe Artistic License is now embedded in the about dialogue
pcanterino [Sun, 18 Jul 2004 19:50:31 +0000 (19:50 +0000)]
The Artistic License is now embedded in the about dialogue

patrick-canterino.de