This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Twijn's profile picture

OnlineAPPS - Online Program Distribution

Started by Twijn, 12 November 2016 - 08:10 PM
Twijn #1
Posted 12 November 2016 - 09:10 PM
Discontinued.
Edited on 20 November 2017 - 04:13 AM
supernicejohn #2
Posted 12 November 2016 - 10:30 PM
I believe I am the first to use this! Nice UI, but I would like a "dependencies" area, for any APIs, instead of cluttering the description (also links to these). And of course file upload instead of copy paste, but since Multi-File Programs are being implemented, I assume it will have that soon :)/>

Also having the font size be smaller would be nice, although zooming out solves that.

Really nicely done, can't wait for this to go mainstream! +1
Twijn #3
Posted 12 November 2016 - 10:38 PM
I believe I am the first to use this! Nice UI, but I would like a "dependencies" area, for any APIs, instead of cluttering the description (also links to these). And of course file upload instead of copy paste, but since Multi-File Programs are being implemented, I assume it will have that soon :)/>

Also having the font size be smaller would be nice, although zooming out solves that.

Really nicely done, can't wait for this to go mainstream! +1

Copying and pasting will likely be replaced with just uploading files, but keep in mind that you can use the OnlineAPPS Command Line to create or update a program. Just use the commands 'create -file <File name>' or 'update -file <File Name> -code <Code>'

And thank you!

EDIT: It appears there are no + things in your programs, which causes errors everywhere… I'm not sure why it's like this or if it was copied like that or if it was the posting that did it (which it shouldn't of). It has always included + signs whenever I've posted anything there, which is odd.
Edited on 12 November 2016 - 09:54 PM
H4X0RZ #4
Posted 13 November 2016 - 12:18 AM
Sounds interesting!

"Nice" website. It looks a bit bugged for me (the text is going outside the box), though, and the fonts you chose are kinda "hard" to read IMO.
Twijn #5
Posted 13 November 2016 - 01:09 AM
Sounds interesting!

"Nice" website. It looks a bit bugged for me (the text is going outside the box), though, and the fonts you chose are kinda "hard" to read IMO.
Yeah, it's not supposed to be like that… I'll fix that, although I'm not sure why it's doing it on only some computers. I'll also look into different fonts (As I was honestly thinking the same thing for a little bit :P/>)

Again, the website is a WIP, and will look different in the future
Edited on 13 November 2016 - 12:12 AM
H4X0RZ #6
Posted 13 November 2016 - 01:28 AM
Sounds interesting!

"Nice" website. It looks a bit bugged for me (the text is going outside the box), though, and the fonts you chose are kinda "hard" to read IMO.
Yeah, it's not supposed to be like that… I'll fix that, although I'm not sure why it's doing it on only some computers. I'll also look into different fonts (As I was honestly thinking the same thing for a little bit :P/>)

Again, the website is a WIP, and will look different in the future
For some reason, it's working on my Linux installation (same machine). Although the font looks different. I guess my Windows just refused to load the font but the stylesheet was calculated based on the actual font.
Twijn #7
Posted 13 November 2016 - 01:43 AM
Sounds interesting!

"Nice" website. It looks a bit bugged for me (the text is going outside the box), though, and the fonts you chose are kinda "hard" to read IMO.
Yeah, it's not supposed to be like that… I'll fix that, although I'm not sure why it's doing it on only some computers. I'll also look into different fonts (As I was honestly thinking the same thing for a little bit :P/>)

Again, the website is a WIP, and will look different in the future
For some reason, it's working on my Linux installation (same machine). Although the font looks different. I guess my Windows just refused to load the font but the stylesheet was calculated based on the actual font.

I just updated the fonts and stuff so everything should be working. Still playing with the fonts a tiny bit so if it looks bad then just wait a second and it may look better…
Edited on 13 November 2016 - 12:49 AM
Twijn #8
Posted 13 November 2016 - 03:02 PM
REGISTRATION UPDATE
A VALID EMAIL ADDRESS is now required while registering for OnlineAPPS. Verification WILL be required!

I didn't wanna have to use emails, however some people (you know who you are) liked to create auto scripts (somehow) to create many, many accounts. xP

If your account still exists, please contact me to set up an email address. Thank you.
Edited on 13 November 2016 - 02:03 PM
supernicejohn #9
Posted 13 November 2016 - 10:22 PM
It appears there are no + things in your programs, which causes errors everywhere… I'm not sure why it's like this or if it was copied like that or if it was the posting that did it (which it shouldn't of). It has always included + signs whenever I've posted anything there, which is odd.
Seems like it's time to move away from sublime text 2. Jokes aside I updated it shortly after (copy pasting again…) I thought it only affected the one file, not the other, so noone can actually use it as I'm not on my computer right now. I tested the program, but as I already had the api… Yeah. Doesn't matter that much cause it's not that good of a program, but that gives me an idea, reporting programs that don't work? If the site gets used frequently it might be good to quality control.

Anyway I'll reupload frame tomorrow, so people can try it out if they want, would be a shame if the first submitted program doesn't work ;p

How unfortunate that you got hit by spam, was it from this site or random bots crawling around?
Twijn #10
Posted 13 November 2016 - 11:37 PM
It appears there are no + things in your programs, which causes errors everywhere… I'm not sure why it's like this or if it was copied like that or if it was the posting that did it (which it shouldn't of). It has always included + signs whenever I've posted anything there, which is odd.
Seems like it's time to move away from sublime text 2. Jokes aside I updated it shortly after (copy pasting again…) I thought it only affected the one file, not the other, so noone can actually use it as I'm not on my computer right now. I tested the program, but as I already had the api… Yeah. Doesn't matter that much cause it's not that good of a program, but that gives me an idea, reporting programs that don't work? If the site gets used frequently it might be good to quality control.

Anyway I'll reupload frame tomorrow, so people can try it out if they want, would be a shame if the first submitted program doesn't work ;p

How unfortunate that you got hit by spam, was it from this site or random bots crawling around?

Not entirely sure yet, however it was somewhat easy to clean up. The API path for creating accounts requires a special key, to prevent someone from looping through creating accounts, however someone I guess abused the register page to somehow create all of the accounts. At this point it's still somewhat possible for someone to do the same thing, however they require verification and cannot post anything until they verify.

Also, reporting programs that don't work sounds like a good idea. I will probably implement that soon. What I'm working on now is the ability for users to auto-update their programs if a new version arrives by appending a string to the top of the program.
Edited on 13 November 2016 - 10:42 PM
EveryOS #11
Posted 14 November 2016 - 12:42 AM
I have like, 50 email accounts, some I don't even remember the usernames for, so this is kinda useless.
And also, how do I add my maibn email to my account
Twijn #12
Posted 14 November 2016 - 12:56 AM
I have like, 50 email accounts, some I don't even remember the usernames for, so this is kinda useless.
And also, how do I add my maibn email to my account
It has your IP set up with your account too, so you can't make more than one account on a single IP. If you have an email to verify your account, I don't care how many accounts you make, I just don't want a bot to create many accounts then create many programs under that account.

Also, I just deleted your account since you didn't have anything under it anyway. You can register again and verify the email etc.
LDDestroier #13
Posted 14 November 2016 - 03:35 AM
Hey, looks nice so far. Is there any way for me to use an API to get a list of all programs, their categories, creator names, program names, program IDs, and suchwhat? It'd be useful for adapting this into STD-GUI.
Twijn #14
Posted 14 November 2016 - 03:45 AM
Hey, looks nice so far. Is there any way for me to use an API to get a list of all programs, their categories, creator names, program names, program IDs, and suchwhat? It'd be useful for adapting this into STD-GUI.

Basically everything that the website does, you can do. (Minus email verification and user creation :P/> )

Still working on the documentation but I hope to get that out soon. Note that we don't yet have categories at all, however I do have plans to add it later.

GET http://twijnweb.com/...etall.php?page= <page> (page is optional) will get all programs in a JSON format.

GET http://twijnweb.com/.&#46;&#46;/info.php?code= <program code> will get the program information (code, name, description, owner) however the actual code should still be retrieved via http://get.twijnweb.com/ <code>

GET http://twijnweb.com/...s.php?username= <username> will get a user's programs (same info as above)

Also, you can besides reading these, you can also post programs, login, edit programs, etc. if you get an authentication code from the login script.

PS if you don't have a JSON decoder, there is one existing here.
Edited on 14 November 2016 - 02:50 AM
EveryOS #15
Posted 15 November 2016 - 12:53 AM
Just so you know, your https certificate (set to expire next year, issued 11/6/16 by LetsEncrypt) is invalid.
apemanzilla #16
Posted 15 November 2016 - 01:29 AM
Just so you know, your https certificate (set to expire next year, issued 11/6/16 by LetsEncrypt) is invalid.

No, it's valid. Check your certificate authority settings.
Twijn #17
Posted 15 November 2016 - 02:11 AM
I haven't found a browser which doesn't accept the certificate, however I do know that it does not work in some versions of ComputerCraft.
apemanzilla #18
Posted 15 November 2016 - 03:26 AM
I haven't found a browser which doesn't accept the certificate, however I do know that it does not work in some versions of ComputerCraft.

IIRC it's not CC's fault, it's due to outdated Java installations. The Let's Encrypt root certificate is only present in semi-recent versions of Java 8.
Twijn #19
Posted 15 November 2016 - 04:14 AM
I haven't found a browser which doesn't accept the certificate, however I do know that it does not work in some versions of ComputerCraft.

IIRC it's not CC's fault, it's due to outdated Java installations. The Let's Encrypt root certificate is only present in semi-recent versions of Java 8.

Not so sure about that, unless it is based on the java version used to compile ComputerCraft.

The CC Emulator worked fine with my Command Line program, which used a https connection, however when I switched to the computer in the actual game it did went into a login loop because it kept returning nil. Switched it to http:// (and updated the APIs to not require a secured connection) and it worked fine.

The only Java version I have is Java 1.8 102
apemanzilla #20
Posted 15 November 2016 - 01:43 PM
I haven't found a browser which doesn't accept the certificate, however I do know that it does not work in some versions of ComputerCraft.

IIRC it's not CC's fault, it's due to outdated Java installations. The Let's Encrypt root certificate is only present in semi-recent versions of Java 8.

Not so sure about that, unless it is based on the java version used to compile ComputerCraft.

The CC Emulator worked fine with my Command Line program, which used a https connection, however when I switched to the computer in the actual game it did went into a login loop because it kept returning nil. Switched it to http:// (and updated the APIs to not require a secured connection) and it worked fine.

The only Java version I have is Java 1.8 102

Which emulator?
Twijn #21
Posted 15 November 2016 - 04:11 PM
I haven't found a browser which doesn't accept the certificate, however I do know that it does not work in some versions of ComputerCraft.
IIRC it's not CC's fault, it's due to outdated Java installations. The Let's Encrypt root certificate is only present in semi-recent versions of Java 8.
Not so sure about that, unless it is based on the java version used to compile ComputerCraft.
The CC Emulator worked fine with my Command Line program, which used a https connection, however when I switched to the computer in the actual game it did went into a login loop because it kept returning nil. Switched it to http:// (and updated the APIs to not require a secured connection) and it worked fine.
The only Java version I have is Java 1.8 102
Which emulator?
CC Emu Redux, which uses the computercraft jar as you can see in the files
Back On Topic (ish):
I'm currently planning for a HUGE update. This will result in:
- AN (ALMOST) COMPLETE RECODE OF THE WEBSITE
- API UPDATE; more efficient behind the scenes, hopefully.
- MULTI FILE PROGRAMS
- MULTI VERSION PROGRAMS
With that, there will be a bit of a decent sized delay until it gets pushed out again. :/ Thank you for your patience.

Some "teasers" for the new version:

Spoilerhttp://prntscr.com/dcjgir
http://prntscr.com/dcjgn5
http://prntscr.com/dcjgto
http://prntscr.com/dcjhkm
http://prntscr.com/dcjj6r
Edited on 27 November 2016 - 08:55 PM
Twijn #22
Posted 15 February 2017 - 12:11 AM
This program has now been reworked, and is again being updated regularly.

I've reworked the entire website and API. This means that the API outside of the website is lacking, but the entire system is much more simple. OnlineAPPS no longer hosts code, however it does host the required links to download that code.

See the top post for more information.
LDDestroier #23
Posted 01 May 2017 - 03:11 PM
I'm trying to fix up all the appstore integrations for STDGUI, so could you point me to an API for getting hosted links? I cannot find one.


Oh wait, I already asked this and got an answer. Doy.

Okay, STD-GUI now works with OnlineAPPS again. Yay
Edited on 01 May 2017 - 02:47 PM
DannySMc #24
Posted 01 May 2017 - 11:07 PM
-
Edited on 03 May 2017 - 12:56 PM