GPII/prefsEditors — pull request #39 by jobara (2014-02-27 18:05:58+00:00)
Title: GPII-625: Ability for PMT and PCP to save to the remote preferences server.

Separated the URL's used for the session (login/logout) and those used for the preferences server (set/get prefs). There is now a new url option in the store to handle the preferences server URL.

Additionally I implemented a system for switching PMT/PCP between production and dev modes (local vs remove preferences server). This is handled by a query parameter. By default the PMT/PCP will load into production mode unless "?mode=dev" is append to the end of the URL, which will switch it to development mode.

To facilitate the mode switching, I removed the code from PMT and PCP that looked for a user token in the URL. Now they will always use the current logged in user as indicated by the GPIISession with a check to the flow managers currently logged in user. (e.g. http://localhost:8081/token).

http://issues.gpii.net/browse/GPII-625