You are not logged in.
Pages: 1
Hi
I am using eyeos 1.9 on a ARM based NAS running apache + php 5.2.x so I cant use the eyeos 2.x series
I'd like to know the format of the files it uses
Each file seems to be made up of 2 files that seem to be in the format
filename_hash.eyeFile which is the actual file and
filename_hash.eyeInfo which contains an xml file describing the file
What is the hash or checksum in the file name how can I generate it?
I'd like to use the host OS to generate files automatically to be used in eyeos by other online users
Offline
Hey Chris,
nice to see you here. Welcome.
eyeos series 1 is using a virtual files system for secure file management. Actually there are four different file extensions you should know of: eyeFile, eyeInfo and a third one, that is used from within the trash folder only: eyeTrash. The fourth extension marks standalone files on the desktop, representing links. All four have PHP constants, which are defined in settings.php.
At first: The concept behind the vfs (short form of virtual files system) of eyeos series 1 is not as consistent as we'd wish it to be. There are a lot known problems with it, which I'm just too lazy to work around. Most of them effect the links system. Earlier versions had problems with the trash dir and just at the beginning of the series there were problems with the groups management. eyeos series 1 is quite old now and it's just too late to change this. We'll need to live with these and hope for something better soon.
The first part of files with those first three extensions is their file name, which consists of the virtual file name, an underscore and the RANDOM (mostly - just as with everything on computing machines) key, which you already noticed.
The eyeFile file contains the original file data and the eyeInfo file contains data about the virtual file: the virtual file name, the file's author, the date and time it was created on and rarely a hint on what application it was created with, but that's just unnecessary.
<eyeFiles>
<filename></filename>
<author></author>
<created></created>
<creationapp></creationapp>
</eyeFiles>
Best regards,
Lars Knickrehm
The oneye project.
Offline
I'm doing something wrong all the time
When I look at the file in eyeos the icon is a question mark and the file name is eyeFiles_View_Icons_Icon_1
Change file permission so its writable by the server
Any need for the the random part to be 32 caracters long?
What happens if they are the same?
Last edited by chris... (2011-08-15 05:54:34)
Offline
Change file permission so its writable by the server
What are you talking about?
Any need for the the random part to be 32 caracters long?
Hmm... I just took a close look at the sources and it seems you just need the underscore and maybe one more random character, but I guess it works withno extra character, too ...
What happens if they are the same?
Same as?
Best regards,
Lars Knickrehm
The oneye project.
Offline
chris... wrote:Change file permission so its writable by the server
What are you talking about?
chris... wrote:Any need for the the random part to be 32 caracters long?
Hmm... I just took a close look at the sources and it seems you just need the underscore and maybe one more random character, but I guess it works withno extra character, too
...
chris... wrote:What happens if they are the same?
Same as?
1. The info file needs to be writeable by the web server, read-only isnt good enough
2. The random characters after the underscore, what happens if they are the same as another file?
I tested it myself and the same "random" characters for two different files makes no difference. As you pointed out no extra characters are even required
I noticed I can't right-click on files when using the 'details' view. It works on 'icons' and 'list' view
Offline
I noticed I can't right-click on files when using the 'details' view. It works on 'icons' and 'list' view
You're right. I just didn't implement that, 'cause the table control of eyeos series 1 is not made for such things - sadly ...
Best regards,
Lars Knickrehm
The oneye project.
Offline
I have a folder with almost a hundred files in it and its very slow to open
Also it doesnt like square brackets in the file name
With files > 2GB it shows the author as the file size
Files dont sort correctly in table view
Also is eyeos 2.5 ever going to run on php 5.2.x?
Last edited by chris... (2011-08-21 01:06:06)
Offline
Hi Chris,
I have a folder with almost a hundred files in it and its very slow to open
This is quite easy to explain: oneye gets an array of all files in the selected folder, does some work in order to prepare the data and finally sends everything out to the browser.
Also it doesnt like square brackets in the file name
Did you create the file using eyeFiles / eyeMkDir or from your real os?
With files > 2GB it shows the author as the file size
I really don't know why eyeos shows the author as file size on large files... Can you post the corresponding eyeInfo file, please?
Do you use the default virtual or the native file system of oneye?
Files dont sort correctly in table view
This is a known bug. It's a problem with the table control. You can file this as a bug in the bug section in the forums, so when I've some free time I can go investigating...
Also is eyeos 2.5 ever going to run on php 5.2.x?
Sorry, eyeos 2 is never going to support php versions lower 5.3.0.
Best regards,
Lars Knickrehm
The oneye project.
Offline
This is quite easy to explain: oneye gets an array of all files in the selected folder, does some work in order to prepare the data and finally sends everything out to the browser
Can this speed be increased?
Did you create the file using eyeFiles / eyeMkDir or from your real os?
I made my own program to create the files
I really don't know why eyeos shows the author as file size on large files... Can you post the corresponding eyeInfo file, please?
Do you use the default virtual or the native file system of oneye?
It's the same as all the other files
Whats the difference between the two file systems?
This is a known bug. It's a problem with the table control. You can file this as a bug in the bug section in the forums, so when I've some free time I can go investigating...
Sorry, eyeos 2 is never going to support php versions lower 5.3.0.
OK
Offline
One general note: Please be careful when updating to new releases: You might need to repeat several steps, cause the update script replaces already existing files.
Can this speed be increased?
Hmm... Sure, but I don't expect any speed improvements for oneye 0.8, sorry...
I made my own program to create the files
In eyeOSxxxxxxxxxx/system/services/vfs/modules/virtual.eyecode the global variable $charBlackList restricts eyeos from using square brackets. Just remove them from the array and you're done.
It's the same as all the other files
Whats the difference between the two file systems?
Instead of the virtual files system, which is based on eyeInfo and eyeFile files, using the native files system allows to use files just as you do on your local system. The native files system can be slightly insecure and therefore should be used on local systems only. You can enable it in the settings.php by changing VFS_MODULE to 'native'.
PS: The native files system might even speed up the folder view...
Best regards,
Lars Knickrehm
The oneye project.
Offline
Im using eyeos 1.9.0.1
changing the VFS_MODULE to real from virtual does not seem to make any difference with any groups directory
Last edited by chris... (2011-08-24 18:06:09)
Offline
That's right. The 'real' files system (it's called 'native' in oneye 0.9, so excuse my miss-calling in previous posts) has no effect on trash and group files.
Best regards,
Lars Knickrehm
The oneye project.
Offline
where can I download oneye from?
how can i share 'native' files in groups. e.g. I'd like to automatically keep an updated list of files available to everyone without having to generate eyeInfo files
Last edited by chris... (2011-08-25 19:20:33)
Offline
Hi Chris,
oneye 0.8 will be released in September and is "just" an update for eyeos 1.9.
oneye 0.9 is still in development and I plan to publish some more information until the end of 2011.
Best regards,
Lars Knickrehm
The oneye project.
Offline
Pages: 1