Commit graph

5766 commits

Author SHA1 Message Date
shenleban tongying 673911b1c5
feat: auto dark reader mode that sync with system theme 2024-11-05 23:39:08 -05:00
shenleban tongying b6fa66df92
refactor: prepare config code to implement auto dark (reader) mode
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 03:27:19 +00:00
xiaoyifang 2f48993594 opt: rearrange some code execution order 2024-11-06 10:11:21 +08:00
xiaoyifang 9315dda365
Merge pull request #1905 from xiaoyifang/opt/custom-js-defer
opt: make custom javascript delay execution
2024-11-06 09:57:43 +08:00
xiaoyifang 1418f9ab9e opt: make custom javascript delay execution 2024-11-06 09:09:18 +08:00
shenleban tongying 6efdb09b1a clean: add override to satisfy clang's Winconsistent-missing-override
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-05 17:27:15 -05:00
xiaoyifang d4cc838652
opt: move special GroupIDs to a seperate enum (#1900)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: move groupid to a seperate namespace

* opt: move groupid to a seperate namespace

* Update src/config.hh

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-11-05 13:51:53 +08:00
xiaoyifang c8b6a6b6c5
Update topic_userstyle.md (#1899)
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
* Update topic_userstyle.md

* Update topic_userstyle.md

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-11-04 21:11:01 +08:00
xiaoyifang 3f6819b049
Merge pull request #1898 from xiaoyifang/opt/compiler-version
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
opt: [win] update Windows compiler name
2024-11-04 17:05:28 +08:00
xiaoyifang a56cfb8d3a opt: [win] update Windows compiler name 2024-11-04 16:55:32 +08:00
xiaoyifang dd22c913e2
New Crowdin updates (#1884)
* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin
2024-11-04 13:58:01 +08:00
xiaoyifang 39aef4c4de
opt: extract GDWORD replace logic (#1889)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
* opt: extract GDWORD replace logic


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-02 20:18:11 +08:00
xiaoyifang 5ab89cac8c
Merge pull request #1891 from xiaoyifang/opt/dictionary-website-gdword
opt: remove dictionary website extra word placeholders
2024-11-02 20:17:32 +08:00
xiaoyifang b7406e0f6f
opt: hide website [as link] column (#1893)
* opt: hide the [As link] column
2024-11-02 20:14:08 +08:00
xiaoyifang 1a25090bba opt: remove dictionary website extra word placeholders 2024-11-02 14:14:39 +08:00
xiaoyifang 3909b59d9f
opt: refactor code in articleview (#1888)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
refactor code 

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 18:02:06 +08:00
xiaoyifang 6b33178829
opt: extract GroupBackup structure to store the old group info (#1883)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: backup group info

* opt: remove updateNames condtion

* opt: rename variable origCfg to a more friendly name

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 10:52:45 +08:00
xiaoyifang 8a92cbf34a
fix: duplicate dictionary in config file (#1886)
* fix: duplicate dictionary in config file

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 10:25:29 +08:00
xiaoyifang 19bcd94834
New Crowdin updates (#1880)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations Czech from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Hungarian from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Korean from Crowdin

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Spanish, Argentina from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto from Crowdin

* New translations Lojban from Crowdin

* New translations German, Switzerland from Crowdin

* New translations Spanish, Bolivia from Crowdin

* New translations Tajik from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Arabic, Saudi Arabia from Crowdin

* New translations Turkmen from Crowdin

* New translations Interlingue from Crowdin

* New translations Kabyle from Crowdin

* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations Czech from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Hungarian from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Korean from Crowdin

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto from Crowdin

* New translations Tajik from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Turkmen from Crowdin
2024-10-29 08:21:51 +08:00
YiFang Xiao 1745faa298 i18n: update crowdin.ts
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-10-28 22:08:12 +08:00
xiaoyifang 89ba441b35
opt: unify the small large icon actions (#1879)
* opt: unify the small large icon actions
2024-10-28 22:02:18 +08:00
xiaoyifang 12dbfb5423
Merge pull request #1876 from xiaoyifang/fix/mdx-empty-title
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
fix: [mdx] use file name as  dictionary name when title has not been set
2024-10-28 08:36:03 +08:00
YiFang Xiao 2ca5568b84 fix: [mdx] use file name as dictionary name when title has not been set 2024-10-28 00:04:53 +08:00
xiaoyifang 15207cf400
opt: reply remove unnecessary signal (#1866)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
* opt: remove unnecessary signal



---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-10-26 11:35:27 +00:00
alex4814 7229faeec7
fix: default content directory in portable mode (#1872)
* fix: default `content` directory in portable mode

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-26 19:29:39 +08:00
xiaoyifang 939e786331
opt: [mdx]js script with defer attribute (#1869)
* fix: [mdx] dictionary script element with defer
2024-10-26 19:28:16 +08:00
shenleban tongying 757b81f66d
fix: revert Qt from 6.7.3 to 6.7.2 for Speex audios
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-10-26 02:02:02 -04:00
shenleban tongying 8818132788 fix: revert to Qt from 6.7.3 to 6.7.2 to deal Speex audios 2024-10-26 01:56:31 -04:00
xiaoyifang 2f68251b11
New Crowdin updates (#1825)
* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin

* New translations Belarusian from Crowdin

* New translations Kabyle from Crowdin
2024-10-26 11:25:20 +08:00
xiaoyifang 132552b0a2
Merge pull request #1863 from xiaoyifang/fix/full-search-match-count
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
deploy_website / deploy (push) Has been cancelled
fix: full text search panel status label
2024-10-24 21:34:20 +08:00
xiaoyifang 01b9814760
opt: rewrite the logic of determine the existence of audio link (#1860)
* opt: rewrite the logic of determine the existence of audio link



---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-24 13:32:21 +00:00
xiaoyifang e749a6077f
fix: disable anchor default behavior (#1857)
* fix: prevent anchor link default behavior (in mdx dictionary)
2024-10-24 21:05:59 +08:00
Xiao Yi Fang cf057eae66 fix: full text search panel status label 2024-10-24 18:04:36 +08:00
xiaoyifang 047f725858
opt: update doc (#1861)
* doc: update doc
2024-10-24 17:24:01 +08:00
shenleban tongying 587f48c6b3
update docs
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Waiting to run
2024-10-23 22:49:11 +00:00
xiaoyifang c846c5d89b
opt: log more info about the stream (#1858)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: log more info about the stream

* opt: log more info about the stream

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-23 21:37:44 +08:00
xiaoyifang 66a45f975e
opt:optimize the openLink method (#1853)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: optimize the resourcedownload logic


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-23 21:29:28 +08:00
xiaoyifang 426950fc10
opt: optimize the audio auto pronounciation logic (#1846)
* opt: optimize the audio play logic
2024-10-23 20:14:11 +08:00
xiaoyifang b39397a544
Merge pull request #1856 from xiaoyifang/fix/unset-cursor
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
fix: even loadfinised=false, the cursor will also have to be unset
2024-10-23 11:14:59 +08:00
autofix-ci[bot] 7bcb2372b9 [autofix.ci] apply automated fixes 2024-10-23 11:07:31 +08:00
Xiao Yi Fang 36f181547f fix: even loadfinised=false, the cursor will also have to be unset 2024-10-23 11:07:31 +08:00
xiaoyifang 245cb10880
opt: when the marked word is CJK / Han, mark it partially (#1852)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: when the marked word is Chinese,mark it partially

* [autofix.ci] apply automated fixes

* Update src/ui/articleview.cc

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-10-23 00:33:44 +00:00
xiaoyifang 3e16a0cccf
Merge pull request #1854 from xiaoyifang/opt/clean-unused-parameter
opt: remove unused parameter
2024-10-23 08:23:58 +08:00
Xiao Yi Fang 389471f5fa opt: remove unused parameter 2024-10-22 18:06:43 +08:00
xiaoyifang 60adc6ef75
opt: remove audio search logic in the current group (#1851)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: remove audio search logic in the current group
2024-10-22 14:15:17 +08:00
shenleban tongying 0146c72d99 Revert "clean: open and resave all .ui files to adapt Qt6 Designer's enum c…"
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
This reverts commit a5ce8dbcfd.
2024-10-21 20:14:36 -04:00
shenleban tongying e6edd34c3a
clean: use vanilla JS instead of jQuery
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-10-21 04:52:49 +00:00
shenleban tongying ad6a0472cc fix change log generation again
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-10-19 17:06:20 -04:00
shenleban tongying a4e49e9152
fix change log generation 2024-10-19 20:32:26 +00:00
shenleban tongying 5173653b63
action: merge all release workflows into one 2024-10-19 20:01:58 +00:00