MCPcopy Create free account

hub / github.com/Scribouilli/scribouilli / functions

Functions135 in github.com/Scribouilli/scribouilli

↓ 15 callersFunctionreplaceComponent
( newComponent: Component<P>, newMapStateToProps: MapStateToPropsFunction, )
assets/scripts/routeComponentLifeCycle.svelte.ts:13
↓ 12 callersMethodcallAPI
(url: string, requestParams?: RequestInit)
assets/scripts/oauth-services-api/github.ts:170
↓ 11 callersFunctiongetOAuthServiceAPI
()
assets/scripts/oauth-services-api/index.ts:27
↓ 9 callersFunctionhandleErrors
(errorMessage: string)
assets/scripts/utils.ts:10
↓ 8 callersFunctionshowArticles
(state: ScribouilliState)
assets/scripts/actions/article.ts:12
↓ 7 callersMethodgetFile
* @summary Get file informations
assets/scripts/GitAgent.ts:374
↓ 7 callersFunctionisItStillCompiling
(lastCommit: CommitObject)
assets/scripts/utils.ts:95
↓ 7 callersFunctionsetBuildingAndCheckStatusLater
( scribouilliGitRepo: ScribouilliGitRepo, gitAgent: GitAgent, t = 30000, )
assets/scripts/buildStatus.ts:26
↓ 6 callersMethodcallAPI
(url: string, requestParams?: RequestInit)
assets/scripts/oauth-services-api/gitlab.ts:213
↓ 6 callersFunctionlogMessage
( errorMessage: string, caller: string = 'unknown', level: 'log' | 'warn' | 'error' = 'log', )
assets/scripts/utils.ts:84
↓ 6 callersFunctionsetCurrentRepositoryFromQuerystring
( querystring: string, )
assets/scripts/actions/current-repository.ts:40
↓ 5 callersMethod#path
(filename: string)
assets/scripts/GitAgent.ts:64
↓ 5 callersFunctionmakeAtelierListPageURL
({ owner, repoName, }: ScribouilliGitRepo)
assets/scripts/routes/urls.ts:3
↓ 5 callersFunctionwriteFileAndPushChanges
( fileName: string, content: string | Uint8Array, commitMessage: string = '', localStore = store, )
assets/scripts/actions/file.ts:23
↓ 4 callersFunctionfetchAuthenticatedUserLogin
()
assets/scripts/actions/current-user.ts:27
↓ 3 callersMethodcurrentBranch
()
assets/scripts/GitAgent.ts:89
↓ 3 callersFunctiondeleteFileAndCommit
( fileName: string, commitMessage: string = '', localStore = store, )
assets/scripts/actions/file.ts:39
↓ 3 callersFunctiondeleteFileAndPushChanges
( fileName: string, commitMessage: string, localStore = store, )
assets/scripts/actions/file.ts:58
↓ 3 callersFunctionfetchCurrentUserRepositories
()
assets/scripts/actions/current-user.ts:96
↓ 3 callersMethodgetAuthenticatedUser
()
assets/scripts/oauth-services-api/gitlab.ts:45
↓ 3 callersFunctiongetCurrentRepoArticles
()
assets/scripts/actions/current-repository.ts:27
↓ 3 callersFunctiongetCurrentRepoPages
()
assets/scripts/actions/current-repository.ts:23
↓ 3 callersFunctionmakeRepoId
(owner: string, repoName: string)
assets/scripts/scribouilliGitRepo.ts:50
↓ 3 callersMethodremoveFile
* @summary Remove file from git tree and from the file system
assets/scripts/GitAgent.ts:303
↓ 3 callersMethodsafePush
* @summary This version of git push tries to push * then tries to pull if the push fails * and tries again to push if the pull succeeded
assets/scripts/GitAgent.ts:147
↓ 3 callersFunctionscheduleCheck
( scribouilliGitRepo: ScribouilliGitRepo, gitAgent: GitAgent, delay = 5000, )
assets/scripts/buildStatus.ts:10
↓ 3 callersFunctionwriteFileAndCommit
( fileName: string, content: string | Uint8Array, commitMessage?: string, localStore: PartialStore<'gi
assets/scripts/actions/file.ts:4
↓ 2 callersMethod#createRemoteRef
* @summary helper to create ref strings for remotes
assets/scripts/GitAgent.ts:71
↓ 2 callersFunctionblogIndex
(state: ScribouilliState)
assets/scripts/actions/article.ts:23
↓ 2 callersMethodcheckout
( ref: string | undefined = undefined, )
assets/scripts/GitAgent.ts:210
↓ 2 callersMethodclone
()
assets/scripts/GitAgent.ts:75
↓ 2 callersMethodcommit
* @summary Create a commit with the given message.
assets/scripts/GitAgent.ts:292
↓ 2 callersFunctioncurrentMapStateToProps
assets/scripts/routeComponentLifeCycle.svelte.ts:11
↓ 2 callersMethodfalliblePush
* @summary This version of git push may fail if the remote repo * has unmerged changes
assets/scripts/GitAgent.ts:129
↓ 2 callersMethodfetchAndTryMerging
* @summary like a git pull but the merge is better customized
assets/scripts/GitAgent.ts:316
↓ 2 callersFunctiongetCurrentRepoConfig
()
assets/scripts/actions/current-repository.ts:235
↓ 2 callersMethodgetOauthUsernameAndPassword
()
assets/scripts/oauth-services-api/gitlab.ts:33
↓ 2 callersMethodgetPagesWebsiteDeploymentStatus
({ owner, repoName, }: ScribouilliGitRepo)
assets/scripts/oauth-services-api/gitlab.ts:137
↓ 2 callersMethodlistFiles
(dir: string)
assets/scripts/GitAgent.ts:406
↓ 2 callersMethodlistRemotes
()
assets/scripts/GitAgent.ts:110
↓ 2 callersFunctionlogout
()
assets/scripts/actions/current-user.ts:9
↓ 2 callersFunctionmakeArticleFileName
(title: string, date: Date)
assets/scripts/utils.ts:53
↓ 2 callersFunctionmakeArticleFrontMatter
(title: string)
assets/scripts/utils.ts:76
↓ 2 callersFunctionmakeAtelierListArticlesURL
({ owner, repoName, }: ScribouilliGitRepo)
assets/scripts/routes/atelier-list-articles.ts:34
↓ 2 callersFunctionmakeFileNameFromTitle
(title: string)
assets/scripts/utils.ts:49
↓ 2 callersFunctionmakeFilenameCompatibleString
(string: string)
assets/scripts/utils.ts:39
↓ 2 callersFunctionmakePageFrontMatter
( title: string, index: number | null = 1, inMenu: boolean = true, blogIndex?: boolean, )
assets/scripts/utils.ts:59
↓ 2 callersFunctionmakePublicRepositoryURL
( owner: string, repoName: string, origin: string, )
assets/scripts/scribouilliGitRepo.ts:57
↓ 2 callersFunctionsaveCustomCSS
( css: string, store: PartialStore< 'currentRepository' | 'gitAgent', 'setTheme' > = defaultStor
assets/scripts/actions/current-repository.ts:252
↓ 2 callersMethodsetAuthor
* Assigne l'auteur et l'email pour les commits git * * On voudrait le faire en global, mais ça n'est pas possible actuellement avec isomorphic-g
assets/scripts/GitAgent.ts:349
↓ 2 callersFunctionsetBaseUrlInConfigIfNecessary
( baseUrl?: string, )
assets/scripts/actions/current-repository.ts:132
↓ 1 callersMethodbranch
( branch: string, force: boolean = false, checkout: boolean = true, )
assets/scripts/GitAgent.ts:96
↓ 1 callersFunctioncreateArticle
( title: string, content: string, )
assets/scripts/actions/article.ts:81
↓ 1 callersMethodcreateDefaultRepository
( scribouilliGitRepo: ScribouilliGitRepo, { url: gitRepoUrl }: GitSiteTemplate, )
assets/scripts/oauth-services-api/gitlab.ts:90
↓ 1 callersFunctioncreatePage
( content: string, title: string, index: number, )
assets/scripts/actions/page.ts:63
↓ 1 callersMethodcurrentCommit
( ref: string | undefined = undefined, )
assets/scripts/GitAgent.ts:197
↓ 1 callersFunctiondeleteArticle
( fileName: string, )
assets/scripts/actions/article.ts:64
↓ 1 callersFunctiondeletePage
( fileName: string, )
assets/scripts/actions/page.ts:45
↓ 1 callersMethoddeploy
(scribouilliGitRepo: ScribouilliGitRepo)
assets/scripts/oauth-services-api/gitlab.ts:115
↓ 1 callersMethodfetch
()
assets/scripts/GitAgent.ts:186
↓ 1 callersFunctionfileP
()
assets/scripts/routes/atelier-pages.ts:84
↓ 1 callersMethodforcePush
* @summary like git push --force
assets/scripts/GitAgent.ts:172
↓ 1 callersFunctiongetArticlesList
()
assets/scripts/actions/article.ts:31
↓ 1 callersFunctiongetBuildStatus
* mimoza includes the hash of the latest built commit in a comment in the HTML * of each page. We use that to know which version is currently online,
assets/scripts/buildStatus.ts:43
↓ 1 callersMethodgetCurrentUserRepositories
()
assets/scripts/oauth-services-api/gitlab.ts:71
↓ 1 callersFunctiongetPagesList
()
assets/scripts/actions/page.ts:12
↓ 1 callersMethodgetPagesWebsiteDeploymentStatus
({ repoId }: ScribouilliGitRepo)
assets/scripts/oauth-services-api/github.ts:119
↓ 1 callersMethodgetPublishedWebsiteURL
({ repoName, owner, origin }: ScribouilliGitRepo)
assets/scripts/oauth-services-api/gitlab.ts:185
↓ 1 callersMethodgetUserEmails
()
assets/scripts/oauth-services-api/gitlab.ts:61
↓ 1 callersFunctiongetViaApi
(scribouilliGitRepo: ScribouilliGitRepo)
assets/scripts/buildStatus.ts:126
↓ 1 callersFunctionguessBaseURL
({ owner, repoName, origin, }: ScribouilliGitRepo)
assets/scripts/actions/setup.ts:72
↓ 1 callersFunctioninstallPluginIfNecessary
( plugin: string, version: string, )
assets/scripts/actions/current-repository.ts:185
↓ 1 callersMethodisRepositoryReady
({ owner, repoName }: ScribouilliGitRepo)
assets/scripts/oauth-services-api/gitlab.ts:170
↓ 1 callersMethodlistBranches
(remote: string)
assets/scripts/GitAgent.ts:117
↓ 1 callersFunctionmakeLoginHref
( gitProvider: string, client_id: string, redirect_url: string, )
assets/scripts/routes/login.ts:43
↓ 1 callersFunctionmakeMapStateToProps
(fileName: string)
assets/scripts/routes/atelier-articles.ts:21
↓ 1 callersFunctionmakeMapStateToProps
(fileName: string)
assets/scripts/routes/atelier-pages.ts:16
↓ 1 callersFunctionmakeOAuthServiceAPI
({ accessToken, origin, }: OAuthProvider)
assets/scripts/oauth-services-api/index.ts:7
↓ 1 callersMethodpullOrCloneRepo
()
assets/scripts/GitAgent.ts:321
↓ 1 callersFunctionredirectURLByProvider
(gitProvider: string, destination: string)
assets/scripts/routes/login.ts:34
↓ 1 callersFunctionsetBuildStatus
( scribouilliGitRepo: ScribouilliGitRepo, gitAgent: GitAgent, )
assets/scripts/actions/current-repository.ts:105
↓ 1 callersFunctionsetupLocalRepository
()
assets/scripts/actions/setup.ts:48
↓ 1 callersFunctionstoreOAuthProviderAccess
()
assets/scripts/routes/after-oauth-login.ts:15
↓ 1 callersMethodtryMerging
* @summary This function tries to merge * If it fails, it forwards the conflict to this.onMergeConflict with resolution propositions
assets/scripts/GitAgent.ts:224
↓ 1 callersFunctionupdateArticle
( fileName: string, title: string, content: string, )
assets/scripts/actions/article.ts:109
↓ 1 callersFunctionupdatePage
( fileName: string, title: string, content: string, index: number, blogIndex: boolean, )
assets/scripts/actions/page.ts:90
↓ 1 callersFunctionwaitOauthProvider
()
assets/scripts/actions/setup.ts:34
↓ 1 callersFunctionwaitRepoReady
( scribouilliGitRepo: ScribouilliGitRepo, )
assets/scripts/actions/setup.ts:16
↓ 1 callersMethodwriteFile
* @summary Create or update a file and add it to the git staging area
assets/scripts/GitAgent.ts:387
FunctionaddConflictRemovalAndRedirectToResolution
( resolution: ResolutionOption['resolution'], )
assets/scripts/actions/current-user.ts:110
MethodapiBaseUrl
()
assets/scripts/oauth-services-api/gitlab.ts:29
MethodcheckFileExistence
(filename: string)
assets/scripts/GitAgent.ts:410
Methodconstructor
({ repoId, origin, publicRepositoryURL, owner, repoName, gitServiceProvider, }: {
assets/scripts/scribouilliGitRepo.ts:12
Methodconstructor
({ repoId, remoteURL, corsProxyURL = DEFAULT_CORS_PROXY_URL, auth, onMergeConflict, }: {
assets/scripts/GitAgent.ts:34
Methodconstructor
(accessToken: string, origin: string, gitAgent: () => GitAgent)
assets/scripts/oauth-services-api/gitlab.ts:18
Methodconstructor
(accessToken: string)
assets/scripts/oauth-services-api/github.ts:10
MethodcreateDefaultRepository
( { owner, repoName, publishedWebsiteURL }: ScribouilliGitRepo, template: GitSiteTemplate, )
assets/scripts/oauth-services-api/github.ts:45
FunctioncreateRepositoryForCurrentAccount
( repoName: string, template: GitSiteTemplate, )
assets/scripts/actions/setup.ts:109
Functiondelay
(ms: number)
assets/scripts/utils.ts:92
Methoddeploy
({ repoId }: ScribouilliGitRepo)
assets/scripts/oauth-services-api/github.ts:106
next →1–100 of 135, ranked by callers