Commit Graph

5577 Commits

Author SHA1 Message Date
Andreas Nedbal 8842998229 Render shared subscription actions in answerbox actions 2023-10-25 03:14:57 +02:00
Andreas Nedbal 42b5b6ccc2 Remove TypeScript subscription functionality 2023-10-25 03:14:57 +02:00
Andreas Nedbal 563f834287 Remove `Ajax::SubscriptionController` 2023-10-25 03:14:57 +02:00
Andreas Nedbal cefb805243 Add `SubscriptionsController` 2023-10-25 03:14:57 +02:00
dependabot[bot] 5b55f8e6ed
Merge pull request #1414 from Retrospring/dependabot/npm_and_yarn/eslint-plugin-import-2.29.0 2023-10-23 19:38:05 +00:00
dependabot[bot] d926346f22
Bump eslint-plugin-import from 2.28.1 to 2.29.0
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.1 to 2.29.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 19:33:29 +00:00
dependabot[bot] 3aa077f5fa
Merge pull request #1416 from Retrospring/dependabot/bundler/net-imap-0.4.2 2023-10-23 19:28:51 +00:00
dependabot[bot] 4fb1b705ed
Merge pull request #1413 from Retrospring/dependabot/npm_and_yarn/sass-1.69.4 2023-10-23 19:20:53 +00:00
dependabot[bot] d374664fa8
Merge pull request #1412 from Retrospring/dependabot/npm_and_yarn/stylelint-15.11.0 2023-10-23 19:20:22 +00:00
dependabot[bot] 54960d48cb
Merge pull request #1415 from Retrospring/dependabot/github_actions/actions/checkout-4.1.1 2023-10-23 10:04:45 +00:00
dependabot[bot] 2029c17735
Bump net-imap from 0.4.1 to 0.4.2
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.4.1...v0.4.2)

---
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-10-23 10:00:24 +00:00
dependabot[bot] 319592bef0
Bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [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.0...v4.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 09:48:49 +00:00
dependabot[bot] cd3e3f683c
Bump sass from 1.69.3 to 1.69.4
Bumps [sass](https://github.com/sass/dart-sass) from 1.69.3 to 1.69.4.
- [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.69.3...1.69.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 09:46:09 +00:00
dependabot[bot] c9030d5ca1
Bump stylelint from 15.10.3 to 15.11.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.3 to 15.11.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.10.3...15.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 09:45:45 +00:00
Karina Kwiatek e351990475
Merge pull request #1410 from Retrospring/feature/load-async-pinned-answers 2023-10-23 07:54:05 +02:00
Karina Kwiatek aaa5b605e0
Merge pull request #1409 from Retrospring/fix/no-eager-load-comments-smiles 2023-10-23 07:53:58 +02:00
Karina Kwiatek 8ac50878be Use load_async for loading pinned answers 2023-10-22 21:52:04 +02:00
Karina Kwiatek 65e802f51d Stop eager loading comments and smiles 2023-10-22 21:51:21 +02:00
Karina Kwiatek e18abd3752
Merge pull request #1071 from Retrospring/dep/rails-7.0.4.2
Bump rails to 7.0.8
2023-10-22 21:06:04 +02:00
Andreas Nedbal b5347decb4 Fix rubocop nits 2023-10-22 21:04:30 +02:00
Andreas Nedbal e01e973d76 Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-10-22 21:04:30 +02:00
Andreas Nedbal 778d4c7b44 Tighten inbox entry view spec
Non-direct questions can't have a non-null answer count
2023-10-22 21:04:30 +02:00
Andreas Nedbal 80477d17ac Remove transferred locales 2023-10-22 21:04:30 +02:00
Andreas Nedbal c09cc85c4f Adjust class references to question CSS classes 2023-10-22 21:04:30 +02:00
Andreas Nedbal c4959ae548 Remove obsolete question-related partials 2023-10-22 21:04:30 +02:00
Andreas Nedbal e6bd19790a Replace question markup with `QuestionComponent` 2023-10-22 21:04:30 +02:00
Andreas Nedbal 36b13c5366 Extract question styling from answerbox 2023-10-22 21:04:30 +02:00
Andreas Nedbal 07a423bba0 Add `QuestionComponent` 2023-10-22 21:04:30 +02:00
Andreas Nedbal a4208f3a9a Add base `ApplicationComponent` 2023-10-22 21:04:30 +02:00
Andreas Nedbal 6672315e6b Refactor theme inputs into a partial 2023-10-22 20:54:21 +02:00
Andreas Nedbal 12ff30a2e6 Set all theme color inputs to be read-only 2023-10-22 20:54:21 +02:00
Karina Kwiatek 18bb574b78
Merge pull request #1405 from Retrospring/fix/use-smile-count-in-answerbox
Use `smile_count` in answerbox
2023-10-22 20:51:14 +02:00
Karina Kwiatek 2b84b9ca4f
Merge pull request #1407 from Retrospring/fix/eager-load-profiles-and-questions
Ensure user profiles and questions are eager loaded
2023-10-22 20:40:37 +02:00
Karina Kwiatek 491fb359d2 Ensure user profiles and questions are eager loaded 2023-10-22 19:54:51 +02:00
Karina Kwiatek 198ea0d50d Use `smile_count` in answerbox 2023-10-22 19:48:04 +02:00
Karina Kwiatek 2432010256
Merge pull request #1403 from Retrospring/feature/avatar-component
Install `view_component` and add initial `AvatarComponent`
2023-10-22 16:05:11 +02:00
Andreas Nedbal 3dbbcd1b85 Revert schema.rb rubocop changes 2023-10-21 13:01:07 +02:00
Andreas Nedbal 2f57353591 Remove `squish` call from timestamp function setup 2023-10-21 13:01:07 +02:00
Andreas Nedbal 0bc40cb59b Ignore previous commit in blame views 2023-10-21 13:01:07 +02:00
Andreas Nedbal 72af3c4d0b Fix lints in database/migration code 2023-10-21 13:01:07 +02:00
Andreas Nedbal 0e68a67d13 Ignore `Lint/MissingSuper` in `app/components/` 2023-10-20 12:51:48 +02:00
Andreas Nedbal ae4210d36f Add spec for `AvatarComponent` 2023-10-20 12:46:42 +02:00
Andreas Nedbal f97d98d00a Include `view_component` testing helpers 2023-10-20 11:46:26 +02:00
Andreas Nedbal a58e902a01 Replace plain avatar usage with `AvatarComponent` 2023-10-20 11:45:53 +02:00
Andreas Nedbal e19786cbaa Add avatar component 2023-10-20 11:44:28 +02:00
Andreas Nedbal 62c26771b9 Install `view_component` gem 2023-10-20 11:34:01 +02:00
Karina Kwiatek dad0d72cca Allow faker TLDs in testing 2023-10-20 09:52:48 +02:00
Karina Kwiatek e21f5cb39d Remove spring
Spring is no longer included with Rails by default
See https://rubyonrails.org/2021/12/15/Rails-7-fulfilling-a-vision#a-few-other-highlights
2023-10-20 09:41:03 +02:00
Karina Kwiatek 13e6943fc6 Bump rails to 7.0.8 2023-10-20 09:39:52 +02:00
Karina Kwiatek 23dc19a665 Add cookie rotation for switching from SHA1 to SHA256 2023-10-20 08:33:16 +02:00