3
0
Commit Graph

21 Commits

Author SHA1 Message Date
Tit Petric
f10c3cfbe7 upd(all): s/sam/messaging, del: build-proto.sh 2019-02-05 15:51:15 +01:00
Tit Petric
3ff2e035ef upd(all): update cmd, add internal/mail to all 2019-02-05 15:25:16 +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
adeefdbeaa fix(all):
- config fixes for singleton values (most)
- add monitor into internal/metrics
- clean up cmd folders to remove monitor
- implement versions on all apps
2018-10-26 11:20:15 +02:00
Tit Petric
7bf78fb4e0 upd(all): refactor
- moved rbac store and config to internal pkg,
- split auth authenticators to internal pkg,
- add rbac config object to internal/config,
- update package imports and references for auth,
- clean up main with pkg aliases
2018-09-13 12:05:06 +02:00
Tit Petric
33bdf429a5 upd(sam): refactor pubsub to repository 2018-09-11 18:12:41 +02:00
Tit Petric
16cc7a11f3 upd(all): restructure cmd, flags, startups 2018-08-23 11:15:23 +02:00
Tit Petric
4e710855b8 add(cmd/crm): import monitor 2018-08-21 13:02:45 +02:00
Tit Petric
7cd9f99be6 upd(cmd/crm): update with monitor, pprof 2018-08-21 13:02:30 +02:00
Denis Arh
c02fec809f Redo auth flags 2018-07-28 12:01:33 +02:00
Denis Arh
d886a98740 Implements JWT authorization along with some refactoring
- introduces auth package, for common (sam, crm) auth handlers
 - routes are now generated inside server package, each handler got its own MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
 - there MountRoute methods are now called from non-generated code so we can inject services to (rest) controllers
2018-07-26 20:12:14 +02:00
Tit Petric
80f9e9b9bc upd(all): use factory.Database.MustGet over .Get 2018-07-17 18:23:02 +02:00
Tit Petric
f450bdaba6 upd(main): keep go-spew sticky in vendor 2018-07-17 18:10:38 +02:00
Tit Petric
2b9903701a upd(main): restructure flags 2018-07-17 11:32:00 +02:00
Tit Petric
5a49d7f64f Merge branch 'master' of https://github.com/crusttech/crust 2018-07-17 11:10:55 +02:00
Tit Petric
5c6d05b9ff update(all): use namsral/flag in main 2018-07-17 11:09:06 +02:00
Denis Arh
43d11428fe Make CRM configurable through .env and part of realize config 2018-07-17 10:52:01 +02:00
Tit Petric
5aae6e9001 upd(all): move rest implementation into subpkg 2018-07-16 00:35:01 +02:00
Tit Petric
2892ef818d configure actual sql connections as they should be 2018-07-05 11:17:02 +02:00
Tit Petric
9eeffef679 rename import paths 2018-07-05 10:44:14 +02:00
Tit Petric
a21de65eb4 import crm entry point 2018-07-01 01:46:37 +02:00