Commit Graph

5457 Commits

Author SHA1 Message Date
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
Karina Kwiatek 6e7c625f3f Stub out Trix editor 2023-10-20 08:33:16 +02:00
Karina Kwiatek 488ab85653 Adjust autoloading 2023-10-20 08:33:16 +02:00
Karina Kwiatek 8ddfd903f3 Bump rails to 7.0.4.2 2023-10-20 08:33:16 +02:00
Karina Kwiatek 16071d6a86
Merge pull request #1402 from Retrospring/bugfix/rendirect-to
Properly show validation errors in settings controllers
2023-10-20 07:50:13 +02:00
Andreas Nedbal 50b925ec48 Prefer render responders in settings controllers 2023-10-20 02:21:52 +02:00
Andreas Nedbal 6ff7b08f15
Merge pull request #1396 from Retrospring/bugfix/inbox-sharing 2023-10-19 23:57:02 +02:00
Andreas Nedbal f95e11cffc Fix rubocop nits 2023-10-19 23:53:21 +02:00
Andreas Nedbal 6e8f8bcc67
Merge branch 'main' into bugfix/inbox-sharing 2023-10-19 23:44:57 +02:00
Andreas Nedbal 86f9fe0671 Ignore large lint fix commits in blame views 2023-10-19 23:41:14 +02:00
Andreas Nedbal 25adb11df3 Fix rubocop nits in helper code and specs 2023-10-19 23:41:14 +02:00
Andreas Nedbal 9cb6b25cc7 Disable `Metrics/*Complexity` cops 2023-10-19 23:41:14 +02:00
Karina Kwiatek 3676ebb7a2
Merge pull request #1391 from Retrospring/allow-extra-hosts-in-dev
Allow setting extra hosts in development environments
2023-10-19 20:35:11 +02:00
Andreas Nedbal e37532e0eb Bump version to 2023.1019.0 2023-10-19 10:50:00 +02:00
Georg Gadinger 182654dc8f
Merge pull request #1397 from Retrospring/fix-user-content-deletion
Fix user content deletion
2023-10-18 22:18:40 +02:00
Georg Gadinger 0fb0251a36
Merge pull request #1398 from Retrospring/update-bundler
Update bundler
2023-10-18 22:14:21 +02:00
Georg Gadinger c4da510fe7 fix deletion of notification entries when deleting a user 2023-10-18 22:13:25 +02:00
Georg Gadinger a85ce45b25 appease the paw patrol 2023-10-18 21:57:09 +02:00
Georg Gadinger f5a77bc882 update tldv-data 2023-10-18 21:55:38 +02:00
Georg Gadinger b53462e4e5 update Bundler 2023-10-18 21:55:22 +02:00
Georg Gadinger 8a26232fe6 bad dog 2023-10-18 21:53:30 +02:00