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
c213abb8e3
Refactor diary paging queries
2023-09-09 14:23:11 +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
d1d3c2597e
Handle timeouts inside a view for API calls
2023-09-07 00:32:11 +01: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
fdb687517e
Match the top spacing of the leaflet buttons to the gap between groups
...
This removes a usage of sass division operator
2023-09-06 18:10:02 +01:00
Andy Allan
6eac50525b
Use h2 as the main header on the map-ui panel
2023-09-06 18:10:02 +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
Andy Allan
6fc0f764d5
Round the clickable map previews on the layer switcher
...
Most interactive elements on the site are rounded, so we can do the
same for these map previews.
2023-09-06 18:10:02 +01:00
Andy Allan
01eed9b96c
Make the sharing controls read-only
...
They aren't used for inputting any information, only for copying.
2023-09-06 18:10:02 +01:00
Andy Allan
dc24f6c219
Use bootstrap form controls for the link and html controls
2023-09-06 18:10:02 +01:00
Andy Allan
0ea6646fb6
Use bootstrap for share forms
...
This fixes alignment of the checkboxes, and uses bootstrap form
controls for the image format and scale inputs.
Move the custom dimensions input to beside the custom dimensions
display.
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
Tom Hughes
b207cf78a3
Merge remote-tracking branch 'upstream/pull/4223'
2023-09-03 18:55:39 +01:00
Tom Hughes
be3baea4de
Merge remote-tracking branch 'upstream/pull/4222'
2023-09-03 18:54:18 +01:00
Anton Khorev
2b10195441
Remove unused partial _user.atom.builder
2023-09-03 14:47:35 +03:00
Anton Khorev
11df872c3e
Add bbox parameter to notes search api
2023-09-03 11:26:05 +03:00
Anton Khorev
0ef4a299bb
Check required bbox parameter presence outside of BoundingBox class
2023-09-03 09:47:27 +03:00
Tom Hughes
0b1cf53fb9
Drop non-functional check for nil email
2023-09-02 11:51:43 +01:00
Tom Hughes
431ff96b66
Merge remote-tracking branch 'upstream/pull/4216'
2023-09-02 11:48:56 +01:00
Tom Hughes
9693a09664
Merge remote-tracking branch 'upstream/pull/4214'
2023-09-02 11:47:39 +01:00
Tom Hughes
704781ad0b
Add some additional preloads to notes#feed
2023-09-02 11:44:59 +01:00
Anton Khorev
f5c20527aa
Move email-related methods to mixin
2023-09-02 13:43:41 +03:00
Anton Khorev
d2bdf1f0ae
Add notes feed description for unspecified area
2023-09-01 17:05:07 +03:00
Tom Hughes
5317d9481c
Merge remote-tracking branch 'upstream/pull/4212'
2023-08-31 11:12:03 +01:00
Tom Hughes
f32b4bc044
Move changeset comment rate limit check to a predicate method
2023-08-30 18:36:33 +01:00
Tom Hughes
e210b4efbf
Improve naming of changeset comment rate limit settings
2023-08-30 18:25:06 +01: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
Tom Hughes
a99450f558
Merge remote-tracking branch 'upstream/pull/4210'
2023-08-30 18:10:20 +01:00
Andy Allan
4af54ce93b
Use Activerecord '#or' method for queries
...
That let's us use relation names (like `sender`) and avoid dealing
directly with ids.
2023-08-30 17:17:15 +01:00
Andy Allan
b595b87c48
Use trace instead of gpx_id in queries
...
This makes the queries easier to read.
2023-08-30 17:08:46 +01:00
Andy Allan
f5db9cbb20
Avoid using _id in queries
...
This makes the queries shorter and easier to read.
2023-08-30 17:08:16 +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
e68d4efc3c
Merge pull request #4197 from AntonKhorev/user-resources
...
Move user lookup/error methods from app controller to concerns
2023-08-30 15:11:57 +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
Tom Hughes
3422bb541d
Merge remote-tracking branch 'upstream/pull/4198'
2023-08-27 09:46:10 +01:00
Tom Hughes
c7a31ebc5d
Restore ordering of results from the users#index API call
2023-08-26 17:41:22 +01:00
ENT8R
be96aa7cb4
Sort users by their ids
2023-08-26 10:14:40 +02: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