Open Source realtime backend in 1 file
259 matches across 8 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ui/src/records/recordsList.js | 541 | tabIndex: 0, |
| LOW | ui/src/fields/autodate/onrecordduplicate.js | 1 | // { |
| LOW | ui/src/fields/file/onrecordduplicate.js | 1 | // { |
| LOW | tools/logger/batch_handler.go | 21 | // BeforeAddFunc is optional function that is invoked every time |
| LOW | tools/logger/batch_handler.go | 41 | // |
| LOW | tools/template/registry.go | 1 | // Package template is a thin wrapper around the standard html/template |
| LOW | tools/template/registry.go | 61 | // |
| LOW | tools/mailer/smtp.go | 161 | |
| LOW | tools/mailer/smtp.go | 181 | |
| LOW | tools/filesystem/filesystem.go | 121 | } |
| LOW | tools/filesystem/internal/s3blob/s3blob.go | 1 | // Package s3blob provides a blob.Bucket S3 driver implementation. |
| LOW | tools/filesystem/internal/s3blob/s3blob.go | 401 | return w.err |
| LOW | tools/filesystem/internal/s3blob/s3/uploader.go | 41 | // Metadata specifies the optional metadata to write with the object upload. |
| LOW | tools/filesystem/internal/s3blob/s3/list_objects.go | 21 | // For directory buckets, "/" is the only supported delimiter. |
| LOW | tools/filesystem/internal/s3blob/s3/s3.go | 1 | // Package s3 implements a lightweight client for interacting with the |
| LOW | tools/filesystem/internal/fileblob/attrs.go | 1 | package fileblob |
| LOW | tools/filesystem/internal/fileblob/fileblob.go | 1 | // Package fileblob provides a blob.Bucket driver implementation. |
| LOW | tools/filesystem/internal/fileblob/fileblob.go | 21 | // In either case, absent any stored metadata many `blob.Attributes` fields |
| LOW | tools/filesystem/blob/bucket.go | 1 | // Package blob defines a lightweight abstration for interacting with |
| LOW | tools/filesystem/blob/bucket.go | 61 | // Delimiter sets the delimiter used to define a hierarchical namespace, |
| LOW | tools/filesystem/blob/bucket.go | 81 | // PageToken may be filled in with the NextPageToken from a previous |
| LOW | tools/filesystem/blob/bucket.go | 201 | var FirstPageToken = []byte("first page") |
| LOW | tools/filesystem/blob/bucket.go | 301 | |
| LOW | tools/filesystem/blob/bucket.go | 481 | // |
| LOW | tools/filesystem/blob/bucket.go | 501 | // displayed inline or as an attachment. |
| LOW | tools/filesystem/blob/bucket.go | 521 | // When true, if ContentType is the empty string, it will stay the empty |
| LOW | tools/filesystem/blob/bucket.go | 541 | // NewWriter returns a Writer that writes to the blob stored at key. |
| LOW | tools/filesystem/blob/writer.go | 21 | // https://www.apache.org/licenses/LICENSE-2.0 |
| LOW | tools/filesystem/blob/reader.go | 41 | savedOffset int64 // Last relativeOffset for r, saved after relativeOffset is changed in Seek, or -1 if no Seek. |
| LOW | tools/filesystem/blob/hex.go | 1 | package blob |
| LOW | tools/filesystem/blob/hex.go | 21 | // distributed under the License is distributed on an "AS IS" BASIS, |
| LOW | tools/filesystem/blob/driver.go | 41 | |
| LOW | tools/filesystem/blob/driver.go | 61 | // NewTypedWriter returns Writer that writes to an object associated with key. |
| LOW | tools/filesystem/blob/driver.go | 81 | // Copy copies the object associated with srcKey to dstKey. |
| LOW | tools/subscriptions/client.go | 21 | } |
| LOW | tools/search/simple_field_resolver.go | 21 | // ResolverResult defines a single FieldResolver.Resolve() successfully parsed result. |
| LOW | tools/search/filter.go | 21 | // |
| LOW | tools/search/token_functions.go | 61 | // strftime(format, [timeValue, modifier1, modifier2, ...]) returns |
| LOW | tools/hook/hook.go | 21 | // |
| LOW | tools/hook/hook.go | 41 | // hook.Event |
| LOW | tools/cron/schedule.go | 81 | // |
| LOW | tools/router/rereadable_read_closer.go | 21 | // NB! Make sure to call Close after done working with the reader. |
| LOW | tools/router/event.go | 321 | |
| LOW | tools/router/event.go | 341 | // - "form" (form data) - utilizes the custom [router.UnmarshalRequestData] method. |
| LOW | tools/router/unmarshal_request_data.go | 21 | // |
| LOW | tools/router/unmarshal_request_data.go | 41 | // |
| LOW | tools/router/router.go | 21 | type EventFactoryFunc[T hook.Resolver] func(w http.ResponseWriter, r *http.Request) (T, EventCleanupFunc) |
| LOW | apis/record_auth_with_oauth2_redirect.go | 121 | // fallback if UI is not bundled |
| LOW | apis/serve.go | 41 | // |
| LOW | apis/record_crud.go | 101 | return firstApiError(err, e.InternalServerError("Failed to enrich records", err)) |
| LOW | apis/middlewares_gzip.go | 41 | // |
| LOW | apis/middlewares_gzip.go | 221 | } |
| LOW | apis/middlewares_cors.go | 1 | package apis |
| LOW | apis/middlewares_cors.go | 41 | // |
| LOW | apis/middlewares_cors.go | 61 | // accessing the resource. This is used in response to a preflight request. |
| LOW | apis/middlewares_cors.go | 81 | // response to a preflight request, this indicates whether or not the actual |
| LOW | apis/middlewares_cors.go | 101 | UnsafeWildcardOriginWithAllowCredentials bool |
| LOW | apis/record_auth_with_oauth2.go | 341 | // prevent pre-hijacking with password auth |
| LOW | apis/base.go | 101 | // - if "path" is a file that ends in index.html, it is redirected to its non-index.html version (eg. /test/index.html |
| LOW | core/field_number.go | 21 | var ( |
| 125 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | ui/src/apiPreview/docsAuthWithOAuth2.js | 135 | print(pb.authStore.isValid); |
| HIGH | ui/src/apiPreview/docsAuthWithOAuth2.js | 136 | print(pb.authStore.token); |
| HIGH | ui/src/apiPreview/docsAuthWithOAuth2.js | 137 | print(pb.authStore.record.id); |
| HIGH | ui/src/apiPreview/docsAuthRefresh.js | 113 | print(pb.authStore.isValid); |
| HIGH | ui/src/apiPreview/docsAuthRefresh.js | 114 | print(pb.authStore.token); |
| HIGH | ui/src/apiPreview/docsAuthRefresh.js | 115 | print(pb.authStore.record.id); |
| HIGH | ui/src/apiPreview/docsAuthWithPassword.js | 114 | print(pb.authStore.isValid); |
| HIGH | ui/src/apiPreview/docsAuthWithPassword.js | 115 | print(pb.authStore.token); |
| HIGH | ui/src/apiPreview/docsAuthWithPassword.js | 116 | print(pb.authStore.record.id); |
| HIGH | ui/src/apiPreview/docsAuthWithOTP.js | 98 | print(pb.authStore.isValid); |
| HIGH | ui/src/apiPreview/docsAuthWithOTP.js | 99 | print(pb.authStore.token); |
| HIGH | ui/src/apiPreview/docsAuthWithOTP.js | 100 | print(pb.authStore.record.id); |
| HIGH | ui/src/apiPreview/docsRealtime.js | 108 | print(e.action); |
| HIGH | ui/src/apiPreview/docsRealtime.js | 109 | print(e.record); |
| HIGH | ui/src/apiPreview/docsRealtime.js | 114 | print(e.action); |
| HIGH | ui/src/apiPreview/docsRealtime.js | 115 | print(e.record); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | CHANGELOG_16_22.md | 566 | app.Logger().Info("Example message", "total", 123, "details", "lorem ipsum...") |
| LOW | CHANGELOG_16_22.md | 569 | $app.logger().info("Example message", "total", 123, "details", "lorem ipsum...") |
| LOW | CHANGELOG_16_22.md | 1044 | app.Dao().FindRecordsByFilter("posts", "title ~ 'lorem ipsum' && visible = true", "-created", 10) |
| LOW | ui/src/fields/editor/init.js | 17 | return "Lorem ipsum dolor sit amet..."; |
| LOW | ui/src/fields/editor/init.js | 17 | return "Lorem ipsum dolor sit amet..."; |
| LOW | ui/src/apiPreview/docsAuthWithOAuth2.js | 21 | "name": "John Doe", |
| LOW | tools/logger/batch_handler.go | 52 | // l.Info("Example message", "title", "lorem ipsum") |
| LOW | tools/inflector/inflector_test.go | 128 | {"John Doe", "john_doe"}, |
| LOW | tools/mailer/html2text_test.go | 74 | <p>Lorem ipsum</p> |
| LOW | tools/mailer/html2text_test.go | 75 | <p>Dolor sit amet</p> |
| LOW | tools/mailer/html2text_test.go | 117 | "Lorem ipsum \r\nDolor sit amet \r\n[Verify](a/b/c) \r\n[Verify2.1 Verify2.2](a/b/c) \r\n\r\n- ul.test1 \r\n- ul.te |
| LOW | tools/mailer/html2text_test.go | 117 | "Lorem ipsum \r\nDolor sit amet \r\n[Verify](a/b/c) \r\n[Verify2.1 Verify2.2](a/b/c) \r\n\r\n- ul.test1 \r\n- ul.te |
| LOW | tools/mailer/mailer_test.go | 21 | []mail.Address{{Name: "John Doe", Address: "test1@example.com"}, {Name: "Jane Doe", Address: "test2@example.com"}}, |
| LOW | tools/mailer/mailer_test.go | 21 | []mail.Address{{Name: "John Doe", Address: "test1@example.com"}, {Name: "Jane Doe", Address: "test2@example.com"}}, |
| LOW | tools/mailer/mailer_test.go | 22 | []string{`"John Doe" <test1@example.com>`, `"Jane Doe" <test2@example.com>`}, |
| LOW | tools/mailer/mailer_test.go | 22 | []string{`"John Doe" <test1@example.com>`, `"Jane Doe" <test2@example.com>`}, |
| LOW | tools/mailer/mailer_test.go | 26 | []mail.Address{{Name: "John Doe", Address: "test1@example.com"}, {Address: "test2@example.com"}}, |
| LOW | tools/mailer/mailer_test.go | 27 | []string{`"John Doe" <test1@example.com>`, `test2@example.com`}, |
| LOW | tools/mailer/mailer_test.go | 31 | []mail.Address{{Name: "John Doe", Address: "test1@example.com"}, {Name: "Jane Doe", Address: "test2@example.com"}}, |
| LOW | tools/mailer/mailer_test.go | 31 | []mail.Address{{Name: "John Doe", Address: "test1@example.com"}, {Name: "Jane Doe", Address: "test2@example.com"}}, |
| LOW | core/record_query.go | 364 | // dbx.Params{"title": "lorem ipsum", "visible": true} |
| LOW | core/app.go | 629 | // dbx.Params{"title": "lorem ipsum", "visible": true} |
| LOW | plugins/jsvm/binds_test.go | 930 | if (result.name != "John Doe") { |
| LOW | plugins/jsvm/binds_test.go | 931 | throw new Error("Expected result.name 'John Doe', got " + result.name) |
| LOW | plugins/jsvm/binds_test.go | 942 | if (result.name != "John Doe") { |
| LOW | plugins/jsvm/binds_test.go | 943 | throw new Error("Expected result.name 'John Doe', got " + result.name) |
| LOW | plugins/jsvm/internal/types/types.go | 391 | * title: "Lorem ipsum" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ui/src/records/recordUpsertModal.js | 865 | function resetTokenKeyDropdownItem(collection, data, modalSettings) { |
| LOW | ui/src/records/recordUpsertModal.js | 934 | function sendPasswordResetEmailDropdownItem(collection, data, modalSettings) { |
| LOW | ui/src/records/recordUpsertModal.js | 979 | function sendVerificationDropdownItem(collection, data, modalSettings) { |
| LOW | ui/src/records/recordSummary.js | 117 | function hideRecordSummaryDropdown(target, delay = 150) { |
| LOW | ui/src/records/recordSummary.js | 134 | function showRecordSummaryDropdown(target, record, delay = 150) { |
| LOW | ui/src/auth/pageRequestSuperuserPasswordReset.js | 1 | export function pageRequestSuperuserPasswordReset(route) { |
| LOW | ui/src/apiPreview/docsCreate.js | 365 | export function replaceDummyPayloadPlaceholder(payloadStr) { |
| LOW | ui/src/collections/collectionsOverviewModal.js | 125 | function sortSystemUnderscoredLast(a, b) { |
| LOW | ui/src/collections/collectionUpsertModal.js | 715 | function syncFieldsAndIndexesWithScaffold(collection) { |
| LOW | …/src/collections/collectionChangesConfirmationModal.js | 109 | async function detectConflictingOIDCProviders() { |
| LOW | ui/src/collections/autocomplete.utils.js | 67 | function collectionFieldsAutocomplete(word, collections, collection, prefix = "", level = 0) { |
| LOW | ui/src/collections/autocomplete.utils.js | 156 | function requestFieldsAutocomplete(word, collections, baseCollection) { |
| LOW | ui/src/collections/autocomplete.utils.js | 216 | function collectionJoinAutocomplete(word, collections) { |
| LOW | ui/src/collections/oauth2/appleOptions.js | 47 | function appleSecretGeneratorModal(modalSettings = {}) { |
| LOW | ui/src/base/tinymce.js | 88 | function triggerOnchangeWithDebounce(debounce = 150) { |
| LOW | ui/src/base/codeEditor.js | 110 | function closeAutocompleteDropdown() { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/mfa_model.go | 34 | // Example usage: |
| LOW | core/auth_origin_model.go | 29 | // Example usage: |
| LOW | core/external_auth_model.go | 28 | // Example usage: |
| LOW | core/otp_model.go | 28 | // Example usage: |
| LOW | core/record_model.go | 1354 | // Example usage: |
| LOW | plugins/migratecmd/migratecmd.go | 6 | // Example usage: |
| LOW | plugins/migratecmd/migratecmd.go | 51 | // Example usage: |
| LOW | plugins/ghupdate/ghupdate.go | 4 | // Example usage: |
| LOW | plugins/jsvm/jsvm.go | 113 | // Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | ui/public/libs/tinymce/themes/silver/theme.min.js | 1 | !function(){"use strict";const e=Object.getPrototypeOf,t=(e,t,o)=>{var n;return!!o(e,t.prototype)||(null===(n=e.construc |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ui/public/libs/tinymce/tinymce.min.js | 13 | !function(){"use strict";var e=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;retur |
| MEDIUM | ui/public/libs/tinymce/tinymce.min.js | 13 | !function(){"use strict";var e=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;retur |
| MEDIUM | plugins/jsvm/jsvm.go | 5 | // can utilize them as part of their own custom goja runtime setup. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/filesystem/internal/s3blob/s3/s3.go | 112 | // Note: Don't forget to call resp.Body.Close() after done with the result. |
| LOW | tools/search/provider_test.go | 749 | // NB! Don't forget to call `db.Close()` at the end of the test. |