Ask only the repositories a user acted in when drawing their contribution graph

Each actor's AccountState keeps activity_repos (first and last counted activity per repository), fed by RepoState from every activity insert after it commits. The graph, day panel and year list read it instead of querying every repository's object on each profile view. A cron backfill indexes older activity; until it finishes, the old path stays.

Assisted-by: Crush
taigrrcommitted parent 4ef1b29f618286049be6167732d5769a75f1d9c0f8f823cBrowse files
7 files changed+197−22

Rendering diff…