profile
viewpoint
Francisco Lourenço franciscolourenco Berlin

franciscolourenco/done 237

A fish-shell package to automatically receive notifications when long processes finish.

franciscolourenco/atea 1

A minimalistic menu bar time tracker for MacOS

franciscolourenco/CAAT 1

Canvas Advanced Animation Toolkit

franciscolourenco/Deluge-Growl 1

Growl Notification Plugin for the Deluge BitTorrent client

franciscolourenco/Dispatch-Cancel 1

Provides a cancel mechanism for delayed block dispatch

codingamigos/Amigonia 0

The new world, created by and for CodignAmigos

startedgoogle/trax

started time in an hour

issue commenthasura/graphql-engine

Granular permissions for `by_pk` queries vs multiple row queries

@tirumaraiselvan I don't understand what you mean with mask and with mask table_by _pk. This workaround sounds like it could work though https://github.com/hasura/graphql-engine/issues/3742#issuecomment-576071041

franciscolourenco

comment created time in a day

issue commenthasura/graphql-engine

[Feature request] Disable root level list / _by_pk queries on any table

@webdeb that looks like a possible workaround, but it is still a cumbersome and indirect way of achieving the result.

Winwardo

comment created time in a day

push eventfranciscolourenco/github-actions-continuous-delivery

Francisco Lourenco

commit sha 7d97b4e59308c7e1d6bc3279c079f883cbc181e6

Step 2

view details

push time in a day

push eventfranciscolourenco/github-actions-continuous-delivery

Francisco Lourenco

commit sha 3ec22696c57fbc07c87c4b44752e064a56dc4d7d

Step 1

view details

push time in a day

create barnchfranciscolourenco/github-actions-continuous-delivery

branch : master

created branch time in a day

created repositoryfranciscolourenco/github-actions-continuous-delivery

created time in a day

startedVGraupera/1on1-questions

started time in 2 days

issue commentmetabase/metabase

Don't analyze hidden columns

Reducing memory consumption would be a good thing, but is there a point in scanning hidden columns?

franciscolourenco

comment created time in 4 days

issue commentmetabase/metabase

Don't analyze hidden columns

@sbelak this or are you looking for something else?

Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 INFO sync.util :: STARTING: Sync metadata for postgres Database 3 'Example'
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 INFO sync.util :: STARTING: step 'sync-timezone' for postgres Database 3 'Example'
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 INFO sync.util :: FINISHED: step 'sync-timezone' for postgres Database 3 'Example' (10
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 INFO sync.util :: STARTING: step 'sync-tables' for postgres Database 3 'Example'
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 INFO sync.util :: FINISHED: step 'sync-tables' for postgres Database 3 'Example' (39.0
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 INFO sync.util :: STARTING: step 'sync-fields' for postgres Database 3 'Example'
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."yes_
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."card
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:00 metabase metabase.sh[1610]: 02-12 20:50:00 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:01 metabase metabase.sh[1610]: 02-12 20:50:01 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:01 metabase metabase.sh[1610]: 02-12 20:50:01 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:01 metabase metabase.sh[1610]: 02-12 20:50:01 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:01 metabase metabase.sh[1610]: 02-12 20:50:01 WARN sql-jdbc.sync :: Don't know how to map column type '"information_schema"."sql_
Feb 12 20:50:01 metabase metabase.sh[1610]: 02-12 20:50:01 INFO sync.util :: FINISHED: step 'sync-fields' for postgres Database 3 'Example' (1.5
Feb 12 20:50:01 metabase metabase.sh[1610]: 02-12 20:50:01 INFO sync.util :: STARTING: step 'sync-fks' for postgres Database 3 'Example'
Feb 12 20:50:02 metabase metabase.sh[1610]: 02-12 20:50:02 INFO sync.util :: FINISHED: step 'sync-fks' for postgres Database 3 'Example' (456.6 m
Feb 12 20:50:02 metabase metabase.sh[1610]: 02-12 20:50:02 INFO sync.util :: STARTING: step 'sync-metabase-metadata' for postgres Database 3 '
Feb 12 20:50:02 metabase metabase.sh[1610]: 02-12 20:50:02 INFO sync.util :: FINISHED: step 'sync-metabase-metadata' for postgres Database 3 '
Feb 12 20:50:02 metabase metabase.sh[1610]: 02-12 20:50:02 INFO sync.util :: FINISHED: Sync metadata for postgres Database 3 'Example' (2.1 s)
Feb 12 20:50:02 metabase metabase.sh[1610]: 02-12 20:50:02 INFO sync.util :: STARTING: Analyze data for postgres Database 3 'Example'
Feb 12 20:50:02 metabase metabase.sh[1610]: 02-12 20:50:02 INFO sync.util :: STARTING: step 'fingerprint-fields' for postgres Database 3 'Bird
Feb 12 20:50:02 metabase metabase.sh[1610]: 02-12 20:50:02 INFO sync.analyze :: fingerprint-fields Analyzed [*****····························
Feb 12 20:50:02 metabase metabase.sh[1610]: 02-12 20:50:02 INFO sync.analyze :: fingerprint-fields Analyzed [**********·······················
Feb 12 20:50:35 metabase metabase.sh[1610]: 02-12 20:50:35 ERROR sql-jdbc.execute :: Error reading :postgres column 4 column-a OTHER
Feb 12 20:50:35 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:36 metabase metabase.sh[1610]: 02-12 20:50:36 ERROR sql-jdbc.execute :: Error reading :postgres column 4 column-a OTHER
Feb 12 20:50:36 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:37 metabase metabase.sh[1610]: 02-12 20:50:37 ERROR sql-jdbc.execute :: Error reading :postgres column 19 column-b OTHER
Feb 12 20:50:37 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:39 metabase metabase.sh[1610]: 02-12 20:50:39 ERROR sql-jdbc.execute :: Error reading :postgres column 24 column-c VARCHAR
Feb 12 20:50:39 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:39 metabase metabase.sh[1610]: 02-12 20:50:39 ERROR sql-jdbc.execute :: Error reading :postgres column 4 column-a OTHER
Feb 12 20:50:39 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:41 metabase metabase.sh[1610]: 02-12 20:50:41 ERROR sql-jdbc.execute :: Error reading :postgres column 19 column-b OTHER
Feb 12 20:50:41 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:43 metabase metabase.sh[1610]: 02-12 20:50:43 ERROR sql-jdbc.execute :: Error reading :postgres column 6 column-d
Feb 12 20:50:43 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:44 metabase metabase.sh[1610]: 02-12 20:50:44 ERROR sql-jdbc.execute :: Error reading :postgres column 4 column-a OTHER
Feb 12 20:50:44 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:44 metabase metabase.sh[1610]: 02-12 20:50:44 WARN server.AbstractConnector ::
Feb 12 20:50:44 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:44 metabase metabase.sh[1610]: 02-12 20:50:44 ERROR sql-jdbc.execute :: Error reading :postgres column 19 column-b OTHER
Feb 12 20:50:44 metabase metabase.sh[1610]: java.lang.OutOfMemoryError: Java heap space
Feb 12 20:50:46 metabase metabase.sh[1610]: 02-12 20:50:46 INFO sync.analyze :: fingerprint-fields Analyzed [****************·················
Feb 12 20:50:46 metabase metabase.sh[1610]: 02-12 20:50:46 INFO sync.util :: FINISHED: step 'fingerprint-fields' for postgres Database 3 'Bird
Feb 12 20:50:46 metabase metabase.sh[1610]: 02-12 20:50:46 INFO sync.util :: STARTING: step 'classify-fields' for postgres Database 3 'Example'
Feb 12 20:50:46 metabase metabase.sh[1610]: 02-12 20:50:46 INFO sync.analyze :: classify-fields Analyzed [*********************···············
Feb 12 20:50:46 metabase metabase.sh[1610]: 02-12 20:50:46 INFO sync.analyze :: classify-fields Analyzed [***************************·········
Feb 12 20:50:46 metabase metabase.sh[1610]: 02-12 20:50:46 INFO sync.analyze :: classify-fields Analyzed [********************************····
Feb 12 20:50:46 metabase metabase.sh[1610]: 02-12 20:50:46 INFO sync.util :: FINISHED: step 'classify-fields' for postgres Database 3 'Example' (
Feb 12 20:50:46 metabase metabase.sh[1610]: 02-12 20:50:46 INFO sync.util :: STARTING: step 'classify-tables' for postgres Database 3 'Example'
Feb 12 20:50:46 metabase metabase.sh[1610]: 02-12 20:50:46 INFO sync.analyze :: classify-tables Analyzed [************************************
franciscolourenco

comment created time in 4 days

issue openedmetabase/metabase

Don't analyze hidden columns

Is your feature request related to a problem? Please describe. I have columns which have large amounts of data, but which are not interesting for querying. I would like to hide them, but metabase still tries to analyze them, and runs out of memory.

Error reading :postgres column OTHER
java.lang.OutOfMemoryError: Java heap space

Describe the solution you'd like Don't analyze hidden columns

Describe alternatives you've considered Disabling deep analysis globally, but would like to avoid doing that.

How important is this feature to you? Quite, since metabase stops responding when this happens

Additional context Related:

  • https://github.com/metabase/metabase/issues/2127
  • https://github.com/metabase/metabase/pull/4918

created time in 5 days

issue commenthasura/graphql-engine

Empty string as default value for text fields

@aerskine this is not currently support right?

karibertils

comment created time in 11 days

issue openedky-is/vue-cli-plugin-tailwind

@fullhuman/postcss-purgecss v2.x.x

v2.x is out https://github.com/FullHuman/purgecss/releases

created time in 13 days

push eventfranciscolourenco/webpack-extension-reloader

Francisco Lourenco

commit sha a853a0720efb170e65f48d6727851649047374bf

Start server only after the first emit Problem: The server is started before webpack emits the initial changes and built files are written to disk, causing the installed extension, which is trying to reconnect, to reload without having files to load. This caused an error in the extension, where it needs to be removed and installed again. Solution: We start the server after the first webpack emit event Fixes #51

view details

push time in 14 days

push eventfranciscolourenco/webpack-extension-reloader

Rubens Pinheiro

commit sha 4f9aa5e80142709d83c9f20570072d432835cee7

Greenkeeper/@types/webpack 4.41.0 (#61) * chore(package): update @types/webpack to version 4.41.0 * chore(package): update lockfile yarn.lock

view details

Francisco Lourenco

commit sha a5e4fd193c6f71f22712822f1af36a3afe2061ef

Merge branch 'master' into bird

view details

push time in 14 days

push eventfranciscolourenco/webpack-extension-reloader

Rubens Pinheiro

commit sha 4f9aa5e80142709d83c9f20570072d432835cee7

Greenkeeper/@types/webpack 4.41.0 (#61) * chore(package): update @types/webpack to version 4.41.0 * chore(package): update lockfile yarn.lock

view details

Francisco Lourenco

commit sha f504a7b0453ba9e50577b5416df987ca81598072

Merge branch 'master' into start-server-after-emit

view details

push time in 14 days

issue openedmubaidr/vue-chrome-extension-boilerplate

HMR vs Live Reloading

Is this boilerplate based on webpack-extension-reloader ?

If so I believe HMR is not yet supported. Only live reload - automatic page reload, not individual module reload. You might want to update the description to avoid confusion.

created time in 14 days

issue openedvuejs/vue-apollo

beforeEnter option

Is your feature request related to a problem? Please describe. I want to display the a component only after all resources have been fetched by apollo client.

Describe the solution you'd like A component option which makes the apollo queries be executed in a beforeEnter lifecycle hook, and only load the page after the queries have finished loading.

Describe alternatives you've considered Manually using apollo client inside the beforeEnter lifecycle hook.

created time in 20 days

issue commenthasura/graphql-engine

Granular permissions for `by_pk` queries vs multiple row queries

@tirumaraiselvan I have read both those issues and comments but honestly couldn't understand how they would help in my situation. It would still not be possible to assign different rules to select vs select_by_pk queries right?

franciscolourenco

comment created time in a month

issue commenthasura/graphql-engine

Granular permissions for `by_pk` queries vs multiple row queries

@tirumaraiselvan in my case I still need to allow logged in users to list their own items. So in summary, being able to set different permissions for table vs table_by_pk.

Would schema masking allow this?

From a hasura user standpoint I would imagine an additional column being added to the permissions table in data/schema/public/tables/:tablename/permissions.

franciscolourenco

comment created time in a month

issue commenthasura/graphql-engine

Granular permissions for `by_pk` queries vs multiple row queries

Any updates list vs read permissions?

franciscolourenco

comment created time in 2 months

pull request commentfranciscolourenco/done

Don't fail when powershell.exe is missing

Sounds like we should do both. Improve the chances of getting the powershell binary, and not fail if we don't. I think we should also join the if condition at the highest level, so that we can proceed to play the bell sound in case the one of the requirements fails.

@9999years would you mind making these changes? Thanks!

9999years

comment created time in 2 months

pull request commentfranciscolourenco/done

Don't fail when powershell.exe is missing

@9999years what platform are you running this in? Would the default bell sound work in your case?

echo -e "\a" # bell sound
9999years

comment created time in 2 months

issue commentauth0/auth0-spa-js

logoutWithPopup

Retain application state. Third-party cookie support seems to be a concern raised in Auth0 documentation in a few places.

franciscolourenco

comment created time in 2 months

issue commentauth0/auth0-spa-js

logoutWithPopup

Popup would not require third-party cookie support correct?

franciscolourenco

comment created time in 2 months

issue openedauth0/auth0-spa-js

logoutSilently

Describe the problem you'd like to have solved

I would like to perform logout while preserving application state

Describe the ideal solution

There are no redirects. Logout is performed like getTokenSilently

Alternatives and current work-arounds

Using an iframe. I this is works when third party cookies are blocked. If not, would it work when a custom domain is setup?

created time in 2 months

issue openedauth0/auth0-spa-js

Center popup or add position options

Describe the problem you'd like to have solved

I would like to center the auth popup in the window or screen.

Describe the ideal solution

Popup appears centered in window or screen.

Alternatives and current work-arounds

None found

Additional context

created time in 2 months

Pull request review commentauth0/auth0-spa-js

[SDK-1178] Local Storage caching mechanism

 document.getElementById('logout').addEventListener('click', () => { }); ``` +### Caching strategy++The SDK can be configured to cache data either in memory or in local storage. The default is in memory. This setting can be controlled using the `cacheStrategy` option when creating the Auth0 client.++To use the in-memory mode, no additional options need are required as this is the default setting. To configure the SDK to cache data using local storage, set `cacheStrategy` as follows:++```js+await createAuth0Client({+  domain: '<AUTH0_DOMAIN>',+  client_id: '<AUTH0_CLIENT_ID>',+  redirect_uri: '<MY_CALLBACK_URL>',+  cacheStrategy: 'localstorage' // valid values are: 'memory' or 'localstorage'+}).then(auth0 => {+  // ...+});+```++**Important:** This feature will allow the caching of data **such as ID and access tokens** to be stored in local storage. Exercising this option changes the security characteristics of your application and **should not be used lightly**. Extra care should be taken to mitigate against XSS attacks and minimize the risk of tokens being stolen from local storage.

Curious to read the full picture :)

stevehobbsdev

comment created time in 2 months

issue openedauth0/auth0-spa-js

logoutWithPopup

Thank you in advance for helping us to improve this library! Your attention to detail here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.

By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

I would like to logout with a popup, for the same reasons you would want to login with a popup.

Describe the ideal solution

Popup appears, user is logged out, session is cleared, callback is executed.

Alternatives and current work-arounds

Additional context

created time in 2 months

push eventfranciscolourenco/done

Jess

commit sha 613cf6b071381b62e346ac8e6a6929c4bd221112

Added financial contributors to the README

view details

Francisco Lourenço

commit sha ce59452f76bb7483194512af03180766e00fd7cc

Merge pull request #66 from opencollective/opencollective Activating Open Collective

view details

push time in 2 months

PR merged franciscolourenco/done

Activating Open Collective

Hi, I'm making updates for Open Collective. Either you or another core contributor signed this repository up for Open Collective. This pull request adds financial contributors from your Open Collective https://opencollective.com/done ❤️

What it does:

  • adds a badge to show the latest number of financial contributors
  • adds a banner displaying contributors to the project on GitHub
  • adds a banner displaying all individuals contributing financially on Open Collective
  • adds a section displaying all organizations contributing financially on Open Collective, with their logo and a link to their website

P.S: As with any pull request, feel free to comment or suggest changes.

Thank you for your great contribution to the Open Source community. You are awesome! 🙌 And welcome to the Open Collective community! 😊

Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other Open Source sustainers!

+31 -1

1 comment

1 changed file

monkeywithacupcake

pr closed time in 2 months

pull request commentfranciscolourenco/done

Activating Open Collective

Thanks

monkeywithacupcake

comment created time in 2 months

startedtrekhleb/nano-neuron

started time in 2 months

pull request commentfranciscolourenco/done

Add support for `screen`

Corrected, thanks!

ammgws

comment created time in 2 months

release franciscolourenco/done

1.12.0

released time in 2 months

push eventfranciscolourenco/done

Francisco Lourenco

commit sha ec82a7da4e85c21c374c1a3e7d8ec1573979e43f

Bump version to 1.12.0

view details

push time in 2 months

created tagfranciscolourenco/done

tag1.12.0

A fish-shell package to automatically receive notifications when long processes finish.

created time in 2 months

pull request commentfranciscolourenco/done

Add support for `screen`

Thanks!

ammgws

comment created time in 2 months

push eventfranciscolourenco/done

Jason

commit sha 5c47034bbd5a140069037cc7f1e05778145b3f92

Add support for `screen`

view details

Francisco Lourenço

commit sha d7d4db4205f55371376486775c8907b10647ca1a

Merge pull request #64 from ammgws/screen Add support for `screen`

view details

push time in 2 months

PR merged franciscolourenco/done

Add support for `screen`

Tested with screen 4.07.00

+12 -0

0 comment

1 changed file

ammgws

pr closed time in 2 months

push eventfranciscolourenco/done

Jason

commit sha 50c65e3d852b098eebb751128e4489f960b6c060

Fix bug introduced in #63

view details

Francisco Lourenço

commit sha 49159d6d442c7241c5662250d8ef0fb9aa7b0cf0

Merge pull request #65 from ammgws/bugfix Fix bug introduced in #63

view details

push time in 2 months

PR merged franciscolourenco/done

Fix bug introduced in #63

Command substitutions don't work inside quotes.

+2 -1

0 comment

1 changed file

ammgws

pr closed time in 2 months

release franciscolourenco/done

1.11.0

released time in 2 months

push eventfranciscolourenco/done

Francisco Lourenco

commit sha 7176791655885dbc3a9cda9595898a6997c92993

Bump version to 1.11.0 - Windows support - Tmux improvements

view details

push time in 2 months

created tagfranciscolourenco/done

tag1.11.0

A fish-shell package to automatically receive notifications when long processes finish.

created time in 2 months

pull request commentfranciscolourenco/done

Format code with `fish_indent`

thanks!

ammgws

comment created time in 2 months

push eventfranciscolourenco/done

Jason

commit sha e8e41f84832328d1959d44a7fb29d1e0c4345d97

Format code with fish_indent from fish master (3.1 series)

view details

Francisco Lourenço

commit sha 1ad1db1b89ccaa7ab3407801232bda5095556b4e

Merge pull request #62 from ammgws/format Format code with `fish_indent`

view details

push time in 2 months

PR merged franciscolourenco/done

Format code with `fish_indent`

Mainly just tabs converted to spaces.

+132 -132

7 comments

1 changed file

ammgws

pr closed time in 2 months

pull request commentfranciscolourenco/done

Format code with `fish_indent`

The only point of running the formatter is if we all use the same formatter all the time. I don't necessarily want to build and install fish from source, so the only formatter I would run is the one currently on stable.

That being said, you are the one doing the most changes lately, so no harm done. If you re-submit the PR without conflicts I would merge right away. Thanks!

ammgws

comment created time in 2 months

pull request commentfranciscolourenco/done

Format code with `fish_indent`

or wait until the next version

ammgws

comment created time in 2 months

pull request commentfranciscolourenco/done

Format code with `fish_indent`

I think it would make sense to use the formatter of the latest released version. What do you think?

ammgws

comment created time in 2 months

push eventfranciscolourenco/done

Jason

commit sha fa1aa4703318f1afb52d34cf5f4fb5e2f7dedbab

Improve tmux logic

view details

Francisco Lourenço

commit sha 3bed1eea4219575d0109f8f0963de092275804ee

Merge pull request #61 from ammgws/tmux Improve tmux logic

view details

push time in 2 months

PR merged franciscolourenco/done

Improve tmux logic

Current behaviour:

  • notifications only sent for inactive windows in attached sessions

New behaviour:

  • notifications are now also sent for detached sessions

Bug-fix:

  • can now send notifications for tmux sessions where tmux has not been started as a login shell
+11 -1

3 comments

1 changed file

ammgws

pr closed time in 2 months

pull request commentfranciscolourenco/done

Improve tmux logic

No, it sounds good. Merging, thanks for the improvements!

ammgws

comment created time in 2 months

pull request commentfranciscolourenco/done

Format code with `fish_indent`

3.0.2

ammgws

comment created time in 2 months

push eventfranciscolourenco/done

Jason

commit sha 81c4cd156415fcfa9a877c28b2714984c7385090

Add support for Windows Solves #5 Prerequisites: - `BurntToast` notification plugin for Powershell - `fish` running under WSL (Windows Subsystem for Linux) - Windows 10 (since only 10 has WSL)

view details

Francisco Lourenço

commit sha 4860c5523a9def0f4fe65d9c7e7a20ca9e1481db

Merge pull request #60 from ammgws/patch-2 Add support for Windows

view details

push time in 2 months

PR merged franciscolourenco/done

Add support for Windows

Solves #5

Screenshot: image

Prerequisites:

  • BurntToast notification plugin for Powershell
  • fish running under WSL (Windows Subsystem for Linux)
  • Windows 10 (since only 10 has WSL)
+13 -2

2 comments

2 changed files

ammgws

pr closed time in 2 months

pull request commentfranciscolourenco/done

Add support for Windows

@ammgws thanks! Didn't test, don't use windows, do you want to own the windows platform?

ammgws

comment created time in 2 months

pull request commentfranciscolourenco/done

Improve tmux logic

I'm not using tmux at the moment, so will defer this to you @ammgws. Have you been using this on a daily basis? What happens when you are detached from a tmux session on a remote server?

ammgws

comment created time in 2 months

pull request commentfranciscolourenco/done

Format code with `fish_indent`

fish_indent produces a different output for me. For example:

    set -g __done_initial_window_id ''
    set -q __done_min_cmd_duration
    or set -g __done_min_cmd_duration 5000
    set -q __done_exclude
    or set -g __done_exclude 'git (?!push|pull)'
    set -q __done_notify_sound
    or set -g __done_notify_sound 0
ammgws

comment created time in 2 months

release franciscolourenco/done

1.10.1

released time in 2 months

created tagfranciscolourenco/done

tag1.10.1

A fish-shell package to automatically receive notifications when long processes finish.

created time in 2 months

push eventfranciscolourenco/done

Francisco Lourenco

commit sha 6b8979106a43c99f4ac1e06bedf5b846cf179fa3

Bump version to 1.10.1

view details

push time in 2 months

pull request commentfranciscolourenco/done

Enclose second arg to test with double-quotes

Thanks!

ammgws

comment created time in 2 months

push eventfranciscolourenco/done

Jason

commit sha 5fd6a438879e0bf6d8c79a5635a6f3f9a9ce6e72

Enclose test argument with double-quotes Missed this in #59 On sway, when the screen is locked the container loses focus and hence `__done_get_focused_window_id` returns a null value, which results in the following error when `done` runs: ``` test: Missing argument at index 2 ~/.config/fish/conf.d/done.fish (line 45): if test "$__done_initial_window_id" != (__done_get_focused_window_id) ^ in function '__done_is_process_window_focused' called on line 80 of file ~/.config/fish/conf.d/done.fish in function '__done_ended' in event handler: handler for generic event “fish_prompt” (Type 'help test' for related documentation) ```

view details

Francisco Lourenço

commit sha 5fab9e6964e2ddc59d9917f235cfa8c578a4ba88

Merge pull request #63 from ammgws/patch-1 Enclose second arg to test with double-quotes

view details

push time in 2 months

PR merged franciscolourenco/done

Enclose second arg to test with double-quotes

Missed this in #59

On sway, when the screen is locked all containers lose focus and hence __done_get_focused_window_id returns a null value, which results in the following error when done runs:

test: Missing argument at index 2

~/.config/fish/conf.d/done.fish (line 45): 
	if test "$__done_initial_window_id" != (__done_get_focused_window_id)
	  ^
in function '__done_is_process_window_focused'
	called on line 80 of file ~/.config/fish/conf.d/done.fish
in function '__done_ended'
in event handler: handler for generic event “fish_prompt”

(Type 'help test' for related documentation)
+1 -1

0 comment

1 changed file

ammgws

pr closed time in 2 months

create barnchfranciscolourenco/webpack-extension-reloader

branch : bird

created branch time in 2 months

issue commentjorgebucaran/fish-nvm

Use package.json engines configuration for version

https://wiki.archlinux.org/index.php/Core_utilities#Essentials

Thats nice, but they still don't come installed by default.

emilyhorsman

comment created time in 3 months

PR opened adambullmer/vue-cli-plugin-browser-extension

Replace modesToZip with `NODE_ENV=production`

This is a breaking change, but modesToZip is not working for me anyway, so I wonder if anyone is actually using it successfully.

https://cli.vuejs.org/guide/mode-and-env.html#example-staging-mode

Close #70 Fix #71

+3 -7

0 comment

2 changed files

pr created time in 3 months

create barnchfranciscolourenco/vue-cli-plugin-browser-extension

branch : node-env

created branch time in 3 months

push eventfranciscolourenco/vue-cli-plugin-browser-extension

Adam Bullmer

commit sha f46e47685753e922ead0f4de30faac199b2fcbe1

fix detection of when to disable user script optimization Fixes #66

view details

Adam Bullmer

commit sha 6dda6a553122deccb58c023f92853314150a5856

v0.23.1

view details

Adam Bullmer

commit sha 2ec940cfe4013eed8ee53307008f574de6404678

Merge pull request #68 from adambullmer/fix-optimization Fix optimization

view details

Adam Bullmer

commit sha a6a873565b75335cd709463fdd505d52194a75d4

Fix scaffolding of background.js file when popup is also a selected option

view details

Adam Bullmer

commit sha 26e58b27ee5343ec9c79f4074a8846f031325789

v0.23.2

view details

Adam Bullmer

commit sha e87f32229510c4f46466b843add780e0b3b3e516

Merge pull request #69 from adambullmer/fix-background-scaffold Fix background scaffold

view details

push time in 3 months

issue openedadambullmer/vue-cli-plugin-browser-extension

yarn build --mode=staging doesn't work

yarn build --mode=staging produces an incomplete background.js file in the zipped artifact.

<details> <summary>yarn build --mode=staging</summary> <p>

$ yarn build --mode=staging
yarn run v1.19.2
$ vue-cli-service build --mode=staging

⠙  Building for staging...[WER-W1] function(obj) {
obj || (obj = {});
var __t, __p = '';
with (obj) {
__p += 'Warning, Extension Reloader Plugin was not enabled! It runs only on webpack --mode=development (v4 or more) or with NODE_ENV=development (lower versions)';

}
return __p
}.
Visit https://github.com/rubenspgcavalcante/webpack-extension-reloader/wiki/General-Information#WER-W1 for complete details

⠸  Building for staging... WARN  No key.pem file found. This is fine for dev, however you may have problems publishing without one
⠴  Building for staging...

 WARNING  Compiled with 3 warnings                                                                11:47:57 AM

 warning

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  js/chunk-vendors.js (2.14 MiB)
  ../artifacts/extension-v1.3.18-staging.zip (794 KiB)

 warning

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  popup (2.27 MiB)
      css/chunk-vendors.css
      js/chunk-vendors.js
      css/chunk-common.css
      js/chunk-common.js
      css/popup.css
      js/popup.js
  options (2.26 MiB)
      css/chunk-vendors.css
      js/chunk-vendors.js
      css/chunk-common.css
      js/chunk-common.js
      css/options.css
      js/options.js
  standalone (2.3 MiB)
      css/chunk-vendors.css
      js/chunk-vendors.js
      css/chunk-common.css
      js/chunk-common.js
      css/standalone.css
      js/standalone.js
  background (2.26 MiB)
      css/chunk-vendors.css
      js/chunk-vendors.js
      css/chunk-common.css
      js/chunk-common.js
      js/background.js
  content_scripts/content (2.26 MiB)
      css/chunk-vendors.css
      js/chunk-vendors.js
      css/chunk-common.css
      js/chunk-common.js
      js/content_scripts/content.js
  console (2.26 MiB)
      css/chunk-vendors.css
      js/chunk-vendors.js
      css/chunk-common.css
      js/chunk-common.js
      js/console.js


 warning

webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

  File                                  Size               Gzipped

  dist/js/chunk-vendors.js              2190.61 KiB        601.70 KiB
  dist/EBML.js                          237.93 KiB         54.33 KiB
  dist/js/chunk-common.js               71.10 KiB          19.42 KiB
  dist/js/standalone.js                 45.53 KiB          14.01 KiB
  dist/js/popup.js                      18.61 KiB          6.54 KiB
  dist/js/background.js                 17.24 KiB          6.86 KiB
  dist/js/options.js                    11.44 KiB          4.64 KiB
  dist/js/console.js                    10.11 KiB          4.04 KiB
  dist/js/content_scripts/content.js    8.91 KiB           3.61 KiB
  dist/css/chunk-vendors.css            36.43 KiB          7.18 KiB
  dist/css/chunk-common.css             3.63 KiB           1.17 KiB
  dist/css/standalone.css               3.13 KiB           1.04 KiB
  dist/css/popup.css                    1.01 KiB           0.44 KiB
  dist/css/options.css                  0.50 KiB           0.26 KiB

  Images and other types of assets omitted.

 DONE  Build complete. The dist directory is ready to be deployed.
 INFO  Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html

</p> </details>

<details> <summary>vue.config.js</summary> <p>

	pluginOptions: {
		browserExtension: {
			modesToZip: ['production', 'staging'],
			components: {
				background: true,
				popup: true,
				options: true,
				contentScripts: true,
				standalone: true,
			},
			componentOptions: {
				background: {
					entry: 'src/background.js',
				},
				contentScripts: {
					entries: {
						'content_scripts/content': 'src/content_scripts/content.js',
						console: 'src/content_scripts/console.js',
					},
				},
			},
		},
	},

</p> </details>

created time in 3 months

issue openedadambullmer/vue-cli-plugin-browser-extension

Use NODE_ENV instead of api.service.mode

According to the Vue CLI docs "staging" and other production-like envs can be used by setting the mode to staging, and setting NODE_ENV=production.

Currently vue-cli-plugin-browser-extension relies on mode being 'production' or in adding other modes to option.modesToZip.

Perhaps it would make more sense to rely on NODE_ENV=production so that the plugin works like Vue CLI.

created time in 3 months

issue commentjorgebucaran/fish-nvm

Use package.json engines configuration for version

@jorgebucaran https://www.archlinux.org/ doesn't come with awk or grep, only sed.

$ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"

$ awk
bash: awk: command not found

$ grep
bash: grep: command not found

$ sed --version
sed (GNU sed) 4.7
emilyhorsman

comment created time in 3 months

issue openedhasura/graphql-engine

Granular permissions for `by_pk` queries vs multiple row queries

I want to apply different permissions to queries which select multiple rows and to queries which select a single row by primary key.

This is a feature that I is available in Firebase Cloud Firestore

A read rule can be broken into get and list

https://firebase.google.com/docs/firestore/security/rules-structure#granular_operations

My use case is to allow rows to be fetched only if you know their id. The random cryptographically generated id effectively would work as password to access a specific row. This permission should be conditional – a user should still be able to list all rows they own, but only be able to acces other rows if they know their id.

Is there another way to implement this pattern with Hasura. Meaning, anyone with the link to a resource can access it, but they should not be able to list all resources which are accessible in this manner?

created time in 3 months

issue commenthasura/graphql-engine

role-based query / mutation allow list

I would also be interested in a way to allow only by_pk queries on rows where a ownerId is null, so that the user needs to know the id of the row in order to read it. And then allowing all queries on rows with a ownerId, so that the owner can list all his rows. Is there currently a solution to this? https://firebase.google.com/docs/firestore/security/rules-structure#granular_operations

hilalh

comment created time in 3 months

issue commentauth0/auth0-spa-js

React: Apollo hooks

@micahgoodreau thanks. ApolloLink looks "sophisticated"

nojaf

comment created time in 3 months

Pull request review commentfranciscolourenco/done

(nearly finished) Add support for Windows

 set -U __done_notify_sound 1 - [fish](https://fishshell.com) 2.3.0+ - macOS 10.8+ via Notification Center. - Linux via `notify-send`. Otherwise bell sound is played.-- Windows: Upvote https://github.com/franciscolourenco/done/issues/5 if interested.+- Windows 10 via Windows Subsystem for Linux
- Windows 10 via Windows Subsystem for Linux (WSL) and [BurntToast](https://github.com/Windos/BurntToast)
ammgws

comment created time in 3 months

push eventfranciscolourenco/done

Jason

commit sha f69ce2a135036f7625f9867721cd16f35bf867c9

Enclose test argument with double-quotes Found this when investigating the cause of https://github.com/fish-shell/fish-shell/issues/6350. From fish docs: > If the variable is not set, set but with no value, or set to more than one value you must enclose it in double-quotes.

view details

Francisco Lourenço

commit sha 03b3c1cf246c6f4a2196fbc8cd7130970f1dc763

Merge pull request #59 from ammgws/patch-1 Enclose test argument with double-quotes

view details

push time in 3 months

PR merged franciscolourenco/done

Enclose test argument with double-quotes

Found this when investigating the cause of https://github.com/fish-shell/fish-shell/issues/6350.

From fish docs:

If the variable is not set, set but with no value, or set to more than one value you must enclose it in double-quotes.

+1 -1

1 comment

1 changed file

ammgws

pr closed time in 3 months

pull request commentfranciscolourenco/done

Enclose test argument with double-quotes

We already enclosed a few other variables in other test clauses, guess this one escaped. Thanks!

ammgws

comment created time in 3 months

pull request commentfranciscolourenco/done

Option to enable notification in full screen

I don't use Linux desktop on a daily basis, so don't really know what tools are usually available. Setting --urgency=critical seems like a workaround to achieve fullscreen notifications which has unrelated side effects.

Therefore I'm inclined to no include this change, since the OP can use a custom command to add --urgency=critical @ammgws The setup you describe is specific to sway, right?

BarbzYHOOL

comment created time in 3 months

issue openedauth0-community/auth0-chrome

chrome.identity.launchWebAuthFlow doesn't share cookies with rest of browser

It seems to be currently impossible to benefit from Auth0 SSO authentication state sync using the auth0-chrome SDK, because the chrome.identity.launchWebAuthFlow API which it uses, doesn't share cookies with the rest of the browser space. It requires the user to enter their credentials again, even if the user has already done so in a different web application using the PKCE auth flow, for the same browser and tenant.

  • https://bugs.chromium.org/p/chromium/issues/detail?id=365200
  • https://bugs.chromium.org/p/chromium/issues/detail?id=907920

Judging by the other issues this API seems to have – like the lack of an address bar – and the level of inactivity in the bug reports aforementioned, it is unclear if/when these issues will be fixed.

A disclaimer should be added both to the README and to Auth0 docs, explaining this limitation.

I would also be great if Auth0 could recommend a solution.

created time in 3 months

pull request commentfranciscolourenco/done

Amend typos

Thanks!

ammgws

comment created time in 3 months

push eventfranciscolourenco/done

Jason

commit sha 902e6c4244283ecb386479fbb07ac23239476d6f

Amend typos

view details

Francisco Lourenço

commit sha 0e2aa5a127ce6f8d0a2528768009694a6dfd304c

Merge pull request #58 from ammgws/master Amend typos

view details

push time in 3 months

PR merged franciscolourenco/done

Amend typos
+2 -2

0 comment

1 changed file

ammgws

pr closed time in 3 months

issue openedauth0-community/auth0-chrome

Sync logged in state between auth0-chrome and auth0-spa-js

I've configured auth0-chrome on the a extension and auth0-spa-js on a SPA. Both applications use the same Auth0 SSO domain, however when a user logs in/out in one application, they don't automatically get loggen in/out the other application. The user has to enter their credentials twice, to login in both applications, and logout twice in both applications.

Is this behaviour expected, or is there something misconfigured? Thanks.

created time in 3 months

PR closed rubenspgcavalcante/webpack-extension-reloader

Stop reloading after reconnect

Problem: The server is started before webpack emits the initial changes and built files are written to disk, causing the installed extension, which is trying to reconnect, to reload without having files to load. This caused an error in the extension, where it needs to be removed and installed again.

Solution: We stop reloading after reconnect. This shouldn't cause problems because the server emits a reload signal after the files are initially built, so even if there are any changes made to the code while the server was not available, they will still be reloaded automatically.

Assumption: Restarting the server is the only plausible scenario where connection might be lost and changes are made to the code.

Fixes #51

+1 -2

1 comment

1 changed file

franciscolourenco

pr closed time in 3 months

pull request commentrubenspgcavalcante/webpack-extension-reloader

Stop reloading after reconnect

After some testing I found out that the extension needs to reload after reconnect, otherwise it doesn't receive any of the reload messages. Therefore I'm closing this PR in favor of https://github.com/rubenspgcavalcante/webpack-extension-reloader/pull/60

franciscolourenco

comment created time in 3 months

PR opened rubenspgcavalcante/webpack-extension-reloader

Start server only after the first emit

Problem: The server is started before webpack emits the initial changes and built files are written to disk, causing the installed extension, which is trying to reconnect, to reload without having files to load. This caused an error in the extension, where it needs to be removed and installed again.

Solution: We start the server after the first webpack emit event

This PR replaces https://github.com/rubenspgcavalcante/webpack-extension-reloader/pull/59

Fixes #51

+5 -1

0 comment

1 changed file

pr created time in 3 months

more