Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calyx/master #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitreview
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[gerrit]
host=review.calyxos.org
port=29418
project=CalyxOS/bitmask_android
defaultbranch=calyx/master
16 changes: 5 additions & 11 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ android {
//Configurations for custom branded app.

//Change the package name as needed, e.g. "org.example.myapp"
applicationId "se.leap.riseupvpn"
applicationId "org.calyxinstitute.vpn"
//Set app name here
appName = "Riseup VPN"
appName = "Calyx VPN"
//Provider base url, e.g. '"https://example.com"'
def customProviderUrl = '"https://riseup.net"'
def customProviderUrl = '"https://calyx.net"'
buildConfigField "String", "customProviderUrl", customProviderUrl
//static ip address of provider, using a commercially validated CA certificate to serve the provider.json
def customProviderIp = '"198.252.153.70"'
Expand Down Expand Up @@ -132,7 +132,7 @@ android {
//Build Config Fields for default donation details

//This is the donation URL and should be set to the relevant donation page.
buildConfigField 'String', 'donation_url', '"https://riseup.net/vpn/donate"'
buildConfigField 'String', 'donation_url', '"https://calyxinstitute.org"'
//The field to enable donations in the app.
buildConfigField 'boolean', 'enable_donation', 'true'
//The field to enable donation reminder popup in the app if enable_donation is set to 'false' this will be disabled.
Expand Down Expand Up @@ -614,14 +614,12 @@ task copyIcsOpenVPNFiles(dependsOn: 'updateIcsOpenVpn') {
}

task updateIcsOpenVpn( type: Exec ) {
commandLine 'git', 'submodule', 'sync'
commandLine 'git', 'submodule', 'update', '--init', '--recursive'

}

def getTag() {
String commit = "git log --pretty=format:'%h' -n 1".execute().text.trim().replaceAll("'", "")
return ("git describe --tags --exact-match "+ commit).execute().text.trim()
return ("git describe --tags --exact-match "+ commit + "| cut -d - -f 1").execute().text.trim().replaceAll("calyx/", "")
}


Expand All @@ -637,10 +635,6 @@ task cleanNative( type: Delete ) {
}
}

task updateSdkLicences ( type: Exec ) {
println "say yes to licenses"
commandLine 'sh', 'yes', '|', 'sdkmanager', '--licenses'
}

def getCurrentFlavorForBetaOrRelease() {
Gradle gradle = getGradle()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"api_uri": "https://api.black.riseup.net:443",
"api_version": "3",
"ca_cert_fingerprint": "SHA256: a5244308a1374709a9afce95e3ae47c1b44bc2398c0a70ccbf8b3a8a97f29494",
"ca_cert_uri": "https://black.riseup.net/ca.crt",
"api_uri": "https://api.calyx.net:4430",
"api_version": "1",
"ca_cert_fingerprint": "SHA256: 43683c9ba3862c5384a8c1885072fcac40b5d2d4dd67331443f13a3077fa2e69",
"ca_cert_uri": "https://calyx.net/ca.crt",
"default_language": "en",
"description": {
"en": "Riseup is a non-profit collective in Seattle that provides online communication tools for people and groups working toward liberatory social change."
"en": "Calyx Institute privacy focused ISP testbed"
},
"domain": "riseup.net",
"domain": "calyx.net",
"enrollment_policy": "open",
"languages": [
"en"
],
"name": {
"en": "Riseup Networks"
"en": "calyx"
},
"service": {
"allow_anonymous": true,
Expand Down
31 changes: 31 additions & 0 deletions app/src/custom/assets/calyx.net.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
-----BEGIN CERTIFICATE-----
MIIFYzCCA0ugAwIBAgIBATANBgkqhkiG9w0BAQ0FADBEMQ4wDAYDVQQKDAVjYWx5
eDEaMBgGA1UECwwRaHR0cHM6Ly9jYWx5eC5uZXQxFjAUBgNVBAMMDWNhbHl4IFJv
b3QgQ0EwHhcNMTMwNzAyMDAwMDAwWhcNMjMwNzAyMDAwMDAwWjBEMQ4wDAYDVQQK
DAVjYW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rwEJd1N8tw2IRuGlQOWiTAVVLBj4
Zs+dikSuMoA399f/7BlUIEpVLUiV/emTtbkjFnDeKEV9zql6ypR0BtR8Knf8ALvL
YfMsWLvTe4rXeypzxIaE2pn8ttcXLYAX0ml2MofTi5xcDhMn1vznKIvs82xhncQx
I1MJMWqPHNHgJUJpA+y1IFh5LPbpag9PKQ0yQ9sM+/dyGumF2jElsMw71flh/Txr
2dEv8+FNV1pPK26XJZBK24rNWFs30eAFfH9EQCwVla174I4PDoWqsIR7vtQMObDt
Bq34R3TjjJJIt2sCSlYLooWwiK7Q+d/SgYqA+MSDmmwhzm86ToK6cwbCsvuw1AxR
X6VIs4U8wOotgljzX/CSpKqlxcqZjhnAuelZ1+KiN8RHKPj7AzSLYOv/YwTjLTIq
EOxquoNR58uDa5pBG22a7xWbSaKosn/mEl8SrUr6klzzc8Vh09IMoxrw74uLdAg2
1jnrhm7qg91Ttb0aXiqbV+Kg/qQzojdewnnoBFnv4jaQ3y8zDCfMhsBtWlWz4Knb
Zqga1WyRm3Gj1j6IV0oOincYMrw5YA7bgXpwop/Lo/mmliMA14ps
-----END CERTIFICATE-----
32 changes: 0 additions & 32 deletions app/src/custom/assets/riseup.net.pem

This file was deleted.

Binary file added app/src/custom/res/drawable-hdpi/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-land/background_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-land/ic_splash_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-ldpi/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-mdpi/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-nodpi/background_drawer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-nodpi/background_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-nodpi/ic_splash_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-sw600dp-port/background_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-sw600dp/background_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable-sw600dp/ic_splash_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/custom/res/drawable-xhdpi/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/custom/res/drawable-xxxhdpi/logo.png
Binary file not shown.
Binary file modified app/src/custom/res/drawable/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/drawable/logo_square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/custom/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/src/custom/res/values/custom-theme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<resources>
<!--Colors-->
<!--Color of the action bar-->
<color name="colorPrimary">#5e9ee3</color>
<color name="colorPrimary">#8ea844</color>
<!--Color of the status bar-->
<color name="colorPrimaryDark">#5c7ce1</color>
<color name="colorPrimaryDark">#8ea844</color>
<!--Font color of the action bar title-->
<color name="colorActionBarTitleFont">#ffffff</color>
<!--Font color of the action bar subtitle-->
Expand Down
6 changes: 3 additions & 3 deletions app/src/custom/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<resources>
<string name="donate_message">RiseupVPN is an easy, fast and secure VPN service from riseup.net. RiseupVPN does not require an user account, keep logs or track you in any way. This service is paid for entirely by donations from users like you. Please donate at https://riseup.net/vpn/donate. </string>
<string name="terms_of_service">By using this application you agree to the Terms of Service available at https://riseup.net/tos. This service is provided as-is, without any warranty and is intended for people who work to make the world a better place.</string>
</resources>
<string name="donate_message">Calyx VPN is an easy, fast and secure VPN service from The Calyx Institute Please donate at https://calyxinstitute.org. </string>
<string name="terms_of_service">By using this application you agree to the Terms of Service available at https://calyx.net/terms-of-service. This service is provide as-is, without any warranty and is intended for people who work to make the world a better place.</string>
</resources>