aboutsummaryrefslogtreecommitdiff
path: root/internal/ui (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-10-30feat(mediaproxy): pass original filename in Content-Disposition headerGravatar Frédéric Guillot 1-4/+10
When you download/save proxified media, the original filename is lost. That information could be retained by passing a header `Content-Disposition: inline; filename="ORIGNAL_FILENAME.EXT"` when serving the media file. The requested URL would still be obfuscated, but if the client downloads the file it'll use that original filename.
2024-10-30feat(mediaProxy): implement referer spoofing for restricted media resourcesGravatar AiraNadih 1-0/+5
2024-10-26feat(webauthn): show help message regarding username and non-discoverable ↵Gravatar Frédéric Guillot 2-3/+17
credentials The username is required for non-resident keys, but it's not necessary for discoverable credentials like Passkeys.
2024-10-26fix(webauthn): add backup eligibility flag workaround to avoid a 401Gravatar Frédéric Guillot 1-10/+46
Since go-webauthn v0.11.0, the backup eligibility flag is strictly validated, but Miniflux does not store this flag. This workaround to set the flag based on the parsed response, and avoid "BackupEligible flag inconsistency detected during login validation" error. See https://github.com/go-webauthn/webauthn/pull/240
2024-10-21feat: replace `xurls` third-party module with an ad-hoc regexpGravatar Julien Voisin 1-3/+5
2024-10-18feat(integration): add cubox integrationGravatar Shaolong Chen 2-0/+8
Signed-off-by: Shaolong Chen <shaolong.chen@outlook.it>
2024-10-05feat: add new settings option to allow external fontsGravatar Frédéric Guillot 4-2/+14
2024-10-05feat: add custom user JavaScriptGravatar milhnl 2-0/+4
2024-09-11fix(mediaproxy): forward client user-agent to origin to bypass bot protectionGravatar Frédéric Guillot 1-5/+7
2024-09-07build(deps): bump github.com/go-webauthn/webauthn from 0.10.2 to 0.11.2Gravatar Frédéric Guillot 1-1/+1
2024-09-02feat: add pagination to shared entries listingGravatar Phantop 1-0/+5
2024-09-02feat: add button to show only starred entries per categoryGravatar Kierán Meinhardt 2-0/+72
fixes #1468
2024-08-12feat: add license info to js, for LibreJS compatibilityGravatar Piper McCorkle 1-0/+8
[LibreJS][0] is a browser extension developed by GNU which ensures only Free (libre) JavaScript is run. To determine whether given JavaScript is Free, LibreJS consults metadata included in the JavaScript file. Since Miniflux is Free Software, getting its JavaScript to work when LibreJS is installed is just a matter of adding license metadata to the returned JavaScript source. [0]: https://www.gnu.org/software/librejs/index.html
2024-08-12feat: Add option to disable local auth formGravatar Finn 3-4/+25
2024-07-28feat: mark media as read when playback reaches 90%Gravatar Loïc Doubinine 12-15/+96
2024-07-25feat: add support for aside HTML element in entry contentGravatar Frédéric Guillot 3-0/+11
2024-07-19fix: align pagination correctly on small screens with non-English textGravatar Frédéric Guillot 1-4/+6
2024-07-13feat(integration): add ntfy integrationGravatar Frédéric Guillot 4-0/+40
2024-07-08fix: `<img>` aspect ratio w/ `height: auto`Gravatar Paul Esch-Laurent 1-0/+4
Complement with `max-width: 100%` with a `height: auto` to preserve `<img>` aspect ratios, particularly when it's not wrapped in a block parent e.g. `<p>` or `<figure>` most commonly. Related: https://www.smashingmagazine.com/2020/03/setting-height-width-images-important-again/
2024-07-04Remove carriage returns to sanitizer strings from windowsGravatar Krish Mamtora 1-0/+4
2024-07-04Add Betula integrationGravatar Danila Gorelko 2-0/+12
2024-07-02Add global block and keep filtersGravatar privatmamtora 3-13/+29
2024-06-28Add navigation to last/first pageGravatar Wojtek 2-4/+41
2024-06-13Fix Playback speed indicator precisionGravatar Ztec 1-1/+1
The original idea was to have two digit precision at all time in order to ensure the length of the string is always the same. This prevents the UI button to move when pressed. I completely missed the first press as the precision was not right upon first click.
2024-05-27Add missing properties when reloading page after errorGravatar Krish Mamtora 1-0/+10
2024-05-06Add description field to feed settingsGravatar Jan-Lukas Else 3-0/+5
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 2-0/+16
2024-04-26add seek and speed controls to media playerGravatar Ztec 3-5/+92
When listening to podcast, it is usual to want to speed up the playback. https://github.com/miniflux/v2/pull/2521 was addressing the need globally, this PR allow to address it for just the current open enclosure media. (no save) Some Browser already include this control directly, but firefox does not (directly anyway). Also, it is often useful to be able to skip chunk of a podcast, to skip commercials for example, or get back a bit because we couldn't hear the last part. I added rudimentary seek controls with the usual +/-10 and 30 seconds chuck size. This is pretty handy when podcast are very long and using the seek bar is way too tricky to just skip 30s. As always, I'm French and could only provide English and French translation for the few text I added in the locale/translations files. Any help is welcome. Tested mostly on Firefox (121.0) and quickly on Vivaldi(6.5.3206.53), chrome based. Fixes: #1845 #1846
2024-04-19http/response: add brotli compression supportGravatar Frédéric Guillot 2-2/+4
2024-04-19fix: Use `FORCE_REFRESH_INTERVAL` config for category refreshGravatar bo0tzz 1-2/+4
2024-04-14ui: add tag entries pageGravatar Romain de Laage 3-0/+159
2024-04-09Fix clicking unread counterGravatar Michael Kuhn 1-1/+2
When clicking the unread counter, the following exception occurs: ``` Uncaught TypeError: Cannot read properties of null (reading 'getAttribute') ``` This is due to `onClickMainMenuListItem` not working correctly for the unread counter `span`s, which return `null` when using `querySelector`.
2024-03-20Rename PROXY_* options to MEDIA_PROXY_*Gravatar Frédéric Guillot 2-5/+5
2024-03-20Enable trusted-typesGravatar jvoisin 4-2/+18
This commit adds a policy, and make use of it in the Content-Security-Policy. I've tested it the best I could, both on a modern browser supporting trusted-types (Chrome) and on one that doesn't (firefox). Thanks to @lweichselbaum for giving me a hand to wrap this up!
2024-03-20Replace a bunch of `let` with `const`Gravatar jvoisin 6-44/+41
According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const > Many style guides (including MDN's) recommend using const over let whenever a variable is not reassigned in its scope. This makes the intent clear that a variable's type (or value, in the case of a primitive) can never change.
2024-03-19Add keyboard shortcuts for scrolling to top/bottom of the item listGravatar Matt Behrens 2-6/+33
2024-03-18Use struct embedding to reduce code duplicationGravatar jvoisin 1-18/+20
2024-03-17Enable go-critic linter and fix various issues detectedGravatar Frédéric Guillot 1-1/+1
2024-03-17Replace Optional{Int,Int64,Float64} with a generic function OptionalNumber()Gravatar Frédéric Guillot 2-5/+5
2024-03-17feat: Media player: Conrol playback speedGravatar Romain de Laage 5-2/+26
fix #1845
2024-03-15Fix regressions introduced by PR #2476Gravatar Frédéric Guillot 1-4/+4
'Toast' messages are broken and v hotkey opens in the same tab Commit d25c032171e47799da40a155bd172308fbfb036f
2024-03-15Fix download button loading labelGravatar Frédéric Guillot 1-27/+29
2024-03-15Avoid warnings in ui packageGravatar Frédéric Guillot 2-17/+8
Remove unused variables and improve JSON decoding in saveEnclosureProgression()
2024-03-15Display an error message on edit feed page when the feed URL is not uniqueGravatar Frédéric Guillot 1-1/+1
2024-03-14Fix regression: Add to Home Screen button is unreadableGravatar Frédéric Guillot 1-0/+2
Regression introduced in commit https://github.com/miniflux/v2/commit/ea58bac5489cd71f898312132f6e8d7b42cb4d33
2024-03-14More trusted-types compatibilityGravatar jvoisin 1-5/+5
2024-03-13Fix JavaScript error on the login pageGravatar Frédéric Guillot 1-2/+4
2024-03-13More progress towards trusted-typesGravatar jvoisin 1-7/+21
Create a new function `addIcon` and use it to add icons, instead of operating on raw html.
2024-03-13Simplify bootstrap.jsGravatar jvoisin 1-30/+26
- Don't use lambdas to return a function, use directly the function instead. - Remove a hack for "Chrome 67 and earlier" since it was released in 2018.
2024-03-12align min-width with the other min-width valuesGravatar mcnesium 1-1/+1