Re: [Lazarus] Test this please

2018-03-26 Thread Santiago A. via Lazarus
El 26/03/2018 a las 6:22, Anthony Walter via Lazarus escribió:
> Hey guys. I wrote this web tool a while ago which emulates a desktop
> application in a few ways and wanted some feedback.
>
> http://storage.codebot.org
>
> login: tester
> password: funkytown
>
> The tool is a private cloud file server application. People will be
> able to get the source and configure it on their web server so that
> they can backup/share/transfer files to themselves or among friend.
> The admin account can manage users, their rights, and storage limits.
>
> What I've tried to do with this app is emulate a desktop application a
> bit, which might be similar to a desktop app written with Lazarus.
>
> Features:
>
> You can drag and drop files or click to browse for uploads. Large
> uploads can be resumed if you close the page before the upload
> completes. Uploads can be paused and resumed.
>
> The selection in file list can be navigated with up down and page up
> down arrow keys. Shift multi selects both with the mouse and keyboard.
> Control can toggle select on individual items.
>
> Some files including video and audio can be viewed. It has code for
> http stream allowing seeking to positions in large video files without
> the need to download. Multi select can be used to create play lists.
> If you select a group of songs, then open the song and play it will
> continue playing the next song when the current song is done.
>
> Enter selects items/ Function keys F2 renames inline, F3 search
> filters, F4 gives the option to turn sharing on/off (works with
> multiselect). File columns can be sorted.
>
> The front end code was written using my own typescript library.
>
> Any feedback would be appreciated.
>
>
Nice interface.

Some points:

Wrong password doesn't gives an error, simple ignores it no "Invalid
user or password".

Downloading videos is not posible. When I tried to reproduce it I got an
error "No compatible video mime format", Maybe my browser fault, but
couldn't dowload it either.

I suppose this is realtaed to freepascal some way. Isn't it?


-- 
Saludos

Santiago A.

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-26 Thread guy barbier via Lazarus
For me it doesn't work. Only the sign in page and nothing more.

2018-03-26 13:47 GMT+02:00 Santiago A. via Lazarus <
lazarus@lists.lazarus-ide.org>:

> El 26/03/2018 a las 6:22, Anthony Walter via Lazarus escribió:
>
> Hey guys. I wrote this web tool a while ago which emulates a desktop
> application in a few ways and wanted some feedback.
>
> http://storage.codebot.org
>
> login: tester
> password: funkytown
>
> The tool is a private cloud file server application. People will be able
> to get the source and configure it on their web server so that they can
> backup/share/transfer files to themselves or among friend. The admin
> account can manage users, their rights, and storage limits.
>
> What I've tried to do with this app is emulate a desktop application a
> bit, which might be similar to a desktop app written with Lazarus.
>
> Features:
>
> You can drag and drop files or click to browse for uploads. Large uploads
> can be resumed if you close the page before the upload completes. Uploads
> can be paused and resumed.
>
> The selection in file list can be navigated with up down and page up down
> arrow keys. Shift multi selects both with the mouse and keyboard. Control
> can toggle select on individual items.
>
> Some files including video and audio can be viewed. It has code for http
> stream allowing seeking to positions in large video files without the need
> to download. Multi select can be used to create play lists. If you select a
> group of songs, then open the song and play it will continue playing the
> next song when the current song is done.
>
> Enter selects items/ Function keys F2 renames inline, F3 search filters,
> F4 gives the option to turn sharing on/off (works with multiselect). File
> columns can be sorted.
>
> The front end code was written using my own typescript library.
>
> Any feedback would be appreciated.
>
>
> Nice interface.
>
> Some points:
>
> Wrong password doesn't gives an error, simple ignores it no "Invalid user
> or password".
>
> Downloading videos is not posible. When I tried to reproduce it I got an
> error "No compatible video mime format", Maybe my browser fault, but
> couldn't dowload it either.
>
> I suppose this is realtaed to freepascal some way. Isn't it?
>
>
> --
> Saludos
>
> Santiago A.
>
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
>
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-26 Thread Anthony Walter via Lazarus
Santiago,

Thanks for the feedback. Regarding the failed login, my initial though was
to not add a "Failed login" dialog for security purposes. That is to not
tell people why nothing happened in an attempt to better secure your files.
Several people have already mentioned this problem, so I may add a failed
login dialog or message.

Regarding the Lazarus connection, I frequently post here about fpc and
lazarus, but also sometimes post other programming work if I feel it
overlaps with Lazarus. In this case I am attempting to write a webpage that
acts like a desktop app, something for which I'd always use Lazarus as my
first choice, that is desktop development. With this app I've made some
efforts to carry over desktop user interactions. Shift and control click
selection, some dialog looking things, inline renaming of files, arrow key
moves the current selection, and what not. As such I am interested in the
feedback of desktop developers and thought lazarus people might have a
perspective I wanted for feedback.

Anyhow thanks for your opinions. They are appreciated.
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-26 Thread Landmesser John via Lazarus

works for Win XP SP2 and Google-Chrome!


Am 26.03.2018 um 06:22 schrieb Anthony Walter via Lazarus:
Hey guys. I wrote this web tool a while ago which emulates a desktop 
application in a few ways and wanted some feedback.


http://storage.codebot.org

login: tester
password: funkytown

The tool is a private cloud file server application. People will be 
able to get the source and configure it on their web server so that 
they can backup/share/transfer files to themselves or among friend. 
The admin account can manage users, their rights, and storage limits.


What I've tried to do with this app is emulate a desktop application a 
bit, which might be similar to a desktop app written with Lazarus.


Features:

You can drag and drop files or click to browse for uploads. Large 
uploads can be resumed if you close the page before the upload 
completes. Uploads can be paused and resumed.


The selection in file list can be navigated with up down and page up 
down arrow keys. Shift multi selects both with the mouse and keyboard. 
Control can toggle select on individual items.


Some files including video and audio can be viewed. It has code for 
http stream allowing seeking to positions in large video files without 
the need to download. Multi select can be used to create play lists. 
If you select a group of songs, then open the song and play it will 
continue playing the next song when the current song is done.


Enter selects items/ Function keys F2 renames inline, F3 search 
filters, F4 gives the option to turn sharing on/off (works with 
multiselect). File columns can be sorted.


The front end code was written using my own typescript library.

Any feedback would be appreciated.




-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-26 Thread R0b0t1 via Lazarus
On Sun, Mar 25, 2018 at 11:22 PM, Anthony Walter via Lazarus
 wrote:
> Any feedback would be appreciated.
>

Bad:

1) The webpage is fixed width, or has a minimum width.
2) I can't view videos, but this may be me.
3) The popover for viewing file content could be replaced with opening
a browser window (usually a tab).
4) Not as shiny as some web services.

Good:

1) It works!
2) Doesn't look horrible (i.e. bare HTML).
3) Keyboard navigation, keyboard shortcuts. Maybe add some more in
this regard? I find this is what I miss the most with web content.

Cheers,
 R0b0t1
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-26 Thread Marcello via Lazarus
on linux + chrome works

interesting project

nomorelogic

On 26/03/2018 06:22, Anthony Walter via Lazarus wrote:
> Hey guys. I wrote this web tool a while ago which emulates a desktop
> application in a few ways and wanted some feedback.


-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-26 Thread wkitty42--- via Lazarus

On 03/26/2018 09:16 AM, Anthony Walter via Lazarus wrote:

Santiago,

Thanks for the feedback. Regarding the failed login, my initial though was to 
not add a "Failed login" dialog for security purposes. That is to not tell 
people why nothing happened in an attempt to better secure your files. Several 
people have already mentioned this problem, so I may add a failed login dialog 
or message.



that's why the response says "invalid user or password"... you can't tell which 
one is bad...



--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list unless*
   *a signed and pre-paid contract is in effect with us.*
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-26 Thread Anthony Walter via Lazarus
wkitty42,

Okay will add it. Thanks.
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-26 Thread Bart via Lazarus
On Mon, Mar 26, 2018 at 6:22 AM, Anthony Walter via Lazarus
 wrote:
> Hey guys. I wrote this web tool a while ago which emulates a desktop
> application in a few ways and wanted some feedback.

Seems to work OK (Win10, FF)
Looks OK too.

Bart
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Beep?

2018-03-26 Thread Marc Santhoff via Lazarus
(sending again from the subscribed mail address...
 if moderation is active, please drop the other mail - sorry and thanks)


On Sun, 2018-03-25 at 22:02 -0400, Donald Ziesig via Lazarus wrote:
> 
> Any suggestions would be appreciated.

Make sure your computer can beep? (speaker connected, etc.)

Try "writeln(#07)"?

Check if X has beeps switched off ("xset -b")?

HTH anyhow,
Marc

-- 
Marc Santhoff 
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Beep?

2018-03-26 Thread Landmesser John via Lazarus

perhaps:

* A simple visual component to play WAVe files in Windows or Linux
* For more information, see: http://wiki.freepascal.org/TPlaySound


Am 26.03.2018 um 04:02 schrieb Donald Ziesig via Lazarus:


Hi Everyone!

I am using Lazarus 1.8 on Linux Mint.  I would like to use the 
Windows.Beep( Freq, Duration) function, or (if not available) 
SysUtils.Beep subprograms.


Simplest problem.  SysUtils.Beep compiles and links but is silent.

Slightly more difficult (according to StackOverflow)

I should be able to insert (manually) Windows in the uses clause, then 
call the windows.beep( f, d) function, but fcp can't find Windows even 
though there are several windows.pp files in the fpcscr directories.


Failing that, the article says:

|functionBeep(dwFreq,dwDuration:DWORD):BOOL;stdcall;external'kernel32.dll';|

should work, but it causes a linker error after compilation.  I don't 
have lernel32.dll on my Linux system.


A long time ago, I used the Windows.Beep (on windows) to produce Morse 
Code error messages while debugging visual components.  I would like 
to do that now if possible, but on Linux.


Any suggestions would be appreciated.

Thanks,

Don Ziesig







-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus