Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release versions/v1.6.0 #822

Merged
merged 112 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
fff3c38
HPC-9264: Use column layout for megamenus in section navigation
berliner Oct 31, 2023
b4fe8be
Merge pull request #774 from UN-OCHA/berliner/HPC-9264
berliner Oct 31, 2023
f7fecd1
HPC-9264: Default mega menu to 4 columns on desktop but make it a con…
berliner Nov 1, 2023
5ed1a41
HPC-9264: Don't show social icons in document metadata inside a mega …
berliner Nov 1, 2023
7e3bd17
Merge pull request #776 from UN-OCHA/berliner/HPC-9264
berliner Nov 1, 2023
8a56f7e
HPC-9264: Prevent error trying to access non-existent array key
berliner Nov 1, 2023
7bfbf1e
HPC-9264: Prevent line breaks in first level section menu items
berliner Nov 1, 2023
4b50fd2
chore: Update all outdated drupal/* packages.
unocha-jenkins Nov 2, 2023
7053feb
Merge pull request #777 from UN-OCHA/update/patch-7e3bd17
berliner Nov 2, 2023
a948897
HPC-9264: Restore accessibility for mega menu using css columns
berliner Nov 2, 2023
04c79f6
Merge pull request #778 from UN-OCHA/berliner/HPC-9264
berliner Nov 2, 2023
8fb6e91
HPC-9279: Add year switcher to plan name also on article and document…
berliner Nov 3, 2023
098d3fb
Merge pull request #780 from UN-OCHA/berliner/HPC-9279
berliner Nov 3, 2023
156517d
Fix wrong object type when fetching child entities from GVEs
berliner Nov 4, 2023
91b7cd2
Merge pull request #781 from UN-OCHA/berliner/error-76-missing-wash-c…
berliner Nov 4, 2023
e9f5123
Generate UUIDs instead of using the plugin id to prevent pollution of…
berliner Nov 6, 2023
d63a5a5
Merge pull request #782 from UN-OCHA/berliner/error-80-wrong-column-h…
berliner Nov 6, 2023
4a711d9
Update d3-sparkline for better interpolation of missing data points
berliner Nov 6, 2023
14c9adc
Merge pull request #783 from UN-OCHA/berliner/error-71-update-sparkli…
berliner Nov 6, 2023
cc78657
HPC-9258: Use auto visible flag from CM to determine initial publicat…
berliner Nov 7, 2023
485f756
Merge pull request #784 from UN-OCHA/berliner/HPC-9258
berliner Nov 7, 2023
bee6d17
HPC-9258: Use auto visible flag from CM to determine initial publicat…
berliner Nov 7, 2023
8158d6f
Merge pull request #785 from UN-OCHA/berliner/HPC-9258
berliner Nov 7, 2023
92ee240
Use plan version argument also when fetching related entities
berliner Nov 7, 2023
b6b4188
Merge pull request #787 from UN-OCHA/berliner/error-82-plan-version-a…
berliner Nov 7, 2023
d5a7817
HPC-9104: Install, enable and configure search api solr, add solr to …
berliner Oct 13, 2023
432b8f6
HPC-9104: Fix style issues after common design theme update
berliner Oct 17, 2023
e452be7
HPC-9104: Add dependency on once library
berliner Oct 17, 2023
7de67e8
HPC-9104: Document local solr, add docksal commands for convenience, …
berliner Oct 18, 2023
d2d9326
HPC-9104: Style and UX changes for the search feature in the header bar
berliner Oct 18, 2023
c5b176a
HPC-9104: Fix article image size and display for documents in the res…
berliner Oct 18, 2023
3309013
HPC-9104: Add fail-safe before trying to access a subpage parent entity
berliner Oct 19, 2023
0866503
HPC-9104: Rename solr server machine name
berliner Oct 19, 2023
c6ac10a
HPC-9104: Update packages
berliner Oct 20, 2023
e4ee23d
HPC-9104: Update composer.lock
berliner Nov 8, 2023
7094066
Merge pull request #758 from UN-OCHA/feature/search
berliner Nov 8, 2023
ab93fbe
chore: Update all outdated drupal/* packages.
unocha-jenkins Nov 9, 2023
f56d73a
Merge pull request #788 from UN-OCHA/update/patch-7094066
berliner Nov 9, 2023
f1ab5c6
Update headers for graphql requests
berliner Nov 9, 2023
3952138
Merge pull request #789 from UN-OCHA/berliner/graphql-update
berliner Nov 9, 2023
b9a7f79
HPC-9191: First working draft on manual cropping of local and remote …
berliner Nov 9, 2023
d97501b
Merge pull request #790 from UN-OCHA/berliner/HPC-9191
berliner Nov 9, 2023
c3a4a51
HPC-9276: Implement progressively collapsing navigation for section a…
berliner Nov 2, 2023
cf09373
HPC-9276: Improve responsiveness for section menu styling
berliner Nov 3, 2023
3203d9e
HPC-9191: Flush image styles and webp derivatives in deploy hook
berliner Nov 9, 2023
aa86c3d
Merge pull request #791 from UN-OCHA/berliner/HPC-9191
berliner Nov 9, 2023
b0c4d16
HPC-9276: Improve section menu styling
berliner Nov 10, 2023
f05fb51
Merge pull request #779 from UN-OCHA/berliner/HPC-9276
berliner Nov 10, 2023
13b7716
Bump axios in /html/themes/custom/common_design_subtheme
dependabot[bot] Nov 10, 2023
1aad24c
HPC-9191: Fix issues with article migrations as a result of image cro…
berliner Nov 10, 2023
4aff40b
Merge pull request #793 from UN-OCHA/berliner/HPC-9191
berliner Nov 10, 2023
233a64a
HPC-9269: Make article short title optional to unblock updates to art…
berliner Nov 10, 2023
51342d8
Merge pull request #794 from UN-OCHA/berliner/HPC-9269
berliner Nov 10, 2023
42856c6
HPC-9191: Fix regression in article search
berliner Nov 10, 2023
631b2c2
Merge pull request #795 from UN-OCHA/berliner/HPC-9191
berliner Nov 10, 2023
b1cb013
Remove hover effect on region label in operations mega menu
berliner Nov 11, 2023
e7645ed
Merge pull request #796 from UN-OCHA/berliner/style-fix
berliner Nov 11, 2023
7c430a4
HPC-9191: Patch webp for proper flushing (hopefully)
berliner Nov 11, 2023
8f927fe
Merge pull request #797 from UN-OCHA/berliner/HPC-9191
berliner Nov 11, 2023
56812f4
Merge pull request #792 from UN-OCHA/dependabot/npm_and_yarn/html/the…
berliner Nov 11, 2023
dd6a8ed
HPC-9268: Fix alignment in operations mega menu in firefox
berliner Nov 13, 2023
db75f17
Merge pull request #798 from UN-OCHA/berliner/HPC-9268
berliner Nov 13, 2023
f8b592e
HPC-9268: Add support for GHO mega menu
berliner Nov 15, 2023
aec80b7
Merge pull request #799 from UN-OCHA/berliner/HPC-9268
berliner Nov 15, 2023
8c9c1cf
Prevent errors
berliner Nov 15, 2023
7e5d10f
Merge pull request #800 from UN-OCHA/berliner/errors
berliner Nov 15, 2023
05cfda2
Prevent errors when hero image is missing
berliner Nov 15, 2023
c2c4e01
Merge pull request #801 from UN-OCHA/berliner/errors
berliner Nov 15, 2023
9c0aa44
Prevent errors when hero image is missing
berliner Nov 15, 2023
97b2683
Merge pull request #802 from UN-OCHA/berliner/errors
berliner Nov 15, 2023
263212f
HPC-9191: Make changes to the cropping UI, wording, remove obsolete f…
berliner Nov 15, 2023
55861c3
Merge pull request #803 from UN-OCHA/berliner/HPC-9191
berliner Nov 15, 2023
4df068b
Work around issues when importing config from one page to the other
berliner Nov 15, 2023
637eda3
Merge pull request #804 from UN-OCHA/berliner/errors
berliner Nov 15, 2023
9b896dd
chore: Update all outdated drupal/* packages.
unocha-jenkins Nov 16, 2023
2e2c6bf
Merge pull request #805 from UN-OCHA/update/patch-637eda3
berliner Nov 16, 2023
bab0296
Don't show base object warning after save
berliner Nov 16, 2023
5bb8020
Merge pull request #806 from UN-OCHA/berliner/base-object-warning-cle…
berliner Nov 16, 2023
d44684e
HPC-9268: Add bottom border to mega menus
berliner Nov 16, 2023
da1d846
Merge pull request #807 from UN-OCHA/berliner/HPC-9268
berliner Nov 16, 2023
c344071
Fix missing attachments in logframe for plans using latest version
berliner Nov 16, 2023
41d664b
Merge pull request #808 from UN-OCHA/berliner/missing-attachments-log…
berliner Nov 16, 2023
db67b05
Prevent errors
berliner Nov 16, 2023
8fd264e
Merge pull request #809 from UN-OCHA/berliner/errors
berliner Nov 16, 2023
eed1ab5
Fix more issues relating to the plan version argument
berliner Nov 16, 2023
f0bde8d
Merge pull request #810 from UN-OCHA/berliner/error-82-plan-version-a…
berliner Nov 16, 2023
61f1b5c
HPC-9292: Show story image caption as image overlay
berliner Nov 16, 2023
bb408db
Merge pull request #811 from UN-OCHA/berliner/HPC-9292
berliner Nov 16, 2023
77dc37a
HPC-9259: Add module Protected Pages, add custom module to handle som…
berliner Nov 20, 2023
f7fc037
Prevent errors when importing page configuration for new homepage and…
berliner Nov 21, 2023
f122b2c
Merge pull request #813 from UN-OCHA/berliner/errors
berliner Nov 21, 2023
896f77c
Merge pull request #812 from UN-OCHA/berliner/HPC-9259
berliner Nov 21, 2023
9346aa4
HPC-9191: Use in-link image crop for article and document images in s…
berliner Nov 21, 2023
3d2900c
Merge pull request #814 from UN-OCHA/berliner/HPC-9191
berliner Nov 21, 2023
9595432
HPC-9191: Use in-link image crop for any node that uses our custom he…
berliner Nov 21, 2023
0c21f87
Merge pull request #815 from UN-OCHA/berliner/HPC-9191
berliner Nov 21, 2023
f45733e
HPC-9268: Sort mega menu tabs according to the menu structure
berliner Nov 21, 2023
d1b4833
HPC-9268: Fix UI issue caused by a conflict with the cd-dropdown comp…
berliner Nov 21, 2023
66eb39e
HPC-9268: Don't apply common block styles to mega menus
berliner Nov 21, 2023
0d29384
HPC-9268: Style improvements for mega menu background and column display
berliner Nov 22, 2023
abe8450
Merge pull request #816 from UN-OCHA/berliner/HPC-9268
berliner Nov 22, 2023
bc4615e
HPC-9268: Style improvements for the mega menus and the entity naviga…
berliner Nov 22, 2023
39d4fdc
Merge pull request #817 from UN-OCHA/berliner/HPC-9268
berliner Nov 22, 2023
9ca42c7
HPC-9259: Give administrtaors access to the global embargoed access k…
berliner Nov 22, 2023
4f7a02c
HPC-9259: Set session expire to 24h and remove global password from c…
berliner Nov 22, 2023
dc31264
HPC-9259: Protect sections and all subpages, redirect to exact URL af…
berliner Nov 22, 2023
230bcf7
Merge pull request #818 from UN-OCHA/berliner/HPC-9259
berliner Nov 22, 2023
a9317e7
HPC-9276: Minor changes to improve visual consistency in the section …
berliner Nov 22, 2023
d0a6a62
Merge pull request #819 from UN-OCHA/berliner/HPC-9276
berliner Nov 22, 2023
b0c837d
HPC-9292: Update styles for embedded stories
berliner Nov 22, 2023
4f2cf84
Merge pull request #820 from UN-OCHA/berliner/HPC-9292
berliner Nov 22, 2023
381db63
Merge branch 'develop' into release-versions/v1.6.0
berliner Nov 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
46 changes: 46 additions & 0 deletions .docksal/commands/solr
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/usr/bin/env bash

## Import solr backup.
##
## Usage: fin solr [-h] [command]
##

# Environment variables passed from fin:
#
# $PROJECT_ROOT - (string) absolute path to NEAREST .docksal folder
# $VIRTUAL_HOST - (string) ex. projectname.docksal
# $DOCROOT - name of the docroot folder
# $DOCKER_RUNNING - (string) "true" or "false"
# $SOLR_HOST -- (string) the hostname
# $SOLR_PORT -- (integer) the port
# $SOLR_CORE -- (string) the core name

usage="$(basename "$0") [-h] create-core|index|dashboard

where:
-h show this help text"

CONTAINER_BASE_PATH="/var/www/solr"
CONTAINER_DOWNLOAD_PATH="${CONTAINER_BASE_PATH}/backups/downloaded"
CONTAINER_BACKUP_PATH="${CONTAINER_BASE_PATH}/backups/snapshot/snapshot.latest"

while [ "$1" != "" ]; do
case $1 in
create-core ) shift
fin solr-commands/create-core
;;
index ) shift
fin drush search-api:index solr --batch-size=1
;;
dashboard ) shift
fin utils/open-link "http://solr.ghi-site.docksal.site/solr/#/${SOLR_CORE}/core-overview"
;;

-h | --help ) echo "$usage"
exit
;;
* ) echo "$usage"
exit 1
esac
shift
done
33 changes: 33 additions & 0 deletions .docksal/commands/solr-commands/create-core
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env bash
#: exec_target = solr

## Create solr core.
##
## Usage: fin solr create-core [-h]
##

# Environment variables passed from fin:
#
# $SOLR_HOST -- (string) the hostname
# $SOLR_PORT -- (integer) the port
# $SOLR_CORE -- (string) the core name

usage="$(basename "$0") [-h]

where:
-h show this help text"

echo "Run solr create command"
solr delete -c ${SOLR_CORE} -p 8983

# Create the solr core if necessary.
SOLR_SRC="/opt/solr"
SOLR_ROOT="/var/solr"
SOLR_HOME="${SOLR_ROOT}/data"
SOLR_CORE_DIR="${SOLR_HOME}/${SOLR_CORE}"


# Create core
echo "Run solr create command"
${SOLR_SRC}/bin/solr create -c ${SOLR_CORE} -p 8983 -d /opt/solr/server/solr/configsets/solr811
echo "http://solr.ghi-site.docksal.site/solr/#/${SOLR_CORE}/core-overview"
19 changes: 19 additions & 0 deletions .docksal/commands/utils/open-link
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

## Open a link in a browser.
##
## Usage: fin utils/open-link [-h] URL
##

usage="$(basename "$0") [-h]

where:
-h show this help text"

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
xdg-open "$@"
elif [[ "$OSTYPE" == "darwin"* ]]; then
open "$@"
else
echo "Unsupported operating system ${OSTYPE}"
fi
7 changes: 6 additions & 1 deletion .docksal/docksal.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
DOCKSAL_STACK=default
DOCROOT=html
DB_IMAGE="docksal/mariadb:10.6"
CLI_IMAGE="docksal/cli:php8.2"
CLI_IMAGE="docksal/cli:php8.2"

SOLR_CORE=ghi
SOLR_PORT=8983
SOLR_PATH=/solr
SOLR_VERSION=8.11.2
16 changes: 15 additions & 1 deletion .docksal/docksal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ services:
- CM_KEY
- MAPBOX_TOKEN
- COMPOSER_MEMORY_LIMIT=-1
- SOLR_CORE
- SOLR_HOST
- SOLR_PORT

web:
environment:
Expand All @@ -36,4 +39,15 @@ services:
ports:
- "8444:8442"
environment:
- ALLOWED_HOSTNAMES=docksal.site
- ALLOWED_HOSTNAMES=docksal.site

# Solr
solr:
image: arm64v8/solr:8
extends:
file: ${HOME}/.docksal/stacks/services.yml
service: solr
volumes:
- ${PROJECT_ROOT}/.docksal/etc/solr/solr811:/opt/solr/server/solr/configsets/solr811
environment:
SOLR_CORE: ${SOLR_CORE:-ghi}
Empty file.
Empty file.
185 changes: 185 additions & 0 deletions .docksal/etc/solr/solr811/accents_ca.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
# À => A
#"\u00C0" => "A"
# Á => A
#"\u00C1" => "A"
# Â => A
#"\u00C2" => "A"
# Ã => A
"\u00C3" => "A"
# Ä => A
"\u00C4" => "A"
# Å => A
"\u00C5" => "A"
# Ą => A
"\u0104" => "A"
# Æ => AE
"\u00C6" => "AE"
# Ç => C
#"\u00C7" => "C"
# Ć => C
"\U0106" => "C"
# È => E
#"\u00C8" => "E"
# É => E
#"\u00C9" => "E"
# Ê => E
#"\u00CA" => "E"
# Ë => E
"\u00CB" => "E"
# Ę => E
"\u0118" => "E"
# Ì => I
#"\u00CC" => "I"
# Í => I
#"\u00CD" => "I"
# Î => I
#"\u00CE" => "I"
# Ï => I
"\u00CF" => "I"
# IJ => IJ
"\u0132" => "IJ"
# Ð => D
"\u00D0" => "D"
# Ł => L
"\u0141" => "L"
# Ñ => N
"\u00D1" => "N"
# Ń => N
"\u0143" => "N"
# Ò => O
#"\u00D2" => "O"
# Ó => O
#"\u00D3" => "O"
# Ô => O
#"\u00D4" => "O"
# Õ => O
"\u00D5" => "O"
# Ö => O
"\u00D6" => "O"
# Ø => O
"\u00D8" => "O"
# Œ => OE
"\u0152" => "OE"
# Þ
"\u00DE" => "TH"
# Ù => U
#"\u00D9" => "U"
# Ú => U
#"\u00DA" => "U"
# Û => U
#"\u00DB" => "U"
# Ü => U
"\u00DC" => "U"
# Ý => Y
#"\u00DD" => "Y"
# Ÿ => Y
"\u0178" => "Y"
# à => a
#"\u00E0" => "a"
# á => a
#"\u00E1" => "a"
# â => a
#"\u00E2" => "a"
# ã => a
"\u00E3" => "a"
# ä => a
"\u00E4" => "a"
# å => a
"\u00E5" => "a"
# æ => ae
"\u00E6" => "ae"
# ç => c
#"\u00E7" => "c"
# è => e
#"\u00E8" => "e"
# é => e
#"\u00E9" => "e"
# ê => e
#"\u00EA" => "e"
# ë => e
"\u00EB" => "e"
# ì => i
#"\u00EC" => "i"
# í => i
#"\u00ED" => "i"
# î => i
#"\u00EE" => "i"
# ï => i
"\u00EF" => "i"
# ij => ij
"\u0133" => "ij"
# ð => d
"\u00F0" => "d"
# ñ => n
"\u00F1" => "n"
# ò => o
#"\u00F2" => "o"
# ó => o
#"\u00F3" => "o"
# ô => o
#"\u00F4" => "o"
# õ => o
"\u00F5" => "o"
# ö => o
"\u00F6" => "o"
# ø => o
"\u00F8" => "o"
# œ => oe
"\u0153" => "oe"
# ß => ss
"\u00DF" => "ss"
# Ś => S
"\u015a" => "S"
# þ => th
"\u00FE" => "th"
# ù => u
#"\u00F9" => "u"
# ú => u
#"\u00FA" => "u"
# û => u
#"\u00FB" => "u"
# ü => u
"\u00FC" => "u"
# ý => y
#"\u00FD" => "y"
# ÿ => y
"\u00FF" => "y"
# Ź => Z
"\u0179" => "Z"
# Ż => Z
"\u017b" => "Z"
# ff => ff
"\uFB00" => "ff"
# fi => fi
"\uFB01" => "fi"
# fl => fl
"\uFB02" => "fl"
# ffi => ffi
"\uFB03" => "ffi"
# ffl => ffl
"\uFB04" => "ffl"
# ſt => st
"\uFB05" => "st"
# st => st
"\uFB06" => "st"
# Māori macrons.
# Ā => A
"\u0100" => "A"
# Ē => E
"\u0112" => "E"
# Ī => I
"\u012A" => "I"
# Ō => O
"\u014C" => "O"
# Ū => U
"\u016A" => "U"
# ā => a
"\u0101" => "a"
# ē => e
"\u0113" => "e"
# ī => i
"\u012B" => "i"
# ō => o
"\u014D" => "o"
# ū => u
"\u016B" => "u"
Loading
Loading