stcalica
a8011377ee
updated tests to meet intro format and accomodate new Call this API row - updated RIP links
пре 4 месеци
Matheus Felipe
c2bdd9e5fc
Fix false negative http code 404 in verification
Some links when they were being checked returned the http code 404,
but the links were working correctly.
This was happening because before the request the link was concatenated
with the / character at the end, making it a different link from the
original. If the original link didn't have a path that is
accessed by / at the end, it would return a 404 error.
This behavior made it a false negative.
пре 2 година
Matheus Felipe
4bc90a81cc
Add possibility to run duplicate link check only
Changes:
- It is now possible to only check for duplicate
links (without checking if the links are working)
- Check for duplicate links when a push occurs
- Update the scripts documentation accordingly
пре 2 година
Matheus Felipe
ff31b266ab
Add format and links in validate scope
пре 2 година
Matheus Felipe
7d9eac4920
Change sections -> columns in error message
пре 2 година
Matheus Felipe
9f0174fd96
Fix error message of max description length
пре 2 година
Matheus Felipe
e2482af448
Add temporary replacement of punctuation
пре 2 година
Matheus Felipe
71167b2716
Use punctuation constant built-in
пре 2 година
Matheus Felipe
f447f7c76e
Implement main function
пре 2 година
Matheus Felipe
1d421d8856
Add max_description_length constant
пре 2 година
Matheus Felipe
d200415479
Change min_entries_per_section -> min_entries_per_category
пре 2 година
Matheus Felipe
6bab1616ab
Remove index_link: unused variable
пре 2 година
Matheus Felipe
bff7f5e009
Reorganize constants
пре 2 година
Matheus Felipe
f1cbf0144a
Change title_links global to category_title_in_index local
пре 2 година
Matheus Felipe
57e288b5c9
Refactor check_alphabetical_order and check_file_format to exist return
пре 2 година
Matheus Felipe
d578ba7a32
Change line -> line_content
пре 2 година
Matheus Felipe
a935a05d6a
Change section -> category
пре 2 година
Matheus Felipe
de1b6f59d1
Check markdown file format
пре 2 година
Matheus Felipe
6bfe284191
Get categories content and check alphabetical order
пре 2 година
Matheus Felipe
2501df6b93
Create a error message generator
пре 2 година
Matheus Felipe
c659e65677
Set constants
пре 2 година
Matheus Felipe
1360d618cf
Create format.py file
пре 2 година
Matheus Felipe
f3146c9e24
Get content from index 0 if Index section does not exist
пре 2 година
Matheus Felipe
ae7ac00586
Mapped network problem (DNS failure, connection refused, etc)
пре 2 година
Matheus Felipe
a553dd5909
Mapped RequestException Exceptions
пре 2 година
Matheus Felipe
8c28be1497
Create start_* functions to start checkers
пре 2 година
Matheus Felipe
b62683f96e
Show one duplicate link per line
пре 2 година
Matheus Felipe
50ad807e5c
Show number of links with a possible error
пре 2 година
Matheus Felipe
8ac60e31aa
Remove whitespaces
пре 2 година
Matheus Felipe
8136aa9ed1
Implementing the cloudflare protection check
Related:
- #2409
- #2960
пре 2 година
Matheus Felipe
978147ca39
Check if a list of links are working
пре 2 година
Matheus Felipe
8650f7f979
Make sure the link contains ://
пре 2 година
Matheus Felipe
95ee79818f
Remove whitespaces
пре 2 година
Matheus Felipe
7be0512b54
Check if a link is working
пре 2 година
Matheus Felipe
d728eeddbc
Refactor duplicate link checker
пре 2 година
Matheus Felipe
2eb6d20100
Implement functions to check duplicate links
пре 2 година
Matheus Felipe
4808d633a1
Implement functions to find links in a text/file
пре 2 година
Matheus Felipe
f59cb82904
Create validate package
пре 2 година