Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.23.0 #221

Merged
merged 52 commits into from
Aug 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
d3f26ec
Move the page margin config to frontend
hkalexling Mar 6, 2021
6a27528
Merge branch 'rc/0.21.0' into dev
hkalexling Mar 7, 2021
0b3e78b
Merge branch 'rc/0.21.0' into dev
hkalexling Mar 9, 2021
eed1a97
Merge branch 'master' into dev
hkalexling Mar 10, 2021
757f7c8
Upgrade Crystal to 0.36.1
hkalexling Mar 12, 2021
e9a4906
Update the mangadex shard
hkalexling Mar 12, 2021
daec2bd
Update ameba
hkalexling Mar 12, 2021
ee52c52
Fix new linter errors
hkalexling Mar 12, 2021
9bb7144
Fix warning
hkalexling Mar 12, 2021
a612500
Subscription manager
hkalexling Mar 13, 2021
b4a6942
Reverse the queue on download manager
hkalexling Mar 14, 2021
17837d8
Add tooltips to download manager
hkalexling Mar 14, 2021
8950c3a
Fix downloader stuck on external chapters
hkalexling Mar 14, 2021
bbf1520
Make `in_range?` private
hkalexling Mar 14, 2021
e03bf32
Show success alerts on the download page
hkalexling Mar 14, 2021
c6fdbfd
Better format ranges on subscription manager page
hkalexling Mar 15, 2021
00c1501
Document subscription APIs
hkalexling Mar 15, 2021
2764e95
Show success alert on plugin download page
hkalexling Mar 15, 2021
f6da203
Bump version to 0.22.0
hkalexling Mar 28, 2021
741c3a4
Update config example in README
hkalexling Mar 28, 2021
c9f55e7
Use yaml-static
hkalexling Mar 28, 2021
46e6e41
Fix reader buttons stacking on mobile
hkalexling Mar 29, 2021
7f0c256
Log login errors
hkalexling Apr 25, 2021
cd8944e
Slim option in library and title APIs
hkalexling Apr 25, 2021
25b90a8
Apply cache on page, cover api
Leeingnyo Aug 15, 2021
2426ef0
Apply cache on dimensions api
Leeingnyo Aug 15, 2021
54e2a54
Update cyrstal-lang, libraries
Leeingnyo Aug 15, 2021
208019a
Update Docker image
Leeingnyo Aug 15, 2021
a21681a
Update a container version of bulid workflow
Leeingnyo Aug 16, 2021
31d425d
Document the 304 responses
hkalexling Aug 17, 2021
4a261d5
Set Cache-Control header at page, dimensions API
Leeingnyo Aug 15, 2021
29923f6
Merge pull request #214 from Leeingnyo/feature/http-cache
hkalexling Aug 17, 2021
1973564
Revert "Subscription manager"
hkalexling Jun 7, 2021
d7efe1e
Use yaml-static in Dockerfile
Leeingnyo Aug 18, 2021
b02b28d
Implement to preload images when viewer is paged mode
Leeingnyo Aug 15, 2021
d544252
Add preload lookahead controller
Leeingnyo Aug 18, 2021
4d1ad8f
Prevent load images
Leeingnyo Aug 18, 2021
1e7d6ba
Keep an image ratio at the paged mode, clamping the image in a screen
Leeingnyo Aug 18, 2021
83b122a
Implement a controller to toggle flip animation
Leeingnyo Aug 18, 2021
a703175
Parenthesize to avoid a misbehavior
Leeingnyo Aug 19, 2021
400c302
Merge pull request #219 from Leeingnyo/feature/enhance-paged-mode
hkalexling Aug 20, 2021
d956571
Remove MangaDex integration
hkalexling Aug 20, 2021
6549253
Merge branch 'dev' of https://github.com/hkalexling/Mango into dev
hkalexling Aug 20, 2021
64c145c
Merge branch 'dev' of https://github.com/hkalexling/Mango into featur…
hkalexling Aug 20, 2021
864435d
Upgrade dependencies for Crystal 1.0.0
hkalexling Aug 20, 2021
995ca3b
Update ARM Dockerfile
hkalexling Aug 20, 2021
efc547f
Fix "Executing query" spam in log
hkalexling Aug 22, 2021
9c983df
Merge pull request #216 from Leeingnyo/feature/update-crystal-1.0
hkalexling Aug 22, 2021
08dc060
Remove page_margin from README
hkalexling Aug 22, 2021
64d6cd2
Remove MangaDex from README
hkalexling Aug 22, 2021
f2dd20c
Bump version to 0.23.0
hkalexling Aug 22, 2021
a26b4b3
Add Discord badge
hkalexling Aug 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:

runs-on: ubuntu-latest
container:
image: crystallang/crystal:0.35.1-alpine
image: crystallang/crystal:1.0.0-alpine

steps:
- uses: actions/checkout@v2
- name: Install dependencies
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
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
- name: Build
run: make static || make static
- name: Linter
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM crystallang/crystal:0.35.1-alpine AS builder
FROM crystallang/crystal:1.0.0-alpine AS builder

WORKDIR /Mango

COPY . .
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
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
RUN make static || make static

FROM library/alpine
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.arm32v7
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM arm32v7/ubuntu:18.04

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

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

COPY mango-arm32v7.o .

Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.arm64v8
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM arm64v8/ubuntu:18.04

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

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

COPY mango-arm64v8.o .

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Mango

[![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)
[![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)

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

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

```
Mango - Manga Server and Web Reader. Version 0.21.0
Mango - Manga Server and Web Reader. Version 0.23.0

Usage:

Expand Down Expand Up @@ -87,7 +86,6 @@ log_level: info
upload_path: ~/mango/uploads
plugin_path: ~/mango/plugins
download_timeout_seconds: 30
page_margin: 30
disable_login: false
default_username: ""
auth_proxy_header_name: ""
Expand All @@ -99,6 +97,7 @@ mangadex:
download_queue_db_path: ~/mango/queue.db
chapter_rename_rule: '[Vol.{volume} ][Ch.{chapter} ]{title|id}'
manga_rename_rule: '{title}'
subscription_update_interval_hours: 24
```

- `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
Expand Down
287 changes: 0 additions & 287 deletions public/js/download.js

This file was deleted.

Loading