Skip to content

Claude/focused carson 6v34l5 - #1690

Open
KrzysztofSkotnicki wants to merge 4 commits into
atlassian-api:masterfrom
KrzysztofSkotnicki:claude/focused-carson-6v34l5
Open

KrzysztofSkotnicki wants to merge 4 commits into
atlassian-api:masterfrom
KrzysztofSkotnicki:claude/focused-carson-6v34l5

Conversation

@KrzysztofSkotnicki

Copy link
Copy Markdown
Contributor

No description provided.

claude added 4 commits October 5, 2026 09:05
Standalone script (requests only) for Confluence Data Center/Server that
downloads every attachment of a space into folders mirroring the page
tree, with PAT or basic auth, retries, resume (--skip-existing) and a CSV
manifest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VaaNKwD7a6LzmQatMFF8mp
…ogging

Settings (URL, token, space key, output dir) live in a CONFIGURATION block
at the top so the script runs without arguments; progress is logged as
[page n/N] with per-file sizes to the console and _download.log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VaaNKwD7a6LzmQatMFF8mp
confluence-diagnostics.py checks Python/requests, configuration (read from
the download script), proxy, DNS, TCP, TLS, /status, token, space access,
page and attachment listing, a sample download and output folder write
access, logging each step to confluence-diagnostics.log. The download
script now reports a missing requests library or unexpected errors and
waits for Enter before closing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VaaNKwD7a6LzmQatMFF8mp
requests only trusts certifi, so internal company CAs that Windows trusts
were rejected. On Windows both scripts now build a CA bundle from certifi
plus trusted ROOT/CA store certificates, pass verify on every request
(session.verify is overridden by REQUESTS_CA_BUNDLE/CURL_CA_BUNDLE), skip
retries on SSL errors, and connect to the Confluence host directly
(DIRECT_CONNECTION). Diagnostics compare certifi vs. Windows store and show
the proxy requests would use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VaaNKwD7a6LzmQatMFF8mp
out('VERIFY_SSL: %r' % (cfg['VERIFY_SSL'],))
out('DIRECT_CONNECTION: %r' % (cfg['DIRECT_CONNECTION'],))
problems = []
if 'example.com' in url:
try:
ctx = ssl.create_default_context()
with socket.create_connection((host, port), timeout=TIMEOUT) as sock:
with ctx.wrap_socket(sock, server_hostname=host) as tls:
args = parse_args()
if not args.token or args.token.startswith('PASTE-'):
raise SystemExit('ERROR: set CONFLUENCE_TOKEN in the CONFIGURATION section at the top of the script')
if 'example.com' in args.url:

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants