The painless way to host your own Git service
63 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mockgen.yaml | 1 | force: true |
| LOW | web/src/pages/repo/Commit.tsx | 281 | }, []); |
| LOW | web/src/pages/repo/Commit.search.ts | 1 | // Search-param schema for the commit diff route. Defined here (and not in |
| LOW | internal/database/users.go | 1421 | |
| LOW | internal/database/mocks_gen.go | 201 | // method Authenticate on an instance of MockProvider. |
| LOW | internal/database/database.go | 121 | return db, nil |
| LOW | internal/database/mocks_test.go | 1 | // Code generated by go-mockgen 2.1.1; DO NOT EDIT. |
| LOW | internal/database/mocks_test.go | 381 | // LoginSourceFileStoreSetGeneralFuncCall is an object that describes an |
| LOW | internal/database/mocks_test.go | 401 | func (c LoginSourceFileStoreSetGeneralFuncCall) Results() []interface{} { |
| LOW | internal/context/auth.go | 121 | // GetUserByUsername returns the user with given username. It returns |
| LOW | internal/context/store.go | 21 | // database.ErrUserNotExist when not found. |
| LOW | internal/route/user/setting.go | 741 | // SettingsStore is the data layer carrier for user settings endpoints. This |
| LOW | internal/route/lfs/store.go | 41 | // GetUserByID returns the user with given ID. It returns |
| LOW | internal/route/lfs/mocks_test.go | 21 | // controlling the behavior of the method AuthenticateUser. |
| LOW | internal/route/lfs/mocks_test.go | 41 | GetLFSObjectsByOIDsFunc *StoreGetLFSObjectsByOIDsFunc |
| LOW | internal/route/lfs/mocks_test.go | 321 | // Arg1 is the value of the 2nd argument passed to this method |
| LOW | internal/route/lfs/mocks_test.go | 541 | |
| LOW | internal/route/lfs/mocks_test.go | 661 | // Arg0 is the value of the 1st argument passed to this method |
| LOW | internal/route/lfs/mocks_test.go | 881 | // of method GetLFSObjectByOID on an instance of MockStore. |
| LOW | internal/route/repo/store.go | 21 | // returns database.ErrRepoNotExist when not found. |
| LOW | internal/route/repo/store.go | 41 | // |
| LOW | public/plugins/codemirror-5.17.0/mode/markdown/test.js | 801 | MT("emStrongMixed", |
| LOW | public/plugins/codemirror-5.17.0/mode/erlang/erlang.js | 461 | |
| LOW | public/plugins/codemirror-5.17.0/mode/tcl/index.html | 21 | <li><a href="../index.html">Language modes</a> |
| LOW | public/plugins/codemirror-5.17.0/mode/tcl/index.html | 41 | ## ## Start Setup. ## ## |
| LOW | public/plugins/codemirror-5.17.0/mode/sas/sas.js | 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others |
| LOW | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 21 | <li><a class=active href="#">CoffeeScript</a> |
| LOW | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 41 | # **Underscore.coffee |
| LOW | public/plugins/codemirror-5.17.0/mode/rpm/index.html | 61 | indentUnit: 4 |
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 54 | # -------------- |
| MEDIUM | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 123 | # -------------------- |
| MEDIUM | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 296 | # --------------- |
| MEDIUM | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 405 | # ------------------ |
| MEDIUM | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 464 | # ---------------- |
| MEDIUM | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 597 | # ----------------- |
| MEDIUM | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 681 | # --------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | public/js/semantic-2.4.2.min.js | 11 | !function(p,h,v,b){p.site=p.fn.site=function(e){var s,l,i=(new Date).getTime(),o=[],t=e,n="string"==typeof t,c=[].slice. |
| CRITICAL | public/js/jquery-3.7.1.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 106 | # Create a safe reference to the Underscore object for use below. |
| MEDIUM | …plugins/codemirror-5.17.0/mode/coffeescript/index.html | 407 | # Create a function bound to a given object (assigning `this`, and arguments, |
| MEDIUM | public/plugins/codemirror-5.17.0/mode/puppet/index.html | 55 | # Create a subdirectory in /etc for config files |
| MEDIUM | public/plugins/codemirror-5.17.0/mode/puppet/index.html | 63 | # Create an example backup file, useful for reference |
| MEDIUM | public/plugins/codemirror-5.17.0/mode/puppet/index.html | 91 | # Create the base backup directory |
| MEDIUM | public/plugins/codemirror-5.17.0/mode/ruby/index.html | 97 | # Create a string of the polynomial in sort-of-readable form. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | public/plugins/highlight-9.18.0/highlight.pack.js | 2 | !function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"==typeof exports||exports.nod |
| MEDIUM | public/plugins/highlight-9.18.0/highlight.pack.js | 2 | !function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"==typeof exports||exports.nod |
| MEDIUM | public/plugins/highlight-9.18.0/highlight.pack.js | 2 | !function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"==typeof exports||exports.nod |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | internal/database/organizations_test.go | 118 | org1, err := usersStore.Create(ctx, "org1", "org1@example.com", CreateUserOptions{FullName: "Acme Corp"}) |
| LOW | public/plugins/codemirror-5.17.0/mode/textile/test.js | 80 | 'user@example.com'); |
| LOW | public/plugins/codemirror-5.17.0/mode/rst/index.html | 419 | Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_ |
| LOW | public/plugins/codemirror-5.17.0/mode/rst/index.html | 419 | Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_ |
| LOW | public/plugins/codemirror-5.17.0/mode/rst/index.html | 437 | Lorem ipsum [Ref]_ dolor sit amet. |
| LOW | public/plugins/codemirror-5.17.0/mode/rst/index.html | 437 | Lorem ipsum [Ref]_ dolor sit amet. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | public/plugins/codemirror-5.17.0/mode/dart/dart.js | 124 | function tokenInterpolationIdentifier(stream, state) { |
| LOW | public/plugins/codemirror-5.17.0/mode/markdown/test.js | 42 | function FormatTokenTypeOverrideTest(name) { test.mode(name, modeFormattingOverride, Array.prototype.slice.call(argume |
| LOW | …lugins/codemirror-5.17.0/mode/powershell/powershell.js | 282 | function tokenHereStringInterpolation(stream, state) { |
| LOW | public/plugins/codemirror-5.17.0/mode/slim/slim.js | 265 | function startAttributeWrapperMode(state, endQuote, tokenize) { |
| LOW | public/plugins/codemirror-5.17.0/mode/sass/sass.js | 93 | function buildInterpolationTokenizer(currentTokenizer) { |
| LOW | public/js/gogs.js | 1342 | function initRepositoryCollaboration() { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | conf/locale/locale_en-GB.ini | 386 | delete_token_success=Personal access token has been removed successfully! Don't forget to update your application as wel |
| LOW | conf/locale/locale_en-US.ini | 434 | delete_token_success = Personal access token has been removed successfully! Don't forget to update your application as w |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | public/plugins/codemirror-5.17.0/mode/ruby/index.html | 102 | # Assign exponents to each term, making pairs of coeff and exponent, |