[−][src]Module ravenlib::ravenserver
Interactions with online instances of ThemeHub
Structs
MetaRes | A response containing a theme's metadata |
UserInfo | Information on the currently logged in user |
Functions
check_tmp | Checks if the /tmp directory exists |
create_user | Creates a user with the given name and password. Pass and pass2 must match, or function will return false. |
delete_user | Makes a call to delete the currently logged in user. Requires password confirmation |
download_theme | Downloads a theme from online. Force ignores all warning prompts. |
export | Exports a theme to a tar file, returning the file's name |
get_host | Gets the configured ThemeHub host |
get_metadata | Sends a request to get the metadata of a theme |
import | Imports a theme from a tar file |
install_warning | Prints out a warning when installing a theme |
load_info | Loads in info on the currently logged in user |
login_user | Logs a user in and writes userinfo file to disk |
logout | Logs a user out by deleting the userinfo file |
pub_metadata | Publishes the metadata of a theme online, with the type and value given |
unpublish_theme | Deletes a theme from the online repo |
upload_theme | Uploads a theme of the given name. Returns true if the theme was created, or false if it was just updated. |