Kay Faraday
d900bd8eb4
Merge branch 'main' of https://github.com/Retrospring/retrospring
2023-08-13 05:56:32 +00:00
Karina Kwiatek
81b279f1b6
Floor times in tests
...
This passed locally for me on macOS but does not pass on Linux due to a difference in precision for timestamps.
2023-05-07 21:04:33 +02:00
Karina Kwiatek
2aaba3e2d9
Touch `notifications_updated_at` after marking entries as read
2023-05-07 20:54:54 +02:00
Karina Kwiatek
ed6bdfe8cb
Touch `inbox_updated_at` after marking entries as read
2023-05-07 20:54:44 +02:00
Karina Kwiatek
7a9a7e0d47
Merge pull request #1130 from Retrospring/feature/mark-all-notifications-as-read
...
Mark all notifications as read
2023-05-07 10:07:11 +02:00
Karina Kwiatek
0132d7b251
Remove usages of `is_active`
2023-05-05 16:01:40 +02:00
Karina Kwiatek
a3dbad5265
Fix lint errors in `NotificationController#index` tests
2023-05-05 15:59:45 +02:00
Karina Kwiatek
b5a72be288
Add test for marking all notifications as read
2023-05-05 15:59:45 +02:00
Karina Kwiatek
0db44949e6
Move `NotificationsController#index` test into their own `describe` block
2023-05-05 15:59:45 +02:00
Georg Gadinger
1ffa2e5125
filter out non-anon questions from blocked/muted users in questions view
2023-03-26 18:28:19 +02:00
Karina Kwiatek
18421df9d0
Add tests for `QuestionController`
2023-03-26 18:28:19 +02:00
Karina Kwiatek
f3c7132103
Allow use of `USE_FOG_IN_TESTS` env var
2023-03-05 20:37:52 +01:00
Karina Kwiatek
36c52db8b9
Fix lint errors
2023-03-05 14:06:16 +01:00
Karina Kwiatek
f1809c4dd3
Disable fog in tests
2023-03-05 13:53:27 +01:00
Kay Faraday
d0b8e8a82a
Merge commit '6b976e0f'
2023-02-20 04:04:04 +00:00
Georg Gadinger
4ee2b46b32
add sharing to telegram
2023-02-19 20:58:47 +01:00
Kay Faraday
a7b9c31c48
Merge remote-tracking branch 'origin/main'
2023-02-15 07:39:23 +00:00
Georg Gadinger
8a055341c8
add metrics for sidekiq
2023-02-14 05:31:54 +01:00
Georg Gadinger
bc6806aa89
initial metrics
2023-02-13 22:17:46 +01:00
Karina Kwiatek
793fec7da1
Update pinning tests to match new Turbo Stream behaviour
2023-02-12 21:06:16 +01:00
Karina Kwiatek
dcad9073a8
Fix typos in pinning tests
2023-02-12 20:19:50 +01:00
Karina Kwiatek
04303c667e
Add tests for pin/unpin endpoints
2023-02-12 20:19:50 +01:00
Andreas Nedbal
5579489a92
Apply review suggestion from @nilsding
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-02-12 20:16:36 +01:00
Andreas Nedbal
bc52eb8cb5
Add specs for Turbo Stream responses
2023-02-12 20:16:36 +01:00
Andreas Nedbal
4dc88fe1ef
Refactor TurboStreamable spec to use an anonymous controller
2023-02-12 20:16:36 +01:00
Andreas Nedbal
0aac4caf45
Register test routes in routes.rb
2023-02-12 20:16:36 +01:00
Andreas Nedbal
72ad8f6699
Add tests for TurboStreamable concern
2023-02-12 20:16:36 +01:00
Georg Gadinger
065d35c288
well_known/node_info: remove twitter as outbound service
2023-02-12 19:04:01 +01:00
Georg Gadinger
71be21cccc
add specs for Settings::SharingController
2023-02-10 21:16:21 +01:00
Andreas Nedbal
06d7db7ff8
Remove ShareWorker
2023-02-05 21:54:51 +01:00
Andreas Nedbal
c327eee38e
Remove services controller
2023-02-05 21:54:51 +01:00
Kay Faraday
3e8895a1fa
update links
2023-02-03 10:47:00 +00:00
Karina Kwiatek
666f95c143
Adjust tests to not check ivars that are no longer used when filter is empty
2023-01-29 21:37:22 +01:00
Georg Gadinger
3e3501d201
inbox: update inbox entries in controller
2023-01-27 20:36:22 +01:00
Georg Gadinger
58705fffba
mark notifications as "read" in the controller and when you see them
...
this makes it behave a bit more like the inbox
2023-01-24 15:54:41 +01:00
Karina Kwiatek
529bf40dbe
Merge pull request #979 from Retrospring/fix/pwa-issues
...
Fix various PWA issues
2023-01-22 12:47:12 +01:00
Karina Kwiatek
9d18fd3b31
Update tests to match new PWA start URL
2023-01-21 19:21:51 +01:00
Georg Gadinger
6c90f2f0dd
inbox: add some proper specs
2023-01-19 11:57:56 +01:00
Georg Gadinger
5c4ab05d4e
get rid of RSpec deprecation warning
...
Using `should_not` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /Users/foxy/src/Retrospring/retrospring/spec/controllers/well_known/node_info_controller_spec.rb:84:in `block (4 levels) in <top (required)>'.
2023-01-06 13:53:32 +01:00
Karina Kwiatek
e13933626f
Fix typo in context label
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-01-04 18:42:44 +01:00
Karina Kwiatek
63d1709878
Appease the dog overlords
2023-01-04 17:10:29 +01:00
Karina Kwiatek
b35108e9d0
Implement NodeInfo
...
Closes #902
2023-01-04 17:08:05 +01:00
Karina Kwiatek
16b9262bed
Remove warning in WebPush controller test
2023-01-03 18:12:13 +01:00
Karina Kwiatek
5a3f2966dd
Add tests for subscription check endpoint
2023-01-02 11:52:02 +01:00
Karina Kwiatek
22a84ab818
Appease the dog overlords
2023-01-02 11:51:45 +01:00
Karina Kwiatek
3eafa5e335
Add tests for subscription management
2023-01-02 11:50:48 +01:00
Karina Kwiatek
7766c9bd5e
Add tests for services settings page
2023-01-02 09:34:08 +01:00
Karina Kwiatek
f80d4ce935
Move create test into a describe block
2023-01-02 09:34:08 +01:00
Karina Kwiatek
0f01177c67
Reformat services controller spec
2023-01-02 09:34:08 +01:00
Andreas Nedbal
6a03d3587a
Appease the dog overlords
2023-01-01 22:42:50 +01:00