Commit graph

33 commits

Author SHA1 Message Date
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
Anton Khorev
bacca516f0 Use flex gap instead of margins on auth buttons 2024-07-08 17:28:36 +03:00
Anton Khorev
81ac29fad8 Change auth provider logo alt texts to indicate that these are logos 2024-07-03 10:53:25 +03:00
Tom Hughes
5cc0b26bba Merge remote-tracking branch 'upstream/pull/4916' 2024-06-27 17:56:13 +01: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
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
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
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
Milan Cvetkovic
e614faaf8a Replace "Login" labels with "Log in" when used as a verb 2024-03-14 15:34:12 +00:00
Anton Khorev
113c32f65e Remove custom css for OpenID logo 2023-08-10 19:43:54 +03:00
Tom Hughes
273cb9e00a Fix test for change in class 2022-07-22 22:48:31 +01:00
Tom Hughes
a3617b492e Drop AOL and Wordpress login links
Fixes #3555
2022-05-20 18:25:15 +01: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
4a45092e27 Remove the Yahoo OpenID link as they no longer support OpenID 2021-06-17 22:33:05 +01:00
Tom Hughes
a71b8af4d1 Update to rails 6.1.3.2 2021-05-12 18:49:21 +01: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
ea59d95f4a Fix some new rubocop warnings 2020-08-06 22:27:30 +01:00
Tom Hughes
91a37235ac Remove support for old style user images 2019-07-16 22:33:26 +01:00
Tom Hughes
6c202448ad Move user images to Active Storage with paperclip as a fallback 2019-07-09 19:17:30 +01: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
8379b65174 Improve user_image_url test
Use a user that actually has an image and updated the expect
output to match that.
2017-10-09 19:10:32 +01:00
Tom Hughes
87a7829eb8 Add some tests for the user helper 2017-07-06 19:11:21 +01:00