Commit graph

3484 commits

Author SHA1 Message Date
Karina Kwiatek
48f70c9e47
Prevent default event handling on block anon option
Co-authored-by: Andreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>
2022-08-20 19:37:51 +02:00
Karina Kwiatek
4814ccdaa5 Use null-safe navigation for destroying inbox entries when blocking 2022-08-20 19:18:28 +02:00
Karina Kwiatek
c7418b5de7 Make user_id on anonymous_blocks nullable 2022-08-20 19:05:55 +02:00
Karina Kwiatek
b59c9b3af2 Add tests for management endpoint for site-wide muting 2022-08-20 19:05:55 +02:00
Karina Kwiatek
2d01d9b365 Apply review suggestions
Co-authored-by: Andreas Nedbal <git@pixelde.su>
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-08-20 19:05:55 +02:00
Karina Kwiatek
92a5095c00 Appease the robot canine 2022-08-20 19:05:55 +02:00
Karina Kwiatek
136eac8bdd Add page for managing site-wide anonymous-blocks 2022-08-20 19:05:55 +02:00
Karina Kwiatek
ae5d8931af Implement frontend for blocking users site-wide 2022-08-20 19:03:05 +02:00
Karina Kwiatek
74e309e9fc Apply anonymous blocks without an owner as global 2022-08-20 19:02:37 +02:00
Karina Kwiatek
0bbb435858 Allow anonymous blocks without an owner 2022-08-20 19:02:37 +02:00
Georg Gadinger
1a4096a42a
Merge pull request #632 from Retrospring/freude-schöner-götterfunken
🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺🇪🇺
2022-08-20 18:00:09 +02:00
Georg Gadinger
ccbd42666d locales: rewrite it in European (and the rest of the world) 2022-08-20 17:37:33 +02:00
Georg Gadinger
b41983a2bf
Disgustingly merge pull request #598 from Retrospring/feature/norway
Add new translations in various places
2022-08-20 17:22:37 +02:00
Andreas Nedbal
866894563e Apply review suggestions from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-08-20 17:21:47 +02:00
Andreas Nedbal
c4d01a4f74 Appease the robot dog 2022-08-20 17:21:47 +02:00
Andreas Nedbal
b00a12b322 Always return a boolean value from moderation_view? 2022-08-20 17:21:47 +02:00
Andreas Nedbal
f5f7b0d22b Add tests for User#questions action and cases 2022-08-20 17:21:47 +02:00
Andreas Nedbal
6693864fbc Move belongs_to_current_user? to UserController 2022-08-20 17:21:47 +02:00
Andreas Nedbal
87c2ed3ab7 List direct questions for current users or mods 2022-08-20 17:21:47 +02:00
Georg Gadinger
85d2ffc5ec
Merge pull request #631 from Retrospring/answer-is-too-lo…
answerbox: use ActiveSupport's String#truncate
2022-08-20 14:36:35 +02:00
Georg Gadinger
8f86f8bc96 answerbox: use ActiveSupport's String#truncate
this change cuts off the answer after a word and not within one.
2022-08-19 16:49:08 +02:00
Andreas Nedbal
2a8711e7db Fix asked header in question and answerbox 2022-08-17 22:18:37 +02:00
dependabot[bot]
455e478e45 Bump webpack-dev-server from 4.7.3 to 4.10.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.7.3 to 4.10.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.7.3...v4.10.0)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 18:23:18 +02:00
dependabot[bot]
b73bc4b13d Bump @melloware/coloris from 0.15.0 to 0.16.0
Bumps [@melloware/coloris](https://github.com/melloware/coloris-npm) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/melloware/coloris-npm/releases)
- [Commits](https://github.com/melloware/coloris-npm/compare/0.15.0...0.16.0)

---
updated-dependencies:
- dependency-name: "@melloware/coloris"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 16:50:37 +02:00
dependabot[bot]
380b516d32
Merge pull request #626 from Retrospring/dependabot/bundler/bullet-7.0.3 2022-08-15 09:14:04 +00:00
dependabot[bot]
a959fc1fa8
Bump bullet from 7.0.2 to 7.0.3
Bumps [bullet](https://github.com/flyerhzm/bullet) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/7.0.2...7.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 09:09:32 +00:00
dependabot[bot]
d596f5e909
Merge pull request #625 from Retrospring/dependabot/bundler/rubocop-1.35.0 2022-08-15 09:07:12 +00:00
dependabot[bot]
11dbf2b67f
Merge pull request #623 from Retrospring/dependabot/bundler/brakeman-5.3.1 2022-08-15 09:06:46 +00:00
dependabot[bot]
69e35ab5cd
Merge pull request #613 from Retrospring/dependabot/bundler/oj-3.13.20 2022-08-15 09:06:44 +00:00
dependabot[bot]
9eb0035776
Merge pull request #624 from Retrospring/dependabot/bundler/pg-1.4.3 2022-08-15 09:06:24 +00:00
dependabot[bot]
0570384e6b
Bump rubocop from 1.33.0 to 1.35.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.33.0 to 1.35.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.33.0...v1.35.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 09:02:05 +00:00
dependabot[bot]
32b1a8dee0
Bump pg from 1.4.2 to 1.4.3
Bumps [pg](https://github.com/ged/ruby-pg) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.rdoc)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.4.2...v1.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 09:01:46 +00:00
dependabot[bot]
c36c9641c3
Bump brakeman from 5.2.3 to 5.3.1
Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 5.2.3 to 5.3.1.
- [Release notes](https://github.com/presidentbeef/brakeman/releases)
- [Changelog](https://github.com/presidentbeef/brakeman/blob/main/CHANGES.md)
- [Commits](https://github.com/presidentbeef/brakeman/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 09:01:28 +00:00
Georg Gadinger
586b94d2cf
Merge pull request #622 from Retrospring/emails.still@☺get.typoed
typoed_email_validator: add new endings to the typo list
2022-08-14 20:57:12 +02:00
Georg Gadinger
cb158c1fac typoed_email_validator: add new endings to the typo list 2022-08-14 20:49:51 +02:00
Georg Gadinger
41765159a9
Merge pull request #614 from Retrospring/dependabot/bundler/rubocop-1.33.0
Bump rubocop from 1.32.0 to 1.33.0
2022-08-11 06:43:43 +02:00
dependabot[bot]
604e02d4a3 Bump @babel/preset-env from 7.18.9 to 7.18.10
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.9 to 7.18.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.10/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 14:00:43 +02:00
dependabot[bot]
d42c809ae2 Bump @babel/core from 7.18.9 to 7.18.10
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.9 to 7.18.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.10/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 13:43:31 +02:00
dependabot[bot]
7529567ce7
Bump rubocop from 1.32.0 to 1.33.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.32.0 to 1.33.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.32.0...v1.33.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 09:02:17 +00:00
dependabot[bot]
c8c17cc53a
Bump oj from 3.13.19 to 3.13.20
Bumps [oj](https://github.com/ohler55/oj) from 3.13.19 to 3.13.20.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.13.19...v3.13.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 09:01:34 +00:00
Karina Kwiatek
dec147a5d9 Bump version to 2022.0804.2 2022-08-04 21:10:55 +02:00
Karina Kwiatek
b089d676aa
Merge pull request #611 from Retrospring/fix/🚫 2022-08-04 21:07:53 +02:00
Karina Kwiatek
e8ceaa48f4 Prevent password prompt submit button from being disabled 2022-08-04 20:56:58 +02:00
Karina Kwiatek
9a59980df8 Bump version to 2022.0804.1 2022-08-04 15:48:45 +02:00
Karina Kwiatek
1f970d8980
Merge pull request #610 from Retrospring/fix/sudo-syntax
Fix syntax error in password confirmation dialogues
2022-08-04 15:48:05 +02:00
Karina Kwiatek
33fdf1e394 Bump version to 2022.0804.0 2022-08-04 15:36:39 +02:00
Karina Kwiatek
29e0f06222 Fix syntax error in password confirmation dialogues 2022-08-04 15:09:20 +02:00
Andreas Nedbal
842d9faa3f
Update config/locales/voc.en.yml
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-08-03 11:56:05 +02:00
Andreas Nedbal
7a6c5cab3f
Apply review suggestion from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-08-02 22:31:16 +02:00
Andreas Nedbal
f526dd86b0 Add final newline to views.en.yml 2022-08-02 19:37:50 +02:00