arxdsilva

arxdsilva

Software Engineer @90poe

Member Since 7 years ago

@90poe,

Experience Points
68
follower
Lessons Completed
72
follow
Lessons Completed
540
stars
Best Reply Awards
117
repos

1943 contributions in the last year

Pinned
⚡ Open source and extensible Platform as a Service (PaaS).
⚡ my env setup
⚡ A curated list of awesome Go frameworks, libraries and software
⚡ Windows 95 like vscode theme
⚡ Golang Ifood API SDK
Activity
Nov
28
14 hours ago
Nov
10
2 weeks ago
pull request

arxdsilva merge to prest/prest

arxdsilva
arxdsilva

Add support for RSA and ECDSA signed tokens

Support external tokens signed with RSA or ECDSA

(Making sure to call jwt.ParseRSAPublicKeyFromPEM() only at startup.)

open pull request

arxdsilva wants to merge prest/prest

arxdsilva
arxdsilva

Add support for RSA and ECDSA signed tokens

Support external tokens signed with RSA or ECDSA

(Making sure to call jwt.ParseRSAPublicKeyFromPEM() only at startup.)

arxdsilva
arxdsilva

since this is a public func, this algo[0:2] can lead to a possible panic on app runtime, so it'd be best to switch to a more precise approach.

push

arxdsilva push prest/prest

arxdsilva
arxdsilva

Bump github.com/lib/pq from 1.10.3 to 1.10.4

Bumps github.com/lib/pq from 1.10.3 to 1.10.4.


updated-dependencies:

  • dependency-name: github.com/lib/pq dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] [email protected]

commit sha: 775fcbfd37b5d9d4e08430af3e44ed9525397cfe

push time in 2 weeks ago
Activity icon
delete

arxdsilva in prest/prest delete branch dependabot/go_modules/github.com/lib/pq-1.10.4

deleted time in 2 weeks ago
pull request

arxdsilva pull request prest/prest

arxdsilva
arxdsilva

Bump github.com/lib/pq from 1.10.3 to 1.10.4

Bumps github.com/lib/pq from 1.10.3 to 1.10.4.

Release notes

Sourced from github.com/lib/pq's releases.

v1.10.4

  • Keep track of (context cancelled) error on connection.
  • Fix android build
Commits
  • 8446d16 issue 1062: Keep track of (context cancelled) error on connection, and make r...
  • 6a102c0 Merge pull request #1060 from ian4hu/patch-1
  • a54251e Merge pull request #1061 from mjl-/fix-flaky-TestConnPrepareContext
  • 2b4fa17 Fix flaky TestConnPrepareContext
  • b33a1b7 Fix android build
  • 16e9cad Fix build in android
  • 26399a7 Merge pull request #1057 from jfcg/master
  • 0870776 fix possible integer truncation
  • c01ab77 Create codeql-analysis.yml
  • See full diff in compare view

Dependabot compatibility score

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


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

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

arxdsilva merge to prest/prest

arxdsilva
arxdsilva

Bump github.com/lib/pq from 1.10.3 to 1.10.4

Bumps github.com/lib/pq from 1.10.3 to 1.10.4.

Release notes

Sourced from github.com/lib/pq's releases.

v1.10.4

  • Keep track of (context cancelled) error on connection.
  • Fix android build
Commits
  • 8446d16 issue 1062: Keep track of (context cancelled) error on connection, and make r...
  • 6a102c0 Merge pull request #1060 from ian4hu/patch-1
  • a54251e Merge pull request #1061 from mjl-/fix-flaky-TestConnPrepareContext
  • 2b4fa17 Fix flaky TestConnPrepareContext
  • b33a1b7 Fix android build
  • 16e9cad Fix build in android
  • 26399a7 Merge pull request #1057 from jfcg/master
  • 0870776 fix possible integer truncation
  • c01ab77 Create codeql-analysis.yml
  • See full diff in compare view

Dependabot compatibility score

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


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Nov
8
2 weeks ago
Activity icon
issue

arxdsilva issue comment tsuru/tsuru

arxdsilva
arxdsilva

make local-mac fails

Description While running make local-mac, it is expected to run smoothly but It cant connect to registry/docker.

Steps to reproduce

  1. clone tsuru/tsuru
  2. run make local-mac
  3. minikube and tsuru will run, but cluster wont connect

Expected result

tsuru api and elements to start working and serving

Attachments

Docker provisioner reports the following nodes:
    Docker node: http://node1:2375
Checking components status:
    WARNING: "docker-registry" is not working: fail - Get "http://localhost:5000/v2/": dial tcp [::1]:5000: connect: connection refused
    WARNING: "docker" is not working: fail - ping failed: Get "http://node1:2375/_ping": dial tcp: lookup node1: no such host
    Components checked.
tsuru HTTP server listening at 0.0.0.0:8080...
arxdsilva
arxdsilva

Thanks @arthurcgc, btw I know that minikube is now the way to easy startup, but It's not yet documented. Do you mind If I document it?

Another point, I believe that the old docker-compose should also be available for those that dont want to use minikube to startup.

started
started time in 2 weeks ago
Activity icon
issue

arxdsilva issue tsuru/tsuru

arxdsilva
arxdsilva

make local-mac fails

Description While running make local-mac, it is expected to run smoothly but It cant connect to registry/docker.

Steps to reproduce

  1. clone tsuru/tsuru
  2. run make local-mac
  3. minikube and tsuru will run, but cluster wont connect

Expected result

tsuru api and elements to start working and serving

Attachments

Docker provisioner reports the following nodes:
    Docker node: http://node1:2375
Checking components status:
    WARNING: "docker-registry" is not working: fail - Get "http://localhost:5000/v2/": dial tcp [::1]:5000: connect: connection refused
    WARNING: "docker" is not working: fail - ping failed: Get "http://node1:2375/_ping": dial tcp: lookup node1: no such host
    Components checked.
tsuru HTTP server listening at 0.0.0.0:8080...
started
started time in 2 weeks ago
Nov
3
3 weeks ago
push

arxdsilva push prest/prest

arxdsilva
arxdsilva

fix: defer close statement after creation

commit sha: c32bfadca11f565e02afbfaff1b461a052cb49c2

push time in 3 weeks ago
push

arxdsilva push prest/prest

arxdsilva
arxdsilva

fix: pr template target branch and guideline link

commit sha: 815ce14b3d2f235a675ea26c369ae12218c87f78

push time in 3 weeks ago
pull request

arxdsilva pull request prest/prest

arxdsilva
arxdsilva

add adapter docs

Please check the following:

  1. Make sure you are targeting the master branch, pull requests on release branches are only allowed for bug fixes.
  2. Read contributing guidelines: https://github.com/prest/prest/blob/master/CONTRIBUTING.md
  3. Describe what your pull request does and which issue you're targeting (if any)

You MUST delete the content above including this line before posting, otherwise your pull request will be invalid.

Activity icon
issue

arxdsilva issue comment prest/prest

arxdsilva
arxdsilva

add adapter docs

Please check the following:

  1. Make sure you are targeting the master branch, pull requests on release branches are only allowed for bug fixes.
  2. Read contributing guidelines: https://github.com/prest/prest/blob/master/CONTRIBUTING.md
  3. Describe what your pull request does and which issue you're targeting (if any)

You MUST delete the content above including this line before posting, otherwise your pull request will be invalid.

arxdsilva
arxdsilva

merging this as is, will add more later

Activity icon
created tag
createdAt 3 weeks ago
Activity icon
created branch
createdAt 3 weeks ago
Oct
30
4 weeks ago
started
started time in 4 weeks ago
Oct
29
4 weeks ago
started
started time in 4 weeks ago
started
started time in 4 weeks ago
Oct
26
1 month ago
Activity icon
issue

arxdsilva issue comment prest/prest

arxdsilva
arxdsilva

Custom query - permissions

Is your feature request related to a problem? Please describe. In documentation, there is a clear description of how to implement security for acessing tables. How to do that for custom queries?

Describe the solution you'd like Implement security settings for custom queries, e document how to do that.

Describe alternatives you've considered Add server side filters in Apache Http or HaProxy, but they are not effective because there is no user context at this stage.

Additional context

  • not applicable.
arxdsilva
arxdsilva

Thank you. I see... Actually, I misunderstood security settings... I would expect to give a "role" some special permissions, and then associate roles to users... I believe this feature is not implemented (yet, perhaps). Anyway, I'll check source code and see if we can make it fit our needs. If yes, then we would propose a patch.

No problem! As we intend to be a API over any db It's hard to enforce any user management or table. There's a basic user setup that can be done so you can authenticate and have a very basic user over /auth route, but it doesnt have any kind of permissions yet.

Previous