Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - KalleB

Pages: 1 2 3 [4] 5 6 7
46
HFS ~ HTTP File Server / Re: Introducing HFS Messaging protocol
« on: July 14, 2007, 01:24:02 PM »
Well I know Delphi already :D ...wrote a few quite decent apps couple of years ago ;)

It's just impossible to find enough time for coding nowadays :( ...otherwise I think I'd already tried coding this and some other things to HFS.

47
HFS ~ HTTP File Server / Introducing HFS Messaging protocol
« on: July 14, 2007, 11:17:03 AM »
When you can't think of anything else to code, here's something you might concider: Messaging.


Background:

Quite many times I've had something to say to some user browsing my server.. like recommending something to download for example. Only way to say it has been to ban that person temporarily, type the message as the "reason" and hope they would get it when they request the next page..

Also, sometimes while browsing someone elses server I'd like to be able to send a message to the server owner. In that case the only way has been to type my message to the URL after "?" sign and hope they'd spot that request from the log..

Here's a simple messaging protocol to help in this kind of situations and also to allow messaging between the users.


Look & feel:


A new private message has arrived when user was browsing the server. Instead of serving the requested page to the user, HFS serves this private messages page with a link to continue where he was really going. This page lists all the private messages user has received from any sender. To reply to specific user, its name can be clicked to change that value into he To: box. Also, multiple receivers could be added by separating them with comma. When a message has arrived and user is redirected to this page, the senders name obviously is the default value of the To: box.

The Chat history list would actually be just a borderless white table (with three columns) inside an iFrame (with 5 sec autoupdate).

At the bottom of the page there's a link to clear all private messages of that username and IP-address. Otherwise anyone logging in from same IP-address or with same username later could see these messages.



This is the servers public chat page. It's accessible using the link at the page footer. Here anyone can post messages that everyone can see. Clicking any username or IP-address would open up the private chat window with that username or ip-address in the To: box.

Otherwise this would be similar to the private chat window ...with the exeption that public messages cannot be cleared.
Users own messages are, like in private chat too, grayed to hide them a bit.

Additionally, when user is chatting from 127.0.0.1 aka localhost he would be considered as Server.



Private messages pointed to the server owner would open up a simple popup window in HFS...
In this case it might be better if every user has it's own popup window and all Servers private messages are not in the same list...or I don't know..

User would have to have an option to select whether these popup windows are displayed also when HFS is minimized to tray icon or only after HFS is opened from the tray by the user.



Similar window for the public chat... Server admin can clear the whole public chat history with that Clear button.




Under the hood:

HFS would have a (hidden) "message log" with format: [time][from][to][message]
This would include all messaging happened inside HFS...every message sent.

Example:
12:15:42 123.34.56.678 Server "Hello!"
12:15:49 Server 123.34.56.678 "Hello to u too"
14:52:11 mike@234.423.23.33 All "....."
14:52:59 amanda@42.244.53.11 mike "......."
14:53:50 mike@234.423.23.33 42.244.53.11 "......"
16:21:45 Server 123.34.56.678,mike,amanda "......."

* Server is obviously the server admin
* Message with All as [to] value is a public message
* Messages [From] anonymous users get an entry according to their IP-address
* Messages [From] logged in users get an entry including their name and IP-address
* Receiver [To] can only be a name OR an IP-address (or many of then separated by comma)
   (not name@12.34.56.7 because then "name" would not see his messages when he logs in at 76.54.32.1)

Parsing the message log

When for example user john logs in at 123.34.56.678 and his private messages are requested, the log is searched for
* line that has user john OR IP 123.34.56.678 in its [To] field
* line that has user john OR IP 123.34.56.678 in its [From] field AND where [To] is NOT "All"

The resulting lines would then be output into the table inside the iframe as described earlier.

The same way when someone opens up public chat, the message log is searched for any line that has "All" as its To value.

Clear messages function would work just the same way as these searches but it would just delete the matching lines found.



I don't know if this is the most effective or logical way of things to work...but this is the way I see it would be reasonably "doable" with rather low effort. If someone can think of better ways to do this, just let us know...  :)



Here are the mockup images also as attachments:

48
HFS ~ HTTP File Server / Re: Descript.ion maker
« on: July 13, 2007, 11:40:38 AM »
With files in virtual folders it currently works like this: If there is no comment set but there is decript.ion at the folder of that file, the comment is loaded from there. So a VFS comment overrides comment from descript.ion. (I think...I'm not able to verify this right now)

What I'm requesting here is to have an ability inside HFS to comment also files in real folders ..not only files in virtual folders like I can with the Comment feature.

49
Bug reports / Re: Small focus bug
« on: July 13, 2007, 11:17:01 AM »
Did you check that Modal dialog for options option?

I don't think any screenshot would clarify this... Just imagine Options window on top of HFS and then, Options window behind HFS when the mouse is moved over the Connections.

50
HFS ~ HTTP File Server / Re: Descript.ion maker
« on: July 13, 2007, 08:15:27 AM »
OK..that's cool. But since I'm not using TC or Far and have no need for either of them otherwise, I'd like to see this decription creating & editing also inside HFS.

51
Bug reports / Re: Small focus bug
« on: July 13, 2007, 08:01:40 AM »
OK now as I tested on my other machine I see that it is that option that causes it.. Maybe there is nothing to be done about this. When the options window is not modal, even a tooltip can take the focus back to main window..

52
HFS ~ HTTP File Server / Descript.ion maker
« on: July 12, 2007, 07:42:37 PM »
I'd like to see something like in the attached image when I click real folder with right mouse button and select Advanced > Create/edit descript.ion

The decription for that mp3 file is obviously already created automatically by HFS & mp3toion.exe working together  ;)


Edit: Maybe this menu entry should be only visible when "Support DESCRIPT.ION" is selected from the menu.

53
Bug reports / Small focus bug
« on: July 12, 2007, 07:15:40 PM »
Edit: Menu > Other options > Modal dialog for options has to be OFF

1) Go Menu > Limits > Bans ..Options window opens
2) Move your mouse (don't click) over the connections list in HFS main GUI
 => The Options window loses focus to main window as the tooltip of the connections list appears


54
RAWR-Designs / Re: Active Transfers
« on: July 11, 2007, 06:43:31 PM »

55
Beta / Re: Testing build #117
« on: July 11, 2007, 06:32:15 PM »
Heh..people are talking about "old look" when the difference between old and new is _one_ button :D ..well I like the "new look" anyway.

56
Beta / Re: Testing build #117
« on: July 11, 2007, 11:35:51 AM »
Looks very very good now.. and seems stable enough to me (exept the small-file-uploading bug and autoupdate bug on one of my machines - other 3 work ok). So I'd say we're quite ready for stable release...

EDIT: You might also fix these two double separators:

57
Beta / Re: Testing build #115
« on: July 10, 2007, 08:47:15 PM »
Looks very good ...only auto-update from 114 did not work but it has rarely worked on this machine anyway (usually gets stuck after starting hfs.new.exe) ..on other machine worked ok.

58
HFS ~ HTTP File Server / Re: %ext% in [file]
« on: July 10, 2007, 07:36:08 PM »

59
so. you want it in the template editor and in comments?

Sure, that would be nice indeed :D

60
I don't fully understand what you are talking about... but what I ment with this post is to ask how come HFS does not have this Ctrl+A as "Select all" hotkey like almost every program out there has?

I've naturally tried to use it in template editor and comments many many times. I only now found out that there is "Select all" when you click with right mouse button...Good, but Ctrl+A (like Ctrl+S for saving) is something that comes naturally for me when ever I need to select everything somewhere...

Pages: 1 2 3 [4] 5 6 7