-
Notifications
You must be signed in to change notification settings - Fork 918
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wagtail/Smartling robustness improvements (#15699)
* Fix docs to provide better example of how to download CMS media * Upgrade to 0.2.0 release of our fork of wagtaildraftsharing * Update our visual context callback to be more robust. Ensure the visual context sent to Smartling is always with a fresh sharing link with no expiry By default, these now last 28 days, which might be enough, but we don't want to take the risk, given how fiddly the cleanup is of an expired link causing initial sync to fail * Ensure our wrapper for the sync_smartling management command logs to Sentry It already has SENTRY_DSN available to it * Add more Sentry logging to our visual context callback And also make it more robust - preferring to get strings to Smartling without a visual context, rather than fail altogether * Add comment about settings name to avoid wasted checking time * Upgrade to wagtail-localize-smartling 0.8 with async batch upload This will get us around the File Locked issue we saw in prod * Expand test coverage
- Loading branch information
1 parent
88129ee
commit 99c0ca2
Showing
9 changed files
with
121 additions
and
36 deletions.
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
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
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
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
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
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
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
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
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