Anton Khorev
a780a7456f
Don't interpolate in pagination partial
2023-09-09 14:33:58 +03:00
Anton Khorev
ea86f8f682
Make pagination partial view
2023-09-09 14:23:12 +03:00
Anton Khorev
299c59e34f
Change diary comments pagination to before/after id
2023-09-09 14:23:10 +03:00
Tom Hughes
0e21afc565
Merge remote-tracking branch 'upstream/pull/4241'
2023-09-08 18:09:00 +01:00
Anton Khorev
9682fe6431
Add user id to api trace output
2023-09-08 17:13:57 +03:00
Anton Khorev
5244b2cd0b
Fix alignment in profile and diary location forms
2023-09-07 17:20:43 +03:00
Tom Hughes
f138055849
Merge remote-tracking branch 'upstream/pull/4225'
2023-09-06 18:42:29 +01:00
Tom Hughes
1220a9930e
Merge remote-tracking branch 'upstream/pull/4234'
2023-09-06 18:36:28 +01:00
Andy Allan
c162a9660e
Use standard padding size for map-ui sidebar
...
The previous padding didn't match the main sidebar, and also used
sass division as part of the calculation.
2023-09-06 18:10:02 +01:00
Anton Khorev
cabee40032
Mute hidden comment text in each table cell
2023-09-06 18:10:02 +01:00
Andy Allan
b7ad61560c
Fix lack of margin on changeset browsing messages
...
The display area here uses negative margins to make the flush list
work, so we need to add them back in for normal text.
2023-09-06 16:51:25 +01:00
Tom Hughes
8aba3c4ec4
Merge remote-tracking branch 'upstream/pull/4230'
2023-09-05 17:30:03 +01:00
Anton Khorev
caf49bb25d
Show user id on profile pages to moderators and admins
2023-09-05 13:35:08 +03:00
Anton Khorev
728ad161c4
Mute hidden comment text in each table cell
2023-09-05 11:50:58 +03:00
Anton Khorev
7e6de66444
Swap older/newer diary entries buttons
2023-09-04 16:32:54 +03:00
Anton Khorev
2b10195441
Remove unused partial _user.atom.builder
2023-09-03 14:47:35 +03:00
Anton Khorev
d2bdf1f0ae
Add notes feed description for unspecified area
2023-09-01 17:05:07 +03:00
Andy Allan
1253bdcdc5
Use bootstrap badges to implement count-number badges
...
This leaves bootstrap to take care of most aspects, while retaining
the current colours and font weights.
2023-08-30 18:11:56 +01:00
Andy Allan
124909a64c
Merge pull request #4193 from AntonKhorev/lookup-friend
...
Lookup friend user before make/remove friend action
2023-08-30 15:17:11 +01:00
Andy Allan
a1657f03a8
Merge pull request #4202 from tomhughes/changeset-comment-limit
...
Add rate limiting for changeset comments
2023-08-30 11:12:40 +01:00
ENT8R
b9c85c2697
Use where instead of find to prevent 404
2023-08-26 00:31:18 +02:00
Tom Hughes
a274726f46
Add rate limiting for changeset comments
...
Fixes #4196
2023-08-25 19:53:04 +01:00
Anton Khorev
d6ec3bbc60
Lookup friend user before make/remove friend action
2023-08-21 17:44:50 +03:00
Tom Hughes
2a1689f962
Merge remote-tracking branch 'upstream/pull/4169'
2023-08-20 11:04:28 +01:00
Milan Cvetkovic
ad164d384e
Change provider name to "microsoft"
2023-08-20 10:19:30 +01:00
Anton Khorev
3f6e344e6a
Expose note query limit values in api capabilities
2023-08-19 05:40:34 +03:00
Anton Khorev
5bdaf0b73b
Add JSON output to /api/versions
2023-08-18 05:16:39 +03:00
Anton Khorev
d69ae84963
Add color keys to note tables
2023-08-17 19:26:26 +03:00
Milan Cvetkovic
568bf4939d
Replace references to windowslive with microsoft_graph
2023-08-17 13:01:15 +00:00
Milan Cvetkovic
7428da74c2
Use omniauth-microsoft_graph instead of omniauth-windowslive
...
Omniauth-microsoft_graph correctly populates 'email' and 'name' fields used by OpenStreetMap.
It also uses updated endpoints for Microsoft identity provider.
Use email address returned by microsoft_graph provider as a verified address.
Upgrading exisiting users from windowslive to microsoft_graph:
- upon next login existing `windowslive` users will have to authorizei
OpenStreetMap application to "Read Your Profile," required for proper reading
of display name field.
The name of the identity provider in OSM is kept to 'windowslive':
- the entries in users table with `provider == 'windowslive'`
can be reused for microsoft_graph provider, since
the uid field is preserved. Users will not need to repeat the sign up process.
- OAuth2 callback is still `/auth/windowslive`, no updates to Microsoft Identity Provider portal
App registration are necessary.
2023-08-17 13:01:15 +00:00
Andy Allan
9174049d6b
Merge pull request #4150 from AntonKhorev/note-table-bootstrap-highlight
...
Use Bootstrap highlight class in note tables
2023-08-16 13:35:47 +01:00
Andy Allan
9173dd3192
Merge pull request #4148 from tomhughes/avatar-image
...
Use correct extension and type for avatar images attached to mails
2023-08-16 11:35:33 +01:00
Andy Allan
59e9203a0a
Merge pull request #4173 from AntonKhorev/comments
...
Small changes of diary comments
2023-08-16 11:27:42 +01:00
Anton Khorev
8efc15ea7a
Replace top margin on comments with bottom padding on diary posts
2023-08-16 04:22:50 +03:00
Anton Khorev
e5ce6ffbb8
Remove empty comments anchor
2023-08-16 04:17:50 +03:00
Tom Hughes
6982903ae7
Fix predicate method names in the user model
2023-08-15 18:53:14 +01:00
Tom Hughes
e6a8b40098
Make the close icon on banners more visible
...
Fixes #4165
2023-08-14 08:31:10 +01:00
Tom Hughes
7912b7620f
Add support for dark banner images that need a white close icon
2023-08-13 21:57:09 +01:00
Tom Hughes
e2cb2327f9
Merge remote-tracking branch 'upstream/pull/4144'
2023-08-13 10:50:33 +01:00
Tom Hughes
a1798fe6fb
Merge remote-tracking branch 'upstream/pull/4159'
2023-08-13 10:38:58 +01:00
Tom Hughes
ec89709b5b
Allow a srcset to be specified for banners
2023-08-13 09:37:27 +01:00
Tom Hughes
d8abf0dc7e
Merge remote-tracking branch 'upstream/pull/4155'
2023-08-12 15:20:41 +01:00
Anton Khorev
24d6b3c55f
Add JSON output to /api/0.6/capabilities
2023-08-12 06:00:46 +03:00
Anton Khorev
41f8607810
Use article html elements for diary posts
2023-08-12 01:40:34 +03:00
Anton Khorev
6fcaa0e53c
Update diary edit form styling
2023-08-12 01:40:32 +03:00
Anton Khorev
9d95d548e8
Update diary comments styling
2023-08-12 01:30:54 +03:00
Anton Khorev
98f1e2a21d
Update diary entry styling
...
user_<id> class was kept because
https://github.com/openstreetmap/openstreetmap-website/pull/2266
2023-08-12 01:30:53 +03:00
Anton Khorev
2a32a0427b
Disable show home location button if close enough to map center
2023-08-11 21:47:13 +03:00
Anton Khorev
a2ff9b38f8
Add user home location change listeners and buttons
2023-08-11 21:44:15 +03:00
Anton Khorev
033c032ed6
Add home location condition to user model
2023-08-11 21:44:15 +03:00