Commit graph

895 commits

Author SHA1 Message Date
Anton Khorev
2cd63d3001 Always check the order when testing changeset queries 2024-08-06 04:08:18 +03:00
Anton Khorev
2ba7eab67d Change richtext edit/preview buttons type to non-submit 2024-08-03 04:52:13 +03:00
Milan Cvetkovic
0db47f3f76 Add Messages API
as discussed in [Issue #4509](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal)
and documented in [Messaging API reference](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal)
2024-07-29 10:42:38 +00:00
Anton Khorev
898731ed81 Merge branch 'pull/5020' 2024-07-28 18:54:42 +03:00
Tom Hughes
541f0630ac Merge remote-tracking branch 'upstream/pull/5022' 2024-07-26 17:52:54 +01:00
Tom Hughes
9e4a240975 Merge remote-tracking branch 'upstream/pull/5016' 2024-07-26 17:47:58 +01:00
Anton Khorev
5e0cf6b0ce Move check_block_buttons method to other private methods 2024-07-26 03:42:11 +03:00
Anton Khorev
2764591a7d Allow revokers to edit revoked blocks 2024-07-26 03:38:27 +03:00
Anton Khorev
fd78d3def0 Simplify issue path helper calls 2024-07-26 03:28:42 +03:00
Tom Hughes
5285f69a8a Merge remote-tracking branch 'upstream/pull/5018' 2024-07-25 17:06:59 +01:00
Tom Hughes
1a7d68ccbc Convert tests using OAuth 1 tokens to use OAuth 2 tokens 2024-07-25 16:55:47 +01:00
Anton Khorev
724376419a Simplify api changeset path helper calls 2024-07-25 16:55:27 +03:00
Anton Khorev
a05de1e0a7 Use assert_not_predicate instead of assert_not next to assert_predicate 2024-07-25 04:56:57 +03:00
Anton Khorev
d88cb014cb Show edit links for revoked blocks to revokers 2024-07-25 04:05:31 +03:00
Tom Hughes
58ac035d41 Merge remote-tracking branch 'upstream/pull/5014' 2024-07-24 18:24:50 +01:00
Tom Hughes
5b118c6828 Merge remote-tracking branch 'upstream/pull/5013' 2024-07-24 18:17:07 +01:00
Tom Hughes
f643b6627c Merge remote-tracking branch 'upstream/pull/5012' 2024-07-24 18:16:02 +01:00
Anton Khorev
6ec1947e90 Show edit links for inactive blocks on block pages 2024-07-24 04:55:59 +03:00
Anton Khorev
d750cc3e80 Show edit links for inactive blocks in block lists 2024-07-24 04:44:59 +03:00
Anton Khorev
51708d6238 Allow to edit inactive blocks 2024-07-24 04:43:13 +03:00
Anton Khorev
a2aa44e026 Change diary comment post paths 2024-07-23 19:00:02 +03:00
Anton Khorev
580daf06bd Check diary entry edit/update ability using CanCanCan 2024-07-23 18:22:46 +03:00
Anton Khorev
a3282b8542 Select closest value to remaining duration when editing a block 2024-07-22 18:58:43 +03:00
Anton Khorev
64dfb88ddf Fix marking muted messages as read/unread 2024-07-18 18:48:14 +03:00
Tom Hughes
28726e5f11 Merge remote-tracking branch 'upstream/pull/4973' 2024-07-16 17:16:45 +01:00
Anton Khorev
067754b766 Simplify hide path helper calls 2024-07-16 17:35:04 +03:00
Anton Khorev
1f4c298f76 Simplify subscribe path helper calls 2024-07-16 17:32:00 +03:00
nertc
08fa95cbfc When downloading image, allow other map styles 2024-07-15 19:08:49 +04:00
Anton Khorev
0f63f0fd3d Check comment ids instead of factory sequence numbers in changeset feed tests 2024-07-15 17:29:12 +03:00
Tom Hughes
1859728558 Merge remote-tracking branch 'upstream/pull/4984' 2024-07-14 15:40:39 +01:00
Anton Khorev
7917a7db80 Parse lat and lon independently when using dms notation 2024-07-13 17:52:39 +03:00
Anton Khorev
d4ff510b03 Check that fractional part is present after . in geocoder latlon tests 2024-07-13 16:09:08 +03:00
Anton Khorev
392d3d1226 Merge branch 'pull/4961' 2024-07-13 14:48:44 +03:00
Anton Khorev
00c2589374 Move diary comment action to comments controller 2024-07-12 17:58:43 +03:00
Tom Hughes
6d217da3b6 Test that geocoder results are not in scientific form 2024-07-12 14:43:54 +01:00
Tom Hughes
e5057dd57a Use named captures to simplify latlon parsing 2024-07-12 14:43:32 +01:00
Tom Hughes
f047f86c1d Preserve lat and lon values as entered for reverse searches 2024-07-12 12:04:16 +01:00
nertc
676aef5be6 Order of comments in changeset comments feeds 2024-07-05 19:00:15 +04:00
nertc
4b593412c2 Accept coordinates with a slash in search 2024-07-02 23:48:55 +04:00
Tom Hughes
b03eb84bb6 Only the sender of a message should be able to mark it as read/unread 2024-06-29 00:14:42 +01:00
Andy Allan
7f3cb3c624
Merge pull request #4610 from AntonKhorev/no-old-note-api
Remove old note api endpoints
2024-06-26 14:17:39 +01:00
Nenad Vujicic
839d203d51 Added link to nominatim results in searching results
Fixes #3205. Added caching of nominatim URL query parameters in sources global variable (as parameters parameter) in GeocoderController#search for both direct and reverse geocoding. In app/views/geocoder/search.html.erb added displaying cached URL as forwarding link when clicked on "OpenStreetMap Nominatim" label. Updated GeocoderControllerTest to check only name (latlng, osm_nominatim, osm_nominatim_reverse) parameter of new sources variable.
2024-06-19 15:44:56 +02:00
Tom Hughes
505dcde52a Add tests for API changeset size limits 2024-06-19 00:46:35 +01:00
Tom Hughes
61c5011813 Update tests to avoid triggering changeset size limits 2024-06-19 00:46:35 +01:00
Tom Hughes
2d09b9408b Merge remote-tracking branch 'upstream/pull/4891' 2024-06-17 17:22:38 +01:00
Anton Khorev
a128b4f585 Move diary comments hide/unhide actions to comments controller 2024-06-17 18:16:31 +03:00
Anton Khorev
b97834f1fd Use default og:image if Addressable::URI fails 2024-06-15 15:57:10 +03:00
Anton Khorev
c03649355a Join and normalize og:image url using Addressable
Avoids failing on urls that are not strictly rfc2396 URIs.
2024-06-15 15:06:07 +03:00
Anton Khorev
6624beff11 Move diary comments index action to comments controller 2024-06-10 16:32:53 +03:00
Anton Khorev
24c138ac8d Ensure that Open Graph image url is absolute 2024-06-06 18:01:23 +03:00