Commit Graph

639 Commits

Author SHA1 Message Date
qier222
c4219afd3d
chore: 用esbuild代替vite来打包main 2022-03-29 16:52:53 +08:00
qier222
b4590c3c34
feat: 搜索页面和一堆更新 2022-03-29 00:12:01 +08:00
BakerBunker
4d7bc14827
feat: 支持二维码登录 (#1443)
* fix: 使用replaceAll和正则来替换HTTPOnly

* feat: 支持二维码登录

* fix: 不使用replaceAll

* refactor: 使用react-query重写二维码登录

* refactor: 用useMemo来计算 qrCodeUrl

* update

* update

* update

* update
2022-03-27 16:04:09 +08:00
memorydream
9f890072d3
fix: 专辑页面歌名翻译被换行 (#1447) 2022-03-27 16:02:39 +08:00
qier222
b5f681631e
feat: updates 2022-03-27 15:21:51 +08:00
BakerBunker
74dcb36e67
feat: 支持邮箱登录 (#1438) 2022-03-24 22:52:07 +08:00
qier222
46349e8314
feat: updates 2022-03-24 14:24:41 +08:00
memorydream
3b9d728410
feat(utils/player): 播放、暂停时淡入淡出 (#1433)
Co-Authored-By: pan93412 <pan93412@gmail.com>

Co-authored-by: pan93412 <pan93412@gmail.com>
2022-03-24 12:19:33 +08:00
memorydream
7ac084f73d
fix: 歌手页 & 歌手页链接 (#1434)
* fix: 禁止打开id为0的歌手页

* feat: 当歌手没有专辑时,不在歌手页中显示专辑 & 热门歌曲默认禁用滚动条

* fix

* fix: 根据建议进行修改
2022-03-24 11:52:55 +08:00
qier222
36603dc3a0
feat: 增加歌手页面 2022-03-23 01:22:51 +08:00
memorydream
7d20e6c5de
fix(pages/Login): email 输入框深色模式 (#1429) 2022-03-22 01:39:58 +08:00
memorydream
3de55936a5
fix(components/ArtistsInline): 限制可用布局空间 & 使用歌手名字作 key (#1428) 2022-03-21 18:18:17 +08:00
qier222
1b05297885
feat: updates 2022-03-21 02:03:25 +08:00
qier222
fb21405bf9
feat: updates 2022-03-19 17:31:25 +08:00
memorydream
08abf8229f
feat: updates (#1419)
* feat: TrackList 高亮播放中Track & Track 子标题(歌名翻译)

* fix: 不对id为0的歌手应用下划线

* feat: TrackList的Track支持深色模式

* fix: typo

* feat: 专辑页面的subtitle支持深色模式

* fix: typo

* feat: 在TrackList中高亮播放Track里的歌手信息
2022-03-18 14:13:56 +08:00
qier222
e3486ab550
feat: updates 2022-03-17 19:30:43 +08:00
pan93412
d96bd2a547
chore: Migrate to PNPM (#1418)
* refactor: migrate to PNPM

* refactor: remove unused import

* chore: update lock

* refactor!: remove yarn.lock

* fix(config/electron-builder): ignore pnpm-lock.yaml

* chore: upgrade dependencies
2022-03-17 15:33:29 +08:00
qier222
f54d2ded5c
feat: updates 2022-03-17 14:45:04 +08:00
qier222
950f72d4e8
refactor: version 2.0 (React) 2022-03-16 18:46:08 +08:00
memorydream
7dad7d810a
fix: 修复部分按钮失效的问题 (#1380) 2022-03-06 11:55:57 +08:00
pan93412
596204dc58
build(ci): 加上 dependencies 快取
順帶將 setup-node 升級至 v3。
2022-02-26 16:05:18 +08:00
pan93412
6ed5f274e6
build(ci): 將 Node.js 的版本切換至 v16 2022-02-26 16:04:57 +08:00
pan93412
b65a8b9da0
chore: 更新 lockfile
使用 yarn upgrade 更新部分 dependencies。
2022-02-26 16:04:00 +08:00
郭桓桓
8e68d7e796
chore(license): update copyright year (#1354) 2022-02-26 12:29:18 +08:00
pan93412
3d5d40c476
feat(components/Navbar): 自訂和微調各系統的 titlebar (#1343)
* feat: linux custom titlebar
* add settings init
* Update zh-TW.js
* fix: color

Co-authored-by: memorydream <34763046+memorydream@users.noreply.github.com>
2022-02-25 07:36:56 +08:00
pan93412
3e1dc62fa0
chore: 更新依賴、更換為 prettier 新規則 (#1340)
* chore: upgrade dependencies
* style: prettier
2022-02-25 07:36:13 +08:00
Chuwen
76b358445e
build: 优化打包体积 (#1323)
* 移除生产环境不必要的 map 文件
* webpack 添加 LimitChunkCountPlugin 用以解决 chunk 包太多的问题
2022-02-23 23:26:37 +08:00
qier222
91b4e08449
build: release v0.4.4-beta.1 2022-02-03 22:29:38 +08:00
memorydream
80b19192c3
fix(views/lyrics): don't open empty artist link (#1286) 2022-02-03 20:37:18 +08:00
CNawalol
d15b58d805
feat: mpris support (#1279)
* feat: mpris support

* fix: 修复网页版无法播放

* fix: 修复在 Player.js 里 ipcRenderer 为空时引发的错误

* docs: update README

* docs: update README

Co-authored-by: memorydream <34763046+memorydream@users.noreply.github.com>
2022-01-30 00:37:12 +08:00
pan93412
5a5fb1f191
refactor(ncmapi): use upstream version (#1278)
* refactor(ncmapi): use upstream version

FIXME: After #1457 released,
switch to the NPM version.

* fix(docker): install NeteaseCloudMusicApi early

* fix: remove useless submodule entry

* fix(ncmapi): update to 4.5.2
2022-01-30 00:19:55 +08:00
memorydream
c8b9c0dae8
fix(utils/lyrics): format 2022-01-28 15:17:34 +08:00
memorydream
769ba47a1d
fix(utils/lyrics): [min:sec] timestamp lyrics parse (#1277)
* fix(utils/lyrics): [min:sec] timestamp lyrics parse

* refactor(utils/lyrics): simplify time expression

* style(utils/lyrics): remove duplicate space

Co-authored-by: pan93412 <pan93412@gmail.com>
2022-01-28 14:54:40 +08:00
pan93412
8a6c13e62f
refactor(utils/lyrics): support multi-timestamp lyrics (#1268)
* refactor(utils/lyrics): support multi-timestamp lyrics

Fully rewrited and improved the performance.

* refactor(utils/lyrics): remove useless .map

* fix(utils/lyrics): enhance the extraction logic
2022-01-27 16:25:45 +08:00
memorydream
7b7b8745b6
fix: netease_api install and prettier (#1267) 2022-01-27 11:17:15 +08:00
memorydream
171f4708d8
remove comment 2022-01-27 01:49:18 +08:00
pan93412
9ae5e4f059
fix(utils/lyrics): do not preserve the empty lyric 2022-01-27 00:07:09 +08:00
pan93412
3ddfe9c3bb
refactor(utils/lyrics): better parsing logic 2022-01-26 23:41:53 +08:00
pan93412
1c7344beaf
fix(build): try to fix up the ARM64 build issue
https://github.com/qier222/YesPlayMusic/runs/4950356054
2022-01-26 20:38:21 +08:00
pan93412
240c1560db
feat(ci): also build on "ci/" branch 2022-01-26 18:35:26 +08:00
pan93412
6af6b86e87
build: add arm64 support for Linux 2022-01-26 18:27:38 +08:00
pan93412
50171911f9
chore: upgrade electron to 13.6.7 2022-01-26 18:15:28 +08:00
pan93412
e6abbe244b
refactor(babel): use corejs 2022-01-26 18:15:28 +08:00
pan93412
ebd863f5b6
refactor(ncmapi): manage NCMAPI with submodule
also:
  - docs: tells user to clone repo recursively
  - feat(ci): clone recursively
  - feat(ncmapi): backport my change
    https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1453
  - refactor: rewrite startNeteaseMusicApi()
2022-01-26 18:13:55 +08:00
pan93412
d5ffacae3a
fix(npm): forcibly resolve 'icon-gen' to v3
Seems like no any API breaking changes in icon-gen v3.
Besides, we can throw phantomjs away.

Fix #1265
Fix #1260
2022-01-26 09:41:01 +08:00
Rick
a870dc3185
fix: docker build failed (#1259)
* fix: docker build failed #1258

* refactor(docker): maximum the usage of cache

* fix(docker): "RUN" repeats two times

Fix #1258

Co-authored-by: pan93412 <pan93412@gmail.com>
2022-01-22 21:07:33 +08:00
Wenqi Huang
4b22651a07
fix: set "onend" callback for howler properly (#1249)
Fix #1090
2022-01-22 20:39:26 +08:00
memorydream
75fed70c38
fix: retry when personalFM not found data (#1231)
* fix: retry when personalFM not found data

* fix

* fix: retry count
2022-01-17 23:23:39 +08:00
memorydream
d716bb8cde
feat: refactor tray (#1227)
* feat: support set tray icon tooltip info

* fix: name

* refactor tray impl and add tray playing state change

* fix: linux impl

* add pause icon

* add tray like state

* fix

* fix: linux impl

* better pause icon
2022-01-17 23:23:21 +08:00
memorydream
3cbb8d9b25
fix: wrong trim all white space lyric (#1233) 2022-01-17 21:12:40 +08:00