Commit Graph

5978 Commits

Author SHA1 Message Date
dependabot[bot] 9c8e671313
Merge pull request #1687 from Retrospring/dependabot/npm_and_yarn/typescript-5.4.3 2024-04-01 14:46:42 +00:00
dependabot[bot] f24e9d7e55
Merge pull request #1691 from Retrospring/dependabot/github_actions/tj-actions/changed-files-44 2024-04-01 14:44:38 +00:00
dependabot[bot] e64f80ad5a
Merge pull request #1695 from Retrospring/dependabot/bundler/json-schema-4.3.0 2024-04-01 14:44:15 +00:00
dependabot[bot] ff6bc4290f
Bump json-schema from 4.2.0 to 4.3.0
Bumps [json-schema](https://github.com/voxpupuli/json-schema) from 4.2.0 to 4.3.0.
- [Changelog](https://github.com/voxpupuli/json-schema/blob/master/CHANGELOG.md)
- [Commits](https://github.com/voxpupuli/json-schema/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 09:34:58 +00:00
dependabot[bot] 194d5c26a2
Bump letter_opener from 1.9.0 to 1.10.0
Bumps [letter_opener](https://github.com/ryanb/letter_opener) from 1.9.0 to 1.10.0.
- [Changelog](https://github.com/ryanb/letter_opener/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ryanb/letter_opener/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: letter_opener
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 09:34:42 +00:00
dependabot[bot] 0ec0323036
Bump net-smtp from 0.4.0.1 to 0.5.0
Bumps [net-smtp](https://github.com/ruby/net-smtp) from 0.4.0.1 to 0.5.0.
- [Release notes](https://github.com/ruby/net-smtp/releases)
- [Changelog](https://github.com/ruby/net-smtp/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/net-smtp/compare/v0.4.0.1...v0.5.0)

---
updated-dependencies:
- dependency-name: net-smtp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 09:33:59 +00:00
dependabot[bot] b58b08a5e3
Bump tj-actions/changed-files from 43 to 44
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 43 to 44.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v43...v44)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 09:18:38 +00:00
dependabot[bot] b594c0d371
Bump fog-aws from 3.21.1 to 3.22.0
Bumps [fog-aws](https://github.com/fog/fog-aws) from 3.21.1 to 3.22.0.
- [Changelog](https://github.com/fog/fog-aws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fog/fog-aws/compare/v3.21.1...v3.22.0)

---
updated-dependencies:
- dependency-name: fog-aws
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 09:41:27 +00:00
dependabot[bot] 4fe799c4ed
Bump rspec-rails from 6.1.1 to 6.1.2
Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 6.1.1 to 6.1.2.
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-rails/compare/v6.1.1...v6.1.2)

---
updated-dependencies:
- dependency-name: rspec-rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 09:40:07 +00:00
dependabot[bot] 32fd0df9ba
Bump rubocop-rails from 2.24.0 to 2.24.1
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.24.0 to 2.24.1.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.24.0...v2.24.1)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 09:39:24 +00:00
dependabot[bot] e9684a4a6f
Bump typescript from 5.4.2 to 5.4.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 09:13:47 +00:00
Andreas Nedbal bbc717a431 Bump version to 2024.0319.0 2024-03-19 22:50:24 +01:00
Andreas Nedbal b160fa21f6 Re-add accessors for singular answer cases
Otherwise rendering fails
2024-03-19 22:45:19 +01:00
Andreas Nedbal 25cbb962dd Use newer validation syntax for uniqueness in Reaction 2024-03-19 22:45:19 +01:00
Andreas Nedbal a4a2aba13d Remove old attribute accessors from Answer 2024-03-19 22:45:19 +01:00
Andreas Nedbal b2185987ac Adjust Reaction usecase specs to also use IDs 2024-03-19 22:45:19 +01:00
Andreas Nedbal cc7fa787e8 Pass IDs to Reaction usecases instead of user instances
For some wild reason this locally sometimes causes coercion errors in the user instance check, restarting fixes it (temporarily?) so letting the UseCase resolve users is a cleaner solution here.
2024-03-19 22:45:19 +01:00
Andreas Nedbal b4cfc95c83 Adjust accessors to pull values from attributes if they exist
This has to be done because using multiple queries in a select statement does not automatically map into an ActiveRecord model and the values we want wait in the `self.attributes` hash.
2024-03-19 22:45:19 +01:00
Andreas Nedbal 997953565f Localize uniqueness validation message
Otherwise it'd say "Parent already taken" instead of "Target already smiled"
2024-03-19 22:45:19 +01:00
Andreas Nedbal 536d50f53d Add uniqueness validation to Reactions 2024-03-19 22:45:19 +01:00
dependabot[bot] 8cdc0b28d3
Merge pull request #1682 from Retrospring/dependabot/github_actions/actions/checkout-4.1.2 2024-03-18 10:21:53 +00:00
dependabot[bot] 77d91e0502
Merge pull request #1678 from Retrospring/dependabot/bundler/shoulda-matchers-6.2.0 2024-03-18 10:17:19 +00:00
dependabot[bot] 8d5a46b0e6
Bump actions/checkout from 4.1.1 to 4.1.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 10:14:59 +00:00
dependabot[bot] b82e27e3c1
Merge pull request #1681 from Retrospring/dependabot/github_actions/tj-actions/changed-files-43 2024-03-18 10:14:22 +00:00
dependabot[bot] 90adcd65a9
Merge pull request #1680 from Retrospring/dependabot/bundler/json-schema-4.2.0 2024-03-18 10:13:18 +00:00
dependabot[bot] 4f1053f666
Merge pull request #1679 from Retrospring/dependabot/bundler/rubocop-1.62.1 2024-03-18 10:12:54 +00:00
dependabot[bot] cdccc08988
Bump shoulda-matchers from 6.1.0 to 6.2.0
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases)
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md)
- [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v6.1.0...v6.2.0)

---
updated-dependencies:
- dependency-name: shoulda-matchers
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 10:12:22 +00:00
dependabot[bot] c830d597c3
Merge pull request #1677 from Retrospring/dependabot/bundler/fog-aws-3.21.1 2024-03-18 10:12:11 +00:00
dependabot[bot] 84c8c7d867
Merge pull request #1675 from Retrospring/dependabot/bundler/rails-i18n-7.0.9 2024-03-18 10:11:46 +00:00
dependabot[bot] b35ea3d5c8
Merge pull request #1684 from Retrospring/dependabot/npm_and_yarn/sass-1.72.0 2024-03-18 10:11:21 +00:00
dependabot[bot] c7157112a6
Merge pull request #1676 from Retrospring/dependabot/bundler/sentry-ruby-and-sentry-rails-and-sentry-sidekiq-5.17.1 2024-03-18 10:10:56 +00:00
dependabot[bot] 36b9750f51
Bump sass from 1.71.1 to 1.72.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.71.1 to 1.72.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.71.1...1.72.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:51:23 +00:00
dependabot[bot] 57176b0797
Bump tj-actions/changed-files from 42 to 43
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42 to 43.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v42...v43)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:20:47 +00:00
dependabot[bot] e32c05be19
Bump json-schema from 4.1.1 to 4.2.0
Bumps [json-schema](https://github.com/voxpupuli/json-schema) from 4.1.1 to 4.2.0.
- [Changelog](https://github.com/voxpupuli/json-schema/blob/master/CHANGELOG.md)
- [Commits](https://github.com/voxpupuli/json-schema/compare/v4.1.1...v4.2.0)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:20:05 +00:00
dependabot[bot] 3a59eeb9f7
Bump rubocop from 1.62.0 to 1.62.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.62.0 to 1.62.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.62.0...v1.62.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:19:04 +00:00
dependabot[bot] 262fd8d275
Bump fog-aws from 3.21.0 to 3.21.1
Bumps [fog-aws](https://github.com/fog/fog-aws) from 3.21.0 to 3.21.1.
- [Changelog](https://github.com/fog/fog-aws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fog/fog-aws/compare/v3.21.0...v3.21.1)

---
updated-dependencies:
- dependency-name: fog-aws
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:12:29 +00:00
dependabot[bot] 88ea7e6317
Bump sentry-ruby, sentry-rails and sentry-sidekiq
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby), [sentry-rails](https://github.com/getsentry/sentry-ruby) and [sentry-sidekiq](https://github.com/getsentry/sentry-ruby). These dependencies needed to be updated together.

Updates `sentry-ruby` from 5.16.1 to 5.17.1
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.16.1...5.17.1)

Updates `sentry-rails` from 5.16.1 to 5.17.1
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.16.1...5.17.1)

Updates `sentry-sidekiq` from 5.16.1 to 5.17.1
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.16.1...5.17.1)

---
updated-dependencies:
- dependency-name: sentry-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: sentry-rails
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: sentry-sidekiq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:09:52 +00:00
dependabot[bot] 2e2dae889a
Bump rails-i18n from 7.0.8 to 7.0.9
Bumps [rails-i18n](https://github.com/svenfuchs/rails-i18n) from 7.0.8 to 7.0.9.
- [Changelog](https://github.com/svenfuchs/rails-i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/rails-i18n/compare/v7.0.8...v7.0.9)

---
updated-dependencies:
- dependency-name: rails-i18n
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:05:02 +00:00
dependabot[bot] 9e64b3f4ca
Merge pull request #1669 from Retrospring/dependabot/npm_and_yarn/typescript-5.4.2 2024-03-11 17:21:23 +00:00
dependabot[bot] 6fc22b97ef
Merge pull request #1670 from Retrospring/dependabot/npm_and_yarn/hotwired/turbo-rails-8.0.4 2024-03-11 12:31:46 +00:00
dependabot[bot] f5b7db4ef8
Bump @hotwired/turbo-rails from 8.0.3 to 8.0.4
Bumps [@hotwired/turbo-rails](https://github.com/hotwired/turbo-rails) from 8.0.3 to 8.0.4.
- [Release notes](https://github.com/hotwired/turbo-rails/releases)
- [Commits](https://github.com/hotwired/turbo-rails/commits)

---
updated-dependencies:
- dependency-name: "@hotwired/turbo-rails"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 09:56:33 +00:00
dependabot[bot] f7983a633f
Merge pull request #1671 from Retrospring/dependabot/npm_and_yarn/melloware/coloris-0.23.0 2024-03-11 09:52:36 +00:00
dependabot[bot] 05fdd1dd5b
Merge pull request #1668 from Retrospring/dependabot/bundler/binding_of_caller-1.0.1 2024-03-11 09:48:34 +00:00
dependabot[bot] 07be8a5a00
Bump @melloware/coloris from 0.22.0 to 0.23.0
Bumps [@melloware/coloris](https://github.com/melloware/coloris-npm) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/melloware/coloris-npm/releases)
- [Commits](https://github.com/melloware/coloris-npm/compare/0.22.0...0.23.0)

---
updated-dependencies:
- dependency-name: "@melloware/coloris"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 09:10:02 +00:00
dependabot[bot] 9e366a971e
Bump typescript from 5.3.3 to 5.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 09:09:41 +00:00
dependabot[bot] bdbca06e3c
Bump binding_of_caller from 1.0.0 to 1.0.1
Bumps [binding_of_caller](https://github.com/banister/binding_of_caller) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/banister/binding_of_caller/releases)
- [Commits](https://github.com/banister/binding_of_caller/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: binding_of_caller
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 09:08:18 +00:00
Andreas Nedbal 87458f47c8 Bump version to 2024.0310.2 2024-03-10 21:27:49 +01:00
Andreas Nedbal 165fbd800c Add locale for `question_too_long` error 2024-03-10 21:23:14 +01:00
Andreas Nedbal 70f6e581b6 Add specs to check for upper maximum question length 2024-03-10 21:23:14 +01:00
Andreas Nedbal b7e8187cd4 Add max question content limit of 32,768 characters 2024-03-10 21:23:14 +01:00