Commit graph

6412 commits

Author SHA1 Message Date
Anton Khorev
ca4555df43 Use Bootstrap inline lists for <dl>s on user pages 2023-08-10 19:12:25 +03:00
Tom Hughes
38369675b7 Merge remote-tracking branch 'upstream/pull/4135' 2023-08-09 19:22:36 +01:00
Tom Hughes
eedf8a55e4 Merge remote-tracking branch 'upstream/pull/4132' 2023-08-09 19:20:54 +01:00
Tom Hughes
c65f808244 Merge remote-tracking branch 'upstream/pull/4145' 2023-08-08 18:37:00 +01:00
Tom Hughes
a11679d3eb Take exclude_place_ids from Nominatim results directly
Fixes #4137
2023-08-08 18:27:53 +01:00
Anton Khorev
a5a7ee116c Remove 'no home' message css from profile edit form 2023-08-08 20:26:15 +03:00
Anton Khorev
478d80b50c Remove unused user image css from profile edit form 2023-08-08 19:59:50 +03:00
Tom Hughes
58ea30c724 Merge remote-tracking branch 'upstream/pull/4143' 2023-08-08 17:55:46 +01:00
Anton Khorev
0868cf3f17 Remove old rails error css 2023-08-08 05:57:16 +03:00
Anton Khorev
b2bb502b65 Expose changeset query limit values in api capabilities 2023-08-08 03:49:14 +03:00
Anton Khorev
a5d14a1815 Move changeset query limit values to settings 2023-08-08 03:33:04 +03:00
Tom Hughes
a9b616af12 Merge remote-tracking branch 'upstream/pull/4136' 2023-08-03 11:25:14 +01:00
Andy Allan
68fa607811 Use hashes to define where..in sql queries
This is preferable to using SQL statements.
2023-08-03 11:04:28 +01:00
Anton Khorev
b801f3e3e5 Add titles to issue pages 2023-08-03 03:09:54 +03:00
Anton Khorev
b4256ae6a3 Stretch login menu buttons in small nav mode 2023-08-02 20:01:48 +03:00
Tom Hughes
eae9c15b75 Merge remote-tracking branch 'upstream/pull/4131' 2023-08-02 17:01:05 +01:00
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
f884be441d
Merge pull request #4111 from AntonKhorev/hidden-welcome-banner
Hide/show welcome banner with hidden attribute
2023-08-02 16:56:25 +01:00
Andy Allan
98b1e5f76c Switch to bootstrap recommended viewport definition
Original version was introduced in 6674873478
and has not been changed since.

Google's PageSpeed Insights tool also flagged this up as an accessibility
issue, since it previously prohibited users zooming into the site.
2023-08-02 16:07:13 +01:00
Andy Allan
5796bf6347
Merge pull request #4112 from AntonKhorev/no-float-inside-sidebar
Remove unnecessary full-width float css from sidebar
2023-08-02 15:54:16 +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
Andy Allan
2566d0e379
Merge pull request #4113 from AntonKhorev/no-w-100
Remove setting 100% width with w-100 where it's the default width
2023-08-02 14:20:07 +01:00
Andy Allan
5f0c072ae0
Merge pull request #4120 from AntonKhorev/no-deprecated-iframe-attrs
Remove deprecated attributes from share html
2023-08-02 14:14:55 +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
60f42ed6d3 Merge remote-tracking branch 'upstream/pull/4114' 2023-07-30 19:00:02 +01:00
Tom Hughes
52bb2a4430 Merge remote-tracking branch 'upstream/pull/4115' 2023-07-30 18:53:30 +01:00
Tom Hughes
8078265150 Merge remote-tracking branch 'upstream/pull/4110' 2023-07-30 18:48:26 +01:00
Tom Hughes
2f59c267ad Merge remote-tracking branch 'upstream/pull/4118' 2023-07-30 18:47:10 +01:00
Anton Khorev
c4b5392628 Remove deprecated attributes from share html 2023-07-29 20:34:10 +03:00
Anton Khorev
f5b26a7df0 Remove resize css property from textarea 2023-07-29 19:38:06 +03:00
Anton Khorev
c3500b4b81 Remove display properties from share tabs 2023-07-29 19:26:20 +03:00
Anton Khorev
6fca88ab16 Move map attribution print styles to print.scss 2023-07-28 21:24:52 +03:00
Anton Khorev
2818684df1 Remove unused 0 bottom margin from map ui css 2023-07-28 21:05:05 +03:00
Anton Khorev
672c79c79c Remove setting 100% width with w-100 where it's the default width 2023-07-28 20:27:58 +03:00
Anton Khorev
1905199b72 Remove unnecessary full-width float css from sidebar 2023-07-28 20:05:28 +03:00
Anton Khorev
e6987d7dd3 Hide/show welcome banner with hidden attribute 2023-07-28 19:53:19 +03:00
Anton Khorev
d6853e5322 Remove links to apps from OAuth2 authorizations page 2023-07-28 17:30:48 +03:00
Tom Hughes
e932972a4a Merge remote-tracking branch 'upstream/pull/4108' 2023-07-27 20:42:03 +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
edfe0dde67 Disambiguate ID queries for tagged trace lists 2023-07-27 20:29:29 +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
0a66990911 Simplify menu-icon css
Remove the duplicate display property, since it was force-overridden
by the `!important` keyword in the same definiton. This then makes the
`!important` keywords unnecessary. The menu-icon is floated, and
therefore can't be `inline-block`, so browsers were interpreting that
as `block` all along.
2023-07-26 17:39:36 +01:00
Andy Allan
c23d8bfa6a Remove unused parameter 2023-07-26 17:39:12 +01:00
Andy Allan
7ea3398c79 Remove unused CSS
The browse_details CSS classes were removed in 30ab1e91da and c4090bb150
2023-07-26 17:15:17 +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
Andy Allan
e108ec6d48 Avoid using sprockets for combining stylesheets
There are two options for combining stylesheets, using sprockets
(via `require` statements) or using sass (via `@import` statements).

This commit switches to using `@import` statements throughout, to
avoid a bug with libsass that prevents us from using bootstrap 5.2+

See https://github.com/sass/sassc-rails/issues/174

Since R2 is not triggered when `@import`ing a file, we need to
switch the top-level stylesheet names to include the extension. We
can also take the opportunity to remove a level of indirection,
along with removing symlinks which cause problems on some platforms.

* https://github.com/openstreetmap/openstreetmap-website/issues/3984
* https://github.com/openstreetmap/openstreetmap-website/issues/3422
2023-07-12 17:54:51 +01:00
Andy Allan
d58cae6ff6 Avoid using the zero key for pluralisation in English
This makes it impossible to translate to other languages that use the
`zero:` key, e.g. for other numbers that end in zero.

An alternative approach would be possible in future, when ruby-i18n
and rails and translatewiki all have full support for `0:` and `1:` keys.

Fixes #3997
2023-07-05 14:47:39 +01:00