abhijithanilkumar / ns-3-appstore Goto Github PK
View Code? Open in Web Editor NEWCode for the ns-3 App Store, created as part of Google Summer of Code 2017
Home Page: https://apps.nsnam.org
License: MIT License
Code for the ns-3 App Store, created as part of Google Summer of Code 2017
Home Page: https://apps.nsnam.org
License: MIT License
How can we support bullet lists or other formatting such as the release notes for v1.5.0 found on this page?
When inputting data, the name of the form field lies below the form entry field itself, and is spaced in such a way that it seems to be associated with the next field entry. This can cause editors to lose track of which form field corresponds to which item.
See attached example. The 'Contact Email' field is shown, but the text 'Link to the Code Repository' lies above it and is spaced in such a way that it is closer to the box than the 'Contact Email' label. On an empty form, I would naturally think that the box below 'Link to the Code Repository' would be where I would enter that information.
Possible solutions:
I tend to think that 2 or 3 is better than 1, but suggest to implement 1) for now if it is much less work.
Furthermore, at present, when typing into a form field, Firefox will display a 'your connection is not secure' hovering box below the form field, obscuring the field name, due to mixed use of http and https. While this might be fixed by consistent use of https, at the moment it has the effect of obscuring the name of the form entry field, causing editor to move his or her mouse away to see this information.
Delete 'package dependencies' here; editor can add with Markdown in the Installation tab
I could not upload a bakeconf.xml; I got a 403 error: CSRF verification failed. Request aborted.
Apps are located on the site under the path e..g
Home -> Apps -> Apps -> World Ocean Simulation System
instead of
Home -> Apps -> World Ocean Simulation System
Is this a directory structure that needs adjusted?
Right now, the Download
button points directly to a website or a tar
file. Ideally, a new download page should be created which explains the different methods that can be used by a user for installation.
We discussed removing the menu-based selection of authors, leaving it instead for the editor to place in the 'Details' page
It seems that it may be awkward to treat the development version of a module exactly the same as a release. My goal is that the app store will serve the XML of the development repo for users interested in it, but perhaps there needs to be an attribute in the XML or else in the app metadata to distinguish a release from a development tree.
Development version should not show up on the Releases tab.
What is the purpose of having separately an 'identity' and 'name' for tags?
There doesn't appear to be a menu item for an editor to remove or edit a field of a previously submitted release.
There is no way for editor to reorder the releases, if they are submitted out of order, and there seems to be no way to override the release that is featured on the right hand menu, which is populated with the first one added.
I added a couple of past releases (3.22 and then 3.26) and now the pull-down menu shows '3.27' followed by '3.22' followed by '3.26'; can these be reordered? Can the default be to insert a new ns-3 release at the top of the menu bar?
Similarly, I have a question about how we organize tags as the tag list grows; we may want to reorder.
When submitting a release, no field is presented to enter a release date. Once published, the release date of the submission date is presented. This should be an editable field.
The pluralization of 'instructions' and 'maintenance' on this page may be interpreted as a misspelling. I suggest to leave it as 'Instructions' and 'Maintenance'
On the top search bar, I was able to search for 'Epidemic', but searches for 'Underwater', or 'World', turned up nothing. What metadata is searched by this bar?
In the WOSS application, the 'Documentation' field in the right hand menu points to the app itself instead of to the documentation field entry in the database.
Build Test Suite for the entire web application.
I realize that this is debug mode, but should even a normal 404 be delivered if there are no more 'newest releases' to be shown? Why is the link there if it is dead?
Hi, I tried setting up the project and set up the virtual environment and activated it as well. However when I try to run migrations I get the following errors.
Traceback (most recent call last):
File "manage.py", line 13, in <module>
execute_from_command_line(sys.argv)
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
utility.execute()
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/core/management/__init__.py", line 317, in execute
settings.INSTALLED_APPS
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/conf/__init__.py", line 56, in __getattr__
self._setup(name)
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/conf/__init__.py", line 43, in _setup
self._wrapped = Settings(settings_module)
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/conf/__init__.py", line 106, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/home/salman-bhai/Documents/anaconda36/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/salman-bhai/All-Projects/ns-3-AppStore/src/appstore/settings/development.py", line 1, in <module>
from .base import * # NOQA
File "/home/salman-bhai/All-Projects/ns-3-AppStore/src/appstore/settings/base.py", line 10, in <module>
from django.core.urlresolvers import reverse_lazy
ModuleNotFoundError: No module named 'django.core.urlresolvers'
I did try to Google this up and came upon this link
Tried changing the appstore/settings/base.py file from
from django.core.urlresolvers import reverse_lazy
to
from django.urls import reverse_lazy
but got the following error.
Traceback (most recent call last):
File "manage.py", line 13, in <module>
execute_from_command_line(sys.argv)
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
utility.execute()
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/core/management/__init__.py", line 365, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/core/management/__init__.py", line 216, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/core/management/__init__.py", line 36, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/home/salman-bhai/Documents/anaconda36/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 12, in <module>
from django.db.migrations.autodetector import MigrationAutodetector
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/db/migrations/autodetector.py", line 11, in <module>
from django.db.migrations.questioner import MigrationQuestioner
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/db/migrations/questioner.py", line 9, in <module>
from .loader import MigrationLoader
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/db/migrations/loader.py", line 8, in <module>
from django.db.migrations.recorder import MigrationRecorder
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 9, in <module>
class MigrationRecorder:
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 22, in MigrationRecorder
class Migration(models.Model):
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/db/models/base.py",line 100, in __new__
app_config = apps.get_containing_app_config(module)
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/apps/registry.py", line 244, in get_containing_app_config
self.check_apps_ready()
File "/home/salman-bhai/All-Projects/ns-3-AppStore/appstore/lib/python3.6/site-packages/django/apps/registry.py", line 127, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
Let me know how we can solve this error!
When selecting a 'default release' for an app, the pull down menu provides the editor with releases from unrelated modules. Only the releases made on that module should show as options.
I'd like the following 6 links, that are editable by the editors
'Website'
'Repository'
'Wiki'
'Documentation'
'Issue Tracker'
'Mailing List'
If editor fails to populate any of these, the field is omitted from the Resources menu.
Is it possible to allow the user, when submitting a release, to make the Download button direct the user instead to an anchored location in the Installation tab?
Can these tabs have URLs? e.g. http://ns-apps.ee.washington.edu/app/worldoceansimulationsystem#installation
The reason for this is that, for more complicated apps, with lots of dependencies, the module author may want to point the user to more detailed instructions or options for downloading rather than simply grabbing an archive.
Cross-Browser issues have been identified in the site which causes the site to render differently in Firefox and IE compared to Chrome and Firefox. This is mainly because the heights and fonts are rendered differently!
When submitting or editing a release, the release date should be settable to a past date.
If one creates an app from scratch, there is an option to add XML for bake. However, if the editor declines to do this initially, but later wants to add the XML, I could not find a place in the editor pages to add it.
Example: https://apps.nsnam.org/app/lorawan
A cleaner 'page missing' should be returned for missing pages; e.g. https://apps.nsnam.org/app/
Give the users to add/delete screenshots in the frontend.
For users, there should be a new landing page which shows the apps that can be edited by him/her.
I tried to edit the WOSS app and associate it with the newly created 'Underwater Acoustic Networks' tag, but I couldn't get it to stick.
Modify ns-3-AppStore/src/util/parse_bake.py
to make sure that a bakefile is properly parsed and an app can be edited/created using the data. Make sure creation works, this will be useful when the App Creation process is automated.
After submitting a release, a blank screen is presented to the editor. I suggest to return to the app page.
When clicking on any category, no apps are displayed (see, for example, clicking on 'Underwater Acoustic Networks' category.
should not be active until editor sets it to active
Current Ratings feature does not provide discussion capabilities. Developers should be able to reply to user comments and issues.
This will be useful to setup GitHub webhooks and automate the deployment process.
Some of the cytoscape elements need integration with the ns-3 backend code. These include :
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.