scorelab / bassa Goto Github PK
View Code? Open in Web Editor NEWAutomated Download Queue for Communities to take the best use of Internet bandwidth
License: GNU General Public License v3.0
Automated Download Queue for Communities to take the best use of Internet bandwidth
License: GNU General Public License v3.0
When you send PRs regarding fixes for strings must use single quote, refer this issue! You can find the Lint errors from the following.
https://www.bithound.io/github/scorelab/Bassa/master/files#lint
When system user is going to logout from the system, current user's user name should view in the Logout menu by the system.
There is only logout button in the logout menu. That doesn't displayed who is the current user.
Adding current user's user name in to the logout menu.
This gives the opportunity to the user to know from which account he has been used to login to the system.
When bassa try to download multiple files, it crashes the app,
Bassa should be able to handle concurrent downloads without any issues.
If there are multiple downloads, server crashes.
Remove the stat module.
In the current project there is no script to start all the three Bassa servers at once. Therefore, writing a script to start Bassa servers at once will make users comfortable. Hope that writing a unified script to install dependencies, start the server and change configurations will help. I will send a PR shortly.
Pull request and issue templates are currently not available in the repository.
The structure and the design of the sign up page needs more attention. I have redesigned the sign in page and I am planning to redesign thr signup accordingly to provide the consistency of the UI.
https://github.com/scorelab/Bassa/blob/master/components/core/EMail.py#L3
No hard coding accounts on the code :)
Currently database credentials are hard coded to the dbcon.py
I suggest keeping them on a .conf
file.
Further I think it's good to combine both current .conf
files to a single one.
Currently, the auth levels of the API documentation is not generic, but specific to one use case( Educational institute ).
Auth levels
0: ADMIN
1: STUDENT
2: ACADEMIC
3: NONACADEMIC
These roles should be generalized and should be explained what each role/auth level can do and can't do.
Currently only URL's are accepted by the application . Any other form of input results in a invalid url response .
In the first time someone login to Bassa, the username and password credentials should be given to proceed. Since the credentials are not mentioned in the README file I will add a PR shortly.
Application login doesn't check whether the account is confirmed/approved or not via email. Account should be confirmed in order to.
When user login, if the account is not confirmed, it should display a message indicating that the account should be confirmed.
Currently this logic has not been implemented.
Create logic related to checking user account confirmation.
1.Create a new account
2.Sign in.
Implementing a delete a download from the ongoing download page , before it has been started . Also on the status of the download and its current progress. Is it a bug or still to be implemented ?
@rehrumesh @malithsen
When you send PRs regarding fixes for missing "use strict" statement, refer this issue! You can find the Lint errors from the following.
https://www.bithound.io/github/scorelab/Bassa/master/files#lint
I came across few places where codacy
complaints about styling issues. If we use a JavaScript formatter I think it will be much consistent rather than doing it manually.
My suggestion is prettier.
Currently JavaScript code (UI)
is not configured to use a linter/formating tool
. I would like to suggest Prettier, which is a formatting tool for JavaScript with opinionated styling
.
Pros:
Prettier does a good in identifying bad code styles in JavaScript.
Highly adopted by modern JavaScript projects. Eg: React
Cons:
Opinionated styling.
Less options to add custom styling.
cc: @rehrumesh @malithsen
Neglected general issue template since this is not a bug report ๐
Travis-CI takes a lot of time when running unit tests. This can be avoided to a certain extent by caching dependencies.
How about we publish the python module to PyPi through Travis CI when we push version tags?
This is for users who are new to Bassa to understand its functioning and relating how it could be useful to them in their problem-solving.
Currently, we have a how-to setup readme.
We need a screencast or a GIF aided post explaining the use of Bassa.
If the download size is zero , error handling was missed.
Please provide your feedback so we could improve Bassa more
According to the current implementation, there is no way to assign Admin rights/privileges to a new account (from the user interface itself).
I will work on this feature addition if it's needed/suitable. @rehrumesh @malithsen
As an additional task, if we have enough time, we can look in to identifying inappropriate downloads.
Let's add Gitter "Chat on Gitter" badge from http://shields.io/ into README.md
We need to implement a method to add all the configs to a single file (or multiple files to make things more clear) and fetch them from there. These conf file(s) should be in JSON or YAML format. Preferably with a web UI for admins to do the configs.
Currently, a number of configurations which are vital to the system are scattered all over the code and it is hard to keep track of them.
Use the existing ConfReader class and extend it to support all the configurations.
The steps on how to setup the database for Bassa is not stated in the README file. Also, Bassa seems to work only on Python 3, due to dependency issues. However this is not mentioned in the README. I will send a PR shortly.
Bassa Wiki Home should be about Bassa, not about PWAs. README.md
has stuff which mainly targets a developer( API endpoints, etc ) and might frustrate a user. The wiki should have a "How to install" guide. etc from a user's perspective.
Currently, the wiki has nothing about Bassa but an article on PWA.
Should create wiki pages as follows.
The ongoing downloads page should show the current progress of the download.
Currently , the download vanishes from the ongoing downloads page once the start button is clicked.
After creating an account with Admin rights, navigating to the admin tab works fine. But after a refresh toast comes up with 'You don't have admin previlages'.
It should show up the admin section.
Toast comes up showing 'You don't have admin previlages'.
I'm suspecting this as a bug. Hope @malithsen can give any info regarding this behavior ๐
Suggestion to add two step authentication / 2FA as a feature in Bassa.
Benefits ๐ : Extra layer of security on top of the current authentication system.
References: Google 2FA.
This thread will be used for tracking issues related to back-end testing.
Work in progress !!!
Installation guide should:
Provide all the necessary steps to install dependent tools
Provide all the steps to installation of Bassa App
Add necessary screen captures.
Windows
MacOS
Ubuntu
CentOS
Fedora
Arch
CoreOS
Connection refused while starting a download. I am working on this issue.
ChromeDriver
can be used instead of the PhantomJS
driver which is currently used in the project for unit tests. As Phantom2
is being developed heavily breaking changes can be introduced. In fact when configuring the project for unit tests I got several breaking changes due to Phantom2 releases and it's plugin changes. Therefore I propose to use ChromeDriver
instead of PhantomJS
since Chrome is a stable project and can be used for heavy unit tests and e2e
tests can be handled smoothly with Chrome.
/ui/
route is broken
Pointing to localhost:5000/ui
should serve the UI.
Pointing to localhost:5000/ui
in development gives an error.
localhost:5000/ui
There is a very tiny typo in the README file, writing "levals" as "levels".
Users should be able to download the files using bassa frontend.
Download crashes.
The Login page flickers to dashboard for a second and then reverts back to login page.
Should show invalid credential alert message.
Shows flickering to dashboard and reverts back to login page.
Try entering invalid username or
or bugs)
Try entering invalid username or password.
The url changes to dashboard for a second and then back to login page.
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.