about summary refs log tree commit diff
path: root/app/models/form
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-12-29 19:52:04 +0100
committerGitHub <noreply@github.com>2017-12-29 19:52:04 +0100
commit38fc1b498d971f7b33532c583b12e5dd3469af3c (patch)
tree622690ead8b672b115718b8d027cfef1acac9902 /app/models/form
parent511c6f96251a4492f7c5bea1f13018d61cfb9ce0 (diff)
Add more instance stats APIs (#6125)
* Add GET /api/v1/instance/peers API to reveal known domains

* Add GET /api/v1/instance/activity API

* Make new APIs disableable, exclude private statuses from activity stats

* Fix code style issue

* Fix week timestamps
Diffstat (limited to 'app/models/form')
-rw-r--r--app/models/form/admin_settings.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/form/admin_settings.rb b/app/models/form/admin_settings.rb
index c1d2cf420..dd629279c 100644
--- a/app/models/form/admin_settings.rb
+++ b/app/models/form/admin_settings.rb
@@ -30,6 +30,10 @@ class Form::AdminSettings
     :bootstrap_timeline_accounts=,
     :min_invite_role,
     :min_invite_role=,
+    :activity_api_enabled,
+    :activity_api_enabled=,
+    :peers_api_enabled,
+    :peers_api_enabled=,
     to: Setting
   )
 end