Fork me on GitHub

#1 2015-08-29 22:30:44

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

New eyeEmbedder released!

I'm proud to announce you eyeEmbedder as new and native oneye release, allowing you to create simple "iframized" oneye applications. All you need is an administrator account and the latest oneye revision from GitHub.

  • eyeEmbedder comes with an integrated test environment, based on eyeIframize,

  • it allows the specification of default sizes and whether your application should start up maximized.

  • Finally you can specify any kind of meta data and

  • for sure an application specific icon.

  • After all, just click "Package" to save your application as installable eyePackage.

What do you think about this one? Have fun!


Best regards,
Lars Knickrehm

The oneye project.

Offline

#2 2015-08-29 23:53:50

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

Did you test the created eyepackages with the eyeInstall routine?  It's been quite awhile and perhaps I didn't do something right, but when I tried the EyeInstall, it failed to unpack eyepackages.  I've just installed by hand since then.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#3 2015-08-29 23:59:42

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: New eyeEmbedder released!

Just try it. You'll see, that all packages, which are packed accurately, can be installed. These do, too.


Best regards,
Lars Knickrehm

The oneye project.

Offline

#4 2015-08-30 05:01:51

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

I got pulled away right in the middle of my testing, so I still haven't gotten to the fully pack/unpack stage. I'm was just ready to send some initial impressions to FB.  I'll copy/paste here too. 

The app is a good start, overall.

The instructions could be wordier. I will improve some of the wording. I just like my instructions to be a little more idiot proof.

There might be a bug in the type selector. The selector stopped ressponding but the rest of the app continued to run. The type selector is probably not needed anyway. Only type application is needed for this kind of app.

I would rather have all the various window settings (Min, Max, Resize, Listed, etc)  as optional settings, and as many as desired beyond those basics (center, x, y, etc). Admittedly those settings are very easy to change after installation. It would be nice to have that control up front.

The icon selector is interesting, but I miss the ability to select any ole png or jpg image from the HD and resizing it to 16, 22, and 48x icons on the fly,  as in the original java app. Using the icon selector, it seems any custom icons would have to be created and installed manually, either before or after install. I will look around  to see if I can find some html, javascript or php that will create icons on the fly.

I LIKE the category selector, and it allows me to pick any pre-existing category.  That's nice.

And finally, I absolutely LOVE the "test" feature.  In this aspect, it shares a good deal with eyeDeveloper.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#5 2015-08-30 06:32:38

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

I ran it through to the end and it did pack/unpack/install properly.  First, I'm adding some code that won't allow it to run more than one instance at a time.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#6 2015-08-30 06:51:07

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

I am now just making the instructions a little more verbose.  I'm glad to see that not only urls are acceptable, but also index?=extern addresses.  That's one improvement over the java app that I really wanted.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#7 2015-08-30 09:58:55

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

I found a possibility for an "on the fly" icon maker, but it might get a little complicated and code heavy. It's billed as an image resizer and optimizier, but I think that's basically what an icon maker is, so here's a link:

https://github.com/nwtn/php-respimg

It has some dependencies:

Requirements/dependencies

ImageMagick
ext-imagick

For SVG rasterization: jonnyw/php-phantomjs 3.1.5

For optimization, depending on what settings you pass:
SVGO
image_optim
picopt
ImageOptim

It's already above my head, but if you can make it run as part of eyeEmbedder to create the various standard size pngs-16, 22, & 48, and maybe even as a standalone icon maker with ability to choose non-standard sizes and non-square shapes.  It would be a pretty cool time saver.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#8 2015-08-30 11:41:01

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: New eyeEmbedder released!

I just improved some field descriptions and fixed that application type problem.

Usage of custom icons is on the TODO list - shouldn't be a big deal.

I neither implement default values for x, y, ... values nor limit eyeEmbedder to run more than once.


Best regards,
Lars Knickrehm

The oneye project.

Offline

#9 2015-08-30 13:42:00

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: New eyeEmbedder released!

OK, it's done, see GitHub for an update version - including choosing a custom icon!


Best regards,
Lars Knickrehm

The oneye project.

Offline

#10 2015-08-30 19:31:30

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

The info.xml file still lists it as Utility and not an Application, therefore it still doesn't show up in the apps window.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#11 2015-08-30 19:34:07

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

I have made two custom icons for eyeEmbedder.  One I put in the default theme and one I put in the ubuntu theme.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#12 2015-08-30 19:46:41

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

And I recently learned that every 48x48 application icon needs a corresponding 22x22 icon, so that it will appear properly in the process list.  smile


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#13 2015-08-31 04:20:22

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

There's still a bit of a bug in the icon generator:

    <icon>index.php?theme=USERTHEME&amp;extern=icons/48x48/custom:/Images/roll20-logo.png.png</icon>

I went to check the status of the icon and found some newly minted files, but they are all dated 4/20/08.  They start with ._default in the themes drawer and then there's ._images inside default and inside images is ._toolbar, and all of the toolbar images in the lowest level of the tree have their own little doppels.  I did not, however, find the roll20 icon, anywhere.  I ran a search of the entire system.

I'm also still wondering about the option to start full page.  I have to watch it closer.  I'm pretty sure I had it checked   for this roll 20 app, as I knew it is a large website, but it didn't happen.  Since I also left width and height blank, I don't know which "0" I'm supposed to flip to a "1".  I'm going to start with the third one and go from there. 

This is also the first time I have looked at the code being generated.  It's definitely different code on the inside than I'm used to seeing in 90% of the apps I've messed with.  It seems a bit more advanced method, but that is cool.  If this is the preferred method, it wouldn't be hard to update "old" apps.  Basically, it would go like this- copy/paste, copy/paste, copy/paste, search/replace, save, repeat.

The code looks naked without any comments at all. Could you generate a standard oneye comment block, include the provided description and other details and stick it in at top of app.eyecode and events.eyecode? This would be duplicated in info.xml, but as my old professor's used to say, you can't have too much documentation.

Last edited by Wolfy (2015-08-31 04:39:42)


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#14 2015-08-31 09:06:31

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

ah, I just discovered the "open full screen" does not work if width and/or height are left blank.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#15 2015-09-01 12:17:50

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: New eyeEmbedder released!

I won't change eyeEmbedder from Utility to Application, since it's not meant for use on a regular system. I'll check that icon bug - having one more in mind.


Best regards,
Lars Knickrehm

The oneye project.

Offline

#16 2015-09-01 12:50:16

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: New eyeEmbedder released!

Please check GitHub for the latest revision.


Best regards,
Lars Knickrehm

The oneye project.

Offline

#17 2015-09-03 08:14:48

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: New eyeEmbedder released!

Why is the app "not meant for use on a regular system"?  I thought that is exactly what it was for.  To produce "single-shot" apps  on the fly in a regular environment.  As far as I can tell, oneye never stops growing, changing and evolving.  At the same time there can be more than one admin on a regular system who is able to run the app. It's like a 50 acre theme park always under construction, adding new rides and tearing down old ones.  Even if it were "meant for use on special development systems only", then even more reason not to hide the icon as no one will ever see it anyway.   I just don't understand your logic sometimes.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

Board footer

Powered by FluxBB