Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Ths2 = "Ths2"

[default.extend-words]
referer = "referer"
sur = "sur"

[files]
extend-exclude = [
Expand Down
2 changes: 2 additions & 0 deletions xExtension-LlmClassification/extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ private function buildUserPrompt(FreshRSS_Entry $entry): string {
/**
* Check whether the entry matches the configured search filter.
* Returns true if no filter is configured or the entry matches at least one filter line.
* @throws Minz_BadRequestException
*/
private function entryMatchesSearchFilter(FreshRSS_Entry $entry): bool {
$filterStr = $this->getUserConfigurationString('search_filter') ?? '';
Expand Down Expand Up @@ -411,6 +412,7 @@ private function loadExistingEntry(FreshRSS_Entry $incomingEntry): ?FreshRSS_Ent

/**
* Hook for EntryBeforeInsert: classify a new entry.
* @throws Minz_BadRequestException
* @throws Minz_PermissionDeniedException
*/
public function classifyEntry(FreshRSS_Entry $entry): FreshRSS_Entry {
Expand Down
1 change: 1 addition & 0 deletions xExtension-Webhook/extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public function processArticle(FreshRSS_Entry $entry): FreshRSS_Entry {
*
* @param FreshRSS_Entry $entry The RSS entry to check
* @return bool True if the entry matches any filter line, or if no filter is configured
* @throws Minz_BadRequestException
*/
private function entryMatchesSearchFilter(FreshRSS_Entry $entry): bool {
$searchFilter = $this->getUserConfigurationString('search_filter') ?? '';
Expand Down