evermind
70a2b63900
searchfilters: Peertube restore different endpoints to fix peertube content filter search
2024-01-01 16:03:51 +01:00
evermind
dd252d342e
searchfilters: bump squareup wire version to 4.5.2
2024-01-01 16:00:46 +01:00
evermind
659deb0c86
searchfilters: Peertube: remove search option ID_CF_MAIN_ALL
...
'ALL' option not possible as Peertube uses different
endpoints for video/channels/playlist search
2023-12-30 14:59:46 +01:00
evermind
23fe41d9b2
searchfilters: Peertube: handle different endpoints for channel and playlists search
2023-12-30 14:59:38 +01:00
Stypox
e81796fb1b
[Youtube] Update search mocks
2023-12-30 10:31:14 +01:00
evermind
04f03abd90
searchfilters: Moving DividerItem from NewPipeExtractor into NewPipe
...
DividerItem was inserted in the content filter framework in the
NewPipeExtractor to have a section title for YoutubeMusic. But as
UI releated stuff seems a bit out of place in the Extractor I came
up with injecting the DividerItem aka section title in the frontend
without having to change too much in the frontend.
2023-12-30 10:31:14 +01:00
evermind
0985afa1e4
searchfilters: use base64 methods from okio to support <= Android Oreo
2023-12-30 10:31:14 +01:00
evermind
4210592308
searchfilters: annotate changed method signatures with Nullable or Nonnull
...
Annotate methods in classes that got some signatures changed due to the
searchfilters integration
2023-12-30 10:31:14 +01:00
evermind
11d268faec
searchfilters: annotate methods and their parameters as Nullable or Nonnull
2023-12-30 10:31:14 +01:00
evermind
78c8a60136
searchfilters: convert to using LibraryStringIds to identify strings
2023-12-30 10:31:14 +01:00
evermind
1d552c4533
searchfilters: an enum class which with strings ids that will be used within the searchfilters
...
The class LibraryStringIds is a enum.
This enum's identify a message. The name of the enum constants
reflect the actual message. This message has to be transformed by the
library user into a meaningful string.
2023-12-30 10:31:14 +01:00
evermind
5a0206397c
searchfilters: unit tests for all derived BaseSearchFilters classes
2023-12-30 10:31:14 +01:00
Stypox
3e68e17910
Fix yt tests
2023-12-30 10:31:14 +01:00
evermind
8280fd4a60
searchfilters: Test: adjust and extend YouTube tests
2023-12-30 10:31:14 +01:00
Stypox
019ef62760
searchfilters: Test: adjust Bandcamp tests
2023-12-30 10:31:14 +01:00
evermind
1fc0fc79cc
searchfilters: Test: adjust MediaCCC tests
2023-12-30 10:31:14 +01:00
Stypox
4a8b7f6103
Fix soundcloud tests
2023-12-30 10:31:13 +01:00
evermind
43479ab0ae
searchfilters: Test: adjust SoundCloud tests
2023-12-30 10:31:13 +01:00
Stypox
c6b335c20f
Fix peertube tests
2023-12-30 10:31:13 +01:00
evermind
e06fac6ef3
searchfilters: Test: adjust PeerTube tests
2023-12-30 10:31:13 +01:00
Stypox
49c354598e
Fix base tests
2023-12-30 10:31:13 +01:00
evermind
d7b043059c
searchfilters: added common helper methods for .*SearchExtractorTest's
2023-12-30 10:31:13 +01:00
evermind
af1f1de36d
bandcamp: remove limit page.size as statement seems no longer true
...
Without that code the search results will complete and the gui will not
spin forever.
2023-12-30 10:31:13 +01:00
Stypox
ec19719641
[YouTube]
2023-12-30 10:31:13 +01:00
Stypox
0a4b88955a
searchfilters: convert youtube to new framework
...
Available content filters:
Youtube
- all
- videos
- channels
- playlists
Youtube Music
- Songs
- Videos
- Albums
- Playlists
- Artists
Available sort filters:
- 'Sort by'
- Upload Date
- Duration
- Features
2023-12-30 10:31:13 +01:00
Stypox
8568f196ec
[Bandcamp]
2023-12-30 09:09:42 +01:00
evermind
debb7760cd
searchfilters: convert bandcamp to new framework
...
Available content filters:
- All
- artists & labels
- albums
- tracks
2023-12-30 09:09:13 +01:00
evermind
e084338a0f
searchfilters: convert media_ccc to new framework
...
Available content filters:
- All
- Conferences
- Events
2023-12-30 09:07:40 +01:00
evermind
d1bf446f1c
searchfilters: Make SoundcloudSearchQueryHandlerFactory singleton
2023-12-30 09:07:39 +01:00
evermind
17320ef44e
searchfilters: Soundcloud give empty page if no more results
2023-12-30 09:07:39 +01:00
Stypox
a043cbdc49
[SoundCloud]
2023-12-30 09:07:39 +01:00
evermind
f484f20100
searchfilters: convert Soundcloud to use new framework
...
Available content filters:
- All
- Tracks
- Users
- Playlists
Available sort filters:
- 'Sort by'
- Length
- license
2023-12-30 09:07:39 +01:00
Stypox
c7ef8a9e68
[PeerTube]
2023-12-30 09:07:39 +01:00
evermind
9e75344611
searchfilters: convert Peertube to new framework
...
Available content filters:
- All
- Videos
- Channels
- Playlists
Sepia
- SepiaSearch
Available sort filters:
- 'Sort by'
- stream kind
- sensitive
- 'Date'
- 'Duration'
2023-12-30 09:07:35 +01:00
Stypox
1dc746a599
Changes due to channel tabs
2023-12-29 19:19:11 +01:00
evermind
b8eb1212a8
searchfilters: convert core components to new framework
2023-12-29 19:08:26 +01:00
evermind
3956e22c8e
merge later ../extractor/src/main/java/org/schabi/newpipe/extractor/search/filter/FilterGroup.java
2023-12-29 19:08:26 +01:00
Stypox
8409215ce2
equals hashCode to FilterItem
2023-12-29 19:08:26 +01:00
evermind
3398a54908
searchfilters: a framework to create sort and content filter objects
...
FilterContainer.java:
=====================
This class is a container that keeps either content filters or sort filters organized.
Sort/content filters ({@link FilterItem}s) are organized within {@link FilterGroup}s.
FilterGroup.java:
=================
This class represents a filter category/group. For example 'Sort order'.
Its main purpose is to host a bunch of {@link FilterItem}s that belong to that
group. Eg. 'Relevance', 'Views', 'Rating'
FilterItem.java:
================
This class represents a single filter option.
*More in detail:*
For example youtube offers the filter group 'Sort order'. This group
consists of filter options like 'Relevance', 'Views', 'Rating' etc.
-> for each filter option a FilterItem has to be created.
BaseSearchFilters.java:
=======================
The base class for every service describing their {@link FilterItem}s,
{@link FilterGroup}s, the relation between content filters and sort filters.
2023-12-29 17:22:34 +01:00
TobiGr
9ab932e394
Rename testDoNotAcceptNonURLs() -> assertDoNotAcceptNonURLs()
2023-12-29 16:38:11 +01:00
Stypox
9d66debf3c
Merge pull request #1132 from TeamNewPipe/dependabot/github_actions/actions/setup-java-4
...
Bump actions/setup-java from 3 to 4
2023-12-29 16:20:46 +01:00
Tobi
038ebdedc4
Merge pull request #1143 from petlyh/peertube-non-urls
...
Avoid PeerTube accepting non-URLs
2023-12-29 12:47:30 +01:00
TobiGr
61d237de02
[PeerTube] Test onAccept(String URL) in LinkHandlerFactories for non-URLs
2023-12-29 12:45:02 +01:00
petlyh
2b2c1546d1
Avoid PeerTube accepting non-URLs
2023-12-29 12:27:39 +01:00
Tobi
1e93b1dc20
Merge pull request #1135 from Stypox/yt-emergency-info
...
[YouTube] Implement emergency meta info
2023-12-29 12:01:40 +01:00
dependabot[bot]
3400af99b3
Bump actions/setup-java from 3 to 4
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 10:57:47 +00:00
Tobi
1f8a044462
Merge pull request #1138 from TeamNewPipe/dependabot/gradle/com.github.spotbugs-spotbugs-annotations-4.8.3
...
Bump com.github.spotbugs:spotbugs-annotations from 4.8.0 to 4.8.3
2023-12-29 11:56:18 +01:00
dependabot[bot]
1470aa7303
Bump com.github.spotbugs:spotbugs-annotations from 4.8.0 to 4.8.3
...
Bumps [com.github.spotbugs:spotbugs-annotations](https://github.com/spotbugs/spotbugs ) from 4.8.0 to 4.8.3.
- [Release notes](https://github.com/spotbugs/spotbugs/releases )
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.8.0...4.8.3 )
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-annotations
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 10:53:28 +00:00
TobiGr
8f9ebdcb77
[PeerTube] Fix failing PeertubeTrendingLinkHandlerFactoryTest
...
The factory was updated in #1144
2023-12-29 11:52:19 +01:00
Stypox
1553931027
Merge pull request #1145 from TeamNewPipe/dependabot/gradle/org.jsoup-jsoup-1.17.2
...
Bump org.jsoup:jsoup from 1.16.2 to 1.17.2
2023-12-29 11:27:01 +01:00