summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorPatrick Maia <patrickjourdanmaia@gmail.com>2014-08-07 18:31:59 -0300
committerPatrick Maia <patrickjourdanmaia@gmail.com>2014-08-08 13:44:44 -0300
commit08e622c79a1f128fbafe7a5b2c8001bed18b0c4f (patch)
tree3c0c6dd0976c32318450f54e9285ffd84e9e186a /service
parentbd624bdd14ef63186064b2e39fc422f328b24b26 (diff)
moves disabled features list to service
Diffstat (limited to 'service')
-rw-r--r--service/app/pixelated_user_agent.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/service/app/pixelated_user_agent.py b/service/app/pixelated_user_agent.py
index 5b6e4b38..75d202ee 100644
--- a/service/app/pixelated_user_agent.py
+++ b/service/app/pixelated_user_agent.py
@@ -22,6 +22,17 @@ def respond_json(entity):
response = json.dumps(entity)
return Response(response=response, mimetype="application/json")
+@app.route('/disabled_features')
+def disabled_features():
+ return respond_json([
+ 'saveDraft',
+ 'createNewTag',
+ 'replySection',
+ 'removeTag',
+ 'encryptionStatus',
+ 'contacts'
+ ])
+
@app.route('/mails', methods=['POST'])
def save_draft_or_send():