Commit Graph

62 Commits

Author SHA1 Message Date
Peter Mosmans fc9e5f840f Remove placeholder - closes #63 2019-03-14 13:52:35 +01:00
Peter Mosmans c945c3374d Use python3 by default for docbuilder 2018-12-23 21:21:26 +01:00
John Sinteur b43b548a24 Merge pull request #47 from radicallyopensecurity/pep8-styling
Pep8 styling
2018-08-27 09:20:40 +02:00
Peter Mosmans c269ffeda5 Use two digits in filenames 2017-11-29 19:20:30 +10:00
Peter Mosmans de7b1f5104 Enforce UTF-8 encoding for XML files 2017-11-29 19:19:57 +10:00
Peter Mosmans 14ba7dec17 Validate status attribute 2017-11-10 17:21:10 +10:00
Peter Mosmans 18ba296667 Replace generic print_error function with inline versions 2017-11-10 17:08:39 +10:00
Peter Mosmans f528928406 Adjust docstrings to 'official' Google format 2017-11-10 17:08:08 +10:00
Peter Mosmans 58c1b15907 Add status attribute for new findings with value new
Several docstring changes.
2017-11-10 17:06:13 +10:00
Peter Mosmans 3144a26a0f Add status attribute for all findings
Note that this is currently not enforced for (new) findings, but highly
recommended. Especially when performing retests.
2017-11-10 16:45:54 +10:00
Peter Mosmans a8e7cc8ce1 Adjust docstrings to 'official' Google format 2017-11-10 16:32:44 +10:00
Peter Mosmans 230283aa31 Format finding codes using three digits
Minor docstring change.
2017-10-31 17:10:10 +10:00
Peter Mosmans 788795e8f4 Display unique finding code as well 2017-10-16 13:16:41 +10:00
skyanth 68e2a7348d Added styling & introduced pdf passwords 2017-08-25 10:08:24 +02:00
skyanth 45af9e3a1f pep8 styling 2017-08-25 09:59:26 +02:00
Peter Mosmans 660de99029 Clean up code somewhat
Some spelling / imperative fixes.
2017-08-20 19:37:37 -07:00
Peter Mosmans b981f99dad Ignore local file structure when querying projects 2017-08-20 19:27:20 -07:00
Peter Mosmans e6d6f082e4 Re-include helper function to capitalize sentences 2017-08-20 19:26:46 -07:00
Peter Mosmans 60ff680e3c Add content of all includes for spell checking 2017-08-20 19:08:09 -07:00
skyanth 7855364835 changed fop.conf back to fop.xconf
Sorry for the confusion… :/
2017-07-03 15:21:06 +02:00
skyanth 172bcfa810 execsummary option for report build command fixed 2017-07-03 15:16:42 +02:00
Peter Mosmans 244f970441 Filter backtick from filename, closes #37 2017-07-03 20:44:25 +10:00
Peter Mosmans 541f5b048e Change spelling back end to use pyenchant
Pyenchant is a more abstract spelling back end, and can utilize aspell, as well as
hunspell.
Use titlecase module to validate whether titles are properly title cased.

Note that this change uses two new Python libraries, which should be installed:
- pyenchant
- titlecase
2017-06-24 11:44:10 +10:00
Peter Mosmans f15a3979e0 Merge pull request #31 from radicallyopensecurity/bugfix
Catch gitlab exception properly
2017-06-07 19:45:58 +10:00
Peter Mosmans 0857e0f1e1 Catch gitlab exception properly 2017-06-07 19:44:24 +10:00
Peter Mosmans 65d356a108 Add pentext_id for conversion between report - filename identifiers 2017-05-29 12:12:21 +10:00
Patricia Piolon 4b4b1c8196 Merge pull request #28 from radicallyopensecurity/catch-exception
Make embedding git commit hash in the document an option (--tag)
2017-05-15 09:40:41 +02:00
Peter Mosmans 51e901ed9a Change default FOP configuration file: /etc/docbuilder/fop.xconf 2017-05-10 19:40:43 +10:00
Peter Mosmans bdbe448a9d Make embedding git commit hash in the document an option (--tag)
Add exception handlers around git usage.
2017-05-10 18:50:04 +10:00
Peter Mosmans def0931641 Implemented correct conversion for non-findings, closes #26 2017-03-24 20:43:33 +08:00
Peter Mosmans f18a75d399 Show filename when threatLevel is incorrect 2017-02-28 12:52:54 +11:00
Peter Mosmans acc6dc4b50 Implemented true Unicode (UTF-8) support
Added first Pentext classes: Finding and NonFinding
2017-02-23 18:43:57 +11:00
skyanth feb154554a prefixed finding & non-finding IDs with letter to keep xml valid 2017-02-22 09:42:48 +01:00
Peter Mosmans 5271a94e78 Recognize keywords 'recommendation' and 'impact' in notes
Treat them accordingly. Note that the keyword can only be used in one note, and
has to be on the first line of the note.
Re-order notes (oldest note first).
2017-02-22 11:59:40 +11:00
Peter Mosmans da18586ed7 Implemented markdown to XML conversion using pandoc 2017-02-21 19:35:18 +11:00
Patricia Piolon 5f58f6e5d5 Merge pull request #18 from PeterMosmans/speller
Fix: logmessage failed when learning new words
2017-02-01 11:38:33 +01:00
Peter Mosmans 0b499b68e7 Fix: logmessage failed when learning new words 2017-02-01 19:35:26 +11:00
Peter Mosmans 3793bbc6a8 Ignore casing of gitlab labels 2017-01-25 14:46:21 +11:00
skyanth aad0e9be44 execsummary=true now also still builds report instead of just summary 2016-11-29 16:58:20 +01:00
skyanth 69a2c827f8 Clarified execsummary documentation 2016-11-29 16:33:01 +01:00
skyanth 7b84dfaa25 Added execsummary option to report builder 2016-11-29 16:31:17 +01:00
Peter Mosmans 13a5a095b6 Beautified logging based on message type
Initialize speller only once per run
2016-11-24 10:56:13 +10:00
Peter Mosmans 181d9d57cf Use logging module 2016-11-21 11:28:58 +10:00
Peter Mosmans 34adf23dd1 Filter another illegal filename character 2016-11-10 20:46:32 +10:00
Peter Mosmans 5caa5aaed8 Retrieve list of maximum 99 issues
Workaround for some pagination issues.
2016-11-01 13:44:04 +01:00
Peter Mosmans 13d6282f82 Extended list of non-capitalized words 2016-11-01 13:38:32 +01:00
Peter Mosmans c470a07458 Show nice error message when importing lxml fails 2016-09-16 10:20:01 +10:00
Peter Mosmans d535a6c80c ...because style matters :)
Fixed pylint issues
2016-09-14 18:52:08 +10:00
Peter Mosmans e9333808a7 Merge branch 'master' of ssh://github.com/radicallyopensecurity/pentext 2016-09-14 18:41:48 +10:00
Peter Mosmans 3772eb96b7 Fixed issue when issues could not be retrieved 2016-09-14 18:40:53 +10:00