Skip to content

Commit

Permalink
Release/3.15.3 into main (#3413)
Browse files Browse the repository at this point in the history
* Release/3.15.1 (#3213)

* Update translations

* Bump version: 3.14.3 → 3.15.1-rc1

* Fix user guide link on about page (#3228)

* Bump version: 3.15.1-rc1 → 3.15.1-rc2

* New user guide (#3223)

* Remove old user guide

* Add new user guide contents

* Optimize image sizes and dimensions

* Update homepage teaser wording

* Fix annotation positions

* Update video tutorial style to increase contrast between video and intro text

* Exclude some terms from auto translatiosn

* Add Portugese translation

* Fix bad links

* Remove changelog from docs

This was a ghost page (i.e. it was not linked anywhere) and we have been publishing a changelog as part of the repo for some time now.

* Remove unused layout

* Temporarily remove link to timelines article as it hasn’t been written yet

* Add redirects for old user guide links (#3229)

* Upgrade to Astro 2

* Add redirects for old user guide links

* Fix outdated package-lock.json

* Bump ingest-file to 3.19.2

* Bump version: 3.15.1-rc2 → 3.15.1

---------

Co-authored-by: Christian Stefanescu <christian.stefanescu@occrp.org>
Co-authored-by: Christian Stefanescu <217554+stchris@users.noreply.github.com>

* Bump version: 3.15.1 → 3.15.2-rc1

* Revert authlib to < 1

* Bump version: 3.15.2-rc1 → 3.15.2-rc2

* dev worker should use the latest aleph version

* Bump version: 3.15.2-rc2 → 3.15.2

* Replace werkzeug.urls with urllib functions (#3382)

* Bump version: 3.15.2 → 3.15.3-rc1

* Bump version: 3.15.3-rc1 → 3.15.3

* Fix double import error from merge

---------

Co-authored-by: Till Prochaska <till.prochaska@occrp.org>
Co-authored-by: catileptic <alex.stefanescu@protonmail.com>
  • Loading branch information
3 people committed Oct 18, 2023
1 parent 751603b commit f222d8c
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.15.1
current_version = 3.15.3
tag_name = {new_version}
commit = True
tag = True
Expand Down
1 change: 0 additions & 1 deletion aleph/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from aleph.settings import SETTINGS
from aleph.cache import Cache
from aleph.oauth import configure_oauth
from aleph.settings import SETTINGS
from aleph.util import LoggingTransport

import sentry_sdk
Expand Down
5 changes: 2 additions & 3 deletions aleph/logic/util.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import jwt
from normality import ascii_text
from urllib.parse import urlencode
from werkzeug.urls import url_join
from urllib.parse import urlencode, urljoin
from datetime import datetime, timedelta

from aleph.core import url_for
Expand All @@ -24,7 +23,7 @@ def ui_url(resource, id=None, _relative=False, **query):
if id is not None:
resource = "%s/%s" % (resource, id)
url = "/" if _relative else SETTINGS.APP_UI_URL
url = url_join(url, resource)
url = urljoin(url, resource)
query = [(q, v) for q, v in query.items() if v is not None]
query_string = urlencode(query, doseq=True)
if len(query_string):
Expand Down
4 changes: 2 additions & 2 deletions aleph/views/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from normality import stringify
from flask import Response, request, render_template
from flask_babel import gettext
from werkzeug.urls import url_parse
from urllib.parse import urlparse
from werkzeug.exceptions import Forbidden
from werkzeug.exceptions import BadRequest, NotFound
from servicelayer.jobs import Job
Expand Down Expand Up @@ -136,7 +136,7 @@ def get_index_collection(collection_id, action=Authz.READ):

def get_url_path(url):
try:
return url_parse(url).replace(netloc="", scheme="").to_url() or "/"
return urlparse(url)._replace(netloc="", scheme="").geturl() or "/"
except Exception:
return "/"

Expand Down
8 changes: 4 additions & 4 deletions contrib/aleph-traefik-minio-keycloak/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ services:
- "traefik.enable=false"

worker:
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.1}
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.3}
command: aleph worker
restart: on-failure
links:
Expand All @@ -79,7 +79,7 @@ services:
- "traefik.enable=false"

shell:
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.1}
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.3}
command: /bin/bash
depends_on:
- postgres
Expand All @@ -99,7 +99,7 @@ services:
- "traefik.enable=false"

api:
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.1}
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.3}
command: gunicorn -w 6 -b 0.0.0.0:8000 --log-level debug --log-file - aleph.wsgi:app
expose:
- 8000
Expand All @@ -121,7 +121,7 @@ services:
- "traefik.enable=false"

ui:
image: ghcr.io/alephdata/aleph-ui-production:${ALEPH_TAG:-3.15.1}
image: ghcr.io/alephdata/aleph-ui-production:${ALEPH_TAG:-3.15.3}
depends_on:
- api
- traefik
Expand Down
8 changes: 4 additions & 4 deletions contrib/keycloak/docker-compose.dev-keycloak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
elasticsearch:
build:
context: services/elasticsearch
image: ghcr.io/alephdata/aleph-elasticsearch:${ALEPH_TAG:-3.15.1}
image: ghcr.io/alephdata/aleph-elasticsearch:${ALEPH_TAG:-3.15.3}
hostname: elasticsearch
environment:
- discovery.type=single-node
Expand Down Expand Up @@ -55,7 +55,7 @@ services:
app:
build:
context: .
image: alephdata/aleph:${ALEPH_TAG:-3.15.1}
image: alephdata/aleph:${ALEPH_TAG:-3.15.3}
hostname: aleph
command: /bin/bash
links:
Expand Down Expand Up @@ -83,7 +83,7 @@ services:
api:
build:
context: .
image: alephdata/aleph:${ALEPH_TAG:-3.15.1}
image: alephdata/aleph:${ALEPH_TAG:-3.15.3}
command: aleph run -h 0.0.0.0 -p 5000 --with-threads --reload --debugger
ports:
- "127.0.0.1:5000:5000"
Expand Down Expand Up @@ -117,7 +117,7 @@ services:
ui:
build:
context: ui
image: alephdata/aleph-ui:${ALEPH_TAG:-3.15.1}
image: alephdata/aleph-ui:${ALEPH_TAG:-3.15.3}
links:
- api
command: npm run start
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ services:
- aleph.env

worker:
image: alephdata/aleph:${ALEPH_TAG:-3.13.2-rc3}
image: alephdata/aleph:${ALEPH_TAG:-latest}
command: aleph worker
restart: on-failure
depends_on:
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
- aleph.env

worker:
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.1}
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.3}
command: aleph worker
restart: on-failure
depends_on:
Expand All @@ -54,7 +54,7 @@ services:
- aleph.env

shell:
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.1}
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.3}
command: /bin/bash
depends_on:
- postgres
Expand All @@ -72,7 +72,7 @@ services:
- aleph.env

api:
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.1}
image: ghcr.io/alephdata/aleph:${ALEPH_TAG:-3.15.3}
command: gunicorn -w 6 -b 0.0.0.0:8000 --timeout 3600 --log-level debug --log-file - aleph.wsgi:app
expose:
- 8000
Expand All @@ -90,7 +90,7 @@ services:
- aleph.env

ui:
image: ghcr.io/alephdata/aleph-ui-production:${ALEPH_TAG:-3.15.1}
image: ghcr.io/alephdata/aleph-ui-production:${ALEPH_TAG:-3.15.3}
depends_on:
- api
ports:
Expand Down
4 changes: 2 additions & 2 deletions helm/charts/aleph/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: aleph
description: Helm chart for Aleph
type: application
version: 3.15.1
appVersion: 3.15.1
version: 3.15.3
appVersion: 3.15.3
2 changes: 1 addition & 1 deletion helm/charts/aleph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Helm chart for Aleph
| global.amazon | bool | `true` | Are we using AWS services like s3? |
| global.google | bool | `false` | Are we using GCE services like storage, vision api? |
| global.image.repository | string | `"alephdata/aleph"` | Aleph docker image repo |
| global.image.tag | string | `"3.15.1"` | Aleph docker image tag |
| global.image.tag | string | `"3.15.3"` | Aleph docker image tag |
| global.image.tag | string | `"Always"` | |
| global.namingPrefix | string | `"aleph"` | Prefix for the names of k8s resources |

Expand Down
2 changes: 1 addition & 1 deletion helm/charts/aleph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ global:

image:
repository: ghcr.io/alephdata/aleph
tag: "3.15.1"
tag: "3.15.3"
pullPolicy: Always

commonEnv:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flask-Babel==3.1.0
flask-talisman==1.1.0
SQLAlchemy==2.0.20
alembic==1.12.0
authlib==1.2.1
authlib==0.15.5

elasticsearch==7.17.0
marshmallow==2.19.2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="aleph",
version="3.15.1",
version="3.15.3",
description="Document sifting web frontend",
classifiers=[
"Intended Audience :: Developers",
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aleph-ui",
"version": "3.15.1",
"version": "3.15.3",
"private": true,
"dependencies": {
"@alephdata/followthemoney": "^3.4.3",
Expand Down

0 comments on commit f222d8c

Please sign in to comment.