The fastest knowledge base for growing teams. Beautiful, realtime collaborative, feature packed, and markdown compatible.
130 matches across 6 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | app/models/Collection.ts | 137 | return !!this.store.rootStore.stars.orderedData.find( |
| CRITICAL | app/models/Document.ts | 305 | return !!this.store.rootStore.stars.orderedData.find( |
| CRITICAL | app/models/Document.ts | 492 | const pin = this.store.rootStore.pins.orderedData.find( |
| CRITICAL | app/models/Document.ts | 608 | return !!this.store.rootStore.pins.orderedData.find( |
| CRITICAL | app/models/Document.ts | 616 | return !!this.store.rootStore.pins.orderedData.find( |
| CRITICAL | app/models/User.ts | 278 | return this.store.rootStore.userMemberships.orderedData.find( |
| CRITICAL | app/editor/extensions/Keys.ts | 169 | view.state.schema.nodes.paragraph.create({}) |
| CRITICAL | server/middlewares/feature.ts | 14 | if (!ctx.state.auth.user.team.getPreference(preference)) { |
| CRITICAL | shared/editor/plugins/UploadPlugin.ts | 256 | view.state.schema.nodes.image.create({ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | app/scenes/Document/components/Notices.tsx | 30 | function permanentlyDeletedDescription() { |
| LOW | app/scenes/Document/hooks/useDocumentSave.ts | 53 | export function shouldAutoDeleteDraftOnUnmount({ |
| LOW | app/scenes/Login/urls.ts | 3 | function validateAndEncodeSubdomain(subdomain: string): string { |
| LOW | app/scenes/Login/urls.ts | 3 | function validateAndEncodeSubdomain(subdomain: string): string { |
| LOW | app/utils/autotrack.js | 261 | function getOrCreateMethodChain(context, methodName) { |
| LOW | app/utils/autotrack.js | 496 | function linkClickWillUnloadCurrentPage(event, link) { |
| LOW | app/utils/emoji.ts | 17 | export function generateEmojiNameFromFilename(filename: string): string { |
| LOW | app/components/InputMemberPermissionSelect.tsx | 15 | export default function InputMemberPermissionSelect( |
| LOW | …ponents/Sidebar/components/SidebarDisclosureContext.ts | 80 | export function useSidebarDisclosureState() { |
| LOW | app/components/Sidebar/hooks/useDragAndDrop.tsx | 205 | export function useDropToChangeCollection( |
| LOW | app/components/Sidebar/hooks/useDragAndDrop.tsx | 290 | export function useDropToReparentDocument( |
| LOW | app/components/Sidebar/hooks/useDragAndDrop.tsx | 516 | export function useDropToReorderUserMembership(getIndex?: () => string) { |
| LOW | …ents/DocumentExplorer/DocumentExplorerSearchResult.tsx | 23 | function DocumentExplorerSearchResult({ |
| LOW | app/components/Notifications/Notifications.tsx | 34 | function useStableOrderedNotifications( |
| LOW | app/hooks/useTemplateSettingsActions.tsx | 23 | export function useTemplateSettingsActions( |
| LOW | app/hooks/useLocationSidebarContext.ts | 7 | export function useLocationSidebarContext() { |
| LOW | app/editor/components/CellBackgroundColorPicker.tsx | 11 | function CellBackgroundColorPicker({ activeColor, command }: Props) { |
| LOW | plugins/slack/server/presenters/userNotLinkedBlocks.ts | 6 | export function presentUserNotLinkedBlocks(team?: Team) { |
| LOW | …gins/webhooks/server/presenters/webhookSubscription.ts | 4 | export default function presentWebhookSubscription( |
| LOW | …/client/components/WebhookSubscriptionDeleteDialog.tsx | 11 | export default function WebhookSubscriptionRevokeDialog({ |
| LOW | …bhooks/client/components/WebhookSubscriptionsTable.tsx | 47 | function WebhookSubscriptionsTable(props: Props) { |
| LOW | …ooks/client/hooks/useWebhookSubscriptionMenuActions.ts | 15 | export function useWebhookSubscriptionMenuActions( |
| LOW | server/errors.ts | 21 | export function InvalidAuthenticationError( |
| LOW | server/errors.ts | 178 | export function EmailAuthenticationRequiredError( |
| LOW | server/errors.ts | 207 | export function GmailAccountCreationError( |
| LOW | server/errors.ts | 216 | export function OIDCMalformedUserInfoError( |
| LOW | server/errors.ts | 225 | export function AuthenticationProviderDisabledError( |
| LOW | server/tools/util.ts | 234 | export async function getBreadcrumbsForDocuments( |
| LOW | server/test/factories.ts | 833 | export async function buildOAuthAuthorizationCode( |
| LOW | server/middlewares/rateLimiter.ts | 111 | return async function registerRateLimiterMiddleware( |
| LOW | server/middlewares/csrf.ts | 20 | return async function attachCSRFTokenMiddleware(ctx: AppContext, next: Next) { |
| LOW | server/middlewares/csrf.ts | 73 | return async function verifyCSRFTokenMiddleware(ctx: AppContext, next: Next) { |
| LOW | server/middlewares/validateWebhook.ts | 15 | return async function validateWebhookMiddleware(ctx: APIContext, next: Next) { |
| LOW | server/middlewares/apexAuthRedirect.ts | 27 | return async function apexAuthRedirectMiddleware( |
| LOW | server/utils/jwt.ts | 99 | export async function getUserForEmailSigninToken( |
| LOW | server/utils/jwt.ts | 133 | export async function getDetailsForEmailUpdateToken( |
| LOW | server/utils/embeds.ts | 226 | export function convertBareUrlsToEmbedMarkdown( |
| LOW | server/utils/fs.ts | 27 | function encodeWindowsUnsafeCharacter(char: string): string { |
| LOW | server/utils/passport.ts | 346 | function getAuthenticatedUserSessionHash(ctx: Context): string | undefined { |
| LOW | server/presenters/oauthClient.ts | 82 | export function presentPublishedOAuthClient(oauthClient: OAuthClient) { |
| LOW | server/presenters/authenticationProvider.ts | 9 | export default function presentAuthenticationProvider( |
| LOW | server/presenters/oauthAuthentication.ts | 4 | export default function presentOAuthAuthentication( |
| LOW | server/storage/database.ts | 266 | export function applyStatementTimeoutToTransactions( |
| LOW | server/storage/database.ts | 322 | export function monkeyPatchSequelizeErrorsForTests(instance: Sequelize) { |
| LOW | server/queues/tasks/JSONAPIImportTask.ts | 65 | export function rewriteAttachmentReferences( |
| LOW | server/commands/documentCollaborativeUpdater.ts | 25 | export default async function documentCollaborativeUpdater({ |
| LOW | server/routes/app.ts | 36 | function formatChildDocumentsAsMarkdown( |
| LOW | server/routes/oauth/middlewares/oauthErrorHandler.ts | 13 | return async function oauthErrorHandlerMiddleware(ctx: Context, next: Next) { |
| LOW | server/routes/oauth/middlewares/registrationAuth.ts | 13 | return async function registrationAuthMiddleware(ctx: Context, next: Next) { |
| LOW | server/routes/api/developer/developer.ts | 17 | return async function checkDevelopmentMiddleware(ctx: Context, next: Next) { |
| LOW | server/routes/api/middlewares/apiErrorHandler.ts | 13 | return async function apiErrorHandlerMiddleware(ctx: Context, next: Next) { |
| LOW | server/logging/tracer.ts | 10 | function isExplicitlyNonReportable(error: Error): error is ReportableError { |
| LOW | server/logging/tracer.ts | 72 | export function getRootSpanFromRequestContext( |
| LOW | shared/test/editor.ts | 48 | export function createEditorStateWithSelection( |
| LOW | shared/utils/date.ts | 252 | export function getCurrentDateTimeAsString(locale?: Intl.LocalesArgument) { |
| LOW | shared/editor/nodes/TableHeader.ts | 190 | function createColumnDragDecorations(state: EditorState): DecorationSet { |
| LOW | shared/editor/queries/table.ts | 478 | export function getColorSetForSelectedCells(selection: Selection): Set<string> { |
| LOW | shared/editor/queries/table.ts | 501 | export function getDocumentTableBackgroundColors(state: EditorState): string[] { |
| LOW | shared/editor/queries/getMarkRange.ts | 60 | export function getMarkRangeNodeSelection( |
| LOW | shared/editor/queries/toggleBlock.ts | 75 | export function isSelectionInToggleBlockHead(state: EditorState): boolean { |
| 9 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | plugins/email/server/auth/email.test.ts | 133 | email: "user@example.com", |
| LOW | server/utils/validators.test.ts | 259 | expect(isMailboxAddress("user@example.com")).toBe(true); |
| LOW | server/utils/VerificationCode.test.ts | 6 | const email = "user@example.com"; |
| LOW | server/utils/VerificationCode.test.ts | 41 | "user@example.com" |
| LOW | server/utils/VerificationCode.test.ts | 44 | await VerificationCode.delete(teamId, "user@example.com"); |
| LOW | server/models/ShareSubscription.test.ts | 77 | ShareSubscription.normalizeEmailFingerprint("user@example.com"); |
| LOW | server/models/ShareSubscription.test.ts | 84 | ).toBe(ShareSubscription.normalizeEmailFingerprint("user@example.com")); |
| LOW | server/models/ShareSubscription.test.ts | 106 | ).toBe(ShareSubscription.normalizeEmailFingerprint("user@example.com")); |
| LOW | server/models/ShareSubscription.test.ts | 130 | ).toBe(ShareSubscription.normalizeEmailFingerprint("user@example.com")); |
| LOW | server/models/ShareSubscription.test.ts | 156 | ShareSubscription.normalizeEmailFingerprint("user@example.com"); |
| LOW | server/routes/api/users/users.test.ts | 26 | name: "John Doe", |
| LOW | server/routes/api/shares/shares.test.ts | 1376 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1378 | ShareSubscription.normalizeEmailFingerprint("user@example.com"), |
| LOW | server/routes/api/shares/shares.test.ts | 1387 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1400 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1402 | ShareSubscription.normalizeEmailFingerprint("user@example.com"), |
| LOW | server/routes/api/shares/shares.test.ts | 1412 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1428 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1453 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1454 | emailFingerprint: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1479 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1480 | emailFingerprint: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1504 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1505 | emailFingerprint: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1536 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1537 | emailFingerprint: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1563 | email: "user@example.com", |
| LOW | server/routes/api/shares/shares.test.ts | 1564 | emailFingerprint: "user@example.com", |
| LOW | shared/utils/csv.test.ts | 68 | { id: "1", name: "John Doe", email: "john@example.com" }, |
| LOW | shared/utils/TextHelper.test.ts | 15 | name: "John Doe", |
| LOW | shared/editor/rules/mention.test.ts | 46 | label: "John Doe", |
| LOW | shared/editor/rules/mention.test.ts | 74 | expect(mentions[0].label).toBe("John Doe"); |
| LOW | shared/editor/rules/mention.test.ts | 110 | expect(mentions[0].label).toBe("John Doe"); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | app/models/Comment.ts | 203 | // Step 1: Update the reactions cache. |
| LOW | app/models/Comment.ts | 223 | // Step 2: Add the user to the store. |
| LOW | …ver/queues/tasks/UpdateDocumentsPopularityScoreTask.ts | 183 | // Step 1: Read document IDs from readonly replica to avoid locking |
| LOW | …ver/queues/tasks/UpdateDocumentsPopularityScoreTask.ts | 220 | // Step 2: Insert the IDs into the working table on primary |
| LOW | …ver/queues/tasks/UpdateDocumentsPopularityScoreTask.ts | 272 | // Step 1: Get batch of document IDs to process |
| LOW | …ver/queues/tasks/UpdateDocumentsPopularityScoreTask.ts | 292 | // Step 2: Calculate scores outside of a transaction |
| LOW | …ver/queues/tasks/UpdateDocumentsPopularityScoreTask.ts | 299 | // Step 3: Update document scores |
| LOW | …ver/queues/tasks/UpdateDocumentsPopularityScoreTask.ts | 302 | // Step 4: Mark batch as processed |
| LOW | server/routes/api/auth/auth.ts | 139 | // If the user did not _just_ sign in then we need to check if they continue |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | server/typings/outlinewiki__koa-passport.d.ts | 1 | declare module "@outlinewiki/koa-passport" { |
| LOW | server/utils/requestFilteringAgent/index.ts | 1 | /* oxlint-disable no-restricted-imports */ |
| LOW | server/policies/cancan.ts | 281 | // https://github.com/microsoft/TypeScript/issues/36931 |
| LOW | server/policies/cancan.ts | 301 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| LOW | server/logging/tracing.ts | 1 | // MIT License |
| LOW | shared/editor/lib/markdown/serializer.ts | 1 | /* oxlint-disable @typescript-eslint/ban-ts-comment */ |
| LOW | shared/editor/lib/markdown/serializer.ts | 21 | // called as |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| LOW | .github/workflows/codeql-analysis.yml | 61 | # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | README.md | 32 | > **Note:** Please do not submit AI-generated pull requests. We receive a high volume of mass, low-quality PRs generated |