[gnome-software] Make the minimum review karma required and the server used GSetting keys



commit 0857ed5bc96c0b75b95678543a09827c434587c2
Author: Richard Hughes <richard hughsie com>
Date:   Wed Feb 10 09:17:01 2016 +0000

    Make the minimum review karma required and the server used GSetting keys
    
    Users may want a higher value on platforms like RHEL where it is very important
    that reviews are checked before showing to customers.
    
    Other distros can't be so lucky due to the man-power required for manual
    checking in all locales.

 data/org.gnome.software.gschema.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/data/org.gnome.software.gschema.xml b/data/org.gnome.software.gschema.xml
index 410304a..e1fbff5 100644
--- a/data/org.gnome.software.gschema.xml
+++ b/data/org.gnome.software.gschema.xml
@@ -45,5 +45,14 @@
       <default>0</default>
       <summary>The last update timestamp</summary>
     </key>
+    <key name="review-server" type="s">
+      <default>'http://apps-xdgapp.rhcloud.com/1.0/reviews/api'</default>
+      <summary>The server to use for application reviews</summary>
+    </key>
+    <key name="review-karma-required" type="i">
+      <default>0</default>
+      <summary>The minimum karma score for reviews</summary>
+      <description>Reviews with karma less than this number will not be shown.</description>
+    </key>
   </schema>
 </schemalist>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]