Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove Activestate login banner #4

Open
perfecto25 opened this issue Dec 13, 2022 · 11 comments
Open

remove Activestate login banner #4

perfecto25 opened this issue Dec 13, 2022 · 11 comments

Comments

@perfecto25
Copy link

  • wanted to try this IDE but it requires registration w AS, will submit PR to remove login banner
@th3coop
Copy link
Collaborator

th3coop commented Dec 13, 2022

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
Copy link

Sainteyegor commented Feb 22, 2023

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
Copy link
Member

Naatan commented Mar 16, 2023

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
Copy link

agroszer commented Jun 13, 2023

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
Copy link
Collaborator

th3coop commented Jun 13, 2023

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
Copy link

yeah thanks, recompile is beyond me

@eborgbjerg
Copy link

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
Copy link
Collaborator

th3coop commented Sep 12, 2024

@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:

  • Note that when you decompress the komodo.jar file, the content, skin and locale folders are in the CWD, NOT a folder called komodo. When you've edited the komodo.js file and are ready to make the new komodo.jar, you need to make sure you create it so it decompresses the same way. It's straight forward though. Looks like it's just zip -r komodo.jar content locale skin.

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

@eborgbjerg
Copy link

@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
Copy link
Collaborator

th3coop commented Sep 22, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants