├── .go-version ├── internal ├── blocko │ ├── testdata │ │ ├── empty.html │ │ ├── empty.md │ │ ├── hello-world.md │ │ ├── heading.md │ │ ├── table.html │ │ ├── hello-world.html │ │ ├── table.md │ │ ├── heading.html │ │ ├── special-chars.md │ │ ├── pre.md │ │ ├── special-chars.html │ │ ├── heading-ids.md │ │ ├── heading-ids.html │ │ ├── pre.html │ │ ├── siblings.md │ │ ├── list.md │ │ ├── siblings.html │ │ └── list.html │ ├── blocko_test.go │ └── minify.go ├── tableaux │ ├── testdata │ │ ├── empty.html │ │ ├── simple-1.json │ │ ├── thead-1.json │ │ ├── thead-2.json │ │ ├── simple.html │ │ └── thead.html │ └── table_test.go ├── mailchimp │ ├── testdata │ │ ├── OJ0tRvv-.req.txt │ │ ├── sendemail │ │ │ ├── 7KFHkvKo.req.txt │ │ │ ├── 6w3yqIMi.req.txt │ │ │ ├── 7KFHkvKo.res.txt │ │ │ └── uG_IW3uK.req.txt │ │ ├── yD8q9OUu.req.txt │ │ └── s0zjn.req.txt │ ├── doc.go │ ├── sendemail_test.go │ ├── emailservice.go │ └── v3.go ├── anf │ ├── doc.go │ ├── testdata │ │ ├── sample │ │ │ ├── header.png │ │ │ └── article.html │ │ ├── api │ │ │ └── FG_NChiX.req.txt │ │ ├── req.analytics.raw │ │ └── req.analytics.signed │ ├── template.go │ ├── convert_test.go │ └── fromdb_test.go ├── jsonfeed │ ├── doc.go │ └── feed.go ├── google │ ├── testdata │ │ ├── iV1Hrkzj.res.txt │ │ ├── iV1Hrkzj.req.txt │ │ ├── translate bLE0RXdg.req.txt │ │ ├── vhSTnwyq.req.txt │ │ ├── translate bLE0RXdg.res.txt │ │ ├── ixfeHnNf.req.txt │ │ └── vhSTnwyq.res.txt │ ├── docs.go │ ├── google-analytics_test.go │ └── translate_test.go ├── db │ ├── null.go │ ├── errs.go │ ├── option.sql.go │ ├── arc.sql.go │ ├── db.go │ ├── map.go │ └── domain-roles.go ├── must │ └── must.go ├── gdocs │ └── testdata │ │ ├── rich-person.md │ │ └── rich-person.html ├── lazy │ └── re.go ├── httpx │ ├── attachment.go │ └── middleware.go ├── slicex │ ├── unique.go │ └── unique_test.go ├── iterx │ ├── unique.go │ ├── iterx.go │ ├── error.go │ └── concat.go ├── stringx │ ├── count.go │ └── count_test.go ├── netlifyid │ ├── context.go │ └── mock.go ├── aws │ ├── gocloud.go │ └── md5_test.go └── jwthook │ └── testdata │ ├── signup-umd.txt │ ├── validate-umd.txt │ ├── login-spotlight.txt │ └── login-spotlight-tampered.txt ├── pkg ├── almanack │ ├── deploy-url.txt │ ├── testdata │ │ └── processDocHTML │ │ │ ├── abc │ │ │ ├── warnings.json │ │ │ ├── embeds.json │ │ │ ├── metadata.json │ │ │ ├── raw.html │ │ │ ├── rich.html │ │ │ └── article.md │ │ │ ├── toc │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ └── embeds.json │ │ │ ├── spltest1 │ │ │ ├── warnings.json │ │ │ ├── embeds.json │ │ │ └── metadata.json │ │ │ ├── Demo document │ │ │ ├── embeds.json │ │ │ ├── warnings.json │ │ │ └── metadata.json │ │ │ ├── SPLEVCLINK │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ └── embeds.json │ │ │ ├── Shortcode │ │ │ ├── warnings.json │ │ │ ├── embeds.json │ │ │ ├── raw.html │ │ │ ├── rich.html │ │ │ ├── article.md │ │ │ ├── metadata.json │ │ │ └── intermediate.html │ │ │ ├── table table │ │ │ ├── embeds.json │ │ │ ├── warnings.json │ │ │ └── metadata.json │ │ │ ├── Fake heading test │ │ │ ├── embeds.json │ │ │ ├── warnings.json │ │ │ └── metadata.json │ │ │ ├── Hash mark example │ │ │ ├── warnings.json │ │ │ ├── embeds.json │ │ │ └── metadata.json │ │ │ ├── OP2 │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ ├── embeds.json │ │ │ ├── rich.html │ │ │ └── raw.html │ │ │ ├── OP1 │ │ │ ├── warnings.json │ │ │ └── metadata.json │ │ │ ├── video │ │ │ ├── warnings.json │ │ │ └── embeds.json │ │ │ ├── SPLBALREJ │ │ │ └── warnings.json │ │ │ ├── SPLHAROLD │ │ │ ├── warnings.json │ │ │ └── embeds.json │ │ │ └── SPLEX23ERR │ │ │ └── warnings.json │ ├── doc.go │ ├── almanack.go │ ├── convert_test.go │ ├── service-gdocs_test.go │ ├── site-data.go │ └── imagestore_test.go ├── integration │ ├── testdata │ │ ├── gdoc byby │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ └── shared-article.json │ │ ├── gdoc eyebrow │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ ├── article.md │ │ │ ├── raw.html │ │ │ ├── rich.html │ │ │ └── shared-article.json │ │ ├── gdoc hash │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ └── shared-article.json │ │ ├── gdoc simple │ │ │ ├── warnings.json │ │ │ ├── smnIcGLZ.res.txt │ │ │ ├── google docs image yCPejdq2.res.txt │ │ │ ├── smnIcGLZ.req.txt │ │ │ ├── google docs image yCPejdq2.req.txt │ │ │ ├── rich.html │ │ │ ├── raw.html │ │ │ ├── article.md │ │ │ ├── metadata.json │ │ │ └── shared-article.json │ │ ├── gdoc spl │ │ │ ├── warnings.json │ │ │ ├── rich.html │ │ │ ├── raw.html │ │ │ ├── article.md │ │ │ ├── metadata.json │ │ │ └── shared-article.json │ │ ├── gdoc table │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ └── shared-article.json │ │ ├── gdoc toc │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ └── shared-article.json │ │ ├── gdoc empty embed │ │ │ ├── warnings.json │ │ │ ├── W6CL_zwW.req.txt │ │ │ ├── Ln3CfGqD.res.txt │ │ │ ├── sAuY-NIZ.req.txt │ │ │ ├── v-QOmOI8.req.txt │ │ │ ├── H1N4qOxH.req.txt │ │ │ ├── metadata.json │ │ │ ├── shared-article.json │ │ │ └── W6CL_zwW.res.txt │ │ ├── gdoc flourish │ │ │ └── warnings.json │ │ ├── gdoc image width │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ ├── shared-article.json │ │ │ ├── raw.html │ │ │ ├── rich.html │ │ │ └── article.md │ │ ├── blank.md │ │ ├── gdoc embed newlines │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ └── shared-article.json │ │ ├── gdoc more │ │ │ ├── warnings.json │ │ │ ├── 9IbgK0Ed.req.txt │ │ │ ├── 9IbgK0Ed.res.txt │ │ │ ├── iV1Hrkzj.res.txt │ │ │ ├── smnIcGLZ.res.txt │ │ │ ├── iV1Hrkzj.req.txt │ │ │ ├── smnIcGLZ.req.txt │ │ │ ├── metadata.json │ │ │ ├── shared-article.json │ │ │ ├── rich.html │ │ │ └── raw.html │ │ ├── gdoc warning │ │ │ ├── warnings.json │ │ │ ├── W6CL_zwW.req.txt │ │ │ ├── VCrj3U0x.res.txt │ │ │ ├── sAuY-NIZ.req.txt │ │ │ ├── wbcx1aTw.req.txt │ │ │ ├── SUHw3r_B.req.txt │ │ │ ├── metadata.json │ │ │ ├── shared-article.json │ │ │ └── W6CL_zwW.res.txt │ │ ├── gdoc paren na │ │ │ ├── warnings.json │ │ │ ├── 9IbgK0Ed.req.txt │ │ │ ├── 9IbgK0Ed.res.txt │ │ │ ├── iV1Hrkzj.res.txt │ │ │ ├── iV1Hrkzj.req.txt │ │ │ ├── metadata.json │ │ │ ├── shared-article.json │ │ │ ├── rich.html │ │ │ └── raw.html │ │ ├── anf │ │ │ └── KcVMfQus.req.txt │ │ ├── gdoc na │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ └── shared-article.json │ │ ├── gdoc fake heading │ │ │ ├── warnings.json │ │ │ ├── metadata.json │ │ │ └── shared-article.json │ │ ├── gdoc bad embed │ │ │ └── warnings.json │ │ ├── gdoc mark │ │ │ └── warnings.json │ │ ├── gdoc picture │ │ │ └── warnings.json │ │ ├── gdoc curly │ │ │ └── warnings.json │ │ ├── fm.md │ │ └── fm+body.md │ └── testdb_test.go ├── api │ └── doc.go └── almlog │ ├── testlog.go │ ├── context.go │ └── httplogger.go ├── public ├── robots.txt ├── favicon.ico └── docs │ └── Spotlight PA Content License.docx ├── sql ├── schema │ ├── prod.conf │ ├── tern.conf │ ├── 012_page_index.sql │ ├── 020_create_option.sql │ ├── 030_fix_shared.sql │ ├── 008_add_tiff.sql │ ├── 024_publication_date.sql │ ├── 031_soft_delete.sql │ ├── 011_page_path.sql │ ├── 016_iso_timestamp.sql │ ├── 022_webp.sql │ ├── 017_drop_spl_data.sql │ ├── 009_newsletter_articles.sql │ ├── 032_licensed_image.sql │ ├── 028_md5_bytes.sql │ ├── 029_image_fts.sql │ ├── 018_big-int.sql │ ├── 033_shared_blurb.sql │ ├── 010_page.sql │ ├── 005_file.sql │ ├── 007_address_roles.sql │ ├── 004_site_data.sql │ ├── 013_site_data_schedule.sql │ ├── 019_page_source.sql │ └── 014_citext.sql ├── queries │ ├── arc.sql │ ├── option.sql │ ├── address-roles.sql │ ├── domain-roles.sql │ └── file.sql ├── one-time │ ├── migrate-pages.sql │ ├── image-import.sql │ └── import-newsletters.sql └── schema-overrides │ └── 001.sql ├── src ├── assets │ └── img │ │ ├── ad-rail.png │ │ ├── ad-footer.png │ │ ├── ad-header.png │ │ ├── ad-river.png │ │ ├── ad-breaker.png │ │ ├── ad-featured.png │ │ ├── ad-headwater.png │ │ ├── pr-almanack.jpeg │ │ ├── sports-alamanc.jpeg │ │ └── circle-white-on-trans.svg ├── utils │ ├── cmp.js │ ├── fuzzy-match.js │ ├── getter.js │ ├── maybe-date.js │ ├── comma-and.js │ ├── image-size.js │ ├── human-size.js │ ├── use-scroll-to.js │ ├── link.js │ ├── sanitize-text.js │ ├── throttle.js │ ├── use-data.js │ ├── google-analytics.js │ └── use-props.js ├── components │ ├── AsyncSpinner.vue │ ├── ArcArticleDivider.vue │ ├── ArcArticleText.vue │ ├── ArcArticlePlaceholder.vue │ ├── ArcArticleHeader.vue │ ├── LinkButtons.vue │ ├── NoCopyTextArea.vue │ ├── TagDate.vue │ ├── DOMInnerHTML.vue │ ├── APILoader.vue │ ├── ViewUnauthorized.vue │ ├── ArcArticleHTML.vue │ ├── ArcArticleList.vue │ ├── ErrorSimple.vue │ ├── ViewError.vue │ ├── LinkButton.vue │ ├── LinkRoute.vue │ ├── ThumbnailArc.vue │ ├── LinkHref.vue │ ├── SpinnerProgress.vue │ ├── SiteParamsRailSticky.vue │ ├── BulmaModal.vue │ ├── ArcArticleOEmbed.vue │ ├── SiteParamsRailTop.vue │ ├── BulmaCharLimit.vue │ ├── TagStatus.vue │ ├── SiteParamsFeaturedHomepage.vue │ ├── HomepageEditorItem.vue │ ├── SiteParamsNewsletter.vue │ ├── ThumbnailS3.vue │ ├── GDocsDocWarnings.vue │ ├── BulmaPaste.vue │ ├── BulmaBreadcrumbs.vue │ ├── BulmaFieldCheckbox.vue │ └── ArcArticleImage.vue ├── css │ └── fonts │ │ └── raleway-v13 │ │ ├── raleway-v13-latin-ext_latin-100.woff │ │ ├── raleway-v13-latin-ext_latin-100.woff2 │ │ ├── raleway-v13-latin-ext_latin-200.woff │ │ ├── raleway-v13-latin-ext_latin-200.woff2 │ │ ├── raleway-v13-latin-ext_latin-300.woff │ │ ├── raleway-v13-latin-ext_latin-300.woff2 │ │ ├── raleway-v13-latin-ext_latin-500.woff │ │ ├── raleway-v13-latin-ext_latin-500.woff2 │ │ ├── raleway-v13-latin-ext_latin-600.woff │ │ ├── raleway-v13-latin-ext_latin-600.woff2 │ │ ├── raleway-v13-latin-ext_latin-700.woff │ │ ├── raleway-v13-latin-ext_latin-700.woff2 │ │ ├── raleway-v13-latin-ext_latin-800.woff │ │ ├── raleway-v13-latin-ext_latin-800.woff2 │ │ ├── raleway-v13-latin-ext_latin-900.woff │ │ ├── raleway-v13-latin-ext_latin-900.woff2 │ │ ├── raleway-v13-latin-ext_latin-italic.woff │ │ ├── raleway-v13-latin-ext_latin-italic.woff2 │ │ ├── raleway-v13-latin-ext_latin-regular.woff │ │ ├── raleway-v13-latin-ext_latin-100italic.woff │ │ ├── raleway-v13-latin-ext_latin-200italic.woff │ │ ├── raleway-v13-latin-ext_latin-300italic.woff │ │ ├── raleway-v13-latin-ext_latin-500italic.woff │ │ ├── raleway-v13-latin-ext_latin-600italic.woff │ │ ├── raleway-v13-latin-ext_latin-700italic.woff │ │ ├── raleway-v13-latin-ext_latin-800italic.woff │ │ ├── raleway-v13-latin-ext_latin-900italic.woff │ │ ├── raleway-v13-latin-ext_latin-regular.woff2 │ │ ├── raleway-v13-latin-ext_latin-100italic.woff2 │ │ ├── raleway-v13-latin-ext_latin-200italic.woff2 │ │ ├── raleway-v13-latin-ext_latin-300italic.woff2 │ │ ├── raleway-v13-latin-ext_latin-500italic.woff2 │ │ ├── raleway-v13-latin-ext_latin-600italic.woff2 │ │ ├── raleway-v13-latin-ext_latin-700italic.woff2 │ │ ├── raleway-v13-latin-ext_latin-800italic.woff2 │ │ └── raleway-v13-latin-ext_latin-900italic.woff2 ├── api │ ├── spotlightpa-all-pages-item.js │ ├── imgproxy-url.js │ └── gdocs.js └── main.js ├── postcss.config.cjs ├── SECURITY.md ├── jsconfig.json ├── .browserslistrc ├── babel.config.js ├── funcs └── almanack-api │ └── main.go ├── README.md ├── layouts └── layouts.go ├── .github └── workflows │ ├── go.yml │ ├── nodejs.yml │ └── govuln.yml ├── eslint.config.js └── functions └── schedule.mts /.go-version: -------------------------------------------------------------------------------- 1 | 1.24.1 2 | -------------------------------------------------------------------------------- /internal/blocko/testdata/empty.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /internal/blocko/testdata/empty.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /internal/tableaux/testdata/empty.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/almanack/deploy-url.txt: -------------------------------------------------------------------------------- 1 | http://localhost -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc byby/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc eyebrow/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc hash/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc simple/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc spl/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc table/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc toc/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: / 3 | -------------------------------------------------------------------------------- /internal/blocko/testdata/hello-world.md: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/abc/warnings.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/toc/warnings.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc empty embed/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc flourish/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc image width/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/spltest1/warnings.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/integration/testdata/blank.md: -------------------------------------------------------------------------------- 1 | +++ 2 | +++ 3 | 4 | 5 | -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc embed newlines/warnings.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/Demo document/embeds.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/Demo document/warnings.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/SPLEVCLINK/warnings.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/Shortcode/warnings.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/table table/embeds.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/table table/warnings.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/Fake heading test/embeds.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/Hash mark example/warnings.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /internal/blocko/testdata/heading.md: -------------------------------------------------------------------------------- 1 | # Hello, world! 2 | 3 | Lorem ipsum 4 | -------------------------------------------------------------------------------- /internal/blocko/testdata/table.html: -------------------------------------------------------------------------------- 1 |
one
two
2 | -------------------------------------------------------------------------------- /sql/schema/prod.conf: -------------------------------------------------------------------------------- 1 | [database] 2 | conn_string={{ env "PG_PROD_URL"}} 3 | -------------------------------------------------------------------------------- /internal/blocko/testdata/hello-world.html: -------------------------------------------------------------------------------- 1 |2 | Hello, world! 3 |
4 | -------------------------------------------------------------------------------- /internal/blocko/testdata/table.md: -------------------------------------------------------------------------------- 1 | one 2 | 3 |Lorem ipsum
3 | -------------------------------------------------------------------------------- /pkg/almanack/doc.go: -------------------------------------------------------------------------------- 1 | // Package almanack has business logic. 2 | package almanack 3 | -------------------------------------------------------------------------------- /pkg/api/doc.go: -------------------------------------------------------------------------------- 1 | // Package api has CLI setup and routing handlers 2 | package api 3 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /internal/mailchimp/testdata/OJ0tRvv-.req.txt: -------------------------------------------------------------------------------- 1 | GET /hzazpP HTTP/1.1 2 | Host: eepurl.com 3 | 4 | -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc more/warnings.json: -------------------------------------------------------------------------------- 1 | [ 2 | "Image embed #3 missing alt description." 3 | ] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc warning/warnings.json: -------------------------------------------------------------------------------- 1 | [ 2 | "Unrecognized table type: \"zork\"" 3 | ] -------------------------------------------------------------------------------- /internal/anf/doc.go: -------------------------------------------------------------------------------- 1 | // Package anf contains tools for dealing with Apple News Format 2 | package anf 3 | -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc paren na/warnings.json: -------------------------------------------------------------------------------- 1 | [ 2 | "Image embed #3 missing alt description." 3 | ] -------------------------------------------------------------------------------- /src/assets/img/ad-rail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/assets/img/ad-rail.png -------------------------------------------------------------------------------- /src/utils/cmp.js: -------------------------------------------------------------------------------- 1 | export default function cmp(a, b) { 2 | return a === b ? 0 : a < b ? -1 : 1; 3 | } 4 | -------------------------------------------------------------------------------- /internal/blocko/testdata/special-chars.md: -------------------------------------------------------------------------------- 1 | a b c 2 | 3 | a b 4 | 5 | adon’t 2 | break 3 | me 4 |5 | 6 |
don’t
7 | break
8 | me
9 |
--------------------------------------------------------------------------------
/pkg/integration/testdata/gdoc paren na/9IbgK0Ed.req.txt:
--------------------------------------------------------------------------------
1 | GET /images/dither-320.png HTTP/1.1
2 | Host: carlmjohnson.net
3 |
4 |
--------------------------------------------------------------------------------
/internal/anf/testdata/sample/header.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/internal/anf/testdata/sample/header.png
--------------------------------------------------------------------------------
/internal/google/testdata/iV1Hrkzj.res.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/internal/google/testdata/iV1Hrkzj.res.txt
--------------------------------------------------------------------------------
/internal/blocko/testdata/special-chars.html:
--------------------------------------------------------------------------------
1 | a b c
2 |a 3 | b
4 |a b
5 |a b
6 | -------------------------------------------------------------------------------- /internal/blocko/testdata/heading-ids.md: -------------------------------------------------------------------------------- 1 | # Hello, world! 2 | 3 | Lorem ipsum 4 | 5 |Lorem ipsum
3 |Lorem ipsum
5 | -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/Fake heading test/warnings.json: -------------------------------------------------------------------------------- 1 | [ 2 | "Paragraph beginning \"Heading: Lorem…\" looks like a header, but does not use H-tag." 3 | ] -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc more/iV1Hrkzj.req.txt: -------------------------------------------------------------------------------- 1 | GET /drive/v3/files/1ssiQd8AKXHo99qkZZwYbHxfVJHY3RPnL?alt=media HTTP/1.1 2 | Host: www.googleapis.com 3 | 4 | -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc paren na/9IbgK0Ed.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/pkg/integration/testdata/gdoc paren na/9IbgK0Ed.res.txt -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc paren na/iV1Hrkzj.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/pkg/integration/testdata/gdoc paren na/iV1Hrkzj.res.txt -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc warning/VCrj3U0x.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/pkg/integration/testdata/gdoc warning/VCrj3U0x.res.txt -------------------------------------------------------------------------------- /src/components/AsyncSpinner.vue: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /internal/blocko/testdata/pre.html: -------------------------------------------------------------------------------- 1 |2 | don’t 3 | break 4 | me 5 |6 | 7 |
8 | don’t
9 | break
10 | me
11 |
12 |
--------------------------------------------------------------------------------
/pkg/integration/testdata/gdoc empty embed/Ln3CfGqD.res.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/pkg/integration/testdata/gdoc empty embed/Ln3CfGqD.res.txt
--------------------------------------------------------------------------------
/pkg/integration/testdata/gdoc paren na/iV1Hrkzj.req.txt:
--------------------------------------------------------------------------------
1 | GET /drive/v3/files/1ssiQd8AKXHo99qkZZwYbHxfVJHY3RPnL?alt=media HTTP/1.1
2 | Host: www.googleapis.com
3 |
4 |
--------------------------------------------------------------------------------
/sql/schema/012_page_index.sql:
--------------------------------------------------------------------------------
1 | CREATE INDEX page_published ON page ((frontmatter ->> 'published'));
2 |
3 | ---- create above / drop below ----
4 | DROP INDEX page_published;
5 |
--------------------------------------------------------------------------------
/internal/mailchimp/testdata/sendemail/7KFHkvKo.req.txt:
--------------------------------------------------------------------------------
1 | POST /3.0/campaigns/65f71f2588/actions/send HTTP/1.1
2 | Host: .api.mailchimp.com
3 | Authorization: Basic Og==
4 |
5 |
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-100.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-100.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-100.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-100.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-200.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-200.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-200.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-200.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-300.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-300.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-300.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-300.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-500.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-500.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-500.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-500.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-600.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-600.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-600.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-600.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-700.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-700.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-700.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-700.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-800.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-800.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-800.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-800.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-900.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-900.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-900.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-900.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-italic.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-italic.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-regular.woff
--------------------------------------------------------------------------------
/internal/tableaux/testdata/thead-2.json:
--------------------------------------------------------------------------------
1 | [
2 | [
3 | "five",
4 | "six",
5 | "seven"
6 | ],
7 | [
8 | "eight",
9 | "nine",
10 | "ten"
11 | ]
12 | ]
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-100italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-100italic.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-200italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-200italic.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-300italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-300italic.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-500italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-500italic.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-600italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-600italic.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-700italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-700italic.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-800italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-800italic.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-900italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-900italic.woff
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-regular.woff2
--------------------------------------------------------------------------------
/internal/db/null.go:
--------------------------------------------------------------------------------
1 | package db
2 |
3 | import (
4 | "github.com/jackc/pgx/v5/pgtype"
5 | )
6 |
7 | var (
8 | NullTime = pgtype.Timestamptz{}
9 | NullText = pgtype.Text{}
10 | )
11 |
--------------------------------------------------------------------------------
/pkg/almanack/testdata/processDocHTML/Shortcode/embeds.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "n": 1,
4 | "type": "partner-embed",
5 | "value": ""
6 | }
7 | ]
--------------------------------------------------------------------------------
/pkg/integration/testdata/gdoc simple/google docs image yCPejdq2.res.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/pkg/integration/testdata/gdoc simple/google docs image yCPejdq2.res.txt
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-100italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-100italic.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-200italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-200italic.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-300italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-300italic.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-500italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-500italic.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-600italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-600italic.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-700italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-700italic.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-800italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-800italic.woff2
--------------------------------------------------------------------------------
/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-900italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spotlightpa/almanack/HEAD/src/css/fonts/raleway-v13/raleway-v13-latin-ext_latin-900italic.woff2
--------------------------------------------------------------------------------
/src/components/ArcArticleDivider.vue:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 | | one | 4 |two | 5 |
|---|---|
| three | 8 |four | 9 |
Blah blah blah
2 |Lorem ipsum dolor
3 |Some bold and italic partner text. Spotlight PA is blah blah. 5 |
6 | 7 | -------------------------------------------------------------------------------- /pkg/integration/testdata/gdoc curly/warnings.json: -------------------------------------------------------------------------------- 1 | [ 2 | "Embed #2 contains unusual characters.", 3 | "Document containsBlah blah blah
2 |Lorem ipsum dolor
3 | 4 |Some bold and italic partner text. Spotlight PA is blah blah. 5 |
6 | 7 | -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/Shortcode/raw.html: -------------------------------------------------------------------------------- 1 |Blah blah blah
Lorem ipsum dolor
Some bold and italic partner text. Spotlight PA is blah blah. 2 |
3 | -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/Shortcode/rich.html: -------------------------------------------------------------------------------- 1 |Blah blah blah
Lorem ipsum dolor
Some bold and italic partner text. Spotlight PA is blah blah. 2 |
3 | -------------------------------------------------------------------------------- /src/utils/getter.js: -------------------------------------------------------------------------------- 1 | export default function getProp(obj, pathStr, { fallback = null } = {}) { 2 | for (let prop of pathStr.split(".")) { 3 | if (!obj) { 4 | break; 5 | } 6 | obj = obj[prop]; 7 | } 8 | return obj ?? fallback; 9 | } 10 | -------------------------------------------------------------------------------- /internal/gdocs/testdata/rich-person.html: -------------------------------------------------------------------------------- 1 |My name is Carlana Johnson. 2 |
3 |
This is my test document. 4 |
5 | -------------------------------------------------------------------------------- /pkg/almanack/testdata/processDocHTML/SPLEX23ERR/warnings.json: -------------------------------------------------------------------------------- 1 | [ 2 | "Embed #2 contains unusual characters.", 3 | "Document containsMy name is Carlana Johnson.
2 |This is my test document.
3 |My name is Carlana Johnson.
2 |This is my test document.
3 |2 | Hello, world!. 3 | One, two, three. 4 |
5 | 8 | 11 |