Skip to content

Commit e8bb263

Browse files
committed
Merge branch 'develop'
2 parents b2b94b0 + 750bde8 commit e8bb263

File tree

9 files changed

+10
-11
lines changed

9 files changed

+10
-11
lines changed

.github/workflows/integrate-and-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
-
5151
name: Check unit tests
5252
run: make unit-tests-ci
53-
-
54-
name: Check e2e tests
55-
run: make e2e-tests-ci
53+
# -
54+
# name: Check e2e tests
55+
# run: make e2e-tests-ci
5656
-
5757
name: Log in to Docker Hub
5858
uses: docker/login-action@v1

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_iduses
1414
uses: sillsdev/web-languageforge/.github/workflows/integrate-and-deploy.yml@master
1515
with:
16-
image-tag: $(echo ${{ github.ref }} | sed 's/refs\/tags\///')
16+
image-tag: $(echo ${{ github.ref }} | sed 's/refs\/tags\/v//')
1717
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecrets
1818
secrets:
1919
kube-context: ${{ secrets.LTOPS_K8S_PRODUCTION_CONTEXT }}

docker/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ e2e-tests:
1818
.PHONY: e2e-tests-ci
1919
e2e-tests-ci:
2020
docker-compose build app-for-e2e test-e2e
21-
# "-" means continue running commands even if they error (failed tests)
22-
-docker-compose run -e GITHUB_ACTIONS=1 --name e2etests test-e2e
21+
docker-compose run -e GITHUB_ACTIONS=1 --name e2etests test-e2e
2322
docker cp e2etests:/data/e2e-output/junitresults.xml e2e-results.xml
2423
docker rm e2etests
2524

File renamed without changes.

docker/base-php/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ RUN curl -L http://linux.lsdev.sil.org/downloads/sil-testing.gpg | apt-key add -
2424
&& apt-get update \
2525
&& apt-get install --yes --no-install-recommends python lfmerge rsyslog logrotate iputils-ping \
2626
&& rm -rf /var/lib/apt/lists/*
27-
COPY docker/app/lfmerge.conf /etc/languageforge/conf/sendreceive.conf
28-
COPY docker/app/lfmergeqm-background.sh /
27+
COPY docker/base-php/lfmerge.conf /etc/languageforge/conf/sendreceive.conf
28+
COPY docker/base-php/lfmergeqm-background.sh /
2929
RUN adduser www-data fieldworks \
3030
&& chown -R www-data:www-data /var/lib/languageforge \
3131
&& chmod 0755 /var/lib/languageforge \
@@ -36,8 +36,8 @@ RUN adduser www-data fieldworks \
3636
RUN sed -i '/load="imklog"/s/^/#/' /etc/rsyslog.conf
3737

3838
# php customizations
39-
COPY docker/app/customizations.php.ini $PHP_INI_DIR/conf.d/
39+
COPY docker/base-php/customizations.php.ini $PHP_INI_DIR/conf.d/
4040

4141
# apache2 customizations
4242
RUN a2enmod headers rewrite
43-
COPY docker/app/000-default.conf /etc/apache2/sites-enabled
43+
COPY docker/base-php/000-default.conf /etc/apache2/sites-enabled
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/angular-app/languageforge/lexicon/editor/editor.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ export class LexiconEditorController implements angular.IController {
377377
const pristineEntryForDiffing = this.removeCustomFieldsForDeltaUpdate(this.prepEntryForUpdate(this.pristineEntry));
378378
const diffForUpdate = isNewEntry ? undefined : {
379379
id: entryForUpdate.id,
380-
_update_deep_diff: diff(pristineEntryForDiffing, entryForDiffing)
380+
_update_deep_diff: diff(LexiconEditorController.normalizeStrings(pristineEntryForDiffing), entryForDiffing)
381381
};
382382
let entryOrDiff = isNewEntry ? entryForUpdate : diffForUpdate;
383383
if (!isNewEntry && this.hasArrayChange(diffForUpdate._update_deep_diff)) {

0 commit comments

Comments
 (0)