Commit Graph

137 Commits

Author SHA1 Message Date
Silvan
191690d905
feat(eventstore): sdk (#39)
* sdk

* fix(sdk): return correct error type

* AppendEventError instead of Aggregater error

* fix(tests): tests

* fix(tests): wantErr to is error func
2020-04-07 18:36:37 +02:00
Florian Forster
970586dfc9
chore(semantic-release): docker-release (#37)
* chore: docker vars

* test --dry-run

* use correct args

* test

* test

* well, myb

* arg(h)

* something is broken with args

* try gh action

* try to run semrel

* use branches flag

* releaserc

* works

* final
2020-04-07 14:45:59 +02:00
Fabi
c07ed83c41
Project commands (#26)
* feat: eventstore repository

* fix: remove gorm

* version

* feat: pkg

* feat: add some files for project

* feat: eventstore without eventstore-lib

* rename files

* gnueg

* fix: key json

* fix: add object

* fix: change imports

* fix: internal models

* fix: some imports

* fix: global model

* fix: add some functions on repo

* feat(eventstore): sdk

* fix(eventstore): search query

* fix(eventstore): rename app to eventstore

* delete empty test

* remove unused func

* merge master

* fix(eventstore): tests

* fix(models): delete unused struct

* fix: some funcitons

* feat(eventstore): implemented push events

* fix: move project eventstore to project package

* fix: change project eventstore funcs

* feat(eventstore): overwrite context data

* fix: change project eventstore

* fix: add project repo to mgmt server

* feat(types): SQL-config

* fix: commented code

* feat(eventstore): options to overwrite editor

* feat: auth interceptor and cockroach migrations

* fix: migrations

* fix: fix filter

* fix: not found on getbyid

* fix: add sequence

* fix: add some tests

* fix(eventstore): nullable sequence

* fix: add some tests

* merge

* fix: add some tests

* fix(migrations): correct statements for sequence

* fix: add some tests

* fix: add some tests

* fix: changes from mr

* Update internal/eventstore/models/field.go

Co-Authored-By: livio-a <livio.a@gmail.com>

* fix(eventstore): code quality

* fix: add types to aggregate/Event-types

* fix(eventstore): rename modifier* to editor*

* fix(eventstore): delete editor_org

* fix(migrations): remove editor_org field,
rename modifier_* to editor_*

* fix: generate files

* fix(eventstore): tests

* fix(eventstore): rename modifier to editor

* fix(migrations): add cluster migration,
fix(migrations): fix typo of host in clean clsuter

* fix(eventstore): move health

* fix(eventstore): AggregateTypeFilter aggregateType as param

* code quality

* feat: start implementing project members

* feat: remove member funcs

* feat: remove member model

* feat: remove member events

* feat: remove member repo model

* fix: better error func testing

* Update docs/local.md

Co-Authored-By: Silvan <silvan.reusser@gmail.com>

* Update docs/local.md

Co-Authored-By: Silvan <silvan.reusser@gmail.com>

* fix: mr requests

* fix: md file

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
Co-authored-by: livio-a <livio.a@gmail.com>
2020-04-07 13:23:04 +02:00
Florian Forster
007fc9e9bd
chore: docker vars (#34) 2020-04-06 09:44:32 +02:00
Florian Forster
b63c8b811b
chore: setup build process (#30)
* chore: build

* chore: on push

* chore: runs on

* chore: docker

* chore: need

* test

* test

* test

* test

* chore: missing steps

* test

* test

* test

* repo url

* test with registry

* path

* yeah path

* print path

* path inside docker build

* path

* test

* var

* var

* docker login vars

* GH_Token

* short sha

* checkout git

* typo

* yaml fun

* short sha

* upload scan result

* use sh

* WIP GN8 Commit

* Update .github/workflows/release.yml

Co-Authored-By: livio-a <livio.a@gmail.com>

* Update .github/workflows/release.yml

Co-Authored-By: livio-a <livio.a@gmail.com>

* Update .github/workflows/release.yml

Co-Authored-By: livio-a <livio.a@gmail.com>

* delete main.go in root

* add coveralls

* coveralls badge

* docker ignore

* move dockerfile

* fix needs

* try codecov

* set user

* try without default shell

* try to  add group and user

* typo

* add release step

* update semrel

* test

* try

* try it

* typo

* should work

Co-authored-by: livio-a <livio.a@gmail.com>
2020-04-06 06:44:28 +02:00
Silvan
fbeab4c582
Eventstore (#22)
* feat: eventstore repository

* fix: remove gorm

* version

* feat: pkg

* feat: eventstore without eventstore-lib

* rename files

* gnueg

* fix: add object

* fix: global model

* feat(eventstore): sdk

* fix(eventstore): search query

* fix(eventstore): rename app to eventstore

* delete empty test

* remove unused func

* merge master

* fix(eventstore): tests

* fix(models): delete unused struct

* feat(eventstore): implemented push events

* feat(eventstore): overwrite context data

* feat(types): SQL-config

* feat(eventstore): options to overwrite editor

* Update internal/eventstore/models/field.go

Co-Authored-By: livio-a <livio.a@gmail.com>

* fix(eventstore): code quality

* fix(eventstore): rename modifier* to editor*

* fix(eventstore): delete editor_org

Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: livio-a <livio.a@gmail.com>
2020-04-06 06:42:21 +02:00
Florian Forster
d6e97ff1fc
chore(dependabot): config (#29)
* chore(dependabot): config

* chore(dependabot): commit_message form
2020-04-02 18:27:04 +02:00
livio-a
ceace305b5
Merge pull request #20 from caos/proto-files
Proto files
2020-03-31 14:18:59 +02:00
Fabiennne
2c5c2917f1 fix: remove unnecessary things 2020-03-31 11:44:48 +02:00
Fabiennne
a1dbc7da8f fix: add gateway file 2020-03-31 11:08:36 +02:00
Fabiennne
52ac0772e3 fix: remove unnecessary functions from auth.proto 2020-03-31 11:07:48 +02:00
Silvan
e644280196
Merge pull request #25 from caos/badges
docs(badges): replace imgshield with badgen
2020-03-30 23:35:37 +02:00
Florian Forster
c7af03c0ef docs(badges): use stable release 2020-03-30 18:44:28 +02:00
Florian Forster
4d54e8116f docs(badges): use github actions badge 2020-03-30 18:38:37 +02:00
Florian Forster
e56810744b docs(badges): replace imgshield with badgen 2020-03-30 18:32:11 +02:00
Fabiennne
9900e53afa fix: start grpc gateway/server 2020-03-30 18:18:17 +02:00
Fabiennne
108876348f feat: merge master 2020-03-30 17:51:25 +02:00
Fabiennne
85aa907d12 Merge branch 'master' into proto-files
# Conflicts:
#	go.mod
#	go.sum
#	pkg/admin/admin.go
#	pkg/admin/api/config.go
#	pkg/auth/api/config.go
#	pkg/auth/auth.go
#	pkg/management/api/config.go
#	pkg/management/management.go
2020-03-30 17:43:59 +02:00
Fabi
e3f9e49ef6
Merge pull request #21 from caos/basics
Basics
2020-03-30 17:18:09 +02:00
livio-a
c564f47b92
single marshaller 2020-03-30 16:53:29 +02:00
Fabiennne
8ced7fb04c Merge remote-tracking branch 'origin/basics' into basics 2020-03-30 14:11:24 +02:00
Livio Amstutz
39039dde62 fix tracing/statusFromError 2020-03-30 13:17:49 +02:00
Livio Amstutz
affd2da40a update logging version 2020-03-30 11:57:56 +02:00
Livio Amstutz
40e4f69ca3 change context keys and fix tests 2020-03-30 11:52:08 +02:00
Livio Amstutz
96b1817d62 add multi files config test and some more 2020-03-30 11:44:17 +02:00
Fabiennne
78e6d19098 fix: reformat test 2020-03-30 11:42:22 +02:00
Livio Amstutz
e04c0116f5 refactor crypto tests 2020-03-30 11:26:02 +02:00
Livio Amstutz
106a6ec143 fix test 2020-03-30 10:09:38 +02:00
Livio Amstutz
e5e39b3a6a remove pointer on ctxData 2020-03-30 10:06:48 +02:00
Fabi
bdcb5a07d5
Merge pull request #23 from caos/logo
Add logo to Readme
2020-03-30 10:03:39 +02:00
Livio Amstutz
501d453822 remove x-grpc-web header in cors 2020-03-30 09:58:55 +02:00
Livio Amstutz
59dc4dbe85 improve some functions 2020-03-30 09:28:00 +02:00
Livio Amstutz
fa750a5068 improve some functions 2020-03-30 07:23:43 +02:00
Livio Amstutz
b753e06f0b improve some functions 2020-03-30 07:04:21 +02:00
Florian Forster
b8eaf58427 docs: use correct logo 2020-03-27 14:35:06 +01:00
Florian Forster
993e6dd97e docs: goreport 2020-03-27 14:20:32 +01:00
Livio Amstutz
f5af4461ad remove pointers on configs 2020-03-27 13:57:16 +01:00
Livio Amstutz
f280da5a76 remove empty lines 2020-03-27 13:45:08 +01:00
Livio Amstutz
eb1d22c6a3 clarify array_flag.go 2020-03-27 13:44:50 +01:00
Florian Forster
0faaaa98b8 docs: logo 2020-03-27 13:33:44 +01:00
Livio Amstutz
b9833aa604 change ports 2020-03-25 11:34:49 +01:00
Livio Amstutz
40734f27c7 fix configs 2020-03-25 11:17:38 +01:00
Livio Amstutz
8b23c491f9 Merge branch 'basics' into proto-files
# Conflicts:
#	cmd/zitadel/main.go
#	go.sum
#	pkg/admin/admin.go
#	pkg/auth/auth.go
#	pkg/management/management.go
2020-03-25 11:08:42 +01:00
Livio Amstutz
b2bc0b5efd Merge branch 'master' into basics
# Conflicts:
#	cmd/zitadel/main.go
#	go.mod
#	go.sum
#	internal/config/config.go
#	internal/errors/already_exists_test.go
#	internal/errors/caos_error_test.go
#	internal/errors/deadline_exceeded_test.go
#	internal/errors/error_test.go
#	internal/errors/generate/error_creator.go
#	internal/errors/generate/error_test.go.tmpl
#	internal/errors/internal_test.go
#	internal/errors/invalid_argument_test.go
#	internal/errors/not_found_test.go
#	internal/errors/permission_denied_test.go
#	internal/errors/precondition_failed_test.go
#	internal/errors/unauthenticated_test.go
#	internal/errors/unavailable_test.go
#	internal/errors/unimplemented_test.go
#	internal/errors/unknown_test.go
#	pkg/admin/admin.go
#	pkg/auth/auth.go
#	pkg/management/management.go
2020-03-25 10:55:21 +01:00
Fabiennne
5bab685340 fix: start server and gateway 2020-03-25 10:54:45 +01:00
Florian Forster
9da20cfe25 docs(readme): security policy (#19)
* Create SECURITY.md

* Update README.md
2020-03-25 10:53:16 +01:00
Florian Forster
5ba9b4c096 docs(readme): initiate boilerplate (#18)
* docs(readme): initiate boilerplate

* Update README.md

Co-Authored-By: livio-a <livio.a@gmail.com>

Co-authored-by: livio-a <livio.a@gmail.com>
2020-03-25 10:53:16 +01:00
Livio Amstutz
1aaf721d92 cleanup 2020-03-25 10:41:17 +01:00
Livio Amstutz
6bf96ecbd7 add duration type 2020-03-25 09:32:52 +01:00
Fabiennne
209764de79 Merge branch 'basics' into proto-files 2020-03-25 08:22:44 +01:00