Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue auth #20

Merged
merged 85 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
6a726b7
Use forms module, adjust struct types
Sep 25, 2023
df2bcb0
save stack info into database, move JsonResponse to utils/json.rs, ma…
Sep 26, 2023
815dcbf
tracing on err
Oct 1, 2023
e235d7c
API client structure
Oct 15, 2023
8530aeb
ignore .idea files
Oct 16, 2023
33f12ec
merge with dev
Oct 16, 2023
883c0d3
merge with issue-3
Oct 16, 2023
c1dcf58
Merge pull request #12 from trydirect/issue-2
vsilent Oct 17, 2023
c552af2
fix borrowing
Oct 18, 2023
849d149
issue-auth rating path
smart--petea Oct 18, 2023
6166024
issue-auth add regex
smart--petea Oct 18, 2023
6a5c1e1
Dockerfile and docker-compose , non-functional yet
Oct 22, 2023
6d7ed85
Dockerfile and docker-compose , non-functional yet
Oct 22, 2023
2d411a6
user id to string (/me returns type string), User models, forms and s…
Oct 22, 2023
7ed2c45
Merge pull request #13 from trydirect/issue-2
vsilent Oct 22, 2023
322090e
issue-auth merge with dev
smart--petea Oct 25, 2023
102e1da
issue-auth - logic
smart--petea Oct 25, 2023
ffbb411
issue-auth StatusCode::OK
smart--petea Oct 26, 2023
b16384d
issue-auth bearer_guard
smart--petea Oct 28, 2023
ae4f07b
issue-auth - client migration
smart--petea Oct 28, 2023
a4818a3
issue-auth client entity
smart--petea Oct 28, 2023
bafa9fe
issue-auth generate secret
smart--petea Oct 28, 2023
90702a9
issue-auth save client into db
smart--petea Oct 28, 2023
7b0ecc0
issue-auth test/deploy endpoint
smart--petea Oct 28, 2023
903e1ce
issue-auth todos
smart--petea Oct 28, 2023
8dc569a
Last development session updates, testing server fix, mock auth server
Oct 30, 2023
5e6ba68
issue-auth max_clients_number
smart--petea Oct 30, 2023
82e9e5d
issue-auth max_clients_number
smart--petea Oct 30, 2023
b6fc7a8
dockerfiles & build
Oct 31, 2023
838bba2
dockerfiles & build fix
Oct 31, 2023
66d8cb9
dockerfiles for dev environment
Oct 31, 2023
d8974b8
dockerfiles for dev environment
Oct 31, 2023
3cd8edd
issue-auth rebase
smart--petea Oct 31, 2023
0c94eed
issue-auth client.secret uniquee index
smart--petea Oct 31, 2023
7e216c5
issue-auth utils moved to helpers
smart--petea Oct 31, 2023
af17e7a
issue-auth generate_secret moved into helpers
smart--petea Oct 31, 2023
9a4a2a0
db host change
Nov 1, 2023
c0228f3
merge with remote issue-auth
Nov 1, 2023
06d185b
merge with remote issue-auth
Nov 1, 2023
dd238eb
merge with remote issue-auth
Nov 1, 2023
c960a8f
temp commented client endpoints
Nov 1, 2023
79c54e2
get all ratings
Nov 1, 2023
5abeeab
issue-auth unique select
smart--petea Nov 1, 2023
765233b
use only obj_id for requests payload and responses
Nov 1, 2023
8a20dfa
Merge pull request #14 from trydirect/issue-2
vsilent Nov 2, 2023
dc7de28
validate ownership of the db record for get stack endpoint, fetch and…
Nov 3, 2023
04313ce
issue-auth working on update enpoint of client
smart--petea Nov 4, 2023
368de8e
issue-auth update logic
smart--petea Nov 4, 2023
8c3349c
issue-auth isolate generate secret
smart--petea Nov 5, 2023
6ab89dc
issue-auth error responses
smart--petea Nov 5, 2023
34e888f
issue-auth removed a todo
smart--petea Nov 5, 2023
e9a1c07
issue-auth removed todo
smart--petea Nov 5, 2023
44d2c6e
Merge branch 'issue-auth' of https://github.com/trydirect/stacker int…
Nov 5, 2023
9a7074c
issue-auth is_secret_unique
smart--petea Nov 5, 2023
e86c87b
Merge branch 'issue-auth' of https://github.com/trydirect/stacker int…
Nov 5, 2023
673fa66
issue-auth merget with dev
smart--petea Nov 5, 2023
c351a44
issue-auth removed serialize_datetime.rs
smart--petea Nov 5, 2023
8e06d2a
issue-auth move middleware
smart--petea Nov 5, 2023
6f53663
issue-auth disable client
smart--petea Nov 7, 2023
5f4759f
issue-auth - enable client
smart--petea Nov 7, 2023
3a21418
issue-auth client berear_guard
smart--petea Nov 8, 2023
f1e5fe8
issue-auth client middleware. start
smart--petea Nov 9, 2023
ba0cb5e
issue-auth stacker-hash
smart--petea Nov 11, 2023
dca5184
issue-auth stacker-id, stacker-hash headers
smart--petea Nov 11, 2023
fb84fef
issue-auth client::GuardMiddleware fetches the client
smart--petea Nov 11, 2023
f128e40
issue-auth inject client
smart--petea Nov 13, 2023
d0215f2
issue-auth pass body of request through middleware
smart--petea Nov 14, 2023
dc2fe5a
issue-auth compute hash inside client middleware
smart--petea Nov 15, 2023
b5d5169
issue-auth
smart--petea Nov 15, 2023
a53d29f
issue-auth config serde_yaml
smart--petea Nov 17, 2023
ebc36d5
Revert "issue-auth config serde_yaml"
smart--petea Nov 17, 2023
5fe6d9d
issue-auth get_header. first version
smart--petea Nov 18, 2023
8b4542c
issue-auth general get_header
smart--petea Nov 18, 2023
0fe2356
issue-auth content_lenght. bytesMut
smart--petea Nov 18, 2023
026bb1c
Merge branch 'issue-auth' of https://github.com/trydirect/stacker int…
Nov 19, 2023
41f13ac
optiomize error response
Nov 19, 2023
c7e0bdb
improved json response
Nov 20, 2023
138b147
issue-auth removed redundant code from json.rs
smart--petea Nov 20, 2023
81d8f6f
issue-auth removed ClientAddResponse
smart--petea Nov 20, 2023
6c9df49
issue-auth - DisableResponse
smart--petea Nov 20, 2023
d3fba4b
issue-auth enable response
smart--petea Nov 20, 2023
62ee7bf
issue-auth update response
smart--petea Nov 20, 2023
df25e63
issue-auth rating add
smart--petea Nov 20, 2023
a42d40a
issue-auth rating/get.rs
smart--petea Nov 20, 2023
2a51b7b
issue-auth debug for models::client
smart--petea Nov 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
DATABASE_URL=postgres://postgres:postgres@localhost:5432/stacker
DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/stacker
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=stacker
POSTGRES_PORT=5432
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target
.idea
12 changes: 12 additions & 0 deletions .idea/dataSources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/sqldialects.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading