Commit Graph

5495 Commits

Author SHA1 Message Date
Karina J. Kwiatek 25b5d08889
Merge pull request #1496 from Retrospring/fix/answer-create-render-error
Fix render error on answer create
2023-12-09 18:20:09 +01:00
Karina Kwiatek 13d69cfd43 Fix render error on answer create 2023-12-09 18:05:50 +01:00
Karina J. Kwiatek 49b29fc31d
Merge pull request #1495 from Retrospring/fix/discover-nameerror
Fix NameError in Discover
2023-12-09 15:03:03 +01:00
Karina Kwiatek 8589ebf2d7 Reformat `DiscoverController` 2023-12-09 14:05:59 +01:00
Karina Kwiatek df1832dc5a Fix NameError in Discover 2023-12-09 14:05:42 +01:00
Karina Kwiatek b421f1d149 Bump version to 2023.1209.0 2023-12-09 01:14:53 +01:00
Karina J. Kwiatek 3c7940ae1b
Merge pull request #1482 from Retrospring/task/cache-ban-state
Cache ban state
2023-12-09 01:14:10 +01:00
Andreas Nedbal 7f86fb2500 Add locales for reactions controller actions 2023-12-09 00:59:14 +01:00
Andreas Nedbal 796a848110 Add specs for reaction controller create/destroy methods 2023-12-09 00:59:14 +01:00
Andreas Nedbal 93958cb9fd Throw error when unsmile target reaction doesn't exist 2023-12-09 00:59:14 +01:00
Andreas Nedbal 8ddfcef259 Fix rubocop nits 2023-12-09 00:59:14 +01:00
Andreas Nedbal 9ce68bffb2 Fix answerbox comments view specs 2023-12-09 00:59:14 +01:00
Andreas Nedbal a00d268f56 Move target class code into a private method 2023-12-09 00:59:14 +01:00
Andreas Nedbal e318763801 Remove legacy smile TypeScript functionality 2023-12-09 00:59:14 +01:00
Andreas Nedbal 4e434dd268 Remove legacy SmileController 2023-12-09 00:59:14 +01:00
Andreas Nedbal 9872d3aace Implement reaction create/destroy with Turbo Streams 2023-12-09 00:59:14 +01:00
dependabot[bot] 35be02a1f0
Merge pull request #1493 from Retrospring/dependabot/npm_and_yarn/typescript-5.3.3 2023-12-08 22:25:19 +00:00
dependabot[bot] 91709ae704
Bump typescript from 5.2.2 to 5.3.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 22:20:19 +00:00
dependabot[bot] 30502d5201
Merge pull request #1494 from Retrospring/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.13.2 2023-12-08 22:19:27 +00:00
Karina J. Kwiatek 268818ebbf
Merge pull request #1492 from Retrospring/fix/reactions-rails-admin
Place Reactions in User Content within Rails Admin
2023-12-08 23:15:15 +01:00
dependabot[bot] f1f58ab8bd
Bump @typescript-eslint/eslint-plugin from 6.12.0 to 6.13.2
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.12.0 to 6.13.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 22:13:46 +00:00
dependabot[bot] ac84d1a2d8
Merge pull request #1486 from Retrospring/dependabot/npm_and_yarn/eslint-8.55.0 2023-12-08 22:12:34 +00:00
dependabot[bot] 2c7ae32192
Merge pull request #1491 from Retrospring/dependabot/bundler/rubocop-1.58.0 2023-12-08 22:09:58 +00:00
dependabot[bot] f91ec589b0
Merge pull request #1455 from Retrospring/dependabot/bundler/faker-3.2.2 2023-12-08 22:07:51 +00:00
dependabot[bot] 3d46ebdc4b
Bump rubocop from 1.57.2 to 1.58.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.57.2 to 1.58.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.57.2...v1.58.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 22:06:43 +00:00
dependabot[bot] 773828a681
Merge pull request #1490 from Retrospring/dependabot/bundler/pghero-3.4.0 2023-12-08 22:05:13 +00:00
dependabot[bot] 4ea6ffe5ed
Merge pull request #1478 from Retrospring/dependabot/bundler/rspec-rails-6.1.0 2023-12-08 22:04:44 +00:00
dependabot[bot] 20ebc6d139
Merge pull request #1489 from Retrospring/dependabot/bundler/net-imap-0.4.7 2023-12-08 22:03:53 +00:00
dependabot[bot] 5045a62511
Merge pull request #1488 from Retrospring/dependabot/bundler/view_component-3.8.0 2023-12-08 22:03:22 +00:00
dependabot[bot] c9e578840c
Bump eslint from 8.54.0 to 8.55.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.54.0 to 8.55.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.54.0...v8.55.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 22:02:51 +00:00
dependabot[bot] befbb1ab75
Merge pull request #1477 from Retrospring/dependabot/bundler/factory_bot_rails-6.4.2 2023-12-08 22:00:40 +00:00
Karina J. Kwiatek 115166997b
Merge pull request #1459 from Retrospring/fix/prefetch-reaction-state
Pre-emptively fetch answer reaction state
2023-12-08 22:59:53 +01:00
dependabot[bot] 2340b05018
Merge pull request #1483 from Retrospring/dependabot/npm_and_yarn/typescript-eslint/parser-6.13.1 2023-12-08 21:59:09 +00:00
dependabot[bot] 507adfe7b5
Merge pull request #1485 from Retrospring/dependabot/npm_and_yarn/fortawesome/fontawesome-free-6.5.1 2023-12-08 21:57:58 +00:00
Karina Kwiatek 88fc0647b4 Place Reactions in User Content within Rails Admin 2023-12-08 00:25:44 +01:00
dependabot[bot] 49a9c310e9
Merge pull request #1487 from Retrospring/dependabot/bundler/sentry-rails-and-sentry-ruby-and-sentry-sidekiq-5.14.0 2023-12-04 12:59:31 +00:00
dependabot[bot] 107d71da63
Bump pghero from 3.3.4 to 3.4.0
Bumps [pghero](https://github.com/ankane/pghero) from 3.3.4 to 3.4.0.
- [Changelog](https://github.com/ankane/pghero/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/pghero/compare/v3.3.4...v3.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 09:55:17 +00:00
dependabot[bot] 84c7e0b97e
Bump net-imap from 0.4.5 to 0.4.7
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.4.5 to 0.4.7.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.4.5...v0.4.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 09:51:28 +00:00
dependabot[bot] 985176faf4
Bump view_component from 3.7.0 to 3.8.0
Bumps [view_component](https://github.com/viewcomponent/view_component) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/viewcomponent/view_component/releases)
- [Changelog](https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/viewcomponent/view_component/compare/v3.7.0...v3.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 09:45:10 +00:00
dependabot[bot] a1a168f86e
Bump sentry-rails, sentry-ruby and sentry-sidekiq
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby), [sentry-ruby](https://github.com/getsentry/sentry-ruby) and [sentry-sidekiq](https://github.com/getsentry/sentry-ruby). These dependencies needed to be updated together.

Updates `sentry-rails` from 5.13.0 to 5.14.0
- [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.13.0...5.14.0)

Updates `sentry-ruby` from 5.13.0 to 5.14.0
- [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.13.0...5.14.0)

Updates `sentry-sidekiq` from 5.13.0 to 5.14.0
- [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.13.0...5.14.0)

---
updated-dependencies:
- dependency-name: sentry-rails
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: sentry-ruby
  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>
2023-12-04 09:41:27 +00:00
dependabot[bot] 8f2c59183f
Bump @fortawesome/fontawesome-free from 6.4.2 to 6.5.1
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 6.4.2 to 6.5.1.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.4.2...6.5.1)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-free"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 09:06:55 +00:00
dependabot[bot] c89d4c8820
Bump @typescript-eslint/parser from 6.11.0 to 6.13.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.11.0 to 6.13.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 09:06:12 +00:00
Karina Kwiatek 8cab7b0dcc Cache ban state 2023-11-27 22:30:10 +01:00
Karina Kwiatek 8facb44af7 Fix lint errors 2023-11-27 22:14:21 +01:00
dependabot[bot] 258cf5cb05
Bump rspec-rails from 6.0.3 to 6.1.0
Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 6.0.3 to 6.1.0.
- [Release notes](https://github.com/rspec/rspec-rails/releases)
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-rails/compare/v6.0.3...v6.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 09:38:58 +00:00
dependabot[bot] 4c44bd55aa
Bump factory_bot_rails from 6.2.0 to 6.4.2
Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails) from 6.2.0 to 6.4.2.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases)
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/main/NEWS.md)
- [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v6.2.0...v6.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 09:38:05 +00:00
Karina Kwiatek b55e6da9a5 Use subqueries to check reaction/subscription state 2023-11-26 19:32:50 +01:00
Ahmed Ejaz 8d0288c658 1448, fix haml-lint issues 2023-11-26 17:12:56 +01:00
Ahmed Ejaz 91ab795e38 #1448, add specs 2023-11-26 17:12:56 +01:00
Ahmed Ejaz e5fe0c6958 #1448, add copy to clipboard button on inbox share dialogue 2023-11-26 17:12:56 +01:00