Commit graph

2219 commits

Author SHA1 Message Date
Anton Khorev
ad96da4518 Rename api element version path helper 2024-03-04 11:28:50 +03:00
Anton Khorev
cbf6b39464 Rename api element version action to show 2024-03-04 11:19:50 +03:00
Anton Khorev
bde2faac58 Remove assert_response when followed by assert_redirected_to 2024-03-03 10:56:50 +03:00
Andy Allan
4e237db390 Be paranoid when sending password reset emails
This implements what is known as "paranoid" password reset flash
messages (using the terminology from Devise). It avoids revealing
whether the supplied email address is already registered.

Added an explicit test for this situation, so that the test for
email non-existance is separate from the duplicate-case tests.
2024-03-02 15:48:54 +00:00
Tom Hughes
664d02982c Merge remote-tracking branch 'upstream/pull/4324' 2024-03-01 19:23:51 +00:00
Anton Khorev
81b431ac11 Add links to reveal/hide redacted version data 2024-03-01 14:23:04 +03:00
Anton Khorev
ee4c34172f Don't show unredacted element versions to non-moderators 2024-03-01 12:29:06 +03:00
Anton Khorev
886712eaf0 Show unredacted element history 2024-03-01 11:21:49 +03:00
Anton Khorev
533816a3c2 Add link to unredacted element history for moderators 2024-03-01 11:21:49 +03:00
Anton Khorev
88669ef809 Move changeset created/closed popup/feed strings to changesets locale 2024-03-01 10:48:30 +03:00
Anton Khorev
7d4b48f0f8 Move changeset element headings to changesets locale 2024-03-01 10:48:30 +03:00
Anton Khorev
c1b5ae0aa0 Move changeset show action to changesets controller 2024-03-01 10:48:30 +03:00
Tom Hughes
29cc21c599 Drop user tokens table 2024-02-28 21:02:54 +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
Tom Hughes
085d8ebe6a Make the user factory generate valid passwords 2024-02-27 20:52:18 +00:00
Tom Hughes
f31c81c3f3 Fix rubocop warnings 2024-02-25 14:17:05 +00:00
Tom Hughes
53817fa9e8 Merge remote-tracking branch 'upstream/pull/4251' 2024-02-25 14:06:56 +00:00
Tom Hughes
3360f91733 Require display names to have a minimum unicode width of 3 columns
Fixes #4538
2024-02-25 13:21:03 +00:00
Andy Allan
a1a6c577e8
Merge pull request #4534 from tomhughes/list-headers
Add standard List-XXX headers to some notification mails
2024-02-25 11:36:05 +01:00
Andy Allan
2dfe6f3f2e
Merge pull request #4536 from tomhughes/trace-size-limit
Add a limit on the number of points in a GPS trace
2024-02-25 11:35:20 +01:00
Andy Allan
52f755cb27
Merge pull request #4535 from tomhughes/rails-tokens
Use rails generated tokens for emails
2024-02-25 11:32:15 +01:00
Tom Hughes
1b5200b797 Treat github and wikipedia provided emails as confirmed
Fixes #4270
2024-02-25 10:04:18 +00:00
Tom Hughes
741ed58838 Add a limit on the number of points in a GPS trace 2024-02-25 09:50:02 +00:00
Tom Hughes
f0764d3eca Add unsubscribe link to changeset notification mails 2024-02-25 09:48:11 +00:00
Tom Hughes
8e21e4e801 Move mechanics of changeset subscriptions into the model 2024-02-25 09:48:11 +00:00
Tom Hughes
f5aa031b58 Rename path for changeset API subscription methods 2024-02-25 09:48:11 +00:00
Tom Hughes
746bfd0a48 Merge remote-tracking branch 'upstream/pull/4463' 2024-02-25 09:28:48 +00:00
Tom Hughes
4dff06a629 Use rails tokens for signup confirmations 2024-02-24 13:53:05 +00:00
Tom Hughes
ad2739347b Use rails tokens for email changes 2024-02-24 13:52:35 +00:00
Tom Hughes
b8fad531e4 Use rails tokens for password resets 2024-02-24 13:23:19 +00:00
Tom Hughes
d8cca976c0 Merge remote-tracking branch 'upstream/pull/4523' 2024-02-20 18:35:23 +00:00
Anton Khorev
7c522a4e02 Link to current and old element versions from changeset pages 2024-02-19 05:04:18 +03:00
Anton Khorev
ba2c75641d Move element title to changeset/relation list item 2024-02-19 03:42:24 +03:00
Anton Khorev
a8f14fb509 Separate element strikethrough from classes 2024-02-19 03:41:59 +03:00
Anton Khorev
d4aa257524 Apply changeset element classes to list items 2024-02-19 02:58:52 +03:00
Tom Hughes
81857a7446 Include some XML special characters in the changeset feed comment test 2024-02-18 18:45:22 +00:00
Anton Khorev
a07df4c67b Add unsubscribe link to diary comment notification email 2024-02-17 06:16:42 +03:00
Anton Khorev
3a873b1668 Add diary entry subscribe/unsubscribe GET pages 2024-02-17 05:43:13 +03:00
Anton Khorev
dc07462c3b Test changeset feed entry titles 2024-02-16 20:25:28 +03:00
Anton Khorev
e2f1d0d4c2 Test if changeset feed entries are in specified order 2024-02-16 20:08:41 +03:00
Anton Khorev
ef919179fa Show api error message if failed to (un)subscribe 2024-02-12 01:27:12 +03:00
Anton Khorev
2b8798d769 Remove hidden comments test from controller tests 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
Simon Legner
a0aef5c722 SessionsController: strip username 2024-02-11 21:53:03 +01:00
Anton Khorev
956ba386d6 Move system test specific sign in to system test superclass 2024-02-10 17:26:57 +03:00
Andy Allan
bd1f568c0a Add minitest-focus gem 2024-02-07 18:08:25 +00:00
Tom Hughes
b9c5df4dad Use with_settings for temporary changes to settings 2024-02-01 18:37:28 +00:00
Tom Hughes
31659bedbe Allow registration of OAuth 1.0 applications to be disabled 2024-01-31 19:18:16 +00:00