3
0
Commit Graph

41 Commits

Author SHA1 Message Date
Denis Arh
ae733dc2c9 Credentials & social-sign-on, fixed mocks 2019-01-14 10:40:52 +01:00
Denis Arh
500e8e317c Improve SMTP
API can now be started without properly configured SMTP (it complains when it is used)
Send() function can now use alternative dialers (mostly used for testing)
Added mailhog service (make mailhog.up) to ease mail testing
Add default .env example that points to localhost:1025 (mailhog) setup
Proper unit testing
2019-01-13 14:45:27 +01:00
Tit Petric
11b25bd091 update mocks for sam/ and system/ 2019-01-11 15:28:49 +01:00
Tit Petric
513152c277 add(all): include SMTP flags into apps 2019-01-09 19:08:30 +01:00
Mitja Zivkovic
b02e542ae7 fix(system): add parsing of request to fill login parameters 2019-01-08 08:50:36 +01:00
Mitja Zivkovic
65503a87b6 add(system): route tests 2019-01-08 08:50:36 +01:00
Mitja Zivkovic
4fa1e3e413 fix(system): sys_user password can be null 2019-01-07 15:36:51 +01:00
Denis Arh
5022abd466 Add capabilities to search users by email & name 2018-12-27 14:37:20 +01:00
Denis Arh
e6c8a4339f Add more sanity checks in oidc client reg flow 2018-12-17 07:19:13 +01:00
Tit Petric
43554592e4 upd(codegen): enable imports with requests 2018-12-04 15:26:51 +01:00
Tit Petric
6be72a3dcf ws(codegen): codegen code update 2018-12-04 14:38:31 +01:00
Tit Petric
8019940dd6 fix(codegen): fix syntax error, gofmt 2018-11-29 21:06:34 +01:00
Denis Arh
0881381068 Fix system/auth init 2018-11-27 06:03:02 +01:00
Tit Petric
6ab0c9bf09 upd(system):
- update apis for login and logout,
- make OIDC routes and setup optional,
- refactor entrypoint to open up http testing
2018-11-26 17:01:39 +01:00
Tit Petric
256a45bdb6 add(system): login/logout api, rename PK fields 2018-11-25 22:57:48 +01:00
Tit Petric
59a3fc85d3 fix(system): teams response as string 2018-11-25 22:51:05 +01:00
Tit Petric
2049550e67 fix(system): member add/remove fix 2018-11-25 22:01:20 +01:00
Tit Petric
0381511b55 upd(system): tests, add reams to user response 2018-11-25 21:59:08 +01:00
Mitja Zivkovic
10d24b6c29 fix(system) userList teams 2018-11-25 21:43:59 +01:00
Mitja Z
3616afd22a add(system): Team.FindByMemberID (#3)
* add(system): Team.FindByMemberID

* add(system): Users.Find with Team data

* upd(system): error formating
2018-11-25 15:55:44 +01:00
Tit Petric
3e38764e74 fix(crm): migration namespace issue 2018-11-25 15:41:29 +01:00
Tit Petric
ff123a2ffe upd(system): migration for satosa unique to index 2018-11-25 15:38:42 +01:00
Tit Petric
d4170ff97e upd(crm): returns entityID 2018-11-25 15:23:48 +01:00
Tit Petric
0e20de4eb9 upd(system): print oidc config on startup 2018-11-25 14:15:03 +01:00
Tit Petric
7c79f1cf38 add(system): user 'kind' to denote bots 2018-11-25 12:03:43 +01:00
Tit Petric
6a3fd9bc3b upd(codegen): follow golang standard pkg layout 2018-11-25 11:41:46 +01:00
Tit Petric
d0233e3377 add(system): implement additional user apis 2018-11-25 11:01:42 +01:00
Mitja Z
e7ea318f17 upd(system): add team membership apis (#2)
* upd(system): add team membership apis

* fix(all): fix codegen.sh for mac OS

* fix(system): replace, delete and tests
2018-11-25 11:00:59 +01:00
Tit Petric
338b340998 upd(sam,system): moved system tables away from sam 2018-11-24 20:41:36 +00:00
Tit Petric
297ffda5ad add(all): migrations for tests, statik update 2018-11-24 19:50:07 +00:00
Tit Petric
ffa2d1b8ed upd(system): rename tables, fix tests 2018-11-24 18:57:08 +00:00
Tit Petric
491efca67b del(codegen): remove all go:generate macros 2018-11-21 15:54:13 +01:00
Denis Arh
e5ff3ae7b3 Improve type-set generator, apply to system, sam 2018-11-21 07:02:57 +01:00
Denis Arh
43a7a054b3 Reissue & extend cookies on /auth/check 2018-11-19 06:32:48 +01:00
Tit Petric
9494271380 add(crm): chart mock api and statik codegen 2018-11-12 15:40:18 +01:00
Tit Petric
29c6277e18 upd(system):
- rename repository APIs to remove stutter
- use sqlx/types.JSONText to remove coalesceJson
2018-11-09 14:52:12 +01:00
Tit Petric
f7917d151d upd(system): don't expose satosaId in json 2018-11-09 14:08:17 +01:00
Tit Petric
8bf8c0dcf6 fix(system): fix compile error after refactor 2018-11-05 13:46:54 +01:00
Tit Petric
72e34f77d7 add(system): user, teams and orgs apis, refactor auth 2018-11-05 13:38:25 +01:00
Tit Petric
ae9e60b967 upd(all): codegen docs update 2018-11-05 13:37:49 +01:00
Tit Petric
fdf24b3e2c Refactor for new system service
- upd(all): indent spec.json files on all apps
- upd(auth): rename auth app to cmd
- upd(sam): move orgs, teams to system
- upd(system): extend spec.json for check
- upd(codegen): include system/
- upd(codegen): always generate spec files
- upd(sam): references from auth to system
2018-11-05 12:04:04 +01:00