Commit Graph

5576 Commits

Author SHA1 Message Date
Andreas Nedbal d1ac420303 use `question_markdown` helper for questions in notifications 2023-12-21 00:06:54 +01:00
Andreas Nedbal 950443bbb8 add ReactionController to disable button during submits 2023-12-21 00:01:43 +01:00
Karina J. Kwiatek 855d0fa867
Merge pull request #1532 from Retrospring/fix/deduplicate-reactions 2023-12-20 11:39:37 +00:00
Karina Kwiatek 563926895f Remove duplicate reactions 2023-12-20 10:28:49 +00:00
dependabot[bot] d0fbf39c1d
Merge pull request #1521 from Retrospring/dependabot/bundler/haml_lint-0.52.0 2023-12-20 01:09:54 +00:00
dependabot[bot] e3827555a9
Merge pull request #1527 from Retrospring/dependabot/npm_and_yarn/github/hotkey-3.1.0 2023-12-20 00:55:24 +00:00
dependabot[bot] db6de92f4f
Merge pull request #1531 from Retrospring/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.15.0 2023-12-20 00:30:42 +00:00
dependabot[bot] 8eaf6f1584
Bump @typescript-eslint/eslint-plugin from 6.13.2 to 6.15.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.13.2 to 6.15.0.
- [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.15.0/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-20 00:27:21 +00:00
dependabot[bot] e0c594a997
Merge pull request #1528 from Retrospring/dependabot/github_actions/github/codeql-action-3 2023-12-20 00:25:36 +00:00
dependabot[bot] c3794110ad
Merge pull request #1520 from Retrospring/dependabot/bundler/rubocop-1.59.0 2023-12-20 00:25:17 +00:00
dependabot[bot] ca52eec369
Merge pull request #1530 from Retrospring/dependabot/npm_and_yarn/typescript-eslint/parser-6.15.0 2023-12-20 00:24:35 +00:00
dependabot[bot] c664c72af1
Bump @typescript-eslint/parser from 6.13.2 to 6.15.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.13.2 to 6.15.0.
- [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.15.0/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-19 23:12:10 +00:00
dependabot[bot] 332ac76d46
Merge pull request #1526 from Retrospring/dependabot/npm_and_yarn/eslint-plugin-import-2.29.1 2023-12-19 23:11:10 +00:00
dependabot[bot] dd2d861c2b
Bump eslint-plugin-import from 2.29.0 to 2.29.1
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.29.0 to 2.29.1.
- [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.29.0...v2.29.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 23:08:11 +00:00
dependabot[bot] bdaf082fce
Merge pull request #1524 from Retrospring/dependabot/npm_and_yarn/eslint-8.56.0 2023-12-19 23:07:21 +00:00
Karina J. Kwiatek 727b82daf5
Merge pull request #1529 from Retrospring/fix/has-reacted 2023-12-19 22:52:19 +00:00
Karina Kwiatek 539868173c Fix `has_reacted` and `is_subscribed` not being set 2023-12-19 13:45:25 +01:00
dependabot[bot] 9066ce68e4
Merge pull request #1519 from Retrospring/dependabot/bundler/oj-3.16.3 2023-12-18 22:11:57 +00:00
dependabot[bot] 92b2098ed8
Bump oj from 3.16.2 to 3.16.3
Bumps [oj](https://github.com/ohler55/oj) from 3.16.2 to 3.16.3.
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.16.2...v3.16.3)

---
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-18 22:09:04 +00:00
dependabot[bot] 79ea1cd103
Bump haml_lint from 0.51.0 to 0.52.0
Bumps [haml_lint](https://github.com/sds/haml-lint) from 0.51.0 to 0.52.0.
- [Release notes](https://github.com/sds/haml-lint/releases)
- [Changelog](https://github.com/sds/haml-lint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sds/haml-lint/compare/v0.51.0...v0.52.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 21:58:51 +00:00
dependabot[bot] 90f6fc2213
Bump rubocop from 1.58.0 to 1.59.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.58.0 to 1.59.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.58.0...v1.59.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-18 21:57:16 +00:00
dependabot[bot] 1eca877b07
Merge pull request #1522 from Retrospring/dependabot/bundler/net-imap-0.4.8 2023-12-18 21:57:10 +00:00
dependabot[bot] 1c023e9d74
Merge pull request #1504 from Retrospring/dependabot/bundler/haml-6.3.0 2023-12-18 21:56:24 +00:00
dependabot[bot] 3cee62c2ea
Merge pull request #1518 from Retrospring/dependabot/bundler/rubocop-rails-2.23.0 2023-12-18 21:56:04 +00:00
Karina J. Kwiatek 52e17d0f68
Merge pull request #1515 from Retrospring/fix/post-comment-buttont-title 2023-12-18 11:14:56 +01:00
dependabot[bot] 13db121583
Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 09:48:09 +00:00
dependabot[bot] ac0ce22001
Bump @github/hotkey from 2.3.1 to 3.1.0
Bumps [@github/hotkey](https://github.com/github/hotkey) from 2.3.1 to 3.1.0.
- [Release notes](https://github.com/github/hotkey/releases)
- [Commits](https://github.com/github/hotkey/compare/v2.3.1...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 09:06:29 +00:00
dependabot[bot] 5ff5c3793f
Bump eslint from 8.55.0 to 8.56.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.55.0 to 8.56.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.55.0...v8.56.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-18 09:05:45 +00:00
dependabot[bot] 81df80f879
Bump net-imap from 0.4.7 to 0.4.8
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.4.7...v0.4.8)

---
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-18 09:04:31 +00:00
dependabot[bot] ddf427feb6
Bump rubocop-rails from 2.22.2 to 2.23.0
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.22.2 to 2.23.0.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.22.2...v2.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 09:02:56 +00:00
Karina Kwiatek d5c6d7a867 Fix missing translation on post comment button 2023-12-17 23:51:01 +01:00
Karina Kwiatek 4c6f280755 Bump version to 2023.1217.0 2023-12-17 23:16:12 +01:00
Karina J. Kwiatek ca2088ba8f
Merge pull request #1513 from Retrospring/fix/image-upload-constraints 2023-12-17 23:13:31 +01:00
Karina J. Kwiatek 60b7c23a8b
Merge pull request #1512 from Retrospring/feature/send-to-own-inbox 2023-12-17 23:13:20 +01:00
Karina Kwiatek 401498eccb Bump upload max filesize 2023-12-17 23:09:35 +01:00
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