Commit graph

2374 commits

Author SHA1 Message Date
Anton Khorev
c739e061cc Truncate if necessary and set dir=auto for changeset usernames 2024-12-03 10:24:56 +03:00
Anton Khorev
9f34143049 Store selected map color scheme 2024-12-01 04:58:43 +03:00
Anton Khorev
045af66d43 Store selected site color scheme 2024-12-01 04:43:31 +03:00
Anton Khorev
aca9bd205e Add subscribe/unsubscribe buttons to note pages 2024-11-22 00:55:41 +03:00
Anton Khorev
53a33110f0 Add destroy note subscription api endpoint 2024-11-20 20:35:24 +03:00
Anton Khorev
edd12c6995 Add create note subscription api endpoint 2024-11-20 20:34:52 +03:00
Anton Khorev
a25b7953b3 Merge branch 'pull/5297' 2024-11-18 18:15:25 +03:00
Emin Kocan
738e66afa6 Add status filter to user's note page 2024-11-18 15:21:55 +01:00
Anton Khorev
24ccba60cb Style small auth buttons similarly to preferred auth buttons 2024-11-15 19:09:57 +03:00
Andy Allan
cdf9634d08
Merge pull request #5293 from AntonKhorev/user-roles-resourceful-routes
Use resourceful routes for granting/revoking user roles
2024-11-13 18:45:16 +00:00
Tom Hughes
d975100504 Merge remote-tracking branch 'upstream/pull/5312' 2024-11-13 16:55:44 +00:00
Tom Hughes
a42b654606 Make the "remember me" option work as intended 2024-11-13 12:18:23 +00:00
Anton Khorev
ff0569829f Don't update deactivates_at if block was already viewed 2024-11-13 01:41:11 +03:00
Anton Khorev
2347906725 Send notifications to note subscribers instead of commenters 2024-11-08 11:40:55 +03:00
gobinathal
2d8feb6d79 Remove hardcoded rate limit value
Name is chosen to match the equivalent setting in the configuration
of the rate limits for edits.

Fixes #4427.
2024-11-07 18:33:53 +00:00
Anton Khorev
b8247478f4 Use resourceful routes for granting/revoking user roles 2024-11-06 18:38:26 +03:00
Tom Hughes
e15a92a302 Fix new rubocop warnings 2024-11-05 18:23:47 +00:00
Anton Khorev
2d7e0a397a Subscribe users when they interact with notes 2024-10-28 02:35:25 +03:00
Amir E. Aharoni
0d650217f4 Consistent use of quotes
Most strings used single quotes, and a few used
opening backticks. Now it's single quotes everywhere.
2024-10-26 11:39:52 -04:00
Tom Hughes
fb6042e35c Avoid adjusting time by a number of days
Using hours instead of days avoids test failures when moving
past a point in time when the clocks change.
2024-10-25 19:30:27 +01:00
Anton Khorev
eaabf7bb59 Remove "User's Diary" from diary entry og:title 2024-10-20 19:12:09 +03:00
Emin Kocan
40c71f28be Enable eslint and fix eslint errors for osm_test.js 2024-10-12 21:02:10 +02:00
Emin Kocan
b17517e02c Disable eslint for js test files to test for github-ci 2024-10-12 20:50:56 +02:00
Emin Kocan
5c7b7383e7 Use chai assertion style 2024-10-12 20:50:56 +02:00
Emin Kocan
123c7d10a5 Selenium driver working on local 2024-10-12 20:50:38 +02:00
Andy Allan
9266180344 Use teaspoon to run javascript tests
Refs #2595
2024-10-12 20:47:26 +02:00
Andy Allan
5720968323
Merge pull request #5070 from tomhughes/rails72
Update to rails 7.2.0
2024-10-02 17:00:26 +01:00
Nenad Vujicic
7f6028cd7d Masked off reporting as unused various keys
Added time.formats.{blog, friendly} translation keys under ignore_unused in i18n-tasks.yml since used on numerous places for formatting dates / times, removed site.sidebar.close because started being used at 3a51160 and ended being used at 6adcce4, removed sessions.new.title because started being used at f18baae and has been used only in test/system/issues_test.rb (from which we removed it because tests are always in EN)
2024-09-30 17:52:33 +02:00
Tom Hughes
8a685b70e8 Merge remote-tracking branch 'upstream/pull/5232' 2024-09-22 17:08:47 +01:00
Tom Hughes
7af9a60ecc Merge remote-tracking branch 'upstream/pull/5231' 2024-09-22 17:07:45 +01:00
mmd-osm
72d61f2924 Trace import: validate background job results 2024-09-21 22:30:30 +02:00
mmd-osm
ac42afefcd OCI: ignore invalid replacement token 2024-09-21 09:17:03 +02:00
Anton Khorev
81bac0b09b Don't include stack backtraces on xml errors when importing traces 2024-09-20 16:36:54 +03:00
Tom Hughes
60c1ae79d6 Fix warnings about tests with no assertions 2024-09-17 20:39:31 +01:00
Tom Hughes
6789fc3081 Drop support for ruby 3.0
Also add Ubuntu 24.04 and drop 20.04 as 24.04 is needed for
ruby 3.1 without rvm so we should test it.
2024-09-17 20:39:22 +01:00
Tom Hughes
fe96c0a524 Replace creation_ip with creation_address 2024-09-15 19:38:21 +01:00
Anton Khorev
ed74bc036b Fix browse elements timeouts 2024-09-14 18:03:48 +03:00
Tom Hughes
70f1b327b4 Merge remote-tracking branch 'upstream/pull/5178' 2024-09-13 18:09:37 +01:00
Tom Hughes
6d49bc6ebb Make select all checkbox on users list work with turbo 2024-09-12 19:10:26 +01:00
Anton Khorev
9c93fe906d Fix friendships limit flash message 2024-09-12 15:42:36 +03:00
Tom Hughes
17bea98e19 Merge remote-tracking branch 'upstream/pull/5189' 2024-09-11 17:13:56 +01:00
Anton Khorev
02c2d5292b Remove :id from redaction path helper calls 2024-09-11 17:55:23 +03:00
Anton Khorev
138988860c Replace 'remove this redaction' confirmation and request with Turbo 2024-09-11 17:43:37 +03:00
Tom Hughes
173ed570b9 Merge remote-tracking branch 'upstream/pull/5179' 2024-09-10 18:42:20 +01:00
Anton Khorev
7633657ecb Pass translation scope instead of keys to shared pagination 2024-09-10 10:37:36 +03:00
Anton Khorev
8a84825b02 Fix changeset comments feed timeout 2024-09-09 19:14:51 +03:00
Anton Khorev
8b024f48c1 Disable redactions with write_api scope
Requires write_redactions scope to redact. Previously it was possible to redact with either write_redactions or write_api.
2024-09-08 12:31:31 +03:00
Anton Khorev
b14342b6f1 Merge branch 'pull/5155' 2024-09-06 01:23:36 +03:00
Anton Khorev
e7fb89c8d0 Remove nil ApiCapability user branch 2024-09-05 23:21:24 +03:00
Tom Hughes
4d221fd7a6 Simplify creation of bearer authorization headers
Uses the new features added to the bearer_authorization_header while
dropping basic authentication support to simplify the creation of bearer
authorization headers for API tests.
2024-09-03 18:54:05 +01:00