Commit Graph

360 Commits

Author SHA1 Message Date
Simon Prévost
c209a6e5d2 Fix focus error 2019-07-18 09:37:45 -04:00
Simon Prévost
a800fad039 v1.1.0 2019-06-27 15:36:01 -04:00
Louis-Michel Couture
c60a7bc1ba Bump Node and NPM version to the current LTS (#98) 2019-06-27 15:30:50 -04:00
李子瀚(Hans Lee)
456847a431 🌐 Update generic chineses slug (#100) 2019-06-27 15:28:47 -04:00
Simon Prévost
55c40bc617 Add jipt is conflicted style node and hide overlay settings 2019-06-17 20:45:59 -04:00
Simon Prévost
5a47ef85b4 Add document path update form in documents list 2019-06-16 10:59:34 -04:00
dependabot[bot]
e3c77e0a4f Bump underscore.string from 3.3.4 to 3.3.5 in /webapp (#97)
Bumps [underscore.string](https://github.com/epeli/underscore.string) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/epeli/underscore.string/releases)
- [Changelog](https://github.com/epeli/underscore.string/blob/master/CHANGELOG.markdown)
- [Commits](https://github.com/epeli/underscore.string/compare/3.3.4...3.3.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: null <dependabot[bot]@users.noreply.github.com>
2019-06-16 10:56:31 -04:00
dependabot[bot]
32f5cab849 Bump js-yaml from 3.12.2 to 3.13.1 (#96)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.2 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.2...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: null <dependabot[bot]@users.noreply.github.com>
2019-06-16 10:56:16 -04:00
dependabot[bot]
6f7da15a5b Bump handlebars from 4.1.1 to 4.1.2 in /webapp (#95)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-16 10:56:00 -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]
f3d816c0bb Bump plug from 1.7.1 to 1.8.0 (#93)
Bumps [plug](https://github.com/elixir-plug/plug) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/elixir-plug/plug/releases)
- [Changelog](https://github.com/elixir-plug/plug/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-plug/plug/compare/v1.7.1...v1.8.0)

Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Simon Prévost <sprevost@mirego.com>
2019-05-28 07:15:58 -04:00
dependabot-preview[bot]
02f3aca149 Bump cowboy from 2.6.1 to 2.6.3 (#89)
Bumps [cowboy](https://github.com/ninenines/cowboy) from 2.6.1 to 2.6.3.
- [Release notes](https://github.com/ninenines/cowboy/releases)
- [Commits](https://github.com/ninenines/cowboy/compare/2.6.1...2.6.3)

Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Simon Prévost <sprevost@mirego.com>
2019-05-28 07:03:15 -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
904638d733 Fix prettier 2019-05-23 13:41:42 -04:00
Simon Prévost
9f138b558b Add instructions in integrations to help generate/view/setup webhooks in different services 2019-05-23 12:52:54 -04:00
Simon Prévost
5f33b47ba6 Reorder env var in readme 2019-05-20 21:49:37 -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
d8f927e8f4 Fix language svg currentColor 2019-05-13 16:42:54 -04:00
Simon Prévost
c7ce021273 Add revision name resolve on activity activities 2019-05-13 07:03:33 -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
60b8510485 Fix brittle unordered jipt translations 2019-05-12 20:37:24 -04:00
Simon Prévost
be674cc941 Add language override in UI 2019-05-12 20:28:59 -04:00
Simon Prévost
11732c5f30 Add language overrides in revision in schema 2019-05-09 19:04:11 -04:00
Simon Prévost
640b888358 Run prettier 2019-05-09 18:12:39 -04:00
Simon Prévost
65680b959e Refactor manage languages styles 2019-05-09 18:12:21 -04:00
Simon Prévost
2fe70b463a Fix manage language item link 2019-05-09 17:59:52 -04:00
Simon Prévost
0453d93c21 Update some npm deps 2019-05-09 17:55:44 -04:00
Simon Prévost
42ca419e24 Replace ember-graph-file by the simpler graphql-tag export in js files 2019-05-09 17:52:27 -04:00
Simon Prévost
66605ca1a1 Remove duplication between slack and discord integration service 2019-05-09 17:39:12 -04:00
Simon Prévost
b314d0d12e Add github service integration UI 2019-05-09 17:14:07 -04:00
Simon Prévost
5620da8f08 Fix spinner by using CSS instead of spin.js 2019-05-09 17:11:44 -04:00
amy null
93a4198ca3 Add Discord project integration (#86)
* Add basic Discord webhook support

* Add Discord integration tests

* Revert lockfiles
2019-05-09 17:11:24 -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
51ceec7caf Refactor UI for versions 2019-04-21 14:02:44 -04:00
Simon Prévost
1d300c308a Add version handling in sync and add translations operations 2019-04-21 14:02:44 -04:00
Simon Prévost
9e1dbb9dbd Replace number status code with atom 2019-04-21 14:02:44 -04:00
Simon Prévost
70fb956d87 Fix sync add document in CLI 2019-04-21 14:02:44 -04:00
Simon Prévost
147c38da42 Fix responsive issues 2019-04-21 14:02:44 -04:00
Rémi Prévost
886fa53efd Remove Black and Extra Bold font weight from the UI (#81)
The new Inter font is great, but its “Black” and “Extra Bold” weights looks out-of-place in our UI. We can use the “Bold” weight just fine 😄 

### Before

<img width="185" alt="" src="https://user-images.githubusercontent.com/11348/55750385-28fb1c00-5a11-11e9-88c4-49eb1f747dbc.png">

<img width="538" alt="" src="https://user-images.githubusercontent.com/11348/55750386-28fb1c00-5a11-11e9-92a9-d8866b36fc46.png">

### After

<img width="185" alt="" src="https://user-images.githubusercontent.com/11348/55750384-28fb1c00-5a11-11e9-894c-e4eaf2790663.png">

<img width="547" alt="" src="https://user-images.githubusercontent.com/11348/55750387-28fb1c00-5a11-11e9-82a3-b2d83cba2fe9.png">
2019-04-11 09:25:48 -04:00
Simon Prévost
8d72dff005 Remove last activity on projects list 2019-04-07 20:59:22 -04:00
Simon Prévost
c3565f7f32 Fix link list tiles styles 2019-04-07 17:05:25 -04:00
Simon Prévost
083645a546 Update icons 2019-04-07 16:28:15 -04:00
Simon Prévost
1669582c72 Update jipt doc styles 2019-03-31 16:26:46 -04:00
Simon Prévost
64cc4daab6 Refactor Google login to use redirect instead of popup 2019-03-31 16:16:54 -04:00
Simon Prévost
28a7dd0ba0 Fix many revisions selector and update deps to fix live reload 2019-03-31 16:16:54 -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
Simon Prévost
ad8ec11f75 Update emberjs to latest 2019-03-28 22:05:16 -04:00
Simon Prévost
c373713678 Fix small UI tweaks 2019-03-28 21:14:27 -04:00
Simon Prévost
3fdd36f73a v1.0.0 2019-03-13 21:59:47 -04:00