Add the URLAvatarService
Review Request #8481 — Created Oct. 21, 2016 and submitted
The
URLAvatarService
is a new avatar service for setting the avatar of
a user to an absolute URL. This service is a hidden service, which is a
new type of service that is not exposed to users through the
configuration form. (Indeed, attempting to fool the form and submitting
the data will result in an error as if it does not exist.) Instead, it
is to be used to provide avatars for users created by extensions, etc.
- Ran unit tests.
- Tested with Review Board.
- Saw that the service did not show up in the avatar services form.
Description | From | Last Updated |
---|---|---|
'AvatarService' imported but unused |
reviewbot | |
'FileUploadService' imported but unused |
reviewbot | |
'GravatarService' imported but unused |
reviewbot | |
'URLAvatarService' imported but unused |
reviewbot | |
redefinition of unused 'unregister' from line 137 |
reviewbot | |
redefinition of unused 'avatar_service_id' from line 27 |
reviewbot | |
Typo: avatrs. |
david | |
Instead of "Integrations can be configured", how about "Automation users can be configured..." |
david | |
Maybe do one per line for future expansion? |
david | |
Missing : after :py:class. |
chipx86 | |
Is this supposed to be "URLAvatarService" ? |
chipx86 | |
Too many blank lines. |
chipx86 |
-
Tool: Pyflakes Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py Tool: PEP8 Style Checker Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py
-
Tool: Pyflakes Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py Tool: PEP8 Style Checker Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py
-
-
Tool: Pyflakes Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py Tool: PEP8 Style Checker Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py
-
Tool: Pyflakes Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py Tool: PEP8 Style Checker Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py
-
Tool: Pyflakes Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py Tool: PEP8 Style Checker Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py
-
-
Tool: Pyflakes Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py Tool: PEP8 Style Checker Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py
-
Tool: Pyflakes Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py Tool: PEP8 Style Checker Processed Files: djblets/avatars/forms.py djblets/avatars/services/url.py djblets/avatars/services/base.py djblets/avatars/services/__init__.py djblets/avatars/tests.py djblets/avatars/registry.py