Welcome to NeoOffice Forums
NeoOffice
 
Official online support site for NeoOffice and NeoOffice Mobile

Trinity
· Home
· News
· Private Messages
· Stories Archive
· Your Account


RSS Feeds
· Headlines
· Forum Posts
· NeoOffice Releases
· Beta Releases
· NeoOffice Mobile


Twitter Feeds
· @NeoOffice


Download NeoOffice
· Get NeoOffice
· Get the Latest Patch
· Language Packs
· User Guide
· User Guide Volume 2


Other Websites
· NeoOffice.org
· NeoWiki


Who's Online
There are currently, 109 guest(s) and 8 member(s) that are online.

You are Anonymous user. You can register for free by clicking here


Languages
Select Interface Language:



  
trinity.neooffice.org :: View topic - cURL Installer I am Creating
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Private MessagesPrivate Messages   Log inLog in 

cURL Installer I am Creating
Users who have paid US$100.00 within the last year can post
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
rab777hp
Pure-blooded Human


Joined: Jul 23, 2008
Posts: 37

PostPosted: Mon Jul 28, 2008 12:51 pm    Post subject: Reply with quote

Yes, I frequently create and distribute automator apps, some do not work on tiger because of using leopard specific features, one used the voice Alex, it does not work on tiger machines.

I am able to test this on a tiger machine if needed.
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10981
Location: California, USA

PostPosted: Mon Jul 28, 2008 1:11 pm    Post subject: Reply with quote

If you can make your source code available under an open source license like GPL (you keep copyright), we can test on Tiger and also make changes if bugs are found (i.e. do any required support).

We like the GPL because it ensures that if we make any changes to your code, we have to publish our changes and cannot make them proprietary.

Patrick
Back to top
View user's profile Send private message Visit poster's website
rab777hp
Pure-blooded Human


Joined: Jul 23, 2008
Posts: 37

PostPosted: Mon Jul 28, 2008 1:18 pm    Post subject: Reply with quote

If I use automator, then there won't be any source code, there would be a workflow that you could adapt, but no source code.
Back to top
View user's profile Send private message Visit poster's website
rab777hp
Pure-blooded Human


Joined: Jul 23, 2008
Posts: 37

PostPosted: Mon Jul 28, 2008 1:47 pm    Post subject: Reply with quote

If you want, I can email Ed what I have, since he knows automator, if you or him can give me his email address.
Back to top
View user's profile Send private message Visit poster's website
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Mon Jul 28, 2008 2:34 pm    Post subject: Reply with quote

rab777hp wrote:
If I use automator, then there won't be any source code, there would be a workflow that you could adapt, but no source code.


Well, in this case the "source code" is probably the workflow itself… I'm no lawyer though so don't take my word for it Wink
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10981
Location: California, USA

PostPosted: Mon Jul 28, 2008 5:42 pm    Post subject: Reply with quote

Samwise wrote:
Well, in this case the "source code" is probably the workflow itself… I'm no lawyer though so don't take my word for it Wink


Yeah, the source code really is just any files that automator creates.

I have sent rab777hp a Private Message with e-mail info.

Patrick
Back to top
View user's profile Send private message Visit poster's website
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4576

PostPosted: Tue Jul 29, 2008 10:28 am    Post subject: Reply with quote

While brushing my teeth this morning, I had an idea about how the server could supply changing paramaters to the app (it'll work for regular AppleScript apps, so presumably the same general method will work for Automator).

The base app is on the server, zipped up (it's a Mac app, so it needs to be zipped). When the server is ready to let the user download the app, it writes the various parameters ("authentication" or "session" keys, random/hashes) to a text file and adds that text file to the .zip file. User downloads and unzips the .zip and has an app and a small text file. User launches the app, and the app reads the various parameters from from the text file and begins the download. After a little while, the auth/session keys expire on the server, so that people who download the little app can't pass it around to everyone on the internet and let them bypass the donation request and mirror rotation, etc.

(If the server were an actual Mac, you could have it automatically compile the paramaters into the AppleScript app with osacompile before serving it for download, but my guess is that planamesa.com/neooffice.org aren't running Mac OS X Server Wink )

I don't know how difficult the PHP/server-side stuff would be, but my hope is that it's not too difficult, as I've seen other download systems that do something broadly similar.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10981
Location: California, USA

PostPosted: Tue Jul 29, 2008 10:53 am    Post subject: Reply with quote

sardisson wrote:
While brushing my teeth this morning, I had an idea about how the server could supply changing paramaters to the app (it'll work for regular AppleScript apps, so presumably the same general method will work for Automator).

The base app is on the server, zipped up (it's a Mac app, so it needs to be zipped). When the server is ready to let the user download the app, it writes the various parameters ("authentication" or "session" keys, random/hashes) to a text file and adds that text file to the .zip file. User downloads and unzips the .zip and has an app and a small text file. User launches the app, and the app reads the various parameters from from the text file and begins the download. After a little while, the auth/session keys expire on the server, so that people who download the little app can't pass it around to everyone on the internet and let them bypass the donation request and mirror rotation, etc.


This is roughly what Ed and I were thinking of. You can save Automator as either a workflow or application. Both are directories and both contain a text file with the actual actions to perform. Our PHP code would replace a variable or other string in the text file and then create a zip file of the base data. The user would need to unzip the downloaded zip file, but once they do that, they can just double-click on the Automator application in the zip file.

sardisson wrote:
(If the server were an actual Mac, you could have it automatically compile the paramaters into the AppleScript app with osacompile before serving it for download, but my guess is that planamesa.com/neooffice.org aren't running Mac OS X Server Wink )


Sorry, all of our servers are FreeBSD servers residing in a data center. They are monitor-less machines that are accessible only by ssh.

sardisson wrote:
I don't know how difficult the PHP/server-side stuff would be, but my hope is that it's not too difficult, as I've seen other download systems that do something broadly similar.


Replacing strings in files and zipping files is easy to do in scripts.

Patrick
Back to top
View user's profile Send private message Visit poster's website
rab777hp
Pure-blooded Human


Joined: Jul 23, 2008
Posts: 37

PostPosted: Tue Jul 29, 2008 5:42 pm    Post subject: Reply with quote

pluby wrote:

I have sent rab777hp a Private Message with e-mail info.

Patrick


I have received no private message.
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10981
Location: California, USA

PostPosted: Tue Jul 29, 2008 9:45 pm    Post subject: Reply with quote

rab777hp wrote:
I have received no private message.


Hmmm. I must have messed something up as I wrote a short PM but since there is nothing in my Outbox or Sentbox, it is pretty obvious that I never sent it.

Anyway, the gist of the PM is if you send us the workflow as a zip file attachment to e-mail at donationsupport at neooffice dot org, you be be assured that both Ed and I will get it. Ed can look at the Automator code and I can look at how to splice it into our website.

Edit: corrected typo in e-mail address.

Patrick
Back to top
View user's profile Send private message Visit poster's website
rab777hp
Pure-blooded Human


Joined: Jul 23, 2008
Posts: 37

PostPosted: Wed Jul 30, 2008 9:43 am    Post subject: Reply with quote

Can I email you the app? Or does it have to be the workflow. You can open the app in automator, so you still get the workflow.
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10981
Location: California, USA

PostPosted: Wed Jul 30, 2008 10:58 am    Post subject: Reply with quote

Sure. Just be sure to zip the app as it is really a folder full of files and subfolders.

Patrick
Back to top
View user's profile Send private message Visit poster's website
rab777hp
Pure-blooded Human


Joined: Jul 23, 2008
Posts: 37

PostPosted: Wed Jul 30, 2008 11:06 am    Post subject: Reply with quote

Okay, I just need to test one more thing about it.
Back to top
View user's profile Send private message Visit poster's website
rab777hp
Pure-blooded Human


Joined: Jul 23, 2008
Posts: 37

PostPosted: Wed Aug 13, 2008 7:02 pm    Post subject: Sorry About the Delay Reply with quote

I've finally got it, I was unfortunately delayed, however I have tested it and it works well. I am just running it once more to make sure everything is all right. I will email the zipped app shortly- how do I license under GPL?
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10981
Location: California, USA

PostPosted: Thu Aug 14, 2008 8:12 pm    Post subject: Re: Sorry About the Delay Reply with quote

rab777hp wrote:
I've finally got it, I was unfortunately delayed, however I have tested it and it works well. I am just running it once more to make sure everything is all right. I will email the zipped app shortly- how do I license under GPL?


I would just include a plain text file in your zip file called LICENSE.txt or something similar and copy the GPL version 2 or 3 (whichever you prefer) text into that file from the following website:


In addition. You may want to include a COPYRIGHT.txt file that has a one line that says you own the copyright and you have released it under GPL version 2 or 3 (whichever you picked) and the (this is important) full text of the license is in the included LICENSE.txt file.

Patrick
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 2 of 6

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.04 Seconds