Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
473 commits
Select commit Hold shift + click to select a range
d1e8bca
FE and Dockerfile
BennyThink Nov 27, 2021
cf9fc35
add askismet, comment spam prevention
BennyThink Dec 9, 2021
4cf1cfc
bot add search in comments
BennyThink Dec 11, 2021
f3f54b4
upgrade lib
BennyThink Dec 11, 2021
c41aee2
bot search comment
BennyThink Dec 11, 2021
2ba6db2
fix path bug in button
BennyThink Dec 16, 2021
f177eef
spam process API
BennyThink Dec 16, 2021
ed82259
fix <built-in function id>
BennyThink Dec 16, 2021
3786dc1
add import data from excel
BennyThink Dec 18, 2021
e016e0b
delete message when approve or deny
BennyThink Dec 20, 2021
4e6bacb
push to ghcr.io
BennyThink Dec 26, 2021
28d3883
remove travis, update badge
BennyThink Dec 26, 2021
5b575fc
remove zimuxia.cn because it's down now
BennyThink Jan 4, 2022
5a8395c
add dependabot
BennyThink Jan 4, 2022
7715567
Create codeql-analysis.yml
BennyThink Jan 4, 2022
0ede098
A lot of bumps
dependabot[bot] Jan 4, 2022
c7826bd
add whitelist
BennyThink Jan 14, 2022
55c6a0a
add dump scheduler
BennyThink Feb 4, 2022
3409b06
speed up dump
BennyThink Feb 5, 2022
c9e7374
bump dependencies
BennyThink Feb 5, 2022
0c25419
remove os.path
BennyThink Feb 6, 2022
0b1bda7
fix dump and onekey scripts
BennyThink Feb 22, 2022
c0454a4
change data to dump
BennyThink Mar 4, 2022
67c3ff5
update FE
BennyThink Mar 4, 2022
7107ae7
zimuxia is working now
BennyThink Mar 11, 2022
f07f1b2
Bump captcha from 0.3 to 0.4
dependabot[bot] Mar 16, 2022
faa15c9
inner comment 5-->15
BennyThink Mar 25, 2022
24e7483
暂停注册的功能
BennyThink Mar 26, 2022
832c9f9
one key ban in bot
BennyThink Mar 26, 2022
fcddaa2
pagination, blue&yellow, date
AuraBear Mar 26, 2022
f81b123
add webp.se
AuraBear Apr 2, 2022
55b857e
return structure data for notification
AuraBear Apr 3, 2022
805a702
update FE, update dependencies
AuraBear Apr 3, 2022
81c3023
easter egg
AuraBear Apr 4, 2022
9c49128
ban yellow nazi, more strict!
AuraBear Apr 4, 2022
2a419d8
support zh-hant
AuraBear Apr 8, 2022
9a17fe7
finish new banning system
AuraBear Apr 10, 2022
3d91652
add cf blacklist
AuraBear Apr 10, 2022
64e4cd7
fix 404 DDoS
AuraBear Apr 10, 2022
663cd7c
bump dependencies
AuraBear Apr 15, 2022
cb3586d
fix dead screen
AuraBear May 18, 2022
0fad766
fix resource & comment for other fansub
AuraBear May 25, 2022
53860b1
bump
AuraBear May 27, 2022
0d08072
replace \n with space
BennyThink Jun 19, 2022
1984433
bump dependencies
BennyThink Jul 17, 2022
3474bd5
upadte BD2020 link, use order generation, supress error
BennyThink Jul 28, 2022
8800d8e
fix code scanning alerts
BennyThink Jul 28, 2022
bf5c380
Bump fakeredis from 1.8.2 to 1.9.0
dependabot[bot] Aug 1, 2022
b43cbcf
Add Trivy for PR
n0vad3v Aug 12, 2022
12e8624
Bump pytz from 2022.1 to 2022.2
dependabot[bot] Aug 12, 2022
441cae2
update FE, requirements.txt
BennyThink Aug 26, 2022
21cabcc
upgrade to python 3.10
BennyThink Aug 27, 2022
9f8b610
support mongodb 6.0
BennyThink Aug 27, 2022
77c020a
dump db fix #146
BennyThink Sep 2, 2022
f5c657b
不删除build cache
BennyThink Sep 2, 2022
4694032
dump file is not important
BennyThink Sep 3, 2022
3589e9b
add badge
BennyThink Sep 6, 2022
19807e2
ban user with cloudflare
BennyThink Sep 9, 2022
2523d0a
bump
BennyThink Sep 10, 2022
d34b06c
dump at server start
BennyThink Sep 17, 2022
bf39d12
update FE
BennyThink Sep 18, 2022
9c6a91f
update ignore
BennyThink Oct 6, 2022
bc529e2
update golang yyetsweb
BennyThink Oct 6, 2022
07c84bf
update README.md
BennyThink Oct 6, 2022
69e0c57
discard cross compile
BennyThink Oct 6, 2022
567063f
pure go, cross compile
BennyThink Oct 7, 2022
637dd93
auto download
BennyThink Oct 7, 2022
e66bfc0
new binary - new UI
BennyThink Oct 8, 2022
ce87071
codeql v2
BennyThink Oct 9, 2022
9bd7bce
disable group
BennyThink Oct 25, 2022
fe7717f
pin image
BennyThink Oct 26, 2022
46bcecf
bump
BennyThink Dec 3, 2022
f67d41b
nodejs 18
BennyThink Dec 3, 2022
293fcfc
update dependencies, enhance dump backup
BennyThink Dec 30, 2022
211dc7a
dump at server start
BennyThink Dec 31, 2022
9027b6d
cleanup before execution to avoid error
BennyThink Dec 31, 2022
1618485
sponsor
BennyThink Jan 6, 2023
b8c8fce
bump
BennyThink Jan 6, 2023
b9b649e
add adsense build script and bump fakeredis
BennyThink Jan 26, 2023
f80b40b
add search console verification
BennyThink Jan 28, 2023
189481c
搜索结果带上子评论信息
BennyThink Jan 28, 2023
303456a
确保时间始终为CST
BennyThink Jan 28, 2023
4648470
子评论内页数量设置为3
BennyThink Jan 30, 2023
dee3afe
暂时取消Adsense
BennyThink Jan 30, 2023
65c5d55
更新前端
BennyThink Jan 30, 2023
e6dae6f
添加更新日志
BennyThink Jan 30, 2023
ce6aa32
未注册账号不会自动注册
BennyThink Jan 31, 2023
c561749
PYTHON_DEV, 邮箱验证索引
BennyThink Jan 31, 2023
a5f6aba
邮件验证修复
BennyThink Jan 31, 2023
c4e8294
翻译验证信息
BennyThink Jan 31, 2023
6a84278
启用adsense
BennyThink Feb 4, 2023
4a6b964
email verification online
BennyThink Feb 4, 2023
d94f308
fix adsense in secret
BennyThink Feb 4, 2023
daddbf5
add icon for UA, bump.
BennyThink Feb 5, 2023
cec3120
use new UI for bot, new screenshots
BennyThink Feb 5, 2023
4caa170
新的邮件模版
BennyThink Feb 6, 2023
f9e41ad
评论搜索功能
BennyThink Feb 7, 2023
0735109
GitHub OAuth
BennyThink Feb 8, 2023
be32956
Google OAuth
BennyThink Feb 8, 2023
1afae52
隐藏资源的功能
BennyThink Feb 9, 2023
f3b72c2
支持twitter oauth
BennyThink Feb 9, 2023
3e6664d
add oauth source
BennyThink Feb 9, 2023
1cd55ac
add Microsoft OAuth
BennyThink Feb 9, 2023
0c1d37c
oauth 重构
BennyThink Feb 9, 2023
6eb5dc8
add facebook oauth
BennyThink Feb 10, 2023
dc26637
Facebook sucks
BennyThink Feb 10, 2023
4a75ebd
fix oauth login bug
BennyThink Feb 11, 2023
c7711ae
move folder, bump
BennyThink Feb 13, 2023
4b953b6
add ci and one test case
BennyThink Feb 13, 2023
ab54f18
更新搜索结果中间的广告
BennyThink Feb 16, 2023
a9f332d
已认证角标
BennyThink Feb 20, 2023
3668194
头像上传支持
BennyThink Feb 24, 2023
2907b63
无收藏资源头像上传bug fix
BennyThink Feb 27, 2023
b2dab53
avatar 不用base64
BennyThink Feb 27, 2023
6ab9fdd
bump golang dependencies
dependabot[bot] Feb 23, 2023
88bdbc9
修复搜索问题
BennyThink Feb 28, 2023
a6e2300
support head request to avatar
BennyThink Feb 28, 2023
ba5f455
头像切换到webp.se,修复docker badge, go alert
BennyThink Feb 28, 2023
dae566a
同步资源
BennyThink Mar 5, 2023
ba369ef
同步追新番,已有旧资源增加source
BennyThink Mar 5, 2023
df5d42a
optimize sync yyets
BennyThink Mar 6, 2023
6ebea85
add colorful logs, bump go.mod
BennyThink Mar 6, 2023
058e9bc
run in this docker-compose.yml
BennyThink Mar 7, 2023
e2d516d
fix order
BennyThink Mar 7, 2023
081de33
mysql dump
BennyThink Mar 7, 2023
f8fb9ef
change log format
BennyThink Mar 11, 2023
a929045
add meilisearch and import (#213)
BennyThink Mar 9, 2023
94572b5
mongodb replicaset
BennyThink Mar 10, 2023
3602519
meilisearch 导入同步数据
BennyThink Mar 10, 2023
0410b6f
mongodb replica listen on wg
BennyThink Mar 10, 2023
8fa6d30
refactor a bit
BennyThink Mar 11, 2023
6eeac01
meilisearch 集成
BennyThink Mar 11, 2023
22251ae
update docker-compose.yml
BennyThink Mar 11, 2023
1279a3b
fix channel_cn
BennyThink Mar 12, 2023
4ca7074
搜索框下拉支持
BennyThink Mar 12, 2023
4729420
忘记处理电影
BennyThink Mar 12, 2023
4310b7d
删除 full text index 时的处理
BennyThink Mar 14, 2023
0979b8a
refactor code
BennyThink Mar 19, 2023
c0ef592
remove pytz
BennyThink Mar 19, 2023
27285a8
no need to write fake class
BennyThink Mar 19, 2023
5b990ff
clear fw every 2 hrs
BennyThink Mar 19, 2023
97a6223
use list because list supports more IPs
BennyThink Mar 19, 2023
0203fd1
fix cf firewall rules with cursor, remove mmap
BennyThink Mar 20, 2023
05f7d5c
make sure cf.ban_ip doesn't interrupt entire process
BennyThink Mar 20, 2023
20cc0b8
support ipv6
BennyThink Mar 21, 2023
b0f0ee9
ban IP rate limit
BennyThink Mar 21, 2023
b4fc297
update cf rules
BennyThink Mar 24, 2023
fd9959f
特定页面隐藏Adsense代码
BennyThink Mar 26, 2023
c60088a
add tauri application, merge golang
BennyThink Apr 3, 2023
e740af4
fix golang app with dump, clear redis&fw
BennyThink Apr 5, 2023
38ac36a
use unless-stopped
BennyThink Apr 19, 2023
061f60c
fix package bug
BennyThink Apr 23, 2023
b8bd7f6
add back comment search #232
BennyThink Apr 24, 2023
88f3b35
use my own sentry
BennyThink Apr 25, 2023
1e0921d
fix some errors from glitchtip
BennyThink Apr 26, 2023
8043a07
avatar fix for phone number, continue GlitchTip fix
BennyThink Apr 26, 2023
c4d42a2
Bump github.com/gin-gonic/gin from 1.8.1 to 1.9.0 in /yyetsweb (#239)
dependabot[bot] May 7, 2023
7588d91
update dependencies
BennyThink May 7, 2023
10f2f6c
bump
BennyThink May 13, 2023
c4ec631
fix #248
BennyThink May 17, 2023
ec8bb00
fix image issue
BennyThink May 21, 2023
2aa81c0
增加落格
BennyThink May 30, 2023
538bcc7
update github.com/gin-gonic/gin v1.9.0 to 1.9.1 (#269)
chncaption Jul 9, 2023
50a555d
bump
BennyThink Jul 10, 2023
b0d3cfb
use get
BennyThink Jul 15, 2023
8c9b559
add crisp
BennyThink Jul 15, 2023
4620577
更换域名
BennyThink Jul 28, 2023
4f5376f
remove sentry
BennyThink Aug 15, 2023
99eb23e
bump
BennyThink Aug 26, 2023
c62c47f
update fe
BennyThink Aug 26, 2023
7f44683
连接池
BennyThink Aug 26, 2023
10ea445
use webp cloud
BennyThink Aug 26, 2023
1fcfdfc
reduce length of cf cache
BennyThink Aug 26, 2023
3353f36
redis 连接池
BennyThink Aug 26, 2023
4c3f10d
minior fix
BennyThink Aug 26, 2023
79f58e6
update
BennyThink Aug 28, 2023
af7e96a
self hosted runner test
BennyThink Aug 29, 2023
3dbd995
Bump golang.org/x/net from 0.10.0 to 0.17.0 in /yyetsweb (#304)
dependabot[bot] Oct 26, 2023
3a00fb1
update email, dependencies and python
BennyThink Oct 26, 2023
1e25b07
remove self-host runner
BennyThink Oct 26, 2023
7e2184a
update deps
BennyThink Nov 15, 2023
df7dbb2
remove sentry, update deps
BennyThink Nov 26, 2023
c48a65d
Bump fakeredis from 2.20.0 to 2.20.1 (#311)
dependabot[bot] Dec 19, 2023
7cc2448
Bump tornado from 6.3.3 to 6.4 (#309)
dependabot[bot] Dec 19, 2023
0f5747a
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /yyetsweb (#312)
dependabot[bot] Dec 27, 2023
d9da767
add sort
BennyThink Dec 27, 2023
1e51f8a
update doc
BennyThink Dec 29, 2023
387eb0e
bump dependencies and url
BennyThink Jan 7, 2024
e498905
Bump fakeredis from 2.20.1 to 2.21.1 (#326)
dependabot[bot] Feb 29, 2024
1c40ff2
bump
BennyThink Feb 29, 2024
01354da
use 3.12 and 20
BennyThink Jul 21, 2024
b600929
bump deps
BennyThink Dec 5, 2024
0e29bfc
Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /yyetsweb (#…
dependabot[bot] Dec 5, 2024
ad391e8
Bump golang.org/x/net from 0.17.0 to 0.23.0 in /yyetsweb (#335)
dependabot[bot] Dec 5, 2024
c58ac71
Bump requests from 2.32.2 to 2.32.3 (#351)
dependabot[bot] Dec 5, 2024
10099a0
Bump tornado from 6.4 to 6.4.2 (#350)
dependabot[bot] Dec 5, 2024
a0ac805
--- (#344)
dependabot[bot] Dec 5, 2024
b31fa1b
Bump jinja2 from 3.1.3 to 3.1.4 (#340)
dependabot[bot] Dec 5, 2024
b819af0
Bump tqdm from 4.66.1 to 4.66.4 (#339)
dependabot[bot] Dec 5, 2024
3b31447
Bump redis from 5.0.1 to 5.0.4 (#336)
dependabot[bot] Dec 5, 2024
503867b
Bump pillow from 10.2.0 to 10.3.0 (#334)
dependabot[bot] Dec 5, 2024
494a6b9
Bump pymongo from 4.7.2 to 4.10.1 (#352)
dependabot[bot] Dec 5, 2024
4897e7f
subtitle update
BennyThink Dec 5, 2024
24c9093
update
BennyThink Dec 5, 2024
127a87f
fix bug
BennyThink Dec 5, 2024
39ff58c
remove unused workflows
BennyThink Dec 5, 2024
b671bce
fix download bug
BennyThink Dec 5, 2024
1283fa1
add metrics (#174)
BennyThink Dec 6, 2024
2d5d55b
支持一下
BennyThink Dec 6, 2024
87ada12
use mongodb search
BennyThink Dec 6, 2024
4f24e90
Bump redis from 5.0.4 to 5.2.0 (#357)
dependabot[bot] Dec 6, 2024
3a0b7ff
Bump captcha from 0.5.0 to 0.6.0 (#353)
dependabot[bot] Dec 6, 2024
bdb9b13
Bump openpyxl from 3.1.2 to 3.1.5 (#356)
dependabot[bot] Dec 6, 2024
f7c0b5c
Bump pillow from 10.3.0 to 11.0.0 (#355)
dependabot[bot] Dec 6, 2024
c8ac272
Bump apscheduler from 3.10.4 to 3.11.0 (#354)
dependabot[bot] Dec 6, 2024
bf3d574
add pytz
BennyThink Dec 6, 2024
6d7422c
get rid of sub module
BennyThink Dec 7, 2024
4a24123
Bump pytelegrambotapi from 4.16.1 to 4.26.0 (#364)
dependabot[bot] Jan 6, 2025
4972865
Bump fakeredis from 2.21.1 to 2.26.2 (#363)
dependabot[bot] Jan 6, 2025
f998b93
Bump meilisearch from 0.30.0 to 0.33.0 (#362)
dependabot[bot] Jan 6, 2025
74f9d98
Bump redis from 5.2.0 to 5.2.1 (#360)
dependabot[bot] Jan 6, 2025
ed251ed
Bump tqdm from 4.66.4 to 4.67.1 (#359)
dependabot[bot] Jan 6, 2025
e3230c3
Bump jinja2 from 3.1.4 to 3.1.5 (#365)
dependabot[bot] Jan 6, 2025
9a2d5d7
Bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /yyetsweb (#366)
dependabot[bot] Jan 6, 2025
42db132
update fe
BennyThink Jan 6, 2025
fd85d06
Bump pymongo from 4.10.1 to 4.11.2 (#377)
dependabot[bot] Mar 5, 2025
0f1dc8a
Bump jinja2 from 3.1.5 to 3.1.6 (#379)
dependabot[bot] Mar 7, 2025
19ad8c2
Bump beautifulsoup4 from 4.12.3 to 4.13.3 (#374)
dependabot[bot] Mar 26, 2025
8a74d21
Bump pillow from 11.0.0 to 11.1.0 (#367)
dependabot[bot] Mar 26, 2025
b0a09a6
Bump golang.org/x/net from 0.23.0 to 0.36.0 in /yyetsweb (#381)
dependabot[bot] Mar 26, 2025
d85ade9
Bump fakeredis from 2.26.2 to 2.27.0 (#380)
dependabot[bot] Mar 26, 2025
e8126ef
Bump pytz from 2024.2 to 2025.2 (#382)
dependabot[bot] Mar 26, 2025
15cfafa
Update fe
BennyThink Mar 26, 2025
48f7d3b
Bump fakeredis from 2.27.0 to 2.28.1 (#386)
dependabot[bot] Apr 11, 2025
e7b03f7
Bump pymongo from 4.11.2 to 4.11.3 (#384)
dependabot[bot] Apr 11, 2025
ce948c9
Bump captcha from 0.6.0 to 0.7.1 (#383)
dependabot[bot] Apr 11, 2025
124761c
Bump fakeredis from 2.28.1 to 2.29.0 (#393)
dependabot[bot] May 12, 2025
d35d01e
Bump pillow from 11.1.0 to 11.2.1 (#388)
dependabot[bot] May 12, 2025
302fde4
Bump pymongo from 4.12.0 to 4.12.1 (#391)
dependabot[bot] May 12, 2025
f36caf6
Bump pytelegrambotapi from 4.26.0 to 4.27.0 (#392)
dependabot[bot] May 12, 2025
3458884
Bump golang.org/x/net from 0.36.0 to 0.38.0 in /yyetsweb (#390)
dependabot[bot] May 12, 2025
518de74
group it
BennyThink May 12, 2025
5905e6e
Bump the all-dependencies group across 1 directory with 6 updates (#402)
dependabot[bot] Jun 18, 2025
cf86d40
Bump requests from 2.32.3 to 2.32.4 (#400)
dependabot[bot] Jun 18, 2025
57fb124
Bump fakeredis from 2.30.0 to 2.30.1 in the all-dependencies group (#…
dependabot[bot] Jun 23, 2025
c53404a
Bump pillow from 11.2.1 to 11.3.0 (#404)
dependabot[bot] Jul 18, 2025
a4a629e
Bump the all-dependencies group across 1 directory with 8 updates (#411)
dependabot[bot] Aug 26, 2025
d16457a
Bump the all-dependencies group with 2 updates (#412)
dependabot[bot] Sep 2, 2025
2a07243
Bump pytelegrambotapi in the all-dependencies group (#413)
dependabot[bot] Sep 9, 2025
ff581da
Bump the all-dependencies group across 1 directory with 3 updates (#416)
dependabot[bot] Oct 7, 2025
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
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
mongo_data/*
certs/*
data/*
logs/*
YYeTsFE/node_modules/*
.github/*
assets/*
conf/*
tests/*
yyetsweb/yyets.sqlite
yyetsweb/subtitle_data
19 changes: 18 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
*.html linguist-vendored
yyets/worker/public/css/** linguist-vendored
yyets/worker/public/fonts/* linguist-vendored
yyets/worker/public/img/* linguist-vendored
yyets/worker/public/js/* linguist-vendored
yyets/worker/public/js/search.js -linguist-vendored
yyets/worker/public/404.html linguist-vendored
yyets/worker/public/resource.html linguist-vendored

yyetsweb/templates/css/** linguist-vendored
yyetsweb/templates/fonts/* linguist-vendored
yyetsweb/templates/img/* linguist-vendored
yyetsweb/templates/js/* linguist-vendored
yyetsweb/templates/404.html linguist-vendored
yyetsweb/templates/resource.html linguist-vendored

yyetsweb/templates/js/common.js -linguist-vendored

tests/data/* linguist-vendored
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: BennyThink
custom: https://buy.stripe.com/dR67vU4p13Ox73a6oq
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
groups:
all-dependencies:
patterns: ["*"]
80 changes: 80 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Build and push docker image
on:
push:
branches:
- 'master'
paths-ignore:
- '**.md'
- 'LICENSE'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Lower case for Docker Hub
id: dh_string
uses: ASzc/change-string-case-action@v5
with:
string: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}

- name: Lower case for ghcr
id: ghcr_string
uses: ASzc/change-string-case-action@v5
with:
string: ${{ github.event.repository.full_name }}

- name: Build and push docker images
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64, linux/arm64
push: true
tags: |
${{ steps.dh_string.outputs.lowercase }}
ghcr.io/${{ steps.ghcr_string.outputs.lowercase }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

- name: Notification to Telegram
env:
TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
curl "https://api.telegram.org/bot$TOKEN/sendMessage?chat_id=260260121&text=Normal%20Build%20complete!"
echo "YYeTsBot Build complete!"
41 changes: 38 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ MANIFEST
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
#*.spec

# Installer logs
pip-log.txt
Expand Down Expand Up @@ -110,6 +110,41 @@ venv.bak/
/.idea/modules.xml
/.idea/vcs.xml
.idea/
/data/cookies.dump
/yyetsbot/data/cookies.dump
/.idea/inspectionProfiles/profiles_settings.xml
data/
yyetsbot/data/
health_check/client.session

/tools/worker/.idea/
/tools/worker/workers-site/node_modules/*
/tools/worker/workers-site/worker/script.js
/health_check/client-hc.session
mongo_data/*
certs/*
data/*
logs/*
**/.DS_Store
/yyetsweb/yyets_sqlite.db
/yyetsweb/yyetsweb
/yyetsweb/assets.go
/yyetsweb/templates/sponsor/*
/yyetsweb/templates/svg/*
/yyetsweb/templates/index.css
/yyetsweb/templates/logo*
/yyetsweb/templates/*.json

/yyetsweb/templates/*
/yyetsweb/templates/data/*
/yyetsweb/builds/
/builds/checksum-sha256sum.txt
/yyetsweb/1.html
!/env/
!/mongo_data/
/env/yyets.env
!/docker-compose.override.yml
/docker-compose.override.yml
/yyetsweb/templates/dump/yyets_mongo.gz
/yyetsweb/templates/dump/yyets_mysql.zip
/yyetsweb/templates/dump/yyets_sqlite.zip
/yyetsweb/subtitle_data/attachment/201001/17/758231_1263706947i2nW.rar
/yyetsweb/subtitle_data/attachment/200912/4/212807_1259889699DJm8.rar
Loading