[0.2.0] - 2026-09-24 #1

Merged
mysticmomba merged 7 commits from development into master 2026-09-24 10:18:37 -04:00
11 changed files with 267 additions and 1 deletions
Showing only changes of commit 5be8e31483 - Show all commits
+1
View File
@@ -0,0 +1 @@
## [0.1.0] - 2026-09-23
+94
View File
@@ -0,0 +1,94 @@
# git-cliff ~ configuration file
# https://git-cliff.org/docs/configuration
[changelog]
# A Tera template to be rendered for each release in the changelog.
# See https://keats.github.io/tera/docs/#introduction
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}
"""
# Remove leading and trailing whitespaces from the changelog's body.
trim = true
# Render body even when there are no releases to process.
render_always = true
# An array of regex based postprocessors to modify the changelog.
postprocessors = [
# Replace the placeholder <REPO> with a URL.
#{ pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" },
]
# render body even when there are no releases to process
# render_always = true
# output file path
# output = "test.md"
[git]
# Parse commits according to the conventional commits specification.
# See https://www.conventionalcommits.org
conventional_commits = true
# Exclude commits that do not match the conventional commits specification.
filter_unconventional = true
# Require all commits to be conventional.
# Takes precedence over filter_unconventional.
require_conventional = false
# Split commits on newlines, treating each line as an individual commit.
split_commits = false
# An array of regex based parsers to modify commit messages prior to further processing.
commit_preprocessors = [
# Replace issue numbers with link templates to be updated in `changelog.postprocessors`.
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
# Check spelling of the commit message using https://github.com/crate-ci/typos.
# If the spelling is incorrect, it will be fixed automatically.
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
]
# Prevent commits that are breaking from being excluded by commit parsers.
protect_breaking_commits = false
# An array of regex based parsers for extracting data from the commit message.
# Assigns commits to groups.
# Optionally sets the commit's scope and can decide to exclude commits from further processing.
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
{ message = ".*", group = "<!-- 10 -->💼 Other" },
]
# Exclude commits that are not matched by any commit parser.
filter_commits = false
# Fail on a commit that is not matched by any commit parser.
fail_on_unmatched_commit = false
# An array of link parsers for extracting external references, and turning them into URLs, using regex.
link_parsers = []
# Include only the tags that belong to the current branch.
use_branch_tags = false
# Order releases topologically instead of chronologically.
topo_order = false
# Order commits topologically instead of chronologically.
topo_order_commits = true
# Order of commits in each group/release within the changelog.
# Allowed values: newest, oldest
sort_commits = "oldest"
# Process submodules commits
recurse_submodules = false
+41
View File
@@ -58,6 +58,7 @@ dependencies = [
"libc",
"open",
"ping-async",
"pulldown-cmark",
"reqwest 0.12.28",
"serde",
"serde_json",
@@ -1367,6 +1368,15 @@ dependencies = [
"version_check",
]
[[package]]
name = "getopts"
version = "0.2.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df"
dependencies = [
"unicode-width",
]
[[package]]
name = "getrandom"
version = "0.2.17"
@@ -3006,6 +3016,25 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "pulldown-cmark"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9f068eba8e7071c5f9511831b44f32c740d5adf574e990f946ddb53db2f314e"
dependencies = [
"bitflags 2.13.2",
"getopts",
"memchr",
"pulldown-cmark-escape",
"unicase",
]
[[package]]
name = "pulldown-cmark-escape"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "007d8adb5ddab6f8e3f491ac63566a7d5002cc7ed73901f72057943fa71ae1ae"
[[package]]
name = "quick-xml"
version = "0.42.0"
@@ -4738,6 +4767,12 @@ dependencies = [
"unic-common",
]
[[package]]
name = "unicase"
version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142"
[[package]]
name = "unicode-ident"
version = "1.0.26"
@@ -4750,6 +4785,12 @@ version = "1.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
[[package]]
name = "unicode-width"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
[[package]]
name = "untrusted"
version = "0.9.0"
+1
View File
@@ -33,6 +33,7 @@ csv = "1"
open = "5.4.4"
reqwest = { version = "0.12", features = ["json"] }
libc = "0.2.189"
pulldown-cmark = { version = "0.13.4", features = ["html"] }
[target.'cfg(windows)'.dependencies]
is_elevated = "0.1"
+16
View File
@@ -0,0 +1,16 @@
use pulldown_cmark::{Options, Parser, html};
const CHANGELOG_MD: &str = include_str!("../../../CHANGELOG.md");
#[tauri::command]
pub async fn get_changelog() -> Result<String, String> {
let options = Options::ENABLE_HEADING_ATTRIBUTES
| Options::ENABLE_STRIKETHROUGH
| Options::ENABLE_TABLES;
let parser = Parser::new_ext(CHANGELOG_MD, options);
let mut html_output = String::new();
html::push_html(&mut html_output, parser);
Ok(html_output)
}
+1
View File
@@ -1,4 +1,5 @@
pub mod actions;
pub mod changelog;
pub mod export;
pub mod monitor;
pub mod nmap;
+1
View File
@@ -31,6 +31,7 @@ pub fn run() {
commands::monitor::monitor_stop,
commands::updater::check_for_update,
commands::actions::check_privileges,
commands::changelog::get_changelog,
])
.run(tauri::generate_context!())
.expect("error while running tauri application");
+2 -1
View File
@@ -10,7 +10,7 @@
"withGlobalTauri": true,
"windows": [
{
"title": "argus",
"title": "Argus",
"width": 800,
"height": 600
}
@@ -22,6 +22,7 @@
"bundle": {
"active": true,
"targets": "all",
"copyright": "Copyright \u00A9 2026 James Brotosky. Licensed under AGPLv3. All rights reserved.",
"windows": {
"webviewInstallMode": {
"type": "embedBootstrapper"
+11
View File
@@ -199,6 +199,7 @@
<!-- Status Bar -->
<div id="status-bar">
<span class="status-bar-item" id="status-bar-version">Argus</span>
<button id="btn-changelog" class="status-bar-btn">Changelog</button>
<span class="status-bar-item" id="privilege-status">unprivileged</span>
</div>
@@ -212,6 +213,16 @@
<div id="traceroute-output" class="traceroute-output"></div>
</div>
</div>
<!-- Changelog Modal -->
<div id="changelog-modal" class="modal-overlay">
<div class="modal-panel" style="width: 700px;">
<div class="modal-header">
<span class="modal-title">Changelog</span>
<button id="changelog-close" class="modal-close">&times;</button>
</div>
<div id="changelog-content" class="changelog-content"></div>
</div>
</div>
<!-- Context Menu -->
<div id="context-menu" class="context-menu" hidden>
<button class="ctx-item" data-action="copy-ip">Copy IP</button>
+37
View File
@@ -1022,6 +1022,42 @@ var updater = (() => {
return { init };
})();
var changelog = (() => {
var modal = function() { return document.getElementById('changelog-modal'); };
var loaded = false;
async function open() {
modal().classList.add('visible');
if (!loaded) {
try {
var html = await invoke('get_changelog');
document.getElementById('changelog-content').innerHTML = html;
loaded = true;
} catch (err) {
document.getElementById('changelog-content').textContent = 'Failed to load changelog.';
}
}
}
function close() {
modal().classList.remove('visible');
}
function init() {
document.getElementById('btn-changelog').addEventListener('click', open);
document.getElementById('changelog-close').addEventListener('click', close);
modal().addEventListener('click', function(e) {
if (e.target === modal()) close();
});
document.addEventListener('keydown', function(e) {
if (e.key === 'Escape' && modal().classList.contains('visible')) close();
});
}
return { init };
})();
window.addEventListener('DOMContentLoaded', () => {
// Tab switching
document.querySelectorAll('.tab').forEach((tab) => {
@@ -1054,6 +1090,7 @@ window.addEventListener('DOMContentLoaded', () => {
nmapTab.init();
monitorTab.init();
updater.init();
changelog.init();
document.getElementById('btn-export-all').addEventListener('click', exporter.csvAll);
document.getElementById('btn-export-up').addEventListener('click', exporter.csvUp);
console.log('[Argus] Ready');
+62
View File
@@ -1260,3 +1260,65 @@ body {
color: var(--text-muted);
margin-top: 4px;
}
/* ===== Changelog ===== */
.changelog-content {
flex: 1;
overflow-y: auto;
padding: 20px 24px;
font-family: var(--font-sans);
font-size: 13px;
line-height: 1.7;
color: var(--text-primary);
max-height: 70vh;
}
.changelog-content h1 {
font-size: 20px;
color: var(--cyan);
margin: 0 0 16px 0;
padding-bottom: 8px;
border-bottom: 1px solid var(--border);
}
.changelog-content h2 {
font-size: 16px;
color: var(--cyan);
margin: 24px 0 12px 0;
}
.changelog-content h3 {
font-size: 14px;
color: var(--text-primary);
margin: 16px 0 8px 0;
}
.changelog-content ul {
padding-left: 20px;
margin: 8px 0;
}
.changelog-content li {
margin: 4px 0;
color: var(--text-secondary);
}
.changelog-content code {
font-family: var(--font-mono);
font-size: 12px;
padding: 2px 5px;
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: 2px;
color: var(--cyan);
}
.changelog-content a {
color: var(--cyan);
text-decoration: none;
}
.changelog-content a:hover {
text-decoration: underline;
}