Commit graph

1869 commits

Author SHA1 Message Date
Anton Khorev
f4d84c4806 Add links to diaries in preferred languages 2024-01-03 13:10:08 +03:00
Anton Khorev
6427f68ea7 Don't show native language name if it's the same as English name 2024-01-02 09:09:33 +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
ee56d1057d Merge remote-tracking branch 'upstream/pull/4439' 2023-12-28 18:39:22 +00:00
Tom Hughes
b2c5461fed Merge remote-tracking branch 'upstream/pull/4437' 2023-12-28 18:35:18 +00:00
Tom Hughes
fc091ff2b8 Merge remote-tracking branch 'upstream/pull/4434' 2023-12-28 18:23:21 +00:00
Anton Khorev
8c32e63492 Set block ends_at to exactly created_at + duration 2023-12-27 06:48:00 +03: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
Anton Khorev
cda8ca0607 Use <path> instead of <line> 2023-12-24 19:47:37 +03:00
Anton Khorev
b13ac4ec21 Add border/casing/line attribute support to svg map keys 2023-12-24 19:47:37 +03:00
Anton Khorev
daa2543511 Add oauth scope for redactions 2023-12-21 17:37:17 +03:00
Tom Hughes
fb3326778b Merge remote-tracking branch 'upstream/pull/4426' 2023-12-20 18:39:57 +00:00
Andy Allan
f22ecd6309 Avoid running integration tests in every locale
We have over 200 locales, and so this takes a long time. This reduces
time taken from around 200 seconds to 6 to run these tests.
2023-12-20 11:45:08 +00:00
Gregory Igelmund
d0ec5d1437 Add tests & factories for UserMute feature 2023-12-19 12:57:47 -05:00
Tom Hughes
d8e5b84e5b Add test for no_trace_download ACLs 2023-12-19 12:03:08 +00:00
Tom Hughes
f28bad7229 Add test for no_note_comment ACLs 2023-12-19 12:03:08 +00:00
Tom Hughes
9a6a6fab73 Make allow_account_creation work the same as other ACLs 2023-12-19 12:03:08 +00:00
Tom Hughes
1b675a6dee Merge remote-tracking branch 'upstream/pull/4407' 2023-12-17 18:41:56 +00:00
Milan Cvetkovic
a4c23cd89f Implement allow list for account creation 2023-12-17 07:55:43 +00:00
Anton Khorev
07436bc1b0 Keep trailing semicolons in formatted tag values 2023-12-14 18:08:06 +03:00
Andy Allan
4bca24a7be Resourceful routing for passwords
This also matches the routes used by devise
2023-12-06 18:41:00 +00:00
Tom Hughes
0c2e471708 Fix new rubocop warnings 2023-12-05 18:13:13 +00:00
Tom Hughes
12b4d11d44 Use SecureRandom to generate user tokens 2023-12-04 17:25:57 +00:00
Tom Hughes
7f6f015636 Update expected response for doorkeeper errors 2023-11-28 18:35:11 +00:00
Tom Hughes
efd2b92a80 Prevent unauthenticated users commenting on notes via the API 2023-11-23 16:56:07 +00:00
Anton Khorev
b5f8df642a Disallow account deletion after confirmation 2023-11-22 17:37:04 +03:00
Anton Khorev
14bd660114 Disable delete account button if there are recent changesets 2023-11-22 17:37:04 +03:00
Anton Khorev
a8aaf62e62 Add earliest allowed deletion time to user model 2023-11-22 17:02:48 +03:00
Anton Khorev
91a4fd6b5a Add user account deletion delay test helper 2023-11-22 16:15:59 +03:00
Tom Hughes
2fcee9625d Merge remote-tracking branch 'upstream/pull/4349' 2023-11-15 22:30:41 +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
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
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
Anton Khorev
562e7e7d32 Remove some tag table custom css 2023-11-14 17:17:18 +00:00
Tom Hughes
7e974b8662 Add tests for API change rate limits 2023-11-02 08:59:57 +00:00
Tom Hughes
ba503e02d2 Enforce rate limit for API calls which make changes 2023-11-02 08:59:57 +00:00
Tom Hughes
c6bb4a5f4e Add importer role that can be associated with higher rate limits 2023-11-02 08:58:12 +00:00
Tom Hughes
ee3f045495 Assign proper sequence numbers to relation members in tests 2023-10-26 18:22:41 +01:00
Anton Khorev
62ba143c3c Remove some search/directions custom css 2023-10-20 16:58:59 +03:00
Tom Hughes
45be62391f Update test results for changes to rescuable exception handling
https://github.com/rails/rails/pull/45867
2023-10-18 18:26:14 +01:00
Tom Hughes
3e3873a7c2 Fix test as rails no longer seems to return a body for redirects 2023-10-18 18:26:14 +01:00
Tom Hughes
46cd08b1c8 Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
Tom Hughes
8d7b98a618 Drop workaround to force UTF8 form upload in IE8
This has been disabled by default in rails for some time.
2023-10-07 11:57:54 +01:00
Andy Allan
1700c23dd1 Prefer find_by() instead of where().first
These are very similar, differing only if we would expect multiple
results and the sorting is important. However, in all our cases
we're only expecting one result to be returned, and so find_by is
easier to read.
2023-10-04 17:53:58 +01:00
Tom Hughes
c8fc2218e5 Merge remote-tracking branch 'upstream/pull/4226' 2023-10-03 19:39:41 +01:00