Anton Khorev
24ccba60cb
Style small auth buttons similarly to preferred auth buttons
2024-11-15 19:09:57 +03:00
Anton Khorev
80d7fe4cce
Move auth provider icons to auth_providers subdirectory
2024-07-19 20:24:46 +03:00
Anton Khorev
b0e41cf142
Remove name parameter from auth button helpers
2024-07-16 17:12:17 +03:00
Anton Khorev
38bfb33c02
Remove single-use OpenID logo helper
2024-07-10 13:50:39 +03:00
Anton Khorev
088a78d83c
Remove .d-block classes from auth buttons
...
Unnecessary on flex items.
2024-07-09 17:51:50 +03:00
Tom Hughes
330e2cc521
Merge remote-tracking branch 'upstream/pull/4963'
2024-07-08 18:29:56 +01:00
Anton Khorev
bacca516f0
Use flex gap instead of margins on auth buttons
2024-07-08 17:28:36 +03:00
Anton Khorev
a696d2b24c
Remove unnecessary classes from preferred auth button
...
.rounded is the default rounding for this button type.
.fs-6 is the default font size for this button type.
2024-07-08 17:24:48 +03:00
Tom Hughes
5cc0b26bba
Merge remote-tracking branch 'upstream/pull/4916'
2024-06-27 17:56:13 +01:00
Emin Kocan
8e1071ebf1
utilize button classes on preferred auth button
2024-06-27 15:43:57 +02:00
Emin Kocan
3dc76a9bc0
style auth buttons using .btn & .btn-light classes
2024-06-27 14:55:28 +02:00
Emin Kocan
b057c7ae5a
Arrange button sizes to default size of 36px
...
As discussed in #4773 there was not any clarification as why auth button sizes were reduced so 36px is now accepted as default. This commit addresses that comment/issue.
2024-06-21 12:08:58 +02:00
Tom Hughes
161fc8ac47
Replace deprecated text-muted class with text-body-secondary
2024-05-22 11:58:32 +01:00
Hidde Wieringa
036c87b355
OpenID connect icons to SVG
...
re-add whitespace
trigger CI
revert size attribute
2024-05-16 21:16:28 +02:00
Milan Cvetkovic
b4f719a8c5
Use consistent sizing for social signup buttons
2024-05-10 16:08:06 +00:00
Milan Cvetkovic
9649b192c0
Add preferred provider social signup
...
- Add preferred provider for authorization to login and signup pages.
To use, the 3rd party application would have to add `preferred_provider=...`
parameter to OAuth2 authorization request.
- Resize 3rd party provider icons
- Add "login to authorize" heading to login and signup screens
2024-04-29 11:32:54 +00:00
Milan Cvetkovic
ae87d2ca7f
Extract 3rd party login buttons from login screen
2024-04-27 12:44:09 +01:00
Anton Khorev
98ad72c6eb
Force body background on avatars
2024-04-10 04:36:16 +03:00
Anton Khorev
33ff4fbd06
Use avatar.svg on osm web pages
2024-04-10 04:16:54 +03:00
Anton Khorev
0fb635e8bc
Replace border-grey css class with border-secondary-subtle
...
No noticeable difference (#cccccc vs #cfcfcf) and no problems with dark mode.
2024-04-06 17:11:38 +03:00
Milan Cvetkovic
518f55c191
Use official "Log in to Microsoft" icon
...
Downloaded from https://learn.microsoft.com/en-us/entra/identity-platform/howto-add-branding-in-apps
on 2024-03-15.
2024-03-15 15:34:51 +00:00
Tom Hughes
a6b5f2f56d
Adjust code for rails internal changes
2023-10-18 18:26:14 +01:00
Anton Khorev
113c32f65e
Remove custom css for OpenID logo
2023-08-10 19:43:54 +03:00
mxdanger
a6b655862e
Bootstrap 5: Change rounded-lg to rounded-3
2022-07-22 13:17:36 -07:00
Andy Allan
52cd62bf13
Replace CSS-driven borders with bootstrap borders
...
This makes future refactoring easier, since the elements will
retain their borders even if the hierarchy changes.
Also round some maps and the legale section since I think those now
look nicer.
2021-11-24 12:24:16 +00:00
Andy Allan
9f61d6c1cf
Specify avatar dimensions in html tags
...
This prevents reflow when the images are loaded by the browser.
ActiveStorage variants are resized lazily when the image is requested,
so we only know the dimensions if the image was already loaded. This
means that there will be one reflow just after a new avatar is first
viewed.
2021-10-13 14:05:02 +01:00
Tom Hughes
cd5d54ce4e
Use image_processing macros to resize images
2021-05-12 18:49:21 +01:00
Andy Allan
f18baae22e
Refactor login/logout into sessions controller
...
Certain controller methods are shared with oauth-based logins, and these have been
moved to a concern.
2021-03-24 11:32:46 +00:00
Tom Hughes
5912a8011b
Update to Omniauth 2.x
...
This requires converting all use of the /auth endpoints
to use the POST method as GET is no longer supported.
2021-02-02 19:49:03 +00:00
Andy Allan
c192bd0d40
Use bootstrap utility class instead of custom css
2020-12-16 17:34:12 +00:00
mxdanger
aad1c1b933
Add updated authentication logos
2020-11-13 20:02:00 -08:00
Tom Hughes
1addc078c0
Avoid trying to resize non-resizable images
...
Fixed #2329
2019-07-31 11:42:09 +01:00
Tom Hughes
40ac2aa528
Use the configured host name for user image URLs
2019-07-16 22:41:37 +01:00
Tom Hughes
91a37235ac
Remove support for old style user images
2019-07-16 22:33:26 +01:00
Tom Hughes
b911b45961
Return absolute URLs for user images
2019-07-16 22:28:36 +01:00
Tom Hughes
6c202448ad
Move user images to Active Storage with paperclip as a fallback
2019-07-09 19:17:30 +01:00
Andy Allan
3ec67ea2d3
Rename user_controller to users_controller
2018-10-03 15:31:10 +02:00
Tom Hughes
f70edc02f0
Return the "large" image from the user details API call
...
Closes #1923
2018-07-09 20:26:37 +01:00
Tom Hughes
87a7829eb8
Add some tests for the user helper
2017-07-06 19:11:21 +01:00
Tom Hughes
eeb9866d50
Add support for Google OAuth2 authentication
...
This replaces OpenID authentication, which is going away soon, but
provides an upgrade path where we can migrate users that already have
a Google OpenID setup to the new system transparently.
2015-04-14 10:08:07 +01:00
Tom Hughes
e434cb154c
Convert OpenID authentication to generic third party authentication
2015-02-25 01:07:23 +00:00
Tom Hughes
b0150caee6
Convert OpenID authentication to use OmniAuth
2015-02-25 01:07:23 +00:00
Tom Hughes
dc2a2c8ebd
Standardise on double quoted strings
2015-02-20 19:47:26 +00:00
Tom Hughes
baf10cd392
Fix rubocop lint issues
2015-02-20 08:56:16 +00:00
Tom Hughes
ef7f3d800c
Fix most auto-correctable rubocop issues
2015-02-20 08:56:16 +00:00
Tom Hughes
67dbde0fde
Set empty alt text on user images
...
This stops a stupidly long URL being shown if something goes wrong
with the gravatar redirect back to the default image.
2014-01-12 19:28:01 +00:00
Tom Hughes
28a19f5f13
Load gravatar images over https on https pages
2013-11-30 15:38:11 +00:00
Tom Hughes
be7cc77397
Use image_url instead of nasty hacks
2013-09-24 10:46:32 +01:00
Paweł Paprota
ad43499205
Implemented Gravatar support
2012-10-18 18:59:38 +01:00
Tom MacWright
be8617dfdc
Redesign inbox
...
Cuts down on buttons, grey, and bold clutter.
2012-10-02 19:34:49 +01:00