Coder Social home page Coder Social logo

atheos / atheos Goto Github PK

View Code? Open in Web Editor NEW
452.0 17.0 68.0 22.01 MB

A self-hosted browser-based cloud IDE, updated from Codiad IDE

Home Page: https://www.atheos.io/

PHP 34.57% JavaScript 50.62% CSS 0.08% SCSS 14.57% Hack 0.15%
ide editor cloud-ide self-hosted hacktoberfest

atheos's Introduction

Atheos IDE, built on Codiad

Codacy Badge License: MIT

Screenshot: Atheos

About

Atheos is an updated and currently maintained fork of Codiad, a web-based IDE framework with a small footprint and minimal requirements. Atheos has been completely rewritten from the original Codiad project to utilize more modern tooling, cleaner code, and a wider arrange of features.

From Codiad:

"Codiad was built with simplicity in mind, allowing for fast, interactive development without the massive overhead of some of the larger desktop editors. That being said even users of IDE's such as Eclipse, NetBeans and Aptana are finding Codiad's simplicity to be a huge benefit. While simplicity was key, we didn't skimp on features and have a team of dedicated developer actively adding more."

Atheos is expanding on that mentality as much as possible, trying to minimizing it's footprint even further while maximizing functionality and performance. The major goal of Atheos is to provide users with an easy, fast and fully featured Cloud Based IDE without a large server footprint.

For more information on the project please check out our homepage

Getting Started

Manual Installation

Atheos can be installed by placing Atheos in a web accessible folder and pointing your browser to it. Ensure that the following folders have write capabilities by your web server:

/config.php
/data
/workspace
/plugins
/themes

If any dependencies have not been met, the system will alert you on the installation screen.

Please note: Atheos is primarily developed using with a Debian LAMP Server. If you run into installation issues utilizing another stack, please let us know.

Updating Atheos

Atheos has a built in Update Check System, however does not have a system for actually updating the system itself, instead it relies on the admin to copy over the files itself. More information will be provided later as the update system is currently being rewrote.

To upgrade simply delete everything except the following or move these folders to a new directory:

/config.php
/data
/workspace
/plugins
/themes

Navigate to /themes and delete the default folder. Download the neweset verson from the Github repo and extract its content to the root directory of your Atheos installation.

Ensure that the files and folder mentioned above still have write capabilities.

Docker

Atheos can also be installed using the docker image on DockerHub.

Atheos vs Codiad

Atheos is an almost complete rewrite of Codiad, using the latest best practices and technologies available by JavaScript and PHP. All libraries and source code updated, and hundreds of inefficiencies, bugs, code duplicates, and non standard functions have been addressed. The most notable changes are:

  • A complete move from Get requests to Post requests to the server.
  • Brand new UX and Theme
  • A more complete user permission system
  • Massive reduction in unnecessary/repeated traffic from server to client
  • Complete removal of jQuery and it's plugins
  • Built-in Git integration
  • And an incredibly strong emphasis on standardized components and modules throughout the project in order to encourage easier plugin development and user contribution.

Contributing

Contributing to Atheos is very easy and we welcome all contributions. We strive for Atheos' source to follow an extremely standardized structure and as such, learning to understand the logic and structure of a single component within Atheos will carry over to all other components. If you want to contribute to Atheos but can't think of any ideas, please feel free to glance at the issues page for inspiration or email the team to see if there is anything you can help with.

atheos's People

Contributors

akyunus avatar andr3as avatar andreitelteu avatar atiris avatar ccvca avatar circuitbomb avatar cobisimo avatar coca348 avatar daeks avatar daviddyess avatar evertton avatar flolagale avatar franga2000 avatar gerifield avatar hlsiira avatar holblin avatar j000 avatar jakegrice avatar korynkai avatar ksafranski avatar kurim avatar lorefnon avatar mrchang1 avatar n0tacyb0rg avatar newsocialifecom avatar otlet avatar pi-will avatar tablatronix avatar verdier avatar yguedidi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atheos's Issues

[Development] config.php generated invalid

Describe the bug
On the latest development branch (current latest commit is 698726e) the config.php file is generated in an invalid way.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the development branch
  2. Point a webserver at the cloned folder
  3. Provide the proper permissions to the appropriate files
  4. Complete the setup prompt
  5. Attempt to login

Expected behavior
The login to succeed. It does not.

Additional context
Line 33 of config.php:

define("DEVELOPMENT", );

is generated without a parameter. This is invalid, and will cause PHP to reject the file when it is processed at the point where you try to login.

Support for PHP7

Should I expect Atheos to work with PHP7?
I'm getting all sorts of issue, for example creating an initial project, or using codegit.

The language system is still awful

Describe the bug
Selecting a language and having Atheos use it is a pretty straightforward process and hopefully works to the average user, but any new devs working on Atheos are going to have a headache and a half trying to really follow the logic of the language system. It just has too many fallbacks and catches buried in too many different locations. I need to clean it up and this issue is for people to add on things they have noticed not working about it that I haven't, or features they'd like.

Expected behavior
It shouldn't take a few hours of study to follow how the language for display is selected.

Terminal plugin

Hello !

I really want to use the Terminal plugin, but can't make it work because it is still the "old" plugin, the Codiad one, and I'm having a hard time updating it. Do you think you could work on updating this particular plugin ?

I fully understand if it is not a priority right now, or if you don't have time to work on that issue ! I think it is amazing how quickly you react to any issue, thank you !

[Development] Market::$user undefined, AKA Marketplace Crash the Second

Describe the bug
When installing an addon from the Marketplace, the tab freezes, the client receives a 500 error, and an error is output to the PHP log.

I'm sure you know the drill by now :P

To Reproduce
Steps to reproduce the behavior:

  1. Clone the development branch, currently at 698726e
  2. Give the folder to a webserver
  3. Add proper permissions
  4. Set up Atheos as normal
  5. Log in and navigate to the Marketplace
  6. Attempt to install an addon. Eg. MiniMap or Terminal
  7. Watch in despair as your tab refuses to cooperate

Expected behavior
The addon is installed and control is handed back to the user

Additional context
It seems that if you manually close the tab and reopen the IDE, it acts as if the addon were installed. However, the initial tab remains frozen and you must close it to proceed.

The following is the log generated at the time of crash:

PHP Fatal error:  Uncaught ErrorException: Undefined property: Market::$user in <FOLDER>\components\market\class.market.php:168
Stack trace:
#0 <FOLDER>\components\market\class.market.php(168): {closure}(8, 'Undefined prope...', '<FOLDER>\\co...', 168, Array)
#1 <FOLDER>\components\market\controller.php(39): Market->install('Terminal', 'plugins', 'Development')
#2 <FOLDER>\controller.php(49): require('<FOLDER>\co...')
#3 {main}
  thrown in <FOLDER>\components\market\class.market.php on line 168

Who uses Atheos IDE?

In an effort to better understand and provide for whoever regularly uses Atheos, can you please tell me what you use it for, what features you want, shortcomings you experience, or just anything you feel I should look into or consider changing?

I've been working on Atheos for a while and in all honesty, I'm running out of ideas on what improvements to make. I know Codegit needs to be finished and I am working on it slowly; it's an awful component to work on, but aside from that, I've been the sole controller of Atheos and I don't want to push it in a direction without knowing what people want from it.

Setup screen/page vertical scrolling not working

Describe the bug
Set up Atheos and my browser window was not very tall. The submit/save button was not visible and could not be scrolled to. Needed to increase size of browser window to "see" the button

To Reproduce
Steps to reproduce the behavior:

  1. Install from scratch (delete config file?)
  2. Open main page
  3. resize browser to be shorted than the form length
  4. can not see or us button to save/subit

Expected behavior
Expecting scrolling to work, and ideally a visible vertical scrollbar.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows (Server Linux)
  • Browser Firefox Developer
  • Version 79.0b9 (64-bit)

Additional context
Atheos headrevs from git - commit dba88b5
Tue Jul 7 22:57:33 2020

Installation Troubles

I've been trying the instructions at https://www.atheos.io/docs/installation/ubuntu. (I'm using php7.3, not 5)

I'm doing this on a Raspberry Pi 4 (8gb), with Raspberry Pi OS 1.4.

I extracted the released ZIP for 4.3.0 under /var/www/html/, and for testing, applied chmod 777 -R for the whole folder. (I'm running this internally over LAN.)

However, when I open up my browser, I only see a blank page. config.php is empty, and navigating manually to index.php inside the Atheos folder also gives a blank page.

I also tried installing the 4.2.0 release instead. With that, I am able to access the install page, but after completing all of the required fields (username, password, time zone, etc.), I am left at a blank page with no indication (from the browser, nor from running top at the command line) that the installation process has started.

Thanks for any suggestions. I suspect the issue is on my end, but as far as I can tell, PHP 7.3 is working with apache2 (tested with some simple php test pages).

EDIT: 4.1.0 appears to install correctly. I'm not sure why yet.

Filenames with spaces

Files with spaces in name cannot be opened. No error message is shown.

Atheos 4.0.1

Apache 2.4.25 + PHP 7.0.33 on Debian 9

Marketplace updates

Are you going to bring back some of the extensions or the plugins that Codiad used? Like SFTP or Git?

Is this an ongoing project? Do you intend to keep updating this project?

I've been looking for an alternative to Codiad for ages and now this IDE looks awesome. I'd like to code my own theme and maybe publish it here when it's done.

I am on PHP 7.4. Is there full support for PHP 7.4, as far as you know?

Thanks!

"Use of undefined constant path", AKA Marketplace crash

Describe the bug
When installing anything from the Marketplace, from a fresh install of Grandmaster, the window freezes and halts taking any input from the user.

At the same time, the following error is printed to the PHP log:

PHP Fatal error:  Uncaught ErrorException: Use of undefined constant path - assumed 'path' (this will throw an Error in a future version of PHP) in <FOLDER>\ide\components\market\class.market.php:167
Stack trace:
#0 <FOLDER>\ide\components\market\class.market.php(167): {closure}(2, 'Use of undefine...', '<FOLDER>\\ide\\co...', 167, Array)
#1 <FOLDER>\ide\components\market\controller.php(39): Market->install('Minimap', 'plugins', 'Utility')
#2 <FOLDER>\ide\controller.php(44): require('C:\\sites\\ide\\co...')
#3 {main}
  thrown in <FOLDER>\ide\components\market\class.market.php on line 167

To Reproduce
Steps to reproduce the behavior:

  1. Download the latest release, currently titled 'Grandmaster'
  2. Extract the zip to a folder visible from a web server
  3. Make the appropriate folders and files writeable from the server
  4. Add a user and project according to the setup
  5. Immediately add any package from the Marketplace.

Expected behavior
It installs the addon and releases control back to the user.

Screenshots
image

Desktop (please complete the following information):
(The client)

  • OS: Windows 10 2004
  • Browser: Firefox
  • Version 80.0.1

Additional context
The tab running the window completely halts. No buttons respond, the only way out is to close the tab and reopen the IDE.

As well as the above log being put into the PHP log, the following is printed to the console:

XHRPOST https:///controller.php
[HTTP/1.1 500 Internal Server Error 1385ms]

jquery error/warning caused by Atheos-MarkdownPreview

Describe the bug

Seeing jquery not found error in console.log in browser:

public/pluginsJS.min.js:10

To Reproduce
Steps to reproduce the behavior:

  1. Go to main page
  2. open console in web browser
  3. look for errors
  4. See error

Desktop (please complete the following information):

  • OS: Windows (Server Linux)
  • Browser Firefox Developer
  • Version 79.0b9 (64-bit)

Additional context
Atheos headrevs from git - commit dba88b5
Tue Jul 7 22:57:33 2020

Plugins not working

Describe the bug

I suspect the right hand bar/menu/settings is supposed to list plugins, and it is not doing that.

I can see Beautify under settings but the Beautify when saving JS doesn't do anything and atl-alt-b selects all the text (or highlights in in blue) but does not prettify/indent

To Reproduce
Steps to reproduce the behavior:
See above

Expected behavior
Expecting list of plugins (not sure if this is the expected behavior).

Also expecting indentation changes to this test.js file:

var c = 0;
var i = 0;

if (i) {
console.log('jel');    
        console.log('lo');    
}

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows (Server Linux)
  • Browser Firefox Developer
  • Version 79.0b9 (64-bit)

Additional context
Atheos headrevs from git - commit dba88b5
Tue Jul 7 22:57:33 2020

I need help debugging.

I briefly debugged the Codiad Beautify plugin, it was failing to load the js due to wrong path (tried hacking, by removing leading / in init.js for atheos.Beautify elements path, controller, and dialog which resolved that error but did not resolve plugin not showing up). I've since removed that and only used Atheos plugins.

NOTE my Atheos URL is: http://192.168.11.85:82/Atheos/ so not the root directory.

Broken tutorial links

Hi!
First of all: thank you for creating and keeping up this IDE! I'm another user that comes from an abandoned IDE (C9).

  1. I'm looking at all steps before starting the setup and it seems that all links from "Tutorial" section at https://www.atheos.io/docs/installation , point/show the index content :O

  2. Stupid detail but feels strange to see a blue colored text that is not a link ("(Optional Installation Settings)", "nsure that the following have write capabilities", etc..) :)

[Development] Unable to remove installed extensions AKA, rmdir is unhappy

Describe the bug
When removing an installed extension, an error is thrown and the UI hangs.

To Reproduce
Steps to reproduce the behavior:

  1. Clone development branch
  2. Point webserver at the cloned folder
  3. Give appropriate permissions as necessary
  4. Perform the normal Atheos setup
  5. Log in
  6. Navigate to the Marketplace and install an addon, eg. MiniMap
  7. Use the addon at least once
  8. Navigate back to the Marketplace and uninstall the addon you installed in step 6.
  9. Watch helplessly as the tab freezes

Expected behavior
The addon is uninstalled and control is handed back to the user

Additional context

As the tab freezes, the following text is outputted to the PHP log:

PHP Fatal error:  Uncaught ErrorException: rmdir(<FOLDER>plugins/MiniMap): Directory not empty in <FOLDER>\traits\helpers.php:145
Stack trace:
#0 [internal function]: {closure}(2, 'rmdir(<FOLDER>', '<FOLDER>\tr...', 145, Array)
#1 <FOLDER>\traits\helpers.php(145): rmdir('<FOLDER>/pl...')
#2 <FOLDER>\components\market\class.market.php(183): Common::rDelete('<FOLDER>/pl...')
#3 <FOLDER>\components\market\controller.php(46): Market->remove('MiniMap', 'plugins')
#4 <FOLDER>\controller.php(49): require('<FODLER>\co...')
#5 {main}
  thrown in <FOLDER>traits\helpers.php on line 145

How do I save my settings?

I prefer to use soft tabs and only 2 of them at a time. I can't seem to figure out how to save these settings. I think in Codiad there was a save settings button but it doesn't appear for me.

I'm using FireFox 76.0.1

Deleting a project does not delete the workspace subdirectory

Deleting a Project using the Project UI does not delete the workspace subdirectory, and results in:

2020/09/07 16:53:42 [error] 12012#12012: *1210 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ErrorException: Undefined variable: projectName in /var/www/Atheos-4.3.0/components/project/class.project.php:110
Stack trace:
#0 /var/www/Atheos-4.3.0/components/project/class.project.php(110): {closure}(8, 'Undefined varia...', '/var/www/Atheos...', 110, Array)
#1 /var/www/Atheos-4.3.0/components/project/controller.php(60): Project->delete('MyProject')
#2 /var/www/Atheos-4.3.0/controller.php(44): require('/var/www/Atheos...')
#3 {main}
  thrown in /var/www/Atheos-4.3.0/components/project/class.project.php on line 110" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: XXXXXXXX.com, request: "POST /controller.php HTTP/1.1", upstream: "fastcgi://unix:/run/php7-fpm.sock:", host: "XXXXXXXX.com

The project does however get deleted from "data/projects.json"

php7-7.4.9
Atheos 4.3
nginx with fastcgi over a unix socket.

Filebrowser

The fa-plus don't get replaced by fa-minus

close:
Anmerkung 2020-02-16 132606
open:
Anmerkung 2020-02-16 132606-

Marketplace plugin loads Codiad marketplace

Describe the bug

Plugin download works but list is limited, for example includes Beautify plugin, not Atheos-Beautify-master.

To Reproduce
Steps to reproduce the behavior:

  1. Bring up RIght hand side bar
  2. Click on marketplace
  3. do not see https://www.atheos.io/market (I've not debugged what/where its pulling from)
  4. See error

Expected behavior
Expecting https://www.atheos.io/market and Atheos plugin list

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows (Server Linux)
  • Browser Firefox Developer
  • Version 79.0b9 (64-bit)

Additional context
Atheos headrevs from git - commit dba88b5
Tue Jul 7 22:57:33 2020

Unable to complete installation or log in first time

Installed Atheos on my server following the instructions. This is an Ubuntu 16.04 server running NGINX and PHP-FPM 7.3. Downloaded the app using git, ensured that the ownership and permissions were correct, and then set it up the server block in NGINX. AFAIK, it's correct.

When I visit the site for the first time, I am presented with the screen showing the dependency check, user registration, and prompt for project name/folder etc. I fill everything out. When I click submit, nothing happens. When I peek inside the folder, the config.php file is populated, as well as some of the .json files in /data. However, that's as far as I go. Now, if I happen to reload the site, I'm presented with the standard user login for Atheos. If I type in the user/pass that I entered from the setup, it doesn't do anything except display the notification "Username not found". (It's probably worth mentioning the same thing used to happen with me when I installed Codiad.)

Update: I used a different username this time, all lower-case, and interestingly enough I can login. I still have the issue with the setup getting hung up, but at least I can log in now and activate settings through the IDE interface.

Editor Markup not always loaded

Describe the bug
Sometimes editor markup does not work.

To Reproduce
Steps to reproduce the behavior:

  1. leave documents open
  2. logout
  3. login and sometimes it dont load the markups
  4. press F5 to fix it

Expected behavior
Should alwayse load markups

Screenshots
If applicable, add screenshots to help explain your problem.
image
should look like:
image

Desktop (please complete the following information):

  • OS: Win10
  • Browser Chrome
  • Version 86

Theme light colors not working

When running version 4.1 of Atheos, any theme that has a white background (e.g. Eclipse, Dreamweaver, Dawn, Clouds) the following characters fail to show up due to the white background: (){}->;[]
If I highlight a line of code that has any of those characters in it, they show up faintly because of the contrast of the highlight.
Is there something I am missing to get the light themes to work, or is this a bug that needs to be fixed?

Feedback request on new logo

Hey there,

Wanted to ask for some thoughts on a new logo. The current one is way too busy, especially as a favicon so I made this one. Looks pretty nice in my opinion but since I won't be the only one staring at it all day potentially, I wanted to ask for feedback.

atheos_logo

Some Buttons are broken

I have done a clean install.

And some buttons are not shown correctly

1
2
3

Also but this should be a new ticket, Git integration is a bit broken since Remotes, Push/Pull and User Config shows the same content for me

How to upgrade Atheos?

Please add a section in README.md providing informations about how to upgrade Atheos without loosing settings, documents/data and accounts.

Thankyou.

Rename Project

Describe the bug
Unable to rename a project.

To Reproduce
Steps to reproduce the behavior:

  1. Open Project list
  2. Select project you want to name
  3. Rename it, system shows as renamed
  4. See error, project is not renamed

Expected behavior
It should rename the project

Language Support

How well does the multi language support work?

As an English speaker, I can only speculate as to how well it works, but I've tried it on a few occasions and it doesn't seem to work well at all.
The language support system has no considerations for adding more options via plugin, nor does it really function as well as it should. I'm pretty sure it's set up extremely over complicated for how well it doesn't seem to work.

Dockerizing Atheos

It seems that it is a no brainer to dockerize Atheos and upload an image to dockerhub. I am gonna take care of this and post a pull request ๐Ÿ‘

"All fields must be filled out" when all fields are already filled

I'm sorry to be back again :(
image

All data is filled yet that popup appears. Right after it, i get a second one saying "Do you really want to create project with absolute path "..."?"

By that second message it seems to fail to pick the project name somewhere, but i may be wrong.

Edit: it seems that the problem is this selector being too generic:

$('input').each(function () {
ย   if ($(this).val() == '' && $(this).attr('name') != 'path') {
ย      empty_fields = true;
ย   }
 });

Since the detected empty field is

<input id="cip-genpw-textfield-password" type="text" class="cip-genpw-textfield">

which i don't even see because it's in a modal/dialog (it's from a browser extension), not in the form.

Maybe switching to required attribute would be a better idea?(https://www.w3schools.com/tags/att_input_required.asp)

oX is undefined, AKA Settings Error

Describe the bug
When changing any settings inside a fresh install of Grandmaster, the change is ignored and the following error is printed to the browser console.

There is no error printed to the web server logs.

To Reproduce
Steps to reproduce the behavior:

  1. Download and unzip the latest Grandmaster release
  2. Setup a new user and project according to the setup prompt
  3. Immediately log in and try to change any settings. For example:
  4. Navigate to Textmode
  5. Add a new extension and leave it at the default "apab handler"
  6. Close the settings window and reopen it, noting the text "Settings are automatically saved." in the bottom right corner of the settings window
  7. See that the new extension has been removed.

Expected behavior
The setting change to save and persist to the next opening of the window.

This is the error printed to the console:

Uncaught TypeError: oX(...) is undefined 
    saveExtensions https://<SITE>/components/textmode/init.js:144  
    onclick https://<SITE>/:1  
init.js:144:17  
    saveExtensions https://<SITE>/components/textmode/init.js:144  
    onclick https://<SITE>/:1

Desktop (please complete the following information):

  • OS: Windows 10 2004
  • Browser Firefox
  • Version 80.0.1

Additional context
The above example is given for changing a textmode setting, but the same applies for any setting you try to change.

CodeGit Non-functional

The Codegit Component has a lot of broken buttons and components. This is due to converting it from a plugin to a component, and trying to do a complete rewrite. It's taking a long time to update all of it's parts and turn it into a manageable component.

Please leave a comment for things you've noticed are broken and I'll address them as I go.

Can't create new project

Hi! I was using preovious releases of Atheos for a long time. Everything was great, thank you!

On 4.2.0. I can't create new project with absolute path on fresh install of Atheos.

See the screenshot with console errors https://yadi.sk/i/hBu7_-FtOCjG4Q

Appreciate any solution

Atheos hates Emojis

Atheos has trouble saving files where part of the changes directly include an emoji near the change made. I'm not exactly sure how this works as it seems inconsistent, however I have confirmed that it pretty much blocks saving entirely but it silently falls and appears successful. I have currently have no intention of pursuing this issue as I am pretty sure it's something to do with the differential library used in saving changes to files, not new files.

If you're pulling your hair out like I did trying to figure it out and didn't notice the emoji in your code like I did, I hope this issue helps and I'm sorry for your lost time.

Auto-indentation doesn't works with spaces

Describe the bug
Atheos uses TAB when is auto-indenting code, whatever the configuration set by the user.

To Reproduce
Steps to reproduce the behavior:

  1. Set: Settings -> Editor -> Soft-tabs to DISABLE
  2. Create a new file and name it "test.py"
  3. Paste this code:
import sys
    def test():
        pass

(note that I used 4 spaces for every indentation level.
4. Place the cursor after the colon, and press Enter
5. This is the result:

import sys
    def test():
    	
        pass

Atheos indented the new line with 4 spaces + 1 tab. Mixing tab and spaces is not allowed in Python 3.

Expected behavior
Atheos should indent with 4 spaces + 4 spaces and should not uses tabs.
Atheos should auto-learn that I'm using spaces to indent my document.

Desktop (please complete the following information):

  • Windows 10
  • Firefox 81

PHP version

Hello !

I've read on the Atheos website that to run Atheos you only need PHP 5+, but I noticed that the Null Coalesce Operator "??" was used in Atheos (for exemple on line 302 in common.php), even if it only appeared in php 7.0.

Are they any other php 7 things in Atheos ? Can it actually run on a php 5+ server once the "??" are removed ?

Thanks a lot for your help !

Mising config.php

I can be trivial for most of you, but as beginner I'd really appreciate having a config.php example .

[Development] "undefined" status message when saving settings

Describe the bug
When saving a textmode setting, the status message in the bottom right reads "undefined".

To Reproduce
Steps to reproduce the behavior:

  1. Clone development branch
  2. Point webserver at cloned folder
  3. Provide permissions where necessary
  4. Perform setup, log in
  5. Navigate to Settings in the right hand menu
  6. Navigate to Textmode
  7. Scroll all the way to the bottom, click "New Extension"
  8. Give it a name, "test"
  9. Click "Save Extensions"
  10. Look at the status message in the bottom right corner

Expected behavior
A message akin to "Settings Saved" to appear in the bar.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 2004
  • Browser Firefox
  • Version 80.0.1

Stack Trace

Atheos should cache a global stack trace of sorts when an exception occurs to better suit bug reporting. While most of the issues that I've received are descriptive enough, it wuld be nice to be able to ask for them to grab a specific file from such and such location and upload it: A stack trace of what JS was trying to do, and potentially a list of the last X number of commands issued to the server.

This should be useful

Login issue with new installation

Describe the bug
After installing a fresh copy of Atheos on my website from Github today, I'm unable to log in for the first time. The setup process seemed to go ok. Config.php created and files in /data are all updated with user information. All files/folders in the General Installation Guide have write capabilities and my allow_url_fopen, ZIP, OPENSSL and MBSTRING are all enabled.

At the log in page, when I log in using the details I used during the setup, the page refreshes but I remain at the log in page being asked to log in. There are no login or system error messages.

To Reproduce

  1. Download from Github as zip
  2. Upload to website via ftp and extract
  3. Navigate to URL of installation and complete first time setup
  4. Attempt login with new details - issue occurs

Expected behavior
Log in to IDE

Screenshots
N/A

Desktop (please complete the following information):

  • OS: ChromeOS
  • Browser: Chrome
  • Version: 84.0.4147.127

Additional context
N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.