Commit Graph

230 Commits

Author SHA1 Message Date
ByteHamster 998535515b Make AntennaPod pass the medium SpotBugs findings 2021-03-28 22:32:40 +02:00
ByteHamster 3946f986d7 Add SpotBugs CI check 2021-03-27 18:45:17 +01:00
ByteHamster 0e94aa5d9d Moved SSL providers to new module 2021-03-01 16:21:39 +01:00
ByteHamster ddd6a12354 Merge branch 'master' into develop 2021-03-01 11:24:39 +01:00
ByteHamster 2c70db7074 Remove free build hack 2021-02-23 17:11:32 +01:00
ByteHamster 78b604355e Added mavenCentral repository 2021-02-13 13:31:08 +01:00
ByteHamster 8f6c560f01 Merge branch 'master' into develop 2020-10-17 23:35:24 +02:00
Mats Wahlberg 468acab8f4 Removed comment about automatically choosing Conscrypt version
There are drawbacks to using conscryptVersion = "latest.release",
hopefully the version will be kept up to date manually instead.
2020-09-30 13:52:31 +02:00
Mats Wahlberg 4c24d1c29a Bundle Conscrypt security provider for Free builds
This fixes protocol and cipher errors on older versions of android
without requiring Google API/Services (which are non-free) to replace
the security provider from the OS. No changes are made to Play builds.

The value of conscryptVersion in build.gradle should be updated
regularly to keep the bundled version of conscrypt up to date (or
changed to "latest.release", which will cause issues with verifying
reproducible builds).

Fixes: #2814 (for users of free builds)
2020-09-30 13:52:31 +02:00
ByteHamster bd737145c8 Target API30 2020-09-28 11:08:41 +02:00
ByteHamster b75c05cca1 Upgraded AppCompat to fix WebView crashes 2020-09-18 23:11:38 +02:00
ByteHamster dbbe614c33 Set user-agent for file playback 2020-07-01 15:57:52 +02:00
TacoTheDank 4478447bec Clean up version locations and order 2020-05-08 16:26:00 -04:00
ByteHamster f804bc56db Fixed incompatibilities with Gradle 3.6 2020-05-04 17:00:46 +02:00
TacoTheDank 6aa4a9c091 Update Studio and some dependencies 2020-04-25 21:03:16 -04:00
Hamidreza Bayat ca94d62b39 Don't mix android.arch & androidx dependencies
Update WorkManager to latest version
2020-04-10 14:58:59 +04:30
Shinichiro Fujiwara 001583a4e0
App shortcuts (#3748) 2020-03-30 00:39:52 +02:00
ByteHamster 0d9708b848 Upgraded ExoPlayer 2019-11-22 22:24:48 +01:00
ByteHamster 201bb0fe91 Bumped minimum API version to 16 2019-11-22 18:50:32 +01:00
H. Lehmann 43be061a64
Merge pull request #3588 from ByteHamster/remove-materialdialogs
Removed MaterialDialog dependency
2019-11-06 19:38:29 +01:00
ByteHamster fdd29fa3ec Removed MaterialDialog dependency
The AlertDialogs from Androidx are material, too.
2019-11-06 18:44:08 +01:00
ByteHamster d953692443 Removed commons text library that was just used 2 times 2019-11-06 17:18:08 +01:00
orionlee 52f6a121f1 AFTER_CURRENTLY_PLAYING enqueue location option - test boundary condition handling 2019-11-05 12:34:11 -08:00
ByteHamster 6a4754922a Added more rules that we already fulfill 2019-10-22 16:50:04 +02:00
ByteHamster 7574ca7920 Adapted dependency versions to stable ones 2019-10-04 11:23:50 +02:00
ByteHamster 940e03bcc7 Fixed sharing ViewModel with multiple feeds 2019-09-30 19:28:51 +02:00
H. Lehmann a92123340d
Merge pull request #3441 from ByteHamster/circleci-improvements
Circleci improvements
2019-09-24 14:19:18 +02:00
ByteHamster b7301ca360 Added checkstyle 2019-09-24 11:21:08 +02:00
orionlee e8be5cb8ec Upgrade OkHttp (to the latest that still support Android 4.x) 2019-09-23 14:15:24 -07:00
ByteHamster 43248271e1 Updated Gradle publisher 2019-08-20 22:17:56 +02:00
H. Lehmann 9ffd9a9848
Merge pull request #3283 from andersonvom/3273-renable-linting
Re-enable deprecation and serial linting
2019-08-10 17:45:18 +02:00
ByteHamster a5df1c075d Targeting Android API 28 2019-07-22 18:50:56 +02:00
Anderson Mesquita 012ed2e8f2 Re-enable linting
We were currently ignoring both deprecation and serial warnings. This
prevents warnings during the build, but hides useful information about
code that could/should be changed for all sorts of reasons.

In some instances of such warnings, the appropriate action is already
being taken (e.g. StorageUtils), so instead of ignoring all warnings, we
can just add a @SuppressWarnings("deprecation") in the appropriate
methods. Others scenarios will require more effort, like replacing
ProgressDialogs with something else. Let's re-enable the lint warnings
and work our way through them.

Closes: #3273
2019-07-21 23:18:38 -04:00
ByteHamster 641ee60cbf Removed Flattr support 2019-07-12 19:28:22 +02:00
Joe Stein 3b6cfb711f New ViewModel for loading feed preferences across lifecycle 2019-07-02 18:33:32 +02:00
ByteHamster 4443d629fc Merge branch 'develop' into work-manager 2019-05-28 17:56:05 +02:00
ByteHamster dbda4a9aa8 Using WorkManager for feed updates 2019-05-06 23:04:19 +02:00
ByteHamster 7d20baf4f9 Upgraded EventBus to v3
Also made sure that register/unregister are called in onStart/onStop
instead of onResume/onPause (prevents possible MultiWindow problems
where updates are not received because activity is not fucused).
2019-04-12 11:32:31 +02:00
Hannes Achleitner 0663e422a6 unify lint options for all modules 2019-01-27 12:54:56 +01:00
Hannes Achleitner e9c10cdaa8 simplify build concerning maven repos 2019-01-27 12:45:32 +01:00
Hannes Achleitner 9ca7888d92 remove buildtools specification 2019-01-27 12:42:02 +01:00
Martin Fietz 7f37987bda
Merge branch 'develop' into android_gradle_330_upgrade 2019-01-27 11:40:24 +01:00
Hannes Achleitner 8e5abeea3a simplify versionCode
removed implementation was some Eclipse/ant style, now it's Gradle style
2019-01-27 10:57:45 +01:00
orionlee 62711d9a11 Upgrade android gradle plugin to v3.3.0. Also upgraded plugins that would
otherwise generate warning message (dexcount, play-publisher).
2019-01-17 10:18:29 -08:00
falko 33603f8edd Update ExoPlayer Version to 2.9.3
In order to support the feature to skip silence audio ExoPlayer must be
updated. Lateste avaiable Version is 2.9.3
2019-01-05 14:20:26 +01:00
H. Lehmann d7e7684cc0
Merge pull request #2859 from ByteHamster/glide-48
Upgraded Glide to version 4.8.0
2019-01-03 19:05:03 +01:00
ByteHamster bb4b4655d2 Merge branch 'develop' into rxjava2 2018-12-26 08:40:40 +01:00
ByteHamster f23682f538 Do not crash 2018-12-23 15:45:30 +01:00
H. Lehmann 580cc49b1b
Merge branch 'develop' into glide-48 2018-12-23 15:25:59 +01:00
ByteHamster 168b41a825 Updated tests 2018-10-21 22:12:07 +02:00
ByteHamster a05f386793 Upgraded Glide to version 4.8.0 2018-10-14 10:26:36 +02:00
Martin Fietz a79c7c0cfc
Merge pull request #2839 from AntennaPod/bugfix/2691-auto-update-network-not-ready
When auto refreshing feeds, give network some time to get available
2018-09-30 21:11:04 +02:00
Martin Fietz 3de661d953 Migrate rxjava to version 2 2018-09-30 19:58:53 +02:00
Martin Fietz 7269e3cb68 2815 Extract version 2018-09-30 17:08:17 +02:00
Martin Fietz 34d93a4e8e Upgrade gradle wrapper to version 4.10.2 2018-09-27 13:21:15 +02:00
ByteHamster 3d1646c205 Merge branch 'develop' into exo-player 2018-07-04 23:53:02 +02:00
Kurian Vithayathil a0543ff098 Addressing build fail issue due to jcenter mirroring the google repo 2018-06-11 13:58:34 +02:00
H. Lehmann 532d822b3c
Merge branch 'develop' into exo-player 2018-05-26 23:45:18 +02:00
ByteHamster 407f92be12 Merge branch 'develop' into api-26-support 2018-05-07 20:02:07 +02:00
ByteHamster f8950ae9b8 Add search function to preferences 2018-05-07 00:06:38 +02:00
ByteHamster 1d0459b126 Updated build tools 2018-05-03 19:11:00 +02:00
ByteHamster 8b72f35147 Merge branch 'develop' into exo-player 2018-04-22 20:48:00 +02:00
Martin Fietz e12751986b
Merge pull request #2564 from xisberto/adaptive_icon
Adaptive icon
2018-04-22 17:25:33 +02:00
ByteHamster 6d3fc04f52 Merge branch 'develop' into exo-player 2018-04-22 09:43:59 +02:00
ByteHamster e4f7d65273 Variable for exoplayer version 2018-04-21 18:39:43 +02:00
ydinath 8c628d98b9 Replace deprecated org.apache.commons.lang3 methods with org.apache.commons.text methods 2018-04-21 10:27:11 -04:00
Hannes Achleitner 0f9fe833bc update some libs 2018-04-04 13:52:30 +02:00
Hannes Achleitner 3ab4ad2a35 update to AndroidStudio 3.1 2018-04-04 13:52:30 +02:00
orionlee b71e61a221 Upgrade to Android Gradle Plugin v3.0.1 - bare minimal to get it built, ignoring depercation warnings
Details:
- upgraded buildtools to the latest (minimum 26.0.2 required)
- retired retrolambda
- added flavorDimensions (v3 requirement)
- Migrate dependency configurations for local modules (:core)
- Declaration of resources update in styles.xml (AAPT2 requirement)
- upgraded plugin github play-publisher to v1.2.0
2018-03-13 09:51:50 -07:00
Humberto Fraga ebbf3f754f Setting target SDK to 26 to enable adaptive icons 2018-02-10 16:41:45 -03:00
Martin Fietz d3491d1858 Merge branch 'develop' into refactor
# Conflicts:
#	app/src/main/java/de/danoeh/antennapod/activity/MediaplayerInfoActivity.java
#	core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java
2018-01-21 11:10:20 +01:00
Martin Fietz f8d1f32e9b Replace equals with operator 2018-01-14 17:55:51 +01:00
Martin Fietz b98571ede8 Update gradle wrapper 2018-01-13 15:46:23 +01:00
Dirk Mueller dfa8766754 set minSdkVersion to 14
According to https://developer.android.com/about/dashboards/index.html
API levels of 14 and lower are only on less than 0.5% of the devices.
IMHO it is time to move on, and allow for some compat code cleanup.
2018-01-08 22:12:15 +01:00
Dirk Mueller ad09587298 Update jsoup to 1.11.2
jsoup 1.11.1 features a 30% lower DOM memory footprint, streaming
network HTML parsing, faster HTML generation, and a bunch of other
improvements and bug fixes.

See https://jsoup.org/news/release-1.11.1 and
https://jsoup.org/news/release-1.11.2 (with the followup bugfixes)
for details.
2018-01-07 19:27:50 +01:00
Martin Fietz 4ee195fba5 Merge pull request #2390 from CedricCabessa/wear_rewind_forward
add a "rewind" and "fast forward" button for android Wear
2017-10-08 17:01:57 +02:00
Martin Fietz 9c3a28f68b Update glide to 3.8.0 2017-09-23 10:36:20 +02:00
Martin Fietz 4e3414a9ec Update okhttp to 3.9.0 2017-09-23 10:22:31 +02:00
Martin Fietz b5eeddf83c Update support library to last version for current target sdk 25 2017-09-23 10:09:36 +02:00
Martin Fietz e372cf67c6 Update commons io and lang 2017-09-23 10:04:00 +02:00
Martin Fietz e4c5bea9eb Update cast companion to version 2.9.1 2017-09-23 10:03:36 +02:00
Martin Fietz b0d34296c1 Update material dialogs to last version with minsdk 10 2017-09-23 10:03:09 +02:00
Martin Fietz 741ff5b8d0 Update jsoup to 1.10.3 2017-09-23 09:57:31 +02:00
Martin Fietz b0308a9867 Update rxjava to 1.3.2 2017-09-23 09:57:05 +02:00
Martin Fietz 0597e2e73e Update flattr4j 2017-09-23 09:56:49 +02:00
Martin Fietz cf434cc405 Update robotium solo 2017-09-23 09:56:37 +02:00
Martin Fietz 8340debf05 Update retrolambda 2017-09-23 09:25:59 +02:00
Martin Fietz f20e04b590 Update gradle wrapper to 4.2 2017-09-23 09:22:32 +02:00
Cédric Cabessa f3ceccfa82 add a "rewind" and "fast forward" button for android Wear
This feature is only enabled for "play" build.
It is useful to skip advertisement during a podcast.

Note: I originaly tried to implement this in the "4 ways controller" managed by
the mediaSession (it contains vol up / vol down / skip). This object is linked
to the capabilities of the session and seems to be hard to customise without
changing the capabilities.
This patch simply add 2 new buttons
2017-08-14 23:33:25 +02:00
Martin Fietz e010a8d22e Target Android API level 25 2017-08-13 18:09:58 +02:00
Martin Fietz 2737fe8bfc Use latest audio player version 1.0.17 2017-08-13 18:09:44 +02:00
Martin Fietz d5db62c70b Update gradle to version 3.5 2017-05-31 17:09:20 +02:00
Martin Fietz 2ff99375e3 Upgrade gradle build tools 2016-12-31 16:01:20 +01:00
Martin Fietz 27bbe3ae80 Merge pull request #2188 from mfietz/okhttp3
Upgrade okhttp to version 3
2016-12-30 20:03:50 +01:00
Martin Fietz 3aac3f1fc2 Upgrade gradle wrapper to 3.2.1 2016-12-03 12:41:39 +01:00
Martin Fietz 2682cbd784 Upgrade to OkHttp3 2016-11-13 23:02:25 +01:00
Martin Fietz 8a626faf73 Add ability to rename feeds 2016-11-01 19:43:23 +01:00
Martin Fietz 0062cab106 Merge branch 'develop' into 2085-auto-enable-sleep-timer 2016-10-30 13:37:39 +01:00
Martin Fietz 851c6edf67 Upgrade gradle retrolambda plugin 2016-10-30 11:56:39 +01:00
Martin Fietz 874a2a64bd Upgrade gradle build tools to latest version 2016-10-30 11:54:51 +01:00