Commit graph

15838 commits

Author SHA1 Message Date
Tom Hughes
4027d0c30a Merge remote-tracking branch 'upstream/pull/5621' 2025-02-08 17:35:45 +00:00
Tom Hughes
4197b2d008 Merge remote-tracking branch 'upstream/pull/5611' 2025-02-08 17:03:43 +00:00
Tom Hughes
6790a88aed Drop eslint initialiser
This was presumably required at some point but the i18n files seem
to pass eslint fine now and even if they didn't it would probably be
better to ignore them in the eslint config.
2025-02-08 17:00:13 +00:00
Tom Hughes
1e176a7e7a Merge remote-tracking branch 'upstream/pull/5630' 2025-02-08 16:45:23 +00:00
Anton Khorev
7efcfa284b Remove unnecessary RuboCop exclusions 2025-02-08 18:22:55 +03: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
dependabot[bot]
0467a177e4
Bump eslint from 9.19.0 to 9.20.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.19.0 to 9.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.19.0...v9.20.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 23:11:11 +00:00
Marwin Hochfelsner
957ae192b6 Refactor direction engines and unify structure 2025-02-07 04:22:30 +01:00
Tom Hughes
e206dd527e Merge remote-tracking branch 'upstream/pull/5598' 2025-02-06 20:27:32 +00:00
Tom Hughes
9f739fd1e1 Merge remote-tracking branch 'upstream/pull/5628' 2025-02-06 20:19:23 +00:00
Anton Khorev
090ccf2b63 Test showing note by suspended user with comment by other user 2025-02-06 22:45:31 +03:00
Anton Khorev
a9dcb66e7b Merge branch 'pull/5627' 2025-02-06 22:10:31 +03:00
Tom Hughes
08359d8d5f Merge remote-tracking branch 'upstream/pull/5613' 2025-02-06 17:41:46 +00:00
Tom Hughes
6f9dfc667b Merge remote-tracking branch 'upstream/pull/5614' 2025-02-06 17:19:32 +00:00
Tom Hughes
0488e66d4c Merge remote-tracking branch 'upstream/pull/5625' 2025-02-06 17:15:55 +00:00
Tom Hughes
dd83a1f29b Merge remote-tracking branch 'upstream/pull/5623' 2025-02-06 17:13:03 +00:00
Tom Hughes
cb51f46a4f Correct test for notes opened by inactive users 2025-02-06 17:08:44 +00:00
Tom Hughes
49dfae87ab Add a test for viewing a note opened by a deleted user 2025-02-06 17:08:22 +00:00
Anton Khorev
1e0377e6b3 Merge branch 'pull/5609' 2025-02-06 18:15:58 +03:00
Anton Khorev
60aab3d2b8 Remove spaces before colons in en.yml 2025-02-06 16:37:07 +03:00
Martin Raifer
6c196675f4
Update to iD v2.31.1 2025-02-06 13:52:00 +01:00
translatewiki.net
066a3e6635
Localisation updates from https://translatewiki.net. 2025-02-06 13:13:33 +01:00
Nenad Vujicic
592b28fd23 Removes dropping note's first comment
Removes dropping note's first visible comment in case of deleted note's author. After adding displaying "deleted" as note's description, first visible comment is now displayed as note's comment. Moves logic of calculating which note comments will be displayed and if note contains anonymous author / comments to the controller.
2025-02-06 11:43:53 +01:00
Nenad Vujicic
85bc737dee Switches from comments to all_comments
Switches from using note's .comments to .all_comments. Fixes bug with notes of deleted users without comments, which are filtered out, but the code tries to access the first comment.
2025-02-06 10:58:52 +01:00
Holger Jeromin
49b65a09dd Change eslint no-implicit-globals rule to error 2025-02-06 09:22:40 +01:00
Holger Jeromin
a4e6934d59 Fix all no-implicit-globals eslint errors 2025-02-06 09:22:40 +01:00
Holger Jeromin
eee793f5e6 change eslint rule no-alert to error 2025-02-06 08:35:50 +01:00
Holger Jeromin
c855d86bf8 Mark valid usecases for alert 2025-02-06 08:35:50 +01:00
Tom Hughes
361dcbb1df Merge remote-tracking branch 'upstream/pull/5603' 2025-02-05 19:14:02 +00:00
Tom Hughes
cfd2c5ddda Merge remote-tracking branch 'upstream/pull/5597' 2025-02-05 19:09:37 +00:00
Tom Hughes
6df5bd4acd Merge remote-tracking branch 'upstream/pull/5620' 2025-02-05 19:00:14 +00:00
Marwin Hochfelsner
1e57668c7e Simplify initialisation of iD 2025-02-05 19:56:01 +01:00
Tom Hughes
1b20b5187e Merge remote-tracking branch 'upstream/pull/5604' 2025-02-05 18:50:20 +00:00
Tom Hughes
5d5d0beefa Merge remote-tracking branch 'upstream/pull/5610' 2025-02-05 18:35:10 +00:00
Tom Hughes
4c3fb2c2b5 Merge remote-tracking branch 'upstream/pull/5612' 2025-02-05 18:26:32 +00:00
Tom Hughes
75606ab189 Merge remote-tracking branch 'upstream/pull/5615' 2025-02-05 18:07:24 +00: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
Tom Hughes
51dab659f5 Merge remote-tracking branch 'upstream/pull/5605' 2025-02-05 18:02:04 +00:00
Tom Hughes
992755c0a6 Merge remote-tracking branch 'upstream/pull/5602' 2025-02-05 17:58:26 +00:00
Andy Allan
2bd8cf1800
Merge pull request #5617 from AntonKhorev/api-element-resources--show-paths
API element resources - show/update/delete paths
2025-02-05 17:51:59 +00:00
Anton Khorev
e837727d95 Test Last-Modified header of api show element responses 2025-02-05 20:22:16 +03:00
Anton Khorev
cee07eee09 Test if api relation show/full responses contain required elements 2025-02-05 20:22:16 +03:00
Anton Khorev
b1dbcad484 Split api node show test 2025-02-05 20:22:16 +03:00
Anton Khorev
cc2677ff24 Split api way show test 2025-02-05 20:22:16 +03:00
Anton Khorev
0c893e9197 Split api relation show/full tests 2025-02-05 20:22:16 +03:00