ActiveState / OpenKomodoIDE

Open Komodo IDE is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
Other
576 stars 135 forks source link

remove Activestate login banner #4

Open perfecto25 opened 1 year ago

perfecto25 commented 1 year ago
th3coop commented 1 year ago

I suggest not removing it but allowing one to bypass it. The login allows for pretty handy integration with the ActiveState's Platform, eg. automatic development env creation and activation when you open a project.

Let me know if you want me to point you where to look for the code.

Sainteyegor commented 1 year ago

Has there been any action taken on this issue? I'd like to be able to run Komodo-IDE on isolated networks.

Can you point me to where the relevant code lives?

Naatan commented 1 year ago

https://github.com/ActiveState/OpenKomodoIDE/blob/master/src/chrome/komodo/content/komodo.p.js#L456

Just follow the breadcrumbs from there. I think just dropping that line will get you what you want.

agroszer commented 1 year ago

Sitting here behind a corporate firewall/proxy. That sign in dialog tells me: "Login failed, it appears you are offline" What could be wrong? All other apps/firefox/chrome can access the internet. Credentials are fine, I can login at https://platform.activestate.com/

th3coop commented 1 year ago

If you don't want to mess around rebuilding Komodo you can follow these instructions: https://community.komodoide.com/t/login-failed-it-appears-you-are-offline-again/5903/14

agroszer commented 1 year ago

yeah thanks, recompile is beyond me

eborgbjerg commented 2 months ago

I get the same error on an Ubuntu box. The link about 7-zip on windows is obviously not applicable here. So I guess my only option for using this IDE would be to change the source code and build it myself?

th3coop commented 2 months ago

@eborgbjerg, you're not out of luck! Odd that you're the first Linux user to hit this though. You should be able to perform the 7Zip step but using whatever zip tool Linux has. I don't have a Linux machine around to workout the exact steps so I'm going to give broad instructions and info here.

The komodo.tar file is just a *.zip file with a different file extension. So in Linux, you'll do the same 7Zip step but use whatever (un)zip tool you have on Linux.

Key point to be aware of:

If this doesn't work though, don't hesitate to ping back here and I'll try to get you sorted.

eborgbjerg commented 2 months ago

@th3coop thanks for your reply and explanation!

I did all 12 steps as accurately as I could, also tried creating the komodo.jar file both by linux File Manager and with the command you suggested. But I still get the login window.

Looking at the code down in chrome/content/login/login.js it seems this is where the text "Sign in to your ActiveState Platform account" comes from. Is it possible that this function could be activated in a way that got added to the code base after your original answer from 2022?

th3coop commented 2 months ago

Is it possible that this function could be activated in a way that got added to the code base after your original answer from 2022?

It's possible and was in fact true, until about 2 weeks ago. I updated the instructions 2 weeks ago after someone asked a similar question.

Another Linux user commented on the thread recently that they had to rename their ~/.komodoide folder to get the change to be picked up.

So two things to try here:

  1. Have a look at the instructions again and make sure you followed the updated one. The commented line is now line 27 (less scrolling than line 400 something).
  2. Try what gazer1912 suggested in the thread but note my comment below theirs about keeping your profile folder contents.
    1. Gazer's comment: https://community.komodoide.com/t/login-failed-it-appears-you-are-offline-again/5903/28
eborgbjerg commented 2 months ago

Yep, gazer1912's suggestion solved it. Probably something gets cached in the ~/.komodoide directory.