profile
viewpoint

nilsnh/cellar-door 17

Personal authorization server implementing the IndieAuth federated login protocol.

nilsnh/sanity-plugin-highcharts-editor 9

This plugin let's you embed the Highcharts Editor within Sanity.

nilsnh/sanity-cms-decent-structure 5

Decent implementation of hierarchical page content in Sanity CMS.

nilsnh/tag-youre-it 3

A chrome extension for tagging words with semantic information.

nilsnh/kvalitetsbasen 2

Data frå kvalitetsbasen til Universitetet i Bergen i .sql format med forslag til sql spørring(er). :)

nilsnh/mysql-parse 2

Parse mysql connection strings on the command line or as a module.

nilsnh/rainy-periods 2

A small clojure project where played around with some weather data.

nilsnh/Better-CoffeeScript-Testing-With-Mocha 1

Slightly modified implementation of a tutorial on coffeescript testing (check the link). :)

nilsnh/converttt 1

Command line utility to convert iTunes Timed Text subtitle files.

nilsnh/dedupe-vcards 1

A small node program to remove duplicate vcard entries from any numbe of vcard files before exporting a single .vcf file.

startedjpuri/react-draft-wysiwyg

started time in a day

startedmorris/vanilla-todo

started time in 3 days

startedrstacruz/nprogress

started time in 3 days

startedfacebook/create-react-app

started time in 4 days

startedrethinkdb/rethinkdb

started time in 15 days

push eventnilsnh/java-app-engine-legacy-secrets

Nils

commit sha 89a778d111253be9930049d6eaadc4abb8a528e4

Update README.md

view details

push time in 17 days

startedw3c/webcomponents

started time in 20 days

issue commentchoojs/choo

[domain] ssl-cert expired

Hi 👋 I believe the ssl issue could be a misconfiguration in Netlify. Netlify is not correctly issuing an SSL cert for choo.io, see docs: https://docs.netlify.com/domains-https/custom-domains/#assign-a-domain-to-a-site

Maybe contact Netlify support and ask what could be causing the ssl issue? 🙂

@yoshuawuyts

dym-sh

comment created time in 21 days

issue closedsanity-io/sanity

Validation error is not displayed in portable text for annotation referring to a named object with validation

Describe the bug

Validation error is not displayed in portable text for annotation referring to a named object with validation.

To Reproduce

Steps to reproduce the behavior:

  1. Create a document with portable text field.
  2. Create a named object with validation on a field.
  3. Define an annotation type in the portable text which refers to the named object.
  4. Write content that breaks the validation on the annotation.
  5. Observe that the document reports a validation error, but the error is not noted in the portable text editor.

Expected behavior

Would expect to see the validation error displayed somewhere close to where the error occurred.

Screenshots

image

Which versions of Sanity are you using?

Run sanity versions in the terminal and copy-paste the result here.

@sanity/cli 1.149.16 (latest: 1.150.7) @sanity/base 1.150.7 (up to date) @sanity/cli 1.150.7 (up to date) @sanity/components 1.150.7 (up to date) @sanity/core 1.150.7 (up to date) @sanity/dashboard 1.150.7 (up to date) @sanity/default-layout 1.150.7 (up to date) @sanity/default-login 1.150.1 (up to date) @sanity/desk-tool 1.150.7 (up to date) @sanity/production-preview 1.150.1 (up to date) @sanity/studio-hints 1.150.7 (up to date) @sanity/vision 1.150.6 (up to date)

What operating system are you using?

MacOS.

Which versions of Node.js / npm are you running?

Run npm -v && node -v in the terminal and copy-paste the result here.

NPM 6.14.8 Node v12.16.2

Additional information

I have a custom component that wraps the portable text field that sees this error. Could it be the culprit?

closed time in 25 days

nilsnh

issue commentsanity-io/sanity

Validation error is not displayed in portable text for annotation referring to a named object with validation

My bad. I discovered that I was not passing all necessary props through my custom component. Discovered this by testing without a custom component only to see that everything worked. Closing this. 😸

nilsnh

comment created time in 25 days

startedgithub/tab-container-element

started time in a month

startedbalazsbotond/urlcat

started time in a month

startedmuesli/duf

started time in a month

startedalpinejs/alpine

started time in a month

startedmui-org/material-ui

started time in a month

startedbryan-hunter/yarn-workspace-lerna-monorepo

started time in a month

issue commentsanity-io/sanity

Validation error is not displayed in portable text for annotation referring to a named object with validation

The invalid markdef disappeared after I cut out the sentence and pasted it back in. Works nice for me, but hard to debug for content editors. I believe that this is still an issue that invalid annotations are not properly displayed in context.

nilsnh

comment created time in 2 months

issue commentsanity-io/sanity

Validation error is not displayed in portable text for annotation referring to a named object with validation

On further inspection, I see that the invalid annotation is located in a markdef that is not refered to in the text.

image

nilsnh

comment created time in 2 months

issue openedsanity-io/sanity

Validation error is not displayed in portable text for annotation referring to a named object with validation

Describe the bug

Validation error is not displayed in portable text for annotation referring to a named object with validation.

To Reproduce

Steps to reproduce the behavior:

  1. Create a document with portable text field.
  2. Create a named object with validation on a field.
  3. Define an annotation type in the portable text which refers to the named object.
  4. Write content that breaks the validation on the annotation.
  5. Observe that the document reports a validation error, but the error is not noted in the portable text editor.

Expected behavior

Would expect to see the validation error displayed somewhere close to where the error occurred.

Screenshots

image

Which versions of Sanity are you using?

Run sanity versions in the terminal and copy-paste the result here.

@sanity/cli 1.149.16 (latest: 1.150.7) @sanity/base 1.150.7 (up to date) @sanity/cli 1.150.7 (up to date) @sanity/components 1.150.7 (up to date) @sanity/core 1.150.7 (up to date) @sanity/dashboard 1.150.7 (up to date) @sanity/default-layout 1.150.7 (up to date) @sanity/default-login 1.150.1 (up to date) @sanity/desk-tool 1.150.7 (up to date) @sanity/production-preview 1.150.1 (up to date) @sanity/studio-hints 1.150.7 (up to date) @sanity/vision 1.150.6 (up to date)

What operating system are you using?

MacOS.

Which versions of Node.js / npm are you running?

Run npm -v && node -v in the terminal and copy-paste the result here.

NPM 6.14.8 Node v12.16.2

Additional information

I have a custom component that wraps the portable text field that sees this error. Could it be the culprit?

created time in 2 months

startedjsdom/jsdom

started time in 2 months

startedskatejs/skatejs

started time in 2 months

starteddevelopit/undom

started time in 2 months

issue openedputyourlightson/craft-campaign

Trouble with double opt-in and Office 365 ATP Safe Links

Describe the bug

We've experienced that some Office 365 Outlook users report errors when trying to sign up to our newsletters. We have activated double-opt email verification. It seems that Office 365 ATP Safe Links somehow leads to an extra click which results in the user never seeing the verification success screen and instead they see the error "verification link expired" even though they just successfully signed up.

To reproduce

Steps to reproduce the behaviour:

  1. Signup to newsletter with double-opt in activated, using an email that has Office 365 ATP Safe Links protection activated.
  2. Click on verification link in email.
  3. Get error "verification link expired", possibly because the link was automatically visited more than once by Safe Links.

Expected behaviour

Ideally, if the verification link has not expired and the user manages to visit the link more than once within the expiration window it should only show the success screen.

Additionally, I think any code that hooks into user subscription events should not be triggered more than once, even though a user visits a non-expired verification link multiple times.

Screenshots

If applicable, add screenshots to help explain your problem.

Versions

  • Plugin version: 1.15.6
  • Craft version: 3.3.20.1

created time in 2 months

startedsnori74/linuxupskillchallenge

started time in 2 months

create barnchnetliferesearch/craft-starter

branch : feature-native-php

created branch time in 2 months

issue closednetliferesearch/craft-starter

Upgrade to Mysql 8

Arcustech has moved to Mysql 8, this dev setup should mimic that. We tried to do that quickly but ran into authentication errors.

Possible fix:

  • https://stackoverflow.com/a/52364450

closed time in 2 months

nilsnh

issue commentnetliferesearch/craft-starter

Upgrade to Mysql 8

Fixed in: 9831aa6cf3e99e073942f8e7277dc6d11e011cf3

nilsnh

comment created time in 2 months

delete branch netliferesearch/craft-starter

delete branch : docker-build-tag-php-7.2-apache

delete time in 2 months

delete branch netliferesearch/craft-starter

delete branch : craft2

delete time in 2 months

delete branch netliferesearch/craft-starter

delete branch : feature-craft-housekeeping

delete time in 2 months

push eventnetliferesearch/craft-starter

Nils Norman Haukås

commit sha a0d823f22c985e9a00968bc88ac9181e925365bf

:fire: delete unused file

view details

Nils Norman Haukås

commit sha e618b0e6a1d23acfb669e84cd127819677e784b0

:bug: reload was not properly working due to Docker :cache flag. Fixed now

view details

Nils Norman Haukås

commit sha 25018a6065d980cac8b2d25c8358cd68181d9e02

:recycle: upgrade Node dependencies

view details

Nils Norman Haukås

commit sha 32709d3753c7ed8d7d017ddc41944a5b4b741844

:wrench: add missing html tag, fixes #65.

view details

Nils Norman Haukås

commit sha 9831aa6cf3e99e073942f8e7277dc6d11e011cf3

:recycle: update to Docker php 7.4, mysql 8. Upgrade Craft CMS. Fix configuration issues

view details

push time in 2 months

issue closednetliferesearch/craft-starter

No html tag in _layout.twig causing validation warnings

Html tag is missing in _layout.twig, however browsers seems to add it if missing. Missing lang attribute cause validation warnings.

Possible fixes: Add html tag to _layout.twig: <html lang="nb"> or this might work for sites with multiple languages: <html lang="{{ currentSite.language }}">

closed time in 2 months

AndreasNaustdal

PR merged netliferesearch/craft-starter

Feature craft housekeeping
  • Upgrade Craft to 3.5.7
  • Upgrade to php 7.4
  • Upgrade to mysql 8
  • Fix configuration issues.
+3001 -3336

0 comment

10 changed files

nilsnh

pr closed time in 2 months

delete branch netliferesearch/craft-starter

delete branch : updates

delete time in 2 months

delete branch netliferesearch/craft-starter

delete branch : craft-update

delete time in 2 months

PR opened netliferesearch/craft-starter

Feature craft housekeeping
  • Upgrade Craft to 3.5.7
  • Upgrade to php 7.4
  • Upgrade to mysql 8
  • Fix configuration issues.
+3001 -3336

0 comment

10 changed files

pr created time in 2 months

create barnchnetliferesearch/craft-starter

branch : feature-craft-housekeeping

created branch time in 2 months

issue closednetliferesearch/craft-starter

Redis error

Following the steps in craft starter and Guide: Deploy av Craft CMS til ArcusTech ( https://intranett.netlife.com/frontend-backend-og-cms/guide-deploy-craft-cms-til-arcustech) is leading to an error.

Database Exception – yii\db\Exception Redis error: ERR Client sent AUTH, but no password is set Redis command was: AUTH

Check redis config in config/app.php

closed time in 2 months

AndreasNaustdal

issue commentnetliferesearch/craft-starter

Redis error

Fixed in 3b77dc6191567431948b87d5a40749c630c4b02d

AndreasNaustdal

comment created time in 2 months

pull request commentnetliferesearch/craft-starter

Craft update

Closing as stale, better to redo the update I think.

torgeirbeyer

comment created time in 2 months

PR closed netliferesearch/craft-starter

Bump acorn from 6.3.0 to 6.4.1 dependencies

Bumps acorn from 6.3.0 to 6.4.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/acornjs/acorn/commit/9a2e9b6678e243d66846b91179d650d28453e70c"><code>9a2e9b6</code></a> Mark version 6.4.1</li> <li><a href="https://github.com/acornjs/acorn/commit/90a9548ea0ce351b54f956e2c4ed27cca9631284"><code>90a9548</code></a> More rigorously check surrogate pairs in regexp validator</li> <li><a href="https://github.com/acornjs/acorn/commit/df0cf1a3e2b1a51a26c14984dc0f5412b7151b10"><code>df0cf1a</code></a> Mark version 6.4.0</li> <li><a href="https://github.com/acornjs/acorn/commit/53034126864b492da4e278628bb972cb2a9313d4"><code>5303412</code></a> Also export Parser via Parser.acorn</li> <li><a href="https://github.com/acornjs/acorn/commit/efe273e70123449a458157dbf578afaf109a49ab"><code>efe273e</code></a> give token types and etc to plugins</li> <li>See full diff in <a href="https://github.com/acornjs/acorn/compare/6.3.0...6.4.1">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in 2 months

pull request commentnetliferesearch/craft-starter

Bump acorn from 6.3.0 to 6.4.1

Closing as stale

dependabot[bot]

comment created time in 2 months

PR closed netliferesearch/craft-starter

Bump lodash from 4.17.15 to 4.17.19 dependencies

Bumps lodash from 4.17.15 to 4.17.19. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lodash/lodash/releases">lodash's releases</a>.</em></p> <blockquote> <h2>4.17.16</h2> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lodash/lodash/commit/d7fbc52ee0466a6d248f047b5d5c3e6d1e099056"><code>d7fbc52</code></a> Bump to v4.17.19</li> <li><a href="https://github.com/lodash/lodash/commit/2e1c0f22f425e9c013815b2cd7c2ebd51f49a8d6"><code>2e1c0f2</code></a> Add npm-package</li> <li><a href="https://github.com/lodash/lodash/commit/1b6c282299f4e0271f932b466c67f0f822aa308e"><code>1b6c282</code></a> Bump to v4.17.18</li> <li><a href="https://github.com/lodash/lodash/commit/a370ac81408de2da77a82b3c4b61a01a3b9c2fac"><code>a370ac8</code></a> Bump to v4.17.17</li> <li><a href="https://github.com/lodash/lodash/commit/1144918f3578a84fcc4986da9b806e63a6175cbb"><code>1144918</code></a> Rebuild lodash and docs</li> <li><a href="https://github.com/lodash/lodash/commit/3a3b0fd339c2109563f7e8167dc95265ed82ef3e"><code>3a3b0fd</code></a> Bump to v4.17.16</li> <li><a href="https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12"><code>c84fe82</code></a> fix(zipObjectDeep): prototype pollution (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4759">#4759</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/e7b28ea6cb17b4ca021e7c9d66218c8c89782f32"><code>e7b28ea</code></a> Sanitize sourceURL so it cannot affect evaled code (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4518">#4518</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/0cec225778d4ac26c2bac95031ecc92a94f08bbb"><code>0cec225</code></a> Fix lodash.isEqual for circular references (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4320">#4320</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4515">#4515</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/94c3a8133cb4fcdb50db72b4fd14dd884b195cd5"><code>94c3a81</code></a> Document matches* shorthands for over* methods (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4510">#4510</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4514">#4514</a>)</li> <li>Additional commits viewable in <a href="https://github.com/lodash/lodash/compare/4.17.15...4.17.19">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~mathias">mathias</a>, a new releaser for lodash since your current version.</p> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in 2 months

pull request commentnetliferesearch/craft-starter

Bump lodash from 4.17.15 to 4.17.19

Closing as stale

dependabot[bot]

comment created time in 2 months

PR closed netliferesearch/craft-starter

Bump elliptic from 6.5.0 to 6.5.3 dependencies

Bumps elliptic from 6.5.0 to 6.5.3. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/indutny/elliptic/commit/8647803dc3d90506aa03021737f7b061ba959ae1"><code>8647803</code></a> 6.5.3</li> <li><a href="https://github.com/indutny/elliptic/commit/856fe4d99fe7b6200556e6400b3bf585b1721bec"><code>856fe4d</code></a> signature: prevent malleability and overflows</li> <li><a href="https://github.com/indutny/elliptic/commit/60489415e545efdfd3010ae74b9726facbf08ca8"><code>6048941</code></a> 6.5.2</li> <li><a href="https://github.com/indutny/elliptic/commit/9984964457c9f8a63b91b01ea103260417eca237"><code>9984964</code></a> package: bump dependencies</li> <li><a href="https://github.com/indutny/elliptic/commit/ec735edde187a43693197f6fa3667ceade751a3a"><code>ec735ed</code></a> utils: leak less information in <code>getNAF()</code></li> <li><a href="https://github.com/indutny/elliptic/commit/71e4e8e2f5b8f0bdbfbe106c72cc9fbc746d3d60"><code>71e4e8e</code></a> 6.5.1</li> <li><a href="https://github.com/indutny/elliptic/commit/7ec66ffa255079260126d87b1762a59ea10de5ea"><code>7ec66ff</code></a> short: add infinity check before multiplying</li> <li><a href="https://github.com/indutny/elliptic/commit/ee7970b92f388e981d694be0436c4c8036b5d36c"><code>ee7970b</code></a> travis: really move on</li> <li><a href="https://github.com/indutny/elliptic/commit/637d0216b58de7edee4f3eb5641295ac323acadb"><code>637d021</code></a> travis: move on</li> <li><a href="https://github.com/indutny/elliptic/commit/5ed0babb6467cd8575a9218265473fda926d9d42"><code>5ed0bab</code></a> package: update deps</li> <li>See full diff in <a href="https://github.com/indutny/elliptic/compare/v6.5.0...v6.5.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in 2 months

pull request commentnetliferesearch/craft-starter

Bump elliptic from 6.5.0 to 6.5.3

Closing as stale

dependabot[bot]

comment created time in 2 months

startedyiisoft/yii2

started time in 2 months

startedcpriego/valet-linux

started time in 2 months

created tagnetliferesearch/dfo-storybook

tagv4.7.2

Standardised and reusable components

created time in 2 months

push eventnetliferesearch/dfo-storybook

Nils Norman Haukås

commit sha b7e5c476c13970f862be75e37457be2c459da04a

4.7.2

view details

push time in 2 months

push eventnetliferesearch/dfo-storybook

Nils Norman Haukås

commit sha c45dd7008f702cf152868a503e588e051e8c496a

:sparkles: replace English logo with colored version

view details

push time in 2 months

startedexpressjs/express

started time in 2 months

issue openednetliferesearch/craft-starter

Upgrade to Mysql 8

Arcustech has moved to Mysql 8, this setup should mimic that.

created time in 3 months

more