Commit graph

111 commits

Author SHA1 Message Date
Satyabrata Mohanty
ad8483b625 Merge branch 'master' of https://github.com/Satya900/openstreetmap-website 2025-03-08 21:50:26 +05:30
Satyabrata Mohanty
28cb26faa1 adding json 2025-03-08 21:50:07 +05:30
Anton Khorev
84a0c76ab2 Create api changeset comment visibility resource 2025-02-24 01:27:03 +03:00
Anton Khorev
49fac49f9d Create api changeset download resource 2025-02-22 20:49:54 +03:00
Anton Khorev
2a5051376a Add changeset comment search api json format 2025-02-15 19:35:24 +03: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
f6572e3712 Output active blocks list 2025-02-14 14:16:48 +03:00
Anton Khorev
98af87d1cb Convert api element history actions to versions resources 2025-02-09 19:18:47 +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
Anton Khorev
04c6d38649 Map 'full' to api relation show action 2025-02-05 21:07:19 +03:00
Anton Khorev
0f2aa939d4 Map 'full' to api way show action 2025-02-05 21:07:19 +03:00
Nenad Vujicic
5755386567 Removes note's author from RSS
Removes writing note's author to note's RSS if author is missing or data-migration is done and note's author is deleted.
2025-02-04 01:29:45 +01:00
Anton Khorev
01b5ed5d28 Create api map resource 2025-01-24 10:47:58 +03:00
Anton Khorev
e096cc35dc Include message_read attribute in api output of messages to self 2025-01-19 05:48:36 +03:00
Anton Khorev
880032ed85 Create user traces resource in api namespace 2024-12-27 05:44:09 +03:00
Anton Khorev
45c90003c6 Use resourceful routes for api messages in/outbox 2024-12-22 07:03:41 +03:00
Andy Allan
2a649d16df
Merge pull request #5044 from mmd-osm/patch/rn1
JSON partial rendering in loop
2024-08-07 16:12:53 +01:00
mmd-osm
0472d7b0bc Users: avoid calling json.partial! in loop 2024-08-04 22:37:42 +02:00
mmd-osm
341ff0a06b Notes: avoid calling json.partial! in loop 2024-08-04 22:37:18 +02:00
mmd-osm
ccdc427a5d Changeset: avoid XML rendering in loop 2024-08-04 22:35:48 +02:00
mmd-osm
14184b1b2e Messages: avoid calling json.partial! in loop 2024-08-04 21:49:07 +02:00
mmd-osm
a5a6713bfc Changesets: avoid calling json.partial! in loop 2024-08-04 21:48:09 +02: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
mmd-osm
8c20bc1d98 Jbuilder: render collections of partials 2024-06-27 22:44:37 +02:00
Tom Hughes
d2688d4d63 Merge remote-tracking branch 'upstream/pull/4639' 2024-04-01 18:37:27 +01:00
Anton Khorev
c2c5892112 Rename api changesets index template 2024-03-30 08:39:29 +03:00
Anton Khorev
558c8765f5 Rename api changeset show template
Make template name correspond to action name.
2024-03-30 08:10:24 +03:00
Anton Khorev
cbf6b39464 Rename api element version action to show 2024-03-04 11:19:50 +03:00
Tom Hughes
53817fa9e8 Merge remote-tracking branch 'upstream/pull/4251' 2024-02-25 14:06:56 +00:00
Anton Khorev
e90d48adc9 Remove 'basic attributes' comments from changeset api output builders 2023-11-20 15:39:27 +03:00
Anton Khorev
e22589f946 Show hidden comments to moderators if requested 2023-10-01 19:50:27 +03:00
Tom Hughes
85b17a1f2a Merge remote-tracking branch 'upstream/pull/4240' 2023-09-14 17:42:04 +01:00
Anton Khorev
4b92988555 Add comment ids to changeset discussion api responses 2023-09-10 17:30:06 +03:00
Anton Khorev
9442829d31 Add json output for show user block api 2023-09-09 16:50:36 +03:00
Anton Khorev
71654e563e Add show user block api endpoint 2023-09-09 15:53:22 +03:00
Anton Khorev
9682fe6431 Add user id to api trace output 2023-09-08 17:13:57 +03:00
Anton Khorev
d2bdf1f0ae Add notes feed description for unspecified area 2023-09-01 17:05:07 +03:00
ENT8R
b9c85c2697 Use where instead of find to prevent 404 2023-08-26 00:31:18 +02:00
Anton Khorev
3f6e344e6a Expose note query limit values in api capabilities 2023-08-19 05:40:34 +03:00
Anton Khorev
5bdaf0b73b Add JSON output to /api/versions 2023-08-18 05:16:39 +03:00
Tom Hughes
6982903ae7 Fix predicate method names in the user model 2023-08-15 18:53:14 +01:00
Tom Hughes
a1798fe6fb Merge remote-tracking branch 'upstream/pull/4159' 2023-08-13 10:38:58 +01:00
Anton Khorev
24d6b3c55f Add JSON output to /api/0.6/capabilities 2023-08-12 06:00:46 +03:00
Anton Khorev
033c032ed6 Add home location condition to user model 2023-08-11 21:44:15 +03:00
Anton Khorev
b2bb502b65 Expose changeset query limit values in api capabilities 2023-08-08 03:49:14 +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