Commit graph

455 commits

Author SHA1 Message Date
Chris Garrity
a686b146ce Add www mongolian translations 2020-06-15 14:43:18 -04:00
Chris Garrity
1bcac47a24 Update editor files with mongolian 2020-06-15 14:27:32 -04:00
Chris Garrity
c3af096489 update circleci config
Don’t run pull translations on every merge.
2020-06-15 12:29:58 -04:00
Chris Garrity
fb6c65ca42 Adding Mongolian (mn) 2020-06-15 11:28:17 -04:00
chrisgarrity
c47c52d727
Merge pull request #96 from LLK/dependabot/npm_and_yarn/eslint-utils-1.4.3
Bump eslint-utils from 1.3.1 to 1.4.3
2020-06-15 11:27:39 -04:00
dependabot[bot]
a33f24799e
Bump eslint-utils from 1.3.1 to 1.4.3
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 15:21:31 +00:00
chrisgarrity
4899e08e45
Merge pull request #93 from LLK/dependabot/npm_and_yarn/mixin-deep-1.3.2
Bump mixin-deep from 1.3.1 to 1.3.2
2020-06-15 11:15:53 -04:00
chrisgarrity
b117d2d765
Merge pull request #95 from LLK/dependabot/npm_and_yarn/lodash.defaultsdeep-4.6.1
Bump lodash.defaultsdeep from 4.6.0 to 4.6.1
2020-06-15 11:15:05 -04:00
chrisgarrity
1e27c81827
Merge pull request #97 from LLK/dependabot/npm_and_yarn/lodash-4.17.15
Bump lodash from 4.17.11 to 4.17.15
2020-06-15 11:13:45 -04:00
Chris
3a04556b4b pull new editor translations from Transifex 2020-06-09 20:07:36 +00:00
Chris
f5cc5e1c65 pull new editor translations from Transifex 2020-06-03 15:11:53 +00:00
Chris Garrity
64c4333aea Add missing github config
The username and email were missing, so translation commit failed.
Added a new workflow for the tx-pull-manual branch to verify it works
2020-06-03 11:02:26 -04:00
chrisgarrity
18cc778221
Add contact-us-form screenshot 2020-05-28 14:11:31 -04:00
chrisgarrity
98672583dc
Merge pull request #117 from LLK/wiki-images
add images for wiki pages
2020-05-28 12:44:16 -04:00
Chris Garrity
c29d2ecdc3 add images for wiki pages
and fix circle config typo
2020-05-28 12:41:21 -04:00
Chris Garrity
a3fa0be074 Add slack notifications for failing cron jobs
* add the slack orb
* configure failure only status messages for the jobs that sync with transifex
2020-05-28 09:08:15 -04:00
chrisgarrity
060b2fe7bc
Merge pull request #116 from LLK/circle-correction2
install node-modules for cron workflows
2020-05-28 08:00:17 -04:00
Chris Garrity
c74511e5d5 install node-modules for cron workflows
The jobs that don’t run the build and test job (scheduled jobs) need to install the node modules because they’re not already in the workspace. The `node/install-packages` command from the node orb will use cached modules if available.
2020-05-28 07:35:58 -04:00
chrisgarrity
d22451f066
Merge pull request #115 from LLK/circle-correction2
Configure known_hosts with github for jobs that don’t run checkout
2020-05-27 16:24:52 -04:00
Chris Garrity
0184ebc4d4 Configure known_hosts with github for jobs that don’t run checkout 2020-05-27 16:23:49 -04:00
chrisgarrity
139d0e7a42
Merge pull request #114 from LLK/circleci-correction1
fix use of VERSION env variable
2020-05-27 15:57:50 -04:00
Chris Garrity
798b0eb221 fix use of VERSION env variable
was trying to use the variable before it was in the env.
2020-05-27 15:56:51 -04:00
chrisgarrity
e4ab67e44b
Merge pull request #113 from LLK/remove-travis
Disable travis CI
2020-05-27 15:22:20 -04:00
Chris Garrity
51aba3f984 Disable travis CI
remove the Travis config file since it’ll build on circle-ci from now on.
2020-05-27 15:14:34 -04:00
chrisgarrity
c69e8d76e8
Merge pull request #112 from LLK/circleci-project-setup
Circleci project setup
merging after making the ssh-keys change.
2020-05-27 14:45:08 -04:00
dependabot[bot]
23b6617e7f
Bump mixin-deep from 1.3.1 to 1.3.2
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-27 18:44:31 +00:00
dependabot[bot]
b0f606f097
Bump lodash from 4.17.11 to 4.17.15
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-27 18:44:31 +00:00
dependabot[bot]
dfb9f89a19
Bump lodash.defaultsdeep from 4.6.0 to 4.6.1
Bumps [lodash.defaultsdeep](https://github.com/lodash/lodash) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.6.0...4.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-27 18:44:22 +00:00
chrisgarrity
78a90b9d6b
Merge pull request #110 from chrisgarrity/freshdesk-scripts
Add scripts for syncing Knowledge base
2020-05-27 14:43:33 -04:00
Chris Garrity
e7487ed4ce Add ssh keys to deploy job
pushing the git tag will when we npm publish will also require the git keys.
2020-05-27 14:36:47 -04:00
Travis CI User
24a9c28d13 pull new editor translations from Transifex 2020-05-26 21:33:28 +00:00
Chris Garrity
0707c98d25 More error reporting
Provide more details about content and language that caused errors to diagnose translation errors.
2020-05-22 08:11:51 -04:00
Travis CI User
68a15cb8c3 pull new editor translations from Transifex 2020-05-19 21:32:58 +00:00
Chris Garrity
d094f9c2e7 Exclude tags over 32 characters
Freshdesk doesn’t allow tags over 32 characters long, so filter them out and ignore them.

Information from Freshdesk “Bad Request” was not very helpful for debugging what was wrong. Added new script to pull just one locale from transifex, and optionally save local files instead of sending to Freshdesk.
2020-05-18 12:24:06 -04:00
Chris Garrity
e8ae7efd37 Add schedule task for sync-help 2020-05-13 15:34:15 -04:00
Chris Garrity
f909883dc1 add weekly translation update 2020-05-13 15:22:50 -04:00
Chris Garrity
bd74bf9785 add deploy step 2020-05-13 15:10:18 -04:00
Travis CI User
2d806e37cd pull new editor translations from Transifex 2020-05-12 21:49:09 +00:00
Chris Garrity
ef5cc01ff6 use latest node orb 2020-05-12 15:32:10 -04:00
Chris Garrity
b06d84de8b add new npm commands for syncing help 2020-05-12 14:43:35 -04:00
chrisgarrity
d6da535b2d Add .circleci/config.yml 2020-05-12 12:42:14 -04:00
chrisgarrity
3dc8bd07ac
Merge pull request #111 from chrisgarrity/add-armenian
Add Armenian to the list of supported languages
2020-05-12 07:18:35 -04:00
Chris Garrity
00bd2ea7db pull updated translations 2020-05-11 14:39:02 -04:00
Chris Garrity
3245f185a3 Add armenian and bump minor version 2020-05-11 14:23:22 -04:00
Chris Garrity
30b1975e94 Scripts to pull translations and update Freshdesk
* Fixed a bug in the push script (tags were not saved as correct structured json, so they weren’t getting put into transifex)
* extended FreshDesk API with functions to update knowledge base. Functions automatically try to create the item if it isn’t found for updating
* tx-pull-help-names: pulls category and folder name translations from transifex and updates them in Freshdesk (Note, since we don’t send people into the knowledge base, these aren’t really public, but the actual folders and categories have to exist to be able to save articles)
* tx-pull-help-articles: pull article translations from Transifex and update the Freshdesk KB.
* help-utils: utility functions for the tx-pull-help-* scripts. Handles limiting the number of things happening in parallel - currently two languages may be processed at the same time.
2020-05-06 14:46:09 -04:00
Chris Garrity
cea399a1f9 sync knowledge base sources
* Pulls data from Freshdesk solutions knowledge base.
* category names and folder names are plain key-value-json files
* Reformats article strings into a structured json for translation:
```
 [
  <article-key>: {
    title : {
      string: <title text>
    },
    description: {
      string: <title text>
    },
    tags: {
      string: <title text>
    },
…
]
```
2020-05-06 14:46:09 -04:00
Chris Garrity
94f6b8ba5e update package.json 2020-05-06 14:46:09 -04:00
Travis CI User
959b74cfed pull new editor translations from Transifex 2020-05-05 21:32:36 +00:00
Travis CI User
7df7dff0a9 pull new editor translations from Transifex 2020-04-28 21:32:32 +00:00
Travis CI User
866d0718bd pull new editor translations from Transifex 2020-04-21 21:31:27 +00:00