Commit graph

7605 commits

Author SHA1 Message Date
Andy Allan
10a4c5cf6e Rename Feeds::ChangesetCommentsController to ChangesetComments::FeedsController
We usually create nested controllers with the main controller as the module,
and the nested controller as the specialization, e.g. Users::DeletionsController
or Traces::IconsController.

This then leaves the topic of whether the feed resource is plural, and whether we
are then showing a singular feed or showing a list (index) of objects.

The routes are carefully named so that we have `changesets_comments_feed_path` (the
comments feed for all changesets) vs `changeset_comment_feed_path(changeset)` (the
comments for a singular changeset).
2024-08-28 18:31:36 +01:00
Andy Allan
a948f2bc24
Merge pull request #4587 from AntonKhorev/changeset-comment-routes
Move changeset comments feed to resourceful routes
2024-08-28 18:30:11 +01:00
Andy Allan
b9988bdbc8
Merge pull request #5093 from AntonKhorev/diary-comments-shallow-paths
Use shallow routes for diary comments
2024-08-28 14:58:53 +01:00
nertc
3cf5667c91 Add turbo to Issues page 2024-08-27 11:50:43 +04:00
nertc
c32f6dd4ff Add pagination to Issues page 2024-08-26 13:57:44 +04:00
Tom Hughes
ec5754a9bd Merge remote-tracking branch 'upstream/pull/5110' 2024-08-23 18:09:21 +01:00
Tom Hughes
dd1c07f609 Merge remote-tracking branch 'upstream/pull/5111' 2024-08-23 18:01:27 +01:00
Tom Hughes
6704a6a0dc Merge remote-tracking branch 'upstream/pull/5107' 2024-08-23 17:48:48 +01:00
Anton Khorev
4a38ab5c80 Move changeset comment feeds to resourceful routes 2024-08-23 18:14:19 +03:00
Anton Khorev
09d5ae68dd Move changeset comments controller to feeds module 2024-08-23 17:40:26 +03:00
Anton Khorev
52324cba89 Disable turbo on all links inside pagination frames except older/newer 2024-08-23 15:00:55 +03:00
Anton Khorev
258104dfdf Remove revoke block action 2024-08-23 13:34:08 +03:00
Anton Khorev
cc2a72bdd7 Remove revoke block pages 2024-08-23 13:23:29 +03:00
Anton Khorev
ed1e5ebe7d Remove revoke buttons from block show pages 2024-08-23 13:01:20 +03:00
Anton Khorev
1baf64e7bc Remove revoke buttons from block lists 2024-08-23 12:55:53 +03:00
Anton Khorev
22841f5908 Convert dashboard test into a system test
Allows to remove an id used only for testing.
2024-08-22 17:47:26 +03:00
Anton Khorev
9dcc5639fd Change dashboard heading levels 2024-08-22 17:42:24 +03:00
Anton Khorev
76736bab4f Change submit button on block edit page when can only revoke 2024-08-22 14:01:54 +03:00
Anton Khorev
11a7bf7e0e Remove duration controls for blocks that can only be revoked by editing 2024-08-22 14:01:54 +03:00
Anton Khorev
5e7ab68721 Let all moderators revoke blocks by editing 2024-08-22 14:01:54 +03:00
Anton Khorev
67a5809c8a Show edit buttons on active blocks to all moderators 2024-08-22 14:01:54 +03:00
Anton Khorev
ae3e804ee6 Add update block ability with conditions 2024-08-22 14:01:54 +03:00
Andy Allan
8dc5de1a0f
Merge pull request #4646 from tomhughes/turbo-pagination
Use turbo for pagination
2024-08-21 19:12:31 +01:00
Tom Hughes
754a0a9cb5 Merge remote-tracking branch 'upstream/pull/5069' 2024-08-21 19:04:06 +01:00
Tom Hughes
cd36a388c2 Merge remote-tracking branch 'upstream/pull/5101' 2024-08-21 18:32:39 +01:00
Martin Raifer
9969bc5a24
Update to iD v2.30.1 2024-08-21 11:28:06 +02:00
Anton Khorev
1e9603c7b1 Remove endpoint/input values on disable 2024-08-21 11:43:26 +03:00
Tom Hughes
edddaab122 Use turbo for pagination 2024-08-20 14:44:10 +01:00
Anton Khorev
a088b136fb Read lat/lon attributes when generating context menu directions urls 2024-08-20 14:55:29 +03:00
Anton Khorev
4f3576e91b Save lat/lon to input data attributes 2024-08-20 14:55:29 +03:00
Anton Khorev
b4925d7b0d Limit coordinate precision in drag listener 2024-08-20 14:55:29 +03:00
Tom Hughes
c5aa012dc2 Merge remote-tracking branch 'upstream/pull/5095' 2024-08-20 12:18:47 +01:00
Tom Hughes
99a7d21a9b Merge remote-tracking branch 'upstream/pull/5095' 2024-08-19 19:05:44 +01:00
Tom Hughes
3b729822f6 Merge remote-tracking branch 'upstream/pull/5090' 2024-08-19 19:01:17 +01:00
Anton Khorev
5a1e3e5c67 Replace geocode request boolean property with request object 2024-08-19 20:30:51 +03:00
Anton Khorev
a8838b3727 Remove endpoint markers in disable method 2024-08-19 20:30:51 +03:00
Anton Khorev
64da05f8ff Install endpoint listeners using enable/disable methods 2024-08-19 20:30:51 +03:00
Tom Hughes
87a7c0272d Merge remote-tracking branch 'upstream/pull/5096' 2024-08-19 18:18:26 +01:00
Anton Khorev
93a9f31bf0 Show/hide "Where is this?" when setting search value from directions 2024-08-19 20:05:48 +03:00
Anton Khorev
fe07f5219c Replace geocode request boolean property with request object 2024-08-19 19:39:53 +03:00
Anton Khorev
c9f495cb18 Remove endpoint markers in disable method 2024-08-19 19:39:53 +03:00
Anton Khorev
dad6bca753 Install endpoint listeners using enable/disable methods 2024-08-19 19:39:53 +03:00
Anton Khorev
6c4b028232 Record revokers when deactivating blocks by editing 2024-08-19 15:21:59 +03:00
Anton Khorev
cff4c63713 Add deactivates_at date to user blocks
Block deactivation dates that take needs_view-block views into account were derived using updated_at. This was possible because inactive blocks couldn't be edited and their updated_at date wouldn't change. With editing of inactive blocks enabled deactivation date needs to be saved explicitly.
2024-08-19 14:33:20 +03:00
Anton Khorev
9479d56262 Add navigation tabs to new block pages 2024-08-19 13:48:55 +03:00
Tom Hughes
41b81bd393 Merge remote-tracking branch 'upstream/pull/5083' 2024-08-18 12:16:22 +01:00
Tom Hughes
a11c02122d Merge remote-tracking branch 'upstream/pull/5089' 2024-08-18 11:54:48 +01:00
Anton Khorev
71f31bfc4c Use shallow routes for diary comments 2024-08-17 15:12:52 +03:00
Anton Khorev
cfaae9eadd Don't update ends_at when editing inactive blocks 2024-08-17 13:02:20 +03:00
Anton Khorev
1951ed2eb8 Change zoom precision function
This changes the number of fractional digits to log10(pixels / degrees) with pixels = 2**(8 + zoom) and degrees = 180.
2024-08-17 11:44:05 +03:00