Anton Khorev
cc3bccb9b3
Create message read_mark resource
2025-01-24 04:34:20 +03:00
Anton Khorev
3350789978
Show outbox after sending new message
2025-01-04 18:24:47 +03:00
Anton Khorev
0016c6f4b1
Use resourceful route for message reply
2025-01-03 11:12:29 +03:00
Anton Khorev
d57033fa87
Use resourceful route for new message
2025-01-02 10:28:03 +03:00
Anton Khorev
c7e038a4d0
Use resourceful routes for web mailboxes
2024-12-29 08:40:39 +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
Nenad Vujicic
4716800144
Allowed sending follow-ups for sent messages
...
Fixes #3497 . Adds Reply button when displaying sent messages (app/views/messages/show.html.erb) and allows replying to messages for which sender is current user (app/controllers/messages_controller.rb). Improved tests for testing added functionality.
2024-08-28 15:11:09 +02:00
Anton Khorev
64dfb88ddf
Fix marking muted messages as read/unread
2024-07-18 18:48:14 +03:00
Tom Hughes
b03eb84bb6
Only the sender of a message should be able to mark it as read/unread
2024-06-29 00:14:42 +01:00
Anton Khorev
f418d0bbb4
Simplify message paths in tests
2024-05-06 12:37:57 +03: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
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
Gregory Igelmund
1a7b7f5d18
Enable Turbo Drive with morphing for Messages#{destroy,mark}
2024-03-21 14:55:16 +01:00
Anton Khorev
332fad14bb
Simplify link_to calls on message pages
2024-03-20 04:48:02 +03:00
Anton Khorev
fa00a38664
Shorten user path helper calls in tests
2024-03-19 07:07:00 +03:00
Milan Cvetkovic
e614faaf8a
Replace "Login" labels with "Log in" when used as a verb
2024-03-14 15:34:12 +00:00
Anton Khorev
bde2faac58
Remove assert_response when followed by assert_redirected_to
2024-03-03 10:56:50 +03:00
Tom Hughes
b9c5df4dad
Use with_settings for temporary changes to settings
2024-02-01 18:37:28 +00:00
Dimitar
318064b2a7
Facelift offline.html and use Bootstrap classes for "notifications"
...
Update site_controller_test.rb
Update site_controller_test.rb
Remove whitespace
Reset Settings.status after test is done
Update test for offline page
Update site_controller.rb
Fix indentation
Update offline controller
Update offline.html.erb
Remove flash CSS classes and fix missed tests
Updated tests
Address most PR comments
Update _flash.html.erb
Update _flash.html.erb
Update edit.html.erb
Update offline.html.erb
2023-03-26 13:57:51 +03:00
Tom Hughes
b5f06e06c1
Fix rubocop Rails/TimeZone warnings
2022-03-01 22:55:10 +00:00
Tom Hughes
03cde71a5e
Refactor more controller tests
2020-04-26 20:33:06 +01:00
Tom Hughes
7a1615bc55
Fix rubocop-minitest warnings
2020-04-15 19:07:13 +01:00
Andy Allan
055a976051
Remove custom table styling
...
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02:00
Andy Allan
d102c9aaf4
Move all settings to settings.yml
...
We leave the STATUS setting alone, since it's required before rails
boots. The test-specific settings now live in config/settings/test.yml
2019-03-13 18:06:23 +01:00
Andy Allan
b54362d458
Use deliver_later for all email sending
2018-10-31 16:38:12 +01:00
Tom Hughes
b8a8a88004
Merge remote-tracking branch 'upstream/pull/2014'
2018-10-03 18:59:33 +01:00
Andy Allan
3ec67ea2d3
Rename user_controller to users_controller
2018-10-03 15:31:10 +02:00
Andy Allan
5e407dfb34
Merge branch 'master' into messages
2018-10-03 14:04:12 +02:00
Wil
a182820139
Resolve 96 Rubocop Lint/AmbiguousRegexpLiteral conflicts
2018-09-10 11:28:16 +08:00
Andy Allan
dfe21fec82
Use resourceful routing for message replies
2018-09-05 13:22:43 +08:00
Andy Allan
db30ea642e
Use a resourceful path for message marking
2018-09-05 11:23:53 +08:00
Andy Allan
5405dde6ec
Use resourceful destroy method for messages
2018-09-05 10:38:36 +08:00
Andy Allan
f38e03f0ed
Refactor message creation to use a create action
...
This makes it more conventional, rather than handling posts to the new action. The posting of the form was also reworked to use a hidden field for the displayname, rather than in the url, again for convention.
2018-08-29 14:18:20 +08:00
Andy Allan
88ff81b694
Refactor messages show action to be resourceful
2018-06-06 11:51:52 +08:00
Andy Allan
9b36021ec5
Refactor inbox and outbox paths to avoid display names in urls.
2018-06-06 11:33:33 +08:00
Tom Hughes
4eb6267f45
Revert "Remove unused POST method for message replies"
...
This reverts commit 40cab845fb
.
2018-05-16 10:43:26 +01:00
Andy Allan
4ec70f7994
Rename messages#read to #show
...
Also rename the named path, to align with resourceful routing
2018-05-15 18:25:54 +08:00
Andy Allan
73df8447e3
Rename messages#delete to destroy
...
This is a better fit for rails controller method conventions, paving
the way to resourceful routing. Keep user-facing strings as 'delete'
since that's more commonly used.
2018-05-15 18:15:01 +08:00
Andy Allan
40cab845fb
Remove unused POST method for message replies
...
This action just shows the pre-filled form, with the target for
the form being the same as for new messages.
2018-05-15 17:33:40 +08:00
Andy Allan
00bd64c7fb
Rename message_controller to messages_controller
2018-05-09 16:38:37 +08:00