Commit Graph

78 Commits

Author SHA1 Message Date
Simon Prévost
d2dbce9358 Add Logger metadata for current user and graphql operations 2020-09-30 07:38:19 -04:00
Simon Prévost
eb250a8648 Rename RESTRICTED_DOMAIN to more specific RESTRICTED_PROJECT_CREATOR_EMAIL_DOMAIN 2020-09-29 07:00:48 -04:00
Simon Prévost
54b68840b0 Fix tests 2020-08-31 20:54:40 -04:00
Simon Prévost
3c5b5d2c6c Refactor select and update deps 2020-08-29 18:06:27 -04:00
Simon Prévost
e0c0709c61 Update deps 2020-06-10 21:38:14 -04:00
Simon Prévost
19ab6a44f1 Add gleam library to implement type-safe linting module 2020-06-10 13:04:13 -04:00
Simon Prévost
3a2bb5dd45
Replace custom gen stage event handling with oban to execute async tasks (#187) 2020-06-10 13:02:35 -04:00
Simon Prévost
b3d8997432 Fix textarea and textinput bindings 2020-04-28 07:23:02 -04:00
Simon Prévost
3d8dc94029 Fix test 2020-03-24 07:44:32 -04:00
Simon Prévost
3a33004246 Revert default dummy login when no other providers are configured 2020-03-23 12:27:38 -04:00
Simon Prévost
6be6a64a1a Add releases config import in prod config to run mix phx.server in prod env 2019-12-17 07:08:35 -05:00
Simon Prévost
c2b02d2aca Test 2019-12-12 12:36:49 -05:00
Simon Prévost
4236ca2cee Add translation lint and spell check 2019-12-12 12:36:49 -05:00
Simon Prévost
8c82eceaf4 Fix poison deps and entrypoint app name 2019-10-03 17:11:26 -04:00
Simon Prévost
040d9cad55 Upgrade bamboo smtp and add builtin adapter in supported mailer from env var 2019-09-11 13:31:48 -04:00
amy null
80c11d4feb Add Discord OAuth to login 2019-08-19 22:22:10 -04:00
Simon Prévost
26288c9a2e Refactor readme 2019-07-31 21:15:15 -04:00
Simon Prévost
d2dd61131f Upgrade elixir 1.9, use mix release, fix env var for auth 2019-07-30 07:31:01 -04:00
Simon Prévost
768a2fac3e Add uberauth to handle authentication to allow multiple providers login (google, github and slack) 2019-05-20 21:45:25 -04:00
Simon Prévost
0f53caa197 Add config to enable dummy login on production to use in the demo deploy 2019-05-12 21:07:13 -04:00
Simon Prévost
e1b1b106c6
Add GitHub webhooks integration to sync a project (#85)
* Add GitHub webhooks integration to sync a project

The webhook generates events that reads the repo’s config file (the same
config file used by accent-cli) and build "sync" and "add translations"
events in Accent.

It supports a default ref: you can specify to only
trigger the "sync" on the "release/production" branch. It also supports
automatic version sync. If you have a version in Accent that matches
your git tag, "sync" events will be generated for those versions,
without touching your current translations. This can be useful if you
use versions to freeze translations on your releases.

This commit only adds the API side of the feature. So while it’s not
user facing, if you want to test the feature, you can add a matching
"integrations" row in the database and setup your webhook in GitHub :)

* Add tests for integration scope

* Rename hook sync to hook update since the hook sync and add translations

* Order mix.exs deps

* Run formatter

* Fix credo

* Fix tests

* Move GitHub producer with the same shared code as the other producer, simple queue without back pressure

* Remove unused function

* Update event producer from gen stage queue broadcaster

* Add tests
2019-04-26 12:41:51 -04:00
Simon Prévost
aed5793dab Add distillery and docker setup 2019-01-11 09:47:14 -05:00
Simon Prévost
53a0e5c8ac Refactor and adds credo env var check 2018-12-08 16:43:06 -05:00
Simon Prévost
a4a68b8862 Update sentry to 7.0 to remove peer Plug.Conn error 2018-12-08 15:21:42 -05:00
Simon Prévost
b360e50339 Update Ecto and Phoenix deps 2018-12-08 15:21:42 -05:00
Simon Prévost
d9711d5973 Add tests for hook consumers 2018-04-11 06:02:16 -04:00
Simon Prévost
0bb0b01171 Add email abilities restriction capabilities with RESTRICTED_DOMAIN env var 2018-04-11 06:01:00 -04:00
Simon Prévost
bca59c4caa Initial commit 💥 2018-04-05 16:47:36 -04:00