Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e551c77
Bump to 5.1.0
giohappy Jun 29, 2026
1022019
Relax post versions
giohappy Jun 29, 2026
2872482
Relax geonode version matching
giohappy Jun 29, 2026
3bd1e98
GeoServer 2.28.5
giohappy Aug 18, 2026
0bfcc5f
Distribui GeoNode 5.1.x com tradução brasileira
edsonflavio Nov 26, 2026
90fe7e0
Parametriza a instalação e restaura a tradução das propriedades
edsonflavio Nov 26, 2026
508b0a8
Traduz os controles de prévia do painel de propriedades
edsonflavio Nov 26, 2026
a2d2b13
Atualiza a verificação do painel na documentação de tradução
edsonflavio Nov 26, 2026
624ea44
Registra o resultado do teste de restauração do GeoServer
edsonflavio Nov 26, 2026
746b4bf
Traduz propriedades, metadados e datas de upload de datasets
edsonflavio Nov 27, 2026
9943ac0
Update NGINX base image version to 1.31.9-latest
Nov 27, 2026
97bb6f0
Adicionado tradução para gnviewer.options e group
edsonflavio Nov 27, 2026
0534631
Adicionado tradução para gnviewer.options, group e noAssets
edsonflavio Nov 27, 2026
cf1fd7e
Correção Arquivo de Tradução - pull
edsonflavio Nov 27, 2026
d078f96
Restaura traduções do gnviewer no Browse
edsonflavio Nov 27, 2026
a33a641
Atualiza GeoNode e tradução PT-BR para 5.1.1
edsonflavio Nov 27, 2026
25aedec
Integra GeoNode 5.1.1 PT-BR ao branch 5.1.x
edsonflavio Nov 27, 2026
5402832
Completa traduções e datas PT-BR no MapStore 5.1.1
edsonflavio Nov 27, 2026
73e3862
Integra correções PT-BR da versão 5.1.1
edsonflavio Nov 27, 2026
b1fe170
Add README-PT_BR.md, Restored .gitignore and README.md
edsonflavio Nov 29, 2026
07f39d3
Merge branch '5.1.1-pt-br' into 5.1.x-pt-br
edsonflavio Nov 29, 2026
23df869
Ajustes dos caminhos para manutenção do padrão do projeto. Alterado o…
edsonflavio Nov 29, 2026
1cabe43
Resolução de conflito, mantendo as configurações originais do projeto.
edsonflavio Nov 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .codeql/codeql-config.yml

This file was deleted.

60 changes: 60 additions & 0 deletions .devcontainer/.devrequirements/install-editable-requirements.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#!/usr/bin/env bash
set -euo pipefail

# Defaults
GEONODE_BRANCH="master"
MAPSTORE_BRANCH="master"

usage() {
echo "Usage: $0 [-g|--geonode-branch <branch>] [-m|--mapstore-branch <branch>]"
echo ""
echo " -g, --geonode-branch Branch/tag for geonode/geonode (default: master)"
echo " -m, --mapstore-branch Branch/tag for GeoNode/geonode-mapstore-client (default: master)"
echo " -h, --help Show this help message"
exit 1
}

# Parse options
while [[ $# -gt 0 ]]; do
case "$1" in
-g|--geonode-branch)
GEONODE_BRANCH="$2"
shift 2
;;
-m|--mapstore-branch)
MAPSTORE_BRANCH="$2"
shift 2
;;
-h|--help)
usage
;;
*)
echo "Unknown option: $1"
usage
;;
esac
done

# Parent devrequirements directory
DEV_REQ_DIR="/usr/src/.devrequirements"

# repo_name | folder_name | git_url | egg_name | branch
REPOS=(
"geonode|geonode|https://github.com/GeoNode/geonode.git|geonode|${GEONODE_BRANCH}"
"geonode-mapstore-client|django-geonode-mapstore-client|https://github.com/GeoNode/geonode-mapstore-client.git|django_geonode_mapstore_client|${MAPSTORE_BRANCH}"
)

for entry in "${REPOS[@]}"; do
IFS='|' read -r name folder url egg branch <<< "$entry"

echo ">>> Installing ${name} @ ${branch}"

# Safely remove the specific subfolder if it exists
rm -rf "${DEV_REQ_DIR}/${folder}"

# Install
yes w | pip install --src "$DEV_REQ_DIR" -e "git+${url}@${branch}#egg=${egg}"

# Fix ownership
chown -R 1000:1000 "${DEV_REQ_DIR}/${folder}"
done
2 changes: 2 additions & 0 deletions .devcontainer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.devrequirements/django-geonode-mapstore-client
.devrequirements/geonode
22 changes: 20 additions & 2 deletions .devcontainer/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"0.0.0.0:8000"
],
"env": {
"ASYNC_SIGNALS": "True",
"ASYNC_SIGNALS": "False",
},
"django": true,
"autoStartBrowser": false,
Expand Down Expand Up @@ -95,6 +95,24 @@
"autoStartBrowser": false,
"program": "${workspaceFolder}/venv/bin/celery",
"justMyCode": false
}
},
{
"name": "Example test",
"type": "debugpy",
"request": "launch",
"args": [
"test",
"geonode.base.api.tests.BaseApiTests",
"--keepdb"
],
"env": {
"ASYNC_SIGNALS": "False",
"SAFE_URL_CHECK_ENABLED": "False"
},
"django": true,
"autoStartBrowser": false,
"program": "${workspaceFolder}/project/manage.py",
"justMyCode": false
},
]
}
4 changes: 2 additions & 2 deletions .devcontainer/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"python.defaultInterpreterPath": "/usr/src/venv/bin/python",
"python.analysis.extraPaths": [
"${workspaceFolder}/project",
"${workspaceFolder}/geonode",
"${workspaceFolder}/geonode_mapstore_client",
"${workspaceFolder}/geonode",
"${workspaceFolder}/geonode_mapstore_client",
]
}
38 changes: 38 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Dev Container

A development setup for working on GeoNode inside Docker, with VS Code debugging ready to go.

## 1. Start the containers

```bash
cd ./.devcontainer
./docker.sh build
./docker.sh up -d
```

`docker.sh` is a thin wrapper that passes `../.env` to `docker compose` with both the base `docker-compose.yml` and this folder's override.

Then, in VS Code, open the Command Palette (`Ctrl+Shift+P`, or `Ctrl+P` and type `>`) and run **Dev Containers: Reopen in Container** to attach the editor to the running container.

## 2. Services start idle

The `django` and `celery` containers start **without** their services running (their command is `sleep infinity` in `docker-compose.yml`). This lets you exec into a container and start the services yourself, so you stay in control of when and how they run.

## 3. Debugging from VS Code

The container ships preconfigured with the Python extension and VS Code settings (`.vscode/launch.json`) ready to launch **Django** and **Celery** debug sessions.

- The containers run **synchronously** (`ASYNC_SIGNALS` is `False`).
- You can also start Django the plain way instead of the debugger:

```bash
django-admin runserver 0.0.0.0:8000
```

## 4. Editable GeoNode / mapstore-client

`geonode` and `geonode-mapstore-client` are installed in the venv like a standard GeoNode deployment.

To work on them in **editable** mode, the `.devrequirements/` folder (mounted at `/usr/src/.devrequirements`) contains `install-editable-requirements.sh` (take care of making it executable with `chmod +x`), which installs both packages as editable git checkouts into that folder.

The `docker-compose.yml` override also prepends `PYTHONPATH` with those paths. Because the editable packages live in the mounted folder, the installation is **retained across container restarts and rebuilds**.
6 changes: 6 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services:
volumes:
- './src:/usr/src/project'
- './.devcontainer/.vscode:/usr/src/.vscode'
- './.devcontainer/.devrequirements:/usr/src/.devrequirements'
- statics:/mnt/volumes/statics
- geoserver-data-dir:/geoserver_data/data
- backup-restore:/backup_restore
Expand All @@ -12,7 +13,12 @@ services:
healthcheck:
test: "echo 'Alive'"
entrypoint: ["/usr/src/project/entrypoint.sh"]
environment:
- ASYNC_SIGNALS=False
- PYTHONPATH=/usr/src/.devrequirements/geonode:/usr/src/.devrequirements/geonode-mapstore-client
command: sleep infinity
celery:
entrypoint: ["/usr/src/project/entrypoint.sh"]
environment:
- PYTHONPATH=/usr/src/.devrequirements/geonode:/usr/src/.devrequirements/geonode-mapstore-client
command: sleep infinity
7 changes: 3 additions & 4 deletions .devcontainer/docker.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
set -o allexport
source ../.env
set +o allexport
docker compose -f ../docker-compose.yml -f ./docker-compose.yml "$@"
set -e
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
exec docker compose --env-file ../.env -f ../docker-compose.yml -f ./docker-compose.yml "$@"
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.git
.agents
.aws
.codex
.env
**/__pycache__/
**/*~
36 changes: 20 additions & 16 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
COMPOSE_PROJECT_NAME=geonode_project
# Nome da instalação, usado também como prefixo dos containers e volumes.
PROJECT_NAME={project_name}
DOCKER_ENV=production
BACKUPS_VOLUME_DRIVER=local

GEONODE_BASE_IMAGE_VERSION=5.1.x
NGINX_BASE_IMAGE_VERSION=1.31.2-latest
GEONODE_BASE_IMAGE_VERSION=5.1.1
NGINX_BASE_IMAGE_VERSION=1.31.9-latest
LETSENCRYPT_BASE_IMAGE_VERSION=2.6.0-latest
GEOSERVER_BASE_IMAGE_VERSION=2.28.4-latest
GEOSERVER_DATA_BASE_IMAGE_VERSION=2.28.4-latest
GEOSERVER_BASE_IMAGE_VERSION=2.28.6-latest
GEOSERVER_DATA_BASE_IMAGE_VERSION=2.28.6-latest
POSTGRES_BASE_IMAGE_VERSION=15-3.5-latest

C_FORCE_ROOT=1
FORCE_REINIT=false
INVOKE_LOG_STDOUT=true

# LANGUAGE_CODE=it-it
# LANGUAGES=(('en-us','English'),('it-it','Italiano'))
LANGUAGE_CODE=pt
LANGUAGES=(('en-us','English'),('pt-br','Português (Brasil)'),('it-it','Italiano'),('de-de','Deutsch'),('es-es','Español'))

DJANGO_SETTINGS_MODULE=geonode_project.settings
GEONODE_INSTANCE_NAME=geonode
GEONODE_INSTANCE_NAME=${PROJECT_NAME}

# #################
# backend
# #################
POSTGRES_USER=postgres
POSTGRES_PASSWORD={pgpwd}
GEONODE_DATABASE=project
GEONODE_DATABASE_USER=project
GEONODE_DATABASE=${PROJECT_NAME}
GEONODE_DATABASE_USER=${PROJECT_NAME}
GEONODE_DATABASE_PASSWORD={dbpwd}
GEONODE_GEODATABASE=project_data
GEONODE_GEODATABASE_USER=project_data
GEONODE_GEODATABASE=${PROJECT_NAME}_data
GEONODE_GEODATABASE_USER=${PROJECT_NAME}_data
GEONODE_GEODATABASE_PASSWORD={geodbpwd}
GEONODE_DATABASE_SCHEMA=public
GEONODE_GEODATABASE_SCHEMA=public
DATABASE_HOST=db
DATABASE_PORT=5432
DATABASE_URL=postgis://project:{dbpwd}@db:5432/project
GEODATABASE_URL=postgis://project_data:{geodbpwd}@db:5432/project_data
DATABASE_URL=postgis://${PROJECT_NAME}:{dbpwd}@db:5432/${PROJECT_NAME}
GEODATABASE_URL=postgis://${PROJECT_NAME}_data:{geodbpwd}@db:5432/${PROJECT_NAME}_data
GEONODE_DB_CONN_MAX_AGE=0
GEONODE_DB_CONN_TOUT=5
DEFAULT_BACKEND_DATASTORE=datastore
Expand Down Expand Up @@ -104,7 +105,7 @@ OGC_REQUEST_POOL_CONNECTIONS=10
# Java Options & Memory
ENABLE_JSONP=true
outFormat=text/javascript
GEOSERVER_JAVA_OPTS="-Djava.awt.headless=true -Xms4G -Xmx4G -Dgwc.context.suffix=gwc -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=/var/log/jvm.log -XX:PerfDataSamplingInterval=500 -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:-UseGCOverheadLimit -XX:ParallelGCThreads=4 -Dfile.encoding=UTF8 -Djavax.servlet.request.encoding=UTF-8 -Djavax.servlet.response.encoding=UTF-8 -Duser.timezone=GMT -Dorg.geotools.shapefile.datetime=false -DGS-SHAPEFILE-CHARSET=UTF-8 -DGEOSERVER_CSRF_DISABLED=true -DPRINT_BASE_URL={siteurl}/geoserver/pdf -DALLOW_ENV_PARAMETRIZATION=true -Xbootclasspath/a:/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/marlin-0.9.3-Unsafe.jar -Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine"
GEOSERVER_JAVA_OPTS=-Djava.awt.headless=true -Xms4G -Xmx4G -Dgwc.context.suffix=gwc -XX:-UseBASE64Intrinsics -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=/var/log/jvm.log -XX:PerfDataSamplingInterval=500 -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:-UseGCOverheadLimit -XX:ParallelGCThreads=4 -Dfile.encoding=UTF8 -Djavax.servlet.request.encoding=UTF-8 -Djavax.servlet.response.encoding=UTF-8 -Duser.timezone=GMT -Dorg.geotools.shapefile.datetime=false -DGS-SHAPEFILE-CHARSET=UTF-8 -DGEOSERVER_CSRF_DISABLED=true -DPRINT_BASE_URL={siteurl}/geoserver/pdf -DALLOW_ENV_PARAMETRIZATION=true -Xbootclasspath/a:/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/marlin-0.9.3-Unsafe.jar -Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine

# #################
# Security
Expand Down Expand Up @@ -163,6 +164,10 @@ OAUTH2_CLIENT_SECRET={clientsecret}
API_LOCKDOWN=False
TASTYPIE_APIKEY=

# #################
# Production and
# Monitoring
# #################
DEBUG={debug}

SECRET_KEY='{secret_key}'
Expand Down Expand Up @@ -232,4 +237,3 @@ RESTART_POLICY_WINDOW=120s

DEFAULT_MAX_UPLOAD_SIZE=5368709120
DEFAULT_MAX_PARALLEL_UPLOADS_PER_USER=5
PERMISSION_CACHE_EXPIRATION_TIME=3600
10 changes: 0 additions & 10 deletions .flake8

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/backport.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/codeql.yml

This file was deleted.

Loading