Commit Graph

2811 Commits

Author SHA1 Message Date
Karina Kwiatek c6c3c32260 Add tests for answering while blocked/blocking 2022-06-13 11:56:34 +02:00
Karina Kwiatek febbee1306 Simplify error handling in answer create method
We were previously catching all exceptions when creating the answer and returning a generic error.
As exception handling is done in `AjaxController`, we don't need to do this and can get more specific error messages instead.
2022-06-13 11:56:34 +02:00
Karina Kwiatek 65309edd8f Add block checks into `User#answer` 2022-06-13 11:56:34 +02:00
Karina Kwiatek e9fa3b83b2 Fix mixed up block handling in follow method 2022-06-13 11:56:34 +02:00
Karina Kwiatek d6e4ad35ad Add error messages for answering while blocked/blocking 2022-06-13 11:56:34 +02:00
Karina Kwiatek 14dfef6a52 Add status messages for blocking/unblocking users 2022-06-13 11:56:34 +02:00
Karina Kwiatek d67ae1eb19 Only accept users to relationship use cases
Dry Types was having issues with taking either an object or string so it's easier to deal with just passing in an object directly
2022-06-13 11:56:34 +02:00
Karina Kwiatek a48a187086 Reset follow button after blocking a user 2022-06-13 11:56:34 +02:00
Karina Kwiatek c173c4a17d Add the ability to block/unblock users from profile pages 2022-06-13 11:56:34 +02:00
Karina Kwiatek 56799f60c7 Disallow adding blocked users to lists 2022-06-13 11:56:34 +02:00
Karina Kwiatek b38ae50ba7 Disallow reacting to an answer when blocked by its author 2022-06-13 11:56:34 +02:00
Karina Kwiatek b4e5037469 Disallow commenting when blocked by the answer's author 2022-06-13 11:56:34 +02:00
Karina Kwiatek bd0a4532a5 Disallow answering questions when blocked by its author 2022-06-13 11:56:34 +02:00
Karina Kwiatek 9f06b48569 Disallow creating questions when blocked by the user being asked 2022-06-13 11:56:34 +02:00
Karina Kwiatek 0038272417 Add Block relationship type 2022-06-13 11:56:34 +02:00
dependabot[bot] 47aeaa158c Bump nokogiri from 1.13.4 to 1.13.6
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.4 to 1.13.6.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.4...v1.13.6)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 18:34:37 +02:00
Karina Kwiatek 1edb229baa Bump version to 2022.0427.0 2022-04-27 18:20:52 +01:00
Andreas Nedbal d5e317d3fe Fix missing translation on question view 2022-04-26 08:20:54 +02:00
Karina Kwiatek 5f5f8fd8f9 Bump version to 2022.0425.0 2022-04-25 18:58:50 +01:00
Andreas Nedbal e19b028a4d Apply review suggestion from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-04-25 19:40:23 +02:00
Andreas Nedbal 0b38ae45b5 Remove legacy inbox locales 2022-04-25 19:40:23 +02:00
Andreas Nedbal a0741a9a68 Add translations for inbox entry 2022-04-25 19:40:23 +02:00
Andreas Nedbal 14d0074cb8 Add translations for inbox sidebar 2022-04-25 19:40:23 +02:00
Andreas Nedbal 5829dc51ec Add translations for inbox show view 2022-04-25 19:40:23 +02:00
Andreas Nedbal bf0ac3c4e3 Add translations for inbox controller 2022-04-25 19:40:23 +02:00
Andreas Nedbal 6b1be53827 Add translations for linkfilter 2022-04-19 21:25:56 +02:00
Andreas Nedbal e06159b465 Fix quote style 2022-04-18 20:15:34 +02:00
Andreas Nedbal 7d8ab80c31 Remove legacy footer locales 2022-04-18 20:15:34 +02:00
Andreas Nedbal 5518014024 Add translations for footer 2022-04-18 20:15:34 +02:00
Andreas Nedbal a7d2c7be7e Fix Hound nits 2022-04-17 22:58:42 +02:00
Andreas Nedbal a768d09862 Count users that only answer questions as active 2022-04-17 22:58:42 +02:00
Andreas Nedbal c1cf9bab3f Remove legacy about page locales 2022-04-17 22:58:42 +02:00
Andreas Nedbal 68f6d11648 Add translations for about page 2022-04-17 22:58:42 +02:00
Andreas Nedbal ef5b367d70 Add about page text config option 2022-04-17 22:58:42 +02:00
Andreas Nedbal c2d0ca7eed Update about page layout 2022-04-17 22:58:42 +02:00
Andreas Nedbal f43d4b8621 Remove FAQ page 2022-04-17 22:58:42 +02:00
Andreas Nedbal e1298c7b87 Fix Hound nits 2022-04-16 12:56:18 +02:00
Andreas Nedbal b5c40619be Add tests for `Retrospring::Version` 2022-04-16 12:56:18 +02:00
Andreas Nedbal 7e8ba6c647 Add current version as title to site name in footer 2022-04-16 12:56:18 +02:00
Andreas Nedbal aa48a53cb7 Track release version in Sentry 2022-04-16 12:56:18 +02:00
Andreas Nedbal 7d7bef81ca Add version class and load it in Rails 2022-04-16 12:56:18 +02:00
Karina Kwiatek acd7170789 Update `schema.rb` 2022-04-15 21:50:18 +02:00
Karina Kwiatek 5163fcb119 Appease the dog overlords 2022-04-15 21:50:18 +02:00
Karina Kwiatek b9dee02656 Add index for `question_id` on `inboxes` 2022-04-15 21:50:18 +02:00
Andreas Nedbal 583a3ba519 Remove `user#lists` action, view and route 2022-04-15 21:32:14 +02:00
dependabot[bot] bbaba17634 Bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-15 18:53:51 +02:00
Andreas Nedbal 9624031809 Upgrade Sentry SDKs to latest versions 2022-04-15 18:52:06 +02:00
Andreas Nedbal 833c0cb671 Configure better_errors to work in Docker environments 2022-04-14 23:23:37 +02:00
Andreas Nedbal a381483bb4 Remove tinycolor npm module 2022-04-12 22:31:57 +02:00
Andreas Nedbal cf5d1d6e69 Remove token validation skip in ServicesController 2022-04-12 22:31:05 +02:00