181 Commits

Author SHA1 Message Date
Jon
217f159c5c ci: amend to last commit
MR !4
2022-01-29 08:43:27 +09:30
Jon
88af5fedab ci(integration_test): disable job until developed
MR !4
2022-01-29 08:43:27 +09:30
Jon
ec46764d72 ci(unit_test): copy report to right location
MR !4
2022-01-29 08:43:27 +09:30
Jon
c6f44892e7 ci(pytest): fix to collect junit report
MR !4
2022-01-29 08:43:27 +09:30
fee71df75e test: named test to refelect its function.
MR !4
2022-01-29 08:43:27 +09:30
006a36ac0c feat(sitemap): git_revision_date for page change
Now the last mode data is set by the 'git_revision_date_localized' plugin.
adjusted the change freq to be weekly

MR !4
2022-01-29 08:43:27 +09:30
b4fdcb6183 fix(vscode): use correct params for tests
MR !4
2022-01-29 08:43:27 +09:30
247f85c319 feat(vscode): added pytest settings
MR !4
2022-01-29 08:43:27 +09:30
40a92b975f feat(vscode): added build task
MR !4
2022-01-29 08:43:27 +09:30
3fb954faac build(requirements): added wheel for module build
required for the custom plugin module

MR !4
2022-01-29 08:43:27 +09:30
a73362abe7 ci: command only required for unit test
MR !4
2022-01-29 08:43:27 +09:30
c3f1ccc8dd ci: ensure placeholder test runs and passes
MR !4
2022-01-29 08:43:27 +09:30
8b041133dc ci(static_pages): dont run build if MD lint fails
The Static pages job requires valid markdown for it to function
correctly.  Do not start the job if linting fails.

MR !4
2022-01-29 08:43:27 +09:30
13b829d0b5 ci(tests): rijigged the job order
pages to deploy to gitlab pages so it can be used in tests.

added a pytest template for all tests that will use pytest.

added a placeholder job for integration testing.

MR !4
2022-01-29 08:43:27 +09:30
c50e9a0a6e ci(stages): deploy job to occur after build
Moved so that gitlab pages deployment could be used in the tests.

MR !4
2022-01-29 08:43:27 +09:30
15cf04ff32 test(ssl_hyperlinks_only): Test added
Added a test to ensure that all hyperlinks are to 'https' sites only.

MR !4
2022-01-29 08:43:27 +09:30
c4dd5b4a24 ci(unit_test): include requests in test pipfile
this module is required for test 'test_hyperlink_alive_check'

MR !4 fixes #7
2022-01-29 08:43:27 +09:30
f811a7acef ci(unit_test): capture stdout in JUnit Report
for debugging purposes, the test data for each test will output the
parameters to stdout for inclusion in the JUnit report

MR !4
2022-01-29 08:43:27 +09:30
3dcca53b09 test(dead_link_check): test for dead hyperlinks
This test fetches all hyperlinks and ensures they are valid and alive.

MR !4
2022-01-29 08:43:27 +09:30
3a2968b56a test(privacy): print the test data to stdout
This will enable visibility within the test report.

MR !4
2022-01-29 08:43:27 +09:30
cfe5de7ed7 test(privacy): clear the class data
MR !4
2022-01-29 08:43:27 +09:30
e1d3a33418 test(unit_test_data): web driver to be class obj
Set back to be a class object so that if an exception occurs  the object
can still be removed and cleared.

MR !4
2022-01-29 08:43:27 +09:30
f77363beea test(unit_test_data): include the url in url dict
MR !4
2022-01-29 08:43:27 +09:30
e094f84b15 test(unit_test_data): chrome driver should not be a class object.
removed the chrome driver from bing a class object as it'st only
required for collecting the data.

MR !4
2022-01-29 08:43:27 +09:30
7c9c3fcbf0 test(data): add fetching of all hyperlinks
This logic fetches all of the hyperlinks on every page and presents it
as a dictionary for testing.

MR !4
2022-01-29 08:43:27 +09:30
45cb623758 test(data): created a function to parse url to dict
This function creates a dict of the components of a url.

MR !4
2022-01-29 08:43:27 +09:30
Jon
8292b0a6cf feat(minify): disable minifying website until site ready to deploy
may need to move the minify to a task in the pages deploy job. this would allow the tests to show line numbers.

MR !2
2022-01-29 08:43:27 +09:30
Jon
17f97f85bf chore(typo): fix minify plugin.
MR !2
2022-01-29 08:43:27 +09:30
Jon
f73011d29d refactor(mkdocs.yml): fix tabbing of plugin
MR !2
2022-01-29 08:43:27 +09:30
Jon
e4999a4462 feat(minify): minify the mkdocs static html build files
MR !2
2022-01-29 08:43:27 +09:30
Jon
0e65f0465b feat(mkdocs): minify plugin added to pipfile for usage with build
MR !2
2022-01-29 08:43:27 +09:30
94ced08565 refactor(privacy_test): rename test 'test_page_external_requests' -> 'test_page_load_external_requests'
MR !2
2022-01-29 08:43:27 +09:30
65726fda02 ci(unit_test): ensure only unit test jobs run for the 'unit test' job.
previous was to run all tests. no filtered to 'test/unit'

MR !2
2022-01-29 08:43:27 +09:30
0c7c36d7e1 feat(emoji): removed emoji support until a solution can be found to self-host.
the emoji index collects from an external provider.

This feature will be disabled until a solution is provided to self-host.

MR !2
2022-01-29 08:43:27 +09:30
7e99d55bda ci(pytest): Added pytest job to run tests against build.
This CI job runs all tests in the tests/ directory.

MR !2
2022-01-29 08:43:27 +09:30
0d51c8d10b test(privacy): Created a test to check external requests during page load
This test checks if the external request is within the apporved list.
This test will prevent the adding of external urls within the page load.

MR !2
2022-01-29 08:43:27 +09:30
d67a264ef0 refactor(syntax): updated tags and added title metadata
MR !2
2022-01-29 08:43:27 +09:30
452fbe1225 feat(blog_post): change location of updated date to be in the social metadata.
Requires the git_revision_date_localized plugin for it to function.

MR !2
2022-01-29 08:43:27 +09:30
a9237c5950 fix(blog_metadata): set the date to be in a format that is normal
MR !2
2022-01-29 08:43:27 +09:30
98d0acf0ac refactor(choose_internet_service): removed extra tags and moved archive notice to bottom of page
MR !2
2022-01-29 08:43:27 +09:30
85c5d475bb build(pages): Updated the path for the mkdocs gitlab-ci job
MR !2
2022-01-29 08:43:27 +09:30
78c8db9466 build(gitlab-ci): upated to v0.6.1rc0 due to bug in mkdocs not working
Previous HEAD position was 46cc1fb build(version): bump version 0.5.0 → 0.6.0
HEAD is now at ce1cc01 build(version): bump version 0.6.0 → 0.6.1rc0

MR !2
2022-01-29 08:43:27 +09:30
34ff1e34df ci(gitlab-ci): use gitlab-ci markdown linting job
MR !2
2022-01-29 08:43:27 +09:30
b79196335d ci(mkdocs): use gitlab-ci mkdocs job
MR !2
2022-01-29 08:43:27 +09:30
95f20fee73 ci(gitlab-ci): updated to v0.6.0
Previous HEAD position was 1ef6c41 build(version): bump version 0.4.0 → 0.5.0
HEAD is now at 46cc1fb build(version): bump version 0.5.0 → 0.6.0

MR !2
2022-01-29 08:43:27 +09:30
0e09b249dc feat(gitlab): added a default issue templete for reporting issues with the website.
MR !2 task from #5
2022-01-29 08:43:27 +09:30
5d75c663a1 feat(blog_list): change articles page to be a preview list of articles.
MR !2
2022-01-29 08:43:27 +09:30
Jon
61f3331db0 feat(blog_post): include git revision date plugin
MR !1
2022-01-29 08:43:27 +09:30
9b6b3eb291 build: use the blogging capabilities added
MR !1 #3
2022-01-29 08:43:27 +09:30
9d9f9c73c8 feat(blog): added blog capability to posts
Github source:
  url:      https://github.com/4kelly/material-mkdocs-blog
  commit:   a34df0d7c70fd9b327de4b3b8f0ffcd213aa6afa
  branches: (HEAD -> main, origin/main, origin/HEAD)

issue #3 MR !1
2022-01-29 08:43:27 +09:30