Commit graph

174 commits

Author SHA1 Message Date
Andreas Nedbal
a28f581aed Add tests announcement failure cases 2022-01-25 22:31:25 +01:00
Karina Kwiatek
1e5957bfe9 Test relationship use cases using both user objects and screen names as params 2022-01-23 16:48:53 +01:00
Karina Kwiatek
aa683ca5d5 Appease the dog overlords (fix lint errors) 2022-01-23 16:48:53 +01:00
Karina Kwiatek
731ee4bf69 Address review comments from @nilsding 2022-01-23 16:48:53 +01:00
Karina Kwiatek
8d59ef9398 Use screen_name instead of target_user param in Ajax::RelationshipController 2022-01-23 16:48:53 +01:00
Karina Kwiatek
b4e0699e82 Fix lint errors 2022-01-23 16:48:53 +01:00
Karina Kwiatek
d609435f7c Update Ajax::RelationshipController to use usernames; Test Use Case 2022-01-23 16:48:53 +01:00
Karina Kwiatek
5c9659ccf5 Update Exporter spec to not include removed relationship count fields 2022-01-23 16:48:53 +01:00
Karina Kwiatek
ce57414595 Update UserController tests to match rename of followings 2022-01-23 16:48:53 +01:00
Karina Kwiatek
3962671135 Implement relationship logic as use case 2022-01-23 16:48:53 +01:00
Karina Kwiatek
ce951453a2 Make relationships polymorphic 2022-01-23 16:48:53 +01:00
Andreas Nedbal
d56dfc02f9 Move consent POST-logic to separate action 2022-01-22 22:50:32 +01:00
Andreas Nedbal
3711c676da Fix Ruby codestyle 2022-01-22 22:50:32 +01:00
Andreas Nedbal
af66e69ca5 Add tests for FeedbackHelper 2022-01-22 22:50:32 +01:00
Andreas Nedbal
067dfc3a50 Add tests for FeedbackController 2022-01-22 22:50:32 +01:00
Georg Gadinger
1997f89cc0 typoed_email_validator: add new ending to the typo list 2022-01-17 20:41:39 +01:00
Georg Gadinger
989f4a5132 run Rubocop on changed files 2022-01-17 20:41:39 +01:00
Andreas Nedbal
1c6d22355a Add a quote testcase for the question markdown spec 2022-01-16 22:33:48 +01:00
Andreas Nedbal
60c7c86b05 Remove unnecessary .dup 2022-01-16 22:33:48 +01:00
Andreas Nedbal
3bdca34c2d QuestionMarkdown adjustments
* Using `Redcarpet::Render::StripDown` as base now
* Support for autolinks and named links in Markdown
* Named links in questions just return the actual link as text
* Fixed codestyle in files
2022-01-16 22:33:48 +01:00
Andreas Nedbal
34b9f0bc61 Add tests for ApplicationHelper 2022-01-16 14:17:29 +01:00
Andreas Nedbal
914b56369b Adjust ApplicationHelper tests 2022-01-16 14:17:29 +01:00
Karina Kwiatek
5d7039a2d2 Add test for Exporter#collect_user_info 2022-01-14 23:29:49 +01:00
Karina Kwiatek
b167c4e938 Add tests for privacy settings 2022-01-13 21:42:06 +01:00
Karina Kwiatek
9c84f946ff Fix test failing under macOS 2022-01-13 21:42:06 +01:00
Georg Gadinger
29923fac84 add validator for typoed emails
It happens quite often that people typo their email address (I blame
phone keyboards for that).  Catch common cases in a validator and
tell the user that they have a typo in their email.

Why yes, I did write the tests for this first, thanks for asking!
2022-01-11 19:18:23 +01:00
Andreas Nedbal
515e6d09ff Use text ellipsis instead of three single dots for shortening
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-01-10 22:53:58 +01:00
Andreas Nedbal
e8d3b9629d Use proper indentation for test values
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-10 22:53:58 +01:00
Andreas Nedbal
ba280f7996 Add tests for ApplicationHelper::TitleMethods 2022-01-10 22:53:58 +01:00
Andreas Nedbal
48c9e6132b Split graph and bootstrap helper tests into own files 2022-01-10 22:53:58 +01:00
Karina Kwiatek
d3aaaeb12d
Double question character limit (#292) 2022-01-10 22:01:47 +01:00
Karina Kwiatek
136e2fa016
Merge pull request #272 from Retrospring/feature/social-post-tagging
Add the ability to post to services with a tag
2022-01-07 19:40:52 +01:00
Karina Kwiatek
96e48a833b
Merge pull request #194 from Retrospring/refactor/user-bans
Implement ban history
2022-01-06 14:05:33 +01:00
Karina Kwiatek
b398265a98 Address review comments from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-06 13:59:04 +01:00
Karina Kwiatek
683fffd734 Add the ability to post to services with a tag 2022-01-05 19:49:59 +01:00
Georg Gadinger
3c58257d21 remove tumblr
Resolves #274
2022-01-05 19:32:52 +01:00
Karina Kwiatek
d06e2c97b2 Add test for blanking out a user's profile if they were banned for spam 2022-01-02 19:50:44 +01:00
Karina Kwiatek
7677ed21a4 Update tests for unbanning users 2022-01-02 19:50:44 +01:00
Karina Kwiatek
0659ff1f9a Update tests for unbanning users 2022-01-02 19:50:44 +01:00
Karina Kwiatek
6500d7ac71 Update usages of bans 2022-01-02 19:50:44 +01:00
Karina Kwiatek
e4241d2001 Create user ban model
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-02 19:50:01 +01:00
Andreas Nedbal
0a530bfd63 Add test cases for invalid URIs in Markdown 2022-01-02 19:31:58 +01:00
Karina Kwiatek
b7ce9cdbba
Merge pull request #222 from Retrospring/feature/muting 2022-01-02 15:31:49 +01:00
Karina Kwiatek
9ce1fc0ce4 Address review comments from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-01 22:10:13 +01:00
Karina Kwiatek
5a597fca5c Add test for ServicesController 2022-01-01 21:58:36 +01:00
Karina Kwiatek
6c0e6b1d30 Create mute rules AJAX controller 2022-01-01 00:38:38 +01:00
Karina Kwiatek
f85769eb55 Add mute rules 2022-01-01 00:38:36 +01:00
Andreas Nedbal
2c72278cdd Add tests to check for #question_markdown not processing markup 2021-12-31 22:40:38 +01:00
Andreas Nedbal
bc65b42b02 Add tests for StaticController#linkfilter 2021-12-31 22:40:38 +01:00
Andreas Nedbal
5eb297136b Add tests for MarkdownHelper 2021-12-31 22:40:38 +01:00