forked from nytimes/library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove redirect from cache logic (nytimes#91) * Fix README language * remove cache url redirect * update tests * remove instead of commenting out * update to remove redirectUrl * First pass: move byline processing to formatter * Move byline tests to htmlProcessing, stub formatter for tests * First pass: cache only document body, authors, sections * Switch to docId for cache key * Remove unnecessary move logic, may scrap all of move * Remove much of purge logic, quiet reading history errors * Remove time logic from cache purge * some test reworking * rework cache tests to run through new cache handling * Playlist fixes * Remove file move button, add notes * Fix html processing tests * Remove unnecessary elseif stmt, quieter logs * Rewrite redirect logic, remove file moving (nytimes#93) * Add redirect logic * Remove move-file, test/lint fixes * Unit test cache redirect * New redirect middleware, serve at end of middleware chain * Add check to not set redirects on new file additions Co-authored-by: Shawn Gao <[email protected]> Co-authored-by: Isaac White <[email protected]>
- Loading branch information
1 parent
a4f9e42
commit 668f734
Showing
23 changed files
with
311 additions
and
699 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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.