Adds or overrides configuration options.
Sets logging level.
Incorporates the loading of Livefyre core resources, communication with SUDS and caching, Livefyre authentication, Livefyre's widget loading mechanism with the possibility to extend and modify the process.
Loads init data from the SUDS service.
FT specific UI customizing of the Livefyre widget.
Makes the Livefyre comments widget read-only by hiding the editors and action buttons.
Inserts message when SUDS reports as authentication is not available.
Inserts the terms and guidelines text into the widget.
Comment counter is part of the Livefyre widget, but on FT.com this element is moved out into the header.
Tries to obtain the user's login data. Calls a callback with the resulted status, and also fires an event if the user can be logged in.
Logs out the user in the Livefyre system, and also clears the token from the local cache.
Login required and pseudonym is missing
Login required, first attempt of the login process is successful. If the user is still not logged in, then fail. If the user has no pseudonym, ask for a pseudonym.
Login is required.
If pseudonym is missing, ask for a pseudonym.
If there is no known method to login the user, generate a
loginRequired.authAction event that can be handled at the integration level.
If successful, check if the user is logged in.
Tracks a comment post.
Tracks a comment like.
Tracks when a social media user is mentioned.
Tracks when a user unsubscribes from the email alert.
Tracks when SUDS is down.
Tracks when Livefyre is down and the resources cannot be loaded.
Tracks when the widget is successfully loaded.
Settings dialog where the user can change its pseudonym or email preferences.
Livefyre creates a queue in localStorage when a user posts a comment without being logged in. This method clears the queue.
Clones a plain object by serializing and deserializing an object to JSON.
Pseudonym is still missing.
Pseudonym was missing since the page was loaded and only 1 comment was posted.
Livefyre string overrides. See http://docs.livefyre.com/developers/reference/customization/string-customizations/
Tracks when a user subscribes for email alert
Widget.js exposed as main constructor
Disable HTML5 shiv by Livefyre
Disable Livefyre internal analytics
Merge custom string overrides with FT specific string overrides.
Adds the "Commenting settings" link when login occurs.
Removes the "Commenting settings" link when logout occurs.