Commit Graph

5863 Commits

Author SHA1 Message Date
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
Andreas Nedbal bb24124d6a Bump version to 2024.0310.1 2024-03-10 19:20:26 +01:00
Andreas Nedbal 9d7228d87a Make inbox entries visible in Rails Admin again 2024-03-10 19:18:39 +01:00
Andreas Nedbal 67015aa452 Bump version to 2024.0310.0 2024-03-10 18:31:47 +01:00
Andreas Nedbal 597c859c2d Refactor comments into CommentComponent 2024-03-10 18:23:28 +01:00
Andreas Nedbal d6b5e2bae7 Downgrade CarrierWave and Backgrounder 2024-03-10 17:32:15 +01:00
Andreas Nedbal 07cafb9b30 Use new date format in notifications 2024-03-10 17:29:55 +01:00
Andreas Nedbal 444acaf548 Adjust BootstrapHelper specs 2024-03-10 17:29:32 +01:00
Andreas Nedbal 04931b627c Adjust manual tooltip initializations 2024-03-10 17:29:32 +01:00
Andreas Nedbal 95c79216cb Update tooltip helper to use `data-controller` instead 2024-03-10 17:29:32 +01:00
Andreas Nedbal 7f93fabb62 Remove tooltip initializer from Bootstrap file 2024-03-10 17:29:32 +01:00
Andreas Nedbal 94f027f546 Add Stimulus tooltip controller 2024-03-10 17:29:32 +01:00
Georg Gadinger 96794029b3 use time_tooltip for comments, fixes #1650 2024-03-10 01:59:13 +01:00
Georg Gadinger fcfc28978c annotate rendered views with file names in dev 2024-03-10 01:59:13 +01:00
dependabot[bot] a35b729bb4
Merge pull request #1660 from Retrospring/dependabot/bundler/rubocop-1.62.0 2024-03-09 21:58:54 +00:00
dependabot[bot] d47917cc6f
Bump rubocop from 1.60.2 to 1.62.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.60.2 to 1.62.0.
- [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.60.2...v1.62.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 21:52:24 +00:00