Commit graph

388 commits

Author SHA1 Message Date
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
Travis CI User
09fc14e90f pull new editor translations from Transifex 2020-04-14 21:31:33 +00:00
Travis CI User
9aef73eace pull new editor translations from Transifex 2020-04-07 21:31:39 +00:00
chrisgarrity
0d948ceddf
Merge pull request #106 from chrisgarrity/update-translations-0407
Update translations 2020-04-07
2020-04-07 16:39:13 -04:00
Chris Garrity
4723ceae8f Update translations 2020-04-07 2020-04-07 15:53:11 -04:00
chrisgarrity
8d7d0faba7
Merge pull request #105 from chrisgarrity/add-kurdish
Add kurdish
2020-03-25 07:25:59 -04:00
Travis CI User
05dfd90404 pull new editor translations from Transifex 2020-03-24 21:30:25 +00:00
Chris Garrity
23e97403e7 Update www translations 2020-03-24 16:07:36 -04:00
Chris Garrity
98c7f36eb1 Update editor translations 2020-03-24 16:02:02 -04:00
Chris Garrity
3a66a22813 Remove obsolete views
www no longer has views for jobs, tips, or preview-faq.
2020-03-24 15:59:29 -04:00
Chris Garrity
8d67ba322f Add Kurdish to supported languages. 2020-03-24 15:57:43 -04:00
Travis CI User
4557f784d4 pull new editor translations from Transifex 2020-03-17 21:29:52 +00:00
Travis CI User
77dad368a3 pull new editor translations from Transifex 2020-03-10 21:28:46 +00:00
Travis CI User
fda5be9b75 pull new editor translations from Transifex 2020-03-03 21:28:31 +00:00
Travis CI User
4dcfa86c0e pull new editor translations from Transifex 2020-02-25 21:29:12 +00:00
Travis CI User
6064a023d0 pull new editor translations from Transifex 2020-02-18 21:27:38 +00:00
Travis CI User
800bc26451 pull new editor translations from Transifex 2020-02-12 14:11:18 +00:00
Travis CI User
eb9de2818e pull new editor translations from Transifex 2020-02-05 21:33:56 +00:00