Andy Allan
ffda8d7ac5
Merge pull request #4680 from tomhughes/validate-page-numbers
...
Add parameter validation to pagination
2024-05-15 17:43:04 +01:00
Anton Khorev
15e1459f25
Link to previous/next nonempty user's changeset on changeset pages
2024-05-01 15:02:59 +03:00
Tom Hughes
d8b468e7a1
Add validation for maximum ID passed to changesets#index
2024-04-11 10:08:20 +01:00
Anton Khorev
b8f5a495f2
Simplify remaining link_to ... user_path in views
2024-03-21 18:07:56 +03:00
Anton Khorev
0dae690c06
Simplify changeset/element-related link_to calls
2024-03-16 18:36:33 +03:00
Anton Khorev
3a5f0c4845
Move changeset subscribe/unsubscribe to resourceful routes
2024-03-16 06:11:07 +03:00
Anton Khorev
bde2faac58
Remove assert_response when followed by assert_redirected_to
2024-03-03 10:56:50 +03:00
Anton Khorev
88669ef809
Move changeset created/closed popup/feed strings to changesets locale
2024-03-01 10:48:30 +03:00
Anton Khorev
7d4b48f0f8
Move changeset element headings to changesets locale
2024-03-01 10:48:30 +03:00
Anton Khorev
c1b5ae0aa0
Move changeset show action to changesets controller
2024-03-01 10:48:30 +03:00
Tom Hughes
f0764d3eca
Add unsubscribe link to changeset notification mails
2024-02-25 09:48:11 +00:00
Tom Hughes
81857a7446
Include some XML special characters in the changeset feed comment test
2024-02-18 18:45:22 +00:00
Anton Khorev
dc07462c3b
Test changeset feed entry titles
2024-02-16 20:25:28 +03:00
Anton Khorev
e2f1d0d4c2
Test if changeset feed entries are in specified order
2024-02-16 20:08:41 +03:00
Tom Hughes
0c2e471708
Fix new rubocop warnings
2023-12-05 18:13:13 +00:00
Tom Hughes
e8af4b85bf
Fix new rubocop warnings
2023-09-26 18:42:57 +01:00
Tom Hughes
140b296f59
Test that tags are included correctly in the changeset feed
2022-10-18 18:42:02 +01:00
Andy Allan
38ad8fbc36
Use login_path instead of explicit controller and actions
...
This makes future refactoring easier.
2021-03-10 14:31:55 +00:00
Tom Hughes
e430bc0f7f
Fix URL generation for atom feed on history page
...
Fixes #3085
2021-02-07 16:24:14 +00:00
Andy Allan
47d11763fb
Add some changsets that shouldn't be selected
2020-07-22 17:51:43 +02:00
Andy Allan
e7dc2f2e55
Refactor changeset index testing to assert against objects, not db queries
...
This avoids the situation where tests pass despite an empty db.
Refs #2614
2020-07-22 17:39:48 +02:00
Andy Allan
506731031d
Refactor some more controller tests
2020-04-22 16:45:16 +02:00
Tom Hughes
1f4d48eaf3
Fix some deprecation warnings
2019-11-24 11:05:02 +00:00
Andy Allan
2169c503ef
Rename user.friend_users to user.friends
...
This is possible now since we've renamed Friend to Friendship
2019-06-19 16:51:35 +02:00
Andy Allan
1cf8fec58d
Rename Friend model to Friendship
...
This better describes what the model represents, which is the relationship
between the two users.
2019-06-19 16:39:25 +02:00
Andy Allan
1778fa3d9c
Move the api methods from changesets_controller into the api namespaced controller
2019-02-24 12:18:31 +01:00
Andy Allan
8a2df0e0b5
More resourceful routing for nodes, ways, relations and changesets controllers
2019-01-16 13:10:11 +01:00
Tom Hughes
6f2f9221ef
Fix tests for rails 5.2.1 compatibility
...
Rails 5.2.1 has changed how the request body is handled
internally for a test which means we can no longer cheat
by stashing it in the request environment and must instead
pass it properly to the request method.
2018-11-15 00:46:53 +00:00
Andy Allan
252b9ef08a
Pluralize changesets controller
2018-11-14 10:34:28 +01:00