discourse/app
Wilhansen Li e0f970326f Implement SSO overriding avatars.
Implemented by having Discourse download the image from the provided URL
and treating it as a custom upload.

Adds two more parameters to the SSO site’s response:

* `avatar_url` specifies the URL of the overriding avatar.
* `avatar_force_update` Discourse does not re-download avatars that
has already been download from the same URL. Setting this to true forces
Discourse to re-download the avatar in `avatar_url`

Note that both parameters are ignored if `sso_overrides_avatar` is set
to false.
2014-08-19 15:53:34 +08:00
..
assets Implement SSO overriding avatars. 2014-08-19 15:53:34 +08:00
controllers FIX: redirect old avatars to proper user_avatar route 2014-08-18 17:45:07 +02:00
helpers updated checks of environment with Rails.env by Rails.env methods 2014-08-18 15:36:47 +05:30
jobs FIX: only update column if we have a user 2014-08-19 17:26:20 +10:00
mailers Revert "Enable RTL direction in emails." 2014-08-06 15:30:07 -04:00
models Implement SSO overriding avatars. 2014-08-19 15:53:34 +08:00
serializers FIX: Inconsistency between unread counter and unread filter 2014-08-18 16:15:26 -04:00
services FIX: before nuking a user, do a real count of posts instead of relying on user_stat record 2014-08-18 12:07:29 -04:00
views Allow translating "Log In" button in HTML code. 2014-08-12 11:23:45 +02:00