tag:github.com,2008:/miniflux/v2/commits/main Recent Commits to v2:main 2024-03-12T05:30:27Z tag:github.com,2008:Grit::Commit/6d97f8b4582414b6ce69467656824690057d4793 Parse podcast categories 2024-03-12T05:30:27Z fguillot https://github.com/fguillot <pre style='white-space:pre-wrap;width:81ex'>Parse podcast categories</pre> tag:github.com,2008:Grit::Commit/f8e50947f2885047155a8070dddab133a5c685c2 Move iTunes and GooglePlay XML definitions to their own packages 2024-03-12T05:09:31Z fguillot https://github.com/fguillot <pre style='white-space:pre-wrap;width:81ex'>Move iTunes and GooglePlay XML definitions to their own packages</pre> tag:github.com,2008:Grit::Commit/9a637ce95e05459adc4712027e6a07eaabcfe657 Refactor RSS parser to use default namespace 2024-03-12T04:07:13Z fguillot https://github.com/fguillot <pre style='white-space:pre-wrap;width:81ex'>Refactor RSS parser to use default namespace This change avoid some limitations of the Go XML parser regarding XML namespaces</pre> tag:github.com,2008:Grit::Commit/d3a85b049b14d4a4ddd6b813134b2abd45fe5e8d jsminifier: set JavaScript version 2024-03-12T02:02:52Z fguillot https://github.com/fguillot <pre style='white-space:pre-wrap;width:81ex'>jsminifier: set JavaScript version</pre> tag:github.com,2008:Grit::Commit/5bcb37901c60463b27e1211e0f68295f213b19e6 Use crypto.GenerateRandomBytes instead of doing it by hand 2024-03-11T23:31:43Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>Use crypto.GenerateRandomBytes instead of doing it by hand This makes the code a bit shorter, and properly handle cryptographic error conditions.</pre> tag:github.com,2008:Grit::Commit/9c8a7dfffe2f4596dcbde2c923a7539914bb252f Make use of HashFromBytes everywhere 2024-03-11T22:22:22Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>Make use of HashFromBytes everywhere It feels a bit silly to have a function and to not make use of it.</pre> tag:github.com,2008:Grit::Commit/74e4032ffc9faad4fec602f283a32d2af8dec47e Small refactor of app.js 2024-03-11T22:18:57Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>Small refactor of app.js - replace a lot of `let` with `const` - inline some `querySelectorAll` calls - reduce the scope of some variables - use some ternaries where it makes sense - inline one-line functions</pre> tag:github.com,2008:Grit::Commit/fd1fee852cb35fa0f5b0ed6dc0c23b4a6ce368c3 Simplify DomHelper.getVisibleElements 2024-03-11T22:03:00Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>Simplify DomHelper.getVisibleElements Use a `filter` instead of a loop with an index.</pre> tag:github.com,2008:Grit::Commit/c51a3270da1f6af796b7d23fa4b434ccf11818e7 GitHub Actions: Add basic ESLinter checks 2024-03-11T03:57:27Z fguillot https://github.com/fguillot <pre style='white-space:pre-wrap;width:81ex'>GitHub Actions: Add basic ESLinter checks</pre> tag:github.com,2008:Grit::Commit/45fa641d26a5f68e663aa9af72e97523d8d63c1e Fix JavaScript linter path in GitHub Actions 2024-03-11T03:37:18Z fguillot https://github.com/fguillot <pre style='white-space:pre-wrap;width:81ex'>Fix JavaScript linter path in GitHub Actions</pre> tag:github.com,2008:Grit::Commit/fd8f25916b025a92b1b8349ef9d0acdb832a9e8e First steps towards trusted-types support 2024-03-11T03:14:30Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>First steps towards trusted-types support Refactor away some trival usages of `.innerHTML`. Unfortunately, there is no way to enabled trusted-types in report-only mode via `&lt;meta&gt;` tags, see https://github.com/w3c/webappsec-csp/issues/277</pre> tag:github.com,2008:Grit::Commit/826e4d654f511ea8d1d385bdc09cbed69ff6a70f Replace DomHelper.findParent with .closest 2024-03-11T03:06:54Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>Replace DomHelper.findParent with .closest See https://developer.mozilla.org/en-US/docs/Web/API/Element/closest</pre> tag:github.com,2008:Grit::Commit/d9d17f0d69d1dafb3bd9d81bf9fc27df3def4f4c Use a `Set` instead of an array in a KeyboardHandler's member 2024-03-11T02:41:13Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>Use a `Set` instead of an array in a KeyboardHandler&#39;s member The variable `triggers` is only used to check if in contains a particular value. Given that the number of keyboard shortcuts is starting to be significant, let&#39;s future-proof the performances and use a `Set` instead of an `Array` instead.</pre> tag:github.com,2008:Grit::Commit/eaaeb68474ff194f682e9521a848d7ab2c89348e Fix conditions to publish packages in GitHub workflows 2024-03-10T19:25:13Z fguillot https://github.com/fguillot <pre style='white-space:pre-wrap;width:81ex'>Fix conditions to publish packages in GitHub workflows</pre> tag:github.com,2008:Grit::Commit/382885f14403526adfa6c303927889c76fd5a1eb Update changeLog 2024-03-10T17:50:47Z fguillot https://github.com/fguillot <pre style='white-space:pre-wrap;width:81ex'>Update changeLog</pre> tag:github.com,2008:Grit::Commit/0f7b047b0a81253b6d146e05d561545303016b74 Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 2024-03-08T04:59:42Z dependabot https://github.com/dependabot <pre style='white-space:pre-wrap;width:81ex'>Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/go-jose/go-jose/releases) - [Changelog](https://github.com/go-jose/go-jose/blob/v3.0.3/CHANGELOG.md) - [Commits](https://github.com/go-jose/go-jose/compare/v3.0.1...v3.0.3) --- updated-dependencies: - dependency-name: github.com/go-jose/go-jose/v3 dependency-type: indirect ... Signed-off-by: dependabot[bot] &lt;support@github.com&gt;</pre> tag:github.com,2008:Grit::Commit/a074773e6c5d3b2066094cbac0502094aa364713 Use an io.ReadSeeker instead of an io.Reader to parse feeds 2024-03-07T04:13:39Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>Use an io.ReadSeeker instead of an io.Reader to parse feeds This will allow to make use of func (*Reader) Seek, instead of re-recreating a new reader. It&#39;s a large commit for a small change, but anything to simply the reader/buffer/ReadAll/… mess is a step in the right direction I think, and it should enable more follow-up simplifications.</pre> tag:github.com,2008:Grit::Commit/3d0126be0b8a603401b7593250f80b0a8042b995 Speed the sanitizer up a bit, again 2024-03-06T03:31:50Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>Speed the sanitizer up a bit, again - allow youtube urls to start with `www` - use `strings.Builder` instead of a `bytes.Buffer` - use a `strings.NewReader` instead of a `bytes.NewBufferString` - sprinkles a couple of `continue` to make the code-flow more obvious - inline calls to `inList`, and put their parameters in the right order - simplify isPixelTracker - simplify `isValidIframeSource`, by extracting the hostname and comparing it directly, instead of using the full url and checking if it starts with multiple variations of the same one (`//`, `http:`, `https://` multiplied by ``/`www.`) - add a benchmark</pre> tag:github.com,2008:Grit::Commit/eda2e2f3f5c278e44e2def72caedc33667a0fb6c Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 2024-03-05T23:39:07Z dependabot https://github.com/dependabot <pre style='white-space:pre-wrap;width:81ex'>Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.17.0 to 0.18.0. - [Commits](https://github.com/golang/oauth2/compare/v0.17.0...v0.18.0) --- updated-dependencies: - dependency-name: golang.org/x/oauth2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] &lt;support@github.com&gt;</pre> tag:github.com,2008:Grit::Commit/111e3f2106646cd29f7f74c0102f2a570c598e2e Reuse a Reader instead of copying to a buffer when parsing an atom feed 2024-03-05T01:36:10Z jvoisin https://github.com/jvoisin <pre style='white-space:pre-wrap;width:81ex'>Reuse a Reader instead of copying to a buffer when parsing an atom feed</pre>