Skip to content

Commit

Permalink
Merge branch 'master' into bump_ll
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsCalebJones authored Jul 30, 2024
2 parents cfadd7e + a021459 commit e34d637
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ dist/**
.vscode/**
docker/*.backup
*.log
.history/
.history/
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

<!--next-version-placeholder-->

## v4.4.6 (2024-07-29)

### Fix

* Issue with removed instagram and twitter links ([`9f8cf9f`](https://github.com/ItsCalebJones/SpaceLaunchNow-Server/commit/9f8cf9f23518564042f603b9f896df51d52ade73))

## v4.4.5 (2024-05-26)

### Fix
Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Running LL via Docker
c# Running LL via Docker

## Run Test
1) Run `docker-compose -f docker-compose.test.yml build`
Expand Down
2 changes: 1 addition & 1 deletion k8s/helm/templates/crons/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
secretKeyRef:
name: sln-auth-prod
key: aws-secret-access-key
- name: SLN_SECRET_KEY
- name: SLN_SENTRY_KEY
valueFrom:
secretKeyRef:
name: sln-sentry-key
Expand Down
2 changes: 1 addition & 1 deletion k8s/helm/templates/notification-service/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:
secretKeyRef:
name: sln-auth-prod
key: fcm-key
- name: SLN_SECRET_KEY
- name: SLN_SENTRY_KEY
valueFrom:
secretKeyRef:
name: sln-sentry-key
Expand Down
2 changes: 1 addition & 1 deletion k8s/helm/templates/web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ spec:
secretKeyRef:
name: sln-auth-prod
key: discord-webhook
- name: SLN_SECRET_KEY
- name: SLN_SENTRY_KEY
valueFrom:
secretKeyRef:
name: sln-sentry-key
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "spacelaunchnow-server"
version = "4.4.5"
version = "4.4.6"
description = "The Backend and Webserver for Space Launch Now"
authors = ["Caleb Jones <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.4.5"
__version__ = "4.4.6"
12 changes: 6 additions & 6 deletions src/web/templates/web/astronaut/astronaut_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<meta property="og:description"
content="{{ astronaut.name }} - {{ astronaut.bio|truncatechars:100 }}">
<meta property="og:url" content="https://spacelaunchnow.me/astronaut/{{ astronaut.slug }}"/>
{% if astronaut.astronaut_image.image %}
<meta property="og:image" content="{{ astronaut.astronaut_image.image.url }}"/>
{% if astronaut.image.image %}
<meta property="og:image" content="{{ astronaut.image.image.url }}"/>
{% else %}
<meta property="og:image" content="{% static 'img/social.png' %}"/>
<meta property="og:image:width" content="3000"/>
Expand All @@ -31,8 +31,8 @@
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:title" content="Space Launch Now - {{ astronaut.name }}">
<meta name="twitter:description" content="{{ astronaut.name }} - {{ astronaut.bio|truncatechars:100 }}">
{% if astronaut.astronaut_image.image %}
<meta name="twitter:image" content="{{ astronaut.astronaut_image.image.url }}"/>
{% if astronaut.image.image %}
<meta name="twitter:image" content="{{ astronaut.image.image.url }}"/>
{% else %}
<meta name="twitter:image" content="{% static 'img/social.png' %}"/>
{% endif %}
Expand All @@ -53,8 +53,8 @@
<!-- Post Content Column -->
<div class="col-lg-9 col-md-12 col-xl-9">
<div class="text-center">
{% if astronaut.astronaut_image.image %}
<img src="{{ astronaut.astronaut_image.image }}"
{% if astronaut.image.image %}
<img src="{{ astronaut.image.image.url }}"
alt="Circle Image"
class="img-raised rounded-circle img-fluid text-center"
style="overflow: hidden;width: 400px;height: 400px;object-fit: cover;padding:1px;border:1px solid #cccccc;">
Expand Down
5 changes: 3 additions & 2 deletions src/web/templates/web/astronaut/astronaut_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ <h4>Filter by Nationality</h4>
<div class="card-body ">
<div class="team-player">
<div class="col-md-12 col-sm-8 col-xs-8 mx-auto">
{% if astronaut.astronaut_image.image %}
{% thumbnail astronaut.astronaut_image.image "300x300" crop="80% top" as im %}
{{ astronaut.image.image }}
{% if astronaut.image.image %}
{% thumbnail astronaut.image.image "300x300" crop="80% top" as im %}
<img class="img-raised rounded-circle img-fluid text-center"
src="{{ im.url }}"
style="padding:1px;border:1px solid #cccccc;max-height: 200px;max-width: 200px">
Expand Down
4 changes: 2 additions & 2 deletions src/web/templates/web/astronaut/astronaut_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ <h3 class="title">Displaying {{ astronauts|length }} results.</h3>
<div class="card-body ">
<div class="team-player">
<div class="col-md-10 mx-auto">
{% if astronaut.astronaut_image.image %}
{% thumbnail astronaut.astronaut_image.image "300x300" crop="center" as im %}
{% if astronaut.image.image %}
{% thumbnail astronaut.image.image "300x300" crop="center" as im %}
<img class="img-raised rounded-circle img-fluid text-center"
src="{{ im.url }}"
style="padding:1px;border:1px solid #cccccc;">
Expand Down

0 comments on commit e34d637

Please sign in to comment.