Commit graph

128 commits

Author SHA1 Message Date
Anton Khorev
76736bab4f Change submit button on block edit page when can only revoke 2024-08-22 14:01:54 +03:00
Anton Khorev
11a7bf7e0e Remove duration controls for blocks that can only be revoked by editing 2024-08-22 14:01:54 +03:00
Anton Khorev
afffd3bf4b Remove duration and needs_view inputs from inactive block edit form 2024-08-16 13:00:19 +03:00
Tom Hughes
257ecde90d Merge remote-tracking branch 'upstream/pull/5075' 2024-08-14 19:06:42 +01:00
Anton Khorev
8498d0d6a8 Switch to edit pane if rich text field validation fails
Allows the "Please fill out this field" message to be visible.
2024-08-14 16:43:57 +03:00
Anton Khorev
462996a41a Rename user blocks system test class 2024-08-14 16:12:05 +03:00
Anton Khorev
5623967267 Set search input value when searching for coordinates 2024-07-18 14:56:36 +03:00
Anton Khorev
0e3f0fbfd4 Set search input value to 'lat, lon' params if query param is missing 2024-07-17 16:43:52 +03:00
Anton Khorev
66140c8d1d Show/hide entire OpenID form 2024-07-12 14:22:11 +03:00
nertc
c66851f474 Share button unusable on a cell phone 2024-07-04 18:09:48 +04:00
Anton Khorev
adabf84fe6 Set i18n locale before writing "report a problem" on embed page 2024-06-30 04:51:43 +03:00
Milan Cvetkovic
9649b192c0 Add preferred provider social signup
- Add preferred provider for authorization to login and signup pages.
  To use, the 3rd party application would have to add `preferred_provider=...`
  parameter to OAuth2 authorization request.
- Resize 3rd party provider icons
- Add "login to authorize" heading to login and signup screens
2024-04-29 11:32:54 +00:00
Milan Cvetkovic
f8a606869e Remove email confirmation field in signup form 2024-04-27 12:44:09 +01:00
Milan Cvetkovic
1276fb944a Merge login and terms screens, assume TOU and contributor terms are accepted on /user/new form
This eliminates the need for "terms" screen after /user/new form..
Terms screen is still required for legacy users who never accepted the terms.
2024-04-27 12:44:09 +01:00
Gregory Igelmund
1a7b7f5d18 Enable Turbo Drive with morphing for Messages#{destroy,mark} 2024-03-21 14:55:16 +01:00
Andy Allan
d04852fa47 Fix warning on unescaped hyphen in regexp 2024-03-20 17:05:28 +00:00
Tom Hughes
47ef813f1f Add a system test to do an end-end test of changing email 2024-02-27 20:53:24 +00:00
Anton Khorev
ef919179fa Show api error message if failed to (un)subscribe 2024-02-12 01:27:12 +03:00
Anton Khorev
55bb243731 Turn hide/unhide comment controls into buttons 2024-02-12 01:27:12 +03:00
Anton Khorev
5411be6750 Test changeset commenting 2024-02-12 01:23:23 +03:00
Anton Khorev
61c32388a9 Test notices of disabled changeset commenting 2024-02-12 01:23:23 +03:00
Anton Khorev
d1b58fb20e Show blocked api response when reopening notes 2024-01-17 02:15:14 +03:00
Anton Khorev
3ea2c30c58 Show blocked api response when commenting notes 2024-01-17 02:15:14 +03:00
Anton Khorev
44d9b77f7a Limit system test asserts/interactions to sidebar 2024-01-17 01:46:50 +03:00
Tom Hughes
55a793150d Fix new rubocop warnings 2024-01-09 18:43:15 +00:00
Tom Hughes
48214c6441 Merge remote-tracking branch 'upstream/pull/4440' 2024-01-07 12:20:47 +00:00
Anton Khorev
1ff7b6217a Add controls to revoke all blocks page 2024-01-07 15:15:28 +03:00
Anton Khorev
3443533ce3 Add revoke all blocks page title 2024-01-07 15:15:28 +03:00
Anton Khorev
8682b58154 Add revoke all blocks link 2024-01-07 15:15:28 +03:00
Anton Khorev
f0b24cdc84 Add website oauth app registration to system tests 2024-01-07 14:37:41 +03:00
Anton Khorev
6272b041c6 Add :closed trait to note factory 2024-01-05 12:34:27 +03:00
Tom Hughes
945c9a635a Merge remote-tracking branch 'upstream/pull/4451' 2024-01-03 18:49:59 +00:00
Anton Khorev
3a8a997fb8 Use assert_not_predicate in tests that have assert_predicate 2024-01-03 16:01:17 +03:00
Anton Khorev
f4d84c4806 Add links to diaries in preferred languages 2024-01-03 13:10:08 +03:00
Anton Khorev
3776adcfc0 Add login notice for note discussions 2023-12-31 05:13:30 +03:00
Gregory Igelmund
9aed404888
test/system/messages_test.rb: Rename NoteCommentsTest -> MessagesTest 2023-12-29 09:42:18 -05:00
Tom Hughes
b2c5461fed Merge remote-tracking branch 'upstream/pull/4437' 2023-12-28 18:35:18 +00:00
Anton Khorev
333cce15c8 Add missing locale string for /oauth2/authorized_applications 2023-12-27 05:30:07 +03:00
Anton Khorev
d1763dd526 Fix messages heading update when message is deleted 2023-12-26 04:46:35 +03:00
Gregory Igelmund
d0ec5d1437 Add tests & factories for UserMute feature 2023-12-19 12:57:47 -05:00
Anton Khorev
14bd660114 Disable delete account button if there are recent changesets 2023-11-22 17:37:04 +03:00
Tom Hughes
e8af4b85bf Fix new rubocop warnings 2023-09-26 18:42:57 +01:00
Andy Allan
9bb8dd739a Use data attributes to pass alternative button labels
This allows the text to be defined in the html partials, instead
of looking up the i18n via javascript.
2023-02-01 17:24:47 +00: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
Tom Hughes
4704059096 Update tests for changes in osm-community-index 2023-01-14 15:12:23 +00:00
Andy Allan
6f471c72c9 Wait for the button to be disabled, before checking the tooltip behaviour
Rather than sleeping for a fixed period, we can use Capybara's built-in
ability to wait for elements to be present. Since we're only changing
the state of existing elements though, we need to wait for their
"disabled" property to be set.

Fixes some timing-related problems with the test suite.
2022-12-21 17:08:51 +00:00
Andy Allan
ace8e9a9c3 Fix redirection to wiki when terms are declined
Adds missing test to pick this up.

Fixes #3826.
2022-12-21 15:39:23 +00:00
Andy Allan
4ab134d869 Use fallbacks for OCI resource names
This uses the fallbacks for OCI translations. For example, if a
local chapter doesn't have an explicitly translated name, it will
use a template for osm-lc resources and fill in the appropriate
translated community name.

Fixes #3814
2022-12-14 14:54:01 +00:00
Tom Hughes
e2f071869f Increase delay to improve test reliability 2022-12-09 15:43:23 +00:00
Tom Hughes
6ffe31795b Make tooltip tests more robust 2022-11-30 12:58:13 +00:00