upd(codegen): messaging webhook.gen.go
Tit Petric authored
5b421b08
Name Last commit Last update
.github add(all): import pull request template
api upd(api): remove duplicate entrypoint for crm permissions
cmd upd(cmd/crust): update webapp serving location
codegen upd(codegen): custom types, camel case structs
crm upd(all): codegen update handlers/request pkgs
docs upd(all): codegen update handlers/request pkgs
internal fix(internal): test suite updates
messaging add(messaging): import webhook type
system upd(all): codegen update handlers/request pkgs
vendor upd(all): vendor update
.dockerignore Inject version & build-time info and show it on startup & on /version endpoint
.drone.yml add(.drone.yml): add integration tests
.editorconfig Add .editorconfig
.env.sample Change example email
.gitignore add(crust): support assets loading for webapps
.project add project name, makefile
.realize.yaml Change old paths (sam => messaging) in realize config
Dockerfile.api-crm upd(build): dockerfiles and makefile update
Dockerfile.api-messaging upd(build): dockerfiles and makefile update
Dockerfile.api-system upd(build): dockerfiles and makefile update
Dockerfile.crust upd(build): dockerfiles and makefile update
Dockerfile.crust-builder upd(build): dockerfiles and makefile update
Gopkg.lock upd(all): vendor update
Gopkg.toml Add all sso releated deps
LICENSE add(all): import Apache-2.0 LICENSE
Makefile add(makefile): integration target for drone
README.md add(readme): go report card
build.sh upd(build.sh): enable partial build with param
codegen.sh upd(codegen): messaging webhook.gen.go

What is Crust?

Build Status Go Report Card

Crust brings your user ecosystem and essential applications together on one platform, unifying them via CRM, Team Messaging and Advanced Identity and Access Management.

Crust Messaging is a secure, high performance, open source Slack alternative that allows your teams to collaborate more efficiently, as well as communicate safely with other organisations or customers.

Crust CRM is the highly flexible, scalable and open source Salesforce alternative, that enables you to sell faster and interact with leads, clients and team members easier then ever before. Seamless integration with Crust Messaging and Crust Identity and Access Management make it the most complete and flexible self-hosted CRM platform on the market.

Crust Unify manages user experience for Crust applications, such as CRM and Messaging, as well as providing an integrated interface for third party or other bespoke applications. 100% responsive and with an intuitive design, Crust Unify increases productivity and ease of access to all IT resources.

Contributing

Setup

Copy .env.example to .env and make proper modifications for your local environment.

An access to a (local) instance of MySQL must be available. Configure access to your database with SAM_DB_DSN and CRM_DB_DSN.

Please check the options available with ./app -h.

The database will be populated with migrations at the start of each service. You don't need to pre-populate the database, just make sure that your permissions include CREATE and ALTER capabilities.

Running in local environment for development

Everything should be set and ready to run with make realize. This utilizes realize tool that monitors codebase for changes and restarts api http server for every file change. It is not 100% so it needs help (manual restart) in certain cases (new files added, changes in non .go files etc..)

Making changes

Please refer to each project's style guidelines and guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest master from "upstream" before making a pull request!