This repository has been archived by the owner on May 22, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature 9/add TW to md2html conversion module (#178)
* Refactoring of linter and conveter * Feautre - Isuse #737 - Merge request_job and start_job into client_webhook * Fixes for test_client_webhook * Updates test_manager * Removed functions no longer used * Adds back in markdown_linter * Fixes for client_linter_callback * Reverted callbacks and standardized the payloads * Fix to tests * Adds manifests_id to jobs table * Fix to convert handler * Moved callback urls into init * Adds info to job object * FIrst pass adding TW support for preporcessor and converter * Uses main job for first multipart * Check if job exists in linter callback * Checks if build log exists * TwPreprocessor - worked on organizing into key.md and other.md files * TwPreprocessor - worked on fixing links to TW items * TwPreprocessor - worked on fixing links to TN items updated with more recent en_tw.zip * updated with more recent en_tw.zip * TestMd2HtmlConverter - tweaking test_tw * TestPreprocessor - tweaking test_preprocessor_for_tw * TwPreprocessor - added index for words * TwPreprocessor - added repo_name for help link mapping TestTwPreprocessor - fixed test_fix_links() tests * TwLinter - added checking of unconverted links TestTwLinter - added tests for unconverted links warnings * TwLinter & TestTwLinter - improving code coverage * TestTwPreprocessor - improving code coverage * TwPreprocessor & TestTwPreprocessor - improving code coverage * fix timezone problem * in job table changed owner_name to user_name so that we can use test pipeline. * Fixes time zones * Fixed convert handler vars * in job table reverted back user_name to owner_name * in job table reverted back user_name to owner_name * ClientLinterCallback - fixes to prevent null mergers. Fix for unit test and job db. * TestClientLinterCallback - added tests for many edge cases. * ClientWebhook - fix to use the right job for multi-part. Usfm2HtmlConverter - add logging. * ClientWebhook - fixes for job fields in multi-part. * Converter - tweak to upload file to cdn immediately. * Fix for travis. * ClientConverterCallback - switch to downloading from cdn to get around permissions issue. Fix for travis. * ClientConverterCallback - switch to downloading from cdn to get around permissions issue. * ClientConverterCallback - reverted downloading from cdn to get around permissions issue. * ClientWebhook - fix identifier for multi-job. * ClientWebhook - fix linter for single job. * ClientLinterCallback - fix setting job end time. * ClientLinterCallback - fix setting job end time. * ClientLinterCallback - fix setting job end time. * tweaked db closing. * Fixes for deploy. * Fixes for deploy. * Removed upload delays. * ProjectDeployer - changed to not move new file names. * ProjectDeployer - changed to not move new file names. * Fixing unit tests * Fixing unit tests * Fixing unit tests * Fixing unit tests * Fixing unit tests * Preprocessor - add logging * Fix registration of tw linter ClientLinterCallback - limit warnings list * debug logging * debug logging * cleanup * ClientConverterCallback - setting final job conversion state * ClientConverterCallback - setting final job conversion state * tweak * TestClientLinterCallback - added validation that build log contains final status and success * TestClientLinterCallback - added validation that build log contains final status and success * TestClientLinterCallback - removed code no longer used. * TestClientLinterCallback - removed code no longer used. * TestClientLinterCallback - revert removed code no longer used. * Preprocessor - sorted files and tweaked formatting in index. * TwPreprocessor - creates index.json. * ProjectDeployerTests - add test for TW. * TwTemplater - added templater for TW. ProjectDeployerTests - added test for deploying TW project * renamed TW index.html & index.md to 0toc.html & index.html * ClientWebhook - switch to lint original files * changed converter output to got to convert_log.json so it doesn't kick off deployer before linter is finished. * Updated unit tests. * TwLinter & TestTwLinter - Added checking of relative links. * TestTwPreprocessor - fix unit test. * ClientLinterCallback - fixed logic for multiple. * ClientLinterCallback - fixed logic for multiple. * tweak logging. * working * ClientLinterCallback - fix for linter to do deploy of single part of multipart * ClientLinterCallback - fix for linter to do deploy of single part of multipart * ClientLinterCallback - fix for linter to do deploy of single part of multipart * TwLinter - getting url for file with error * TwLinter - getting link for file containing error * Linter - logging fix * TestPreprocessor - fixed tw unit test * documentation * cleanup * testing * Md2HtmlConverter - switch tw to use markdown instead of markdown2 class. * TestConversions - added test case for tw. * TestConversions - added test case for tw. * TwPreprocessor & TestTwPreprocessor - removed passing repo name * TestTwPreprocessor - cleanup * cleanup
- Loading branch information