Commit graph

7190 commits

Author SHA1 Message Date
Anton Khorev
20a6e0fab6 Use bg-body in "log in / sign up to access" messages 2024-05-12 17:58:21 +03:00
Tom Hughes
c2977d6051 Stop login/signup tab bar getting reversed with RTL languages
Fixes #4780
2024-05-12 14:55:17 +01:00
Tom Hughes
ebb1fba41d Really remove login.live.com from CSP allow list 2024-05-10 17:55:11 +01:00
Tom Hughes
bac40c94e4 Merge remote-tracking branch 'upstream/pull/4779' 2024-05-10 17:49:05 +01:00
Milan Cvetkovic
b07c758345 Fix CSP failures for Microsoft social sign-in
Replace login.live.com with login.microsoftonline.com in CSP allow list.

The URL changed with the move from using the omniauth-windowslive plugin
to the omniauth-microsoft_graph plugin but wasn't noticed until now.
2024-05-10 17:40:14 +01:00
Milan Cvetkovic
b4f719a8c5 Use consistent sizing for social signup buttons 2024-05-10 16:08:06 +00:00
Anton Khorev
d8e3b037d5 Remove border attribute from <img> on Copyright page 2024-05-09 15:43:12 +03:00
Tom Hughes
9907215650 Merge remote-tracking branch 'upstream/pull/4764' 2024-05-08 18:47:09 +01:00
Tom Hughes
88ca76e6e8 Merge remote-tracking branch 'upstream/pull/4772' 2024-05-08 18:29:53 +01:00
Tom Hughes
74195e38bf Merge remote-tracking branch 'upstream/pull/4771' 2024-05-08 18:24:28 +01:00
Anton Khorev
d8b592ddb2 Remove bs-custom-file-input javascript plugin 2024-05-08 17:47:52 +03:00
Anton Khorev
31f4ab5c46 Make blank role icons transparent 2024-05-08 17:05:57 +03:00
Anton Khorev
e2e77a4229 Lighten moderator icon color 2024-05-08 14:25:10 +03:00
Anton Khorev
d934d6f543 Lighten Leaflet scale control borders in dark mode 2024-05-08 14:08:17 +03:00
Anton Khorev
c29cdf378f Adapt Leaflet scale and attribution controls to dark mode 2024-05-08 14:08:17 +03:00
Anton Khorev
b66debabf5 Delete role icon files 2024-05-07 15:51:23 +03:00
Anton Khorev
12d797b351 Use inline svgs for moderator scope icons 2024-05-07 15:51:23 +03:00
Anton Khorev
d9e650fde1 Use inline svgs for user role icons 2024-05-07 15:51:23 +03:00
Tom Hughes
31d879d403 Merge remote-tracking branch 'upstream/pull/4759' 2024-05-06 18:36:44 +01:00
Anton Khorev
29e1336da3 Use inline svg for notice icons
Allows to set fill to currentColor which adapts to dark mode.
2024-05-06 14:33:57 +03:00
Anton Khorev
03a7737938 Remove the arm pointing to the new user registration form
The arm has a white shadow that doesn't look good in dark mode.
2024-05-06 13:31:46 +03:00
Tom Hughes
b625eefdeb Merge remote-tracking branch 'upstream/pull/4455' 2024-05-06 09:15:03 +01:00
Tom Hughes
1874e5b1a2 Improve flash message handling in users#new
Only show the duplicate email message if we actually have errors
logged against the email field, and then show it as a warning.

In all other cases we show the generic informational hint about
social logins and pre-existing accounts.
2024-05-06 09:14:49 +01:00
Anton Khorev
5da2957591 Redirect to inbox after marking a message as read/unread disregarding referer
Avoids staying on the message page after the "Mark as unread" button is clicked and immediately reading the message again.
2024-05-05 15:32:47 +03:00
Tom Hughes
b3759c0d58 Merge remote-tracking branch 'upstream/pull/4747' 2024-05-02 17:52:45 +01:00
Anton Khorev
15e1459f25 Link to previous/next nonempty user's changeset on changeset pages 2024-05-01 15:02:59 +03:00
Anton Khorev
6a5fea01b1 Update outdated tags of amenity/office/shop browse icons 2024-05-01 10:25:38 +03:00
Tom Hughes
2058251659 Merge remote-tracking branch 'upstream/pull/4735' 2024-04-30 18:58:42 +01:00
Tom Hughes
9ee3df33bd Merge remote-tracking branch 'upstream/pull/4712' 2024-04-30 18:46:14 +01:00
Tom Hughes
183e5c6d67 Merge remote-tracking branch 'upstream/pull/4744' 2024-04-30 18:41:01 +01:00
Tom Hughes
8dafc39ab3 Merge remote-tracking branch 'upstream/pull/4740' 2024-04-30 18:37:25 +01:00
Anton Khorev
dea9c385b3 Set trace thumbnail link display property to inline-block, fixing focus outline
This makes <a> as tall as <img> inside it.
2024-04-30 17:14:07 +03:00
Anton Khorev
728425858d Don't change display property of messages table header cell 2024-04-30 06:58:43 +03:00
Anton Khorev
a84c1cb89d Remove .message-summary css classes and selectors
They are not necessary because they select every table body row, and the table already has its own class.
2024-04-30 06:49:30 +03:00
Anton Khorev
90f1c49227 Invert dark browse icons in dark mode 2024-04-30 06:20:50 +03:00
Anton Khorev
c1dc4f62eb Write browse icons using Sass loop 2024-04-30 06:20:50 +03:00
Tom Hughes
b46c53d329 Merge remote-tracking branch 'upstream/pull/4736' 2024-04-29 22:40:53 +01:00
Tom Hughes
a76a2db37c Merge remote-tracking branch 'upstream/pull/4737' 2024-04-29 22:38:55 +01:00
Milan Cvetkovic
4965c19b7a Re-introduce additional round trip for verifying auth_provider 2024-04-29 11:32:54 +00:00
Milan Cvetkovic
c486dd5532 Rename verified_email to email_hmac parameter in /users/new 2024-04-29 11:32:54 +00:00
Milan Cvetkovic
2b4096e566 Remove "Sign up" and "Log in" from application bar when sessions or user controller are active 2024-04-29 11:32:54 +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
Anton Khorev
728a03466c Remove color override for user dropdown message count 2024-04-29 10:07:10 +03:00
Anton Khorev
d4f4a97b7f Adapt Leaflet context menus to dark mode 2024-04-29 09:47:14 +03:00
Anton Khorev
dd29af0ec4 Remove white background from tree, gate, level crossing icons 2024-04-29 09:11:18 +03:00
Tom Hughes
fc81201cab Mark copyright example image as fluid
This preserves the old behaviour after #4732 is applied.
2024-04-28 18:47:13 +01:00
Tom Hughes
fd732ee33d Merge remote-tracking branch 'upstream/pull/4732' 2024-04-28 18:45:44 +01:00
Tom Hughes
0e749fd5be Merge remote-tracking branch 'upstream/pull/4731' 2024-04-28 18:41:17 +01:00
Anton Khorev
312648cb05 Remove custom css applied to images inside paragraphs 2024-04-28 02:44:34 +03:00
Anton Khorev
e820e143a8 Remove custom css for note icons on welcome and fixthemap pages 2024-04-28 02:22:33 +03:00