forked from isso-comments/isso
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have client read out shared settings from server (isso-comments#311)
The following settings are sent as a config object from the server to the client: - `reply-to-self` - `require-author` - `require-email` - `reply-notifications` - `gravatar` This means that the following settings will be ignored when set on the client side: - `data-isso-reply-to-self` - `data-isso-require-author` - `data-isso-require-email` - `data-isso-reply-notifications` - `data-isso-gravatar` Isso will notify the user on the browser console if a client setting has been overwritten by a config from the server. Gravatar setting trumps regular avatars: In addition, `data-isso-avatar` will be set to `false` when gravatars are enabled to prevent both regular avatars and gravatars appearing side-by-side. Documentation updates: Update docs for shared server-client settings and clarify documentation for gravatar/avatar settings
- Loading branch information
Showing
5 changed files
with
68 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters