profile
viewpoint
Hugo Dozois dozoisch @MaintainX San Francisco, CA

dozoisch/koa-react-full-example 633

Full example using Koa, React, Passport, Mongoose, Webpack, Mocha, Babel

dozoisch/babel-plugin-import-asserts 22

babel plugin that adds console.asserts which check that your imports are not undefined

dozoisch/csgames15-competitions 18

List of all the open-sourced competitions of CSGames 2015

dozoisch/koa-passport-example 14

Example using Koa and Passport, for a more in depth example see my repo /dozoisch/koa-react-full-example

dozoisch/node-crc32c 5

Basic C modules for NodeJS with crc32c (Castagnoli) implementation for Linux. Support strings, String Objects and Buffers!

dozoisch/angular-loggly-logger 0

An AngularJS module which sends your $log message to loggly, and provides a service for manually sending messages to loggly.

dozoisch/apollo-cache-control-js 0

A GraphQL extension for cache control (for Node.js)

dozoisch/apollo-client 0

:rocket: A fully-featured, production ready caching GraphQL client for every server or UI framework

dozoisch/apollo-link 0

:link: Interface for fetching and modifying control flow of GraphQL requests

dozoisch/bookshelf 0

A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js

delete branch mongo-express/mongo-express

delete branch : update_webpack

delete time in a day

push eventmongo-express/mongo-express

Hugo Dozois

commit sha 51dcda34d4c57d3d6df73629c4629595dd2eeeb4

Update to webpack 3

view details

Hugo Dozois

commit sha ad789848e4c7d3f9b1003f23de0df76e23407751

Merge pull request #620 from mongo-express/update_webpack Update to webpack 3 from 2

view details

push time in a day

PR merged mongo-express/mongo-express

Update to webpack 3 from 2 dependencies

Small progress.. hoping to get to latest version but 4 was problematic so wanted to at least push this one.

+463 -190

0 comment

3 changed files

dozoisch

pr closed time in a day

PR closed mongo-express/mongo-express

Update README.md invalid
+7 -0

0 comment

1 changed file

abhi9249

pr closed time in 2 days

PR opened mongo-express/mongo-express

Update to webpack 3 from 2 dependencies

Small progress.. hoping to get to latest version but 4 was problematic so wanted to at least push this one.

+463 -190

0 comment

3 changed files

pr created time in 4 days

create barnchmongo-express/mongo-express

branch : update_webpack

created branch time in 4 days

push eventdozoisch/mongo-express

Tianon Gravi

commit sha cfbc5fec2d83b86ea1035e6ccefcd366c21cda1c

Update docs to stop using Docker --link flag

view details

Nick Cox

commit sha 1c9ba9136e8bea493e3fe93de42e1d025a82716a

Merge pull request #582 from tianon/docker-link Update docs to stop using Docker --link flag

view details

Marian Stychuk

commit sha 5fde8b84b1533d3fa95ebb47aa8c89b5955ac374

Fix boolean parameter parsing Fix parsing of ME_CONFIG_OPTIONS_READONLY and ME_CONFIG_SITE_GRIDFS_ENABLED parameters.

view details

Mitchell Turner

commit sha a67884a19ddd91447fa98d677e551dc048525c6f

Added ME_CONFIG_OPTIONS_NO_DELETE option

view details

Mitchell Turner

commit sha 402cfb95d828bc2921eaf277eba0e39dc6b99340

Updated README.md for NO_DELETE

view details

Hugo Dozois

commit sha 9631d3757a2951d86f2c138910bff121a878e56c

Merge pull request #608 from xandout/disable-delete Disable delete actions

view details

Hugo Dozois

commit sha 10c67f5dbc8a7090dbc46e5747ab674c15913f46

Merge pull request #604 from StMarian/patch-1 Fix boolean parameter parsing

view details

Jafar

commit sha 7da034ba464525836461772f2123053044ccbdf6

+ Fix invalid default values for config

view details

Hugo Dozois

commit sha c8569baf2869ed4a485fd45147190a546895fece

Merge pull request #614 from JafarAkhondali/Fix-invalid-default-host-info + Fix invalid default values for config

view details

Jafar

commit sha effbbe6f917db999f66972e1c50767e863387a1d

+ Fix query options bug from Mongodb breaking change

view details

Hugo Dozois

commit sha 1fe5d830ab03d9b05eee38f3218df90c6dae0cdb

Merge pull request #615 from JafarAkhondali/master Fix query options bug from Mongodb breaking change

view details

HelioStrike

commit sha 2322d34cf081d42483009a853a01bbe3465a568a

Fixed Issue #590: docker build fails, gpg not found

view details

Hugo Dozois

commit sha 679c84d40f65dfaf7fec35c5da40af456646fa82

Merge pull request #616 from HelioStrike/fix-590 Fixed Issue #590: docker build fails, gpg not found

view details

push time in 4 days

pull request commentdozoisch/react-google-recaptcha

Made import of React.Component more specific

master has import * as react

peterswallow

comment created time in 4 days

PR closed dozoisch/react-google-recaptcha

Made import of React.Component more specific

Fixes issue #158 when using Preact.js V10+ which now has no export default for Preact and won't by default include Preact.Component in the import. dozoisch/react-google-recaptcha#158

+2 -2

1 comment

1 changed file

peterswallow

pr closed time in 4 days

issue closeddozoisch/react-async-script

Feature request: Support script tag attributes

I'm integrating with a 3rd party library (OptinMonster) that has a script tag which uses data- attributes to customize the script for different customers.

Here is the structure of their script tag:

<script type="text/javascript" src="https://a.opmnstr.com/app/js/api.min.js" data-account="12345" data-user="54321" async></script>

I looked through the react-async-script code and it seems like there is currently no way to provide any optional attributes to the script tag that is generated.

It would be great if we could provide an optional object of attributes that should be injected into the script tag when generated.

Something like this:

const URL = 'https://a.opmnstr.com/app/js/api.min.js'
const options = {
  tagAttributes: {
    'data-account': '12345',
    'data-user': '54321',
  },
}
makeAsyncScriptLoader(URL, options)(Component)

closed time in 4 days

javidjamae

push eventdozoisch/react-async-script

Hugo Dozois

commit sha ba9cf71be2e9600f0383da99be8889b316265488

Update dependencies with no breaking changes - babel/jest

view details

Hugo Dozois

commit sha 5378508c749ab5e8f8bc6cf4839c7285cde2291e

Update prettier to 2.0

view details

Hugo Dozois

commit sha 4cb8ea61d1a3aa8fd1e88946027d05af40759d80

Fixup lint errors in linter config

view details

Hugo Dozois

commit sha e4a2b420a7ec7a9785b9a918a792763421a9c142

Merge pull request #56 from dozoisch/update_dependencies Update dependencies

view details

push time in 4 days

PR merged dozoisch/react-async-script

Update dependencies dependencies
+534 -352

0 comment

6 changed files

dozoisch

pr closed time in 4 days

push eventdozoisch/react-async-script

Hugo Dozois

commit sha 4cb8ea61d1a3aa8fd1e88946027d05af40759d80

Fixup lint errors in linter config

view details

push time in 4 days

startedcapricorn86/happy-dom

started time in 10 days

issue commentmongo-express/mongo-express

ME_CONFIG_MONGODB_URL ignored

Anyway I'll check the config, I'd like to simplify all theoptions and get rid of methods other than the URL one

p-mongo

comment created time in 11 days

issue commentmongo-express/mongo-express

ME_CONFIG_MONGODB_URL ignored

@p-mongo sorry meant https://github.com/mongo-express/mongo-express/pull/614/files

p-mongo

comment created time in 11 days

issue commentmongo-express/mongo-express

ME_CONFIG_MONGODB_URL ignored

probably fixed here https://github.com/mongo-express/mongo-express/pull/615

p-mongo

comment created time in 11 days

push eventmongo-express/mongo-express

HelioStrike

commit sha 2322d34cf081d42483009a853a01bbe3465a568a

Fixed Issue #590: docker build fails, gpg not found

view details

Hugo Dozois

commit sha 679c84d40f65dfaf7fec35c5da40af456646fa82

Merge pull request #616 from HelioStrike/fix-590 Fixed Issue #590: docker build fails, gpg not found

view details

push time in 11 days

PR merged mongo-express/mongo-express

Fixed Issue #590: docker build fails, gpg not found

Fixes #590 .

Docker build fails with a gpg: not found, so installing gpg before calling it.

+1 -0

0 comment

1 changed file

HelioStrike

pr closed time in 11 days

issue closedmongo-express/mongo-express

Docker build fails

Scenario:

Download repo and run docker build:

git clone https://github.com/mongo-express/mongo-express.git
cd mongo-express
docker build -t mongo-express .

Expected:

The image build successfully

Found:

Error during build:

gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 6380DC428747F6C393FEACA59A84159D7001A4E5
/bin/sh: 1: gpg: not found

<details> <summary>Full log</summary> <pre> Sending build context to Docker daemon 983.6kB Step 1/11 : FROM node:12-slim 12-slim: Pulling from library/node cbd31ae33279: Pull complete 4e8f99b4e7b4: Pull complete a2a2aef48322: Pull complete 7a5492bd3709: Pull complete bf3d58f86ae1: Pull complete Digest: sha256:df96cca7ddada33ef3af3541cbda86937307286b3942fc725216bccc53998d6f Status: Downloaded newer image for node:12-slim ---> 9708c2ed1a4b Step 2/11 : ENV TINI_VERSION 0.9.0 ---> Running in 9cd719ea6678 Removing intermediate container 9cd719ea6678 ---> 7af5f9584af1 Step 3/11 : RUN set -x && apt-get update && apt-get install -y ca-certificates curl --no-install-recommends && curl -fSL "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini" -o /usr/local/bin/tini && curl -fSL "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini.asc" -o /usr/local/bin/tini.asc && export GNUPGHOME="$(mktemp -d)" && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 6380DC428747F6C393FEACA59A84159D7001A4E5 && gpg --batch --verify /usr/local/bin/tini.asc /usr/local/bin/tini && rm -r "$GNUPGHOME" /usr/local/bin/tini.asc && chmod +x /usr/local/bin/tini && tini -h && apt-get purge --auto-remove -y ca-certificates curl && rm -rf /var/lib/apt/lists/* ---> Running in ba228c95f27e

  • apt-get update Get:1 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB] Ign:2 http://deb.debian.org/debian stretch InRelease Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB] Get:4 http://deb.debian.org/debian stretch Release [118 kB] Get:5 http://deb.debian.org/debian stretch Release.gpg [2410 B] Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [538 kB] Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [2596 B] Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [7080 kB] Fetched 7888 kB in 3s (2383 kB/s) Reading package lists...
  • apt-get install -y ca-certificates curl --no-install-recommends Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: xz-utils Use 'apt autoremove' to remove it. The following additional packages will be installed: libcurl3 libffi6 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed4 libidn11 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnettle6 libnghttp2-14 libp11-kit0 libpsl5 librtmp1 libsasl2-2 libsasl2-modules-db libssh2-1 libssl1.0.2 libssl1.1 libtasn1-6 libunistring0 openssl Suggested packages: gnutls-bin krb5-doc krb5-user Recommended packages: krb5-locales publicsuffix libsasl2-modules The following NEW packages will be installed: ca-certificates curl libcurl3 libffi6 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed4 libidn11 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnettle6 libnghttp2-14 libp11-kit0 libpsl5 librtmp1 libsasl2-2 libsasl2-modules-db libssh2-1 libssl1.0.2 libssl1.1 libtasn1-6 libunistring0 openssl 0 upgraded, 29 newly installed, 0 to remove and 4 not upgraded. Need to get 7664 kB of archives. After this operation, 19.6 MB of additional disk space will be used. Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 libcurl3 amd64 7.52.1-5+deb9u11 [292 kB] Get:2 http://deb.debian.org/debian stretch/main amd64 libssl1.0.2 amd64 1.0.2u-1~deb9u1 [1304 kB] Get:3 http://security.debian.org/debian-security stretch/updates/main amd64 curl amd64 7.52.1-5+deb9u11 [227 kB] Get:4 http://deb.debian.org/debian stretch/main amd64 libssl1.1 amd64 1.1.0l-1~deb9u1 [1358 kB] Get:5 http://deb.debian.org/debian stretch/main amd64 libgmp10 amd64 2:6.1.2+dfsg-1 [253 kB] Get:6 http://deb.debian.org/debian stretch/main amd64 libnettle6 amd64 3.3-1+b2 [192 kB] Get:7 http://deb.debian.org/debian stretch/main amd64 libhogweed4 amd64 3.3-1+b2 [136 kB] Get:8 http://deb.debian.org/debian stretch/main amd64 libidn11 amd64 1.33-1+deb9u1 [115 kB] Get:9 http://deb.debian.org/debian stretch/main amd64 libffi6 amd64 3.2.1-6 [20.4 kB] Get:10 http://deb.debian.org/debian stretch/main amd64 libp11-kit0 amd64 0.23.3-2 [111 kB] Get:11 http://deb.debian.org/debian stretch/main amd64 libtasn1-6 amd64 4.10-1.1+deb9u1 [50.6 kB] Get:12 http://deb.debian.org/debian stretch/main amd64 libgnutls30 amd64 3.5.8-5+deb9u5 [896 kB] Get:13 http://deb.debian.org/debian stretch/main amd64 libkeyutils1 amd64 1.5.9-9 [12.4 kB] Get:14 http://deb.debian.org/debian stretch/main amd64 libkrb5support0 amd64 1.15-1+deb9u1 [61.9 kB] Get:15 http://deb.debian.org/debian stretch/main amd64 libk5crypto3 amd64 1.15-1+deb9u1 [119 kB] Get:16 http://deb.debian.org/debian stretch/main amd64 libkrb5-3 amd64 1.15-1+deb9u1 [311 kB] Get:17 http://deb.debian.org/debian stretch/main amd64 libgssapi-krb5-2 amd64 1.15-1+deb9u1 [155 kB] Get:18 http://deb.debian.org/debian stretch/main amd64 libsasl2-modules-db amd64 2.1.27~101-g0780600+dfsg-3+deb9u1 [68.4 kB] Get:19 http://deb.debian.org/debian stretch/main amd64 libsasl2-2 amd64 2.1.27~101-g0780600+dfsg-3+deb9u1 [105 kB] Get:20 http://deb.debian.org/debian stretch/main amd64 libldap-common all 2.4.44+dfsg-5+deb9u4 [85.7 kB] Get:21 http://deb.debian.org/debian stretch/main amd64 libldap-2.4-2 amd64 2.4.44+dfsg-5+deb9u4 [219 kB] Get:22 http://deb.debian.org/debian stretch/main amd64 openssl amd64 1.1.0l-1~deb9u1 [749 kB] Get:23 http://deb.debian.org/debian stretch/main amd64 ca-certificates all 20200601~deb9u1 [160 kB] Get:24 http://deb.debian.org/debian stretch/main amd64 libunistring0 amd64 0.9.6+really0.9.3-0.1 [279 kB] Get:25 http://deb.debian.org/debian stretch/main amd64 libidn2-0 amd64 0.16-1+deb9u1 [60.7 kB] Get:26 http://deb.debian.org/debian stretch/main amd64 libnghttp2-14 amd64 1.18.1-1+deb9u1 [79.2 kB] Get:27 http://deb.debian.org/debian stretch/main amd64 libpsl5 amd64 0.17.0-3 [41.8 kB] Get:28 http://deb.debian.org/debian stretch/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-1+b1 [60.4 kB] Get:29 http://deb.debian.org/debian stretch/main amd64 libssh2-1 amd64 1.7.0-1+deb9u1 [139 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 7664 kB in 1s (6894 kB/s) Selecting previously unselected package libssl1.0.2:amd64. (Reading database ... 6366 files and directories currently installed.) Preparing to unpack .../00-libssl1.0.2_1.0.2u-1~deb9u1_amd64.deb ... Unpacking libssl1.0.2:amd64 (1.0.2u-1~deb9u1) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../01-libssl1.1_1.1.0l-1~deb9u1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.0l-1~deb9u1) ... Selecting previously unselected package libgmp10:amd64. Preparing to unpack .../02-libgmp10_2%3a6.1.2+dfsg-1_amd64.deb ... Unpacking libgmp10:amd64 (2:6.1.2+dfsg-1) ... Selecting previously unselected package libnettle6:amd64. Preparing to unpack .../03-libnettle6_3.3-1+b2_amd64.deb ... Unpacking libnettle6:amd64 (3.3-1+b2) ... Selecting previously unselected package libhogweed4:amd64. Preparing to unpack .../04-libhogweed4_3.3-1+b2_amd64.deb ... Unpacking libhogweed4:amd64 (3.3-1+b2) ... Selecting previously unselected package libidn11:amd64. Preparing to unpack .../05-libidn11_1.33-1+deb9u1_amd64.deb ... Unpacking libidn11:amd64 (1.33-1+deb9u1) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../06-libffi6_3.2.1-6_amd64.deb ... Unpacking libffi6:amd64 (3.2.1-6) ... Selecting previously unselected package libp11-kit0:amd64. Preparing to unpack .../07-libp11-kit0_0.23.3-2_amd64.deb ... Unpacking libp11-kit0:amd64 (0.23.3-2) ... Selecting previously unselected package libtasn1-6:amd64. Preparing to unpack .../08-libtasn1-6_4.10-1.1+deb9u1_amd64.deb ... Unpacking libtasn1-6:amd64 (4.10-1.1+deb9u1) ... Selecting previously unselected package libgnutls30:amd64. Preparing to unpack .../09-libgnutls30_3.5.8-5+deb9u5_amd64.deb ... Unpacking libgnutls30:amd64 (3.5.8-5+deb9u5) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../10-libkeyutils1_1.5.9-9_amd64.deb ... Unpacking libkeyutils1:amd64 (1.5.9-9) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../11-libkrb5support0_1.15-1+deb9u1_amd64.deb ... Unpacking libkrb5support0:amd64 (1.15-1+deb9u1) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../12-libk5crypto3_1.15-1+deb9u1_amd64.deb ... Unpacking libk5crypto3:amd64 (1.15-1+deb9u1) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../13-libkrb5-3_1.15-1+deb9u1_amd64.deb ... Unpacking libkrb5-3:amd64 (1.15-1+deb9u1) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../14-libgssapi-krb5-2_1.15-1+deb9u1_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.15-1+deb9u1) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../15-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3+deb9u1_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3+deb9u1) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../16-libsasl2-2_2.1.27~101-g0780600+dfsg-3+deb9u1_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3+deb9u1) ... Selecting previously unselected package libldap-common. Preparing to unpack .../17-libldap-common_2.4.44+dfsg-5+deb9u4_all.deb ... Unpacking libldap-common (2.4.44+dfsg-5+deb9u4) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../18-libldap-2.4-2_2.4.44+dfsg-5+deb9u4_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.44+dfsg-5+deb9u4) ... Selecting previously unselected package openssl. Preparing to unpack .../19-openssl_1.1.0l-1~deb9u1_amd64.deb ... Unpacking openssl (1.1.0l-1~deb9u1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../20-ca-certificates_20200601~deb9u1_all.deb ... Unpacking ca-certificates (20200601~deb9u1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../21-libunistring0_0.9.6+really0.9.3-0.1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.6+really0.9.3-0.1) ... Selecting previously unselected package libidn2-0:amd64. Preparing to unpack .../22-libidn2-0_0.16-1+deb9u1_amd64.deb ... Unpacking libidn2-0:amd64 (0.16-1+deb9u1) ... Selecting previously unselected package libnghttp2-14:amd64. Preparing to unpack .../23-libnghttp2-14_1.18.1-1+deb9u1_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.18.1-1+deb9u1) ... Selecting previously unselected package libpsl5:amd64. Preparing to unpack .../24-libpsl5_0.17.0-3_amd64.deb ... Unpacking libpsl5:amd64 (0.17.0-3) ... Selecting previously unselected package librtmp1:amd64. Preparing to unpack .../25-librtmp1_2.4+20151223.gitfa8646d.1-1+b1_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1+b1) ... Selecting previously unselected package libssh2-1:amd64. Preparing to unpack .../26-libssh2-1_1.7.0-1+deb9u1_amd64.deb ... Unpacking libssh2-1:amd64 (1.7.0-1+deb9u1) ... Selecting previously unselected package libcurl3:amd64. Preparing to unpack .../27-libcurl3_7.52.1-5+deb9u11_amd64.deb ... Unpacking libcurl3:amd64 (7.52.1-5+deb9u11) ... Selecting previously unselected package curl. Preparing to unpack .../28-curl_7.52.1-5+deb9u11_amd64.deb ... Unpacking curl (7.52.1-5+deb9u11) ... Setting up libnettle6:amd64 (3.3-1+b2) ... Setting up libnghttp2-14:amd64 (1.18.1-1+deb9u1) ... Setting up libldap-common (2.4.44+dfsg-5+deb9u4) ... Setting up libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3+deb9u1) ... Setting up libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3+deb9u1) ... Setting up libtasn1-6:amd64 (4.10-1.1+deb9u1) ... Setting up libssl1.0.2:amd64 (1.0.2u-1~deb9u1) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up libgmp10:amd64 (2:6.1.2+dfsg-1) ... Setting up libssh2-1:amd64 (1.7.0-1+deb9u1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up libunistring0:amd64 (0.9.6+really0.9.3-0.1) ... Setting up libssl1.1:amd64 (1.1.0l-1~deb9u1) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up openssl (1.1.0l-1~deb9u1) ... Setting up libffi6:amd64 (3.2.1-6) ... Setting up libkeyutils1:amd64 (1.5.9-9) ... Setting up ca-certificates (20200601~deb9u1) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Updating certificates in /etc/ssl/certs... 126 added, 0 removed; done. Setting up libidn11:amd64 (1.33-1+deb9u1) ... Setting up libidn2-0:amd64 (0.16-1+deb9u1) ... Setting up libpsl5:amd64 (0.17.0-3) ... Setting up libkrb5support0:amd64 (1.15-1+deb9u1) ... Setting up libhogweed4:amd64 (3.3-1+b2) ... Setting up libp11-kit0:amd64 (0.23.3-2) ... Setting up libk5crypto3:amd64 (1.15-1+deb9u1) ... Setting up libgnutls30:amd64 (3.5.8-5+deb9u5) ... Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1+b1) ... Setting up libldap-2.4-2:amd64 (2.4.44+dfsg-5+deb9u4) ... Setting up libkrb5-3:amd64 (1.15-1+deb9u1) ... Setting up libgssapi-krb5-2:amd64 (1.15-1+deb9u1) ... Setting up libcurl3:amd64 (7.52.1-5+deb9u11) ... Setting up curl (7.52.1-5+deb9u11) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for ca-certificates (20200601~deb9u1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done.
  • curl -fSL https://github.com/krallin/tini/releases/download/v0.9.0/tini -o /usr/local/bin/tini % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 615 100 615 0 0 1252 0 --:--:-- --:--:-- --:--:-- 1255 100 18728 100 18728 0 0 13742 0 0:00:01 0:00:01 --:--:-- 45456
  • curl -fSL https://github.com/krallin/tini/releases/download/v0.9.0/tini.asc -o /usr/local/bin/tini.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 619 100 619 0 0 1138 0 --:--:-- --:--:-- --:--:-- 1137 100 836 100 836 0 0 683 0 0:00:01 0:00:01 --:--:-- 683
  • mktemp -d
  • export GNUPGHOME=/tmp/tmp.7TwfzWxFoc
  • gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 6380DC428747F6C393FEACA59A84159D7001A4E5 /bin/sh: 1: gpg: not found The command '/bin/sh -c set -x && apt-get update && apt-get install -y ca-certificates curl --no-install-recommends && curl -fSL "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini" -o /usr/local/bin/tini && curl -fSL "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini.asc" -o /usr/local/bin/tini.asc && export GNUPGHOME="$(mktemp -d)" && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 6380DC428747F6C393FEACA59A84159D7001A4E5 && gpg --batch --verify /usr/local/bin/tini.asc /usr/local/bin/tini && rm -r "$GNUPGHOME" /usr/local/bin/tini.asc && chmod +x /usr/local/bin/tini && tini -h && apt-get purge --auto-remove -y ca-certificates curl && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 127 </pre> </details>

closed time in 11 days

StMarian

push eventmongo-express/mongo-express

Jafar

commit sha effbbe6f917db999f66972e1c50767e863387a1d

+ Fix query options bug from Mongodb breaking change

view details

Hugo Dozois

commit sha 1fe5d830ab03d9b05eee38f3218df90c6dae0cdb

Merge pull request #615 from JafarAkhondali/master Fix query options bug from Mongodb breaking change

view details

push time in 18 days

PR merged mongo-express/mongo-express

Fix query options bug from Mongodb breaking change

The PR: #558 updated mongodb version from 2.2.24 to 3.5.5. There are some breaking changes in mongodb 3.x.x version like find which removed the projection field as separate parameters and expectes it in options.
Since projection was the second field and query_options was the third one, all features like sorting and pagination were corrupted by the update. This PR will fix this issue.

+9 -21

1 comment

1 changed file

JafarAkhondali

pr closed time in 18 days

pull request commentmongo-express/mongo-express

Fix query options bug from Mongodb breaking change

Thanks!

JafarAkhondali

comment created time in 18 days

PullRequestReviewEvent

pull request commentmongo-express/mongo-express

+ Fix invalid default values for config

Thanks @JafarAkhondali added it to the topics as well :).

JafarAkhondali

comment created time in 18 days

push eventmongo-express/mongo-express

Jafar

commit sha 7da034ba464525836461772f2123053044ccbdf6

+ Fix invalid default values for config

view details

Hugo Dozois

commit sha c8569baf2869ed4a485fd45147190a546895fece

Merge pull request #614 from JafarAkhondali/Fix-invalid-default-host-info + Fix invalid default values for config

view details

push time in 18 days

PR merged mongo-express/mongo-express

+ Fix invalid default values for config

I think this will fix the undefined values for the host, however, the config file needs a proper refactoring fix: #581

You may also add hacktoberfest topic in your project to attract other contributors

+8 -4

0 comment

1 changed file

JafarAkhondali

pr closed time in 18 days

issue closedmongo-express/mongo-express

"UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [undefined:27017] on first connect [Error: getaddrinfo ENOTFOUND undefined"

Hi! When trying to update https://github.com/mongo-express/mongo-express-docker to 1.0.0-alpha.1, I can't seem to run mongo-express successfully no matter how I install version 1.0.0-alpha.1, and I hope it's because there's something obvious I'm doing wrong.

No matter what I do (removing all environment variables, installing via yarn vs npm, etc etc etc), I'm getting the following error/backtrace:

No custom config.js found, loading config.default.js
Welcome to mongo-express
------------------------


(node:1) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
Could not connect to database at index "0"
(node:1) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [undefined:27017] on first connect [Error: getaddrinfo ENOTFOUND undefined
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
  name: 'MongoNetworkError'
}]
    at Pool.<anonymous> (/opt/mongo-express/node_modules/mongodb/lib/core/topologies/server.js:438:11)
    at Pool.emit (events.js:315:20)
    at /opt/mongo-express/node_modules/mongodb/lib/core/connection/pool.js:562:14
    at /opt/mongo-express/node_modules/mongodb/lib/core/connection/pool.js:995:11
    at /opt/mongo-express/node_modules/mongodb/lib/core/connection/connect.js:31:7
    at callback (/opt/mongo-express/node_modules/mongodb/lib/core/connection/connect.js:264:5)
    at Socket.<anonymous> (/opt/mongo-express/node_modules/mongodb/lib/core/connection/connect.js:294:7)
    at Object.onceWrapper (events.js:422:26)
    at Socket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:92:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I'm not sure whether the displayed warnings are the cause of the failure (the server exits immediately after those warnings are displayed) or whether there's something else causing the server to exit. :sweat: I'm guessing the line that's hiding in the middle there (Could not connect to database at index "0") is the real error but I'm not certain.

The easiest way to reproduce is via a Dockerfile like the following:

FROM node:12-buster-slim

RUN set -eux; \
	apt-get update; \
	apt-get install -y --no-install-recommends tini; \
	rm -rf /var/lib/apt/lists/*

EXPOSE 8081

# override some config defaults with values that will work better for docker
ENV ME_CONFIG_MONGODB_SERVER="mongo" \
    ME_CONFIG_MONGODB_ENABLE_ADMIN="true" \
    VCAP_APP_HOST="0.0.0.0"

WORKDIR /opt/mongo-express
COPY . .
RUN yarn install
RUN yarn run build

CMD ["tini", "--", "yarn", "run", "start"]

Like I said, I've tried various things like installing directly via npm/yarn, removing all environment variables, setting ME_CONFIG_MONGODB_URL, etc, and nothing allows me to start the server successfully (it always exits with this same output). :disappointed:

Happy to do more testing/debugging, with a little guidance! :+1:

closed time in 18 days

tianon

startedevanw/esbuild

started time in 20 days

pull request commentmongo-express/mongo-express

Disable delete actions

I'll try to cut a release soon with the changes. I have a couple of improvements to do

xandout

comment created time in 21 days

PR opened dozoisch/react-async-script

Update dependencies dependencies
+529 -347

0 comment

5 changed files

pr created time in 22 days

create barnchdozoisch/react-async-script

branch : update_dependencies

created branch time in 22 days

push eventdozoisch/react-async-script

Hugo Dozois

commit sha 2f1854666594ed13b44d60b057f5703827315d77

Update README.md

view details

push time in 22 days

push eventdozoisch/react-async-script

Kevin Carrogan

commit sha 0a59749a23c9dd9d360d1d80099bd8693ddcfa26

Add test for global callback injection

view details

Kevin Carrogan

commit sha 25d68efa59478da99eb42147f52b82c2c0c2cc65

Treat callback and onload equally and the first sets load and calls observers

view details

Kevin Carrogan

commit sha f9e97c69a7acb364669d6f6315bf1b30aca69b3e

Bump version number

view details

Kevin Carrogan

commit sha 98293c2b3594e3ed9dc0b2ccb05ecdcca77bbb90

Run prettier and fix lint errors

view details

Hugo Dozois

commit sha a92d54b9f82659b9d3226607a71e4020d2767bf9

Merge branch 'master' into master

view details

Hugo Dozois

commit sha bc8fe7c04e3b90321a782097ff47685edb4ec76c

Merge pull request #49 from kevincarrogan/master Treat callback and onLoad equally for script load verification

view details

push time in 22 days

PR merged dozoisch/react-async-script

Treat callback and onLoad equally for script load verification

This fixes the problem in #6.

It treats both callback and onLoad equally in that if either one of them is called first it presumes that the script is fully loaded. Any subsequent calls from either onLoad or callback are ignored.

+105 -21

1 comment

2 changed files

kevincarrogan

pr closed time in 22 days

push eventkevincarrogan/react-async-script

Javid Jamae

commit sha ff15fda535d6809a9a06ec40482003ff5d21856c

added support for optional attributes that can be added to the generated script tag

view details

Javid Jamae

commit sha 7165b826a6d0cbca1988c768c366df1c0e2332cb

fixed lint issue

view details

dependabot[bot]

commit sha 545e5e4313c3d41478881495729abaf2f2a66f33

Bump acorn from 5.7.3 to 5.7.4 Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4) Signed-off-by: dependabot[bot] <support@github.com>

view details

Hugo Dozois

commit sha 10b6f64e6ce7628c2de8e24daf42fd5b2a418108

Merge pull request #53 from dozoisch/dependabot/npm_and_yarn/acorn-5.7.4 Bump acorn from 5.7.3 to 5.7.4

view details

Hugo Dozois

commit sha 3f58eb674bd3798173fed303c37573c85722e0bc

Merge pull request #52 from javidjamae/master #51 added support for optional attributes that can be added to the generated script tag

view details

Hugo Dozois

commit sha 1a60b2109b9eecf9a5d621934016de084f5f90e2

Bump v1.2.0

view details

Antti Lehto

commit sha 225734644b97d7d82ccb75d6e4f3059bc2b8a74f

Upgrade to eslint@7 and jest@26

view details

Antti Lehto

commit sha bdd68509b9f56094167ec6232ed19d1492a54392

Drop node 8 from travis, add node 14

view details

Hugo Dozois

commit sha f15e3f7e53022915c2efceb3e29bc0189f457188

Merge pull request #55 from anajavi/chore/upgrade-deps Upgrade jest and eslint

view details

Hugo Dozois

commit sha a92d54b9f82659b9d3226607a71e4020d2767bf9

Merge branch 'master' into master

view details

push time in 22 days

issue commentmongo-express/mongo-express

"UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [undefined:27017] on first connect [Error: getaddrinfo ENOTFOUND undefined"

@rayfoss unfortunately if we publish as alpha no one will test.

The goal with the 1.0 release is to try to move the backbone to the native driver as much as possible to avoid issues that were happening where as using the driver would've worked.

This project has to depend on the community to help with testing as it has no dedicated funding. I'm sorry you are having issues but Atlas is not something I personally use therefore whether we publish as alpha or not, these issues wouldn't be picked up.

If you try to connecting using require("mongodb").connect(url, options, console.log.bind(console) what happens? Does it connect?


@knickers I'm down to deprecate the host and other parameters.. to be honest, these create issues more than they help. Only allowing to pass a url seems like it would simplify things in the future.

tianon

comment created time in 22 days

push eventmongo-express/mongo-express

Marian Stychuk

commit sha 5fde8b84b1533d3fa95ebb47aa8c89b5955ac374

Fix boolean parameter parsing Fix parsing of ME_CONFIG_OPTIONS_READONLY and ME_CONFIG_SITE_GRIDFS_ENABLED parameters.

view details

Hugo Dozois

commit sha 10c67f5dbc8a7090dbc46e5747ab674c15913f46

Merge pull request #604 from StMarian/patch-1 Fix boolean parameter parsing

view details

push time in a month

PR merged mongo-express/mongo-express

Fix boolean parameter parsing

Closes #605 Fix parsing of ME_CONFIG_OPTIONS_READONLY and ME_CONFIG_SITE_GRIDFS_ENABLED parameters.

+6 -2

0 comment

1 changed file

StMarian

pr closed time in a month

issue closedmongo-express/mongo-express

ME_CONFIG_OPTIONS_READONLY doesn't work as expected

Setting ME_CONFIG_OPTIONS_READONLY to false result in UI being read-only.

closed time in a month

StMarian

push eventmongo-express/mongo-express

Mitchell Turner

commit sha a67884a19ddd91447fa98d677e551dc048525c6f

Added ME_CONFIG_OPTIONS_NO_DELETE option

view details

Mitchell Turner

commit sha 402cfb95d828bc2921eaf277eba0e39dc6b99340

Updated README.md for NO_DELETE

view details

Hugo Dozois

commit sha 9631d3757a2951d86f2c138910bff121a878e56c

Merge pull request #608 from xandout/disable-delete Disable delete actions

view details

push time in a month

PR merged mongo-express/mongo-express

Disable delete actions

I had an internal user request the ability to disable the delete actions but still be able to create/update/export.

I implemented it by copying the way readOnly is implemented and made sure that all sections with glyphicon-trash had an if block around them.

Tested by hand with

# .env
ME_CONFIG_MONGODB_URL=mongodb://mongo:27017/demo-db
VCAP_APP_HOST=0.0.0.0
ME_CONFIG_OPTIONS_NO_DELETE=true

and

# docker-compose.yml
version: '2.4'
networks:
  main:
services:
  mongo:
    image: mongo
    restart: always
    env_file:
      - .env
    networks:
      - main
    volumes:
      - ./mongo_data:/data/db
  mongo-express:
    image: node:12
    working_dir: /home/node/app
    env_file:
      - .env
    command: 
      - /bin/bash
      - -c
      - |
        npm install
        npm run start-dev
    volumes:
      - ./:/home/node/app
    ports:
      - 8081:8081
    networks:
      - main
+25 -8

0 comment

11 changed files

xandout

pr closed time in a month

push eventdozoisch/react-async-script

Antti Lehto

commit sha 225734644b97d7d82ccb75d6e4f3059bc2b8a74f

Upgrade to eslint@7 and jest@26

view details

Antti Lehto

commit sha bdd68509b9f56094167ec6232ed19d1492a54392

Drop node 8 from travis, add node 14

view details

Hugo Dozois

commit sha f15e3f7e53022915c2efceb3e29bc0189f457188

Merge pull request #55 from anajavi/chore/upgrade-deps Upgrade jest and eslint

view details

push time in 2 months

PR merged dozoisch/react-async-script

Upgrade jest and eslint

what?

This upgrades jest to v26 and eslint to v7.

Also drops node 8 from travis as it is not maintained anymore.

why?

Just to keep build tools up to date. React 17 release is coming, which probably triggers a need for a new release (peer dependency).

+4156 -3281

0 comment

4 changed files

anajavi

pr closed time in 2 months

push eventdozoisch/react-google-recaptcha

Antti Lehto

commit sha 7261b213a54fd2aa909b5ba15483f74a7508dbd5

Upgrade dependencies

view details

Antti Lehto

commit sha 49817fc5547ad276ac67ffafa9ba28d82f9ad3e0

Drop node 8 from travis, add node 14

view details

Hugo Dozois

commit sha 5ec0e2fa9b492f338f82a59755b735840d9f348a

Merge pull request #187 from anajavi/chore/upgrade-deps Upgrade build tools

view details

push time in 2 months

PR merged dozoisch/react-google-recaptcha

Upgrade build tools

what?

This upgrades jest to v26 and eslint to v7.

Also drops node 8 from travis and adds node 14.

why?

To keep build tools up to date.

+4209 -2976

0 comment

6 changed files

anajavi

pr closed time in 2 months

issue commentmongo-express/mongo-express

Any plan to improve UI?

I think that's fine. I would only be careful with project size. Right now the UI is very minimal in terms of code while still having a lot of the needed feature. I'm all for SPA would just be careful it if means having 10x more to maintain vs just updating the UI visually to make it more compelling.

Other than that, that's fine with me.

JafarAkhondali

comment created time in 2 months

issue commentmongo-express/mongo-express

"UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [undefined:27017] on first connect [Error: getaddrinfo ENOTFOUND undefined"

@knickers I'd be down that we clean up all the docker variables for 1.0 to use a single connection string and get rid of the 4-5 other ones.

If I remember (been a while 😅 ) I support passing an array for "mongodb" to connect to multiple db so we could look into supporting that as well

tianon

comment created time in 2 months

issue commentmongo-express/mongo-express

"UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [undefined:27017] on first connect [Error: getaddrinfo ENOTFOUND undefined"

So 1.0.0 changed the way the connection module worked. I tried to make it as backward compatible as possible with before but possible it's not 100%.

From memory, ME_CONFIG_MONGODB_URL should work. I'll take a look at the base config but definitely passing a URL instead of host/port is better with 1.0 because if I receive anything else than a URL, I try to rebuild a url from the rest (which is where the bug might happen).

tianon

comment created time in 2 months

pull request commentmongo-express/mongo-express

Update/simplify Dockerfile

@knickers hey! I see that you reviewed the PR, what's your opinion on it? If you say it's good to go, I'm down to merge it.

tianon

comment created time in 2 months

issue commentmongo-express/mongo-express

Any plan to improve UI?

Hi Jafar,

Right now, there is no plan for UI overhauls as I don't have any bandwidth to work on such endeavors.

I'm not against PRs to do a revamp and improve things however I don't have time to lead that effort myself.

I'm personally in the React ecosystem, so have a preference towards that as it makes it easier for me to review/maintain, but am open to see this project take another direction, especially if people are willing to step in for maintenance of it.

JafarAkhondali

comment created time in 2 months

issue closeddozoisch/koa-react-full-example

Flux or a Flux-ish thingy

Hi, just curious if you planned on adding Reflux or had feelings either way on a PR for it. The current implementation of the Auth store isn't too far off already. Thanks for this repo!

closed time in 2 months

bhj

issue closeddozoisch/react-google-recaptcha

Property 'executeAsync' does not exist on type 'ReCAPTCHA'.

I am using executeAsync as below and getting the error Property 'executeAsync' does not exist on type 'ReCAPTCHA'.


const recaptchaRef = useRef<ReCAPTCHA>();
.
.
const captchaCode = await recaptchaRef?.current?.executeAsync();

.
.
.
<ReCAPTCHA
          ref={recaptchaRef}
          sitekey={CAPTCHA_SITE_KEY}
          size="invisible"
          onChange={(value) => {
            console.log('captcha', value);
            if (value) setCaptchaCode(value);
          }}
/>

Checked the declaration but cant find executeAsync def.

using typescript: 3.9.6

closed time in 3 months

Ashish2097

fork dozoisch/css-in-readme-like-wat

Style your readme using CSS with this simple trick

fork in 3 months

issue commentmongo-express/mongo-express

Modifying document having DBref makes it broken

@ptaillard it's good to go. Mostly requires people testing it more to make it official. It is the latest release on npm so installing mongo-express should install 1.0.0-alpha.1 by default

ptaillard

comment created time in 3 months

more