Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andreasgassmann/cloudatcostapp


https://github.com/andreasgassmann/cloudatcostapp

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# CloudAtCostApp
An unofficial app to manage your CloudAtCost Account. CloudAtCostApp is built using the [CloudAtCost API](https://github.com/cloudatcost/api) and [Ionic](http://ionicframework.com/).
Ionic is a front-end SDK based on Cordova/PhoneGap for developing hybrid mobile apps with HTML 5. You can download the App from Google's Play Store or Apple's App Store:

[![Download on the App Store](https://devimages.apple.com.edgekey.net/app-store/marketing/guidelines/images/badge-download-on-the-app-store.svg)](https://itunes.apple.com/en/app/cloudatcost/id975360892)

If you have any suggestions or want to get in touch with us, you can chat with us on Gitter or tweet us at [@CloudAtCostApp](https://twitter.com/cloudatcostapp).

[![Join the chat at https://gitter.im/AndreasGassmann/cloudatcostapp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/AndreasGassmann/cloudatcostapp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

### How to run the app

To get started, check out [Getting Started with Ionic](http://ionicframework.com/getting-started/). Here is a quick overview:

First, clone this git repository
````shell
$ git clone https://github.com/AndreasGassmann/cloudatcostapp.git
````
Then download all dependencies using npm and bower
````shell
$ npm install -g cordova ionic ios-sim
$ npm install
$ bower install
````
Now you can preview the app in your browser. Using the --lab flag, you will see the iOS and android version side by side. Make sure you disable CORS in your browser while developing or HTTP requests won't work.
````
$ ionic serve --lab
````
Now specify the platform to run your project on. Note: To run on iOS, you need a Mac.
````shell
$ ionic platform add ios
$ ionic platform add android
````
Now you can run the app in your emulator
````shell
$ ionic emulate ios
$ ionic emulate android
````

### Invalid certificate

Before building for release on Android you need to change a file to accept cloudatcost's invalid certificate:

project/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebViewClient.java

````java
public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {

...

if (error.getPrimaryError() == 3 && error.getUrl().startsWith("https://panel.cloudatcost.com/api/v1/")) {
handler.proceed();
return;
}

...

}
````

Source: http://ivancevich.me/articles/ignoring-invalid-ssl-certificates-on-cordova-android-ios/

### Contribute

This is an open source project, so please feel free to add new features

### Changelog

#### 1.2.2
- Fix requests not working on Android because of an invalid certificate

#### 1.2.0
Features:
- Loading indicators when creating a new server
- Copy server fields by tapping and holding them

Fixes:
- Templates are displayed correctly
- Special characters in email addresses should now work

Changes:
- Updated dependencies

#### 1.1.0
Features:
- Support for CloudPRO resources
- View available resources and build or delete new servers right from within the app
- Change runmode of a server
- Search for a server

Changes:
- Added icons for docker and FreeBSD templates
- Improved the design of the pie-charts

Fixes:
- The charts on the dashboard were sometimes not displayed properly
- Performance improvements

#### 1.0.2
- Rename Servers
- Modify reverse DNS

#### 1.0.1
- Added QR-Scanner

#### 1.0.0
- Initial release