aboutsummaryrefslogtreecommitdiff
path: root/internal/storage (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-10-30fix: unable to change password due to a typo in SQL parameterGravatar Frédéric Guillot 1-1/+1
2024-10-18feat(integration): add cubox integrationGravatar Shaolong Chen 1-4/+13
Signed-off-by: Shaolong Chen <shaolong.chen@outlook.it>
2024-10-05feat: add new settings option to allow external fontsGravatar Frédéric Guillot 1-28/+43
2024-10-05feat: add custom user JavaScriptGravatar milhnl 1-28/+41
2024-10-04feat: update feed icon during force refreshGravatar Frédéric Guillot 1-46/+37
2024-08-18fix: `store.GetEnclosure()` should return `nil` if no rows are returnedGravatar Frédéric Guillot 1-3/+5
2024-08-17fix(fever): correct sorting direction when using max_id argumentGravatar Frédéric Guillot 1-3/+3
2024-07-28feat: mark media as read when playback reaches 90%Gravatar Loïc Doubinine 1-8/+19
2024-07-13feat(integration): add ntfy integrationGravatar Frédéric Guillot 3-6/+42
2024-07-04Add Betula integrationGravatar Danila Gorelko 1-4/+17
2024-07-02Add global block and keep filtersGravatar privatmamtora 1-10/+36
2024-05-06Add description field to feed settingsGravatar Jan-Lukas Else 3-4/+12
This adds a new "description" field to the feed settings. This allows to save custom description regarding a feed. It is also exported and imported as "description" in OPML.
2024-05-02integration/raindrop: initial draft implementationGravatar Alpha Chen 1-4/+21
2024-04-14ui: add tag entries pageGravatar Romain de Laage 2-1/+10
2024-04-09storage: change GetReadTime() function to use entries_feed_id_hash_key indexGravatar Frédéric Guillot 1-10/+7
2024-04-04database: entry URLs can exceeds btree index size limitGravatar Frédéric Guillot 1-8/+6
2024-03-24fix: do not store empty tagsGravatar Romain de Laage 1-2/+13
2024-03-18Minor concatenation-related simplifications in internal/storage/Gravatar jvoisin 3-16/+14
Use plain strings concatenation instead of building an array and then joining it.
2024-03-18Simplify removeDuplicatesGravatar jvoisin 1-11/+4
Use a sort+compact construct instead of doing it by hand with a hashmap. The time complexity is now O(nlogn+n) instead of O(n), and space complexity around O(logn) instead of O(n+uniq(n)), but it shouldn't matter anyway, since removeDuplicates is only called to deduplicate tags.
2024-03-17Enable go-critic linter and fix various issues detectedGravatar Frédéric Guillot 1-10/+10
2024-03-17feat: Media player: Conrol playback speedGravatar Romain de Laage 1-10/+23
fix #1845
2024-02-28Don't mix up capacity and lengthGravatar jvoisin 1-1/+1
- `make([]a, b)` create a slice of `b` elements `a` - `make([]a, b, c)` create a slice of `0` elements `a`, but reserve space for `c` of them When using `append` on the former, it will result on a slice with `b` leading elements, which is unlikely to be what we want. This commit replaces the two instances where this happens with the latter construct.
2024-02-28Use modern for loopsGravatar jvoisin 2-9/+9
Go 1.22 introduced a new [for-range](https://go.dev/ref/spec#For_range) construct that looks a tad better than the usual `for i := 0; i < N; i++` construct. I also tool the liberty of replacing some `for i := 0; i < len(myitemsarray); i++ { … myitemsarray[i] …}` with `for item := range myitemsarray` when `myitemsarray` contains only pointers.
2024-02-27Use prepared statement for intervalsGravatar jvoisin 2-4/+4
2024-02-27Use proper prepared statements for ArchiveEntriesGravatar jvoisin 1-3/+3
2024-02-27Use proper prepared statement for updateEnclosuresGravatar jvoisin 1-8/+5
2024-02-25Fix regression introduced in PR #2402Gravatar Frédéric Guillot 1-2/+2
2024-02-25Use an update-where for MarkCategoryAsRead instead of a subqueryGravatar jvoisin 1-2/+6
2024-02-25Reformat's ArchiveEntries's query for consistency's sakeGravatar jvoisin 1-6/+18
And replace the `=ANY` with an `IN`
2024-02-25Simplify cleanupEntries' queryGravatar jvoisin 1-4/+4
- `NOT (hash=ANY(%4))` can be expressed as `hash NOT IN $4` - There is no need for a subquery operating on the same table, moving the conditions out is equivalent.
2024-02-25Format GetReadTime's query for consistency's sakeGravatar jvoisin 1-1/+9
2024-02-25Reformat the query in GetEntryIDsGravatar jvoisin 1-1/+12
To make it more consistent with how all the other are formatted
2024-02-25Simplify WeeklyFeedEntryCountGravatar jvoisin 1-1/+1
No need for a `BETWEEN`: we want to filter on entries published in the last week, no need to express is as "entries published between now and last week", "entries published after last week" is enough.
2024-02-25Build the map inline in CountAllFeeds()Gravatar jvoisin 1-3/+5
No need to build an empty map to then add more fields in it one by one.
2024-02-25Simplify CleanOldUserSessions' queryGravatar jvoisin 2-2/+2
No need for a subquery, filtering on `created_at` directly is enough.
2024-02-24Add feed option to disable HTTP/2 to avoid fingerprintingGravatar Frédéric Guillot 2-10/+16
2024-02-21Add Readeck integrationGravatar MSTCL 1-19/+40
2024-02-11Add Linkwarden integrationGravatar knrdl 1-2/+15
2024-01-25feat: add linkace service integrationGravatar MDeLuise 1-34/+59
2024-01-22Fix typo in log messageGravatar Frédéric Guillot 1-1/+1
2023-12-04Add Omnivore integrationGravatar Jesse Jaggars 1-4/+17
2023-12-01Calculate a virtual weekly count based on the average updating frequency.Gravatar Shizun Ge 1-1/+7
2023-11-29Use variables for the status in the entries tableGravatar Shizun Ge 2-6/+6
2023-11-08Show number of visible entries instead of number of read entries in feed listGravatar Frédéric Guillot 1-0/+1
2023-11-05Add WebAuthn / Passkey integrationGravatar Florian Rüchel 2-0/+200
This is a rebase of #1618 in which @dave-atx added WebAuthn support. Closes #1618
2023-10-31Fix category hide_globally property in `/entries`Gravatar Nicolas Martinelli 1-0/+2
Follow-up of 64c4c6b34743761d0f6ea02fc
2023-10-22Add RSS-Bridge integrationGravatar Ryan Stafford 1-3/+11
2023-10-20Refactor Batch Builder and prevent accidental and excessive refreshes from ↵Gravatar Frédéric Guillot 3-92/+91
the web ui
2023-10-17Expose `next_check_at` in the web ui and APIGravatar Frédéric Guillot 1-0/+3
2023-10-17Add indexes to improve performanceGravatar Frédéric Guillot 1-2/+2