-
Notifications
You must be signed in to change notification settings - Fork 356
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
[CORL-3172] optimized redis query for counts v2 endpoint #4660
Merged
nick-funk
merged 101 commits into
feat/CORL-3172-counts-endpoint
from
feat/CORL-3172-optimized-redis-query
Sep 10, 2024
Merged
Changes from all commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
85b71b0
create preliminary tenor search handler
nick-funk 9b5d878
Merge pull request #4623 from coralproject/develop
tessalt 4e49751
add German translations for notifications
bastiankistner 404df46
improve German translation
bastiankistner 9ef8979
Merge branch 'develop' into feat/CORL-3171-tenor
nick-funk e49007f
fix typo
lusbuab 17caa8d
update schema to use `gifs` with `provider` instead of `giphy`
nick-funk 2e6a28f
update Configure > General to support both tenor and giphy modes
nick-funk 941fad5
add `TenorMedia` to schema and resolvers
nick-funk 4c678fd
create preliminary Tenor search input
nick-funk 1fd8be9
allow tenor gifs to show in stream
nick-funk 41dc8e2
remove un-necessary context dependency from GifFetch
nick-funk 97ddf5c
rename `giphy` to `gifs` in `.../client/admin/test/fixtures`
nick-funk 796abbf
add `TenorMedia` to admin
nick-funk 336c611
update some more fixtures to be happy with `giphy` -> `gifs` rename
nick-funk 86d68ac
add title to `TenorMedia` schema type
nick-funk c05a6a8
replace tenor attribution gif with a png so linting stops whining
nick-funk c746b08
grab the ORIGIN from the count.js script src
kabeaty 249cc61
fix powered by tenor alt text translation
nick-funk d0cc5e0
Merge pull request #4638 from coralproject/bug/CORL-3177-count-script…
tessalt ce2e09b
update package to 9.0.8
tessalt 2e13a7e
Merge pull request #4639 from coralproject/release-9.0.8
tessalt 63a2985
Merge branch 'main' into develop
tessalt 575d4ee
Merge pull request #4640 from coralproject/develop
tessalt fb8c2f3
convert giphy content filter ratings to tenor filter levels
nick-funk a51fa2b
rename `giphy` to `gifs` in enabled helper func
nick-funk 69c6ccc
update validators for comment posting around tenor/giphy
nick-funk 771006c
allow tenor through minimum content length checks
nick-funk 9045f52
clean up styles of tenor gif search results
nick-funk 176d775
provide a few more tenor search results per query
nick-funk 16a3043
slightly increase size of tenor search result images
nick-funk 9444e0a
update repeat post to check for `tenor`
nick-funk 9413256
Merge branch 'develop' into feat/CORL-3171-tenor
nick-funk 6961cf9
run external mod phases before pre-moderation steps
nick-funk 372ef4d
add a `api/none` endpoint to `utilities/externalModPhase`
nick-funk 58e04a3
rename GiphyMedia to TenorMedia
nick-funk 3376719
set tenor media styles with css
nick-funk b29a766
use previews for search results grid
nick-funk b018ee6
use gif title for alt text if possible
nick-funk 351c072
remove commented out flex styles for gifs
nick-funk 8150155
fix old GiphyAttribution imports used in TenorInput
nick-funk 9748d64
rename comment on gif's field in schema
nick-funk 4a96f8d
consolidate the gif search input into a shared component
nick-funk 2fdf4a9
remove old tenant not found error comment
nick-funk 7506d63
extract tenor search url into constant
nick-funk 91e5251
update embed links description to generalize "gifs"
nick-funk 22bc850
update enableGifs text for all languages
nick-funk f09d2a6
update `show/hide giphy` to `show/hide gif` in translations
nick-funk 4641df9
handle tenor media in single comment embed
nick-funk b4e90d4
Merge pull request #4633 from coralproject/feat/CORL-3171-tenor
tessalt e33f1b7
update version to 9.1.0
tessalt 583ec80
Merge pull request #4643 from coralproject/release-9.1.0
tessalt d66eb4b
use new tenor string based content filters
nick-funk bf2e463
Merge branch 'develop' into feat/CORL-3171-tenor
nick-funk 8226af4
Merge pull request #4645 from coralproject/feat/CORL-3171-tenor
tessalt 169fa60
Merge branch 'main' into develop
tessalt 3c1257f
add pagination to tenor gif search
nick-funk fdedeae
Merge branch 'develop' into feat/CORL-3171-tenor-pagination
nick-funk 2b70dcc
make linter happy about fetch types
nick-funk 6a23540
don't show load more if no search results
nick-funk 44169d9
Merge pull request #4646 from coralproject/feat/CORL-3171-tenor-pagin…
tessalt e1bb865
use the framework url utilities to process url's
nick-funk 8377118
set the tenor debounce delay to 1250 ms
nick-funk 4ec66d0
Merge branch 'develop' into fix/CORL-3171-tenor-url-protocol
tessalt 7f7baff
Merge remote-tracking branch 'origin/fix/CORL-3171-tenor-url-protocol…
nick-funk b403ab0
Merge branch 'main' into patch-1
tessalt 5f926f7
Merge branch 'develop' into develop
tessalt d766e3d
pass the next param into the `loadMoreGifs` fetch call
nick-funk 37036c4
don't show load more if query is empty
nick-funk 339220f
Merge pull request #4634 from lusbuab/patch-1
tessalt 8b6f823
Merge pull request #4629 from bastiankistner/develop
tessalt 466fe54
Merge pull request #4647 from coralproject/fix/CORL-3171-tenor-url-pr…
tessalt ae68093
Merge branch 'main' into develop
tessalt a66c2bf
Merge pull request #4644 from coralproject/develop
tessalt 5cfdfd2
update version to 9.1.1
tessalt 6832754
Merge branch 'main' into develop
tessalt c85d27b
Merge pull request #4648 from coralproject/develop
tessalt 8e596ec
add max width to tenor image
tessalt e872270
Merge branch 'develop' into fix/tenor-image-width
tessalt fa337fd
Merge pull request #4649 from coralproject/fix/tenor-image-width
tessalt 6a6b4f6
bump version
tessalt 2e01fe2
Merge pull request #4650 from coralproject/release-9.1.2
tessalt a326807
Merge branch 'main' into develop
tessalt e0c7cfd
Merge pull request #4651 from coralproject/develop
tessalt c64ce95
stack tenor gif results tightly in a cascade grid
nick-funk 921a71b
flex center tenor gif search result images
nick-funk 426039d
set padding on grid items
nick-funk a8a00f7
Merge pull request #4653 from coralproject/feat/tenor-cascade-grid
tessalt 546358a
Merge pull request #4641 from coralproject/feat/CORL-3174-external-be…
tessalt e51a528
update package
tessalt 9e4908e
Merge pull request #4655 from coralproject/release-9.2.0
tessalt 91a49de
Merge branch 'main' into develop
tessalt 1993320
optimize mget performance on counts v2 endpoint
nick-funk 1fe0936
refactor: computeCountKey helper function
nick-funk 2c1faf4
document the counts v2 endpoint
nick-funk c45d123
add optional `mongoCount` to v2 counts endpoint
nick-funk 7c66b28
add comments to v2 counts endpoint result type
nick-funk ce25264
document returning null for not found storyID's
nick-funk c9e6ddf
Merge branch 'develop' into feat/CORL-3172-optimized-redis-query
nick-funk 100927c
Revert "Merge branch 'develop' into feat/CORL-3172-optimized-redis-qu…
nick-funk aadc77c
Merge branch 'feat/CORL-3172-counts-endpoint' into feat/CORL-3172-opt…
nick-funk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redis really likes it when you ask for everything all at once, its scheduler is great at grabbing n-many keys and returning it in a fast serialized payload!