Commit graph

11656 commits

Author SHA1 Message Date
evermind
edbc2b9761 BraveNewPipe Release 0.27.0-2.1.10
- fix App update notification
- RUMBLE: fix extraction of subscribers
- fix: Peertube no longer accepts rumble channel urls
- BraveNewPipeLegacy: (Kitkat) use OsExt:osext-stat library within getFreeStorageSpace()
2024-05-05 16:18:44 +02:00
evermind
d067ed1798 BraveNewPipe: use old behaviour for retrieving the new version info data 2024-05-05 16:04:07 +02:00
evermind
67be4f2938 BraveNewPipeLegacy: (Kitkat) use OsExt:osext-stat library within getFreeStorageSpace()
use OsExt:osext-stat which implements the missing (f)statvfs() methods on Kitkat
2024-05-05 16:03:54 +02:00
evermind
9b4bd562ab BraveNewPipe: add signature and flavor info into about screen 2024-04-26 08:17:23 +02:00
evermind
359e30da07 BraveNewPipe Release 0.27.0-2.1.9
- sync NewPipe 0.27.0
- Legacy (Kitkat) flavor: only allow low resolution seekbar thumbnails
  to prevent OutOfMemoryError
2024-04-26 00:58:24 +02:00
evermind
12eca050f5 BraveNewPipeLegacy: (Kitkat) fix getFreeStorageSpace()
use available methods on Kitkat to getFreeStorageSpace() or in
case of using SAF just assume there is enough space as the Os.fstatvfs()
is not available and there is no quick solution.
2024-04-26 00:48:48 +02:00
evermind
ffded76ba3 BraveNewPipeLegacy: apply git diff v0.26.1-2.1.9..HEAD from main flavor to braveLegacy 2024-04-26 00:48:42 +02:00
evermind
23595f2f93 Merge tag 'v0.27.0' of https://github.com/TeamNewPipe/NewPipe into dev 2024-04-26 00:48:16 +02:00
evermind
c05e38ca48 BraveNewPipeLegacy: (Kitkat) make sure seekbar_preview_thumbnail_high_quality is not set
OutOfMemoryError will be triggered as the seekbar_preview_thumbnail generation is
allocating too much memory. This patch only allows low resolution until there
might be a better solution
2024-04-26 00:47:00 +02:00
evermind
641cd7366c BraveNewPipe: Inherit from this class instead of {@link BasePreferenceFragment} to manipulate config options.
If you have a fork and flavors and want to alter some config options use this class especially
overwrite the {@link #manipulateCreatedPreferenceOptions()} in which you can manipulate
2024-04-26 00:47:00 +02:00
evermind
db53faa50d BraveNewPipeLegacy: use getApplicationContext to have a static variable inside BraveApp
In the App.java from main source set there is the static method App.getApp() from which
many parts of the application get ApplicationContext. But as the class App inherits from
BraveApp and sets the app variable in onCreate() only after the super.onCreate()
from BraveApp is called. Therefore App.getApp() has not yet an initialized variable
thus we need another way to get the ApplicationContext
2024-04-26 00:47:00 +02:00
evermind
3df1047d91 BraveNewPipeLegacy: move custom TrustManagerFactory creation into BraveTLSSocketFactory
As the custom TrustManagerFactory was only set correctly in BraveOkHttpTlsHelper
but not if setting the default SSLSocketFactory for HttpsURLConnection.

So the whole code for adding own CA's was moved into BraveTrustManagerFactoryHelper
and the BraveTLSSocketFactory handles now its usage internally and not via
constructor.
2024-04-26 00:47:00 +02:00
evermind
837ae586f2 BraveNewPipeLegacy: remove MainActivity from flavor as the source code no longer differs from main flavor 2024-04-26 00:47:00 +02:00
evermind
9472c69e70 BraveNewPipeLegacy: Move setting HttpsURLConnection default ssl factory to BraveApp 2024-04-26 00:47:00 +02:00
evermind
142c40f461 BraveNewPipeLegacy: add generating of icons for drawable-night to tasks [un]prepareLegacyFlavor
In main_settings.xml the icons did not show up if dark themes (-night -dark) are used.
This commit will generate -night version of this icons
2024-04-26 00:47:00 +02:00
evermind
b0ea9e5672 BraveNewPipe: move service styles to brave flavor to prevent conflicts merging upstream 2024-04-26 00:47:00 +02:00
evermind
83b691d01b BraveNewPipe: try to circumvent TransactionTooLargeException.
As workaround internally we use GZIP to reduce the amount of data that
is put as in intent.putExtra(). It has to be tested if that compressing
takes to much time and truncate here already.

As later on if we share on the ErrorActivity we have to truncate the traces
to around 100Kb as it otherwise crash there.
2024-04-26 00:47:00 +02:00
evermind
f44a2f594c BraveNewPipe: move all sponsorblock strings into own sponsorblock flavor
This helps avoiding upstream conflicts
2024-04-26 00:47:00 +02:00
evermind
533994c943 BraveNewPipe Release 0.26.1-2.1.9
- Hotfix for wrong okhttp-urlconnection dependency on non Kitkat version.
  Thank you @marcel263 for reporting

- BraveNewPipe Settings page:
  config option to circumvent some censoring
  https://github.com/bravenewpipe/NewPipeExtractor/issues/122

- Use cookie on rumble.com stream page to tackle redirect glitch
  https://github.com/bravenewpipe/NewPipeExtractor/issues/123

- Kitkat flavor: This is only a test. I could not really test it on hardware.
  Therefore it will not migrate any data from previous installs. It installs
  in parallel to any BraveNewPipe installation. This will change if I get feedback
  that it is working more or less properly.
  All problems please enter in https://github.com/bravenewpipe/NewPipeExtractor/issues/124
  and if it is too big create a extra bug entry.
2024-04-26 00:47:00 +02:00
evermind
f210cbca00 BraveNewPipe: handle okhttp-urlconnection for non legacy flavors correctly 2024-04-26 00:47:00 +02:00
evermind
0b449a0d02 BraveNewPipe Release 0.26.1-2.1.8
- BraveNewPipe Settings page:
  config option to circumvent some censoring
  https://github.com/bravenewpipe/NewPipeExtractor/issues/122

- Use cookie on rumble.com stream page to tackle redirect glitch
  https://github.com/bravenewpipe/NewPipeExtractor/issues/123

- Kitkat flavor: This is only a test. I could not really test it on hardware.
  Therefore it will not migrate any data from previous installs. It installs
  in parallel to any BraveNewPipe installation. This will change if I get feedback
  that it is working more or less properly.
  All problems please enter in https://github.com/bravenewpipe/NewPipeExtractor/issues/124
  and if it is too big create a extra bug entry.
2024-04-26 00:47:00 +02:00
evermind
55861298d1 BraveNewPipeLegacy: (Kitkat) for the first testphase the name Kitkat is included in the app_name 2024-04-26 00:47:00 +02:00
evermind
b634b9e8b4 BraveNewPipe: all flavors are build on push
use 'bravify' 'assembleBrave*Debug' as standalone gradle runs
Before running assembleBraveDebug combined with the test stuff.
2024-04-26 00:47:00 +02:00
evermind
7772621f8a BraveNewPipe: refactor the data.json creation script to work with several branches
As for now we use separated release data.json.
One for brave and braveConscrypt flavor and one for braveLegacy
2024-04-26 00:47:00 +02:00
evermind
76537e4e00 BraveNewPipe: add braveLegacy flavor to releases action 2024-04-26 00:47:00 +02:00
evermind
82aabc1f41 BraveNewPipe: reflect the APK variants and add a quick building guide into README.md 2024-04-26 00:47:00 +02:00
evermind
04fc10bb67 BraveNewPipe: convert to doLast in testReplaceMailandJsonandSignature()
and really match two lines
2024-04-26 00:47:00 +02:00
evermind
38e9f03fb0 BraveNewPipeLegacy: add us/shandian/giga/** files to checkstyle ignore 2024-04-26 00:47:00 +02:00
evermind
d167a80985 BraveNewPipeLegacy: remove duplicated files for braveLegacy flavor compilation 2024-04-26 00:47:00 +02:00
evermind
d7518c9d5d BraveNewPipeLegacy: Integrate TLSSocketFactory and missing CAs
- TLS 1.3 and 1.2 activated only
- TrustManager with CA's for rumble and framatube
2024-04-26 00:46:45 +02:00
evermind
fdef0046d9 BraveNewPipeLegacy: (Kitkat) fixup Sponsorblock VideoSegments handling 2024-04-24 00:17:50 +02:00
evermind
ff9a10d4e3 BraveNewPipeLegacy: (Kitkat) fix missing supportsSource() method in DeviceUtils 2024-04-24 00:17:50 +02:00
evermind
228c1d3681 BraveNewPipeLegacy: BraveApp inherit from MultiDexApplication 2024-04-24 00:17:50 +02:00
evermind
4211329c89 BraveNewPipeLegacy: (Kitkat) only allow search UI's that work on Kitkat 2024-04-24 00:17:50 +02:00
evermind
8b039b7b7a BraveNewPipeLegacy: add flavor braveLegacy for supporting Kitkat 2024-04-24 00:17:50 +02:00
evermind
c897ec9564 BraveNewPipeLegacy: (Kitkat) fix GridLayout Alignment for KitKat for search filter dialogs 2024-04-24 00:17:50 +02:00
evermind
5dfe4a8366 BraveNewPipeLegacy: (Kitkat) reapply 'More minSdk 21 cleanup' in reverse
The relevant files are gathered from commit 189c92affa
'More minSdk 21 cleanup'
2024-04-24 00:17:50 +02:00
evermind
4f7fc2480f BraveNewPipeLegacy: (Kitkat) readd strings that have been removed by 'Clean up pre-Lollipop checks'
The relevant files are gathered from commit 99104fc11d
'Clean up pre-Lollipop checks'
2024-04-24 00:17:50 +02:00
evermind
225effed0b BraveNewPipeLegacy: (Kitkat) reapply 'Clean up pre-Lollipop checks' in reverse
The patch is from commit 99104fc11d
'Clean up pre-Lollipop checks'
2024-04-24 00:17:50 +02:00
evermind
8fb17b4301 BraveNewPipeLegacy: (Kitkat) copy of SearchFilterDialogGenerator.java to flavor 2024-04-24 00:17:50 +02:00
evermind
d8d41c9a9c BraveNewPipeLegacy: (Kitkat) copy files relevant for 'More minSdk 21 cleanup'
This patch copies all the relevant files for Kitkat from main to the legacy flavor unmodified.

The relevant files are gathered from commit 189c92affa
'More minSdk 21 cleanup'

These files are the base to reapply above 'More minSdk 21 cleanup' commit
in reverse in a later patch.
2024-04-24 00:17:50 +02:00
evermind
443dd279f5 BraveNewPipeLegacy: (Kitkat) copy files relevant for 'Clean up pre-Lollipop checks'
This patch copies all the relevant files for kitkat from main to the legacy flavor unmodified.

The relevant files are gathered from commit 99104fc11d
'Clean up pre-Lollipop checks'

These files are the base to reapply above 'Clean up pre-Lollipop checks' commit
in reverse in a later patch.
2024-04-24 00:17:50 +02:00
Stypox
9828586762
Fix indentation for ktlint 2024-04-23 20:16:04 +02:00
Hosted Weblate
8caaa6d297
Merge branch 'origin/dev' into Weblate. 2024-04-23 19:27:20 +02:00
Stypox
83ca6b9468
Update NewPipeExtractor to v0.24.0 2024-04-23 19:25:13 +02:00
Stypox
24e65ef018
Merge branch 'dev' 2024-04-23 19:23:20 +02:00
Stypox
a69bbab732
Merge pull request from GHSA-wxrm-jhpf-vp6v
Fix preferences import vulnerability
2024-04-23 19:22:17 +02:00
Stypox
a557ac3c7b
Merge pull request #10929 from TeamNewPipe/release-0.27.0
Release v0.27.0 (997)
2024-04-23 19:21:12 +02:00
Stypox
d61b4b89ea
Merge pull request #10992 from Stypox/fix-download-nnfp
Fix free storage space check for all APIs
2024-04-23 18:42:57 +02:00
Stypox
b8daf16b92
Update app/src/main/java/org/schabi/newpipe/streams/io/StoredDirectoryHelper.java
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-04-23 18:39:56 +02:00