[zanata/zanata-platform] f5986c: test(unittest): ActivateAction test (#685)

GitHub noreply at github.com
Wed Feb 21 03:37:40 UTC 2018


  Branch: refs/heads/efloden/editor-user-roles/ZNTA-2380
  Home:   https://github.com/zanata/zanata-platform
  Commit: f5986c07475e9a6d2cc35da7f4bad78e71aeb89c
      https://github.com/zanata/zanata-platform/commit/f5986c07475e9a6d2cc35da7f4bad78e71aeb89c
  Author: Damian Jansen <djansen at redhat.com>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M server/services/src/main/java/org/zanata/action/ActivateAction.java
    A server/services/src/test/java/org/zanata/action/ActivateActionTest.java

  Log Message:
  -----------
  test(unittest): ActivateAction test (#685)

* test(unittest): ActivateAction test
Changes ActivateAction from a field inject to a constructor inject
* test(unittest): Use try-catch instead of expected exception


  Commit: 521766d3386d53df33abdc2ca98db9b277ca2c37
      https://github.com/zanata/zanata-platform/commit/521766d3386d53df33abdc2ca98db9b277ca2c37
  Author: Damian Jansen <djansen at redhat.com>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    A server/services/src/test/java/org/zanata/adapter/AdapterUtilsTest.java

  Log Message:
  -----------
  test(unittest): AdapterUtils unit test (#692)

* test(unittest): AdapterUtils unit test
* test(unittest): Make AdapterUtils unit test less stringy


  Commit: f8ef325c83855e569ff3bea1954e976e2d6958e1
      https://github.com/zanata/zanata-platform/commit/f8ef325c83855e569ff3bea1954e976e2d6958e1
  Author: Sean Flanigan <sflaniga at redhat.com>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M server/pom.xml

  Log Message:
  -----------
  Update Kotlin to 1.2.21 (#726)


  Commit: 6709efe3420af49c8f0805a0c7b5be05d17b0878
      https://github.com/zanata/zanata-platform/commit/6709efe3420af49c8f0805a0c7b5be05d17b0878
  Author: Sean Flanigan <sflaniga at redhat.com>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    A build-tools/src/main/resources/zanata-build-tools/versions-rules.xml
    M parent/pom.xml

  Log Message:
  -----------
  Update versions-maven-plugin; ignore prereleases (#727)

* Configure versions plugin to skip alphas/betas
* Ignore cr/CR versions too


  Commit: 5acee19fa70fd94a570626f58163e4e78792c46b
      https://github.com/zanata/zanata-platform/commit/5acee19fa70fd94a570626f58163e4e78792c46b
  Author: Sean Flanigan <sflaniga at redhat.com>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    M server/pom.xml

  Log Message:
  -----------
  Revert "Update Kotlin to 1.2.21" (#728)

This reverts commit f8ef325c83855e569ff3bea1954e976e2d6958e1.


  Commit: 1ab5ac706a8e557baa5f6e5107dc1c019513854e
      https://github.com/zanata/zanata-platform/commit/1ab5ac706a8e557baa5f6e5107dc1c019513854e
  Author: Ding-Yi Chen <dingyichen at gmail.com>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    M parent/pom.xml

  Log Message:
  -----------
  Add nexus-staging-maven-plugin in release profile (#722)


  Commit: b92b28f2caec5ebae6b38c310a3f24f8b7b63d9c
      https://github.com/zanata/zanata-platform/commit/b92b28f2caec5ebae6b38c310a3f24f8b7b63d9c
  Author: Zanata Build Server <jenkins at zanata.org>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    M parent/pom.xml

  Log Message:
  -----------
  Merge commit '1ab5ac706a8e557baa5f6e5107dc1c019513854e' into HEAD


  Commit: 1a74f3a033e3d299a42c9b09ab3a79f38d41a0cd
      https://github.com/zanata/zanata-platform/commit/1a74f3a033e3d299a42c9b09ab3a79f38d41a0cd
  Author: Earl Floden <efloden at redhat.com>
  Date:   2018-02-21 (Wed, 21 Feb 2018)

  Changed paths:
    M server/zanata-frontend/pom.xml
    M server/zanata-frontend/src/app/config.js
    M server/zanata-frontend/src/app/editor/actions/header-action-types.js
    M server/zanata-frontend/src/app/editor/actions/header-actions.js
    M server/zanata-frontend/src/app/editor/api/index.js
    M server/zanata-frontend/src/app/editor/components/TranslatingIndicator/TranslatingIndicator.test.js
    M server/zanata-frontend/src/app/editor/components/TranslatingIndicator/index.js
    M server/zanata-frontend/src/app/editor/containers/Root/index.js
    M server/zanata-frontend/src/app/editor/entrypoint/index.js
    M server/zanata-frontend/src/app/editor/index.html
    M server/zanata-frontend/src/app/editor/reducers/context-reducer.js
    M server/zanata-frontend/src/app/editor/reducers/context-reducer.test.js
    M server/zanata-frontend/src/app/editor/reducers/header-data-reducer.js
    M server/zanata-frontend/src/app/editor/reducers/header-data-reducer.test.js
    M server/zanata-frontend/src/app/editor/reducers/index.js
    M server/zanata-frontend/src/app/editor/reducers/ui-reducer.js
    M server/zanata-frontend/src/index.html
    M server/zanata-frontend/src/messages/en-us.json
    A server/zanata-frontend/src/messages/en.json
    A server/zanata-frontend/src/messages/ja.json
    M server/zanata-war/src/main/webapp/WEB-INF/template/template.xhtml
    M server/zanata-war/src/main/webapp/a/index.xhtml
    M server/zanata-war/src/main/webapp/editor/index.xhtml

  Log Message:
  -----------
  feat(ZNTA-2113) Zanata Frontend Internationalization (#720)

* feat(ZNTA-2113): Make react-intl json translation consumable

* refactor(ZNTA-2113): Move intl provider inside store

* feat(ZNTA-2133): implement fetching react-intl translations action and reducer

* fix(ZNTA-2113): use en-us default language

* feat(ZNTA-2113): store locale in window config

* feat(ZNTA-2113): source config locale in editor
get messages from appUrl endpoint
save messages to state in reducer
update reducer test to also test messages

* feat(ZNTA-2113): Dynamicly load language messages, change UI locales if translations exist.
Changing the language in the jsf more options page will change the I18n messages to be used in the editor
Can be observed for the Japanese language, with the Translating indicator changing

* test(ZNTA-2113): update test to use IntlProvider on components with FormattedMessages
nb: all components using FormattedMessages will need to update tests likewise

* feat(ZNTA-2113): dynamically load the locale data of the selected appLocale

* refactor(ZNTA-2113): move DEFAULT_LOCALE to config


  Commit: 438add03cf764ef63c47adea9558163a66652d92
      https://github.com/zanata/zanata-platform/commit/438add03cf764ef63c47adea9558163a66652d92
  Author: efloden <efloden at redhat.com>
  Date:   2018-02-21 (Wed, 21 Feb 2018)

  Changed paths:
    A build-tools/src/main/resources/zanata-build-tools/versions-rules.xml
    M parent/pom.xml
    M server/services/src/main/java/org/zanata/action/ActivateAction.java
    A server/services/src/test/java/org/zanata/action/ActivateActionTest.java
    A server/services/src/test/java/org/zanata/adapter/AdapterUtilsTest.java
    M server/zanata-frontend/pom.xml
    M server/zanata-frontend/src/app/config.js
    M server/zanata-frontend/src/app/editor/actions/header-action-types.js
    M server/zanata-frontend/src/app/editor/actions/header-actions.js
    M server/zanata-frontend/src/app/editor/api/index.js
    M server/zanata-frontend/src/app/editor/components/TranslatingIndicator/TranslatingIndicator.test.js
    M server/zanata-frontend/src/app/editor/components/TranslatingIndicator/index.js
    M server/zanata-frontend/src/app/editor/containers/Root/index.js
    M server/zanata-frontend/src/app/editor/entrypoint/index.js
    M server/zanata-frontend/src/app/editor/index.html
    M server/zanata-frontend/src/app/editor/reducers/context-reducer.js
    M server/zanata-frontend/src/app/editor/reducers/context-reducer.test.js
    M server/zanata-frontend/src/app/editor/reducers/header-data-reducer.js
    M server/zanata-frontend/src/app/editor/reducers/header-data-reducer.test.js
    M server/zanata-frontend/src/app/editor/reducers/index.js
    M server/zanata-frontend/src/app/editor/reducers/ui-reducer.js
    M server/zanata-frontend/src/index.html
    M server/zanata-frontend/src/messages/en-us.json
    A server/zanata-frontend/src/messages/en.json
    A server/zanata-frontend/src/messages/ja.json
    M server/zanata-war/src/main/webapp/WEB-INF/template/template.xhtml
    M server/zanata-war/src/main/webapp/a/index.xhtml
    M server/zanata-war/src/main/webapp/editor/index.xhtml

  Log Message:
  -----------
  Merge branch 'master' of github.com:zanata/zanata-platform into efloden/editor-user-roles/ZNTA-2380


Compare: https://github.com/zanata/zanata-platform/compare/cdec3b1258f2...438add03cf76


More information about the zanata-commits mailing list