Commit graph

66 commits

Author SHA1 Message Date
Yassine Guedidi
d22cbd5bb0 Extract Dark Theme controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
75618c0806 Extract Leftbar and Add Tag controllers 2025-03-13 02:06:51 +01:00
Yassine Guedidi
ead400e6c2 Extract Sticky Nav controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
7c7c2cd398 Extract Topbar controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
9d16516289 Extract Batch Edit controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
80a5580be1 Extract Tag controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
a61fe358a1 Extract Fake Radio controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
ebd89a169e Extract Config controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
9496e6817d Extract Clipboard controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
09a55ac2c9 Extract Annotations controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
f76aae2354 Extract Scroll Storage controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
7bc2386618 Extract Scroll Indicator controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
a34ef1d9d5 Extract Highlight controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
186adf9c94 Extract QRCode controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
d2e864da10 Extract Materialize Toast controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
5f2dd66948 Extract Materialize FAB controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
117b26faba Extract Materialize Form Select controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
270d5ccc2a Extract Materialize Dropdown controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
bbc114a2ca Extract Materialize Collapsible controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
db9dab054c Extract Materialize Tooltip controller 2025-03-13 02:06:51 +01:00
Yassine Guedidi
b0f1a32e3c Extract Materialize Tabs controller 2025-03-13 02:06:50 +01:00
Yassine Guedidi
12680816ad Extract Materialize Sidenav controller 2025-03-13 02:06:50 +01:00
Yassine Guedidi
08aed94f44 Initialize filters and export sidenav with common ones 2025-03-13 02:06:50 +01:00
Yassine Guedidi
c71b5b01a9 Use native form reset for filters 2025-03-13 02:06:50 +01:00
Yassine Guedidi
28b675f48f Back-end hide/show of random, export and filters actions 2025-03-13 02:06:50 +01:00
Yassine Guedidi
00c618946c Fix toast since Materialize upgrade 2025-03-01 16:59:13 +01:00
Yassine Guedidi
3ebb4d7c8d Fix checkboxes from form type 2025-02-28 00:32:31 +01:00
Yassine Guedidi
b905a2c856
Merge pull request #8017 from wallabag/make-wallabag_url-a-twig-global
Make wallabag_url a Twig global
2025-02-20 08:32:30 +01:00
Yassine Guedidi
35251c0083 Make created at filters full width each 2025-02-19 23:01:06 +01:00
Yassine Guedidi
3bdd5713de Remove datepicker 2025-02-19 22:59:50 +01:00
Yassine Guedidi
c5c9b130b0 Use wallabag_url in entries.xml 2025-02-19 20:36:20 +01:00
Yassine Guedidi
fd2a86e43a Fix main sidenav trigger color in dark mode 2025-02-19 19:46:21 +01:00
Yassine Guedidi
bd9b2a2064 Remove autoinit 2025-02-19 19:46:21 +01:00
Yassine Guedidi
2e4317f6ef Fix checkboxes 2025-02-19 19:46:21 +01:00
Yassine Guedidi
8df7d21777 Fix filters and export sidenavs 2025-02-19 19:46:21 +01:00
Yassine Guedidi
717195d3f5 Fix input in dark theme 2025-02-19 19:46:21 +01:00
Yassine Guedidi
f5fa69e17d dropdown attributes to JS options 2025-02-19 19:46:21 +01:00
Yassine Guedidi
1fc65064d5 .button-collapse to .sidenav-trigger 2025-02-19 19:46:21 +01:00
Yassine Guedidi
8ad0f0914f .side-nav.fixed to .sidenav.sidenav-fixed 2025-02-19 19:46:21 +01:00
Yassine Guedidi
04288a74b3 .side-nav to .sidenav 2025-02-19 19:46:21 +01:00
Yassine Guedidi
331a6bceac data-activates to data-target 2025-02-19 19:46:21 +01:00
Yassine Guedidi
86ec7d815d dropdown-button to dropdown-trigger 2025-02-19 19:46:21 +01:00
Yassine Guedidi
fc51c940bc Fix jrQrcode 2025-02-19 01:40:38 +01:00
Yassine Guedidi
97ed7788b4
Merge pull request #6823 from yguedidi/use-webpack-encore
Use Webpack Encore
2025-02-07 20:51:41 +01:00
Jérémy Benoist
c774398d85
Merge pull request #7849 from anarcat/rss-alternate
restore pre-Atom behavior of linking directly to the article
2025-02-07 20:08:54 +01:00
Yassine Guedidi
f261247766 Use Webpack Encore 2025-02-02 15:31:01 +01:00
Yassine Guedidi
c89878d88e Rename wallassets to build 2025-01-20 12:36:10 +01:00
Yassine Guedidi
5e8ca0887e Rename material entrypoint to main 2025-01-20 12:34:54 +01:00
Antoine Beaupré
6f53da0fc9
restore pre-Atom behavior of linking directly to the article
RFC4287 section 4.2.7.2 specifies that "rel=alternate" is effectively
the default for the link element:

   If the "rel" attribute is not present, the link
   element MUST be interpreted as if the link relation type is
   "alternate".

So having a plain `<link>` and a `<link rel="alternate">` is kind of
weird, *especially* if they point to different resources. So we just
remove the plain entry and *replace* it with the rel=alternate, which
is really the default here.

The sample Atom feeds in RFC4287 (section 1.1) do give an
example *only* with `rel="alternate"`:

     <entry>
       <title>Atom draft-07 snapshot</title>
       <link rel="alternate" type="text/html"
        href="http://example.org/2005/04/02/atom"/>
       <link rel="enclosure" type="audio/mpeg" length="1337"
        href="http://example.org/audio/ph34r_my_podcast.mp3"/>

To refer to the actual Wallabag URL, we use the "via", which is
defined in the RFC as:

   5.  The value "via" signifies that the IRI in the value of the href
       attribute identifies a resource that is the source of the
       information provided in the containing element.

I'm not sure how widely used that tag is, but I feel that the
distinction between `rel="alternate"` is weird at best, and buggy (and
certainly introducing unpleasantness in my usage) at worse.

Before:

        <link href="{{ entry.url }}"/>
        <link rel="alternate" type="text/html"
              href="{{ url('view', {'id': entry.id}) }}"/>
        <link rel="via"
              href="{{ entry.url }}"/>

That is:

        <link href="http://example.com/"/>
        <link rel="alternate" type="text/html"
              href="http://wallabag.example.com/view/1"/>
        <link rel="via"
              href="http://example.com/"/>

After:

        <link rel="alternate" href="{{ entry.url }}"/>
        <link rel="via" type="text/html"
              href="{{ url('view', {'id': entry.id}) }}"/>

That is:

        <link rel="alternate" href="http://example.com"/>
        <link rel="via" type="text/html"
              href="http://wallabag.example.com/view/1"/>

Closes: #7848
2024-11-22 12:02:05 -05:00
Kevin Decherf
8e9f908cf1 Merge remote-tracking branch 'origin/master' into port/2.6.10 2024-11-15 23:53:48 +01:00