Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
4e4f105
Add custom subdomain support for OpenAI and Speech Service in Terraform
Jan 2, 2026
be56540
Merge branch 'Development' of https://github.com/vivche/simplechat-de…
Jan 7, 2026
e13ba0c
Merge remote-tracking branch 'upstream/Development' into Development
Jan 23, 2026
087fb3d
feat: Add ServiceNow integration documentation and bug fixes
Jan 23, 2026
502355f
Removed the readme files for bug fix details
Jan 24, 2026
33bee68
Updated servicenow integration readme
Jan 24, 2026
cd8c520
chore: Revert custom logo changes to upstream version
Jan 24, 2026
fb8181b
chore: Revert terraform main.tf to upstream version
Jan 24, 2026
660d76c
Removed the two openai sample spec downloaed from servicennow site
Jan 24, 2026
de866eb
Update docs/how-to/agents/ServiceNow/servicenow_agent_instructions.txt
vivche Jan 24, 2026
20f994a
Update docs/how-to/agents/ServiceNow/open_api_specs/sample_servicenow…
vivche Jan 24, 2026
351f143
Update docs/how-to/azure_speech_managed_identity_manul_setup.md
vivche Jan 24, 2026
5fe5b14
Update application/single_app/semantic_kernel_plugins/openapi_plugin_…
vivche Jan 24, 2026
9626219
Checked in the bug fix detail readme to docs/explanation/fixes/v0.236…
Jan 24, 2026
6364827
Merge branch 'servicenow-integration' of https://github.com/vivche/si…
Jan 24, 2026
dce54a1
Added version number to the feature readme files
Jan 24, 2026
8353d77
Added version number to document, and removed redudant import statement
Jan 24, 2026
5aa7007
refactor: use _ for intentionally unused variable in AI Search test
Jan 24, 2026
548d8d8
Removed azure_speech_managed_indeity_manual readme file since it is u…
Jan 24, 2026
62b0b5b
update version numbers to 0.236.012 in bug fix documentation
Jan 24, 2026
b0be501
Update application/single_app/semantic_kernel_loader.py
vivche Jan 24, 2026
e264a13
Update docs/how-to/agents/ServiceNow/open_api_specs/sample_now_knowle…
vivche Jan 24, 2026
b04bd67
Update docs/explanation/fixes/v0.236.012/AZURE_AI_SEARCH_TEST_CONNECT…
vivche Jan 24, 2026
84c01e9
Update docs/how-to/agents/ServiceNow/open_api_specs/sample_now_knowle…
vivche Jan 24, 2026
c8e383e
Update docs/how-to/agents/ServiceNow/open_api_specs/sample_servicenow…
vivche Jan 24, 2026
39dc7a4
Update docs/explanation/fixes/v0.236.012/GROUP_AGENT_LOADING_FIX.md
vivche Jan 24, 2026
2e8c737
Remvoed debug statements that might include senstive info
Jan 24, 2026
d0581d5
Merge branch 'servicenow-integration' of https://github.com/vivche/si…
Jan 24, 2026
0c23a78
Rollback Azure AI Search test connection fix for separate PR
Jan 24, 2026
7f8248a
Update application/single_app/semantic_kernel_plugins/openapi_plugin_…
vivche Jan 24, 2026
a0fbffd
Update docs/explanation/fixes/v0.236.012/GROUP_AGENT_LOADING_FIX.md
vivche Jan 24, 2026
4bac07a
Update docs/explanation/fixes/v0.236.012/GROUP_ACTION_OAUTH_SCHEMA_ME…
vivche Jan 24, 2026
1c31db4
Update docs/how-to/agents/ServiceNow/SERVICENOW_OAUTH_SETUP.md
vivche Jan 24, 2026
7e0c688
Fix Azure AI Search test connection with managed identity
Jan 24, 2026
6b0164a
Fix Azure AI Search test connection with managed identity
Jan 24, 2026
c910ede
Corrected file folder name
Jan 24, 2026
f188224
Merge branch 'ai-search-test-connection-fix' of https://github.com/vi…
Jan 24, 2026
8ae8518
Corrected the version number to reference 0.236.012
Jan 24, 2026
a82ecb7
Removed unneeded folder and document
Jan 24, 2026
589291b
Revert terraform main.tf to upstream/Development version
Jan 24, 2026
d017028
updated the logging logic when running retention delete with archivin…
paullizer Jan 24, 2026
2e8e87a
Corrected version to 0.236.011 (#645)
paullizer Jan 26, 2026
6042461
v0.237.001 (#649)
paullizer Jan 26, 2026
9c698af
Merge branch 'Staging' into Development
paullizer Jan 26, 2026
84e00cb
Use Microsoft python base image
clarked-msft Jan 26, 2026
317c6ee
Add python ENV vars
clarked-msft Jan 26, 2026
25f41fb
Add python ENV vars
clarked-msft Jan 26, 2026
0753f52
Install deps to systme
clarked-msft Jan 26, 2026
f2958f0
Add temp dir to image and pip conf support
clarked-msft Jan 26, 2026
efd6fe7
Add custom-ca-certificates dir
clarked-msft Jan 26, 2026
231b792
Merge pull request #653 from clarked-msft/msft-python-image
Bionic711 Jan 26, 2026
7d0a792
Logo bug fix (#654)
paullizer Jan 26, 2026
1cdb27a
Merge branch 'Staging' into Development
paullizer Jan 26, 2026
823e6fa
Rentention policy (#657)
paullizer Jan 26, 2026
1c1c845
Merge branch 'Staging' into Development
paullizer Jan 26, 2026
31e8341
Added ServiceNow support for create and publish article. Including r…
Jan 27, 2026
c70db6b
Replace actual servicenow instance name with generic name in the read…
Jan 27, 2026
fa72a65
Merge remote-tracking branch 'upstream/Development' into servicenow-i…
Jan 27, 2026
0ed07b1
Changed version number in ServiceNow readme files to 0.237.005 since …
Jan 27, 2026
61d8a8b
Enhance ServiceNow agent for managing new KB article creation
Jan 28, 2026
715bb6b
Added readme and open ai specs and agent instructions to support Serv…
Jan 28, 2026
b5804ad
Remove any references to actual ServiceNow instances
Jan 28, 2026
6c4b14e
Merge upstream/Development into ai-search-test-connection-fix
Jan 28, 2026
7ace8b7
Merge pull request #641 from vivche/ai-search-test-connection-fix
Bionic711 Jan 29, 2026
05a14e4
fixed retention policy runtime bug and sidebar bug (#672)
paullizer Jan 30, 2026
5cd0f3b
Merge branch 'Staging' into Development
paullizer Jan 30, 2026
0e0c437
Fix: Windows Unicode encoding issue for video uploads (#662)
vivche Jan 30, 2026
ab456a4
Update docs/how-to/azure_speech_managed_identity_manul_setup.md (#675)
paullizer Jan 30, 2026
534eb72
Add custom subdomain support for OpenAI and Speech Service in Terrafo…
vivche Jan 30, 2026
251b949
0.237.006 (#676)
paullizer Jan 30, 2026
cd09c7a
docs: Update release notes for ServiceNow integration and bug fixes
Jan 30, 2026
634040d
Update release_notes.md
paullizer Jan 30, 2026
944b581
Merge branch 'Staging' into Development
paullizer Jan 30, 2026
39e812c
resolve conflict
Jan 30, 2026
0da710a
fixed sidebar race condition (#679)
paullizer Jan 30, 2026
1e4b524
Merge branch 'Staging' into Development
paullizer Jan 30, 2026
fd66132
Merge branch 'Development' into servicenow-integration, and moved fix…
Jan 31, 2026
0c161ae
fix the version number in config.py
Jan 31, 2026
bf90baf
Security: Restrict group agent loading to active group only
Jan 31, 2026
8a9ad98
Fixed an instruction error that caused semantic kernel to fall back t…
Jan 31, 2026
28a557e
Merge pull request #640 from vivche/servicenow-integration
Bionic711 Jan 31, 2026
82f8a89
Fixed! The issue was caused by duplicated code blocks (#683)
paullizer Feb 3, 2026
4c24cc8
Manage group frontend bug (#684)
paullizer Feb 3, 2026
ef14203
Bicepfix (#690)
eldong Feb 5, 2026
a4a4224
Search bug fix 20260229 (#697)
paullizer Feb 9, 2026
541dd60
Overhauled and updated file extension definition & MAG audio file tra…
Xeelee33 Feb 9, 2026
7c2eb0c
Update release_notes.md (#698)
paullizer Feb 9, 2026
e102efe
Merge branch 'Staging' into Development
paullizer Feb 9, 2026
2429489
removed duplicate code causing bugs (#701)
paullizer Feb 9, 2026
b529d60
Chat file upload error (#709)
paullizer Feb 11, 2026
0cd14b9
Merge branch 'Staging' into Development
paullizer Feb 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion application/single_app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
EXECUTOR_TYPE = 'thread'
EXECUTOR_MAX_WORKERS = 30
SESSION_TYPE = 'filesystem'
VERSION = "0.237.009"
VERSION = "0.237.011"

SECRET_KEY = os.getenv('SECRET_KEY', 'dev-secret-key-change-in-production')

Expand Down
19 changes: 10 additions & 9 deletions application/single_app/route_frontend_chats.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ def upload_file():
file.seek(0)

filename = secure_filename(file.filename)
file_ext = os.path.splitext(filename)[1].lower()
file_ext = os.path.splitext(filename)[1].lower() # e.g., '.png'
file_ext_nodot = file_ext.lstrip('.') # e.g., 'png'

with tempfile.NamedTemporaryFile(delete=False) as tmp_file:
file.save(tmp_file.name)
Expand All @@ -131,9 +132,9 @@ def upload_file():

try:
# Check if this is an image file
is_image_file = file_ext in IMAGE_EXTENSIONS
is_image_file = file_ext_nodot in IMAGE_EXTENSIONS

if file_ext in ['.pdf', '.docx', '.pptx', '.ppt', '.html'] or is_image_file:
if file_ext_nodot in (DOCUMENT_EXTENSIONS | {'html'}) or is_image_file:
extracted_content_raw = extract_content_with_azure_di(temp_file_path)

# Convert pages_data list to string
Expand Down Expand Up @@ -191,25 +192,25 @@ def upload_file():
print(f"Warning: Vision analysis failed for chat upload: {vision_error}")
# Continue without vision analysis

elif file_ext in ['.doc', '.docm']:
elif file_ext_nodot in {'doc', 'docm'}:
# Use docx2txt for .doc and .docm files
try:
import docx2txt
extracted_content = docx2txt.process(temp_file_path)
except ImportError:
return jsonify({'error': 'docx2txt library required for .doc/.docm files'}), 500
elif file_ext == '.txt':
elif file_ext_nodot == 'txt':
extracted_content = extract_text_file(temp_file_path)
elif file_ext == '.md':
elif file_ext_nodot == 'md':
extracted_content = extract_markdown_file(temp_file_path)
elif file_ext == '.json':
elif file_ext_nodot == 'json':
with open(temp_file_path, 'r', encoding='utf-8') as f:
parsed_json = json.load(f)
extracted_content = json.dumps(parsed_json, indent=2)
elif file_ext in ['.xml', '.yaml', '.yml', '.log']:
elif file_ext_nodot in {'xml', 'yaml', 'yml', 'log'}:
# Handle XML, YAML, and LOG files as text for inline chat
extracted_content = extract_text_file(temp_file_path)
elif file_ext in TABULAR_EXTENSIONS:
elif file_ext_nodot in TABULAR_EXTENSIONS:
extracted_content = extract_table_file(temp_file_path, file_ext)
is_table = True
else:
Expand Down
62 changes: 24 additions & 38 deletions application/single_app/static/js/group/manage_group.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,39 +92,6 @@ $(document).ready(function () {
rejectRequest(requestId);
});

// Add event delegation for select user button in search results
$(document).on("click", ".select-user-btn", function () {
const id = $(this).data("user-id");
const name = $(this).data("user-name");
const email = $(this).data("user-email");
selectUserForAdd(id, name, email);
});

// Add event delegation for remove member button
$(document).on("click", ".remove-member-btn", function () {
const userId = $(this).data("user-id");
removeMember(userId);
});

// Add event delegation for change role button
$(document).on("click", ".change-role-btn", function () {
const userId = $(this).data("user-id");
const currentRole = $(this).data("user-role");
openChangeRoleModal(userId, currentRole);
$("#changeRoleModal").modal("show");
});

// Add event delegation for approve/reject request buttons
$(document).on("click", ".approve-request-btn", function () {
const requestId = $(this).data("request-id");
approveRequest(requestId);
});

$(document).on("click", ".reject-request-btn", function () {
const requestId = $(this).data("request-id");
rejectRequest(requestId);
});

// CSV Bulk Upload Events
$("#addBulkMemberBtn").on("click", function () {
$("#csvBulkUploadModal").modal("show");
Expand Down Expand Up @@ -504,11 +471,21 @@ function setRole(userId, newRole) {
data: JSON.stringify({ role: newRole }),
success: function () {
$("#changeRoleModal").modal("hide");
showToast("success", "Role updated successfully");
loadMembers();
},
error: function (err) {
console.error(err);
alert("Failed to update role.");
console.error("Error updating role:", err);
let errorMsg = "Failed to update role.";
if (err.status === 404) {
errorMsg = "Member not found. They may have been removed.";
loadMembers(); // Refresh the member list
} else if (err.status === 403) {
errorMsg = "You don't have permission to change this member's role.";
} else if (err.responseJSON && err.responseJSON.message) {
errorMsg = err.responseJSON.message;
}
showToast("error", errorMsg);
},
});
}
Expand All @@ -519,11 +496,21 @@ function removeMember(userId) {
url: `/api/groups/${groupId}/members/${userId}`,
method: "DELETE",
success: function () {
showToast("success", "Member removed successfully");
loadMembers();
},
error: function (err) {
console.error(err);
alert("Failed to remove member.");
console.error("Error removing member:", err);
let errorMsg = "Failed to remove member.";
if (err.status === 404) {
errorMsg = "Member not found. They may have already been removed.";
loadMembers(); // Refresh the member list
} else if (err.status === 403) {
errorMsg = "You don't have permission to remove this member.";
} else if (err.responseJSON && err.responseJSON.message) {
errorMsg = err.responseJSON.message;
}
showToast("error", errorMsg);
},
});
}
Expand Down Expand Up @@ -631,7 +618,6 @@ function searchUsers() {
});
}

// Render user-search results in add-member modal
// Render user-search results in add-member modal
function renderUserSearchResults(users) {
let html = "";
Expand Down
20 changes: 20 additions & 0 deletions docs/explanation/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

# Feature Release

### **(v0.237.011)**

#### Bug Fixes

* **Chat File Upload "Unsupported File Type" Fix**
* Fixed issue where uploading xlsx, png, jpg, csv, and other image/tabular files in the chat interface returned a 400 "Unsupported file type" error.
* **Root Cause**: `os.path.splitext()` returns extensions with a leading dot (e.g., `.png`), but the `IMAGE_EXTENSIONS` and `TABULAR_EXTENSIONS` sets in `config.py` store extensions without dots (e.g., `png`). The comparison `'.png' in {'png', ...}` was always `False`, causing all image and tabular uploads to fall through to the unsupported file type error.
* **Solution**: Added `file_ext_nodot = file_ext.lstrip('.')` and used the dot-stripped extension for set comparisons against `IMAGE_EXTENSIONS` and `TABULAR_EXTENSIONS`, matching the pattern already used in `functions_documents.py`.
* (Ref: `route_frontend_chats.py`, file extension comparison, `IMAGE_EXTENSIONS`, `TABULAR_EXTENSIONS`)

* **Manage Group Page Duplicate Code and Error Handling Fix**
* Fixed multiple code quality and user experience issues in the Manage Group page JavaScript.
* **Duplicate Event Handlers**: Removed duplicate event handler registrations (lines 96-127) for `.select-user-btn`, `.remove-member-btn`, `.change-role-btn`, `.approve-request-btn`, and `.reject-request-btn` that were causing multiple event firings.
* **Duplicate HTML in Actions Column**: Fixed member action buttons rendering duplicate attributes as visible text instead of functional buttons, causing raw HTML/CSS class names to display in the Actions column.
* **Duplicate Pending Request Buttons**: Removed duplicate Approve and Reject buttons in pending requests table that were appearing twice per request.
* **Enhanced Error Handling**: Improved `setRole()` and `removeMember()` functions with specific error messages for 404 (member not found) and 403 (permission denied) errors, automatic member list refresh on 404, and user-friendly toast notifications instead of generic alerts.
* **Removed Duplicate Comment**: Cleaned up duplicate "Render user-search results" comment.
* **Impact**: Member management buttons now render and function correctly, provide better error feedback, and auto-recover from stale member data.
* (Ref: `manage_group.js`, event handler deduplication, error handling improvements, toast notifications)

### **(v0.237.009)**

#### New Features
Expand Down
Loading