Skip to content

Commit 51b1e97

Browse files
waleedlatif1Sg312emir-karabegicecrasher321greptile-apps[bot]
authored
fix(kb-uploads): created knowledge, chunks, tags services and use redis for queueing docs in kb (#1143)
* improvement(kb): created knowledge, chunks, tags services and use redis for queueing docs in kb * moved directories around * cleanup * bulk create docuemnt records after upload is completed * fix(copilot): send api key to sim agent (#1142) * Fix api key auth * Lint * ack PR comments * added sort by functionality for headers in kb table * updated * test fallback from redis, fix styling * cleanup copilot, fixed tooltips * feat: local auto layout (#1144) * feat: added llms.txt and robots.txt (#1145) * fix(condition-block): edges not following blocks, duplicate issues (#1146) * fix(condition-block): edges not following blocks, duplicate issues * add subblock update to setActiveWorkflow * Update apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/condition-input.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * fix dependency array * fix(copilot-cleanup): support azure blob upload in copilot, remove dead code & consolidate other copilot files (#1147) * cleanup * support azure blob image upload * imports cleanup * PR comments * ack PR comments * fix key validation * improvement(forwarding+excel): added forwarding and improve excel read (#1136) * added forwarding for outlook * lint * improved excel sheet read * addressed greptile * fixed bodytext getting truncated * fixed any type * added html func --------- Co-authored-by: Adam Gough <[email protected]> * revert agent const * update docs --------- Co-authored-by: Siddharth Ganesan <[email protected]> Co-authored-by: Emir Karabeg <[email protected]> Co-authored-by: Vikhyath Mondreti <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Vikhyath Mondreti <[email protected]> Co-authored-by: Adam Gough <[email protected]> Co-authored-by: Adam Gough <[email protected]>
1 parent ab74b13 commit 51b1e97

File tree

77 files changed

+5442
-2845
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+5442
-2845
lines changed

apps/docs/content/docs/tools/microsoft_excel.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Read data from a Microsoft Excel spreadsheet
109109
| Parameter | Type | Required | Description |
110110
| --------- | ---- | -------- | ----------- |
111111
| `spreadsheetId` | string | Yes | The ID of the spreadsheet to read from |
112-
| `range` | string | No | The range of cells to read from |
112+
| `range` | string | No | The range of cells to read from. Accepts "SheetName!A1:B2" for explicit ranges or just "SheetName" to read the used range of that sheet. If omitted, reads the used range of the first sheet. |
113113

114114
#### Output
115115

apps/docs/content/docs/tools/onedrive.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Upload a file to OneDrive
6868
| `fileName` | string | Yes | The name of the file to upload |
6969
| `content` | string | Yes | The content of the file to upload |
7070
| `folderSelector` | string | No | Select the folder to upload the file to |
71-
| `folderId` | string | No | The ID of the folder to upload the file to \(internal use\) |
71+
| `manualFolderId` | string | No | Manually entered folder ID \(advanced mode\) |
7272

7373
#### Output
7474

@@ -87,7 +87,7 @@ Create a new folder in OneDrive
8787
| --------- | ---- | -------- | ----------- |
8888
| `folderName` | string | Yes | Name of the folder to create |
8989
| `folderSelector` | string | No | Select the parent folder to create the folder in |
90-
| `folderId` | string | No | ID of the parent folder \(internal use\) |
90+
| `manualFolderId` | string | No | Manually entered parent folder ID \(advanced mode\) |
9191

9292
#### Output
9393

@@ -105,7 +105,7 @@ List files and folders in OneDrive
105105
| Parameter | Type | Required | Description |
106106
| --------- | ---- | -------- | ----------- |
107107
| `folderSelector` | string | No | Select the folder to list files from |
108-
| `folderId` | string | No | The ID of the folder to list files from \(internal use\) |
108+
| `manualFolderId` | string | No | The manually entered folder ID \(advanced mode\) |
109109
| `query` | string | No | A query to filter the files |
110110
| `pageSize` | number | No | The number of files to return |
111111

apps/docs/content/docs/tools/outlook.mdx

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,27 @@ Read emails from Outlook
211211

212212
| Parameter | Type | Description |
213213
| --------- | ---- | ----------- |
214-
| `success` | boolean | Email read operation success status |
215-
| `messageCount` | number | Number of emails retrieved |
216-
| `messages` | array | Array of email message objects |
217214
| `message` | string | Success or status message |
215+
| `results` | array | Array of email message objects |
216+
217+
### `outlook_forward`
218+
219+
Forward an existing Outlook message to specified recipients
220+
221+
#### Input
222+
223+
| Parameter | Type | Required | Description |
224+
| --------- | ---- | -------- | ----------- |
225+
| `messageId` | string | Yes | The ID of the message to forward |
226+
| `to` | string | Yes | Recipient email address\(es\), comma-separated |
227+
| `comment` | string | No | Optional comment to include with the forwarded message |
228+
229+
#### Output
230+
231+
| Parameter | Type | Description |
232+
| --------- | ---- | ----------- |
233+
| `message` | string | Success or error message |
234+
| `results` | object | Delivery result details |
218235

219236

220237

apps/sim/app/(auth)/login/login-form.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,12 @@ const PASSWORD_VALIDATIONS = {
4949
},
5050
}
5151

52-
// Validate callback URL to prevent open redirect vulnerabilities
5352
const validateCallbackUrl = (url: string): boolean => {
5453
try {
55-
// If it's a relative URL, it's safe
5654
if (url.startsWith('/')) {
5755
return true
5856
}
5957

60-
// If absolute URL, check if it belongs to the same origin
6158
const currentOrigin = typeof window !== 'undefined' ? window.location.origin : ''
6259
if (url.startsWith(currentOrigin)) {
6360
return true
@@ -70,7 +67,6 @@ const validateCallbackUrl = (url: string): boolean => {
7067
}
7168
}
7269

73-
// Validate password and return array of error messages
7470
const validatePassword = (passwordValue: string): string[] => {
7571
const errors: string[] = []
7672

@@ -521,9 +517,7 @@ export default function LoginPage({
521517
</div>
522518
{resetStatus.type && (
523519
<div
524-
className={`text-sm ${
525-
resetStatus.type === 'success' ? 'text-[#4CAF50]' : 'text-red-500'
526-
}`}
520+
className={`text-sm ${resetStatus.type === 'success' ? 'text-[#4CAF50]' : 'text-red-500'}`}
527521
>
528522
{resetStatus.message}
529523
</div>

apps/sim/app/api/environment/variables/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ export async function PUT(request: NextRequest) {
109109
// If we can't decrypt the existing value, treat as changed and re-encrypt
110110
logger.warn(
111111
`[${requestId}] Could not decrypt existing variable ${key}, re-encrypting`,
112-
{ error: decryptError }
112+
{
113+
error: decryptError,
114+
}
113115
)
114116
variablesToEncrypt[key] = newValue
115117
updatedVariables.push(key)

0 commit comments

Comments
 (0)