ewine-connectivity-manager's People
Forkers
cclaussewine-connectivity-manager's Issues
Cleanup endpoints
As discussed, let's cleanup a bit the endpoints:
networks/ -> List of stored networks in /etc/networks/interfaces.
scan/ -> Scans available network, requires the interface name (e.g wlan0)
If you want, you can add the /interfaces.
Remember the PR for this one.
Improve Readme with "getting started" info
Simple pointers to:
- which python version will this support
- setup the requirements (virtualenv + requirements.txt)
etc.
Wifi preference support
Can we add "preferences" to wifi networks? I.e, user prefers connecting to network2 even if it has lower signal than network1 (also available).
Remove dependency on rest module to get DB
As discussed :)
DB issue in fresh install
$ python wifi_rest.py
Traceback (most recent call last):
File "wifi_rest.py", line 261, in <module>
_init_db()
File "wifi_rest.py", line 52, in _init_db
db = _get_db()
File "wifi_rest.py", line 40, in _get_db
db = g._database = sqlite3.connect(app.config['DB_INSTANCE'])
sqlite3.OperationalError: unable to open database file
Remove implementation details from api
I can't recall exactly if we talked about this, but I'm putting this down so as not to forget.
Todo: Let's remove those "db"-prefixed endpoints from the API. If the configuration can be persisted in a file or in a database, that's an implementation detail. Implementation details should not leak in the APIs. Why would the api user care where the info is stored?. The decision of wether to use a file, db or both could be made at the init time of the service.
Same applies to the reference to "file" or "database" from the "purpose" documentation.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.