Permalink
Switch branches/tags
Nothing to show
Commits on Apr 23, 2018
  1. extensions: ensure properties are properties

    vincentbernat committed Apr 23, 2018
    Some care is needed for an attribute to be a property (without a
    value). Parser needs to be set to HTML mode, `set` should be used
    directly as the None value is interpreted differently by pyquery. And
    there is a trap with `replace_with` that turns its argument as a
    string.
  2. extensions: fix attribute settings for videos as images

    vincentbernat committed Apr 23, 2018
    Moreover, in lxml, we should be able to use None as attribute value to
    get a property/name-only attribute. However, pyquery interprets None
    as removing the attribute while lxml seems to give this as an example
    of use but fail miserably with "Argument must be bytes or unicode, got
    NoneType"...
Commits on Apr 22, 2018
  1. Revert "build: upgrade Pillow"

    vincentbernat committed Apr 22, 2018
    This reverts commit e8a7622.
  2. js: update Isso script to enable feed link

    vincentbernat committed Apr 22, 2018
    This is just for the future, when RSS support gets enabled, to not
    forget about it...
Commits on Apr 21, 2018
  1. build: upgrade Pillow

    vincentbernat committed Apr 21, 2018
    Not really needed, but cannot harm.
  2. extensions: accept multi-dpi images

    vincentbernat committed Apr 21, 2018
    For some images (notably XKCD), downsampling with Lanczos displays
    many visual artifacts. We can provide an already down-sized image.
  3. extensions: allow HTML in figure captions

    vincentbernat committed Apr 21, 2018
    This way, we can easily add attribution.
Commits on Apr 20, 2018
  1. js: add a preview mode

    vincentbernat committed Apr 20, 2018
  2. js: scroll to comments when clicking on link

    vincentbernat committed Apr 19, 2018
    This is just a matter of using the right anchor. This also enables to
    simplify a bit the JS code. But we need to modify a bit isso.js for
    that.
Commits on Apr 18, 2018
  1. css: only clear left for code and blockquote

    vincentbernat committed Apr 18, 2018
    We need them to flow for comments, not for sidenotes.
Commits on Apr 17, 2018
  1. nginx: temporarily use unsafe-eval in CSP for Isso

    vincentbernat committed Apr 17, 2018
    Quite a bummer!
  2. css: for bottom links, avoid showing scrollbars

    vincentbernat committed Apr 17, 2018
    When there is a small overflow in Chromium (due to ampersand?), it
    displays a scrollbar. Use `overflow: hidden` to avoid that.
  3. css: make comments smaller and add more spaces

    vincentbernat committed Apr 17, 2018
    Otherwise, paragraphs are hard to read. Offline, comments have been
    fixed a bit manually.
  4. js: avoid reflow by hidding comment item in bottom links

    vincentbernat committed Apr 17, 2018
    Instead of removing it.
Commits on Apr 16, 2018
  1. content: fix TCP state diagram

    vincentbernat committed Apr 16, 2018
    Thanks fot Jose Angel Rodriguez for spotting the error!
Commits on Apr 15, 2018