Commit graph

11439 commits

Author SHA1 Message Date
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
evermind
4f22e9b662 BraveNewPipe: Rumble needs to handle cookies to correctly redirect 2024-03-11 09:15:54 +01:00
evermind
2aeb429ce9 BraveNewPipe: move conscrypt dependencies to braveConscrypt flavor and update to 2.5.2 2024-03-11 09:15:54 +01:00
evermind
89a366856a BraveNewPipe: integrate BraveTimeoutInterceptor into PicassoHelper 2024-03-11 09:15:54 +01:00
evermind
aac9f2e59c BraveNewPipe: convert PicassoHelper using the DownloaderImpl#getNewBuilder() to share ConnectionPool etc. 2024-03-11 09:15:54 +01:00
evermind
2e330311c4 BraveNewPipe: Interceptor to replace youtube host domain name yt3.ggpht.com -> yt4.ggpht.com
add config option to replace host domain names that are blocked in some countries
2024-03-11 09:15:50 +01:00
evermind
c57819b271 BraveNewPipe: own settings page 2024-03-11 09:14:29 +01:00
evermind
5af96432f5 BraveNewPipe: Interceptor for SponsorBlock/ReturnYouTubeDislike custom timeouts
DownloaderImpl:
- add: reInitInterceptors() method to recreate in case of config changes
BraveDownloaderImplUtils:
- add: BraveTimeoutInterceptor that handles the custom timeout via temporary http header.
2024-02-21 23:49:25 +01:00
evermind
210424a914 BraveNewPipe: convert DownloaderImpl to singleton and customize OkHttpClient by using its method .newBuilder()
- OkHttpClient is now instantiated right away. This should be the only instance
  within the app.
- All OkHttpClient.Builder instances should be retrieved via
  DownloaderImpl.getNewBuilder() which delegates the call to
  OkHttpClient.newBuilder() So we are not recreating the whole ConnectionPool etc.
2024-02-21 23:49:25 +01:00
evermind
a3544cd8b8 BraveNewPipe: DownloaderImpl: always close the OkHttp Response after using it 2024-02-21 23:49:25 +01:00
evermind
087fe97531 move BraveNewPipe specific code to extra class
original commit was 2d662d79ff

'RUMBLE: fix getting video size for Rumble as they no longer support HEAD (discovered 20230203)'
2024-02-21 23:49:25 +01:00
evermind
2ff42e8013 BraveNewPipe: remove the setCustomTimeout() introduced by SponsorBlock/ReturnYouTubeDislike
SponsorBlock/ReturnYouTubeDislike created a new OkHttpClient each call if
setCustomTimeout() was set once. This commit restores DownloaderImpl back.

-> the calls to setCustomTimeout() will be replaced with a custom http header
   solution
2024-02-21 23:49:25 +01:00
evermind
17a8e014dc BraveNewPipe Release 0.26.1-2.1.7
- update RUMBLE/BITCHUTE to new Tab-Framework
- RUMBLE: most issues should be fixed #119
- BITCHUTE: Broken: Trending -> account is now needed -> CANTFIX
- BITCHUTE: Broken: import of many subscriptions will fail due to use of reCatchpa
  -> may implement a workaround - if I've some time
2024-01-31 01:17:52 +01:00
evermind
bf023d1f14 fix zipalign not found in release workflow
Github removed older buildtools version.
This fix tries to always use the latest version available

see https://github.com/r0adkll/sign-android-release/issues/84
2024-01-31 01:17:52 +01:00
evermind
76bdb25145 searchfilters: info about SearchViewModel 2024-01-28 22:01:45 +01:00
evermind
cad6b98be7 use FilterItem for tabs 2024-01-28 22:01:33 +01:00
evermind
3af415037e Merge tag 'v0.26.1' of https://github.com/TeamNewPipe/NewPipe into dev 2024-01-28 22:01:06 +01:00
evermind
c3757fa2f5 Merge tag 'v0.26.0' of https://github.com/TeamNewPipe/NewPipe into dev 2024-01-28 21:54:12 +01:00
Tobi
49429ff40a
Merge pull request #10700 from TeamNewPipe/newpipe_0.26.1
Newpipe 0.26.1
2023-12-26 18:26:48 +01:00
TobiGr
3df21ad25e Bump version to 0.26.1 (996) 2023-12-26 16:59:02 +01:00
TobiGr
d0f4600be4 Add changelog for NewPipe 0.26.1 2023-12-26 16:58:49 +01:00
TobiGr
0fa2e76c3e Fix NPE when ChannelTabLHFactory not implemented for a service
Fixes #10698
2023-12-26 16:55:52 +01:00
evermind
2ca131a390 searchfilters: move more strings to brave flower to prevent conflicts merging upstream 2023-12-22 23:59:51 +01:00
evermind
992464324a searchfilters: move strings to brave flower to prevent conflicts merging upstream 2023-12-22 23:54:35 +01:00
Stypox
67629938d6
Merge pull request #10470 from TeamNewPipe/release-0.26.0
Release 0.26.0
2023-12-21 22:40:05 +01:00
Hosted Weblate
9aff49bd88
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Danish)

Currently translated at 88.2% (640 of 725 strings)

Translated using Weblate (Serbian)

Currently translated at 17.1% (13 of 76 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Filipino)

Currently translated at 32.1% (233 of 725 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Romanian)

Currently translated at 99.4% (721 of 725 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Indonesian)

Currently translated at 97.3% (74 of 76 strings)

Translated using Weblate (Arabic (Libya))

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (French)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Arabic)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Polish)

Currently translated at 61.8% (47 of 76 strings)

Translated using Weblate (Hindi)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Punjabi)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 28.9% (22 of 76 strings)

Translated using Weblate (German)

Currently translated at 81.5% (62 of 76 strings)

Merge branch 'origin/dev' into Weblate.

Translated using Weblate (Bengali)

Currently translated at 78.7% (571 of 725 strings)

Translated using Weblate (Basque)

Currently translated at 95.0% (689 of 725 strings)

Translated using Weblate (Turkish)

Currently translated at 43.4% (33 of 76 strings)

Translated using Weblate (Lithuanian)

Currently translated at 92.9% (674 of 725 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 30.2% (23 of 76 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.8% (724 of 725 strings)

Translated using Weblate (Interlingua)

Currently translated at 32.0% (232 of 725 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 94.6% (686 of 725 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 94.6% (686 of 725 strings)

Translated using Weblate (Romanian)

Currently translated at 89.3% (648 of 725 strings)

Translated using Weblate (German)

Currently translated at 81.5% (62 of 76 strings)

Translated using Weblate (German)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Filipino)

Currently translated at 32.1% (233 of 725 strings)

Translated using Weblate (Filipino)

Currently translated at 32.1% (233 of 725 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Swedish)

Currently translated at 72.3% (55 of 76 strings)

Translated using Weblate (Esperanto)

Currently translated at 3.9% (3 of 76 strings)

Translated using Weblate (Swedish)

Currently translated at 99.7% (723 of 725 strings)

Translated using Weblate (Esperanto)

Currently translated at 71.0% (515 of 725 strings)

Translated using Weblate (Esperanto)

Currently translated at 2.6% (2 of 76 strings)

Translated using Weblate (Tigrinya)

Currently translated at 8.4% (61 of 725 strings)

Translated using Weblate (Vietnamese)

Currently translated at 43.4% (33 of 76 strings)

Translated using Weblate (German)

Currently translated at 81.5% (62 of 76 strings)

Translated using Weblate (Finnish)

Currently translated at 98.3% (713 of 725 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Esperanto)

Currently translated at 70.0% (508 of 725 strings)

Added translation using Weblate (English (Old))

Added translation using Weblate (Aymara)

Added translation using Weblate (English (Middle))

Added translation using Weblate (Arabic (Najdi))

Added translation using Weblate (German (Low))

Added translation using Weblate (Sicilian)

Added translation using Weblate (Kashmiri)

Added translation using Weblate (Burmese)

Translated using Weblate (Tigrinya)

Currently translated at 3.5% (26 of 725 strings)

Translated using Weblate (Georgian)

Currently translated at 91.1% (661 of 725 strings)

Translated using Weblate (French)

Currently translated at 98.8% (717 of 725 strings)

Translated using Weblate (Vietnamese)

Currently translated at 42.1% (32 of 76 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Interlingua)

Currently translated at 31.3% (227 of 725 strings)

Translated using Weblate (Vietnamese)

Currently translated at 35.5% (27 of 76 strings)

Translated using Weblate (Esperanto)

Currently translated at 69.2% (502 of 725 strings)

Translated using Weblate (Esperanto)

Currently translated at 69.2% (502 of 725 strings)

Translated using Weblate (German)

Currently translated at 81.5% (62 of 76 strings)

Translated using Weblate (Punjabi)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Bulgarian)

Currently translated at 63.8% (463 of 725 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Esperanto)

Currently translated at 66.3% (481 of 725 strings)

Translated using Weblate (French)

Currently translated at 98.6% (715 of 725 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Turkish)

Currently translated at 31.5% (24 of 76 strings)

Translated using Weblate (Vietnamese)

Currently translated at 97.3% (706 of 725 strings)

Translated using Weblate (Swedish)

Currently translated at 98.4% (714 of 725 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Vietnamese)

Currently translated at 94.6% (686 of 725 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (76 of 76 strings)

Translated using Weblate (Chinese (Traditional, Hong Kong))

Currently translated at 21.0% (16 of 76 strings)

Translated using Weblate (Chinese (Traditional, Hong Kong))

Currently translated at 100.0% (725 of 725 strings)

Translated using Weblate (French)

Currently translated at 98.2% (712 of 725 strings)

Deleted translation using Weblate (English (Middle))

Co-authored-by: /dev/urandom <dev.urandom@posteo.org>
Co-authored-by: A <ogloppi@mailbox.org>
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Aitor Salaberria <trslbrr@gmail.com>
Co-authored-by: Alexthegib <traducoes@skiff.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Ans Virlis <tddakk@yahoo.com>
Co-authored-by: AudricV <AudricV@users.noreply.hosted.weblate.org>
Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Co-authored-by: Cem TÜRKER <cemburbut@gmail.com>
Co-authored-by: Danr <mdp43140@gmail.com>
Co-authored-by: David Svane <davidcygnus@users.noreply.hosted.weblate.org>
Co-authored-by: Edward <edwardchirita@mailbox.org>
Co-authored-by: Erik Matson <erik@nextleveltranslation.com>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: Giorgi Taba K'obakhidze <t@gtk.ge>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihfandi <ihfandicahyo@gmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jener Gomes <jenerg1@gmail.com>
Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Co-authored-by: LiftedStarfish <liftedstarfish@protonmail.com>
Co-authored-by: NEXI <nexiphotographer@gmail.com>
Co-authored-by: Napstaguy04 <brokenscreen3@gmail.com>
Co-authored-by: Nista <42772160+Nista11@users.noreply.github.com>
Co-authored-by: P.O <rasmusson.mikael@protonmail.com>
Co-authored-by: PiryusQ <piryusq@gmail.com>
Co-authored-by: Ray <ray@users.noreply.hosted.weblate.org>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Co-authored-by: Stypox <stypox@pm.me>
Co-authored-by: TXRdev Archive <lckphanaf9999@gmail.com>
Co-authored-by: Tmpod <tom@tmpod.dev>
Co-authored-by: TobiGr <TobiGr@users.noreply.github.com>
Co-authored-by: Translator <kvb@tuta.io>
Co-authored-by: VfBFan <VfBFan@users.noreply.hosted.weblate.org>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: ferarilalon <ferarilalongpt@gmail.com>
Co-authored-by: fsbat0 <fsbat@duck.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: notlin4 <iamnotlin4@gmail.com>
Co-authored-by: searinminecraft <114207889+searinminecraft@users.noreply.github.com>
Co-authored-by: sum1tookshoe <gamingwithshoe@gmail.com>
Co-authored-by: trunars <trunars@gmail.com>
Co-authored-by: İbrahim Dinç <woltytherespectful@gmail.com>
Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ar/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/cs/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/eo/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/es/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/id/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/it/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pa/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ru/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sv/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/tr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/vi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant_HK/
Translation: NewPipe/Metadata
2023-12-21 22:37:00 +01:00
Stypox
5b999a88f8
Merge pull request #10673 from Stypox/transaction-too-large
Fix transaction too large in channel tab fragments
2023-12-21 22:30:22 +01:00
Stypox
482531836f
Merge pull request #10670 from Stypox/feed-oom
Fix OutOfMemory when fetching feed
2023-12-21 22:29:46 +01:00
Stypox
b3c82f54df
Merge pull request #10671 from Stypox/channel-main-tab-lag
Fix application lagging with many main page tabs
2023-12-21 22:28:59 +01:00
Stypox
77fa4bbe2f
Update NewPipeExtractor to v0.23.1 2023-12-21 22:28:09 +01:00
Stypox
495c9850b4
Fix transaction too large for channel tab fragments 2023-12-20 23:57:43 +01:00
Stypox
c0f8d145f8
Fix lag with many channels on main page
Disable loading all tabs at once, since there can be many of them, and use default strategy of only keeping in memory the two tabs adjacent to the current tab.
2023-12-20 22:47:57 +01:00
Stypox
80f33daeeb
Fix OutOfMemory when fetching feed
Reduced memory footprint of FeedUpdateInfo objects. Those objects might stay around for a while and accumulate (up to BUFFER_COUNT_BEFORE_INSERT = 20 at the moment), so in order not to fill up the memory it's better to keep as little data as possible.
Previously ChannelInfo data was stored, causing ReadyChannelTabLinkHandler objects to be also stored uselessly (and those channel tabs contain prefetched JSON data which used ~700KB of memory).
2023-12-20 20:22:45 +01:00