profile
viewpoint
Halvard Mørstad halvardssm @SimplyUndoable Europe

halvardssm/deno-nessie 325

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations

halvardssm/oak-middleware-jwt 9

Oak middleware for JWT

halvardssm/ms-auth-user-role 2

Authentication, user and role management microservice

halvardssm/awesome-deno 0

🎉A curated list of awesome things related to Deno

halvardssm/awesome-oak 0

A list of community projects for oak

halvardssm/bros-app 0

an app for bros

halvardssm/c-checkers 0

checkers game in c

issue openeddyedgreen/deno-sqlite

Provide example for getting array of objects from SELECT

Hi! I am trying to use this library for a side project, and I am having some problems using a select query and map column names to the rows so that the result is an array of objects. Could you provide an example for this? 😊

created time in 10 hours

startedoakserver/oak

started time in 16 hours

push eventhalvardssm/deno-nessie

Tate Berenbaum

commit sha da7167827b0afa8f7fd232b6d35e957bd31388b6

fix(readme): Updated nest.land badge hyperlink

view details

Halvard Mørstad

commit sha 0a960a00028d53f74860cebd73697cee0f63f613

Merge pull request #66 from tbaumer22/patch-1 fix(readme): Updated nest.land badge hyperlink

view details

push time in 6 days

PR merged halvardssm/deno-nessie

fix(readme): Updated nest.land badge hyperlink

Fixes #

Is this a breaking change?

  • [ ] Yes
  • [x] No

Checklist:

Please review the guidelines for contributing to this repository.

  • [ ] Updated JSDoc (for methods changed/added) N/A
  • [ ] Added tests to cover added functionalities. N/A
  • [x] Updated readme (if applicable).
  • [ ] Added/updated examples in example folder. N/A
  • [ ] Make sure the pipeline passes. N/A

When all of the above is completed, request a review from one of the codeowners.

Description:

Fixed the nest.land badge hyperlink to redirect to Nessie on nest.land

+1 -1

0 comment

1 changed file

tbaumer22

pr closed time in 6 days

release halvardssm/deno-nessie

v1.0.2

released time in 6 days

created taghalvardssm/deno-nessie

tagv1.0.2

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations

created time in 6 days

push eventhalvardssm/deno-nessie

Halvard Mørstad

commit sha eec07ffb12dcc94f78b4b4794eeee450eb0d6a17

Update publish_nest.yml

view details

push time in 6 days

created taghalvardssm/deno-nessie

tagv1.0.1

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations

created time in 6 days

release halvardssm/deno-nessie

v1.0.1

released time in 6 days

push eventhalvardssm/deno-nessie

Halvard Mørstad

commit sha 343394f5c0eab19eb87b3e38513046d1f008fa8f

added egg.json

view details

Halvard Mørstad

commit sha b9511dac837c36e3d4f5c898b923f47af5d571a2

updated readme

view details

Halvard Mørstad

commit sha bf6656f7392a522b3f60563a0049830b03e86823

Update egg.json

view details

Halvard Mørstad

commit sha ebd2c29d9263854d7d63ea13d6819b524bee7969

Merge branch 'master' into nest

view details

Halvard Mørstad

commit sha 4f3b509ce59d5e0cfff3264b5f231ddc48a5647f

Merge pull request #65 from halvardssm/nest Nest

view details

push time in 6 days

delete branch halvardssm/deno-nessie

delete branch : nest

delete time in 6 days

PR merged halvardssm/deno-nessie

Nest enhancement

Is this a breaking change?

  • [ ] Yes
  • [x] No

Checklist:

Please review the guidelines for contributing to this repository.

  • [x] Updated JSDoc (for methods changed/added)
  • [x] Added tests to cover added functionalities.
  • [x] Updated readme (if applicable).
  • [x] Added/updated examples in example folder.
  • [x] Make sure the pipeline passes.

When all of the above is completed, request a review from one of the codeowners.

Description:

Adds nest.

+20 -0

0 comment

2 changed files

halvardssm

pr closed time in 6 days

push eventhalvardssm/deno-nessie

Halvard Mørstad

commit sha 6df83dbf412fea8e61aa20b6a518c3d96b61692e

Merge pull request #64 from halvardssm/ci added nest publish script

view details

Halvard Mørstad

commit sha ebd2c29d9263854d7d63ea13d6819b524bee7969

Merge branch 'master' into nest

view details

push time in 6 days

push eventhalvardssm/deno-nessie

Halvard Mørstad

commit sha bf6656f7392a522b3f60563a0049830b03e86823

Update egg.json

view details

push time in 6 days

PR opened halvardssm/deno-nessie

Nest enhancement

Is this a breaking change?

  • [ ] Yes
  • [x] No

Checklist:

Please review the guidelines for contributing to this repository.

  • [ ] Updated JSDoc (for methods changed/added)
  • [ ] Added tests to cover added functionalities.
  • [ ] Updated readme (if applicable).
  • [ ] Added/updated examples in example folder.
  • [ ] Make sure the pipeline passes.

When all of the above is completed, request a review from one of the codeowners.

Description:

Adds nest.

+20 -0

0 comment

2 changed files

pr created time in 6 days

create barnchhalvardssm/deno-nessie

branch : nest

created branch time in 6 days

push eventhalvardssm/deno-nessie

Halvard Mørstad

commit sha 0bbf42021a8456fc2b20f60fb9f342a144127b49

added nest publish script

view details

Halvard Mørstad

commit sha e94bf8c78ebe9d6f1c11ceb39351d752fd36f757

updated nest script

view details

Halvard Mørstad

commit sha 94687fe5158c71ff29a0a52508f594f8f423d602

ci updates

view details

Halvard Mørstad

commit sha 1813ac779c8da93259a4fcb40a0fec11af0605c5

updated ci

view details

Halvard Mørstad

commit sha e55392b856ace8e5265cc0c27cd1a009b81a7e22

updated readme

view details

Halvard Mørstad

commit sha 6df83dbf412fea8e61aa20b6a518c3d96b61692e

Merge pull request #64 from halvardssm/ci added nest publish script

view details

push time in 6 days

delete branch halvardssm/deno-nessie

delete branch : ci

delete time in 6 days

PR merged halvardssm/deno-nessie

added nest publish script enhancement

Is this a breaking change?

  • [ ] Yes
  • [x] No

Checklist:

Please review the guidelines for contributing to this repository.

  • [x] Updated JSDoc (for methods changed/added)
  • [x] Added tests to cover added functionalities.
  • [x] Updated readme (if applicable).
  • [x] Added/updated examples in example folder.
  • [x] Make sure the pipeline passes.

When all of the above is completed, request a review from one of the codeowners.

Description:

Introduces Nest registry publishing on release.

+38 -17

0 comment

3 changed files

halvardssm

pr closed time in 6 days

push eventhalvardssm/deno-nessie

Halvard Mørstad

commit sha 1813ac779c8da93259a4fcb40a0fec11af0605c5

updated ci

view details

Halvard Mørstad

commit sha e55392b856ace8e5265cc0c27cd1a009b81a7e22

updated readme

view details

push time in 6 days

push eventhalvardssm/deno-nessie

Halvard Mørstad

commit sha 94687fe5158c71ff29a0a52508f594f8f423d602

ci updates

view details

push time in 6 days

push eventhalvardssm/deno-nessie

Halvard Mørstad

commit sha e94bf8c78ebe9d6f1c11ceb39351d752fd36f757

updated nest script

view details

push time in 6 days

PR opened halvardssm/deno-nessie

added nest publish script enhancement

Fixes #

Is this a breaking change?

  • [ ] Yes
  • [x] No

Checklist:

Please review the guidelines for contributing to this repository.

  • [ ] Updated JSDoc (for methods changed/added)
  • [ ] Added tests to cover added functionalities.
  • [ ] Updated readme (if applicable).
  • [ ] Added/updated examples in example folder.
  • [ ] Make sure the pipeline passes.

When all of the above is completed, request a review from one of the codeowners.

Description:

Some short description of what this PR solves if it is not covered by the related issue

+20 -0

0 comment

1 changed file

pr created time in 6 days

create barnchhalvardssm/deno-nessie

branch : ci

created branch time in 6 days

pull request commentdeno-postgres/deno-postgres

Add SSL support

@OliverBrotchie I am not sure, the current maintainer for this project is @hayd and the one who has been working on this until now has been @nonnontrivial , they can better help you out 👍

nonnontrivial

comment created time in 6 days

push eventhalvardssm/deno-nessie

Srinath Krishna Ananthakrishnan

commit sha 4eeb17e714ec644d1201b173171d42eff41ba408

Fixing bug in make:seed to create template seed in seedFolder

view details

Halvard Mørstad

commit sha ec6e7a03923fde5a8da39fd3428fc5c814ca24bf

Merge pull request #63 from borncrusader/master Fixing bug in make:seed to create template seed in seedFolder

view details

push time in 6 days

PR merged halvardssm/deno-nessie

Fixing bug in make:seed to create template seed in seedFolder

Fixes #

Is this a breaking change?

  • [ ] Yes
  • [x] No

Checklist:

Please review the guidelines for contributing to this repository.

  • [x] Updated JSDoc (for methods changed/added)
  • [x] Added tests to cover added functionalities.
  • [x] Updated readme (if applicable).
  • [x] Added/updated examples in example folder.
  • [ ] Make sure the pipeline passes.

When all of the above is completed, request a review from one of the codeowners.

Description:

Fixes the bug in make:seed to create the seed file in the right directory.

+1 -1

1 comment

1 changed file

borncrusader

pr closed time in 6 days

pull request commentdeno-postgres/deno-postgres

Add SSL support

I think @nonnontrivial is working on it but got stuck on the TSL connection part. Not sure what the current status is

nonnontrivial

comment created time in 8 days

pull request commentcodash-platform/codash

Switch to TypeScript

No worries! I have been busy with uni and work, and a vacation is never unfortunate 😉 Have fun!

popa-marius

comment created time in 10 days

push eventhalvardssm/deno-md5

Halvard Mørstad

commit sha 521064b4b1e3af590a7aeafcaf692f7386fbf287

Update README.md

view details

push time in 12 days

push eventhalvardssm/deno-md5

Halvard Mørstad

commit sha 962f3eda637d4c06cb2d6374a679fa2f7b236ac5

Update README.md

view details

push time in 12 days

push eventhalvardssm/deno_website2

Halvard Mørstad

commit sha 8c6e10b02d54b38656579359a6feff01ebdd72e2

Remove deprecated module and update description

view details

push time in 12 days

push eventhalvardssm/dark-chronicles-companion

Halvard Mørstad

commit sha 7c250d2f34b653bc6fae87063503981de3f6b72f

Updated db

view details

Halvard Mørstad

commit sha 09daa694c1a4425dad919a2621fefaed4253ffaa

Made changes to guide view

view details

push time in 13 days

push eventhalvardssm/dark-chronicles-companion

halvardssm

commit sha 90502ad036bbf68e42374641ec54a4320d0b5f16

bugfixes in db

view details

halvardssm

commit sha 0d6465c2d808dd797e6431904b2d60ca32b7fcef

moved assets

view details

halvardssm

commit sha 74358ebad2acf40ffd12e75958773d3357af0c93

added information to db

view details

halvardssm

commit sha 1b60c6f6e159d27d5a4ce142855314db8373eff5

added more types

view details

halvardssm

commit sha 06b704e2a65194dd79592705ee080c5db3c723df

added reusable core methods

view details

halvardssm

commit sha 4ad95ca5d4cd734a431e1dbfcadbf9f1e2cde159

Changes to db

view details

halvardssm

commit sha 4f7699c889c71ed627f90a53a42c9b64ea37786c

updated main page

view details

push time in 14 days

issue commentdenolib/deno-redis

Roadmap to v1

Hi @keroxp! Do you need any help with v6 support?

keroxp

comment created time in 15 days

push eventhalvardssm/dark-chronicles-companion

halvardssm

commit sha 660c2474de2e1e666809b31a80a7f4cf7604e69d

added bd

view details

halvardssm

commit sha 6ad6f6bd3309b4e1e08471a251a5cedec2bbc507

updates to db

view details

halvardssm

commit sha a341872dee885b6ed01c81d007e25106e0f7f189

Added descriptions to db

view details

halvardssm

commit sha 544912636e73afb77f5343ac5a4b6d98b4e09af4

updated db

view details

halvardssm

commit sha d9deece391caccc465a4f98696dabcba7c017fb4

changed eslint

view details

halvardssm

commit sha 110086075aab4da92eabf1df9f0f2cd2e8e70a05

updated packages

view details

halvardssm

commit sha f0f58a2aa92199f73708bb66f7d5ff08ac861e5e

updated lockfile

view details

halvardssm

commit sha 0333dfbb997c9c39816b9989e3efd0b7bcf9b415

Fixed frame

view details

push time in 19 days

create barnchhalvardssm/dark-chronicles-companion

branch : master

created branch time in 20 days

created repositoryhalvardssm/dark-chronicles-companion

A companion app for Dark Chronicles for PS2

created time in 20 days

push eventSocialSlam/social-slam-frontend

Halvard Mørstad

commit sha 5e1579f8059f4786bc1b65a9e34d79155f364d37

added footer

view details

Halvard Mørstad

commit sha 546fa9aebb61baf8263f55cb129eaff0eb9422d3

added rebass forms

view details

Halvard Mørstad

commit sha 67cd4b9b17a19857656ff66e24e8616a98102bec

Updated theme to work better with flexbox, cleanup

view details

Halvard Mørstad

commit sha 92f55bd56d49b6da67fc3a8065bc0e46ea6689b0

moved logo to new asset folder

view details

Halvard Mørstad

commit sha 8e032bcd17ee718802392bb436f0fd43a45db68d

added register page

view details

Halvard Mørstad

commit sha b87fea0376e923e74d0cf2096a3161969e3a00ea

fixed logo

view details

Halvard Mørstad

commit sha a5d4dcf735cbf6f02ea11d51559115e2c1ce2ed7

Fixed placement of text

view details

push time in 20 days

issue commenthalvardssm/deno-nessie

[BUG] [ERROR]: Property 'queryBuilder' is missing in type

@inmanturbo have you tried to run it with —reload?

seljabali

comment created time in 20 days

pull request commentcodash-platform/codash

Switch to TypeScript

@popa-marius Works! It is ready now, so let me know what you think and if you want any changes 💪

popa-marius

comment created time in 22 days

push eventcodash-platform/codash

halvardssm

commit sha 8ceee2e65186186dd3d411ac3312c75b11788b2b

WIP: specifying types

view details

halvardssm

commit sha dbadd5bf52da203d404d3e42f965e1b57516924e

WIP: Improving types

view details

halvardssm

commit sha 94751d39be28a26b0d2f761d30829bd7c28b4aa5

prettied

view details

halvardssm

commit sha 97dd4aa98dacf05f4fc62d64d0d3892460315241

Fixed startup issue

view details

push time in 22 days

create barnchSocialSlam/social-slam-frontend

branch : feat/user-registration

created branch time in 24 days

issue openedSocialSlam/social-slam-frontend

User registration

As a User I want to register for the platform so I can use all the features.

If a User wants to perform certain actions on the platform they have to register and login first. We have to differ between registering a User and an Artist

Flow

  1. User fills out the registration form
  2. User clicks on send
  3. User opens registration confirmation email and clicks on the link to confirm registration

Requirements

  • [ ] I can select to register as a normal User
  • [ ] I can select to register as an Artist
  • [ ] A verification email is sent to the User trying to register
  • [ ] The email contains a one time link to confirm the Use registration
  • [ ] Upon clicking the link the User is redirected to the login page
  • [ ] An Error pops up beneath the field which was filled out incorrectly after sending the form

Extra

Fields

Fields marked with * should be required and validated General User registration:

  • email *
  • password + password confirm *
    • At least 8 chars
    • must contain a special character + a number
  • Username *
    • Validate if Username exists already
  • First Name
  • Last Name Artist registration: All of the above +:
  • Category of artistic skill *

created time in 24 days

push eventSocialSlam/social-slam-frontend

halvardssm

commit sha 613767533bea1b14c06ee597bd03a707da9b0d67

view prototype

view details

halvardssm

commit sha d296a363743eae29ab968a0c701059daa862ae2f

added some peer functionality

view details

halvardssm

commit sha 38055a07cd9330ee1abda6e77b31d18619f959d5

added connection

view details

halvardssm

commit sha a7a00eee0a7ff7fabc6f97d6b8fbf6a05a6d23b1

Merge branches 'master' and 'webrtc' of github.com:SocialSlam/wirvsvirus-social-slam into feat/webrtc  Conflicts:  frontend/package-lock.json  frontend/package.json  frontend/src/App.js  frontend/src/routes.js

view details

halvardssm

commit sha 55f471db51bbbb9fd3d4bd13221a1b7b59498d65

merge with master

view details

halvardssm

commit sha 94d5eba045be209c06e728fc68ed3bc746ee98bc

Cleaned up components

view details

halvardssm

commit sha 6ad66316939098f7f8ca1867eb4b80031f22fa41

cleaned up start script and index.html

view details

halvardssm

commit sha 9556c533500c82c2a4561f011917d7b03d3e163e

decoupeled view into components

view details

halvardssm

commit sha cbeaf66a8d8a5997128563bdd88996d5f67bbf54

Removed last pieces of scss moved styles and theme into Theme.tsx

view details

halvardssm

commit sha faeb70fa8ca2bd0d4d46f690b4b7b5dabc22551f

reorganized files, added to constants, moved connection.tsx

view details

Halvard Mørstad

commit sha c9029263e31a00a7c535671fafe68bb778e20a13

added simple peer

view details

Halvard Mørstad

commit sha 3cdc11af4deaa9e4f689b1784541041daf8743e9

modified wsconnection according to backend

view details

Halvard Mørstad

commit sha 4150dee8fb9cbec55401137a74b12a535dcfb671

updated types

view details

Halvard Mørstad

commit sha bbf9e2b0d576bf5c26c7c918baef78ea245fed02

removed prod run script

view details

Halvard Mørstad

commit sha 3e861e11225bec243e72c88f807bdf61a9063dbb

cleaned eslintrc

view details

Halvard Mørstad

commit sha 66c932ed9ca5089a73d557552dc26c2646581eaa

fixed connection and stream

view details

Halvard Mørstad

commit sha d42cf14c30ffc2662e505b4d0a794411a60e9e78

removed Procfile, added .env.example

view details

Halvard Mørstad

commit sha e9da91e0f20b64bb85aeed09b77600b0e3834ce3

added codeowners and issue template

view details

Halvard Mørstad

commit sha ecf35082c0e637987e81fa29ce26513477f7002f

updated package scripts

view details

Halvard Mørstad

commit sha 29bacf5deb81d4f2390acc6447316da6f72fe08d

switching to yarn

view details

push time in 24 days

delete branch SocialSlam/social-slam-frontend

delete branch : webrtc

delete time in 24 days

PR merged SocialSlam/social-slam-frontend

Webrtc enhancement
+8530 -12356

2 comments

35 changed files

halvardssm

pr closed time in 24 days

push eventSocialSlam/social-slam-frontend

Halvard Mørstad

commit sha e9da91e0f20b64bb85aeed09b77600b0e3834ce3

added codeowners and issue template

view details

Halvard Mørstad

commit sha ecf35082c0e637987e81fa29ce26513477f7002f

updated package scripts

view details

Halvard Mørstad

commit sha 29bacf5deb81d4f2390acc6447316da6f72fe08d

switching to yarn

view details

Halvard Mørstad

commit sha 7019a11f78880b6d38ef8cd9b9ce4981a9b48cdf

Removed unused files, general cleanup

view details

push time in 24 days

Pull request review commentSocialSlam/social-slam-frontend

Webrtc

+import io from 'socket.io-client'

Same as above. This file no longer exists 🤔

halvardssm

comment created time in 24 days

Pull request review commentSocialSlam/social-slam-frontend

Webrtc

-import { SOCKET_URL } from '../Constants'+import Peer from "simple-peer";+import {+  Message,+  PayloadConnections,+  PayloadNewConnection,+} from "../../../social-slam-streaming/lib/types";+import { SOCKET_URL } from "../Constants";  export const Connection = (streamId: string, token: string): WebSocket => {-  const ws = new WebSocket(SOCKET_URL)+  const ws = new WebSocket(SOCKET_URL);    ws.onopen = () => {-    ws.send(JSON.stringify({ type: 'connect', streamId, token }))-  }+    const payload: Message = {+      type: "connect_to_room",+      streamId,+      token,+    };+    ws.send(JSON.stringify(payload));+  };    ws.onmessage = (msg: MessageEvent) => {-    const message = JSON.parse(msg.data)--    console.log(message)-  }+    const message = JSON.parse(msg.data);+    console.log(message);+    const [slammers, connections] = onWsMessage(ws, message);

You are looking at an outdated version 🤔

halvardssm

comment created time in 24 days

Pull request review commentSocialSlam/social-slam-frontend

Webrtc

 export type StreamParams = {   streamId: string } +const tokens = {+  tokenA:+    'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6InNvY2lhbF9zbGFtX2FkbWluIiwiZXhwIjoxNTkxNzA4NTkxLCJvcmlnSWF0IjoxNTkxNzA4MjkxfQ.Ki9BMu_cKMrXJ9pH7oKvBIM1CkJk7qk9TUGUEvAAwC0',+  tokenB:+    'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJicmF2byIsImlhdCI6MTUxNjIzOTAyMn0.n-Fsy8Jx6q9IubgaNZUgooNcsUG_58OVgE9MUTLkMVs',+}

They are just for testing. I can remove them for now

halvardssm

comment created time in 24 days

pull request commentSocialSlam/social-slam-frontend

Webrtc

A couple of Components have also been cleaned up so you will see some diff changes with those

halvardssm

comment created time in 25 days

push eventSocialSlam/social-slam-frontend

Halvard Mørstad

commit sha d42cf14c30ffc2662e505b4d0a794411a60e9e78

removed Procfile, added .env.example

view details

push time in 25 days

pull request commentSocialSlam/social-slam-frontend

Webrtc

Hey @Tschakabaka , could you look through the PR? I think this is fine in regards to the streaming for now until we have completed more of the frontend design. WebRTC and the socket connection should be added with this 💪

halvardssm

comment created time in 25 days

push eventSocialSlam/social-slam-frontend

Halvard Mørstad

commit sha bbf9e2b0d576bf5c26c7c918baef78ea245fed02

removed prod run script

view details

Halvard Mørstad

commit sha 3e861e11225bec243e72c88f807bdf61a9063dbb

cleaned eslintrc

view details

Halvard Mørstad

commit sha 66c932ed9ca5089a73d557552dc26c2646581eaa

fixed connection and stream

view details

push time in 25 days

push eventSocialSlam/social-slam-streaming

Halvard Mørstad

commit sha 8a0bc6880e6a0d1aeae3195453de8fb52ecd093d

modifying types

view details

push time in 25 days

push eventhalvardssm/react-typescript

Halvard Mørstad

commit sha 3bd5885d9aa8761c982f19ea1652d482145af7a7

added styled components, redux saga removed bootstrap, babel updaated to parcel v2

view details

push time in 25 days

pull request commentcodash-platform/codash

Switch to TypeScript

@popa-marius I am trying to push the changes I made to the types, but I dont have push access to this repo, could you change my access to "write"?

popa-marius

comment created time in a month

issue commenthalvardssm/deno-nessie

[BUG] Error after migration makes it so I cannot rollback

Hi @gabrielgrover ! Thanks for reporting this bug! The issue you are facing is because the query builder does not handle the ordering of the columns.

To get around this, you can change your query string to INSERT INTO users (id, name, is_true, custom_column, created_at, updated_at) VALUES (DEFAULT, 'Deno', true, 2, DEFAULT, DEFAULT); or the shorthand: INSERT INTO users (name, is_true, custom_column) VALUES ('Deno', true, 2); or use a third-party module like Dex to generate the queries (see example).

I will add it to the roadmap of future improvements of the query builder 👍

gabrielgrover

comment created time in a month

issue closedhalvardssm/deno-nessie

[QUESTION] How to specify client for migration

So I am trying to follow the read me and create a migration. I have ran both

deno run --allow-net --allow-read --allow-write https://deno.land/x/nessie/cli.ts init deno run --allow-net --allow-read --allow-write https://deno.land/x/nessie/cli.ts make create_users

What is strange is that the make create_users creates a sqllite.db file. I would like to use postgres. Is there some setting that I am missing?

Here is my nessie.config

import { ClientPostgreSQL } from "https://deno.land/x/nessie/mod.ts";
import { ClientMySQL } from "https://deno.land/x/nessie/mod.ts";
import { ClientSQLite } from "https://deno.land/x/nessie/mod.ts";

/** These are the default config options. */
const clientOptions = {
  migrationFolder: "./db/migrations",
  seedFolder: "./db/seeds",
};

/** Select one of the supported clients */
const clientPg = new ClientPostgreSQL(clientOptions, {
  database: "deno-demo",
  hostname: "localhost",
  port: 5432,
  user: "postgres",
  password: "postgres",
});
const clientMySql = new ClientMySQL(clientOptions, {
  hostname: "localhost",
  port: 3306,
  username: "root",
  // password: "pwd", // uncomment this line for <8
  db: "nessie",
});
const clientSqLite = new ClientSQLite(clientOptions, "./sqlite.db");

/** This is the final config object */
const config = {
  client: clientPg,
  // Defaults to false, if you want the query builder exposed in migration files, set this to true.
  exposeQueryBuilder: true,
};

export default config;

closed time in a month

gabrielgrover

issue commenthalvardssm/deno-nessie

[QUESTION] How to specify client for migration

Hi @gabrielgrover ! The nessie config generated by the init command will contain the settings for pg, mysql and sqlite. By default when ClientSQLite is created (const clientSqLite = new ClientSQLite(clientOptions, "./sqlite.db");), it will contain the path to the sqlite, and create a file accordingly. To solve this, you can simply remove the mysql and sqlite config. By default, it uses postgres so the only changes you have to do is to set the connection options. Let me know if you have any other questions 👍

gabrielgrover

comment created time in a month

issue openedSocialSlam/social-slam-backend

Add Queries:

  • Is user an Artist in a specific Stream
  • If not above: is user an audience member in a specific stream

created time in a month

issue openedSocialSlam/social-slam-backend

Create pipeine for backend

created time in a month

push eventSocialSlam/social-slam-frontend

Halvard Mørstad

commit sha 4150dee8fb9cbec55401137a74b12a535dcfb671

updated types

view details

push time in a month

push eventSocialSlam/social-slam-streaming

Halvard Mørstad

commit sha 67bb7b8849a4a7a30e234d47e4c9535fcc51e410

updated socket connection and types

view details

push time in a month

push eventSocialSlam/social-slam-frontend

Halvard Mørstad

commit sha c9029263e31a00a7c535671fafe68bb778e20a13

added simple peer

view details

Halvard Mørstad

commit sha 3cdc11af4deaa9e4f689b1784541041daf8743e9

modified wsconnection according to backend

view details

push time in a month

push eventSocialSlam/social-slam-streaming

Halvard Mørstad

commit sha 59ec2ae140f7bf24b69c2b4b124fad19f6f64b59

general folder structuring

view details

Halvard Mørstad

commit sha 61dc4ec4177b1e4bc88311a1d2bfeda219c2cf4e

cleaned up deno folder general cleanup

view details

push time in a month

push eventSocialSlam/social-slam-streaming

Halvard Mørstad

commit sha 9d7fa66f7d893e8c86f951c307b93fe4e7122b89

incremental change to optimize for prototyping

view details

push time in a month

push eventSocialSlam/streaming-prototype

halvardssm

commit sha 692aa5119874f76244331b22ff7d4d8b17ef70bb

wip

view details

halvardssm

commit sha e7506aa94b72f6c58af8badae451128f82316ffb

new server proto

view details

Halvard Mørstad

commit sha 75aee2e915a7ce63b2f2d7a5f86f773b92e712b7

testing with ws instead of socketio

view details

halvardssm

commit sha 24c43ce98e1228af13f2a19b828f38e95753fd1c

updated gitignore

view details

halvardssm

commit sha 8b06246295e6f0cac6a41ca7bd081845e2ba96e7

added rust server (wip)

view details

halvardssm

commit sha ce93da7191ff0a212a4f4cb35ac5495c025143e9

added qqueries and some of the ws logic

view details

Halvard Mørstad

commit sha fa04d4cd0813a3da0309fd736cfb825e0ee992da

Merge pull request #1 from SocialSlam/testing Introducing Deno and rust

view details

push time in a month

PR opened SocialSlam/streaming-prototype

Introducing Deno
+3450 -1239

0 comment

30 changed files

pr created time in a month

push eventSocialSlam/streaming-prototype

halvardssm

commit sha ce93da7191ff0a212a4f4cb35ac5495c025143e9

added qqueries and some of the ws logic

view details

push time in a month

created taghalvardssm/deno-nessie

tagv1.0.0

A deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations

created time in a month

release halvardssm/deno-nessie

v1.0.0

released time in a month

delete branch halvardssm/deno-nessie

delete branch : v1.0-release

delete time in a month

push eventhalvardssm/deno-nessie

Halvard Mørstad

commit sha e1cd92371a2f32fd01d4dda66be4e0a4e58ebb84

Update README.md

view details

Halvard Mørstad

commit sha 9457d773f51c3cde5c9a6fc3e2e97ea645e5d8f1

Merge pull request #60 from halvardssm/v1.0-release Update README.md

view details

push time in a month

PR merged halvardssm/deno-nessie

Update README.md documentation enhancement

Closes #1

Is this a breaking change?

  • [x] Yes
  • [ ] No

Checklist:

Please review the guidelines for contributing to this repository.

  • [x] Updated JSDoc (for methods changed/added)
  • [x] Added tests to cover added functionalities.
  • [x] Updated readme (if applicable).
  • [x] Added/updated examples in example folder.
  • [x] Make sure the pipeline passes.

When all of the above is completed, request a review from one of the codeowners.

Description:

Some short description of what this PR solves if it is not covered by the related issue

+0 -1

0 comment

1 changed file

halvardssm

pr closed time in a month

issue closedhalvardssm/deno-nessie

☂️ v1.0

Following features are needed for v1.0:

Deno version:

  • [x] Deno v1.0 https://github.com/denoland/deno/issues/2473

Databases:

  • [x] PostgreSQL
  • [x] MySQL
  • [x] SQLite

Migration CLI:

  • [x] Communicates with DB and tracks migrations using a table
  • [x] Can rollback a migration
  • [x] Can migrate and rollback multiple files (currently only migrate multiple files) #34

Structural:

  • [x] Support for env or settings file
  • [x] Query tests
  • [x] Add integration test with databases
  • [x] Lazy import DB Modules to only be fetched if needed #34
  • [x] Support custom DB clients using a modular system #34
  • [x] Support any query builder using a modular system #34
  • [x] Fix bundling issue #22
  • [x] Support for seed files #51

Query Builder:

  • [x] Rework the codebase to have a cleaner interface and chained opperations
  • [x] Add support for multiple DB schemas #34
  • [x] Table returns array instead of string #43
  • [x] Add rename method for table #45
  • [x] Add rename method for column #45
  • [x] Add drop method for column #45
  • [x] Add unsigned method for integers #45
  • [ ] ~Add alter method for schema~
  • [ ] ~Add support for foreign key contraints~
  • [ ] ~Support soft deletes~

closed time in a month

halvardssm

PR opened halvardssm/deno-nessie

Update README.md documentation enhancement

Closes #1

Is this a breaking change?

  • [x] Yes
  • [ ] No

Checklist:

Please review the guidelines for contributing to this repository.

  • [x] Updated JSDoc (for methods changed/added)
  • [x] Added tests to cover added functionalities.
  • [x] Updated readme (if applicable).
  • [x] Added/updated examples in example folder.
  • [x] Make sure the pipeline passes.

When all of the above is completed, request a review from one of the codeowners.

Description:

Some short description of what this PR solves if it is not covered by the related issue

+0 -1

0 comment

1 changed file

pr created time in a month

create barnchhalvardssm/deno-nessie

branch : v1.0-release

created branch time in a month

pull request commentdenoland/deno

feat(std/hash): reimplement all hashes in rust

I think this is a great contribution! I would love to see bcrypt and argon2 integrated as well, would this be possible to include? I found this crate providing bcrypt and this crate providing argon2

skdltmxn

comment created time in a month

push eventSocialSlam/social-slam-frontend

halvardssm

commit sha faeb70fa8ca2bd0d4d46f690b4b7b5dabc22551f

reorganized files, added to constants, moved connection.tsx

view details

push time in a month

issue openedtimonson/djwt

Suggestion: Add usage example

Add Oak Middleware Jwt in the examples section to show how this repo can be implemented 😄

created time in a month

push eventhalvardssm/munchkin-buddy

ToastedLoaf

commit sha 984bc190fa85302571a10eb2bc7a7fd0328a38ad

Added rounded buttons file

view details

ToastedLoaf

commit sha 46c35db713e4ed927b4c51995d80d5c1d7ecfa90

Added missing file

view details

ToastedLoaf

commit sha 8b3e559531ab1d483d916768d38d3ec0b9849eca

Added toggleability to spinners

view details

ToastedLoaf

commit sha 23df0949ddcf6111299a82a7430780d969eedb34

Spinners are now invisible at boot

view details

ToastedLoaf

commit sha d9d34951355ca59b9e67793271e2825dc094e19d

Added a reset button and the foundation for a dice button

view details

halvardssm

commit sha e2bd72a9306ee76a12dd1ccdabfc832914c60d2f

updated icons and improved methods

view details

ToastedLoaf

commit sha f261e59c9cc5e6579931f9d3f57926eee04b10ae

Added a reset button and the foundation for a dice button

view details

halvardssm

commit sha 35e19541bb39491e5da9bf87f3732de043870fe3

improved methods v2

view details

halvardssm

commit sha 4856ded80ffc81840b0f69504fb74f480674c988

Merge branches 'Alpha' and 'mvp' of gitlab.com:simplyundoable/apps/munchkin-buddy into mvp # Conflicts: # app/src/main/java/com/simplyundoable/munchkinbuddy/MainActivity.kt # app/src/main/res/layout/content_main.xml

view details

halvardssm

commit sha d89c76c6c739965140c1c8fda6f0e12e55a85d63

add README

view details

halvardssm

commit sha ca2e00bd0889e9b150cc6b068b0eeb9bb82fa44f

reorganizing code

view details

halvardssm

commit sha 1ecfa9f21652c7065af6a03e508e2b83065decbd

updating gradle build version

view details

halvardssm

commit sha 97c1d1a8cc8eae21dd1aa7fdbad997727b67fe42

Merge branch 'mvp' into 'master' master/mvp: Update MVP See merge request simplyundoable/apps/munchkin-buddy!2

view details

halvardssm

commit sha 9383e69411c26eb60768357419ec3a5483eed08e

Merge branch 'master' of gitlab.com:simplyundoable/apps/munchkin-buddy

view details

halvardssm

commit sha 3d14885896925288305b127619994bcf08b621f6

gitignore

view details

push time in a month

push eventhalvardssm/munchkin-buddy

Halvard Mørstad

commit sha 4d2b95d10eccba0647ec11412a9eebf75915b55b

Create README.md

view details

push time in a month

create barnchhalvardssm/munchkin-buddy

branch : master

created branch time in a month

created repositoryhalvardssm/munchkin-buddy

An android app to keep track of your munchkin game score.

created time in a month

startedtimonson/djwt

started time in a month

more