summaryrefslogtreecommitdiff
path: root/app/build.gradle
AgeCommit message (Collapse)Author
2017-10-258757 fixes session cookie handling by implementing okHttpClient and custom ↵cyBerta
cookiejar, enables TLS 1.2 on old devices, restricts allowed cipher suites on new devices in order to harden tls based communication
2017-10-09#8758 fix switching providerscyBerta
2017-09-21update ics-openvpn: cleanup build.gradlecyBerta
2017-09-21update ics-openvpn: update classes, manifest, resources and build scriptcyBerta
2017-04-30[ag] Update dockerfile to match config in passing local buildaguestuser
* PROBLEM: the build fails on gitlab in a debian-based docker container * BUT: i (@aguestuser) have a recently-achieved passing build on a debian laptop * ATTEMPTED SOLUTION: construct a dockerfile that matches my local configuration as precisely as possible * PROGRESS: the build gets further than it did before -- getting part of the way through the `buildNative` gradle script before failing * REMAINING FAILURE: several arm64 cross-compile steps in the `ndk-build` step fail because they depend on [neon](https://developer.android.com/ndk/guides/cpu-arm-neon.html): ```shell [arm64-v8a] Compile : crypto_static <= aesv8-armx-64.S openssl/crypto/aes/asm/aesv8-armx-64.S:35:2: error: instruction requires: neon eor v0.16b,v0.16b,v0.16b ^ openssl/crypto/aes/asm/aesv8-armx-64.S:36:2: error: instruction requires: neon ld1 {v3.16b},[x0],#16 ^ openssl/crypto/aes/asm/aesv8-armx-64.S:38:2: error: instruction requires: neon ld1 {v1.4s,v2.4s},[x3],#32 ``` * PROPOSED NEXT STEPS: * consult team to see if there's any collective wisdom about `neon` * look for ways to analyze diff of c dependencies in local machine v. docker instance * consider using ubuntu or debian:sid as the base image for the android container?
2017-04-17[ag] Update README to promote smoother on-boardingaguestuser
* add detailed instructions on installing and compiling * provide workarounds for gotchas setting up emulator on debian * offer instructions for building in docker side-effects: * update build tools & gradle version * fix indentation in build.gradle * comment out tests in `TestLogFileHandler` causing `build` to break (and provide justification)
2016-04-02Update BuildTools to 23.0.3, and pluginsParménides GV
- Android gradle plugin to 1.5.0 - Gson to 2.4 - Support annotations to 23.2.1 - Robotium-solo to 5.5.4
2016-02-06Pause icon, init log file in DashboardParménides GV
2016-02-06Update ics-openvpnParménides GV
2016-02-06Update build tools and compile sdk version.Parménides GV
Warn about the needed libraries for 64 bit systems.
2015-06-24Remove mips architecture in ics-openvpn, and use fdroid's buildtools versionParménides GV
2015-06-12Transparent background of the FabButton, yay!Parménides GV
2015-06-08s/buildtype/flavor, changed riseup's pinParménides GV
Riseup's EE certificate expired (EE = End-Entity, the commercial certificate signed by the issuer), and we weren't able to fetch provider.json because the pin wasn't valid. This problem needs to be avoided in the future, using HKPK (https://tools.ietf.org/html/rfc7469), which Micah's implementing on Riseup. Switching from build types from flavors enables us to run tests against production apk, not just debug. I didn't detect this pinning problem because tests were run only against the debug apk, which trusted preseeded providers by default (thus bypassing pinning issue).
2015-06-04Update git submodules recursively from ./gradlew updateIcsParménides GV
2015-06-04Updated bitmask branch from ics-openvpn fork, second notificationParménides GV
2015-06-04ics-openvpn as a submodule! beautifulParménides GV
ics-openvpn is now officially on GitHub, and they track openssl and openvpn as submodules, so it's easier to update everything. Just a git submodule update --recursive. I've also set up soft links to native modules from ics-openvpn in app, so that we don't copy files in Gradle (which was causing problems with the submodules .git* files, not being copied). That makes the repo cleaner.
2015-06-01Remove flowlayout dependencyParménides GV
2015-06-01Update robotium + increase wait timesParménides GV
Sometimes, the emulator is so slow (I wish genymotion was open source...) that even though everything's going OK tests fail because they don't wait enough.
2015-05-29Updated libraries, simplified user status fragmentParménides GV
Updated butterknife, dagger, renderers, fabbuton and gson, as well as gradle plugin.
2015-04-23FlowLayout, to show the vpn icon in some small devicesParménides GV
Tested with physical Galaxy Young S6310.
2015-04-22Updated BuildTools and gradle Android pluginParménides GV
This fixes the "task cleanTest is not found"
2015-04-22Button with circle progress, added.Parménides GV
Next step: a bit of UI design, removing the switch.
2015-04-22Pinning connection to provider.jsonParménides GV
Using AndroidPinning library from Moxie, I make sure the provider.json file Bitmask downloads is fetched from a pinned https connection, so that the api certificate fingerprint is the good one.
2015-03-30testEveryProvider() coded and working.Parménides GV
Calyx fails.
2015-01-31Updated ics-openvpn to rev 1020.Parménides GV
Improved build.gradle script.
2015-01-30Import ics-openvpn-stripped correctly.Parménides GV
2015-01-30Assume build process from app/Parménides GV
2015-01-30Update ics-openvpn codeParménides GV
2015-01-02Serialized gateways and correctly updating profilesParménides GV
2014-12-23Update ics-openvpn to 1006Parménides GV
2014-12-23-100 lines on Dashboard, gradle fix.Parménides GV
Gradle doesn't invoke updateIcsOpenVpn task unless the task is explicitly invoked. I needed to put all the related tasks into the configuration phase, rather than on the execution one.
2014-12-15Don't updateIcsOpenVpn each build.Parménides GV
2014-12-12Updated ics-openvpn to last rev 14 Nov 2014.Parménides GV
Material design! It still doesn't run properly on my tablet, openvpn keeps getting down and exiting.
2014-12-04Renderers and dagger, refactoring CW.Parménides GV
2014-12-04Learning to use Butterknife, refactoring small things.Parménides GV
2014-11-04Gradle 2.1 and retry connection on auth-failureParménides GV
2014-10-10Run build-native.sh on GNU/Linux, during preBuildParménides GV
2014-09-23Remove connectedCheck test before assembleRelease.Parménides GV
2014-09-23Check if there is a release signingConfig.Parménides GV
F-Droid strips the signingConfigs section from build.gradle, so buildTypes mustn't check if there is a release signing configuration.
2014-09-18Updated ics-openvpn, restart after 1' being killedParménides GV
Fixed notifications too (forgot to do it in another branch, it's #5964).
2014-08-22InstallRelease and AssembleRelease trigger testsParménides GV
2014-07-31Updated ics-openvpn to rev 859 + no 2nd notification.Parménides GV
2014-07-24We don't need support library from Robotium.Parménides GV
I've also fixed a simple test that wasn't letting the suite to finish correctly.
2014-07-24Minor gradle updates, due to Android L.Parménides GV
- Build tools update to latest version (20). - testPackageName is correctly calculated by default, doing nothing. - support library needs some tweaks to support pre Android L versions.
2014-06-17Progressbar can be null if there is no EIP serviceParménides GV
This happens when you've used a eip enabled provider, and then you switch to a non eip enabled one (e.g., choosing demo.bitmask.net and then switching to cdev.bitmask.net in their current configurations). I've also disabled the build task dependency on updating ics-openvpn. It's causing problems, while not fixing anything.
2014-06-09Updated to build tools 19.1.Parménides GV
2014-05-29Last ics-openvpn compilation problem fixed.Parménides GV
Forgot to add the menu for the log. Now we'll strive to fix se.leap.bitmaskclient problems: first compilation, then functionality.
2014-05-29No AIDL nor api, logfragment related xml filesParménides GV
api folder and aidl files aren't needed for us. They are used for external apps that want to use ics-openvpn as an already installed package, while what we want is to avoid the installation of ics-openvpn including it (refactored) in bitmask android.
2014-05-28Resources merge correctly.Parménides GV
2014-05-14Filter R and BuildConfig to use ours.Parménides GV