Commit graph

2586 commits

Author SHA1 Message Date
Nenad Vujicic
bdf3abeb07 Improves dropping of first note's comment
Improves calculating comments to be displayed by dropping first comment only if it is opening.
2025-02-21 00:26:16 +01:00
Anton Khorev
50bf0a6379 Remove current user check from dashboard view 2025-02-19 04:13:34 +03:00
Anton Khorev
02d9467939 Initialize dashboard followings and nearby users in controller 2025-02-19 04:02:40 +03:00
Anton Khorev
d1de8462d6 Move edit account action to show 2025-02-17 17:14:31 +03:00
Anton Khorev
084df96efd Remove unused redaction code from api old elements controller 2025-02-17 03:51:05 +03:00
Anton Khorev
edaca6995c Create relation version redaction resource 2025-02-17 03:51:05 +03:00
Anton Khorev
8ccdc50313 Create way version redaction resource 2025-02-17 03:51:05 +03:00
Anton Khorev
984dd624dd Create node version redaction resource 2025-02-17 03:51:05 +03:00
Anton Khorev
84c4ed3fa8 Add base old element redactions controller 2025-02-17 03:51:05 +03:00
Andy Allan
094d9f9ba5
Merge pull request #5688 from tomhughes/spam-check-report
Make reports trigger a spam check on the reported user
2025-02-16 14:19:45 +00:00
Tom Hughes
b68aa8f3dd Make reports trigger a spam check on the reported user 2025-02-16 14:08:23 +00:00
Tom Hughes
3be14c2a05 Move errors from email to new_email properly 2025-02-16 13:56:10 +00:00
Tom Hughes
dcf3416669 Replace count.zero? with empty? 2025-02-16 13:56:02 +00:00
Tom Hughes
d90f353e5f Merge remote-tracking branch 'upstream/pull/4359' 2025-02-16 09:04:17 +00:00
Andy Allan
90e787eed8
Merge pull request #5677 from tomhughes/user-list-enhancements
User list enhancements
2025-02-15 17:37:48 +00:00
Tom Hughes
29d322c364 Merge remote-tracking branch 'upstream/pull/4926' 2025-02-15 17:07:59 +00:00
Anton Khorev
1f59507e78 Add changeset comment search api with filtering by author and time 2025-02-15 19:35:24 +03:00
Anton Khorev
6569ed24e4 Add user block api call 2025-02-15 19:20:09 +03: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
989b110bfc Add changeset comment query limit settings; use common query limit in changeset comment feeds 2025-02-15 19:05:46 +03:00
Anton Khorev
d92fc6e526 Move common query limit method of changesets and notes to mixin 2025-02-15 19:05:46 +03:00
Anton Khorev
bd443cdfb1 Add empty account home page 2025-02-15 19:02:30 +03:00
Tom Hughes
e91f4d82ea Allow searching users by IP subnet 2025-02-15 14:37:50 +00:00
Tom Hughes
4ea868ace7 Add search form to the top of the user list view 2025-02-15 14:37:28 +00:00
Andy Allan
aebacc88de
Merge pull request #5514 from AntonKhorev/pd-declaration
Remove public domain checkbox from signup and terms pages
2025-02-15 14:03:55 +00:00
Tom Hughes
5ca24de0d0 Merge remote-tracking branch 'upstream/pull/5452' 2025-02-15 11:15:25 +00:00
Tom Hughes
b7ee8034dc Merge remote-tracking branch 'upstream/pull/5673' 2025-02-15 08:51:36 +00:00
Anton Khorev
037bafcd1c Check user instead of scope when getting note author info
Previously it was possible to create a note while authorized but having no write_notes scope. Currently it's not possible.
2025-02-15 03:45:53 +03:00
Anton Khorev
03867e2fee Remove current_user branch from ApiController#deny_access
Unreachable because if there's no doorkeeper_token, there's also no current_user.
2025-02-15 01:20:06 +03:00
Anton Khorev
f6572e3712 Output active blocks list 2025-02-14 14:16:48 +03:00
Anton Khorev
9ec7e8c888 Skip blocks check when getting active blocks list 2025-02-14 14:16:48 +03:00
Anton Khorev
6d558003aa Add active blocks list api endpoint with empty response 2025-02-14 14:16:48 +03:00
Anton Khorev
2d46b44872 Add write_changeset_comments scope 2025-02-14 00:17:45 +03:00
Anton Khorev
77a2657d33 Pass scopes instead of token to ApiAbility 2025-02-14 00:15:52 +03:00
Anton Khorev
304e0ef638 Pass user to ApiAbility 2025-02-14 00:15:52 +03:00
Tom Hughes
22f590c9ef Merge remote-tracking branch 'upstream/pull/5622' 2025-02-12 17:59:25 +00:00
Nenad Vujicic
4133936c63 Updates notes filtering to search description too
Updates notes filtering to search for query text in both note comments and note's description.
2025-02-12 18:22:50 +01:00
Nenad Vujicic
fadbee0af0 Adds storing note's properties to notes
Adds storing note's description, author_id and author_ip to notes table too when creating new note.
2025-02-12 10:54:31 +01:00
Tom Hughes
43f40c5d03 Stop using session flash to communicate with callbacks 2025-02-12 00:09:40 +00:00
Tom Hughes
2cfc030bba Merge remote-tracking branch 'upstream/pull/5403' 2025-02-10 18:54:14 +00:00
Anton Khorev
f2ed3c1935 Make api old element show paths resourceful 2025-02-10 02:07:48 +03:00
Anton Khorev
29323be33b Merge branch 'pull/5636' 2025-02-10 01:26:12 +03:00
Anton Khorev
98af87d1cb Convert api element history actions to versions resources 2025-02-09 19:18:47 +03:00
Tom Hughes
ba481319f4 Use subqueries to find nested members more efficiently 2025-02-09 15:40:49 +00:00
Anton Khorev
18b8e0cb34 Clean up after creating nested relation resources 2025-02-08 18:22:55 +03:00
Anton Khorev
f696b5439e Declare api relation relations as nested resources 2025-02-08 18:22:55 +03:00
Anton Khorev
2a38dca0b7 Declare api way relations as nested resources 2025-02-08 18:22:55 +03:00
Anton Khorev
a6e614e44e Declare api node relations as nested resources 2025-02-08 18:22:55 +03:00
Anton Khorev
6a50a5e871 Declare api node ways as nested resources 2025-02-08 18:22:55 +03:00