Commit graph

842 commits

Author SHA1 Message Date
Tom Hughes
334c856021 Test unicode values in user preference keys and values 2024-05-16 17:51:33 +01:00
Andy Allan
ffda8d7ac5
Merge pull request #4680 from tomhughes/validate-page-numbers
Add parameter validation to pagination
2024-05-15 17:43:04 +01:00
Anton Khorev
822466c6c6 Add warnings when creating notes anonymously 2024-05-14 19:42:59 +03:00
Tom Hughes
0b18937384 Merge remote-tracking branch 'upstream/pull/4757' 2024-05-06 11:15:12 +01:00
Anton Khorev
f418d0bbb4 Simplify message paths in tests 2024-05-06 12:37:57 +03:00
Tom Hughes
b625eefdeb Merge remote-tracking branch 'upstream/pull/4455' 2024-05-06 09:15:03 +01:00
Tom Hughes
51d778097f Merge remote-tracking branch 'upstream/pull/4753' 2024-05-05 18:54:57 +01:00
Anton Khorev
926788ff9a Remove tests for message paths without ids
These tests don't fail because they reuse ids from previous requests.
2024-05-05 17:14:37 +03:00
Anton Khorev
5da2957591 Redirect to inbox after marking a message as read/unread disregarding referer
Avoids staying on the message page after the "Mark as unread" button is clicked and immediately reading the message again.
2024-05-05 15:32:47 +03:00
Anton Khorev
4c21a09b32 Rename unread_message to message in messages controller test
There's only one message in the affected test methods. That message becomes read during the test.
2024-05-05 15:21:09 +03:00
Tom Hughes
b3759c0d58 Merge remote-tracking branch 'upstream/pull/4747' 2024-05-02 17:52:45 +01:00
Anton Khorev
15e1459f25 Link to previous/next nonempty user's changeset on changeset pages 2024-05-01 15:02:59 +03:00
Anton Khorev
f554e14b7f Use common sidebar_browse_check in notes controller test 2024-05-01 13:21:24 +03:00
Anton Khorev
eaacfbb911 Restore constraints on note id parameter 2024-05-01 13:17:14 +03: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
Anton Khorev
fdd596bd60 Remove .inbox-row and use .table-success instead of .inbox-row-unread 2024-04-16 00:44:53 +03:00
Anton Khorev
ea47f9bc68 Test rows inside messages table body 2024-04-16 00:44:53 +03:00
Tom Hughes
d8b468e7a1 Add validation for maximum ID passed to changesets#index 2024-04-11 10:08:20 +01:00
Tom Hughes
e3c43e4a1a Add validation for before/after parameters to pagination concern 2024-04-11 10:08:20 +01:00
Tom Hughes
5d887a37bf Add validation for page number passed to notes#index 2024-04-11 10:08:20 +01:00
Tom Hughes
feff501b25 Add framework for parameter validation using rails_param gem 2024-04-11 10:08:20 +01:00
Anton Khorev
2f53c2520d Simplify redact element paths in api tests 2024-04-02 15:49:40 +03:00
Anton Khorev
c073acf5b7 Simplify element history paths in api tests 2024-04-02 15:28:49 +03:00
Anton Khorev
0e50ff563e Simplify old element show paths in api tests 2024-04-02 15:13:27 +03:00
Anton Khorev
ba2eb52054 Simplify element show paths in api tests 2024-04-02 14:53:17 +03:00
Anton Khorev
352e5de4b9 Simplify element multi fetch paths in api tests 2024-04-02 14:36:29 +03:00
Tom Hughes
c79da4746a Merge remote-tracking branch 'upstream/pull/4637' 2024-04-01 18:54:52 +01:00
Tom Hughes
d2688d4d63 Merge remote-tracking branch 'upstream/pull/4639' 2024-04-01 18:37:27 +01:00
Anton Khorev
765165777e Rename api changesets index action 2024-03-30 08:26:58 +03:00
Anton Khorev
134f9e2df1 Use before/after pagination on users page 2024-03-29 18:21:15 +03:00
Anton Khorev
32f13f5d68 Redirect from old diary comments pagination 2024-03-29 08:09:26 +03:00
Anton Khorev
a01fbed6d9 Fix module name of trace tests 2024-03-28 08:42:01 +03:00
Anton Khorev
180a61bcc3 Move trace pictures/icons into their own controllers 2024-03-27 13:25:28 +03:00
Anton Khorev
9f8e4fd60a Use before/after pagination on users page 2024-03-26 05:44:35 +03:00
Anton Khorev
23e00dc4c7 Shorten note path helper calls in tests 2024-03-24 17:19:05 +03:00
Tom Hughes
b2acd6e49c Merge remote-tracking branch 'upstream/pull/4612' 2024-03-21 17:25:41 +00:00
Anton Khorev
9c0d74fe69 Simplify and test downloaded changeset element sorting 2024-03-21 20:02:18 +03:00
Tom Hughes
32ab099c35 Merge remote-tracking branch 'upstream/pull/4562' 2024-03-21 16:38:18 +00:00
Tom Hughes
44312c221b Merge remote-tracking branch 'upstream/pull/4609' 2024-03-21 16:32:36 +00:00
Tom Hughes
dd27022a35 Merge remote-tracking branch 'upstream/pull/4608' 2024-03-21 16:30:21 +00:00
Anton Khorev
b8f5a495f2 Simplify remaining link_to ... user_path in views 2024-03-21 18:07:56 +03:00
Anton Khorev
ff8fbcbdc5 Simplify links on diary pages 2024-03-21 17:30:59 +03:00
Gregory Igelmund
1a7b7f5d18 Enable Turbo Drive with morphing for Messages#{destroy,mark} 2024-03-21 14:55:16 +01:00
Anton Khorev
919fcef149 Fix user's traces tab link 2024-03-21 16:43:15 +03:00
Anton Khorev
1ca91ecbac Use absolute paths to trace icon in traces feed 2024-03-20 18:34:15 +03:00
Andy Allan
edd8bf7739
Merge pull request #4592 from AntonKhorev/simplify-link_to-on-block-pages
Simplify link_to user calls on block pages
2024-03-20 14:44:42 +00:00
Andy Allan
f0e76d90ad
Merge pull request #4594 from AntonKhorev/simplify-link_to-on-message-pages
Simplify link_to calls on message pages
2024-03-20 14:30:06 +00:00
Anton Khorev
fc270221d3 Simplify links on trace pages 2024-03-20 06:07:24 +03:00
Anton Khorev
332fad14bb Simplify link_to calls on message pages 2024-03-20 04:48:02 +03:00