[PR #2118] [MERGED] Support more Confluence URL formats #3891

Closed
opened 2026-02-22 18:34:42 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2118
Author: @shatfield4
Created: 8/14/2024
Status: Merged
Merged: 9/25/2024
Merged by: @timothycarambat

Base: masterHead: 1772-bug-confluence-crawler-incorrectly-does-not-accept-subdomains


📝 Commits (5)

  • 9d6738c support more confluence url formats
  • 644e014 use pattern matching for confluence urls and manual splitting as fallback
  • c27b896 Merge branch 'master' into 1772-bug-confluence-crawler-incorrectly-does-not-accept-subdomains
  • 36b263c rework entire Confluence flow to prevent issues with custom, local, and cloud spaces
  • 0d779c4 remove dep

📊 Changes

5 files changed (+77 additions, -113 deletions)

View changed files

📝 collector/extensions/resync/index.js (+1 -0)
📝 collector/utils/extensions/Confluence/ConfluenceLoader/index.js (+2 -1)
📝 collector/utils/extensions/Confluence/index.js (+45 -105)
📝 frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/Confluence/index.jsx (+26 -5)
📝 frontend/src/models/dataConnector.js (+3 -2)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #1772

What is in this change?

  • Add a fallback to manual URL parsing to handle other URL formats
  • Supports Confluence run under context paths
  • Supports subdomains with more subdomains (eg. https://confluence.myorg.gv.at/display/SPACE/*)
  • Supports Confluence URLs with ports for locally run Confluence instances

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/2118 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 8/14/2024 **Status:** ✅ Merged **Merged:** 9/25/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1772-bug-confluence-crawler-incorrectly-does-not-accept-subdomains` --- ### 📝 Commits (5) - [`9d6738c`](https://github.com/Mintplex-Labs/anything-llm/commit/9d6738c9bb3d999e520d93a7ee1249d94a6f80f1) support more confluence url formats - [`644e014`](https://github.com/Mintplex-Labs/anything-llm/commit/644e014dc5a09bb6fbc831e1fc1eb40ea3d51fa9) use pattern matching for confluence urls and manual splitting as fallback - [`c27b896`](https://github.com/Mintplex-Labs/anything-llm/commit/c27b896010e36d44faad1f42cabfece483d3d19b) Merge branch 'master' into 1772-bug-confluence-crawler-incorrectly-does-not-accept-subdomains - [`36b263c`](https://github.com/Mintplex-Labs/anything-llm/commit/36b263c24bdf065f7ecd138ecba035ed800de00a) rework entire Confluence flow to prevent issues with custom, local, and cloud spaces - [`0d779c4`](https://github.com/Mintplex-Labs/anything-llm/commit/0d779c4b0424a69a5ceafb2107737fc94e765e8e) remove dep ### 📊 Changes **5 files changed** (+77 additions, -113 deletions) <details> <summary>View changed files</summary> 📝 `collector/extensions/resync/index.js` (+1 -0) 📝 `collector/utils/extensions/Confluence/ConfluenceLoader/index.js` (+2 -1) 📝 `collector/utils/extensions/Confluence/index.js` (+45 -105) 📝 `frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/Confluence/index.jsx` (+26 -5) 📝 `frontend/src/models/dataConnector.js` (+3 -2) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1772 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Add a fallback to manual URL parsing to handle other URL formats - Supports Confluence run under context paths - Supports subdomains with more subdomains (eg. https://confluence.myorg.gv.at/display/SPACE/*) - Supports Confluence URLs with ports for locally run Confluence instances ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:42 -05:00
yindo closed this issue 2026-02-22 18:34:42 -05:00
yindo changed title from [PR #2118] Support more Confluence URL formats to [PR #2118] [MERGED] Support more Confluence URL formats 2026-06-05 15:15:45 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3891