Commit graph

181 commits

Author SHA1 Message Date
Tom Hughes
fcb2b4459d Improve testing of social sharing buttons 2024-12-19 08:16:59 +00:00
Tom Hughes
88946c3e8b Drop unused options from social_share_buttons 2024-12-19 08:16:58 +00:00
Tom Hughes
dee02bccd3 Drop unused ability to filter social sharing sites 2024-12-19 08:16:57 +00:00
Tom Hughes
e1a1bebd95 Drop render prefix from social_share_buttons function 2024-12-19 08:16:57 +00:00
Tom Hughes
2a5e35c716 Convert social share helper library into a real helper 2024-12-18 15:07:08 +00:00
Anton Khorev
7e7ede890e Merge branch 'pull/4985' 2024-12-18 16:35:01 +03:00
Emin Kocan
95e1aff234 Add social sharing functionality 2024-12-17 23:36:47 +01:00
Anton Khorev
f051a7c1f5 Write browse element icons as <img> 2024-12-09 13:22:34 +03:00
Anton Khorev
16e97c57ca Truncate if necessary and set dir=auto for note usernames 2024-12-04 14:10:09 +03:00
Anton Khorev
c739e061cc Truncate if necessary and set dir=auto for changeset usernames 2024-12-03 10:24:56 +03:00
Anton Khorev
24ccba60cb Style small auth buttons similarly to preferred auth buttons 2024-11-15 19:09:57 +03:00
Anton Khorev
b8247478f4 Use resourceful routes for granting/revoking user roles 2024-11-06 18:38:26 +03:00
Tom Hughes
60c1ae79d6 Fix warnings about tests with no assertions 2024-09-17 20:39:31 +01: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
Tom Hughes
24d535237c Merge remote-tracking branch 'upstream/pull/4917' 2024-06-27 17:47:16 +01:00
Emin Kocan
3dc76a9bc0 style auth buttons using .btn & .btn-light classes 2024-06-27 14:55:28 +02:00
Anton Khorev
06820acc4b Discard fragments from wikimedia_commons tag values 2024-06-22 21:48:42 +03: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
Anton Khorev
9f3ac8f5ce Url-encode wikimedia_commons tag values 2024-06-20 22:13:28 +03:00
Anton Khorev
ebaae09797 Fully encode wikipedia tag values 2024-06-08 15:59:30 +03:00
Anton Khorev
5a22464224 Don't include language prefix in wikipedia links 2024-06-01 04:56:57 +03: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
Anton Khorev
d9e650fde1 Use inline svgs for user role icons 2024-05-07 15:51:23 +03:00
Tom Hughes
b625eefdeb Merge remote-tracking branch 'upstream/pull/4455' 2024-05-06 09:15:03 +01: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
acac5fcc89 Use .align-text-bottom for feed icon images 2024-04-28 02:07:53 +03:00
Anton Khorev
a2e7b5db56 Remove border=0 from feed icons 2024-04-28 02:02:15 +03: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
5cb04d5ee0 Use secondary text color in header menu 2024-04-08 17:40:01 +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
7c522a4e02 Link to current and old element versions from changeset pages 2024-02-19 05:04:18 +03:00
Anton Khorev
ba2c75641d Move element title to changeset/relation list item 2024-02-19 03:42:24 +03:00
Anton Khorev
a8f14fb509 Separate element strikethrough from classes 2024-02-19 03:41:59 +03:00
Anton Khorev
d4aa257524 Apply changeset element classes to list items 2024-02-19 02:58:52 +03:00
Andy Allan
e7ddfe1084
Merge pull request #4401 from KasperFranz/buried-wikidata
Add buried to list of secondary Wiki prefixes
2024-01-24 11:39:28 +00:00
Tom Hughes
e71355c5bb Fix new rubocop warnings 2024-01-23 18:14:28 +00:00
Anton Khorev
4453728a72 Preview colour tag value using svg 2024-01-14 18:54:33 +03:00
Anton Khorev
cda8ca0607 Use <path> instead of <line> 2023-12-24 19:47:37 +03:00
Anton Khorev
b13ac4ec21 Add border/casing/line attribute support to svg map keys 2023-12-24 19:47:37 +03:00
Anton Khorev
07436bc1b0 Keep trailing semicolons in formatted tag values 2023-12-14 18:08:06 +03:00
Kasper Sanguesa-Franz
2a6f78747e Add buried to list of secondary Wiki prefixes 2023-12-12 09:12:38 +00:00