Commit Graph

252 Commits

Author SHA1 Message Date
Simon Prévost
0c9dfdd98a Add a way to disable language tool jar init 2023-10-30 13:24:49 -04:00
Tom Pesman
0805e6b385
Adds fields to Entry for correct export (#378) 2023-10-25 12:56:50 -04:00
Simon Prévost
2aa9b82e5a Add languagetool vendored integration for performant and accurate spelling lint check 2023-10-24 08:15:39 -04:00
Simon Prévost
44a32ac1e9 Update Telemetry UI 2023-10-02 08:57:24 -04:00
Simon Prévost
d429b0b970 Add spelling lint check with LanguageTool integration 2023-09-29 20:11:14 -04:00
Simon Prévost
4483fe03c4 Fix compile time route ueberauth controller 2023-08-29 14:39:06 -04:00
Simon Prévost
a494b4016d Fix redirect 2023-08-29 14:07:45 -04:00
Simon Prévost
cb1cfc040c Fix auth request 2023-08-29 13:30:07 -04:00
Simon Prévost
69b6d1cf0f Fix slack and gitlab login 2023-08-29 09:50:19 -04:00
Simon Prévost
14377de388 Fix discord webhook 2023-08-25 14:09:25 -04:00
Simon Prévost
7726ff7ec2 Update deps 2023-08-25 10:10:46 -04:00
Simon Prévost
772a596794 Add @adobe/styler to format all Elixir code 2023-08-24 22:09:31 -04:00
Simon Prévost
bfc502e5fa Fix export/format ordering, fix uniform border-radius, allow listing deleted documents, fix conflicts template hook 2023-08-24 21:51:03 -04:00
Simon Prévost
e56b27b449 Fix related translation with duplicate keys (one removed, one active) 2023-08-16 17:58:58 -04:00
Simon Prévost
ee002f5b88 Remove dbg 2023-08-04 14:55:44 -04:00
Simon Prévost
19898e43c9 Update deps 2023-08-04 14:55:44 -04:00
Simon Prévost
fcef874263 Add sync lock version on projet to prevent race condition on sync 2023-08-04 14:55:44 -04:00
Simon Prévost
21d7e42766 Add revision deleter in worker to use infinite repo transaction timeout 2023-08-04 14:55:44 -04:00
Simon Prévost
cd256fa7f5 Fix oban perform result for outbound email 2023-08-04 14:55:44 -04:00
Simon Prévost
ffea12613d Fix lint on all versions instead of current one 2023-05-24 10:05:18 -04:00
Simon Prévost
2765005ced v1.16.1 2023-05-01 19:51:37 -04:00
Simon Prévost
72f3dea0fe Add AI assistant prompt 2023-04-28 15:50:15 -04:00
Simon Prévost
362e45badb Add export all button in files 2023-03-25 14:43:37 -04:00
Simon Prévost
b6415e1510 New UI 2023-03-22 19:56:43 -04:00
Simon Prévost
6bc3274f42 Add machine translations on project sync 2023-03-14 13:16:39 -04:00
Simon Prévost
ecbd4a1164 Fix linting of placeholder/url count for master language 2023-03-02 11:28:30 -05:00
Simon Prévost
3cd67cd2c6 Fix machine translation error handling 2023-03-02 11:03:12 -05:00
Simon Prévost
c0cb687fe6 Fix invalid unicode file parsing 2023-02-27 13:09:02 -05:00
Simon Prévost
4feb86228e
Add ecto_psql_extras in telemetry_ui (#342)
* Add pg_stat_statements metrics

* Upgrade telemetry_ui

* v1.14.0

* Update ember template lint and format
2023-02-23 09:03:06 -05:00
Simon Prévost
c4c9a96ba5 Fix default vault key 2023-02-11 14:18:34 -05:00
Simon Prévost
a37b1831fe Add machine translations config 2023-02-07 09:21:48 -05:00
Simon Prévost
bb8979d325 Add api token create/revoke 2023-01-31 15:02:42 -05:00
Simon Prévost
84741452e9 Add canonical host and refactor config runtime module 2023-01-20 16:01:45 -05:00
Simon Prévost
70926dd492 Fix Rails formatter 2023-01-18 14:02:25 -05:00
Simon Prévost
773fd24f2a Fix gettext line break reject 2023-01-16 13:08:51 -05:00
Simon Prévost
042dc7e0a2 Fix lint for nil master value 2023-01-16 12:28:52 -05:00
Simon Prévost
593d080b43 format 2023-01-08 22:27:08 -05:00
Simon Prévost
40d37a4526 m1 stuff 2022-12-19 10:50:26 -05:00
Simon Prévost
4b142e7b23 wip 2022-12-16 08:56:46 -05:00
Simon Prévost
38897cdc53 Update telemetry_ui 2022-11-25 21:54:35 -05:00
Simon Prévost
0e3cbfc30f Add ecto in telemetry_ui 2022-11-22 10:10:43 -05:00
Simon Prévost
3e244bc301 Fix compile warning 2022-11-21 20:48:03 -05:00
Simon Prévost
02b273288b Add telemetry_ui 2022-11-21 20:41:09 -05:00
Simon Prévost
d40d32dbbb
Fix placeholder lint and bad documents list UX (#326) 2022-11-16 20:18:44 -05:00
Simon Prévost
4efe980129
Add support for version sync/export/infos in CLI (#325) 2022-11-16 20:18:35 -05:00
Simon Prévost
9027a832fe
Add rtl support for languages in webapp (#321) 2022-11-16 20:18:15 -05:00
Simon Prévost
ad018c0af5
Add document format on CLI (#308)
A new /format endpoint is available that simply returns the given file
as formatted by Accent. This can be useful locally to format or re-order
before committing the changes and not modify anything in your Accent
projet.
2022-09-01 08:45:19 -04:00
Simon Prévost
56400886f9 Update deps 2022-08-30 10:01:22 -04:00
Simon Prévost
a5667dd6eb Fix source translation on new slave 2022-08-29 08:30:50 -04:00
Simon Prévost
3325e5e9d8
Add batched SQL for insert/update operations (#306)
This introduce a new way of doing "migration" of data based on the
operation table. Before, we simply executed the SQL query as the
migration were run. Like for a "new" operation, we did an insert of a
"transactions" row and an update to the "operations" table _for each
entry in the synced file._ For a file containing 1000 keys, we did a
total of 2000 SQL queries.

After this commit, we only do 2 SQL queries (well 4 since we batch the
SQL params by 500). By aggregating operation like {:update_all,
operation.id, %{synced: true}}, we are able to batch the operations
efficiently.

This results in a much faster sync/add translations/correct/uncorrect
operations.
2022-08-29 07:50:55 -04:00
Simon Prévost
e04dccf6bd Fix review percentage, personal access token, batch, diffable strings 2022-06-20 09:55:53 -04:00
Simon Prévost
9e26cfb34d Fix first letter lint for non-latin languages 2022-06-16 15:06:42 -04:00
Simon Prévost
c3253e0439 Fix format 2022-03-30 09:07:30 -04:00
Simon Prévost
4fb82dcf16 Fix credo 2022-03-30 08:51:12 -04:00
Simon Prévost
730b6b9dda Fix lint without master value 2022-03-30 08:37:11 -04:00
Simon Prévost
9c57b53904 Add db timeout error grouping in sentry 2022-03-18 07:01:03 -04:00
Simon Prévost
ef42ef0531 Fix empty replacement on lint view 2022-03-18 06:44:09 -04:00
Simon Prévost
dd133b3ff4 Fix machine translations from language select take 2 2022-03-15 15:09:15 -04:00
Simon Prévost
54d0462f70 Fix machine translations from language select 2022-03-15 10:17:39 -04:00
Simon Prévost
78b2c65fe1 Add machine translations document translate 2022-03-15 06:18:21 -04:00
Simon Prévost
b24a115b6d Add new relic optional setup 2022-02-28 11:50:22 -05:00
Simon Prévost
ffdb353848 Update NodeJS deps for webapp and cli 2022-02-28 11:41:08 -05:00
Simon Prévost
66f6d32b21 Fixes 2022-02-23 11:39:47 -05:00
Simon Prévost
aa4335b9a3 Fix inspect changes in 1.13.3 2022-02-23 07:46:56 -05:00
Simon Prévost
e7c56e3eff Add lint in CLI 2022-02-23 07:18:51 -05:00
Simon Prévost
5554d6446a Add apostrophe lint for fr languages 2022-01-21 15:29:45 -05:00
Simon Prévost
d45cfa26f1 Fix media queries, linting and other small improvements 2022-01-21 15:07:59 -05:00
Simon Prévost
e04d267cba Add revision on lint translation item 2021-12-23 07:59:52 -05:00
Simon Prévost
cde90b66ba Remove autocorrect stuff 2021-12-18 21:07:01 -05:00
Simon Prévost
bc72f50b4b Remove gleam 2021-12-12 21:18:48 -05:00
Simon Prévost
559eef3794 wip 2021-12-09 18:45:23 -05:00
Simon Prévost
eea5ec0410 Add lint translations page 2021-06-30 07:08:31 -04:00
Simon Prévost
8b7ef7b367 Refactor navigation and add badges 2021-06-28 12:57:38 -04:00
Simon Prévost
edcc7dc042 Add batched operations in activity item and refactor machine translations UI 2021-06-23 12:43:28 -04:00
Simon Prévost
8a58f8bf99 Add timeout on user socket to prevent heroky router error 2021-06-09 15:03:50 -04:00
Simon Prévost
43055188c3 Add default null option on new slave 2021-06-07 11:10:00 -04:00
Simon Prévost
e9ec74ef61 Add merge options on add translation to correct translation in the same operation 2021-06-04 16:12:33 -04:00
Simon Prévost
c874b64e97 Add export advanced filters 2021-06-04 10:18:43 -04:00
Simon Prévost
2dc3c421be Fix long text machine translations 2021-06-04 10:17:48 -04:00
Simon Prévost
37840f1492 Update elixir deps 2021-04-23 07:28:20 -04:00
Simon Prévost
09e4301aea
Add update comment UI and API on translation and projet comments (#236)
* Add update comment UI and API on translation and projet comments

* Use erlef/setup-elixir in GitHub Actions

* Fix setup gleam
2021-02-12 06:38:47 -05:00
Simon Prévost
8b84d0f1a5 Fix related translations ordering 2021-02-09 07:48:22 -05:00
François Richard
62ed72ec4e
Allow comment deletion (#224)
* Allow comment deletion

* Add delete_changeset for comment, decrement comments count

* Add comment delete resolver test

* Don't use pipe on single function call

Co-authored-by: Simon Prévost <sprevost@mirego.com>

* Improve controller functions

* Run format

Co-authored-by: Simon Prévost <sprevost@mirego.com>
2021-01-27 08:25:42 -05:00
Simon Prévost
8f1e8786e5 Add WEBAPP_SKIP_SUBRESOURCE_INTEGRITY setting to remove integrity attributes on link and script tags 2020-12-02 07:58:29 -05:00
Simon Prévost
897719dd48 Fix duplicate translations on search, search reset and refactor box-shadow 2020-11-26 08:00:03 -05:00
Simon Prévost
c937a2ace1 Fix value_type not set for some parsers 2020-11-25 18:01:32 -05:00
Simon Prévost
704553e0dd Fix lint 2020-11-25 07:53:48 -05:00
Simon Prévost
8e50afc874 Run format 2020-11-25 07:34:47 -05:00
Simon Prévost
2b649acc88 Fix gettext multiline value serializing 2020-11-25 07:34:47 -05:00
Simon Prévost
8c94168c0f Fix translations scope 2020-11-25 07:34:47 -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
3274fbb13d Fix key separator for nested json key 2020-11-10 12:03:57 -05:00
Simon Prévost
e40fe4cb86 Add file comment section in translation edit form 2020-11-05 13:06:32 -05:00
Simon Prévost
83ebde9c9a Fix tests 2020-10-20 21:27:26 -04:00
Simon Prévost
61661d438e Fix elixir 1.11 config and pell config 2020-10-18 20:56:14 -04:00
Simon Prévost
6cd211ee83 Update elixir 1.11.0 and OTP 23 2020-10-09 07:46:58 -04:00
Simon Prévost
cd92e2f79a Add batched sync/merge actions 2020-10-08 16:46:36 -04:00
Simon Prévost
de6cdd15a4 Add recent projects locally stored in projects list 2020-10-07 07:37:59 -04:00
Simon Prévost
23ed664569 Fix, format and service logo reuse 2020-09-30 08:09:12 -04:00
Simon Prévost
d2dbce9358 Add Logger metadata for current user and graphql operations 2020-09-30 07:38:19 -04:00