Commit Graph

8 Commits

Author SHA1 Message Date
Valery Sizov 15d011d64d Geo: sync disabled wikis. Stage 2
We started syncing all the wiki regardless of the fact it's disabled or
not. We couldn't do that in one stage because of needing of smoth update
and deprecating things. This is the second stage that finally removes
unused columns in the geo_node_status table.
2018-09-25 17:49:39 +03:00
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