diff --git a/README.md b/README.md index d53a49c11..98a0ffe8e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Key features: Epicyon is for people who are tired of *big anything* and just want to DIY their online social experience without much fuss or expense. Think *water cooler discussions* rather than *shouting into the void*, in which you're mainly just reading and responding to the posts of people that you're following. -[Project Goals](README_goals.md) - [Commandline interface](README_commandline.md) - [Customizations](README_customizations.md) - [Software Architecture](README_architecture.md) - [Code of Conduct](code-of-conduct.md) - [Principles of Unity](principlesofunity.md) - [C2S Desktop Client](README_desktop_client.md) - [Coding Style](README_coding_style.md) +[User Manual](manual/manual.epub) - [Project Goals](README_goals.md) - [Commandline interface](README_commandline.md) - [Customizations](README_customizations.md) - [Software Architecture](README_architecture.md) - [Code of Conduct](code-of-conduct.md) - [Principles of Unity](principlesofunity.md) - [C2S Desktop Client](README_desktop_client.md) - [Coding Style](README_coding_style.md) Matrix room: **#epicyon:matrix.libreserver.org** diff --git a/content.py b/content.py index b7e386de9..45dd940a2 100644 --- a/content.py +++ b/content.py @@ -1442,6 +1442,7 @@ def save_media_in_form_post(media_bytes, debug: bool, 'mp3': 'audio/mpeg', 'ogg': 'audio/ogg', 'opus': 'audio/opus', + 'spx': 'audio/speex', 'flac': 'audio/flac', 'zip': 'application/zip', 'csv': 'text/csv', diff --git a/daemon.py b/daemon.py index e2a174464..a232eecff 100644 --- a/daemon.py +++ b/daemon.py @@ -16957,7 +16957,7 @@ class PubServer(BaseHTTPRequestHandler): # show images within https://instancedomain/manual if self.path.startswith('/manual-'): - if self.path.endswith('.png'): + if is_image_file(self.path): self._show_manual_image(self.path, self.server.base_dir, getreq_start_time) @@ -21104,7 +21104,7 @@ def run_daemon(map_format: str, httpd.dogwhistles = load_dogwhistles(dogwhistles_filename) # list of preferred podcast formats - # eg ['audio/opus', 'audio/mp3'] + # eg ['audio/opus', 'audio/mp3', 'audio/speex'] httpd.preferred_podcast_formats = preferred_podcast_formats # for each account, whether bold reading is enabled diff --git a/epicyon-profile.css b/epicyon-profile.css index 8b3723655..0ac1a1819 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -562,6 +562,7 @@ a:focus { .container img.markdownImage { width: 100%; + max-width: 100%; } .container img.timelineicon:hover { diff --git a/epicyon.py b/epicyon.py index 2485dcfbb..811bae57b 100644 --- a/epicyon.py +++ b/epicyon.py @@ -297,7 +297,7 @@ def _command_options() -> None: parser.add_argument('--podcast-formats', dest='podcast_formats', type=str, default=None, help='Preferred podcast formats separated ' + - 'by commas. eg. "opus, mp3"') + 'by commas. eg. "opus, mp3, spx"') parser.add_argument('--ytdomain', dest='yt_replace_domain', type=str, default=None, help='Domain used to replace youtube.com') @@ -1220,9 +1220,9 @@ def _command_options() -> None: domain = argb.domain set_config_param(base_dir, 'domain', domain) - # comma separated list of preferred audio formats. eg. "opus", "mp3" + # comma separated list of preferred audio formats. eg. "opus", "mp3", "spx" # in order of preference - preferred_podcast_formats = ['ogg', 'mpeg', 'opus'] + preferred_podcast_formats = ['ogg', 'mpeg', 'opus', 'spx'] if argb.podcast_formats: podcast_formats_str = argb.podcast_formats else: diff --git a/manual/back/index.html b/manual/back/index.html index 60166af65..5992493da 100644 --- a/manual/back/index.html +++ b/manual/back/index.html @@ -49,7 +49,7 @@
  • User profiles and timelines
  • Customisation and moderation
  • The sharing economy
  • -
  • Building web communities
  • +
  • Building fediverse communities
  • This book assumes readers understand the basics of Linux system administration.

    diff --git a/manual/cover/css/custom.css b/manual/cover/css/custom.css index f67ba63f9..e862918e0 100644 --- a/manual/cover/css/custom.css +++ b/manual/cover/css/custom.css @@ -150,6 +150,10 @@ img { margin-top: 25px; padding: 20px; } +.header img.logoImage { + width: 90%; + object-fit: scale-down; +} .logo { width: 25px; diff --git a/manual/cover/img/front.jpg b/manual/cover/img/front.jpg index 49215342e..c022d144e 100644 Binary files a/manual/cover/img/front.jpg and b/manual/cover/img/front.jpg differ diff --git a/manual/cover/index.html b/manual/cover/index.html index a18ae24df..ca2f73dfa 100644 --- a/manual/cover/index.html +++ b/manual/cover/index.html @@ -16,7 +16,7 @@
    -

    EPICYON

    +

    User Manual