Scruel Tao
79640f6b7d
replace wired space symbol
2024-02-28 20:02:24 +08:00
Scruel Tao
2cbdf274b1
feat(config_migrate): always remove domain old key & replace old value by new value
2024-02-28 18:30:06 +08:00
Scruel Tao
6af5293315
doc: adjust
2024-02-28 02:00:07 +08:00
Scruel Tao
bd3a2b1bb5
Prevent leaving blank lines in config file after cleared keys.
2024-02-27 12:40:52 +08:00
Scruel Tao
ff090d2f74
fix lint
2024-02-26 23:45:19 +08:00
Scruel Tao
68e3a12a91
feat: improve robustness of the usage of DSM tool synogroup
2024-02-26 23:38:44 +08:00
Scruel Tao
50eda6b678
fix: lint
2024-02-26 21:07:15 +08:00
Scruel Tao
192ec598a3
feat: add SYNO_LOCAL_HOSTNAME to prevent remote deploy via temp admin method
2024-02-26 21:03:26 +08:00
Scruel Tao
5b449999a5
refactor: unify variable naming convention again (revert some changes)
2024-02-26 20:55:49 +08:00
Scruel Tao
afed62f6de
fix: should save SYNO_UseTempAdmin only after login success.
2024-02-26 07:05:00 +08:00
Scruel Tao
59d1e16f9c
feat: bypass enforce temp admin 2FA
2024-02-26 06:23:47 +08:00
Scruel Tao
dbe0d477d6
feat: more user-friendly logic & error messages.
2024-02-26 06:23:46 +08:00
Scruel Tao
7248560169
feat: support DSM 6.x
2024-02-26 06:23:45 +08:00
Scruel Tao
f840f7d75b
refactor: unify variable naming convention
2024-02-26 06:23:42 +08:00
Scruel Tao
cf3839ecec
doc(deploy): update usage doc
2024-02-22 12:38:51 +08:00
Scruel Tao
29b2960805
Optimze comment & remove tail space
2023-09-07 15:01:37 +08:00
Scruel Tao
f7f3a0bf0d
Merge branch 'dev' into syno-patch
2023-09-07 14:57:53 +08:00
Scruel Tao
ba468bb5e4
Fix for shfmt check
2023-07-20 13:38:36 +08:00
Scruel Tao
cf86d57a9f
Fix for shfmt check
2023-07-20 13:34:57 +08:00
Scruel Tao
9e958f4e32
Fix shellcheck
2023-07-20 13:09:21 +08:00
Scruel Tao
c7f6f20c9d
Add SYNO_USE_TEMP_ADMIN variable & Fix broken logic
...
1. Fix the broken logic in (Sorry for including fix commit in same PR, I'm feeling quite tired and would like to go to sleep right away...)
2. Provides new method to obtain credential info for authentication, it will create a temp admin user if SYNO_USE_TEMP_ADMIN is set, instead of requiring the user's own credentials which will be saved in disk.
I do really don't like to have plaintext credentials be saved in disk, and I noticed that you've spent a lot of time fighting with 2FA related stuffs, so why not just get rid of the whole old way. :)
2023-07-20 02:48:29 +08:00