Commit Graph

5187 Commits

Author SHA1 Message Date
Karina Kwiatek b8b4e69963
Merge pull request #1220 from Retrospring/fix/remove-pwa-badge-when-no-unread-in-inbox
Remove PWA badge when no unread in inbox
2023-05-30 22:37:29 +02:00
Karina Kwiatek ab81fc0c1b Use `present?` for badge check 2023-05-30 22:29:31 +02:00
Karina Kwiatek 5fc481f797 Set fallback for PWA badge count to 0 (removes badge) 2023-05-30 22:04:39 +02:00
Karina Kwiatek 1826da1e0a Allow navigation items to have their badge persist if they have a Stimulus controller
This fixes a bug which caused the PWA app badge to persist even though the user's inbox was empty.
2023-05-30 21:58:02 +02:00
dependabot[bot] dce0c3a7cd
Merge pull request #1218 from Retrospring/dependabot/github_actions/tj-actions/changed-files-36 2023-05-29 10:46:10 +00:00
dependabot[bot] f7b45fa777
Merge pull request #1219 from Retrospring/dependabot/npm_and_yarn/popperjs/core-2.11.8 2023-05-29 10:45:45 +00:00
dependabot[bot] 30f05c793e
Bump @popperjs/core from 2.11.7 to 2.11.8
Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.11.7 to 2.11.8.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 09:58:57 +00:00
dependabot[bot] 588ee9927a
Bump tj-actions/changed-files from 35 to 36
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 35 to 36.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v35...v36)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 09:58:48 +00:00
Karina Kwiatek 7bb8a343dc
Merge pull request #1216 from Retrospring/fix/missing-notification-created-at
Fix missing creation times on commented notifications
2023-05-26 20:52:59 +02:00
Karina Kwiatek 84d4ac3dc6 Backfill missing created_at on comment notifications 2023-05-26 20:39:53 +02:00
Karina Kwiatek f1863e5309 Fix notification created_at not being set for comment notifications 2023-05-26 20:39:19 +02:00
dependabot[bot] d2dfe5239a
Merge pull request #1214 from Retrospring/dependabot/bundler/fog-aws-3.19.0 2023-05-22 10:27:05 +00:00
dependabot[bot] 2a328c0192
Merge pull request #1212 from Retrospring/dependabot/bundler/connection_pool-2.4.1 2023-05-22 10:26:02 +00:00
dependabot[bot] 5e6db629f3
Merge pull request #1213 from Retrospring/dependabot/bundler/rqrcode-2.2.0 2023-05-22 10:25:41 +00:00
dependabot[bot] 23295a0c50
Bump fog-aws from 3.18.0 to 3.19.0
Bumps [fog-aws](https://github.com/fog/fog-aws) from 3.18.0 to 3.19.0.
- [Changelog](https://github.com/fog/fog-aws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fog/fog-aws/compare/v3.18.0...v3.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 09:57:52 +00:00
dependabot[bot] d7a8823496
Bump rqrcode from 2.1.2 to 2.2.0
Bumps [rqrcode](https://github.com/whomwah/rqrcode) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/whomwah/rqrcode/releases)
- [Changelog](https://github.com/whomwah/rqrcode/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whomwah/rqrcode/compare/v2.1.2...v2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 09:57:28 +00:00
dependabot[bot] 816733b5f4
Bump connection_pool from 2.4.0 to 2.4.1
Bumps [connection_pool](https://github.com/mperham/connection_pool) from 2.4.0 to 2.4.1.
- [Changelog](https://github.com/mperham/connection_pool/blob/main/Changes.md)
- [Commits](https://github.com/mperham/connection_pool/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 09:57:00 +00:00
Andreas Nedbal 785ef72c34 use non-fork version of stylelint-action 2023-05-18 18:02:02 +02:00
dependabot[bot] a1856dbfe6
Merge pull request #1208 from Retrospring/dependabot/npm_and_yarn/esbuild-0.17.19 2023-05-16 18:16:09 +00:00
dependabot[bot] 0335458a1c
Merge pull request #1209 from Retrospring/dependabot/bundler/rails-i18n-7.0.7 2023-05-16 18:15:30 +00:00
dependabot[bot] b50b01e68f
Merge pull request #1210 from Retrospring/dependabot/bundler/rubocop-1.51.0 2023-05-15 14:24:28 +00:00
dependabot[bot] 00473bf8b8
Bump rubocop from 1.50.2 to 1.51.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.50.2 to 1.51.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.50.2...v1.51.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-05-15 09:58:49 +00:00
dependabot[bot] 304747be5a
Bump rails-i18n from 7.0.6 to 7.0.7
Bumps [rails-i18n](https://github.com/svenfuchs/rails-i18n) from 7.0.6 to 7.0.7.
- [Changelog](https://github.com/svenfuchs/rails-i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/rails-i18n/compare/v7.0.6...v7.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:57:48 +00:00
dependabot[bot] 0f6ed87472
Bump esbuild from 0.17.18 to 0.17.19
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.18 to 0.17.19.
- [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.18...v0.17.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:57:14 +00:00
Karina Kwiatek 7e5e7295db Bump version to 2023.0509.0 2023-05-09 23:38:27 +02:00
Karina Kwiatek 743d7103fc
Merge pull request #1207 from Retrospring/fix/if-iframes-are-so-good-why-is-there-no-iframe2
Prevent links from notifications from being opened in the dropdown frame
2023-05-09 23:38:04 +02:00
Karina Kwiatek 6643a4763f Make `target` a keyword argument for `user_screen_name` helper
Co-authored-by: nilsding <nilsding@nilsding.org>
2023-05-09 23:20:36 +02:00
Karina Kwiatek 46c2412ad8 Update tests for `user_screen_name` to include `target` attribute 2023-05-09 23:08:35 +02:00
Karina Kwiatek 4bf977e96c Fix lint errors for the remaining notification types 2023-05-09 23:03:26 +02:00
Karina Kwiatek 2c72252591 Use Unicode ellipsis 2023-05-09 22:58:14 +02:00
Karina Kwiatek 0d55ff16c3 Appease the dog overlords 2023-05-09 22:57:18 +02:00
Karina Kwiatek e096ddc999 Prevent links from notifications from being opened in the dropdown frame 2023-05-09 22:51:40 +02:00
Karina Kwiatek 603a454efd
Merge pull request #1205 from Retrospring/fix/pass-subscribed-answers-on-create
Pass subscribed answer IDs on answer create
2023-05-09 09:31:20 +02:00
Karina Kwiatek 63372cdeac Pass subscribed answer IDs on answer create 2023-05-08 21:45:31 +02:00
Karina Kwiatek 43b14323f3 Bump version to 2023.0508.1 2023-05-08 20:40:37 +02:00
Karina Kwiatek 65d165aa26
Merge pull request #1204 from Retrospring/fix/exclude-pinned-answers-from-pagination
Exclude pinned answers from pagination queries
2023-05-08 20:35:24 +02:00
Karina Kwiatek a37a498fb9 Exclude pinned answers from pagination queries 2023-05-08 20:29:27 +02:00
Karina Kwiatek 33bd1ae9e4 Bump version to 2023.0508.0 2023-05-08 19:16:59 +02:00
Karina Kwiatek 333af458db
Merge pull request #1203 from Retrospring/fix/notification-bugs
Notification dropdown fixes
2023-05-08 19:16:33 +02:00
Karina Kwiatek 2db4ce38c9 Add stub notification partial for content pending deletion 2023-05-08 19:06:40 +02:00
Karina Kwiatek 4cab189750 Fix notification cache timestamp not being touched after marking all as read 2023-05-08 18:55:35 +02:00
dependabot[bot] 9e9b651189
Merge pull request #1201 from Retrospring/dependabot/bundler/rspec-rails-6.0.2 2023-05-08 10:24:18 +00:00
dependabot[bot] aca6fb8802
Bump rspec-rails from 6.0.1 to 6.0.2
Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/rspec/rspec-rails/releases)
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-rails/compare/v6.0.1...v6.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 09:57:02 +00:00
Karina Kwiatek f4a7326acf Bump version to 2023.0507.3 2023-05-07 21:04:49 +02:00
Karina Kwiatek 81b279f1b6 Floor times in tests
This passed locally for me on macOS but does not pass on Linux due to a difference in precision for timestamps.
2023-05-07 21:04:33 +02:00
Karina Kwiatek eca53de004
Merge pull request #1200 from Retrospring/fix/touch-updated-at-after-mark-as-read
Touch updated at after marking inbox/notification entries as read
2023-05-07 20:56:47 +02:00
Karina Kwiatek 355712b4b3
Merge pull request #1199 from Retrospring/fix/missing-subscribed-answers-in-views
Fix remaining missing subscribed answers in views
2023-05-07 20:56:17 +02:00
Karina Kwiatek 2aaba3e2d9 Touch `notifications_updated_at` after marking entries as read 2023-05-07 20:54:54 +02:00
Karina Kwiatek ed6bdfe8cb Touch `inbox_updated_at` after marking entries as read 2023-05-07 20:54:44 +02:00
Karina Kwiatek f15cb930ef Appease the robot dog 2023-05-07 20:35:00 +02:00