Tit Petric
876a304def
upd(all):
...
- moved Access type from system to internal/rules,
- moved Resource from system to internal/rules,
- update imports for new type locations,
- add scope list container to inject permissions,
- update permissions API call to return default perms,
- update codegen for generated Rules types
2019-02-06 11:19:32 +01:00
Tit Petric
1e1a6f8e6a
upd(all): statik codegen update
2019-02-06 11:19:32 +01:00
Denis Arh
ccb3f957e7
Improved CLI for user handling
2019-02-06 05:37:38 +01:00
Tit Petric
087196f571
clean(all): gocritic warnings cleanup
2019-02-05 16:14:28 +01:00
Tit Petric
86c19a743d
upd(all): flags cleanup
2019-02-05 16:14:02 +01:00
Tit Petric
044eeecec0
upd(all): regenerate mocks
2019-02-05 15:51:40 +01:00
Tit Petric
f10c3cfbe7
upd(all): s/sam/messaging, del: build-proto.sh
2019-02-05 15:51:15 +01:00
Tit Petric
440d3514ed
upd(messaging): serviceError update
2019-02-05 15:41:04 +01:00
Tit Petric
27bc4c9064
add(system): TeamSet, OrganisationSet + Resource()
2019-02-05 14:41:57 +01:00
Tit Petric
d105adfed6
add(system): resource type and encoding
2019-02-05 14:41:57 +01:00
Denis Arh
c697c86ee5
Add system-cli and an user-merging tool
2019-02-04 10:15:38 +01:00
Denis Arh
7115949354
Add db connection retrying on startup
2019-02-04 10:15:38 +01:00
Tit Petric
eba7af3e5c
upd(system): update oidc state cookie domain
2019-01-30 02:03:00 +00:00
Mitja Zivkovic
4d57db5897
upd(internal): rbac.Operations to rules.Operations
2019-01-28 10:53:19 +01:00
Mitja Zivkovic
c0422a738a
upd(internal): types.Access and rules(Allow/Deny/Inherit)
2019-01-22 14:46:29 +01:00
Mitja Zivkovic
d9761cb7a1
upd(internal): rules.value as tinyint
2019-01-22 14:46:29 +01:00
Tit Petric
d17a6fb8aa
add(internal): rules feature
...
- add make test.rules target
- add rules api implementation
- add sql migration for rules table
- add unit tests to verify it works
2019-01-22 14:46:29 +01:00
Denis Arh
9557b0ebb5
Enable user filtering by email and username
2019-01-22 13:22:35 +01:00
Denis Arh
2748847ee9
Add (created|updated|delete)_by fields on record
...
Move data manipulation from repo to service layer
2019-01-21 14:42:07 +01:00
Tit Petric
5e6100d83a
upd(crm): update routes for consistency, middleware
2019-01-16 12:54:50 +01:00
Tit Petric
433c7a8288
upd(sam): restructure routes for consistency
2019-01-16 12:39:12 +01:00
Tit Petric
6cafce4d03
upd(system): additional route middleware, route context
2019-01-16 12:28:50 +01:00
Denis Arh
5c68ed109e
Cleanup, preloading improved
2019-01-15 18:16:18 +01:00
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