Commit graph

6785 commits

Author SHA1 Message Date
Anton Khorev
a8aaf62e62 Add earliest allowed deletion time to user model 2023-11-22 17:02:48 +03:00
Tom Hughes
f08fb4f30f Prevent API tokens without write_notes creating attributed comments
Fixes #4362
2023-11-22 12:30:39 +00:00
Tom Hughes
ce385c88eb Merge remote-tracking branch 'upstream/pull/4358' 2023-11-21 17:24:19 +00:00
Milan Cvetkovic
aeb4271a27 Do not merge zoom/lat/lon options with oauth_return_url 2023-11-21 13:01:52 +00:00
Milan Cvetkovic
1fbd1d11c4 Extract welcome_options function to simplify save function 2023-11-21 11:56:09 +00:00
Milan Cvetkovic
87a5a0844b Welcome screen works with confirmation email too 2023-11-21 11:56:09 +00:00
Milan Cvetkovic
60c885d071 Welcome screen displays 'Continue with authorization'
do not hide notes
2023-11-21 11:56:09 +00:00
Anton Khorev
f23993a4df Remove 'need to return bbox' comment on conditions_bbox 2023-11-21 13:55:35 +03:00
Anton Khorev
e90d48adc9 Remove 'basic attributes' comments from changeset api output builders 2023-11-20 15:39:27 +03:00
Anton Khorev
f3144a962b Fix tiny user thumbnail size at 25x25 px 2023-11-17 12:45:20 +03:00
Anton Khorev
b5679e16db Disable text wrapping while measuring header width 2023-11-17 10:27:38 +03:00
Anton Khorev
693fe3b587 Switch to flex header container 2023-11-17 10:27:38 +03:00
Tom Hughes
b45bce3370 Fix positioning of placeholder text in RTL mode
Fixes #3910
2023-11-16 22:54:03 +00:00
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
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
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
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
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
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
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
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
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
Tom Hughes
68845eb725 Use the URL safe base64 variant for mail tokens 2023-11-08 22:53:18 +00:00
Tom Hughes
f5c5aacb20 Merge remote-tracking branch 'upstream/pull/4331' 2023-11-08 18:22:50 +00:00