Commit Graph

48 Commits

Author SHA1 Message Date
Simon Prévost
37840f1492 Update elixir deps 2021-04-23 07:28:20 -04:00
Rémi Prévost
da9d3fa7f6
Upgrade hackney to fix Coveralls CI step (#242) 2021-03-17 11:01:22 -04:00
Simon Prévost
bb432e2402 Update gleam deps 2021-02-09 07:48:22 -05:00
Simon Prévost
ca875edf91 Update elixir deps 2021-02-09 07:48:22 -05:00
Simon Prévost
0fcc67040a Fix microsoft login styles 2020-12-02 08:31:00 -05:00
Simon Prévost
6e0c3e129a Add Google Translate service with machine translations feature 2020-11-25 07:34:47 -05:00
Simon Prévost
6cd211ee83 Update elixir 1.11.0 and OTP 23 2020-10-09 07:46:58 -04:00
Simon Prévost
cceae3dbca Fix acc select 2020-09-29 08:07:09 -04:00
Simon Prévost
3c5b5d2c6c Refactor select and update deps 2020-08-29 18:06:27 -04:00
Simon Prévost
c22856b305 Update elixir version 2020-06-19 14:39:58 -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
b71142c76d Update elixir deps 2020-04-07 09:49:50 -04:00
Simon Prévost
9567db9b4d
Convert codebase to typescript and latest Ember (#157)
* Update eslint setup (#134)

* Convert services (#136)

* Convert login and logged-in routes (#137)

* Convert project routes and controllers (#138)

* Convert activities and comments routes (#140)

* Convert project edit sub-routes and controllers (#139)

* Convert files routes and controllers (#141)

* Convert revision routes and controllers (#142)

* Convert phoenix service (#143)

* Convert translation routes and controllers (#144)

* Convert versions routes and controllers (#145)

* Convert JIPT routes and controllers (#146)

* Convert Sass variables to CSS modules @value (#147)

* Convert CSS variables and fix projects page components

* Fix a bunch of components

* Fix another bunch of components

* Update styles and missing global for powerselect

* Fix typings

* Fix typescript warnings

* Add typings for phoenix and file-saver vendor

* Fix github ci

Co-authored-by: Charles Demers <cdemers@mirego.com>
Co-authored-by: Charles Demers <charles.demers6@gmail.com>
2020-04-07 07:47:33 -04:00
Simon Prévost
cc48848377 Update deps 2020-03-25 19:12:41 -04:00
Simon Prévost
1968150385 Update app.json and jsone dep to remove slash escaping 2019-12-16 18:46:05 -05:00
Simon Prévost
43092ce891 Update elixir deps 2019-12-12 12:36:49 -05:00
Simon Prévost
8b682ca0db
Update deps (#128) 2019-10-31 20:49:46 -04: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
Olafur Arason
fa6ff35d39 Add support for msgctxt (#118) 2019-08-23 12:09:04 -04:00
Simon Prévost
ab9f77bba0 Fix p1_utils 2019-08-22 12:56:37 -04:00
amy null
80c11d4feb Add Discord OAuth to login 2019-08-19 22:22:10 -04:00
Simon Prévost
d80bd4f98d Update deps 2019-08-16 11:15:31 -04:00
Simon Prévost
b992ac5215 Fix gettext header serializer 2019-08-14 18:30:10 -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
dependabot-preview[bot]
8edc47180e Bump excoveralls from 0.10.5 to 0.11.1 (#90)
Bumps [excoveralls](https://github.com/parroty/excoveralls) from 0.10.5 to 0.11.1.
- [Release notes](https://github.com/parroty/excoveralls/releases)
- [Changelog](https://github.com/parroty/excoveralls/blob/master/CHANGELOG.md)
- [Commits](https://github.com/parroty/excoveralls/compare/v0.10.5...v0.11.1)

Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com>
2019-05-28 07:16:26 -04:00
dependabot-preview[bot]
92747fd230 Bump plug_cowboy from 2.0.1 to 2.0.2 (#91)
Bumps [plug_cowboy](https://github.com/elixir-plug/plug_cowboy) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/elixir-plug/plug_cowboy/releases)
- [Changelog](https://github.com/elixir-plug/plug_cowboy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-plug/plug_cowboy/compare/v2.0.1...v2.0.2)

Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com>
2019-05-28 06:39:52 -04:00
dependabot-preview[bot]
3ea642800f Bump distillery from 2.0.12 to 2.0.14 (#92)
Bumps [distillery](https://github.com/bitwalker/distillery) from 2.0.12 to 2.0.14.
- [Release notes](https://github.com/bitwalker/distillery/releases)
- [Changelog](https://github.com/bitwalker/distillery/blob/master/docs/changelog.md)
- [Commits](https://github.com/bitwalker/distillery/compare/2.0.12...2.0.14)

Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com>
2019-05-28 06:39:21 -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
b314d0d12e Add github service integration UI 2019-05-09 17:14:07 -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
ae0df57dae
Add basic support for XLIFF 1.2 file format (#79)
![image](https://user-images.githubusercontent.com/464900/55203015-35c17980-51a0-11e9-8647-d91209c7b6de.png)

## Issue
📚 https://github.com/mirego/accent/issues/21

## Feature
This is a basic implementation of the XLIFF 1.2 format. This format is used heavily in a lot of translations related tool (and in XCode) so I may have missed some of the implementation details. But it’s a good start for someone who want to contribute to Accent 😉 

## Refactor
This format is a bit trickier than other since it required the master language to export the targets. We needed to refactor some module to use the master language in the serialization process. Also, not needed but cleaner, we wrap the document’s key `top_of_the_file_comment` and `header` inside a new struct `Language.Document`. This will become handy if we ever need to add an attribute to the document OR if we add a different attribute to the serialization input.

## Next steps
This format includes 2 new dependencies to handle XML encode and decode. _Why not use the same XML library used for the XML Android format?_ Because… \*drum roll\* The `<source>` XML tag when encoded by the `mochiweb_html` module is a self closing tag (per the HTML spec) 🥇 

Since those 2 new deps are required for the XLIFF format and can pretty print XML, we should use them _instead of `mochiweb`_ 🎉
2019-03-31 16:16:20 -04:00
Louis-Michel Couture
fc84b0de08 Upgrade absinthe to 1.4.16 to get around issue with build artifacts
https://github.com/absinthe-graphql/absinthe/issues/691
2019-03-13 14:03:39 -04:00
Simon Prévost
fa55c9a543 Update deps and elixir/erlang version 2019-03-03 14:56:36 -05:00
Simon Prévost
835d32285c Fix placeholders inclusion in previous translation mapping 2019-01-22 08:09:45 -05:00
Simon Prévost
aed5793dab Add distillery and docker setup 2019-01-11 09:47:14 -05:00
Simon Prévost
9a9b50e0d8 Add more tests and refactor scripts and endpoint 2019-01-06 22:41:53 -05:00
Simon Prévost
53a0e5c8ac Refactor and adds credo env var check 2018-12-08 16:43:06 -05:00
Simon Prévost
7ad330229d Update absinthe_plug to fix graphiql 2018-12-08 15:21:42 -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
fe8dd46ac3 Update other deps so the app compiles 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
Nicolas Boisvert
be950f5f0e laravel_php - Redone job in new branch 2018-06-08 16:59:28 -04:00
Łukasz Jan Niemier
b3882e7bc5 Add support for CSV formatter
Issue #22
2018-05-11 07:34:04 -04:00
Mathieu Rheaume
b4668621d5 Update to ecto 2.2.10 2018-04-11 06:02:03 -04:00
Simon Prévost
bca59c4caa Initial commit 💥 2018-04-05 16:47:36 -04:00