Re: [Lazarus] Test this please

2018-03-31 Thread Anthony Walter via Lazarus
Kostas,

It's written in C# and an ASP.NET application. It's easy enough to setup on
Windows, Linux, or even on a Raspberry Pi. The instance I linked originally
is actually running on an Amazon micro EC2 instance.

For those using Debian based Linux, getting ASP.NET running on Apache is as
simple as:

sudo apt install apache2 mono-complete libapache2-mod-mono
mono-apache-server4
sudo a2enmod mod_mono_auto
sudo service apache2 restart

After than you simply drop my project into your public /var/www/html/,
navigate to http://localhost, and everything will work.

I am adding a few more nice features like a graph of user activity for
administrators and some installation/usage guides to explain what the
project is and is not, and then I'll be posting the project plus all its
source to my gihhub account. Regarding enhancements, yes I am open to
anything, but I want get it published with features and documentation I
mentioned it first before I start adding more enhancements such as the ones
you were suggested (which were great btw).

And finally, to all about the source code and implementation:

This project is based on my existing C# library
 and Typescript library
 already on github. No
Webforms, no MVC, no Bootstrap, no jQuery, or other frameworks are used.

Here is the source code to the actual home page of the application:

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


Re: [Lazarus] Test this please

2018-03-31 Thread Kostas Michalopoulos via Lazarus
Is this written in Lazarus/FreePascal? If it is a single-bin program (CGI?)
i can drop somewhere in my VPS it would be awesome because i was trying to
make something like that a while ago (but got bored :-P).

It seems to work fine, but my only request is to allow for "untyped" URLs,
ie instead of /texts/, /images/, etc use /files/ or something generic so i
can - for example - upload an HTML file that refers to other files. For
example i uploaded foo.html that tries to refer to foo.png (which i also
uploaded) but it doesn't work:

https://storage.codebot.org/tester/texts/foo.html

This could be an option. Also for bonus credits, add an option to upload a
zip file and have it being decompressed in a (sub)directory.



On Sat, Mar 31, 2018 at 3:17 PM, Anthony Walter via Lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> > pdf is not associated.
>
> I am not sure if pdf is previewable in a browser except maybe through a
> frame?
>
> --
> ___
> 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-31 Thread Anthony Walter via Lazarus
> pdf is not associated.

I am not sure if pdf is previewable in a browser except maybe through a
frame?
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-31 Thread Milan Baša via Lazarus

Fedora 27 + Firefox, Qupzilla works fine.

pdf is not associated.

Dňa 26.03.2018 o 06:22 Anthony Walter via Lazarus napísal(a):


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-28 Thread Anthony Walter via Lazarus
Thanks for the feedback Norbert.
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Test this please

2018-03-28 Thread Norbert Crettol via Lazarus

On 26. 03. 18 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.

http://storage.codebot.org



Hello,

I've tried it on Debian Stretch, Firefox. Works great.
I could see the images, watch the video, upload a big
file and delete it. Nice tool.

Regards
Norbert

--
___
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] 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 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 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 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 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 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 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 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