Georg Gadinger
3fca4a75d0
Merge pull request #933 from Retrospring/rspec-deprecation-warnings
...
get rid of a RSpec deprecation warning, enable some QoL RSpec options
2023-01-06 14:58:47 +00:00
Georg Gadinger
04f1793058
Merge pull request #932 from Retrospring/om@nom.nom
...
typoed_email_validator: add new endings to the typo list
2023-01-06 14:55:25 +00:00
Georg Gadinger
e8a5bd50b2
enable some RSpec options (randomised tests and some other QoL things)
2023-01-06 13:59:57 +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
Georg Gadinger
5b8e34aa1d
add integration specs for changing locales
2023-01-06 13:37:22 +01:00
Georg Gadinger
b81bbc2483
typoed_email_validator: add new endings to the typo list
2023-01-06 10:26:32 +01:00
Andreas Nedbal
176a79c0df
Fix bootstrap helper specs
2023-01-05 10:35:52 +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
cc1c262256
Merge pull request #678 from Retrospring/feature/webpush
...
WebPush support
2023-01-02 11:57:34 +00:00
Karina Kwiatek
b3a7cf388a
Add tests for mute rule use cases
2023-01-02 12:45:35 +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
44112c5449
Test for sending notifications for new questions
2023-01-02 11:50:48 +01:00
Karina Kwiatek
ca39d42e18
Merge pull request #891 from Retrospring/revoke-twitter-on-unauthorized
...
Revoke Twitter connection when the token is revoked
2023-01-02 09:08:17 +00:00
Karina Kwiatek
873d6a2c88
Fix typo in share worker
2023-01-02 09:46:55 +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
Georg Gadinger
9d38292d4a
question/create_followers: fix incrementing asked_count
2023-01-02 09:20:59 +01:00
Karina Kwiatek
9d1e77aeba
Revoke Twitter connection when the token is revoked
2023-01-01 23:46:10 +01:00
Andreas Nedbal
9b5470cfd3
Appease the dog overlords
2023-01-01 22:43:24 +01:00
Andreas Nedbal
a74f40ecfc
Add test for answer uniqueness
2023-01-01 22:43:24 +01:00
Andreas Nedbal
00959a8645
add exporting of mute relationships
2023-01-01 22:42:50 +01:00
Andreas Nedbal
6a03d3587a
Appease the dog overlords
2023-01-01 22:42:50 +01:00
Andreas Nedbal
7afff7884e
Add tests for mute relationship and notification behaviour
2023-01-01 22:42:50 +01:00
Georg Gadinger
2a9111de61
add spec that eager loads the application
2022-12-29 20:57:28 +01:00
Georg Gadinger
55f60bc5a7
remove requires for exporter
...
handled by Zeitwerk now
2022-12-29 20:57:28 +01:00
Georg Gadinger
fb07eda972
remove errors
2022-12-29 20:57:28 +01:00
Georg Gadinger
9413d23a02
let Zeitwerk autoload the `lib/` directory
...
this also allows the UseCase classes to be hot reloaded in dev 🎉
- remove use_case requires (except for the exporter as Zeitwerk
doesn't know about the subclasses)
- move version.rb to lib/retrospring so that Zeitwerk knows where
to find Retrospring::Version
2022-12-29 20:57:28 +01:00
Georg Gadinger
447d1f7e6d
Merge pull request #886 from Retrospring/bugfix/questionable-user-questions
...
fix display conditions of profile questions
2022-12-27 23:15:58 +00:00
Andreas Nedbal
8c73636311
Appease the dog overlords
2022-12-28 00:10:59 +01:00
Andreas Nedbal
6df07bb377
Add tests for user-tracked anonymous blocks
2022-12-28 00:10:59 +01:00
Andreas Nedbal
37f4b78f66
Silently fail in share worker if user account is suspended
2022-12-27 23:51:41 +01:00
Georg Gadinger
3524809e21
fix display conditions of profile questions
2022-12-27 22:07:21 +00:00
Georg Gadinger
d52529c840
mark dataexported notifications as read when visiting export page
2022-12-10 15:56:07 +01:00
Georg Gadinger
3e143954e3
data_export: yeet inbox_entries
2022-12-10 15:47:54 +01:00
Georg Gadinger
e1bdb1324f
make the export worker create a *real* notification and add specs for it
2022-12-10 04:25:08 +01:00
Georg Gadinger
2b3e7ab609
add specs for new exporters
2022-12-10 03:28:17 +01:00
Karina Kwiatek
854b2fd5c6
Use `Rails.public_path.join`
2022-12-04 23:48:21 +01:00
Karina Kwiatek
cb61db02eb
Merge pull request #824 from Retrospring/feature/anonymous-block-tuuuuuuurbo
...
Migrate anonymous blocks to Turbo Streams
2022-12-04 23:23:19 +01:00
Karina Kwiatek
63436d3464
Remove `ios_web_app?` helper
2022-12-04 23:11:59 +01:00
Andreas Nedbal
1c4993df3f
Fix lints
2022-11-21 23:07:18 +01:00
Andreas Nedbal
d9991f5fa7
Add tests
2022-11-21 23:05:04 +01:00
Andreas Nedbal
5f2b044d80
Add tests for mute rules
2022-11-21 20:26:19 +01:00
Andreas Nedbal
9048a3e7d8
Remove AJAX Mute Rules code
2022-11-21 20:26:19 +01:00
Andreas Nedbal
930e16bbda
Add tests for `Admin::DashboardController`
2022-11-21 20:26:01 +01:00