Store and load edit preferences to/from All-Users repository

This change only handles edit screen user preferences, as discussed
in this thread [1].

[1] https://groups.google.com/d/topic/repo-discuss/bX36w565m7c/discussion

Change-Id: Icf87fcb6a9c8901d8f5d96a8ae81c78e24441e34
This commit is contained in:
David Ostrovsky
2014-11-14 20:16:57 +01:00
parent a1520bb9d4
commit 0ca0182ab8
10 changed files with 409 additions and 8 deletions

View File

@@ -70,6 +70,8 @@ public class Module extends RestApiModule {
put(ACCOUNT_KIND, "preferences").to(SetPreferences.class);
get(ACCOUNT_KIND, "preferences.diff").to(GetDiffPreferences.class);
put(ACCOUNT_KIND, "preferences.diff").to(SetDiffPreferences.class);
get(ACCOUNT_KIND, "preferences.edit").to(GetEditPreferences.class);
put(ACCOUNT_KIND, "preferences.edit").to(SetEditPreferences.class);
get(CAPABILITY_KIND).to(GetCapabilities.CheckOne.class);
child(ACCOUNT_KIND, "starred.changes").to(StarredChanges.class);