Andy Allan
aceef47cd8
Merge pull request #4106 from tomhughes/diary-paging
...
Replace page numbers with ID based selection for diary indexes
2023-08-02 16:57:26 +01:00
Andy Allan
a56cdd547e
Merge pull request #4125 from tomhughes/oauth-scopes
...
Only show granted permissions in the authorized application list
2023-08-02 15:52:41 +01:00
Andy Allan
9619e699e1
Merge pull request #4107 from tomhughes/diary-visibility
...
Allow administrators to see deleted diary entries
2023-08-02 14:47:05 +01:00
Tom Hughes
c376962c9c
Only show granted permissions in the authorized application list
...
Fixes #4124
2023-07-30 20:35:13 +01:00
Tom Hughes
f29ba01eb9
Replace page numbers with ID based selection for diary indexes
2023-07-27 20:37:07 +01:00
Tom Hughes
b57ed0bf23
Improve testing of paged access to trace lists
2023-07-27 20:30:15 +01:00
Tom Hughes
7fb984f915
Allow moderator to unhide diary entries as well as hide them
2023-07-27 18:07:35 +01:00
Tom Hughes
6651d713d7
Allow administrators to see deleted diary entries
2023-07-27 18:03:58 +01:00
Andy Allan
925d12cc81
Merge pull request #3933 from AntonKhorev/api-changesets-limit
...
Add limit parameter to api changesets query
2023-07-26 16:45:00 +01:00
Tom Hughes
c909b29c35
Replace page numbers with ID based selection for trace indexes
2023-07-23 19:28:37 +01:00
Tom Hughes
ba3d3269e3
Fix new rubocop warnings
2023-07-18 18:27:06 +01:00
Andy Allan
e9e4b10473
Merge pull request #3907 from Dimitar5555/patch-1
...
Facelift `offline.html` and use Bootstrap classes for "notifications" under the search bar
2023-06-14 14:08:38 +01:00
Tom Hughes
52296d1cad
Add rubocop-factory_bot and fix warnings
2023-05-16 18:44:14 +01:00
Dimitar
318064b2a7
Facelift offline.html and use Bootstrap classes for "notifications"
...
Update site_controller_test.rb
Update site_controller_test.rb
Remove whitespace
Reset Settings.status after test is done
Update test for offline page
Update site_controller.rb
Fix indentation
Update offline controller
Update offline.html.erb
Remove flash CSS classes and fix missed tests
Updated tests
Address most PR comments
Update _flash.html.erb
Update _flash.html.erb
Update edit.html.erb
Update offline.html.erb
2023-03-26 13:57:51 +03:00
Andy Allan
a91afa0e78
Use .with_locale for about page
...
This simplifies the code, since we can avoid having to specify the
locale for every translation.
The test was added since I originally developed another approach,
but that caused exceptions on invalid locales.
2023-03-22 10:13:01 +00:00
Tom Hughes
8919c8c404
Use POST for geocoder backends
...
The geocoder backend calls are a private implementation detail
and using POST enables request forgery checks and makes scraping
of nominatim via the backend calls harder.
2023-03-07 17:24:48 +00:00
Andy Allan
10e035df93
Refactor trace guidance to avoid raw html in translations
...
Also rearrange to avoid multiple sentences in a heading.
2023-02-22 09:16:17 +00:00
Anton Khorev
e286ce515c
Add limit parameter to api changesets query
2023-02-14 20:56:29 +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
b5046fdcd0
Move browse#new_note to notes#new
...
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
Richard Fairhurst
b7887b049f
Remove Geonames and geocoder.ca
2023-01-09 21:23:48 +00:00
Tom Hughes
600ed78b04
Use CGI.escape for ruby 2.7 compatibility
2022-12-29 17:45:29 +00:00
Tom Hughes
27e9965dd2
Require integer IDs for diary_entries#show
...
Fixes #3865
2022-12-29 17:14:05 +00:00
Andy Allan
415ac577f3
Remove some old debugging comments
2022-12-21 12:05:15 +00:00
mmd-osm
ec121dde4f
Add more testcases to changesets_controller
...
Extracted from pull request #1995
2022-11-30 22:32:20 +01:00
Tom Hughes
49cde0e901
Fix new rubocop warnings
2022-11-01 18:42:24 +00:00
Tom Hughes
3d0b94abda
Merge remote-tracking branch 'upstream/pull/3768'
2022-10-25 19:28:10 +01:00
Tom Hughes
460ed0c844
Fix new rubocop warnings
2022-10-25 19:19:57 +01: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
Tom Hughes
140b296f59
Test that tags are included correctly in the changeset feed
2022-10-18 18:42:02 +01:00
Robbendebiene
b5e695b6f3
Remove default xml format from notes routing test
2022-09-26 09:13:40 +02:00
Anton Khorev
01d48694b4
Don't show 'Download XML' link for deleted elements
2022-09-22 14:51:31 +03:00
Tom Hughes
e9887f88ed
Test fetching the iD frame when not logged in
2022-07-26 17:38:56 +01:00
Anton Khorev
d353186b19
Uncomment asserts for namespaced elements in note rss test
2022-07-22 18:02:00 +03:00
Andy Allan
934d81aa55
Bootstrap 5: Replace all form-group classes with mb-3
2022-07-20 14:42:57 +01:00
Andy Allan
2080696fe6
Bootstrap 5: Remove use of form-row class
...
This has been replaced by simple `row` class in v5. We can also use the
gx-N classes here, which tighten up the horizontal gutter sizes for
space-constrained forms.
2022-07-20 14:41:41 +01:00
Tom Hughes
9adad9f90d
Fix new rubocop warnings
2022-06-14 19:04:39 +01:00
Martin Raifer
c55d346d5f
Update to iD v2.21.0
...
major changes in this release:
* dropped support for Internet Explorer 11
* switched authentication to OAuth 2
for further changes please refer to https://github.com/openstreetmap/iD/blob/release/CHANGELOG.md#2210
2022-06-03 15:32:27 +02:00
Harry Wood
fcbccb6a44
Report verification render not redirect
...
Fix an issue with the report verification, causing it to lose the text of a report if the user fails to fill in a category.
By using a `render` instead of a `redirect_to`, the rails standard verification behaviour works better. It means we also get a nice red "can't be blank" message highlighting the specific missing field.
2022-05-04 19:42:36 +01:00
Tom Hughes
9c0582f88f
Merge remote-tracking branch 'upstream/pull/3523'
2022-04-12 17:12:16 +01:00
Andy Allan
387668a4c6
Merge pull request #3495 from mmd-osm/patch/json_cs
...
JSON output added to changeset(s) endpoints
2022-04-06 18:04:17 +01:00
Andy Allan
561ee71129
Rubocop autofix: ambiguous operator precedence
...
This simply adds braces to clarify which mathematical operator comes
first.
2022-04-06 14:55:29 +01:00
Tom Hughes
03cad948e3
Fix new rubocop warnings
2022-03-15 19:24:09 +00:00
mmd-osm
4ec85171fd
JSON output added to changeset(s) endpoints
2022-03-14 15:52:49 +01:00
Andy Allan
d6f8302eae
Merge pull request #3491 from tomhughes/legacy-trace
...
Remove support for legacy trace files
2022-03-09 17:10:40 +00:00
Andy Allan
13aead5601
Merge pull request #3492 from harry-wood/oauth-doc
...
OAuth updates to CONFIGURE doc + cosmetic tweak
2022-03-09 17:04:37 +00:00
Tom Hughes
44ac569d28
Merge remote-tracking branch 'upstream/pull/3493'
2022-03-08 20:30:19 +00:00
mmd-osm
c9e836a6cb
JSON output added to permissions endpoint
2022-03-08 20:21:35 +01:00