Skip to content
Permalink
Branch: master
Commits on Mar 27, 2020
  1. Fix signup form for mobile

    arp242 committed Mar 27, 2020
  2. Fix typo

    arp242 committed Mar 27, 2020
  3. Set DomainCount for serve too

    arp242 committed Mar 27, 2020
    In 59e851d we split out the static domain to gc.zgo.at and
    static.zgo.at, but this only worked for the saas command and not serve 😅
  4. ChangeLog for 1.1

    arp242 committed Mar 27, 2020
  5. Correct the Y-axis label

    arp242 committed Mar 27, 2020
    Would use the hourly one, instead of the daily.
    
    Fixes #217
Commits on Mar 26, 2020
  1. No need to send Referrer data in backend GC script

    arp242 committed Mar 26, 2020
  2. Fix top referrs display if LinkDomain isn't set

    arp242 committed Mar 26, 2020
    Would expand to just "where ref not like '%'", so nothing got displayed.
  3. Fix size stats when there's little data

    arp242 committed Mar 26, 2020
    break should be continue: the "break" assumes things are ordered by
    count, but this may not be the case.
    
    There shouldn't be a cutoff or "other" for this anyway, since we always
    want to display everything (e.g. "Phones: 0.0%" is fine).
Commits on Mar 25, 2020
  1. Don't send empty parameters to /count

    arp242 committed Mar 25, 2020
    There's no need to send e=false every time, or r= if there is no referer.
    
    Also allow testing the count script locally
  2. Add GoatCounter script on the GoatCounter backend

    arp242 committed Mar 25, 2020
    Mainly just to see which browsers people are using and how many people
    use mobile, so it's easier to make informed decisions about this.
    
    Also hash the site.Code in the noscript tracking; I don't really need to
    know *who* isn't using JS, just the total number of users (I can just
    calculate the hashes on all the sitecodes, so not really "secure"; it's
    just so I don't have an overview of it on the dashboard).
  3. Don't show "saas" command in help

    arp242 committed Mar 25, 2020
    There's really no reason to show this; in its current state it will
    never work for anything other than GoatCounter.com (hard-coded stripe
    plan IDs, references to goatcounter.com, etc.)
    
    Ideally, separating goatcounter.com to a new service would be the best
    solution but that's also some work and adds some complexity, so this is
    fine for now.
  4. Remove Hit.Domain

    arp242 committed Mar 25, 2020
    Hasn't been used in quite a while (actually, was never really used).
  5. Fix test in Travis (hopefully)

    arp242 committed Mar 25, 2020
  6. Don't use _ in domain code examples

    arp242 committed Mar 25, 2020
  7. Improve some tests

    arp242 committed Mar 25, 2020
Commits on Mar 24, 2020
  1. Remove all stats tables when purging all paths

    arp242 committed Mar 24, 2020
    See #96
  2. Don't error out for domains with _ in domain, part 2

    arp242 committed Mar 24, 2020
Commits on Mar 19, 2020
  1. Fix last commit

    arp242 committed Mar 19, 2020
  2. Make sure existing sites with an underscore can still be saved

    arp242 committed Mar 19, 2020
    Need to think of a migation plan for the existing sites, but until that
    time we don't want to break saving.
    
    Fixes #211
  3. Don't allow _ in domain code (#210)

    arp242 committed Mar 19, 2020
    * Don't allow _ in domain code
    
    * Fix tests
  4. Print # of hits in monitor

    arp242 committed Mar 19, 2020
  5. Use "returning id" instead of currval()

    arp242 committed Mar 19, 2020
    Someone reported the error:
    
        Site.Insert: pq: currval of sequence "sites_id_seq" is not yet defined in this session
    
    Not entirely sure why, but this method should be safer.
Commits on Mar 18, 2020
  1. Update screenshot with latest version

    arp242 committed Mar 18, 2020
  2. Prepare 1.1 release (#208)

    arp242 committed Mar 18, 2020
  3. Don't call dayStart() and dayEnd() (#209)

    arp242 committed Mar 18, 2020
    * Don't call dayStart() and dayEnd()
    
    This is no longer correct, as it assumes UTC. A day in the local TZ can
    be from 2020-03-15 22:00 to 2020-03-16 21:59:59.
    
    This should already be set correct in the handler.
    
    * Fix test
Commits on Mar 17, 2020
  1. Don't display total pageviews until it's correct, and use same pagina…

    arp242 committed Mar 17, 2020
    …tion logic
    
    The "total displayed" is correct, but "total" is displayed in UTC, not
    the configured timezone. I want to look at some DB issues first, and
    probably won't fix it in the next few days. It's better to not display
    data than display wrong data.
    
    Also use the same pagination logic instead of relying on total >
    totalDisplay.
  2. Don't limit stats for site.CreatedAt date

    arp242 committed Mar 17, 2020
    Reducing the number of days throws some stats off in some cases. It's
    fine to just return blank days.
  3. Correct calculation of Max

    arp242 committed Mar 17, 2020
  4. More TZ fixes >_< (#206)

    arp242 committed Mar 17, 2020
    * More TZ fixes >_<
    
    It will correctly display the chart, but the pageview numbers and "total
    2,815 hits, 1,389 displayed)" are still in UTC.
    
    * Fix it up
  5. Clarify -auth error message on invalid email

    arp242 committed Mar 17, 2020
  6. Remove /set-tz; use json type for site.settings; don't drop table

    arp242 committed Mar 17, 2020
    Most people got a TZ set now, so no need to run /set-tz.
    
    The JSON datatype doesn't really make a different for the app, but
    makes it easier to query.
    
    There's no real reason to drop tables in the schema files, as it's
    intended just for creating new databases, and people might lose data if
    they re-run it accidentally or some such. Better to just error out.
Older
You can’t perform that action at this time.