uccnetsoc / cloud Goto Github PK
View Code? Open in Web Editor NEWMicro cloud VPS & container hosting system (visit https://tutorial.netsoc.co to use)
Home Page: https://netsoc.cloud
License: BSD 3-Clause "New" or "Revised" License
Micro cloud VPS & container hosting system (visit https://tutorial.netsoc.co to use)
Home Page: https://netsoc.cloud
License: BSD 3-Clause "New" or "Revised" License
nice to have
the code I ported over from netsocadmin2 to set up mysql permissions doesn't seem to be setting permissions on existing databases and new databases correctly, someone will need to investigate this
Just an uptime that should be available via the proxmox API
currently responds with a 500, we need to respond with rest errors instead
Login page and Menu/Landing page are fine, issue occurs on pages with a vertical side navbar e.g Instances, Account, and About (dont know if thats related to the issue itself though)
Grey overlay overlaps the UI making it fairly dim but also unusable, you cant interact with any of the UI except the navbar
Tested on Note20Ultra and mobile view in chrome dev tool
currently when streaming a backup directory (i.e an zfs/gluster snapshot) and compressing it on the fly, download performance is quite poor, this is due to tarfiles implementation being completely in python
https://github.com/UCCNetsoc/admin/blob/master/api/v1/providers/backups.py#L88
we should launch a tar process as the uid of the account in question and use select()/epoll() to read std out the process as it compresses. we can include tar
as a static binary in the dockerfile
should implement all the standard stuff they can do at the command line
currently when admin api boots it up it launches two "jobs"
one ensures home directories are the correct permissions, another ensures a webserver is configured based off <homedir>/www/<website>/netsoc.json
these currently restrict nsa to being ran on a single node (i.e not HA) because if we were to run multiple instances of admin, it'd run these timed jobs multiple times when they only need to be single-instance (they make configuration changes/changes to files)
https://github.com/UCCNetsoc/admin/blob/master/api/v1/main.py#L36
https://github.com/UCCNetsoc/admin/blob/master/api/v1/homedir_consistency.py
https://github.com/UCCNetsoc/admin/blob/master/api/v1/main.py#L46
https://github.com/UCCNetsoc/admin/blob/master/api/v1/webserver_configurator.py
We will need to write two new dockerfiles that run these jobs as their own containers. This will also improve logging so the results of these jobs don't get spammed into the regular admin api stuff
library code should be shared
Users forced to relogin after page refresh, also makes it impossible for a sysadmin user to approve instance requests
add a new field to the sign_up model, and let them send a captcha token to ensure they're not a robot, we should probably use hcaptcha
Add subsequent UI issues in the comments.
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.