Commit Graph

3918 Commits

Author SHA1 Message Date
dependabot[bot] 629cc29052
Bump sentry-rails from 5.6.0 to 5.7.0
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 5.6.0 to 5.7.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.6.0...5.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 09:00:53 +00:00
Karina Kwiatek ebc3319eb2 Bump version to 2022.1204.0 2022-12-04 23:50:08 +01:00
Karina Kwiatek 854b2fd5c6 Use `Rails.public_path.join` 2022-12-04 23:48:21 +01:00
Karina Kwiatek 5b29c78496 Fix exporter creating empty archives 2022-12-04 23:48:21 +01:00
Karina Kwiatek cb61db02eb
Merge pull request #824 from Retrospring/feature/anonymous-block-tuuuuuuurbo
Migrate anonymous blocks to Turbo Streams
2022-12-04 23:23:19 +01:00
Karina Kwiatek ce5b8d2356
Merge pull request #825 from Retrospring/feature/stimulus-announcements
Add Stimulus controller for announcements
2022-12-04 23:23:11 +01:00
dependabot[bot] 3d625a9a1d
Merge pull request #833 from Retrospring/dependabot/npm_and_yarn/decode-uri-component-0.2.2 2022-12-04 22:19:50 +00:00
dependabot[bot] c6f461315c
Bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-04 22:16:05 +00:00
dependabot[bot] 0f118e2b33
Merge pull request #829 from Retrospring/dependabot/bundler/haml-6.0.12 2022-12-04 22:16:01 +00:00
dependabot[bot] 0d4fa41800
Merge pull request #830 from Retrospring/dependabot/bundler/bootsnap-1.15.0 2022-12-04 22:15:40 +00:00
Karina Kwiatek 63436d3464 Remove `ios_web_app?` helper 2022-12-04 23:11:59 +01:00
dependabot[bot] 01a1fda448
Bump bootsnap from 1.14.0 to 1.15.0
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.14.0...v1.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 09:01:06 +00:00
dependabot[bot] 9ee2265f10
Bump haml from 6.0.10 to 6.0.12
Bumps [haml](https://github.com/haml/haml) from 6.0.10 to 6.0.12.
- [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.0.10...v6.0.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 09:00:48 +00:00
Georg Gadinger a2ae98eee8 inbox_controller: update all inbox entries when requesting turbo stream
since there's no layout rendered which updates all inbox entries the
inbox entries would still be shown as unread

fixes #827
2022-11-25 00:10:36 +01:00
Bandie 0529247851 Keep place of link consistent 2022-11-25 00:10:16 +01:00
Bandie ecb68eaee4 Make link to "all notifications" accessible even if your monitor is too small for all of your notifications 2022-11-25 00:10:16 +01:00
Andreas Nedbal b51d8c048d Remove legacy announcement TypeScript 2022-11-23 21:01:35 +01:00
Andreas Nedbal 3b1f15ebb9 Add Stimulus controller for announcements 2022-11-23 21:00:49 +01:00
Andreas Nedbal 55f26cb7d4 Remove settings unblock TypeScript 2022-11-22 08:38:33 +01:00
Andreas Nedbal 1c4993df3f Fix lints 2022-11-21 23:07:18 +01:00
Andreas Nedbal d9991f5fa7 Add tests 2022-11-21 23:05:04 +01:00
Andreas Nedbal b81fbb7fe6 Wire up Turbo Streams action calls in templates 2022-11-21 22:30:15 +01:00
Andreas Nedbal d000ddaae4 Add `AnonymousBlockController` 2022-11-21 22:29:47 +01:00
Andreas Nedbal ddded27757 Remove anonymous block AJAX implementation 2022-11-21 22:28:38 +01:00
Karina Kwiatek 13bd043722
Merge pull request #823 from Retrospring/feature/megabyte-one
Add spacing to 2FA buttons
2022-11-21 22:09:08 +01:00
Andreas Nedbal bb3ef51f13 Add spacing to 2FA buttons 2022-11-21 21:13:25 +01:00
Andreas Nedbal 41c43538b5 Fix lints 2022-11-21 20:26:19 +01:00
Andreas Nedbal 9a4c0d576d Add Stimulus autofocus controller 2022-11-21 20:26:19 +01:00
Andreas Nedbal efef85b7c6 Split mute rule form into seperate partial and replace on create 2022-11-21 20:26:19 +01:00
Karina Kwiatek 40d5dc41dd Ensure mute rules cannot be empty 2022-11-21 20:26:19 +01:00
Andreas Nedbal 0c9bb05f29 Return 403 by default for Pundit errors 2022-11-21 20:26:19 +01:00
Andreas Nedbal 94c9fa12fb Add policy for mute rules 2022-11-21 20:26:19 +01:00
Andreas Nedbal c8f990e319 Set up Pundit 2022-11-21 20:26:19 +01:00
Andreas Nedbal 5f2b044d80 Add tests for mute rules 2022-11-21 20:26:19 +01:00
Andreas Nedbal 9a96010530 Move action locales to vocabulary 2022-11-21 20:26:19 +01:00
Andreas Nedbal 9048a3e7d8 Remove AJAX Mute Rules code 2022-11-21 20:26:19 +01:00
Andreas Nedbal c08ff04738 Destroy Mute Rules using Turbo Streams 2022-11-21 20:26:19 +01:00
Andreas Nedbal 589b753df3 Create Mute Rules using Turbo Streams 2022-11-21 20:26:19 +01:00
Andreas Nedbal 97d55127e4 Fix double nested layouts 2022-11-21 20:26:01 +01:00
Andreas Nedbal 0dee066e9f Move announcement locales to proper namespace 2022-11-21 20:26:01 +01:00
Andreas Nedbal 930e16bbda Add tests for `Admin::DashboardController` 2022-11-21 20:26:01 +01:00
Andreas Nedbal c464e80e45 Fix lints 2022-11-21 20:26:01 +01:00
Andreas Nedbal d42f1ba0c5 Fix tests 2022-11-21 20:26:01 +01:00
Andreas Nedbal 9bd9c7af9f Disable Turbo on announcement forms 2022-11-21 20:26:01 +01:00
Andreas Nedbal 54e157ec76 `AnnouncementController` -> `Admin::AnnouncementController` 2022-11-21 20:26:01 +01:00
Andreas Nedbal 23dc8a17f9 Move locales to proper namespaces 2022-11-21 20:26:01 +01:00
Andreas Nedbal cc00fff8cd Add global anon blocks to moderation sidebar 2022-11-21 20:26:01 +01:00
Andreas Nedbal 695ce57762 Use moderation layout on specific views 2022-11-21 20:26:01 +01:00
Andreas Nedbal 95b501301d Move moderation layout to proper location 2022-11-21 20:26:01 +01:00
Andreas Nedbal 6d462cbd1b Add link to admin dashboard to profile dropdown 2022-11-21 20:26:01 +01:00