Commit Graph

5295 Commits

Author SHA1 Message Date
Karina Kwiatek b93453dee4 Remove eager load from notifications
Unsure of how this managed to work before but eager loading polymorphic associations is not possible in this way.
2023-03-07 19:14:14 +01:00
Karina Kwiatek 14379acbd3 Fix incorrect access of `unread_inbox_count` in `notification_data` 2023-03-07 19:14:14 +01:00
Karina Kwiatek 68e0f02a2d Adapt tests to match new counter methods 2023-03-07 19:14:14 +01:00
Karina Kwiatek 369ae1b378 Update PWA badge on push notification 2023-03-07 19:14:14 +01:00
Karina Kwiatek 1ec5ffa6d2 Cache inbox and notification counters 2023-03-07 19:14:14 +01:00
Karina Kwiatek febcf42b61 Update PWA notification page on page load 2023-03-07 19:14:14 +01:00
Karina Kwiatek abff39557d Allow multi-line comments 2023-03-07 17:57:41 +01:00
Karina Kwiatek df9ce09dfe
Merge pull request #1108 from Retrospring/refactor/counters
Use Rails built-in counters for associations
2023-03-07 10:54:55 +01:00
dependabot[bot] 918dedc9df
Merge pull request #1127 from Retrospring/dependabot/bundler/ruby-progressbar-1.13.0 2023-03-06 19:48:08 +00:00
dependabot[bot] d51eabaf02
Bump ruby-progressbar from 1.11.0 to 1.13.0
Bumps [ruby-progressbar](https://github.com/jfelchner/ruby-progressbar) from 1.11.0 to 1.13.0.
- [Release notes](https://github.com/jfelchner/ruby-progressbar/releases)
- [Changelog](https://github.com/jfelchner/ruby-progressbar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jfelchner/ruby-progressbar/compare/releases/v1.11.0...releases/v1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 19:40:04 +00:00
Karina Kwiatek 93674c8741
Merge pull request #1128 from Retrospring/remove-ruby-progressbar
remove ruby-progressbar
2023-03-06 20:39:19 +01:00
Georg Gadinger 2a9cb638d6 remove ruby-progressbar 2023-03-06 20:17:33 +01:00
dependabot[bot] 3c7a15dc88
Merge pull request #1122 from Retrospring/dependabot/bundler/turbo-rails-1.4.0 2023-03-06 16:52:26 +00:00
dependabot[bot] fee4e85eaa
Merge pull request #1124 from Retrospring/dependabot/npm_and_yarn/hotwired/turbo-rails-7.3.0 2023-03-06 16:52:02 +00:00
dependabot[bot] b6a6147ae0
Merge pull request #1126 from Retrospring/dependabot/npm_and_yarn/esbuild-0.17.11 2023-03-06 16:32:52 +00:00
dependabot[bot] d34e70c9f5
Merge pull request #1123 from Retrospring/dependabot/bundler/puma-6.1.1 2023-03-06 14:23:29 +00:00
dependabot[bot] 7479f17501
Bump esbuild from 0.17.10 to 0.17.11
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.10 to 0.17.11.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.10...v0.17.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 09:58:39 +00:00
dependabot[bot] bc0e6dc2ef
Bump @hotwired/turbo-rails from 7.2.5 to 7.3.0
Bumps [@hotwired/turbo-rails](https://github.com/hotwired/turbo-rails) from 7.2.5 to 7.3.0.
- [Release notes](https://github.com/hotwired/turbo-rails/releases)
- [Commits](https://github.com/hotwired/turbo-rails/commits)

---
updated-dependencies:
- dependency-name: "@hotwired/turbo-rails"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 09:57:50 +00:00
dependabot[bot] 9767306a52
Bump puma from 6.1.0 to 6.1.1
Bumps [puma](https://github.com/puma/puma) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.1.0...v6.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 09:57:35 +00:00
dependabot[bot] 20433c987e
Bump turbo-rails from 1.3.3 to 1.4.0
Bumps [turbo-rails](https://github.com/hotwired/turbo-rails) from 1.3.3 to 1.4.0.
- [Release notes](https://github.com/hotwired/turbo-rails/releases)
- [Commits](https://github.com/hotwired/turbo-rails/compare/v1.3.3...v1.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 09:56:51 +00:00
Karina Kwiatek 3e22af6966
Merge pull request #1120 from Retrospring/fix/no-fog-in-tests
Disable fog in tests
2023-03-06 08:58:50 +01:00
Karina Kwiatek f3c7132103 Allow use of `USE_FOG_IN_TESTS` env var 2023-03-05 20:37:52 +01:00
Karina Kwiatek c9d76acc79
Merge pull request #1121 from Retrospring/fix/2fa-issues
Fix various issues with 2FA settings
2023-03-05 18:30:46 +01:00
Karina Kwiatek 1dbcb3dd6f Appease the dog overlords 2023-03-05 15:58:18 +01:00
Karina Kwiatek 1cec1d0423 Fix print styling for 2FA recovery codes page 2023-03-05 15:51:50 +01:00
Karina Kwiatek 7ea647b2ff Return turbo stream when resetting 2FA recovery codes 2023-03-05 15:24:17 +01:00
Karina Kwiatek 36c52db8b9 Fix lint errors 2023-03-05 14:06:16 +01:00
Karina Kwiatek f1809c4dd3 Disable fog in tests 2023-03-05 13:53:27 +01:00
Georg Gadinger e59c151d83
Merge pull request #1097 from Retrospring/add-telegram-sharing
add sharing to telegram
2023-03-01 16:21:33 +01:00
dependabot[bot] 64472a19ea
Merge pull request #1118 from Retrospring/dependabot/bundler/rubocop-1.47.0 2023-03-01 15:21:17 +00:00
Georg Gadinger c3eb0d306d
Merge pull request #1119 from Retrospring/revert-1114-dependabot/bundler/devise-i18n-1.11.0
Revert "Bump devise-i18n from 1.10.3 to 1.11.0"
2023-03-01 16:20:17 +01:00
Georg Gadinger 0360ce5572
Revert "Bump devise-i18n from 1.10.3 to 1.11.0" 2023-03-01 16:19:44 +01:00
dependabot[bot] 0430b748b2
Merge pull request #1114 from Retrospring/dependabot/bundler/devise-i18n-1.11.0 2023-03-01 15:19:12 +00:00
dependabot[bot] 55b1b17b7b
Merge pull request #1116 from Retrospring/dependabot/bundler/pghero-3.2.0 2023-03-01 15:17:46 +00:00
dependabot[bot] aba260d728
Bump rubocop from 1.45.1 to 1.47.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.45.1 to 1.47.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.45.1...v1.47.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-03-01 15:17:27 +00:00
dependabot[bot] 8d1c93ae1f
Merge pull request #1113 from Retrospring/dependabot/bundler/rubocop-rails-2.18.0 2023-03-01 15:16:37 +00:00
dependabot[bot] 2f7d6c6835
Bump pghero from 3.1.0 to 3.2.0
Bumps [pghero](https://github.com/ankane/pghero) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/ankane/pghero/releases)
- [Changelog](https://github.com/ankane/pghero/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/pghero/compare/v3.1.0...v3.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 19:55:11 +00:00
dependabot[bot] b048f87fb5
Merge pull request #1115 from Retrospring/dependabot/bundler/pg-1.4.6 2023-02-28 19:54:25 +00:00
dependabot[bot] d5e62c8a4c
Merge pull request #1111 from Retrospring/dependabot/npm_and_yarn/esbuild-0.17.10 2023-02-27 09:44:11 +00:00
dependabot[bot] 63bd30987b
Bump pg from 1.4.5 to 1.4.6
Bumps [pg](https://github.com/ged/ruby-pg) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.4.5...v1.4.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 09:17:28 +00:00
dependabot[bot] 8ba8cc8e0f
Bump devise-i18n from 1.10.3 to 1.11.0
Bumps [devise-i18n](https://github.com/tigrish/devise-i18n) from 1.10.3 to 1.11.0.
- [Release notes](https://github.com/tigrish/devise-i18n/releases)
- [Changelog](https://github.com/tigrish/devise-i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tigrish/devise-i18n/compare/v1.10.3...v1.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 09:17:17 +00:00
dependabot[bot] 8fb6989ee7
Bump rubocop-rails from 2.17.4 to 2.18.0
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.17.4 to 2.18.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.17.4...v2.18.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-02-27 09:15:56 +00:00
dependabot[bot] 322032ef99
Bump esbuild from 0.17.9 to 0.17.10
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.9 to 0.17.10.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.9...v0.17.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 09:15:01 +00:00
Karina Kwiatek a33f7b23a2
Merge pull request #1107 from Retrospring/fix/pwa-installability
Fix PWA installability
2023-02-26 23:48:05 +01:00
Karina Kwiatek 8cbfd273bc Refactor counters to use `counter_cache` 2023-02-24 23:31:38 +01:00
Karina Kwiatek a316fcf8c0 Fix empty WebP icons 2023-02-23 16:54:28 +01:00
Karina Kwiatek cdcff88649 Always register PWA
This is required for installability.
2023-02-23 16:54:25 +01:00
Karina Kwiatek 6ada9ae0cf Only lint changed files 2023-02-22 21:17:35 +01:00
dependabot[bot] aaee1bc324
Merge pull request #1103 from Retrospring/dependabot/npm_and_yarn/melloware/coloris-0.18.0 2023-02-20 10:42:14 +00:00
dependabot[bot] d3d73b1144
Merge pull request #1100 from Retrospring/dependabot/bundler/dry-types-1.7.1 2023-02-20 10:39:55 +00:00