Commit Graph

60 Commits

Author SHA1 Message Date
John Sinteur 7067e29627 Merge pull request #47 from radicallyopensecurity/pep8-styling
Pep8 styling
2018-08-27 09:20:40 +02:00
Peter Mosmans 616c6a7c6b Use two digits in filenames 2017-11-29 19:20:30 +10:00
Peter Mosmans e7fdb593f2 Enforce UTF-8 encoding for XML files 2017-11-29 19:19:57 +10:00
Peter Mosmans c740e2af87 Validate status attribute 2017-11-10 17:21:10 +10:00
Peter Mosmans 70811b2b60 Replace generic print_error function with inline versions 2017-11-10 17:08:39 +10:00
Peter Mosmans 4492c8999e Adjust docstrings to 'official' Google format 2017-11-10 17:08:08 +10:00
Peter Mosmans 6ed915a9ff Add status attribute for new findings with value new
Several docstring changes.
2017-11-10 17:06:13 +10:00
Peter Mosmans 23f3d8bad2 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 04962c7482 Adjust docstrings to 'official' Google format 2017-11-10 16:32:44 +10:00
Peter Mosmans 54caa126c5 Format finding codes using three digits
Minor docstring change.
2017-10-31 17:10:10 +10:00
Peter Mosmans 56b6c3b24d Display unique finding code as well 2017-10-16 13:16:41 +10:00
skyanth 0b5cd5527e Added styling & introduced pdf passwords 2017-08-25 10:08:24 +02:00
skyanth 47085f8bb6 pep8 styling 2017-08-25 09:59:26 +02:00
Peter Mosmans 6b1d11ad5d Clean up code somewhat
Some spelling / imperative fixes.
2017-08-20 19:37:37 -07:00
Peter Mosmans 6a2559793b Ignore local file structure when querying projects 2017-08-20 19:27:20 -07:00
Peter Mosmans ce8a0cdfca Re-include helper function to capitalize sentences 2017-08-20 19:26:46 -07:00
Peter Mosmans 072c24659f Add content of all includes for spell checking 2017-08-20 19:08:09 -07:00
skyanth e06b7f1399 changed fop.conf back to fop.xconf
Sorry for the confusion… :/
2017-07-03 15:21:06 +02:00
skyanth b634c68719 execsummary option for report build command fixed 2017-07-03 15:16:42 +02:00
Peter Mosmans 96e0c6b4f7 Filter backtick from filename, closes #37 2017-07-03 20:44:25 +10:00
Peter Mosmans 87176f9bbb 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 40fa8f6af1 Merge pull request #31 from radicallyopensecurity/bugfix
Catch gitlab exception properly
2017-06-07 19:45:58 +10:00
Peter Mosmans 4f5ee75a8e Catch gitlab exception properly 2017-06-07 19:44:24 +10:00
Peter Mosmans c065e5718a Add pentext_id for conversion between report - filename identifiers 2017-05-29 12:12:21 +10:00
Patricia Piolon 4b564a5d67 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 cc5f0ac6a4 Change default FOP configuration file: /etc/docbuilder/fop.xconf 2017-05-10 19:40:43 +10:00
Peter Mosmans 5d5026a6bf 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 262566e4fd Implemented correct conversion for non-findings, closes #26 2017-03-24 20:43:33 +08:00
Peter Mosmans fb584e2caf Show filename when threatLevel is incorrect 2017-02-28 12:52:54 +11:00
Peter Mosmans 834eee2733 Implemented true Unicode (UTF-8) support
Added first Pentext classes: Finding and NonFinding
2017-02-23 18:43:57 +11:00
skyanth b5b209cbd3 prefixed finding & non-finding IDs with letter to keep xml valid 2017-02-22 09:42:48 +01:00
Peter Mosmans 8efe8fc01c 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 1f02bfe0ee Implemented markdown to XML conversion using pandoc 2017-02-21 19:35:18 +11:00
Patricia Piolon 2daf955d31 Merge pull request #18 from PeterMosmans/speller
Fix: logmessage failed when learning new words
2017-02-01 11:38:33 +01:00
Peter Mosmans 957812f7d7 Fix: logmessage failed when learning new words 2017-02-01 19:35:26 +11:00
Peter Mosmans 1e35927430 Ignore casing of gitlab labels 2017-01-25 14:46:21 +11:00
skyanth 095e154b36 execsummary=true now also still builds report instead of just summary 2016-11-29 16:58:20 +01:00
skyanth 97b4fb64df Clarified execsummary documentation 2016-11-29 16:33:01 +01:00
skyanth bdfc7ef045 Added execsummary option to report builder 2016-11-29 16:31:17 +01:00
Peter Mosmans ada63f4745 Beautified logging based on message type
Initialize speller only once per run
2016-11-24 10:56:13 +10:00
Peter Mosmans 901788c89e Use logging module 2016-11-21 11:28:58 +10:00
Peter Mosmans 7058855ee3 Filter another illegal filename character 2016-11-10 20:46:32 +10:00
Peter Mosmans 85de049819 Retrieve list of maximum 99 issues
Workaround for some pagination issues.
2016-11-01 13:44:04 +01:00
Peter Mosmans 1073d024c9 Extended list of non-capitalized words 2016-11-01 13:38:32 +01:00
Peter Mosmans 6c0c01e2b9 Show nice error message when importing lxml fails 2016-09-16 10:20:01 +10:00
Peter Mosmans f248ae4706 ...because style matters :)
Fixed pylint issues
2016-09-14 18:52:08 +10:00
Peter Mosmans 80f1ec32de Merge branch 'master' of ssh://github.com/radicallyopensecurity/pentext 2016-09-14 18:41:48 +10:00
Peter Mosmans ea48a871bd Fixed issue when issues could not be retrieved 2016-09-14 18:40:53 +10:00
Peter Mosmans a010676095 Merge pull request #8 from parall4x/master
Added extra verbosity in case of missing required packages + expanded rosbot's usage docs
2016-09-14 14:35:33 +10:00
Peter Mosmans a5728009b6 Show gitlab exception
Various pylint fixes
2016-09-14 12:27:03 +10:00