Commit Graph

4481 Commits

Author SHA1 Message Date
Karina Kwiatek 3e2b65d7b8 Move fetching of services to controller to avoid n+1 queries 2023-01-28 21:42:55 +01:00
Karina Kwiatek ab1b034cfb Add type hints for paginators 2023-01-28 21:18:01 +01:00
Karina Kwiatek 32ba17ac72 Eager load profiles in paginators 2023-01-28 21:18:00 +01:00
Andreas Nedbal 6c25594b88 Get the username of the currently searched author correctly 2023-01-28 19:18:02 +01:00
Andreas Nedbal 8dd49d3a8c Remove author search handler 2023-01-28 19:17:04 +01:00
Karina Kwiatek ff866f88ef Appease the dog overlords 2023-01-28 19:09:03 +01:00
Karina Kwiatek e9c397a013 Replace `@title` and `@type` ivars 2023-01-28 19:08:28 +01:00
Karina Kwiatek 6e3bc40c57 Move marking follow notifications as read to an after action 2023-01-28 18:48:14 +01:00
Georg Gadinger 4dcc5dea55
Merge pull request #1010 from Retrospring/fix/friends-redir
Remove page parameter from `user/friends` redirects
2023-01-28 12:11:53 +01:00
Karina Kwiatek 1c74061c1b
Merge pull request #1004 from Retrospring/cache-headers-on-manifest
Cache headers for web app manifest based on user theme
2023-01-28 11:13:08 +01:00
Karina Kwiatek d45c6af853 Remove page parameter from `user/friends` redirects 2023-01-28 11:08:16 +01:00
dependabot[bot] f6392b8ca6
Bump sanitize from 6.0.0 to 6.0.1
Bumps [sanitize](https://github.com/rgrove/sanitize) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/rgrove/sanitize/releases)
- [Changelog](https://github.com/rgrove/sanitize/blob/main/HISTORY.md)
- [Commits](https://github.com/rgrove/sanitize/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: sanitize
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-28 01:21:40 +00:00
Karina Kwiatek 999f599029
Merge pull request #1005 from Retrospring/skip-announcements-in-ajax 2023-01-27 23:53:20 +01:00
Karina Kwiatek 4e27af268b
Merge pull request #1002 from Retrospring/refactor/use-more-hooks
inbox: update inbox entries in controller
2023-01-27 23:22:58 +01:00
Karina Kwiatek a34a30349e Use `skip_before_action` instead of redefining action in `AjaxController` 2023-01-27 23:16:41 +01:00
Karina Kwiatek b8b86b069d Cache headers for web app manifest based on user theme 2023-01-27 23:09:09 +01:00
Georg Gadinger 3e3501d201 inbox: update inbox entries in controller 2023-01-27 20:36:22 +01:00
Karina Kwiatek 420627f3ad Bump version to 2023.0127.0 2023-01-27 17:28:13 +01:00
Karina Kwiatek 70207cc608
Merge pull request #1000 from Retrospring/re-add-cleanup-rake-task
re-add removed remove_stale rake task
2023-01-27 17:23:56 +01:00
Karina Kwiatek 2ecfe38e5e
Merge pull request #984 from Retrospring/feature/stimulus-cropper
Refactor image cropping into Stimulus controller
2023-01-27 17:22:58 +01:00
Georg Gadinger 9a5ce13cfd re-add removed remove_stale rake task 2023-01-27 16:16:34 +01:00
Karina Kwiatek 807a37767d
Merge pull request #998 from Retrospring/only-pass-cache-requests-through-sw-fetch
Only pass cached requests through service worker
2023-01-26 16:33:58 +01:00
Karina Kwiatek adaa4a4314 Only pass cached requests through service worker 2023-01-26 16:26:49 +01:00
Georg Gadinger 93a0371476
Merge pull request #994 from Retrospring/improve-notifications-update-query
notifications: only update all new notifications
2023-01-26 08:52:28 +01:00
Georg Gadinger 8cd0d481c8 bruh 2023-01-24 15:57:34 +01:00
Georg Gadinger 58705fffba mark notifications as "read" in the controller and when you see them
this makes it behave a bit more like the inbox
2023-01-24 15:54:41 +01:00
Andreas Nedbal a0a7f4e124 Add raised-text and raised-accent-text theme variables 2023-01-23 23:36:38 +01:00
Georg Gadinger b99e1b03de notifications: only update all new notifications 2023-01-23 12:25:48 +01:00
dependabot[bot] 353f6f8940
Merge pull request #993 from Retrospring/dependabot/npm_and_yarn/esbuild-0.17.4 2023-01-23 09:30:10 +00:00
dependabot[bot] 1fbf16db83
Bump esbuild from 0.17.0 to 0.17.4
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.0 to 0.17.4.
- [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.0...v0.17.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 09:25:52 +00:00
dependabot[bot] b346edb8fa
Merge pull request #992 from Retrospring/dependabot/npm_and_yarn/melloware/coloris-0.17.1 2023-01-23 09:20:55 +00:00
dependabot[bot] e24a77f1e0
Merge pull request #990 from Retrospring/dependabot/npm_and_yarn/eslint-plugin-import-2.27.5 2023-01-23 09:20:23 +00:00
dependabot[bot] 5633365481
Merge pull request #989 from Retrospring/dependabot/npm_and_yarn/fontsource/lexend-4.5.15 2023-01-23 09:19:33 +00:00
dependabot[bot] 8d3803b8c3
Merge pull request #987 from Retrospring/dependabot/bundler/rspec-mocks-3.12.3 2023-01-23 09:10:09 +00:00
dependabot[bot] 2f07c3e80d
Merge pull request #988 from Retrospring/dependabot/bundler/rails-6.1.7.1 2023-01-23 09:07:46 +00:00
dependabot[bot] 80d6dec2de
Bump @melloware/coloris from 0.17.0 to 0.17.1
Bumps [@melloware/coloris](https://github.com/melloware/coloris-npm) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/melloware/coloris-npm/releases)
- [Commits](https://github.com/melloware/coloris-npm/compare/0.17.0...0.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 09:02:40 +00:00
dependabot[bot] f2076b1b27
Bump eslint-plugin-import from 2.27.4 to 2.27.5
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.27.4 to 2.27.5.
- [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.27.4...v2.27.5)

---
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-01-23 09:02:29 +00:00
dependabot[bot] df16cf517a
Bump @fontsource/lexend from 4.5.14 to 4.5.15
Bumps [@fontsource/lexend](https://github.com/fontsource/fontsource/tree/HEAD/fonts/google/lexend) from 4.5.14 to 4.5.15.
- [Release notes](https://github.com/fontsource/fontsource/releases)
- [Changelog](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fontsource/fontsource/commits/HEAD/fonts/google/lexend)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 09:02:16 +00:00
dependabot[bot] 9c3ec3d156
Bump rails from 6.1.7 to 6.1.7.1
Bumps [rails](https://github.com/rails/rails) from 6.1.7 to 6.1.7.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.7...v6.1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 09:02:15 +00:00
dependabot[bot] 1d7cc1ca0e
Bump rspec-mocks from 3.12.2 to 3.12.3
Bumps [rspec-mocks](https://github.com/rspec/rspec-mocks) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/rspec/rspec-mocks/releases)
- [Changelog](https://github.com/rspec/rspec-mocks/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-mocks/compare/v3.12.2...v3.12.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 09:01:43 +00:00
Karina Kwiatek bd142b89e5 Bump version to 2023.0123.0 2023-01-23 09:38:26 +01:00
Karina Kwiatek 1a2048ea8a
Merge pull request #985 from Retrospring/my-neighbour-mastodon
add link to Mastodon on error pages
2023-01-23 09:37:54 +01:00
Karina Kwiatek 813999f215
Merge pull request #986 from Retrospring/fix/unprivileged-comment-actions
Fix unprivileged comment actions being visible
2023-01-23 09:37:14 +01:00
Karina Kwiatek 6b771887ab Fix unprivileged comment actions being visible
- Fixes an error when viewing answers containing comments while not logged in
- Hides the report option while not logged in
2023-01-23 09:04:55 +01:00
Georg Gadinger 5c1d8d5673 add link to Mastodon on error pages 2023-01-22 21:29:07 +01:00
Andreas Nedbal fe156a38d3 Appease the dog overlords 2023-01-22 17:58:23 +01:00
Andreas Nedbal f0df18ce87 Remove unused IDs on profile crop elements 2023-01-22 17:48:53 +01:00
Andreas Nedbal 6a361e69db Wire up cropper controller in profile settings 2023-01-22 17:44:08 +01:00
Andreas Nedbal 96ed2c864c Add Stimulus cropper controller 2023-01-22 17:43:40 +01:00
Andreas Nedbal 3b1f9bf4cb Remove legacy cropping feature 2023-01-22 17:43:20 +01:00