Commit graph

13162 commits

Author SHA1 Message Date
Tom Hughes
a328ec84a2 Use rtlcss instead of r2 for RTL support
This ensures that the RTL directives in bootstrap are processed
correctly as it is designed around RTLCSS for RTL support.

Fixes #4347
2023-11-16 22:53:09 +00:00
Tom Hughes
b9cb8f0921 Merge remote-tracking branch 'upstream/pull/4351' 2023-11-16 13:43:46 +00:00
Tom Hughes
50e2df57ab Merge remote-tracking branch 'upstream/pull/4350' 2023-11-16 13:43:44 +00:00
translatewiki.net
d7b9f70c80 Localisation updates from https://translatewiki.net. 2023-11-16 13:19:00 +01:00
Anton Khorev
dc103e99db Update oauth configuration url input label 2023-11-16 13:05:45 +03:00
Anton Khorev
4737461915 Remove save user step when configuring permissions 2023-11-16 12:08:18 +03:00
Tom Hughes
aaed886890 Hash passwords as soon as a new user is created 2023-11-16 01:02:11 +00:00
Tom Hughes
b1553135fc Preserve pass_crypt_confirmation in the new user hash 2023-11-16 00:29:49 +00:00
Tom Hughes
2fcee9625d Merge remote-tracking branch 'upstream/pull/4349' 2023-11-15 22:30:41 +00:00
Andy Allan
08b0bfbfdf
Merge pull request #4348 from tomhughes/native-enum
Switch to using native rails support for managing Postgres enumerations
2023-11-15 19:56:04 +00:00
Andy Allan
dbe84a97bf Underline time elements that have a title
This replicates the previous use of abbr tags, with improved semantics.

Although we only use time tags in one place at the moment, the attribute
filter protects against any usage in the future that doesn't need a title
indication.
2023-11-15 19:46:43 +00:00
Andy Allan
0195dd60a4 Simplify date display by using friendly_date helpers 2023-11-15 19:46:10 +00:00
Andy Allan
0058765a4e Avoid wrapping friendly_date with abbr tags 2023-11-15 19:45:48 +00:00
Andy Allan
bc9c492c48 Use friendly_date helpers for revoking user blocks 2023-11-15 19:44:10 +00:00
Andy Allan
100a7f8979 Use friendly_date for note disappear description
There's no need to reimplement this in its own helper.
2023-11-15 19:36:35 +00:00
Andy Allan
026fce06f4 Use the friendly_data_ago helper for contacts on the dashboard
Also take the opportunity to fix the translation key.
2023-11-15 19:21:51 +00:00
Andy Allan
d8400320a7 Use time instead of abbr element for changesets_helper 2023-11-15 19:19:57 +00:00
Andy Allan
d739943b36 Avoid wrapping time tags in abbr for note_helper 2023-11-15 19:18:01 +00:00
Andy Allan
0d33820150 Add missing tests for friendly_date_ago helper 2023-11-15 19:16:18 +00:00
Tom Hughes
f2f0cf1ad9 Switch to using native rails support for managing Postgres enumerations 2023-11-15 18:25:05 +00:00
Andy Allan
24a562f885 Use html 'time' element for friendly date helpers
This provides more structure than just a simple span.
2023-11-15 17:53:38 +00:00
Tom Hughes
cebda5ffb9 Merge remote-tracking branch 'upstream/pull/4319' 2023-11-15 17:14:49 +00:00
Andy Allan
ba2b973846
Merge pull request #4333 from mapmeld/rtl-on-tag-values
Format right-to-left and bi-di text in OSM tag values
2023-11-15 16:05:46 +00:00
Nick Doiron
a88f7db586 Format right-to-left and bi-di text in OSM tag values 2023-11-15 09:36:18 -06:00
Andy Allan
6016acb7e9
Merge pull request #4311 from tomhughes/query-locales
Improve name selection with the query tool
2023-11-15 15:34:28 +00:00
Tom Hughes
3d5ad709fa Merge remote-tracking branch 'upstream/pull/4346' 2023-11-15 15:18:40 +00:00
Andy Allan
3c7b7cef70 Remove global text-align declarations
These interfere with directions set in `dir` attributes, e.g. `dir='auto'`.

The corresponding text-align was removed in Bootstrap 5.

Fixes #3432.
2023-11-15 15:08:23 +00:00
Andy Allan
71cb84bbe2
Merge pull request #4318 from tomhughes/rails-71-defaults
Enable remaining rails 7.1 defaults
2023-11-15 11:48:18 +00:00
Tom Hughes
c94de1e1a3 Improve name selection with the query tool
Pass the full expanded list of preferred languages to the client
and use that when looking for the best name for an object.

Fixes #4310
2023-11-14 17:45:50 +00:00
Tom Hughes
1ce5d7dec1 Merge remote-tracking branch 'upstream/pull/4297' 2023-11-14 17:19:54 +00:00
Anton Khorev
562e7e7d32 Remove some tag table custom css 2023-11-14 17:17:18 +00:00
Tom Hughes
ab54ab95b7 Merge remote-tracking branch 'upstream/pull/4345' 2023-11-14 15:40:03 +00:00
Tom Hughes
4022d84ccb Update bundle 2023-11-14 15:37:38 +00:00
Anton Khorev
6f38ee2dbb Remove $spacer css from browse status panel 2023-11-14 08:37:05 +03:00
Anton Khorev
41f7670ee2 Remove $spacer css from sidebar content 2023-11-14 08:22:43 +03:00
Tom Hughes
49e0cae31e Update to rails 7.1.2 2023-11-13 22:10:55 +00:00
Tom Hughes
4ed7387551 Merge remote-tracking branch 'upstream/pull/4343' 2023-11-13 18:44:16 +00:00
Tom Hughes
afc8dad0b6 Merge remote-tracking branch 'upstream/pull/4342' 2023-11-13 18:42:46 +00:00
Tom Hughes
96ee97ff93 Merge remote-tracking branch 'upstream/pull/4341' 2023-11-13 18:40:55 +00:00
Tom Hughes
b8609d2eae Merge remote-tracking branch 'upstream/pull/4340' 2023-11-13 18:39:32 +00:00
Tom Hughes
3ae16dba33 Merge remote-tracking branch 'upstream/pull/4339' 2023-11-13 18:35:13 +00:00
translatewiki.net
0eed6708a8 Localisation updates from https://translatewiki.net. 2023-11-13 13:20:37 +01:00
Anton Khorev
138aaf0f7a Remove custom css and large left margin for map noscript message 2023-11-13 12:24:51 +03:00
Anton Khorev
342d323c04 Remove unused maximiseMap/minimiseMap functions 2023-11-13 11:13:56 +03:00
Anton Khorev
4ba24bdd5d Remove some custom css for pages with embedded iD 2023-11-13 10:46:17 +03:00
Anton Khorev
65e1ee6836 Remove custom css and unnecessary div nesting of welcome panel 2023-11-13 10:11:42 +03:00
Anton Khorev
77be0e3225 Remove relative position from sidebar child divs other than banners 2023-11-13 09:46:11 +03:00
Tom Hughes
22e079a3c3 Merge remote-tracking branch 'upstream/pull/4336' 2023-11-12 14:26:02 +00:00
Anton Khorev
8a3607860e Set banner close button background/opacity with Bootstrap 2023-11-12 10:17:06 +03:00
Anton Khorev
afce238f6c Use dark theme to invert banner close button 2023-11-12 10:13:48 +03:00