Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.

Commit 8d84a3c

Browse files
authored
Merge pull request #221 from hkalexling/rc/0.23.0
v0.23.0
2 parents 8829d2e + a26b4b3 commit 8d84a3c

40 files changed

+602
-979
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212

1313
runs-on: ubuntu-latest
1414
container:
15-
image: crystallang/crystal:0.35.1-alpine
15+
image: crystallang/crystal:1.0.0-alpine
1616

1717
steps:
1818
- uses: actions/checkout@v2
1919
- name: Install dependencies
20-
run: apk add --no-cache yarn yaml sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static libjpeg-turbo-dev libpng-dev tiff-dev
20+
run: apk add --no-cache yarn yaml-static sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static libjpeg-turbo-dev libpng-dev tiff-dev
2121
- name: Build
2222
run: make static || make static
2323
- name: Linter

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM crystallang/crystal:0.35.1-alpine AS builder
1+
FROM crystallang/crystal:1.0.0-alpine AS builder
22

33
WORKDIR /Mango
44

55
COPY . .
6-
RUN apk add --no-cache yarn yaml sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static libjpeg-turbo-dev libpng-dev tiff-dev
6+
RUN apk add --no-cache yarn yaml-static sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static libjpeg-turbo-dev libpng-dev tiff-dev
77
RUN make static || make static
88

99
FROM library/alpine

Dockerfile.arm32v7

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ FROM arm32v7/ubuntu:18.04
22

33
RUN apt-get update && apt-get install -y wget git make llvm-8 llvm-8-dev g++ libsqlite3-dev libyaml-dev libgc-dev libssl-dev libcrypto++-dev libevent-dev libgmp-dev zlib1g-dev libpcre++-dev pkg-config libarchive-dev libxml2-dev libacl1-dev nettle-dev liblzo2-dev liblzma-dev libbz2-dev libjpeg-turbo8-dev libpng-dev libtiff-dev
44

5-
RUN git clone https://github.com/crystal-lang/crystal && cd crystal && git checkout 0.35.1 && make deps && cd ..
6-
RUN git clone https://github.com/kostya/myhtml && cd myhtml/src/ext && git checkout v1.5.0 && make && cd ..
7-
RUN git clone https://github.com/jessedoyle/duktape.cr && cd duktape.cr/ext && git checkout v0.20.0 && make && cd ..
8-
RUN git clone https://github.com/hkalexling/image_size.cr && cd image_size.cr && git checkout v0.2.0 && make && cd ..
5+
RUN git clone https://github.com/crystal-lang/crystal && cd crystal && git checkout 1.0.0 && make deps && cd ..
6+
RUN git clone https://github.com/kostya/myhtml && cd myhtml/src/ext && git checkout v1.5.8 && make && cd ..
7+
RUN git clone https://github.com/jessedoyle/duktape.cr && cd duktape.cr/ext && git checkout v1.0.0 && make && cd ..
8+
RUN git clone https://github.com/hkalexling/image_size.cr && cd image_size.cr && git checkout v0.5.0 && make && cd ..
99

1010
COPY mango-arm32v7.o .
1111

Dockerfile.arm64v8

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ FROM arm64v8/ubuntu:18.04
22

33
RUN apt-get update && apt-get install -y wget git make llvm-8 llvm-8-dev g++ libsqlite3-dev libyaml-dev libgc-dev libssl-dev libcrypto++-dev libevent-dev libgmp-dev zlib1g-dev libpcre++-dev pkg-config libarchive-dev libxml2-dev libacl1-dev nettle-dev liblzo2-dev liblzma-dev libbz2-dev libjpeg-turbo8-dev libpng-dev libtiff-dev
44

5-
RUN git clone https://github.com/crystal-lang/crystal && cd crystal && git checkout 0.35.1 && make deps && cd ..
6-
RUN git clone https://github.com/kostya/myhtml && cd myhtml/src/ext && git checkout v1.5.0 && make && cd ..
7-
RUN git clone https://github.com/jessedoyle/duktape.cr && cd duktape.cr/ext && git checkout v0.20.0 && make && cd ..
8-
RUN git clone https://github.com/hkalexling/image_size.cr && cd image_size.cr && git checkout v0.2.0 && make && cd ..
5+
RUN git clone https://github.com/crystal-lang/crystal && cd crystal && git checkout 1.0.0 && make deps && cd ..
6+
RUN git clone https://github.com/kostya/myhtml && cd myhtml/src/ext && git checkout v1.5.8 && make && cd ..
7+
RUN git clone https://github.com/jessedoyle/duktape.cr && cd duktape.cr/ext && git checkout v1.0.0 && make && cd ..
8+
RUN git clone https://github.com/hkalexling/image_size.cr && cd image_size.cr && git checkout v0.5.0 && make && cd ..
99

1010
COPY mango-arm64v8.o .
1111

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Mango
44

5-
[![Patreon](https://img.shields.io/badge/support-patreon-brightgreen?link=https://www.patreon.com/hkalexling)](https://www.patreon.com/hkalexling) ![Build](https://github.com/hkalexling/Mango/workflows/Build/badge.svg) [![Gitter](https://badges.gitter.im/mango-cr/mango.svg)](https://gitter.im/mango-cr/mango?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
5+
[![Patreon](https://img.shields.io/badge/support-patreon-brightgreen?link=https://www.patreon.com/hkalexling)](https://www.patreon.com/hkalexling) ![Build](https://github.com/hkalexling/Mango/workflows/Build/badge.svg) [![Gitter](https://badges.gitter.im/mango-cr/mango.svg)](https://gitter.im/mango-cr/mango?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Discord](https://img.shields.io/discord/855633663425118228?label=discord)](http://discord.com/invite/ezKtacCp9Q)
66

77
Mango is a self-hosted manga server and reader. Its features include
88

@@ -13,7 +13,6 @@ Mango is a self-hosted manga server and reader. Its features include
1313
- Supports nested folders in library
1414
- Automatically stores reading progress
1515
- Thumbnail generation
16-
- Built-in [MangaDex](https://mangadex.org/) downloader
1716
- Supports [plugins](https://github.com/hkalexling/mango-plugins) to download from thrid-party sites
1817
- The web reader is responsive and works well on mobile, so there is no need for a mobile app
1918
- All the static files are embedded in the binary, so the deployment process is easy and painless
@@ -52,7 +51,7 @@ The official docker images are available on [Dockerhub](https://hub.docker.com/r
5251
### CLI
5352

5453
```
55-
Mango - Manga Server and Web Reader. Version 0.21.0
54+
Mango - Manga Server and Web Reader. Version 0.23.0
5655
5756
Usage:
5857
@@ -87,7 +86,6 @@ log_level: info
8786
upload_path: ~/mango/uploads
8887
plugin_path: ~/mango/plugins
8988
download_timeout_seconds: 30
90-
page_margin: 30
9189
disable_login: false
9290
default_username: ""
9391
auth_proxy_header_name: ""
@@ -99,6 +97,7 @@ mangadex:
9997
download_queue_db_path: ~/mango/queue.db
10098
chapter_rename_rule: '[Vol.{volume} ][Ch.{chapter} ]{title|id}'
10199
manga_rename_rule: '{title}'
100+
subscription_update_interval_hours: 24
102101
```
103102
104103
- `scan_interval_minutes`, `thumbnail_generation_interval_hours` and `db_optimization_interval_hours` can be any non-negative integer. Setting them to `0` disables the periodic tasks

public/js/download.js

-287
This file was deleted.

0 commit comments

Comments
 (0)