-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Added ability to notify and update url service about changes in related resources #10336
Merged
naz
merged 18 commits into
TryGhost:master
from
naz:url-service-related-resource-updates
Jan 8, 2019
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
0e4d6c8
Added ability to notify and update url service about changes in relat…
naz f20cff4
Separated detach/attach events for tags
naz c3d7985
Added handling for authors detachment/attacment and handling during p…
naz ddf455c
Added support of URL resource refetching during post's published stat…
naz 18ac3f3
Added an explanation why `detached` handler is nested within `detaching`
naz a1ede86
Changed attach/detach handler registration to only be triggered once
naz e5a4976
Gotten rid of resource filtering logic in _onResourceAdded event
naz 080c332
Fixed unit tests
naz 5b83d74
Adjusted post model tests
naz 5861c28
Added note and test cases showing `withRelatedFields` configuration i…
naz 8b9f517
Fixed sitemap functional test suite
naz d258fd5
Added additional timeout for paged tests as they started running out …
naz bce16b3
Increased timeouts even more
naz d23b03b
Decreased amount of inserted tags to the minimum that is neeeded for …
naz ef83bb7
Increased test timetout
naz 5a90b85
Disabled integration test for UrlService
naz 78bb42a
Skiped paged tests to check CI passing
naz d0af733
Removed part of URL service integration suite due to flakyness of tests
naz 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
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.
withRelatedFields
doesn't contain these fields, will look into the code itself to confirm why they are being returned hereThere 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.
After a little investigation, looks like there is a bug in the current implementation of
raw_knex.fetchAll
in the base model where these fields are not properly filtered on related tables. @kirrg001 I propose fixing this in a separate issue to be able to merge these changes sooner?