Commit graph

6398 commits

Author SHA1 Message Date
Anton Khorev
b801f3e3e5 Add titles to issue pages 2023-08-03 03:09:54 +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
Tom Hughes
0254f7ee09 Fix confirmation prompt when granting or revoking roles 2023-07-01 15:21:02 +01:00
Tom Hughes
466de96a91 Fix new rubocop warnings 2023-06-27 18:13:33 +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
Branko Kokanovic
e66e2c1b16 Fix ERB Lint for copyright 2023-06-12 10:40:45 +02:00
Branko Kokanovic
8d7fca30de Adding information about Serbia sources 2023-06-08 22:15:13 +02:00
Tom Hughes
7cdf5b0b19 Fix new rubocop warnings 2023-06-06 18:45:38 +01:00
Andy Allan
fad3aedbbb Rework note events to avoid raw html in translations 2023-04-02 10:22:30 +01:00
Andy Allan
aebac722c2 Rework geocoder titles to avoid raw html in translations 2023-04-02 10:14:00 +01:00
Andy Allan
4cfb632b5e Rework the map attribution to avoid raw html in translations. 2023-04-02 10:14:00 +01:00
Andy Allan
63484a169a Rework the help text to avoid raw html in translations
Unfortunately bootstrap_form has no method for passing interpolation
values to the automatic help text system, so instead we'll use an
explicit override.
2023-04-02 10:14:00 +01:00
Andy Allan
7751f7a04b Avoid raw html in translations for the note icon 2023-04-02 10:14:00 +01:00
Tom Hughes
0d56dab481 Merge remote-tracking branch 'upstream/pull/3985' 2023-03-29 19:30:07 +01:00
Andy Allan
4ac0c9c1e8 Rework browse pages to avoid raw html in translations 2023-03-29 18:52:45 +01:00
Andy Allan
a859fe1acf Avoid raw html in translations for changeset comments 2023-03-29 18:52:45 +01:00