Compare commits

...

12 Commits

Author SHA1 Message Date
broquemonsieur
a62859076e
Merge 577058617f into 3e17d04875 2024-08-25 21:48:36 -04:00
Samantaz Fox
3e17d04875
Release v2.20240825.1 2024-08-25 22:30:46 +02:00
syeopite
cec905e95e
Allow manual trigger of release-container build (#4877) 2024-08-25 19:55:52 +00:00
broquemonsieur
577058617f Twice 2024-08-13 00:40:48 -07:00
broquemonsieur
5e87b32530 Increase scale 2024-08-13 00:36:54 -07:00
broquemonsieur
270468e2eb Center items 2024-08-13 00:32:50 -07:00
broquemonsieur
a9600c8c7c Asset 2024-08-12 22:51:14 -07:00
broquemonsieur
e9e89a58f7
Merge branch 'iv-org:master' into beautify_404_page 2024-08-11 19:01:47 +00:00
broquemonsieur
f8793c6d9f Restore new line EOF 2024-08-10 23:20:05 -07:00
broquemonsieur
824206612d Add dark light interoperability 2024-08-10 22:59:17 -07:00
broquemonsieur
6044c66407 Set up for theme toggling 2024-08-10 18:37:10 -07:00
broquemonsieur
c6409c77a4 Initial commit 2024-08-09 03:20:02 -07:00
7 changed files with 2562 additions and 2 deletions

View File

@ -1,6 +1,7 @@
name: Build and release container
on:
workflow_dispatch:
push:
tags:
- "v*"

View File

@ -1,6 +1,18 @@
# CHANGELOG
## v2.20240825 (2024-08-25)
## v2.20240825.1 (2024-08-25)
Add patch component to be [semver] compliant and make github actions happy.
[semver]: https://semver.org/
### Full list of pull requests merged since the last release (newest first)
Allow manual trigger of release-container build (#4877, thanks @syeopite)
## v2.20240825.0 (2024-08-25)
### New features & important changes

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 38 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -816,3 +816,9 @@ h1, h2, h3, h4, h5, p,
#download_widget {
width: 100%;
}
/* 404 TV Box */
.error-page {
width: 50%;
height: auto;
}

View File

@ -74,6 +74,8 @@ def error_template_helper(env : HTTP::Server::Context, status_code : Int32, exce
# Don't show the usual "next steps" widget. The same options are
# proposed above the error message, just worded differently.
next_steps = ""
unfound_tv_box_dark_theme = File.read("assets/404_tv_box_dark_theme.svg")
unfound_tv_box_light_theme = File.read("assets/404_tv_box_light_theme.svg")
return templated "error"
end
@ -85,6 +87,8 @@ def error_template_helper(env : HTTP::Server::Context, status_code : Int32, mess
locale = env.get("preferences").as(Preferences).locale
error_message = translate(locale, message)
unfound_tv_box_dark_theme = File.read("assets/404_tv_box_dark_theme.svg")
unfound_tv_box_light_theme = File.read("assets/404_tv_box_light_theme.svg")
next_steps = error_redirect_helper(env)
return templated "error"

View File

@ -1,8 +1,23 @@
<%
dark_mode = env.get("preferences").as(Preferences).dark_mode
%>
<% content_for "header" do %>
<title><%= "Error" %> - Invidious</title>
<% end %>
<div class="h-box">
<%= error_message %>
<div style="display: flex; flex-direction: column; align-items: center;">
<%= error_message %>
<% if dark_mode == "dark" %>
<div style="width: 100px; height: auto;">
<img src="/404_tv_box_dark_theme.svg" alt="SVG Image" style="width: 100px; height: auto;">
</div>
<% else %>
<div style="width: 100px; height: auto;">
<img src="/404_tv_box_light_theme.svg" alt="SVG Image" style="width: 100px; height: auto;">
</div>
<% end %>
</div>
<%= next_steps %>
</div>