Andy Allan
31805df53f
Remove some unnecessary calls to clear the mail queue
...
These were not needed at the end of most tests for quite some time,
since rails clears them by default for controller and integration tests,
and also no longer required in system tests after #5691
2025-02-16 16:16:13 +00:00
Anton Khorev
bd278a07fe
Move query notes by user value to mixin
2025-02-15 19:05:46 +03:00
Anton Khorev
500c1bddf2
Move common query time condition to mixin
2025-02-15 19:05:46 +03:00
Anton Khorev
47d55a2b0f
Simplify write_notes scope check in api notes controller
2025-01-24 06:16:11 +03:00
Anton Khorev
2347906725
Send notifications to note subscribers instead of commenters
2024-11-08 11:40:55 +03:00
Anton Khorev
2d7e0a397a
Subscribe users when they interact with notes
2024-10-28 02:35:25 +03:00
Tom Hughes
973d62a25e
Drop support for basic authentication
2024-09-02 19:00:57 +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
Anton Khorev
23e00dc4c7
Shorten note path helper calls in tests
2024-03-24 17:19:05 +03:00
Anton Khorev
4ea16ebebb
Remove old note api endpoints
2024-03-21 18:20:53 +03:00
Anton Khorev
6272b041c6
Add :closed trait to note factory
2024-01-05 12:34:27 +03:00
Tom Hughes
be3baea4de
Merge remote-tracking branch 'upstream/pull/4222'
2023-09-03 18:54:18 +01: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
Anton Khorev
df60444d05
Use max note query limit setting in tests
2023-08-19 05:23:42 +03:00
Andy Allan
9748ce301c
Move browse#note to notes#show
...
This allows a more resourceful routing approach.
2023-02-01 17:13:41 +00:00
Andy Allan
f7367baa6b
Rename api_notes resource to avoid conflict with non-API resource
...
This allows using e.g. note_path for notes#show in the future.
2023-01-25 19:01:57 +00:00
Anton Khorev
225b260640
Pass min/max lat/lon to notes index rss builder
2022-10-25 13:52:28 +03:00
Anton Khorev
0c8b9eabf3
Pass min/max lat/lon to notes rss feed builder
2022-10-25 13:35:18 +03:00
Robbendebiene
b5e695b6f3
Remove default xml format from notes routing test
2022-09-26 09:13:40 +02:00
Anton Khorev
d353186b19
Uncomment asserts for namespaced elements in note rss test
2022-07-22 18:02:00 +03:00
Tom Hughes
9adad9f90d
Fix new rubocop warnings
2022-06-14 19:04:39 +01:00
Tom Hughes
b5f06e06c1
Fix rubocop Rails/TimeZone warnings
2022-03-01 22:55:10 +00:00
Tom Hughes
6403515897
Replace to_s on TimeWithZone objects with to_formatted_s
2022-01-10 18:59:22 +00:00
Tom Hughes
2d37f1a03c
Refactor notes_controller_test
2020-05-06 18:39:48 +01:00
Tom Hughes
c468af5fbd
Errors have text/plain as the content type
2019-11-24 11:05:02 +00:00
Tom Hughes
1f4d48eaf3
Fix some deprecation warnings
2019-11-24 11:05:02 +00:00
Tom Hughes
e219916dcb
When overriding setup make sure to call the superclass
2019-09-05 21:24:20 +01:00
Tom Hughes
783b5e3729
Merge remote-tracking branch 'upstream/pull/1926'
2019-08-28 17:23:10 +01:00
Andy Allan
b4dbf6233c
Move the notes api methods into a controller in the api namespace
2019-02-28 17:12:28 +01:00