profile
viewpoint

haschu/Chart.js 1

Simple HTML5 Charts using the <canvas> tag

haschu/grunt-angular-translate 1

Grunt tasks to extract translation with AngularJS and angular-translate

haschu/capacitor 0

Build cross-platform Native Progressive Web Apps for iOS, Android, and the web ⚡️

haschu/dgeni-packages 0

A collection of dgeni packages for generating documentation from source code.

haschu/nightwatchcss 0

Regression testing tool for Nightwatch based on WebdriverCss

haschu/strapi 0

🚀 Open source Node.js Headless CMS to easily build customisable APIs

haschu/typeorm 0

ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

issue commenttypeorm/typeorm

Nested relations filtering doesn't work

@imnotjames This isn't a bug but a missing feature. See #4280 🙂

trixden

comment created time in 16 days

issue commentformio/angular-material-formio

[BUG] Extra empty item at select component

Hey, just a friendly reminder that a PR with a quick-fix was submitted by @albert5287. Should be fairly easy to merge, as it doesn't breaks anything :slightly_smiling_face:

weihan1394

comment created time in 17 days

pull request commentformio/angular-material-formio

delete empty mat-option,

Hey, I came across this issue and this fix is pretty simple and doesn't breaks anything, hence it should be straightforward to merge. This would be awesome! :upside_down_face:

albert5287

comment created time in 17 days

issue commentstrapi/strapi

strapi-plugin-users-permissions: password validation should be done asynchronously

@baermathias Very good point. This should at least be mentioned in the changelog.

haschu

comment created time in 18 days

issue commenttypeorm/typeorm

Proposal for improving FindOptions

@imnotjames Before I invest the time and afford, I'd like to make sure which of the proposed features are actually acceptable for the maintainers :) That's why I opened this issue in the first place. I guess the most requested issue would be nested where statements.

haschu

comment created time in 19 days

issue commenttypeorm/typeorm

Proposal for improving FindOptions

@imnotjames Just noticed the new "new feature" label. Does that mean the proposal has been accepted and is open for a PR?

haschu

comment created time in 19 days

issue commentionic-team/ionic-framework

bug: transitions are slower on iOS 14 beta

The transition-duration problem seems to be fixed, but all animation curves are linear on the latest version. Does anybody know a workaround? 😢

NiklasMerz

comment created time in a month

startedgit/git

started time in 2 months

startedmjmlio/mjml

started time in 2 months

startedmojs/mojs

started time in 2 months

issue commenttypestack/class-transformer

Feature: overwrite metadata with targetMaps

Hi @NoNameProvided.

To be honest, I don't really know what this is about anymore... :sweat_smile:

But thanks for your answer anyways!

haschu

comment created time in 3 months

fork haschu/strapi

🚀 Open source Node.js Headless CMS to easily build customisable APIs

https://strapi.io

fork in 3 months

issue openedstrapi/strapi

strapi-plugin-users-permissions: password validation should be done asynchronously

I'm not sure whether you consider this a bug or a feature, but it should be fixed soon anyways.

Right now, the password validation uses bcrypt.compareSync - which is quite an expensive operation: https://github.com/strapi/strapi/blob/97dfde210a793452d70e5b99b5df05899f26de1b/packages/strapi-plugin-users-permissions/services/User.js#L116-L118

Synchronous functions are blocking the event-loop and should be avoided. Hence we should use bcrypt.compare and make validatePassword return a Promise.

I could come up with a pull request if you guys are okay with that change :)

created time in 3 months

issue commentstrapi/strapi

strapi-plugin-users-permissions: unable to configure jwtSecret using .env variables

Thanks for that tipp!

haschu

comment created time in 3 months

issue commentstrapi/strapi

strapi-plugin-users-permissions: unable to configure jwtSecret using .env variables

Ah, okay. I thought that this syntax can be used in any config directory. Thanks anyway :)

haschu

comment created time in 3 months

issue openedstrapi/strapi

strapi-plugin-users-permissions: unable to configure jwtSecret using .env variables

Describe the bug Using environment variables in extensions/users-permissions/config/jwt.js fails with:

Error creating endpoint get /xyz: Could not find policy "plugins::users-permissions.permissions"

Steps to reproduce the behavior

Update extensions/users-permissions/config/jwt.js from:

module.exports = {
  jwtSecret: process.env.JWT_SECRET || 'generated-secret-string'
};

to:

module.exports = ({ env }) => ({
  jwtSecret: env('USER_JWT_SECRET')
});

and add USER_JWT_SECRET to .env

Expected behavior It should use the jwtSecret from the .env-File

System

  • Node.js version: <!-- Please ensure you are using the Node LTS version (v12) -->
  • NPM version: v6.13.4
  • Strapi version: 3.1.1
  • Database: PG v12.3
  • Operating system: macOS

created time in 3 months

more