Commit Graph

7 Commits

Author SHA1 Message Date
Gabriel Mazetto 1a54986c16 Refactor SiteStatistics to extract refresh logic into a rake task 2018-08-16 21:31:19 +02:00
Gabriel Mazetto fd9377fa1a Added method to re-populating SiteStatitiscs counter 2018-08-16 19:57:27 +02:00
gfyoung 32af384adf Enable frozen string in rest of app/models/**/*.rb
Partially addresses #47424.
2018-08-10 00:51:01 -07:00
Gabriel Mazetto 5b4827fe65 Document site statistics API 2018-07-24 18:44:08 +02:00
Gabriel Mazetto 32d96d482d Apply pattern to make `find_or_create` atomic 2018-07-24 18:44:08 +02:00
Gabriel Mazetto 2d85ad23c0 Use activerecord migration version instead of rescuing for missing tables 2018-07-24 18:44:08 +02:00
Gabriel Mazetto c084e87ad7 Added SiteStatistics as counter cache for Projects and Wikis 2018-07-24 18:44:07 +02:00