[Taginfo-dev] [taginfo/taginfo] 2ff9b9: Add HTML title to report pages

Jochen Topf noreply at github.com
Sat Oct 22 14:23:02 UTC 2022


  Branch: refs/tags/osmorg-taginfo-live
  Home:   https://github.com/taginfo/taginfo
  Commit: 2ff9b99e3b985a978f783b5d4883abace9928ffd
      https://github.com/taginfo/taginfo/commit/2ff9b99e3b985a978f783b5d4883abace9928ffd
  Author: Jochen Topf <jochen at topf.org>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M web/lib/ui/reports.rb

  Log Message:
  -----------
  Add HTML title to report pages


  Commit: ad69135e4b6bedc8daed3f9119cd7efd867cfebf
      https://github.com/taginfo/taginfo/commit/ad69135e4b6bedc8daed3f9119cd7efd867cfebf
  Author: Jochen Topf <jochen at topf.org>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M web/lib/sql.rb

  Log Message:
  -----------
  Ugly hack to make @db.stats() calls work on some setups

For some unknown reason the encoding of the parameters of the
@db.stats() call is sometimes US-ASCII instead of UTF-8. This makes
sqlite turn them into blobs and then those queries don't return
anything. This happens when the @db.stats() call is in the erb template
files.

This is a super ugly hack, but there you go.


Compare: https://github.com/taginfo/taginfo/compare/c1664efe5566...ad69135e4b6b



More information about the Taginfo-dev mailing list