loklak / loklak_server

Distributed Open Source twitter and social media message search server that anonymously collects, shares, dumps and indexes data http://api.loklak.org
GNU Lesser General Public License v2.1
1.38k stars 222 forks source link

Provide a settings servlet for loklak_webclient #48

Closed Orbiter closed 9 years ago

Orbiter commented 9 years ago

Main purpose for such a servlet is, that application keys must be shared. We want to host such key in loklak_server and loklak_webclient can use the same keys too.

It shall work like this:

Orbiter commented 9 years ago

Implemented with https://github.com/loklak/loklak_server/commit/9d12a22d6f79b1df82a6d2fb4c6b57b88d7393b8

To propagate settings to the /api/settings.json servlet, set those settings within the conf/config.properties file with a prefix 'client.'. That key prefix will be truncated when settings are transmitted within the servelet.