Commit Graph

5541 Commits

Author SHA1 Message Date
Karina Kwiatek 6d9ef9ee64 Update test for profile picture controller to render form instead of redirecting 2023-12-17 23:04:16 +01:00
Karina Kwiatek 4df74d6ff5 Ensure errors display when updating profile images 2023-12-17 22:58:25 +01:00
Karina Kwiatek e119f29680 Group inputs in ask modal
Co-authored-by: Andreas Nedbal <git@pixelde.su>
2023-12-17 22:34:22 +01:00
Karina Kwiatek 2721e050c6 Remove accepted_image_formats from justask.yml.example 2023-12-12 00:22:36 +01:00
Karina Kwiatek 77a801d6ad Remove animation for image uploads 2023-12-12 00:21:03 +01:00
Karina Kwiatek a70b967919 Set constraints for images in uploader 2023-12-12 00:21:01 +01:00
Andreas Nedbal acf9595d71 Fix rubocop nits 2023-12-11 23:20:40 +01:00
Andreas Nedbal 9352f8481b Fix User/SessionsController spec 2023-12-11 23:20:40 +01:00
Andreas Nedbal 66878544bf Disclose permanent ban duration in login notice 2023-12-11 23:20:40 +01:00
Karina J. Kwiatek 34d97ed7c4
Merge pull request #1502 from Retrospring/bugfix/no-follower-note
Add note to question modal if current user has no followers
2023-12-11 23:18:49 +01:00
Karina Kwiatek b02375985a Add option to send question to own inbox 2023-12-11 23:14:58 +01:00
Andreas Nedbal 2a0b163bf1
Apply review suggestion from @raccube
Co-authored-by: Karina J. Kwiatek <6197148+raccube@users.noreply.github.com>
2023-12-11 20:05:53 +01:00
Karina J. Kwiatek 5d89e21e33
Merge pull request #1442 from Retrospring/refactor/send-to-followers-individually
Split up question worker to send to an individual user rather than to all followers
2023-12-11 20:04:15 +01:00
Karina Kwiatek e481721ea9 Use `Sidekiq::Job` 2023-12-11 20:02:30 +01:00
Karina Kwiatek b2b9826071 Fix lint errors 2023-12-11 19:59:07 +01:00
Karina Kwiatek 64ac18843e Replace usages of `QuestionWorker` 2023-12-11 19:56:50 +01:00
Karina Kwiatek aaee04b5ed Restore `QuestionWorker` for compatibility during upgrade
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-12-11 19:54:56 +01:00
dependabot[bot] c8f5fab4ce
Merge pull request #1507 from Retrospring/dependabot/npm_and_yarn/typescript-eslint/parser-6.13.2 2023-12-11 16:18:03 +00:00
dependabot[bot] 6813b981df
Merge pull request #1509 from Retrospring/dependabot/npm_and_yarn/stylelint-scss-5.3.2 2023-12-11 16:17:38 +00:00
dependabot[bot] aae10465e3
Merge pull request #1508 from Retrospring/dependabot/npm_and_yarn/github/hotkey-2.3.1 2023-12-11 16:17:15 +00:00
dependabot[bot] eba6cf7ba5
Bump stylelint-scss from 5.3.1 to 5.3.2
Bumps [stylelint-scss](https://github.com/stylelint-scss/stylelint-scss) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/stylelint-scss/stylelint-scss/releases)
- [Changelog](https://github.com/stylelint-scss/stylelint-scss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint-scss/stylelint-scss/compare/v5.3.1...v5.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 09:58:31 +00:00
dependabot[bot] b9915ef4bb
Bump @github/hotkey from 2.3.0 to 2.3.1
Bumps [@github/hotkey](https://github.com/github/hotkey) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/github/hotkey/releases)
- [Commits](https://github.com/github/hotkey/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: "@github/hotkey"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 09:58:17 +00:00
dependabot[bot] 630c617be6
Bump @typescript-eslint/parser from 6.13.1 to 6.13.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.13.1 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/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.2/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 09:57:50 +00:00
dependabot[bot] 3dec0189ad
Merge pull request #1506 from Retrospring/dependabot/bundler/sentry-ruby-and-sentry-rails-and-sentry-sidekiq-5.15.0 2023-12-11 09:51:17 +00:00
dependabot[bot] ec935ae32e
Merge pull request #1505 from Retrospring/dependabot/bundler/oj-3.16.2 2023-12-11 09:51:06 +00:00
dependabot[bot] 1a1cd63907
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.14.0 to 5.15.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.14.0...5.15.0)

Updates `sentry-rails` from 5.14.0 to 5.15.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.14.0...5.15.0)

Updates `sentry-sidekiq` from 5.14.0 to 5.15.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.14.0...5.15.0)

---
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>
2023-12-11 09:35:06 +00:00
dependabot[bot] 4dd7c9f077
Bump oj from 3.16.1 to 3.16.2
Bumps [oj](https://github.com/ohler55/oj) from 3.16.1 to 3.16.2.
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.16.1...v3.16.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 09:33:03 +00:00
dependabot[bot] 4156ba3728
Bump haml from 6.2.3 to 6.3.0
Bumps [haml](https://github.com/haml/haml) from 6.2.3 to 6.3.0.
- [Release notes](https://github.com/haml/haml/releases)
- [Changelog](https://github.com/haml/haml/blob/main/CHANGELOG.md)
- [Commits](https://github.com/haml/haml/compare/v6.2.3...v6.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 09:32:25 +00:00
Andreas Nedbal 0d22f26cea Add note to question modal if current user has no followers 2023-12-11 00:42:26 +01:00
Andreas Nedbal e428d1e0c8 Add note to follower asking modal if on a user profile 2023-12-11 00:16:43 +01:00
Andreas Nedbal c42e36af12 Fix inbox view spec 2023-12-10 22:39:58 +01:00
Andreas Nedbal 32456a0f30 Add empty hint for questions 2023-12-10 22:39:58 +01:00
Andreas Nedbal 3c3b9a7719 Add empty hint for home timelines 2023-12-10 22:39:58 +01:00
Andreas Nedbal b2220cf38b Add empty hint for inbox 2023-12-10 22:39:58 +01:00
Andreas Nedbal 0ef69eac69 Add empty hints for moderation views 2023-12-10 22:39:58 +01:00
Andreas Nedbal 21ac519120 Fix moderation inbox view 2023-12-10 22:39:58 +01:00
Andreas Nedbal 499b525a0e Add empty hints for user pages 2023-12-10 22:39:58 +01:00
Andreas Nedbal eb56ab87be Add empty hint shared template 2023-12-10 22:39:58 +01:00
Karina J. Kwiatek a186c2b644
Merge pull request #1498 from Retrospring/fix/add-index-for-user-bans-user-id
Add index for `user_bans.user_id`
2023-12-09 23:11:47 +01:00
Karina Kwiatek 49d49e4aa4 Update schema.rb 2023-12-09 23:00:45 +01:00
Andreas Nedbal a67668bbd3 Add z-index to sticky question header 2023-12-09 22:58:30 +01:00
Andreas Nedbal fda397777e Fix layout of "Show all questions from this user" page 2023-12-09 22:58:30 +01:00
Karina Kwiatek 68ffa36f7a Add index for `user_bans.user_id` 2023-12-09 22:27:20 +01:00
Andreas Nedbal 11535a17a3 Adjust inbox entry view spec 2023-12-09 21:38:29 +01:00
Andreas Nedbal ed500da939 Make copy-to-clipboard a button instead of a link 2023-12-09 21:38:29 +01:00
Andreas Nedbal a27e995179 Add spacing to sharing buttons 2023-12-09 21:38:29 +01:00
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