Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade @tanstack/query to v5 #33898

Merged
merged 34 commits into from
Jan 2, 2025
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
de80ffb
bump: tanstack query
hugocostadev Nov 6, 2024
b0b8ca9
fixing v4 to v5 errors
hugocostadev Nov 11, 2024
242cf12
chore: patching react-query v5 to work with react 17
hugocostadev Nov 19, 2024
09ae60b
fix: react-query v5 breaking changes
hugocostadev Nov 19, 2024
6a70682
fix: null check
hugocostadev Nov 19, 2024
741275b
Merge remote-tracking branch 'origin/develop' into chore/tanstack-bump
hugocostadev Nov 19, 2024
40c5c9d
fix: lint
hugocostadev Nov 19, 2024
03e49fa
lint
hugocostadev Nov 21, 2024
d62b8ba
Merge remote-tracking branch 'origin/develop' into chore/tanstack-bump
hugocostadev Nov 21, 2024
b3fff98
lint
hugocostadev Nov 21, 2024
57228a3
fix: avatar cache time
hugocostadev Nov 21, 2024
6965ed1
fix: invite token redirect
hugocostadev Nov 21, 2024
7c239a9
fix: invite route navigation
hugocostadev Nov 27, 2024
5be3196
Merge remote-tracking branch 'origin/develop' into chore/tanstack-bump
hugocostadev Nov 27, 2024
8750e6d
fix: lint
hugocostadev Nov 27, 2024
dd4f52e
Merge branch 'develop' into chore/tanstack-bump
hugocostadev Nov 27, 2024
b10dad0
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into chor…
tassoevan Dec 27, 2024
62493dc
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into chor…
tassoevan Dec 30, 2024
7214825
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into chor…
tassoevan Dec 31, 2024
e4e3aa7
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into chor…
tassoevan Dec 31, 2024
f01fda3
Fix hook
tassoevan Dec 28, 2024
0a12ee1
Revert invite handling
tassoevan Dec 30, 2024
41ba1d4
Prefer `isLoading` over `isPending`
tassoevan Dec 30, 2024
006c13d
Revert server-side change
tassoevan Dec 31, 2024
b67a9e3
Handle previous data on `useSearchItems`
tassoevan Dec 31, 2024
bf52cc6
Remove debugging logs
tassoevan Dec 31, 2024
9cceb83
Remove excessive spacing
tassoevan Dec 31, 2024
e1e8154
Revert spacing
tassoevan Dec 31, 2024
4870e57
Revert weird lint issues
tassoevan Dec 31, 2024
7e0fb34
Move effect
tassoevan Dec 31, 2024
7f03d39
Use `useQueryClient` instead of the global singleton
tassoevan Dec 31, 2024
270839f
Handle previous data on `SearchList`
tassoevan Dec 31, 2024
3893c33
Revert lint
tassoevan Dec 31, 2024
6d0dd97
Fix `ShareLocationModal`
tassoevan Dec 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: avatar cache time
  • Loading branch information
hugocostadev committed Nov 21, 2024
commit 57228a3f25e926c9426c5d7358336e3df6e4739e
2 changes: 1 addition & 1 deletion apps/meteor/server/routes/avatar/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const renderSVGLetters = (username: string, viewSize = 200) => {
const getCacheTime = (cacheTime: number) => cacheTime || settings.get('Accounts_AvatarCacheTime');

export function setCacheAndDispositionHeaders(req: IIncomingMessage, res: ServerResponse) {
const cacheTime = getCacheTime(req.query.cacheTime);
const cacheTime = getCacheTime(req.query.gcTime);
res.setHeader('Cache-Control', `public, max-age=${cacheTime}`);
res.setHeader('Content-Disposition', 'inline');
}