Giter VIP home page Giter VIP logo

uccnetsoc / cloud Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 5.0 25.07 MB

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

Dockerfile 0.31% Shell 0.01% Python 52.32% JavaScript 0.40% HTML 0.26% Vue 39.02% TypeScript 7.51% CSS 0.17%
cloud docker freeipa full-stack hacktoberfest keycloak mysql proxmox python vue

cloud's People

Contributors

alanpq avatar ericm avatar gal avatar jac avatar ocanty avatar reecedonovan avatar uccnetworkingsociety avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloud's Issues

investigate mysql permissions issues

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

mobile view UI issue

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

aef6762dba232bc40bb84d5f3c065329
a874516341e815b572a0cf51c4051818

optimize backup compression-streaming performance

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

file manager

should implement all the standard stuff they can do at the command line

split homedir consistency and webserver configurator into separate containers

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

Auth State Issue [Chromium]

Users forced to relogin after page refresh, also makes it impossible for a sysadmin user to approve instance requests

add captcha support

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

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.