From 0f118852bfc7983e9bee786d845c1e86169f9ad6 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 29 Apr 2024 16:57:34 +0000 Subject: [PATCH 01/26] chore(release): 4.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [4.0.0](https://github.com/wizarrrr/wizarr/compare/v3.5.1...v4.0.0) (2024-04-29) ### ⚠ BREAKING CHANGES * begin 4.x.x versioning ### New Features * ✨ :sparkles: Emby users can now set max streams ([3b0d4e0](https://github.com/wizarrrr/wizarr/commit/3b0d4e003d2e40a59cbd8c52f3cb4d0b868cecb7)) * 🎉 :sparkles: Added Emby Support ([c882992](https://github.com/wizarrrr/wizarr/commit/c882992bda7799b97f98c6c4f6fd0e4d7d4e7db7)) * 🎉 :sparkles: Scanning in Emby users now attaches connect email as user email ([46d6f22](https://github.com/wizarrrr/wizarr/commit/46d6f226b0cc09713fec0d4e107ed6f4e67e59a9)) * 🎉 Live TV can now be enabled/disabled for Jellyfin/Emby invites ([8723d1c](https://github.com/wizarrrr/wizarr/commit/8723d1ce34cc7159ddef014837d54cd9afb307ff)) * 🎊 :sparkles: Emby and Jellyfin now update username/email on an updated scan ([7c158ca](https://github.com/wizarrrr/wizarr/commit/7c158caaec967e0863ba3f5ced73dca21ef1047e)) * 🚑 added ability to specify concurrent sessions on jellyfin ([#378](https://github.com/wizarrrr/wizarr/issues/378)) ([062bc6b](https://github.com/wizarrrr/wizarr/commit/062bc6b5e0fa791d28973933c7752f54348cb0f8)), closes [#377](https://github.com/wizarrrr/wizarr/issues/377) * finshed backend password change ([5b1ce2e](https://github.com/wizarrrr/wizarr/commit/5b1ce2e9818cbc8b393623f6642a7b3f4b832e65)) * password reset frontend done, backend started ([d15e0a1](https://github.com/wizarrrr/wizarr/commit/d15e0a1660ef67e5ac294fc375ae989a7d362db8)) * **wizarr-frontend:** 🚀 Add extended labels to buttons ([72c7dc4](https://github.com/wizarrrr/wizarr/commit/72c7dc4f11ad0ff8d2dba3b47071163bc269f4e0)) ### Bug Fixes * 🐛 :bug: Fixed issue where Emby/Plex would error on creating an invite ([eb54d32](https://github.com/wizarrrr/wizarr/commit/eb54d326e5d6add26fb705cb19448f32e12574c1)) * 🐛 :memo: Fix the form being the wrong namr ([602d5d1](https://github.com/wizarrrr/wizarr/commit/602d5d1b2d41152316efd3d13e0c92f2310959f1)) * 🐛 refactor server_api.py and software_lifecycle.py for better exception handling ([8cf2b32](https://github.com/wizarrrr/wizarr/commit/8cf2b329a8aeb4a27b783a454a2a58e02230e294)) * 🐝 :bug: Remove trailing slashes on server URL's ([c4cfd77](https://github.com/wizarrrr/wizarr/commit/c4cfd77f5741fb4a25006948e5facc016c76ddc2)) * 🐝 Corrected Live TV for Jellyfin ([1b94a6e](https://github.com/wizarrrr/wizarr/commit/1b94a6eaee7205350a22b53ebf61af2d0e620c61)) * 🐝 update toast can now be dismissed ([f2585ca](https://github.com/wizarrrr/wizarr/commit/f2585ca30c5e200e7cffb03abe7bf853db2f56a9)) * 🩹 :art: Resolved scaling of theme selector on help wizard ([ccf75fc](https://github.com/wizarrrr/wizarr/commit/ccf75fc91069a7ffc05d078a75fd3cfcb40c3940)) * 🩹 :bug: Fixed copy server URL when override set ([ab5e680](https://github.com/wizarrrr/wizarr/commit/ab5e6804a3f054a48595dc187158ad7a309cb5b3)) * 🩹 :bug: Fixed issue where Jellyseerr could not be selected for Emby servers ([83c381a](https://github.com/wizarrrr/wizarr/commit/83c381a0707fdcbf31f2ee101c5fa405edd9bec6)) * 🩹 :fire: Removed remaining label ([268fda9](https://github.com/wizarrrr/wizarr/commit/268fda9612584591b50926409c0e8b9be57449bc)) * 🩹 change delete user call to emby function ([139cf86](https://github.com/wizarrrr/wizarr/commit/139cf86053198efa1c9f800cb414998a416a2852)) * 🩹 Default Live TV checkbox to enabled to reflect Jellyfin/Emby default ([1cba8c3](https://github.com/wizarrrr/wizarr/commit/1cba8c3fea60c8962aea6570e8984b79069ab518)) * 🩹 Fixed error which occured when using LDAP ([1ba2e0a](https://github.com/wizarrrr/wizarr/commit/1ba2e0a1246cb58785665dfa3954f83ee883c285)) * **backend:** user sync error on plex managed/guest users ([#357](https://github.com/wizarrrr/wizarr/issues/357)) ([1467046](https://github.com/wizarrrr/wizarr/commit/146704609d64ba13d1c8a7d80a80fd09e55bfd50)) * **discord-release-alert:** 🐛 mentions failing in embeded payload ([8e87c41](https://github.com/wizarrrr/wizarr/commit/8e87c414a9d333e0c9dcf0722d794b83658e5d08)) * **frontend:** 🐛 users without token no longer cause error on scan ([#344](https://github.com/wizarrrr/wizarr/issues/344)) ([05ce4f5](https://github.com/wizarrrr/wizarr/commit/05ce4f5de529993f2cbfc35439f27ddb7933fa73)) * **frontend:** cant remove discord widget id ([#347](https://github.com/wizarrrr/wizarr/issues/347)) ([fefcb06](https://github.com/wizarrrr/wizarr/commit/fefcb065486c9ec7809167744867c66034df208a)) * remove latest info widget ([#353](https://github.com/wizarrrr/wizarr/issues/353)) ([37e21fe](https://github.com/wizarrrr/wizarr/commit/37e21fe98562ec1a9bfec971b251a8a68f429d70)) * **wizarr-backend:** 🚑 added password strength test ([ff83c30](https://github.com/wizarrrr/wizarr/commit/ff83c30302ee44c9113d1419b15358b85b1d8cc9)) ### Performance Improvements * 🚀 :sparkles: Changed to use floating vue ([ce0b92f](https://github.com/wizarrrr/wizarr/commit/ce0b92f6359fda7d470033551b4ee68ab3915e40)) * **test:** changelog ([7eacd08](https://github.com/wizarrrr/wizarr/commit/7eacd0820d5c7044378f7247b8b8228911738786)) ### Build System * **deps:** 🔨 🏗️ update browserslist to latest ([b9b95bc](https://github.com/wizarrrr/wizarr/commit/b9b95bc45c091570a99b75b401f92579807db3ca)) * **npm:** add conventionalcommit changelog package ([633868a](https://github.com/wizarrrr/wizarr/commit/633868acbce4f8e5e92c2a9871bbef52dd8a990b)) * **semantic-release:** 👷 add explict typing for changelog ([62ef792](https://github.com/wizarrrr/wizarr/commit/62ef7927f7f96a70c6b77d5e19ff455853dc14ca)) * **semantic-release:** 👷 update discord webhook payload to [@dev-updates](https://github.com/dev-updates) ([d0886bf](https://github.com/wizarrrr/wizarr/commit/d0886bfb2da5132e595ac9a9c6b3afc18bb0cd53)) * **semantic-release:** 🧱 add other commit types to changelog ([6b49b2a](https://github.com/wizarrrr/wizarr/commit/6b49b2af17b9f197c6845e0b70ed6c25088812e8)) * **semantic-release:** use conventioncommits preset ([582982f](https://github.com/wizarrrr/wizarr/commit/582982fe714211d095993b2d6310530b7ec1256b)) * **test:** changelog ([54955f5](https://github.com/wizarrrr/wizarr/commit/54955f54aee96709cb4d50c8ba649e4db5c854cd)) ### Continuous Integration * 🔧 auto merge release branch back into beta ([43b4c9d](https://github.com/wizarrrr/wizarr/commit/43b4c9d04574e974b4f1a2f16c1f02edbe5e476f)) * 🔧 fix missing apostrophe causing action fail ([429b4f6](https://github.com/wizarrrr/wizarr/commit/429b4f6659d193429c2bb3eba42414d88d1c6434)) * 🔧 update action naming to better align with workflow ([a7ab17a](https://github.com/wizarrrr/wizarr/commit/a7ab17a06146780695eefcacb2cd025e16800a13)) * 🧪 fix nightly action name ([291cb18](https://github.com/wizarrrr/wizarr/commit/291cb1877540f8db5654c4bf9b48e0dd1310f446)) * 🧪 nightly image builds off develop branch ([05d5331](https://github.com/wizarrrr/wizarr/commit/05d5331ee3b96fd3174d5d67b1078e48884e3365)) * **semantic-release:** 🔧 explicity define breaking changes ([b144ff2](https://github.com/wizarrrr/wizarr/commit/b144ff21185fc2c4699d75b1631339e4c240985d)) * **test:** changelog ([24e565f](https://github.com/wizarrrr/wizarr/commit/24e565f4014e7fc7397c6bdee2b2b13604d899c5)) ### Chores * 🧹 bump db migration script version/date ([a71ada5](https://github.com/wizarrrr/wizarr/commit/a71ada5126c78a6cdb772d46aa355c9a4c2c5546)) * 🧺 :pencil2: Fixed a type with the setup finalisation ([00d6143](https://github.com/wizarrrr/wizarr/commit/00d6143986d1564a40d276cc7a083a828e5ca4c5)) * 🧽 add unRaid support ([71c00e1](https://github.com/wizarrrr/wizarr/commit/71c00e189d77105ba7c05cb8ebc2d4e9ad118968)) * 🧽 fix versioning file ([66cef97](https://github.com/wizarrrr/wizarr/commit/66cef9765dae0a67f26fa64ef1a73687e3cb5b77)) * 🧽 remove changelog test file ([3191b0a](https://github.com/wizarrrr/wizarr/commit/3191b0a0c59bd4ba89c4684d5e9bf1641c970ebf)) * 🧽 update visibility of hidden beta items ([f44ea0b](https://github.com/wizarrrr/wizarr/commit/f44ea0b4341c2f123a5b23e6c37c9031f0622ce5)) * clean up unused refrences ([7b97be4](https://github.com/wizarrrr/wizarr/commit/7b97be4d8a21649c7ec7c524024280883d9a16f1)) * **gitignore:** add nvm versioning file ([daa8e6c](https://github.com/wizarrrr/wizarr/commit/daa8e6cf39414c37945b13254591153835e3c37b)) * **release:** 3.5.1-beta.7 ([3a26ead](https://github.com/wizarrrr/wizarr/commit/3a26ead6563c789faaa5682a488884b5d876b166)) * **release:** 4.0.0-beta.1 ([3a90b8d](https://github.com/wizarrrr/wizarr/commit/3a90b8d1a3af6141d0dccf6f6a04f8cfde57ce70)), closes [#357](https://github.com/wizarrrr/wizarr/issues/357) [#344](https://github.com/wizarrrr/wizarr/issues/344) [#347](https://github.com/wizarrrr/wizarr/issues/347) [#353](https://github.com/wizarrrr/wizarr/issues/353) * **release:** 4.0.0-beta.2 ([d6bd390](https://github.com/wizarrrr/wizarr/commit/d6bd39001e88c829ae9aec1ac2deabf79fde96c8)) * **release:** 4.0.0-beta.3 ([709e009](https://github.com/wizarrrr/wizarr/commit/709e0097c817c28580c5d17d88d75162bb264463)) * **release:** 4.0.0-beta.4 ([6e9ba8d](https://github.com/wizarrrr/wizarr/commit/6e9ba8d91ede69087ddb474e871549a68fdddca7)) * **release:** 4.0.0-beta.5 ([a74aafd](https://github.com/wizarrrr/wizarr/commit/a74aafdd62ea9e6538401fa3a52157055652b7d6)) * **release:** 4.0.0-beta.6 ([9dc466a](https://github.com/wizarrrr/wizarr/commit/9dc466a15b5d7ca450235d308e465cc795700739)) * **release:** 4.0.0-beta.7 ([cd74551](https://github.com/wizarrrr/wizarr/commit/cd745511690599114026a7d04e3c1307489d446b)) * **release:** 4.0.0-beta.8 ([0f5d8e0](https://github.com/wizarrrr/wizarr/commit/0f5d8e09fa4159ea5517b8b85ffccf1c140db7b1)), closes [#377](https://github.com/wizarrrr/wizarr/issues/377) * **release:** 4.0.0-beta.9 ([724755e](https://github.com/wizarrrr/wizarr/commit/724755ef40b011856e689f526617934521e6be18)) * start of v4 development 🎆🎆 ([80e95dc](https://github.com/wizarrrr/wizarr/commit/80e95dc0fdde4c04d3175f6fb863c12c8cb5bbd3)) * **translations:** 🧺 extract strings ([a96a18f](https://github.com/wizarrrr/wizarr/commit/a96a18fef6a3eb9c9e7637250103fbeec8300980)) * **workspace:** 🧹 add commit editor extension and config ([423c59c](https://github.com/wizarrrr/wizarr/commit/423c59ca88ca6dc2bdb0c7a677f655f6da4c34a8)) * **workspace:** 🧺 add nx console extension ([7bc90d1](https://github.com/wizarrrr/wizarr/commit/7bc90d1c3c18c9e843854c54ca48c8971615ccdb)) ### Documentation * 📖 :memo: Corrected grammatical issues with Download page on Jellyfin ([0ba2a78](https://github.com/wizarrrr/wizarr/commit/0ba2a78aa93c9f0616f81fb620a1a7ef581f66b8)) * 📚 :memo: Fixed Emby showing in the Jellyfin download page ([4302699](https://github.com/wizarrrr/wizarr/commit/43026990eb3a1254ad08104c75a96d291382c2a6)) * 📚 refactor portions of contribution guide ([07ae431](https://github.com/wizarrrr/wizarr/commit/07ae4311ab776fdeaba1ba1e571deefb1284a9d5)) * 📚 update build badge for new action names ([a218de1](https://github.com/wizarrrr/wizarr/commit/a218de13df9f2a3ac85d274d375966119337ac0c)) * 📝 create contribution guide in project root dir ([619a97b](https://github.com/wizarrrr/wizarr/commit/619a97b2be9523acb97276af6f27b5789e11fb72)) * added warning against modifying the $server_name variable ([e27f375](https://github.com/wizarrrr/wizarr/commit/e27f3754f93482df930ee2fe1058078963fa81fa)) * readme/setup/unraid refactor ([#364](https://github.com/wizarrrr/wizarr/issues/364)) ([afc180d](https://github.com/wizarrrr/wizarr/commit/afc180dd5e547abd9f157be6bf79449981faa60f)) * **readme:** 📚 update discord release channel ([7d8afc9](https://github.com/wizarrrr/wizarr/commit/7d8afc9cb6d0d21baaeaa7db5da3cc85b655d286)) * **readme:** fix build badge ([97116ee](https://github.com/wizarrrr/wizarr/commit/97116ee5efa5188f4e59e1a6e133a7ae7d1db1da)) * refactor contribution guide ([642b3cd](https://github.com/wizarrrr/wizarr/commit/642b3cd8cf815318f16d055736884dfdd462a252)) * **test:** changelog ([a09f31c](https://github.com/wizarrrr/wizarr/commit/a09f31ccdd97ca2738eb9ec0874c6ead420c4c6c)) * **test:** changelog ([4a479e5](https://github.com/wizarrrr/wizarr/commit/4a479e5e994cdbf8fe29c73b834c578763866bcf)) ### Style Changes * 🎨 new wizarr logo/branding ([#361](https://github.com/wizarrrr/wizarr/issues/361)) ([864a3df](https://github.com/wizarrrr/wizarr/commit/864a3dfc6e69ec2faa7ed354bef4360231b5f303)) * 💎 minor corrections to discord alert payload ([c03c2cf](https://github.com/wizarrrr/wizarr/commit/c03c2cf2750e1e6c7e70bca46d56ac1fbe9094f2)) * 💎 simplify image tag condition ([8930479](https://github.com/wizarrrr/wizarr/commit/893047977c744d6d3b0d1f7a2103df3e31051c02)) * add specifc image tag targeting beta/latest ([71da180](https://github.com/wizarrrr/wizarr/commit/71da180731eec9f79d5ead5b1e8def3cc17a3135)) * another correction for the backticks ([428fec7](https://github.com/wizarrrr/wizarr/commit/428fec715190991e321469dd4d2c4be15ee8f622)) * backticks corrected ([eb4259a](https://github.com/wizarrrr/wizarr/commit/eb4259a235d7a319dd340c86223385c53cf81ca4)) * **discord-webhook:** 🎨 role mentions for new channel structure ([2c30e4c](https://github.com/wizarrrr/wizarr/commit/2c30e4c8fa0c32df439f5ca21140381e566aa8ef)) * fix apostrophe usage ([3be097c](https://github.com/wizarrrr/wizarr/commit/3be097c8de1f50fc9efbe448d47d665618dd2b23)) * fix backticks reaking payload formatting ([0ebf1c7](https://github.com/wizarrrr/wizarr/commit/0ebf1c7bacf81fef88fba9d9fc63de2d12c7a99f)) * removed an extra space ([c96e72e](https://github.com/wizarrrr/wizarr/commit/c96e72e4bedbaaec782e9cedc839d078f470082b)) * simplify image tag statement check ([96a18ae](https://github.com/wizarrrr/wizarr/commit/96a18ae5754f725380cfee27a4cc85ba119b3369)) * **test:** changelog ([463db02](https://github.com/wizarrrr/wizarr/commit/463db0299a5c01b35ba1c523199a046f45c94506)) * update discord webhook message ([d8310a7](https://github.com/wizarrrr/wizarr/commit/d8310a74b06644b59c4907d5ae1b19637cfa196c)) * Updated logo with mustache ([#363](https://github.com/wizarrrr/wizarr/issues/363)) ([86827b3](https://github.com/wizarrrr/wizarr/commit/86827b33fd7c290616344b048b9912599620c6f1)) ### Code Refactoring * 📦 :lipstick: Added password meter to new password field ([e35680a](https://github.com/wizarrrr/wizarr/commit/e35680a0427908f4be12c6edc6bdf678457a94c7)) * 📦 :zap: Remove membership and live chat ([3b08550](https://github.com/wizarrrr/wizarr/commit/3b085502a6ff846aedb82cd8d36834a34bce2399)) * 📦 added tooltip to scan server in media server settings ([2fdfab2](https://github.com/wizarrrr/wizarr/commit/2fdfab28f35e2d1b57b8fb2c322cc392bf3165ea)) * 📦 hiding unimplemented features ([5c7082f](https://github.com/wizarrrr/wizarr/commit/5c7082f757936c0fd0229ebbda9fbf3b317b76f7)) * 🔧 :memo: Added warning about open collective ([ae29be3](https://github.com/wizarrrr/wizarr/commit/ae29be356716fc862c4eb063ac74cada14abd150)) * 🔧 add e2e workspace, exclude apps dir ([12054f7](https://github.com/wizarrrr/wizarr/commit/12054f771cc31ac7e517927e19bdf8e9d1b2f432)) * 🔧 moved password to account page ([dfc6490](https://github.com/wizarrrr/wizarr/commit/dfc649043a88e775c9b3db1124d6d92f6b6c5368)) * 🔧 spelling and grammatical corrections ([9eb591f](https://github.com/wizarrrr/wizarr/commit/9eb591fa3730513e3ff8e99bafb8344f7647ed3f)) * 🔨 added tooltip to request access button ([3d576a4](https://github.com/wizarrrr/wizarr/commit/3d576a45b455723c04ed92edc7a69b32232ca9c8)) * **test:** changelog ([7e2aacd](https://github.com/wizarrrr/wizarr/commit/7e2aacd315060d88c62cce7e0b479219f7979600)) * **test:** changelog ([9370752](https://github.com/wizarrrr/wizarr/commit/9370752b30e9f2859c0a7373c6313c8fb436809e)) * update nginx values on docs ([d7e52a9](https://github.com/wizarrrr/wizarr/commit/d7e52a9aba3011b765cfdb993d098e5dbaaf8af4)) * **workspace:** 🔧 update dev workspace and sorting ([9c2561a](https://github.com/wizarrrr/wizarr/commit/9c2561aa8c447b42982e22a5220fd74d9c34c8cc)) --- CHANGELOG.md | 147 +++++++++++++++++++++++++++++++++++++++++++++++++++ latest | 2 +- 2 files changed, 148 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cffcb348..e37079685 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,150 @@ +## [4.0.0](https://github.com/wizarrrr/wizarr/compare/v3.5.1...v4.0.0) (2024-04-29) + + +### ⚠ BREAKING CHANGES + +* begin 4.x.x versioning + +### New Features + +* ✨ :sparkles: Emby users can now set max streams ([3b0d4e0](https://github.com/wizarrrr/wizarr/commit/3b0d4e003d2e40a59cbd8c52f3cb4d0b868cecb7)) +* 🎉 :sparkles: Added Emby Support ([c882992](https://github.com/wizarrrr/wizarr/commit/c882992bda7799b97f98c6c4f6fd0e4d7d4e7db7)) +* 🎉 :sparkles: Scanning in Emby users now attaches connect email as user email ([46d6f22](https://github.com/wizarrrr/wizarr/commit/46d6f226b0cc09713fec0d4e107ed6f4e67e59a9)) +* 🎉 Live TV can now be enabled/disabled for Jellyfin/Emby invites ([8723d1c](https://github.com/wizarrrr/wizarr/commit/8723d1ce34cc7159ddef014837d54cd9afb307ff)) +* 🎊 :sparkles: Emby and Jellyfin now update username/email on an updated scan ([7c158ca](https://github.com/wizarrrr/wizarr/commit/7c158caaec967e0863ba3f5ced73dca21ef1047e)) +* 🚑 added ability to specify concurrent sessions on jellyfin ([#378](https://github.com/wizarrrr/wizarr/issues/378)) ([062bc6b](https://github.com/wizarrrr/wizarr/commit/062bc6b5e0fa791d28973933c7752f54348cb0f8)), closes [#377](https://github.com/wizarrrr/wizarr/issues/377) +* finshed backend password change ([5b1ce2e](https://github.com/wizarrrr/wizarr/commit/5b1ce2e9818cbc8b393623f6642a7b3f4b832e65)) +* password reset frontend done, backend started ([d15e0a1](https://github.com/wizarrrr/wizarr/commit/d15e0a1660ef67e5ac294fc375ae989a7d362db8)) +* **wizarr-frontend:** 🚀 Add extended labels to buttons ([72c7dc4](https://github.com/wizarrrr/wizarr/commit/72c7dc4f11ad0ff8d2dba3b47071163bc269f4e0)) + + +### Bug Fixes + +* 🐛 :bug: Fixed issue where Emby/Plex would error on creating an invite ([eb54d32](https://github.com/wizarrrr/wizarr/commit/eb54d326e5d6add26fb705cb19448f32e12574c1)) +* 🐛 :memo: Fix the form being the wrong namr ([602d5d1](https://github.com/wizarrrr/wizarr/commit/602d5d1b2d41152316efd3d13e0c92f2310959f1)) +* 🐛 refactor server_api.py and software_lifecycle.py for better exception handling ([8cf2b32](https://github.com/wizarrrr/wizarr/commit/8cf2b329a8aeb4a27b783a454a2a58e02230e294)) +* 🐝 :bug: Remove trailing slashes on server URL's ([c4cfd77](https://github.com/wizarrrr/wizarr/commit/c4cfd77f5741fb4a25006948e5facc016c76ddc2)) +* 🐝 Corrected Live TV for Jellyfin ([1b94a6e](https://github.com/wizarrrr/wizarr/commit/1b94a6eaee7205350a22b53ebf61af2d0e620c61)) +* 🐝 update toast can now be dismissed ([f2585ca](https://github.com/wizarrrr/wizarr/commit/f2585ca30c5e200e7cffb03abe7bf853db2f56a9)) +* 🩹 :art: Resolved scaling of theme selector on help wizard ([ccf75fc](https://github.com/wizarrrr/wizarr/commit/ccf75fc91069a7ffc05d078a75fd3cfcb40c3940)) +* 🩹 :bug: Fixed copy server URL when override set ([ab5e680](https://github.com/wizarrrr/wizarr/commit/ab5e6804a3f054a48595dc187158ad7a309cb5b3)) +* 🩹 :bug: Fixed issue where Jellyseerr could not be selected for Emby servers ([83c381a](https://github.com/wizarrrr/wizarr/commit/83c381a0707fdcbf31f2ee101c5fa405edd9bec6)) +* 🩹 :fire: Removed remaining label ([268fda9](https://github.com/wizarrrr/wizarr/commit/268fda9612584591b50926409c0e8b9be57449bc)) +* 🩹 change delete user call to emby function ([139cf86](https://github.com/wizarrrr/wizarr/commit/139cf86053198efa1c9f800cb414998a416a2852)) +* 🩹 Default Live TV checkbox to enabled to reflect Jellyfin/Emby default ([1cba8c3](https://github.com/wizarrrr/wizarr/commit/1cba8c3fea60c8962aea6570e8984b79069ab518)) +* 🩹 Fixed error which occured when using LDAP ([1ba2e0a](https://github.com/wizarrrr/wizarr/commit/1ba2e0a1246cb58785665dfa3954f83ee883c285)) +* **backend:** user sync error on plex managed/guest users ([#357](https://github.com/wizarrrr/wizarr/issues/357)) ([1467046](https://github.com/wizarrrr/wizarr/commit/146704609d64ba13d1c8a7d80a80fd09e55bfd50)) +* **discord-release-alert:** 🐛 mentions failing in embeded payload ([8e87c41](https://github.com/wizarrrr/wizarr/commit/8e87c414a9d333e0c9dcf0722d794b83658e5d08)) +* **frontend:** 🐛 users without token no longer cause error on scan ([#344](https://github.com/wizarrrr/wizarr/issues/344)) ([05ce4f5](https://github.com/wizarrrr/wizarr/commit/05ce4f5de529993f2cbfc35439f27ddb7933fa73)) +* **frontend:** cant remove discord widget id ([#347](https://github.com/wizarrrr/wizarr/issues/347)) ([fefcb06](https://github.com/wizarrrr/wizarr/commit/fefcb065486c9ec7809167744867c66034df208a)) +* remove latest info widget ([#353](https://github.com/wizarrrr/wizarr/issues/353)) ([37e21fe](https://github.com/wizarrrr/wizarr/commit/37e21fe98562ec1a9bfec971b251a8a68f429d70)) +* **wizarr-backend:** 🚑 added password strength test ([ff83c30](https://github.com/wizarrrr/wizarr/commit/ff83c30302ee44c9113d1419b15358b85b1d8cc9)) + + +### Performance Improvements + +* 🚀 :sparkles: Changed to use floating vue ([ce0b92f](https://github.com/wizarrrr/wizarr/commit/ce0b92f6359fda7d470033551b4ee68ab3915e40)) +* **test:** changelog ([7eacd08](https://github.com/wizarrrr/wizarr/commit/7eacd0820d5c7044378f7247b8b8228911738786)) + + +### Build System + +* **deps:** 🔨 🏗️ update browserslist to latest ([b9b95bc](https://github.com/wizarrrr/wizarr/commit/b9b95bc45c091570a99b75b401f92579807db3ca)) +* **npm:** add conventionalcommit changelog package ([633868a](https://github.com/wizarrrr/wizarr/commit/633868acbce4f8e5e92c2a9871bbef52dd8a990b)) +* **semantic-release:** 👷 add explict typing for changelog ([62ef792](https://github.com/wizarrrr/wizarr/commit/62ef7927f7f96a70c6b77d5e19ff455853dc14ca)) +* **semantic-release:** 👷 update discord webhook payload to [@dev-updates](https://github.com/dev-updates) ([d0886bf](https://github.com/wizarrrr/wizarr/commit/d0886bfb2da5132e595ac9a9c6b3afc18bb0cd53)) +* **semantic-release:** 🧱 add other commit types to changelog ([6b49b2a](https://github.com/wizarrrr/wizarr/commit/6b49b2af17b9f197c6845e0b70ed6c25088812e8)) +* **semantic-release:** use conventioncommits preset ([582982f](https://github.com/wizarrrr/wizarr/commit/582982fe714211d095993b2d6310530b7ec1256b)) +* **test:** changelog ([54955f5](https://github.com/wizarrrr/wizarr/commit/54955f54aee96709cb4d50c8ba649e4db5c854cd)) + + +### Continuous Integration + +* 🔧 auto merge release branch back into beta ([43b4c9d](https://github.com/wizarrrr/wizarr/commit/43b4c9d04574e974b4f1a2f16c1f02edbe5e476f)) +* 🔧 fix missing apostrophe causing action fail ([429b4f6](https://github.com/wizarrrr/wizarr/commit/429b4f6659d193429c2bb3eba42414d88d1c6434)) +* 🔧 update action naming to better align with workflow ([a7ab17a](https://github.com/wizarrrr/wizarr/commit/a7ab17a06146780695eefcacb2cd025e16800a13)) +* 🧪 fix nightly action name ([291cb18](https://github.com/wizarrrr/wizarr/commit/291cb1877540f8db5654c4bf9b48e0dd1310f446)) +* 🧪 nightly image builds off develop branch ([05d5331](https://github.com/wizarrrr/wizarr/commit/05d5331ee3b96fd3174d5d67b1078e48884e3365)) +* **semantic-release:** 🔧 explicity define breaking changes ([b144ff2](https://github.com/wizarrrr/wizarr/commit/b144ff21185fc2c4699d75b1631339e4c240985d)) +* **test:** changelog ([24e565f](https://github.com/wizarrrr/wizarr/commit/24e565f4014e7fc7397c6bdee2b2b13604d899c5)) + + +### Chores + +* 🧹 bump db migration script version/date ([a71ada5](https://github.com/wizarrrr/wizarr/commit/a71ada5126c78a6cdb772d46aa355c9a4c2c5546)) +* 🧺 :pencil2: Fixed a type with the setup finalisation ([00d6143](https://github.com/wizarrrr/wizarr/commit/00d6143986d1564a40d276cc7a083a828e5ca4c5)) +* 🧽 add unRaid support ([71c00e1](https://github.com/wizarrrr/wizarr/commit/71c00e189d77105ba7c05cb8ebc2d4e9ad118968)) +* 🧽 fix versioning file ([66cef97](https://github.com/wizarrrr/wizarr/commit/66cef9765dae0a67f26fa64ef1a73687e3cb5b77)) +* 🧽 remove changelog test file ([3191b0a](https://github.com/wizarrrr/wizarr/commit/3191b0a0c59bd4ba89c4684d5e9bf1641c970ebf)) +* 🧽 update visibility of hidden beta items ([f44ea0b](https://github.com/wizarrrr/wizarr/commit/f44ea0b4341c2f123a5b23e6c37c9031f0622ce5)) +* clean up unused refrences ([7b97be4](https://github.com/wizarrrr/wizarr/commit/7b97be4d8a21649c7ec7c524024280883d9a16f1)) +* **gitignore:** add nvm versioning file ([daa8e6c](https://github.com/wizarrrr/wizarr/commit/daa8e6cf39414c37945b13254591153835e3c37b)) +* **release:** 3.5.1-beta.7 ([3a26ead](https://github.com/wizarrrr/wizarr/commit/3a26ead6563c789faaa5682a488884b5d876b166)) +* **release:** 4.0.0-beta.1 ([3a90b8d](https://github.com/wizarrrr/wizarr/commit/3a90b8d1a3af6141d0dccf6f6a04f8cfde57ce70)), closes [#357](https://github.com/wizarrrr/wizarr/issues/357) [#344](https://github.com/wizarrrr/wizarr/issues/344) [#347](https://github.com/wizarrrr/wizarr/issues/347) [#353](https://github.com/wizarrrr/wizarr/issues/353) +* **release:** 4.0.0-beta.2 ([d6bd390](https://github.com/wizarrrr/wizarr/commit/d6bd39001e88c829ae9aec1ac2deabf79fde96c8)) +* **release:** 4.0.0-beta.3 ([709e009](https://github.com/wizarrrr/wizarr/commit/709e0097c817c28580c5d17d88d75162bb264463)) +* **release:** 4.0.0-beta.4 ([6e9ba8d](https://github.com/wizarrrr/wizarr/commit/6e9ba8d91ede69087ddb474e871549a68fdddca7)) +* **release:** 4.0.0-beta.5 ([a74aafd](https://github.com/wizarrrr/wizarr/commit/a74aafdd62ea9e6538401fa3a52157055652b7d6)) +* **release:** 4.0.0-beta.6 ([9dc466a](https://github.com/wizarrrr/wizarr/commit/9dc466a15b5d7ca450235d308e465cc795700739)) +* **release:** 4.0.0-beta.7 ([cd74551](https://github.com/wizarrrr/wizarr/commit/cd745511690599114026a7d04e3c1307489d446b)) +* **release:** 4.0.0-beta.8 ([0f5d8e0](https://github.com/wizarrrr/wizarr/commit/0f5d8e09fa4159ea5517b8b85ffccf1c140db7b1)), closes [#377](https://github.com/wizarrrr/wizarr/issues/377) +* **release:** 4.0.0-beta.9 ([724755e](https://github.com/wizarrrr/wizarr/commit/724755ef40b011856e689f526617934521e6be18)) +* start of v4 development 🎆🎆 ([80e95dc](https://github.com/wizarrrr/wizarr/commit/80e95dc0fdde4c04d3175f6fb863c12c8cb5bbd3)) +* **translations:** 🧺 extract strings ([a96a18f](https://github.com/wizarrrr/wizarr/commit/a96a18fef6a3eb9c9e7637250103fbeec8300980)) +* **workspace:** 🧹 add commit editor extension and config ([423c59c](https://github.com/wizarrrr/wizarr/commit/423c59ca88ca6dc2bdb0c7a677f655f6da4c34a8)) +* **workspace:** 🧺 add nx console extension ([7bc90d1](https://github.com/wizarrrr/wizarr/commit/7bc90d1c3c18c9e843854c54ca48c8971615ccdb)) + + +### Documentation + +* 📖 :memo: Corrected grammatical issues with Download page on Jellyfin ([0ba2a78](https://github.com/wizarrrr/wizarr/commit/0ba2a78aa93c9f0616f81fb620a1a7ef581f66b8)) +* 📚 :memo: Fixed Emby showing in the Jellyfin download page ([4302699](https://github.com/wizarrrr/wizarr/commit/43026990eb3a1254ad08104c75a96d291382c2a6)) +* 📚 refactor portions of contribution guide ([07ae431](https://github.com/wizarrrr/wizarr/commit/07ae4311ab776fdeaba1ba1e571deefb1284a9d5)) +* 📚 update build badge for new action names ([a218de1](https://github.com/wizarrrr/wizarr/commit/a218de13df9f2a3ac85d274d375966119337ac0c)) +* 📝 create contribution guide in project root dir ([619a97b](https://github.com/wizarrrr/wizarr/commit/619a97b2be9523acb97276af6f27b5789e11fb72)) +* added warning against modifying the $server_name variable ([e27f375](https://github.com/wizarrrr/wizarr/commit/e27f3754f93482df930ee2fe1058078963fa81fa)) +* readme/setup/unraid refactor ([#364](https://github.com/wizarrrr/wizarr/issues/364)) ([afc180d](https://github.com/wizarrrr/wizarr/commit/afc180dd5e547abd9f157be6bf79449981faa60f)) +* **readme:** 📚 update discord release channel ([7d8afc9](https://github.com/wizarrrr/wizarr/commit/7d8afc9cb6d0d21baaeaa7db5da3cc85b655d286)) +* **readme:** fix build badge ([97116ee](https://github.com/wizarrrr/wizarr/commit/97116ee5efa5188f4e59e1a6e133a7ae7d1db1da)) +* refactor contribution guide ([642b3cd](https://github.com/wizarrrr/wizarr/commit/642b3cd8cf815318f16d055736884dfdd462a252)) +* **test:** changelog ([a09f31c](https://github.com/wizarrrr/wizarr/commit/a09f31ccdd97ca2738eb9ec0874c6ead420c4c6c)) +* **test:** changelog ([4a479e5](https://github.com/wizarrrr/wizarr/commit/4a479e5e994cdbf8fe29c73b834c578763866bcf)) + + +### Style Changes + +* 🎨 new wizarr logo/branding ([#361](https://github.com/wizarrrr/wizarr/issues/361)) ([864a3df](https://github.com/wizarrrr/wizarr/commit/864a3dfc6e69ec2faa7ed354bef4360231b5f303)) +* 💎 minor corrections to discord alert payload ([c03c2cf](https://github.com/wizarrrr/wizarr/commit/c03c2cf2750e1e6c7e70bca46d56ac1fbe9094f2)) +* 💎 simplify image tag condition ([8930479](https://github.com/wizarrrr/wizarr/commit/893047977c744d6d3b0d1f7a2103df3e31051c02)) +* add specifc image tag targeting beta/latest ([71da180](https://github.com/wizarrrr/wizarr/commit/71da180731eec9f79d5ead5b1e8def3cc17a3135)) +* another correction for the backticks ([428fec7](https://github.com/wizarrrr/wizarr/commit/428fec715190991e321469dd4d2c4be15ee8f622)) +* backticks corrected ([eb4259a](https://github.com/wizarrrr/wizarr/commit/eb4259a235d7a319dd340c86223385c53cf81ca4)) +* **discord-webhook:** 🎨 role mentions for new channel structure ([2c30e4c](https://github.com/wizarrrr/wizarr/commit/2c30e4c8fa0c32df439f5ca21140381e566aa8ef)) +* fix apostrophe usage ([3be097c](https://github.com/wizarrrr/wizarr/commit/3be097c8de1f50fc9efbe448d47d665618dd2b23)) +* fix backticks reaking payload formatting ([0ebf1c7](https://github.com/wizarrrr/wizarr/commit/0ebf1c7bacf81fef88fba9d9fc63de2d12c7a99f)) +* removed an extra space ([c96e72e](https://github.com/wizarrrr/wizarr/commit/c96e72e4bedbaaec782e9cedc839d078f470082b)) +* simplify image tag statement check ([96a18ae](https://github.com/wizarrrr/wizarr/commit/96a18ae5754f725380cfee27a4cc85ba119b3369)) +* **test:** changelog ([463db02](https://github.com/wizarrrr/wizarr/commit/463db0299a5c01b35ba1c523199a046f45c94506)) +* update discord webhook message ([d8310a7](https://github.com/wizarrrr/wizarr/commit/d8310a74b06644b59c4907d5ae1b19637cfa196c)) +* Updated logo with mustache ([#363](https://github.com/wizarrrr/wizarr/issues/363)) ([86827b3](https://github.com/wizarrrr/wizarr/commit/86827b33fd7c290616344b048b9912599620c6f1)) + + +### Code Refactoring + +* 📦 :lipstick: Added password meter to new password field ([e35680a](https://github.com/wizarrrr/wizarr/commit/e35680a0427908f4be12c6edc6bdf678457a94c7)) +* 📦 :zap: Remove membership and live chat ([3b08550](https://github.com/wizarrrr/wizarr/commit/3b085502a6ff846aedb82cd8d36834a34bce2399)) +* 📦 added tooltip to scan server in media server settings ([2fdfab2](https://github.com/wizarrrr/wizarr/commit/2fdfab28f35e2d1b57b8fb2c322cc392bf3165ea)) +* 📦 hiding unimplemented features ([5c7082f](https://github.com/wizarrrr/wizarr/commit/5c7082f757936c0fd0229ebbda9fbf3b317b76f7)) +* 🔧 :memo: Added warning about open collective ([ae29be3](https://github.com/wizarrrr/wizarr/commit/ae29be356716fc862c4eb063ac74cada14abd150)) +* 🔧 add e2e workspace, exclude apps dir ([12054f7](https://github.com/wizarrrr/wizarr/commit/12054f771cc31ac7e517927e19bdf8e9d1b2f432)) +* 🔧 moved password to account page ([dfc6490](https://github.com/wizarrrr/wizarr/commit/dfc649043a88e775c9b3db1124d6d92f6b6c5368)) +* 🔧 spelling and grammatical corrections ([9eb591f](https://github.com/wizarrrr/wizarr/commit/9eb591fa3730513e3ff8e99bafb8344f7647ed3f)) +* 🔨 added tooltip to request access button ([3d576a4](https://github.com/wizarrrr/wizarr/commit/3d576a45b455723c04ed92edc7a69b32232ca9c8)) +* **test:** changelog ([7e2aacd](https://github.com/wizarrrr/wizarr/commit/7e2aacd315060d88c62cce7e0b479219f7979600)) +* **test:** changelog ([9370752](https://github.com/wizarrrr/wizarr/commit/9370752b30e9f2859c0a7373c6313c8fb436809e)) +* update nginx values on docs ([d7e52a9](https://github.com/wizarrrr/wizarr/commit/d7e52a9aba3011b765cfdb993d098e5dbaaf8af4)) +* **workspace:** 🔧 update dev workspace and sorting ([9c2561a](https://github.com/wizarrrr/wizarr/commit/9c2561aa8c447b42982e22a5220fd74d9c34c8cc)) + ## [3.5.1](https://github.com/wizarrrr/wizarr/compare/v3.5.0...v3.5.1) (2023-11-17) diff --git a/latest b/latest index dec5c00c1..fcdb2e109 100644 --- a/latest +++ b/latest @@ -1 +1 @@ -4.0.0-beta.9 +4.0.0 From 9c6ea387984dcfa750842c7ad578b3835f43c1f9 Mon Sep 17 00:00:00 2001 From: Jam <1347620+JamsRepos@users.noreply.github.com> Date: Mon, 29 Apr 2024 20:09:24 +0100 Subject: [PATCH 02/26] =?UTF-8?q?feat:=20=E2=9C=A8=20Replaced=20the=20defa?= =?UTF-8?q?ult=20homepage=20with=20the=20invite=20interface?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/NavBars/DefaultNavBar.vue | 18 +- .../admin/components/Forms/InvitationForm.vue | 2 +- .../InvitationManager/Invitation.vue | 2 +- .../InvitationList/InvitationItem.vue | 4 +- .../components/Invitations/ShareSheet.vue | 4 +- .../components/Users/UserManager/User.vue | 2 +- .../src/modules/{join => home}/events.ts | 0 .../modules/{join => home}/pages/Complete.vue | 4 +- .../{join => home}/pages/Emby/Signup.vue | 0 .../modules/{join => home}/pages/Error.vue | 0 .../{join => home}/pages/Jellyfin/Signup.vue | 0 .../modules/{join => home}/pages/JoinForm.vue | 6 +- .../modules/{join => home}/pages/Payment.vue | 0 .../{join => home}/pages/Plex/Signup.vue | 0 .../modules/{join => home}/pages/Signup.vue | 0 .../modules/{join => home}/pages/Stepper.vue | 0 .../src/modules/home/router/index.ts | 16 + .../modules/{join => home}/types/EmbyForm.ts | 0 .../{join => home}/types/EventRecords.ts | 0 .../{join => home}/types/JellyfinForm.ts | 0 .../src/modules/home/views/Home.vue | 333 ++++++++++++++++-- .../src/modules/join/router/index.ts | 16 - .../src/modules/join/views/Join.vue | 327 ----------------- apps/wizarr-frontend/src/router/index.ts | 4 +- apps/wizarr-frontend/tailwind.config.js | 5 - docs/getting-started/reverse-proxy.md | 4 +- 26 files changed, 351 insertions(+), 396 deletions(-) rename apps/wizarr-frontend/src/modules/{join => home}/events.ts (100%) rename apps/wizarr-frontend/src/modules/{join => home}/pages/Complete.vue (93%) rename apps/wizarr-frontend/src/modules/{join => home}/pages/Emby/Signup.vue (100%) rename apps/wizarr-frontend/src/modules/{join => home}/pages/Error.vue (100%) rename apps/wizarr-frontend/src/modules/{join => home}/pages/Jellyfin/Signup.vue (100%) rename apps/wizarr-frontend/src/modules/{join => home}/pages/JoinForm.vue (88%) rename apps/wizarr-frontend/src/modules/{join => home}/pages/Payment.vue (100%) rename apps/wizarr-frontend/src/modules/{join => home}/pages/Plex/Signup.vue (100%) rename apps/wizarr-frontend/src/modules/{join => home}/pages/Signup.vue (100%) rename apps/wizarr-frontend/src/modules/{join => home}/pages/Stepper.vue (100%) rename apps/wizarr-frontend/src/modules/{join => home}/types/EmbyForm.ts (100%) rename apps/wizarr-frontend/src/modules/{join => home}/types/EventRecords.ts (100%) rename apps/wizarr-frontend/src/modules/{join => home}/types/JellyfinForm.ts (100%) delete mode 100644 apps/wizarr-frontend/src/modules/join/router/index.ts delete mode 100644 apps/wizarr-frontend/src/modules/join/views/Join.vue diff --git a/apps/wizarr-frontend/src/components/NavBars/DefaultNavBar.vue b/apps/wizarr-frontend/src/components/NavBars/DefaultNavBar.vue index 762227ff3..3bdbf9ded 100644 --- a/apps/wizarr-frontend/src/components/NavBars/DefaultNavBar.vue +++ b/apps/wizarr-frontend/src/components/NavBars/DefaultNavBar.vue @@ -1,9 +1,14 @@ diff --git a/apps/wizarr-frontend/src/modules/admin/components/Forms/InvitationForm.vue b/apps/wizarr-frontend/src/modules/admin/components/Forms/InvitationForm.vue index c384e1285..4c61e2f9c 100644 --- a/apps/wizarr-frontend/src/modules/admin/components/Forms/InvitationForm.vue +++ b/apps/wizarr-frontend/src/modules/admin/components/Forms/InvitationForm.vue @@ -377,7 +377,7 @@ export default defineComponent({ }); }, inviteLink() { - return `${window.location.origin}/j/${this.inviteCode}`; + return `${window.location.origin}/i/${this.inviteCode}`; }, ...mapState(useLibrariesStore, ["libraries"]), ...mapState(useServerStore, ["settings"]), diff --git a/apps/wizarr-frontend/src/modules/admin/components/InvitationManager/Invitation.vue b/apps/wizarr-frontend/src/modules/admin/components/InvitationManager/Invitation.vue index ec6e4bdf0..5a18e2abb 100644 --- a/apps/wizarr-frontend/src/modules/admin/components/InvitationManager/Invitation.vue +++ b/apps/wizarr-frontend/src/modules/admin/components/InvitationManager/Invitation.vue @@ -91,7 +91,7 @@ export default defineComponent({ active: true, }, { - value: `${window.location.origin}/j/${this.invitation.code}`, + value: `${window.location.origin}/i/${this.invitation.code}`, active: false, }, ], diff --git a/apps/wizarr-frontend/src/modules/admin/components/Invitations/InvitationList/InvitationItem.vue b/apps/wizarr-frontend/src/modules/admin/components/Invitations/InvitationList/InvitationItem.vue index 337eeefb1..de8df986e 100644 --- a/apps/wizarr-frontend/src/modules/admin/components/Invitations/InvitationList/InvitationItem.vue +++ b/apps/wizarr-frontend/src/modules/admin/components/Invitations/InvitationList/InvitationItem.vue @@ -105,7 +105,7 @@ export default defineComponent({ text: this.__( 'I wanted to invite you to join my media server.', ), - url: `${window.location.origin}/j/${this.invite.code}`, + url: `${window.location.origin}/i/${this.invite.code}`, }, }; }, @@ -138,7 +138,7 @@ export default defineComponent({ async copyToClipboard() { if (this.clipboard.isSupported) { this.clipboard.copy( - `${window.location.origin}/j/${this.invite.code}`, + `${window.location.origin}/i/${this.invite.code}`, ); this.$toast.info(this.__('Copied to clipboard')); } else { diff --git a/apps/wizarr-frontend/src/modules/admin/components/Invitations/ShareSheet.vue b/apps/wizarr-frontend/src/modules/admin/components/Invitations/ShareSheet.vue index 1e680e258..ee244c74c 100644 --- a/apps/wizarr-frontend/src/modules/admin/components/Invitations/ShareSheet.vue +++ b/apps/wizarr-frontend/src/modules/admin/components/Invitations/ShareSheet.vue @@ -66,9 +66,9 @@ export default defineComponent({ }, data() { return { - invitationLink: `${window.location.origin}/j/${this.code}`, + invitationLink: `${window.location.origin}/i/${this.code}`, QRcode: useQRCode( - `${window.location.origin}/j/${this.code}`, + `${window.location.origin}/i/${this.code}`, this.qrCodeOptions, ), clipboard: useClipboard({ diff --git a/apps/wizarr-frontend/src/modules/admin/components/Users/UserManager/User.vue b/apps/wizarr-frontend/src/modules/admin/components/Users/UserManager/User.vue index caf17377a..a7680b7bb 100644 --- a/apps/wizarr-frontend/src/modules/admin/components/Users/UserManager/User.vue +++ b/apps/wizarr-frontend/src/modules/admin/components/Users/UserManager/User.vue @@ -100,7 +100,7 @@ export default defineComponent({ active: true, }, { - value: `${window.location.origin}/j/${this.user.code}`, + value: `${window.location.origin}/i/${this.user.code}`, active: false, }, ], diff --git a/apps/wizarr-frontend/src/modules/join/events.ts b/apps/wizarr-frontend/src/modules/home/events.ts similarity index 100% rename from apps/wizarr-frontend/src/modules/join/events.ts rename to apps/wizarr-frontend/src/modules/home/events.ts diff --git a/apps/wizarr-frontend/src/modules/join/pages/Complete.vue b/apps/wizarr-frontend/src/modules/home/pages/Complete.vue similarity index 93% rename from apps/wizarr-frontend/src/modules/join/pages/Complete.vue rename to apps/wizarr-frontend/src/modules/home/pages/Complete.vue index 389343fff..8b5d48db2 100644 --- a/apps/wizarr-frontend/src/modules/join/pages/Complete.vue +++ b/apps/wizarr-frontend/src/modules/home/pages/Complete.vue @@ -29,12 +29,12 @@ import { defineComponent } from 'vue'; import { useServerStore } from '@/stores/server'; export default defineComponent({ - name: 'JoinCompleteView', + name: 'CompleteView', computed: { ...mapState(useServerStore, ['settings']), }, mounted() { - console.log('mounted join complete view'); + console.log('mounted complete view'); }, }); diff --git a/apps/wizarr-frontend/src/modules/join/pages/Emby/Signup.vue b/apps/wizarr-frontend/src/modules/home/pages/Emby/Signup.vue similarity index 100% rename from apps/wizarr-frontend/src/modules/join/pages/Emby/Signup.vue rename to apps/wizarr-frontend/src/modules/home/pages/Emby/Signup.vue diff --git a/apps/wizarr-frontend/src/modules/join/pages/Error.vue b/apps/wizarr-frontend/src/modules/home/pages/Error.vue similarity index 100% rename from apps/wizarr-frontend/src/modules/join/pages/Error.vue rename to apps/wizarr-frontend/src/modules/home/pages/Error.vue diff --git a/apps/wizarr-frontend/src/modules/join/pages/Jellyfin/Signup.vue b/apps/wizarr-frontend/src/modules/home/pages/Jellyfin/Signup.vue similarity index 100% rename from apps/wizarr-frontend/src/modules/join/pages/Jellyfin/Signup.vue rename to apps/wizarr-frontend/src/modules/home/pages/Jellyfin/Signup.vue diff --git a/apps/wizarr-frontend/src/modules/join/pages/JoinForm.vue b/apps/wizarr-frontend/src/modules/home/pages/JoinForm.vue similarity index 88% rename from apps/wizarr-frontend/src/modules/join/pages/JoinForm.vue rename to apps/wizarr-frontend/src/modules/home/pages/JoinForm.vue index ecd0a1876..0ea3933d0 100644 --- a/apps/wizarr-frontend/src/modules/join/pages/JoinForm.vue +++ b/apps/wizarr-frontend/src/modules/home/pages/JoinForm.vue @@ -54,9 +54,9 @@ export default defineComponent({ // Check if the code is valid if (!response) return; - // If the route is /join then change to /j/:code - if (this.$route.path === '/join') { - this.$router.replace(`/j/${this.code}`); + // If the route is /, /join, or /j, change to /i/:code + if (this.$route.path === '/' || this.$route.path === '/join' || this.$route.path === '/j') { + this.$router.replace(`/i/${this.code}`); } // Go to the next step diff --git a/apps/wizarr-frontend/src/modules/join/pages/Payment.vue b/apps/wizarr-frontend/src/modules/home/pages/Payment.vue similarity index 100% rename from apps/wizarr-frontend/src/modules/join/pages/Payment.vue rename to apps/wizarr-frontend/src/modules/home/pages/Payment.vue diff --git a/apps/wizarr-frontend/src/modules/join/pages/Plex/Signup.vue b/apps/wizarr-frontend/src/modules/home/pages/Plex/Signup.vue similarity index 100% rename from apps/wizarr-frontend/src/modules/join/pages/Plex/Signup.vue rename to apps/wizarr-frontend/src/modules/home/pages/Plex/Signup.vue diff --git a/apps/wizarr-frontend/src/modules/join/pages/Signup.vue b/apps/wizarr-frontend/src/modules/home/pages/Signup.vue similarity index 100% rename from apps/wizarr-frontend/src/modules/join/pages/Signup.vue rename to apps/wizarr-frontend/src/modules/home/pages/Signup.vue diff --git a/apps/wizarr-frontend/src/modules/join/pages/Stepper.vue b/apps/wizarr-frontend/src/modules/home/pages/Stepper.vue similarity index 100% rename from apps/wizarr-frontend/src/modules/join/pages/Stepper.vue rename to apps/wizarr-frontend/src/modules/home/pages/Stepper.vue diff --git a/apps/wizarr-frontend/src/modules/home/router/index.ts b/apps/wizarr-frontend/src/modules/home/router/index.ts index 2e983aed2..cb201995e 100644 --- a/apps/wizarr-frontend/src/modules/home/router/index.ts +++ b/apps/wizarr-frontend/src/modules/home/router/index.ts @@ -1,11 +1,27 @@ import type { RouteRecordRaw } from 'vue-router'; const routes: Readonly = [ + { + path: '/i/:invite', + name: 'invite', + component: () => import('../views/Home.vue'), + }, { path: '/', name: 'home', component: () => import('../views/Home.vue'), }, + // TODO: Remove this route after a few versions to allow users to get used to the new route + { + path: '/j/:invite', + name: 'invite', + component: () => import('../views/Home.vue'), + }, + { + path: '/join', + name: 'home', + component: () => import('../views/Home.vue'), + }, ]; export default routes; diff --git a/apps/wizarr-frontend/src/modules/join/types/EmbyForm.ts b/apps/wizarr-frontend/src/modules/home/types/EmbyForm.ts similarity index 100% rename from apps/wizarr-frontend/src/modules/join/types/EmbyForm.ts rename to apps/wizarr-frontend/src/modules/home/types/EmbyForm.ts diff --git a/apps/wizarr-frontend/src/modules/join/types/EventRecords.ts b/apps/wizarr-frontend/src/modules/home/types/EventRecords.ts similarity index 100% rename from apps/wizarr-frontend/src/modules/join/types/EventRecords.ts rename to apps/wizarr-frontend/src/modules/home/types/EventRecords.ts diff --git a/apps/wizarr-frontend/src/modules/join/types/JellyfinForm.ts b/apps/wizarr-frontend/src/modules/home/types/JellyfinForm.ts similarity index 100% rename from apps/wizarr-frontend/src/modules/join/types/JellyfinForm.ts rename to apps/wizarr-frontend/src/modules/home/types/JellyfinForm.ts diff --git a/apps/wizarr-frontend/src/modules/home/views/Home.vue b/apps/wizarr-frontend/src/modules/home/views/Home.vue index a962a3b3e..624ba34ba 100644 --- a/apps/wizarr-frontend/src/modules/home/views/Home.vue +++ b/apps/wizarr-frontend/src/modules/home/views/Home.vue @@ -1,50 +1,325 @@ diff --git a/apps/wizarr-frontend/src/modules/join/router/index.ts b/apps/wizarr-frontend/src/modules/join/router/index.ts deleted file mode 100644 index e7dbd5d03..000000000 --- a/apps/wizarr-frontend/src/modules/join/router/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import type { RouteRecordRaw } from 'vue-router'; - -const routes: Readonly = [ - { - path: '/j/:invite', - name: 'join-invite', - component: () => import('../views/Join.vue'), - }, - { - path: '/join', - name: 'join', - component: () => import('../views/Join.vue'), - }, -]; - -export default routes; diff --git a/apps/wizarr-frontend/src/modules/join/views/Join.vue b/apps/wizarr-frontend/src/modules/join/views/Join.vue deleted file mode 100644 index df51f56bb..000000000 --- a/apps/wizarr-frontend/src/modules/join/views/Join.vue +++ /dev/null @@ -1,327 +0,0 @@ - - - diff --git a/apps/wizarr-frontend/src/router/index.ts b/apps/wizarr-frontend/src/router/index.ts index 8b88cb1af..b4650d409 100644 --- a/apps/wizarr-frontend/src/router/index.ts +++ b/apps/wizarr-frontend/src/router/index.ts @@ -12,7 +12,6 @@ import middlewarePipeline from './middlewarePipeline'; // Import all Routes from the modules import homeRoutes from '@/modules/home/router'; import authenticationRoutes from '@/modules/authentication/router'; -import joinRoutes from '@/modules/join/router'; import adminRoutes from '@/modules/admin/router'; import settingsRoutes from '@/modules/settings/router'; import helpRoutes from '@/modules/help/router'; @@ -26,9 +25,8 @@ const router = createRouter({ ? createWebHistory() : createMemoryHistory(), routes: [ - ...homeRoutes, // Homepage routes ["/"] + ...homeRoutes, // Homepage routes ["/", "/i/:invite"] ...authenticationRoutes, // Authentication routes ["/login", "/register", "/forgot-password", "/reset-password"] - ...joinRoutes, // Join routes ["/join", "/j/:id"] ...adminRoutes, // Admin routes ["/admin", "/admin/:page"] ...settingsRoutes, // Settings routes ["/admin/settings", "/admin/settings/:page"] ...helpRoutes, // Help routes ["/help", "/open"] diff --git a/apps/wizarr-frontend/tailwind.config.js b/apps/wizarr-frontend/tailwind.config.js index c4fd78398..c4f54bd5e 100644 --- a/apps/wizarr-frontend/tailwind.config.js +++ b/apps/wizarr-frontend/tailwind.config.js @@ -21,7 +21,6 @@ export const theme = { }, animation: { wiggle: 'wiggle 0.5s ease-in-out infinite', - // animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both; shake: 'shake 0.82s cubic-bezier(.36,.07,.19,.97) both', }, keyframes: { @@ -37,10 +36,6 @@ export const theme = { }, }, }, - // fontFamily: { - // 'display': ['motiva sans', 'sans-serif'], - // 'body': ['motiva sans', 'sans-serif'], - // }, }; export const plugins = [ diff --git a/docs/getting-started/reverse-proxy.md b/docs/getting-started/reverse-proxy.md index 3dfc7a4cb..391303937 100644 --- a/docs/getting-started/reverse-proxy.md +++ b/docs/getting-started/reverse-proxy.md @@ -142,9 +142,9 @@ plex.example.com { "scan=\"/" "href=\"/wizarr/" "/scan" "/wizarr/scan" # include in join code path copy - "navigator.clipboard.writeText(url + \"/j/\" + invite_code);" "navigator.clipboard.writeText(url + \"/wizarr/j/\" + invite_code);" + "navigator.clipboard.writeText(url + \"/i/\" + invite_code);" "navigator.clipboard.writeText(url + \"/wizarr/i/\" + invite_code);" } - + # Your wizarr backend reverse_proxy http://127.0.0.1:5690 } From 70f55c6ccfb48cd490991ee62e773961e8c82ff4 Mon Sep 17 00:00:00 2001 From: LibreTranslate Date: Tue, 30 Apr 2024 07:07:13 +0200 Subject: [PATCH 03/26] Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (336 of 336 strings) Co-authored-by: LibreTranslate Translate-URL: https://hosted.weblate.org/projects/wizarr-v3/wizarr/zh_Hans/ Translation: Wizarr V3/Wizarr --- .../wizarr-frontend/src/language/zh_cn/app.po | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/apps/wizarr-frontend/src/language/zh_cn/app.po b/apps/wizarr-frontend/src/language/zh_cn/app.po index d5d589d55..fff1813b0 100644 --- a/apps/wizarr-frontend/src/language/zh_cn/app.po +++ b/apps/wizarr-frontend/src/language/zh_cn/app.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2023-08-15 23:12+0100\n" -"PO-Revision-Date: 2024-01-08 07:06+0000\n" -"Last-Translator: Alano <522081732@qq.com>\n" +"PO-Revision-Date: 2024-04-30 03:29+0000\n" +"Last-Translator: LibreTranslate \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_cn\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 5.4-dev\n" +"X-Generator: Weblate 5.5.2\n" "Generated-By: Babel 2.12.1\n" #: src/modules/settings/pages/Main.vue:246 @@ -1546,16 +1546,14 @@ msgid "" "With Wizarr, server administrators can easily invite new users and manage " "their access" msgstr "" -"Wizarr 是专为 Plex、Jellyfin 和 Emby " -"等媒体服务器量身打造的高级用户邀请和管理解决方案。服务器管理员可轻松通过 " -"Wizarr 邀请新用户加入媒体服务器,轻松畅享丰富且高质量的影音视界" +"Wizarr是一种软件工具,为Jellyfin、Emby和Plex等媒体服务器提供先进的用户邀请和管" +"理能力。 服务器管理员可以很容易地邀请新的用户,并管理其上网情况。" #: src/modules/join/pages/Plex/Signup.vue:45 msgid "" "Wizarr is an unverified app. This means that Plex may warn you about using " "it. Do you wish to continue?" -msgstr "Wizarr 是一款未经验证的应用程序。这意味着 Plex " -"可能会发出警告信息。您是否希望继续?" +msgstr "Wizarr是未经核实的。 这意味着《刑法》可能警告你使用《宪法》。 你是否希望继续?" #: src/tours/admin-users.ts:14 msgid "" @@ -1563,17 +1561,17 @@ msgid "" "also manually scan for new users by clicking on the 'Scan for Users' button, " "this is useful if Wizarr has not gotten around to doing it yet." msgstr "" -"Wizarr 将自动扫描您的媒体服务器以查找新用户,但您也可以通过点击 “扫描用户” " -"按钮手动进行新用户扫描,如果 Wizarr 尚未完成扫描这将很有用。" +"Wizarr将自动扫描你的媒体服务器,供新用户使用,但你也可以通过点击“供用户使用的扫" +"描仪”对新用户进行人工扫描,如果Wizarr还没有赶到这样做的话,这样做是有用的。." #: src/modules/settings/pages/Support.vue:74 msgid "Yes" -msgstr "确定" +msgstr "否" #: src/modules/settings/pages/Membership.vue:35 #: src/modules/settings/pages/Membership.vue:43 msgid "You are currently logged into membership." -msgstr "您当前已登录会员账户。" +msgstr "您目前成为会员。." #: src/tours/admin-home.ts:23 msgid "" From 134f5c19cd08ad387558994bef8e2e9ae354ae43 Mon Sep 17 00:00:00 2001 From: Alano <522081732@qq.com> Date: Tue, 30 Apr 2024 07:07:14 +0200 Subject: [PATCH 04/26] Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (336 of 336 strings) Co-authored-by: Alano <522081732@qq.com> Translate-URL: https://hosted.weblate.org/projects/wizarr-v3/wizarr/zh_Hans/ Translation: Wizarr V3/Wizarr --- apps/wizarr-frontend/src/language/zh_cn/app.po | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/apps/wizarr-frontend/src/language/zh_cn/app.po b/apps/wizarr-frontend/src/language/zh_cn/app.po index fff1813b0..db2e7872e 100644 --- a/apps/wizarr-frontend/src/language/zh_cn/app.po +++ b/apps/wizarr-frontend/src/language/zh_cn/app.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2023-08-15 23:12+0100\n" -"PO-Revision-Date: 2024-04-30 03:29+0000\n" -"Last-Translator: LibreTranslate \n" +"PO-Revision-Date: 2024-04-30 05:07+0000\n" +"Last-Translator: Alano <522081732@qq.com>\n" "Language-Team: Chinese (Simplified) \n" "Language: zh_cn\n" @@ -1546,14 +1546,16 @@ msgid "" "With Wizarr, server administrators can easily invite new users and manage " "their access" msgstr "" -"Wizarr是一种软件工具,为Jellyfin、Emby和Plex等媒体服务器提供先进的用户邀请和管" -"理能力。 服务器管理员可以很容易地邀请新的用户,并管理其上网情况。" +"Wizarr 是专为 Plex、Jellyfin 和 Emby " +"等媒体服务器量身打造的高级用户邀请和管理解决方案。服务器管理员可轻松通过 " +"Wizarr 邀请新用户加入媒体服务器,轻松畅享丰富且高质量的影音视界" #: src/modules/join/pages/Plex/Signup.vue:45 msgid "" "Wizarr is an unverified app. This means that Plex may warn you about using " "it. Do you wish to continue?" -msgstr "Wizarr是未经核实的。 这意味着《刑法》可能警告你使用《宪法》。 你是否希望继续?" +msgstr "Wizarr 是一款未经验证的应用程序。这意味着 Plex " +"可能会发出警告信息。您是否希望继续?" #: src/tours/admin-users.ts:14 msgid "" @@ -1566,12 +1568,12 @@ msgstr "" #: src/modules/settings/pages/Support.vue:74 msgid "Yes" -msgstr "否" +msgstr "确定" #: src/modules/settings/pages/Membership.vue:35 #: src/modules/settings/pages/Membership.vue:43 msgid "You are currently logged into membership." -msgstr "您目前成为会员。." +msgstr "您当前已登录会员账户。" #: src/tours/admin-home.ts:23 msgid "" From fd52649108911d52f0560c08e8e4f5ad9c70acb4 Mon Sep 17 00:00:00 2001 From: Jam <1347620+JamsRepos@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:34:34 +0100 Subject: [PATCH 05/26] =?UTF-8?q?fix:=20=F0=9F=9A=91=20Changed=20order=20o?= =?UTF-8?q?f=20Emby=20user=20password=20creation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wizarr-backend/wizarr_backend/helpers/emby.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/wizarr-backend/wizarr_backend/helpers/emby.py b/apps/wizarr-backend/wizarr_backend/helpers/emby.py index 0d7a7f900..833b15b31 100644 --- a/apps/wizarr-backend/wizarr_backend/helpers/emby.py +++ b/apps/wizarr-backend/wizarr_backend/helpers/emby.py @@ -261,9 +261,6 @@ def invite_emby_user(username: str, password: str, code: str, server_api_key: Op # Create user in Emby user_response = post_emby(api_path="/Users/New", json=new_user, server_api_key=server_api_key, server_url=server_url) - # Set user password - post_emby(api_path=f"/Users/{user_response['Id']}/Password", json={"NewPw": str(password)}, server_api_key=server_api_key, server_url=server_url) - # Create policy object new_policy = { "EnableAllFolders": True, @@ -299,6 +296,9 @@ def invite_emby_user(username: str, password: str, code: str, server_api_key: Op # Update user policy post_emby(api_path=api_path, json=new_policy, server_api_key=server_api_key, server_url=server_url) + # Set user password, this is done after the policy is set due to LDAP policies + post_emby(api_path=f"/Users/{user_response['Id']}/Password", json={"NewPw": str(password)}, server_api_key=server_api_key, server_url=server_url) + # Return response return user_response From a603d56a9ae29c486643e3d4d4abf0038b1fff6e Mon Sep 17 00:00:00 2001 From: Jam <1347620+JamsRepos@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:41:45 +0100 Subject: [PATCH 06/26] =?UTF-8?q?fix:=20=F0=9F=A9=B9=20Disabled=20access?= =?UTF-8?q?=20to=20Live=20TV=20Management=20for=20Jellyfin/Emby?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wizarr-backend/wizarr_backend/helpers/emby.py | 9 +++------ apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py | 7 +++---- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/apps/wizarr-backend/wizarr_backend/helpers/emby.py b/apps/wizarr-backend/wizarr_backend/helpers/emby.py index 833b15b31..944e2b33a 100644 --- a/apps/wizarr-backend/wizarr_backend/helpers/emby.py +++ b/apps/wizarr-backend/wizarr_backend/helpers/emby.py @@ -253,8 +253,6 @@ def invite_emby_user(username: str, password: str, code: str, server_api_key: Op if invitation.specific_libraries is not None and len(invitation.specific_libraries) > 0: sections = invitation.specific_libraries.split(",") - print(sections) - # Create user object new_user = { "Name": str(username) } @@ -264,6 +262,9 @@ def invite_emby_user(username: str, password: str, code: str, server_api_key: Op # Create policy object new_policy = { "EnableAllFolders": True, + "SimultaneousStreamLimit": 0, + "EnableLiveTvAccess": False, + "EnableLiveTvManagement": False, "AuthenticationProviderId": "Emby.Server.Implementations.Library.DefaultAuthenticationProvider", } @@ -275,14 +276,10 @@ def invite_emby_user(username: str, password: str, code: str, server_api_key: Op # Set stream limit options if invitation.sessions is not None and int(invitation.sessions) > 0: new_policy["SimultaneousStreamLimit"] = int(invitation.sessions) - else: - new_policy["SimultaneousStreamLimit"] = 0 # Set live tv access if invitation.live_tv is not None and invitation.live_tv == True: new_policy["EnableLiveTvAccess"] = True - else: - new_policy["EnableLiveTvAccess"] = False # Get users default policy old_policy = user_response["Policy"] diff --git a/apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py b/apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py index c049f24ce..99dd67100 100644 --- a/apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py +++ b/apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py @@ -262,6 +262,9 @@ def invite_jellyfin_user(username: str, password: str, code: str, server_api_key # Create policy object new_policy = { "EnableAllFolders": True, + "MaxActiveSessions": 0, + "EnableLiveTvAccess": False, + "EnableLiveTvManagement": False, "AuthenticationProviderId": "Jellyfin.Server.Implementations.Users.DefaultAuthenticationProvider", } @@ -273,14 +276,10 @@ def invite_jellyfin_user(username: str, password: str, code: str, server_api_key # Set session limit options if invitation.sessions is not None and int(invitation.sessions) > 0: new_policy["MaxActiveSessions"] = int(invitation.sessions) - else: - new_policy["MaxActiveSessions"] = 0 # Set live tv access if invitation.live_tv is not None and invitation.live_tv == True: new_policy["EnableLiveTvAccess"] = True - else: - new_policy["EnableLiveTvAccess"] = False # Get users default policy old_policy = user_response["Policy"] From c3af54ef5e53418691d656d6a81752bd82833a0a Mon Sep 17 00:00:00 2001 From: Jam <1347620+JamsRepos@users.noreply.github.com> Date: Tue, 30 Apr 2024 13:57:08 +0100 Subject: [PATCH 07/26] =?UTF-8?q?fix:=20=F0=9F=9A=91=20Solved=20issue=20wi?= =?UTF-8?q?th=20the=20routes=20clashing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wizarr-frontend/src/modules/home/router/index.ts | 4 ++-- apps/wizarr-frontend/src/modules/home/views/Home.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/wizarr-frontend/src/modules/home/router/index.ts b/apps/wizarr-frontend/src/modules/home/router/index.ts index cb201995e..58794629f 100644 --- a/apps/wizarr-frontend/src/modules/home/router/index.ts +++ b/apps/wizarr-frontend/src/modules/home/router/index.ts @@ -14,12 +14,12 @@ const routes: Readonly = [ // TODO: Remove this route after a few versions to allow users to get used to the new route { path: '/j/:invite', - name: 'invite', + name: 'deprecated-invite', component: () => import('../views/Home.vue'), }, { path: '/join', - name: 'home', + name: 'deprecated-join', component: () => import('../views/Home.vue'), }, ]; diff --git a/apps/wizarr-frontend/src/modules/home/views/Home.vue b/apps/wizarr-frontend/src/modules/home/views/Home.vue index 624ba34ba..5dd6da331 100644 --- a/apps/wizarr-frontend/src/modules/home/views/Home.vue +++ b/apps/wizarr-frontend/src/modules/home/views/Home.vue @@ -92,7 +92,7 @@ export default defineComponent({ activeStep: 0, views: [ { - name: 'join', + name: 'home', title: this.__('Please enter your invite code:'), component: () => import('../pages/JoinForm.vue'), }, From a1380e0d5d7e6e429f591392e8e21fda220c3d83 Mon Sep 17 00:00:00 2001 From: Euan M <31319098+EuanMosit@users.noreply.github.com> Date: Tue, 30 Apr 2024 17:45:47 +0100 Subject: [PATCH 08/26] =?UTF-8?q?feat:=20=E2=9C=A8Ability=20to=20specify?= =?UTF-8?q?=20whether=20a=20user=20displays=20on=20login=20page=20(#397)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Adding hide_user as an option * chore: 🧹 added db migration script * fix: 🚑 Added extra emby user policies * fix: 🚑 removed extra permissions and resorted to default values * fix: 🩹 made checkbox description more clear --- .../migrations/2024-04-30_16-44-17.py | 32 +++++++++++++++++++ .../app/models/database/invitations.py | 1 + .../app/models/wizarr/invitations.py | 1 + .../wizarr_backend/helpers/emby.py | 4 +++ .../wizarr_backend/helpers/jellyfin.py | 4 +++ .../admin/components/Forms/InvitationForm.vue | 12 ++++++- .../InvitationManager/Invitation.vue | 8 +++++ .../src/types/api/invitations.ts | 1 + 8 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 apps/wizarr-backend/wizarr_backend/app/migrator/migrations/2024-04-30_16-44-17.py diff --git a/apps/wizarr-backend/wizarr_backend/app/migrator/migrations/2024-04-30_16-44-17.py b/apps/wizarr-backend/wizarr_backend/app/migrator/migrations/2024-04-30_16-44-17.py new file mode 100644 index 000000000..2a44dc846 --- /dev/null +++ b/apps/wizarr-backend/wizarr_backend/app/migrator/migrations/2024-04-30_16-44-17.py @@ -0,0 +1,32 @@ +# +# CREATED ON VERSION: V4.0.0 +# MIGRATION: 2024-04-30_16-44-17 +# CREATED: Tue Apr 30 2024 +# + +from peewee import * +from playhouse.migrate import * + +from app import db + +# Do not change the name of this file, +# migrations are run in order of their filenames date and time + +def run(): + # Use migrator to perform actions on the database + migrator = SqliteMigrator(db) + + # Add new Column to users table, its a boolean field with a default value of True + with db.transaction(): + # Check if the column exists + cursor = db.cursor() + cursor.execute("PRAGMA table_info(invitations);") + columns = cursor.fetchall() + column_names = [column[1] for column in columns] + + if "hide_user" not in column_names: + db.execute_sql("ALTER TABLE invitations ADD COLUMN hide_user INTEGER SET DEFAULT 1") + else: + print("Column hide_user already exists") + + print("Migration 2024-04-30_16-44-17 complete") \ No newline at end of file diff --git a/apps/wizarr-backend/wizarr_backend/app/models/database/invitations.py b/apps/wizarr-backend/wizarr_backend/app/models/database/invitations.py index fefa6bd34..4fae3946c 100644 --- a/apps/wizarr-backend/wizarr_backend/app/models/database/invitations.py +++ b/apps/wizarr-backend/wizarr_backend/app/models/database/invitations.py @@ -16,3 +16,4 @@ class Invitations(BaseModel): plex_home = BooleanField(null=True, default=None) sessions = CharField(null=True, default=None) live_tv = BooleanField(null=True, default=None) + hide_user = BooleanField(null=True, default=True) diff --git a/apps/wizarr-backend/wizarr_backend/app/models/wizarr/invitations.py b/apps/wizarr-backend/wizarr_backend/app/models/wizarr/invitations.py index b877aab26..19cb17839 100644 --- a/apps/wizarr-backend/wizarr_backend/app/models/wizarr/invitations.py +++ b/apps/wizarr-backend/wizarr_backend/app/models/wizarr/invitations.py @@ -42,6 +42,7 @@ class InvitationsModel(Model): plex_home = BooleanType(required=False, default=False) used_at = DateTimeType(required=False, default=None, convert_tz=True) created = DateTimeType(required=False, default=datetime.utcnow(), convert_tz=True) + hide_user = BooleanType(required=False, default=True) # ANCHOR - Validate Code diff --git a/apps/wizarr-backend/wizarr_backend/helpers/emby.py b/apps/wizarr-backend/wizarr_backend/helpers/emby.py index 0d7a7f900..c86f52bce 100644 --- a/apps/wizarr-backend/wizarr_backend/helpers/emby.py +++ b/apps/wizarr-backend/wizarr_backend/helpers/emby.py @@ -287,6 +287,10 @@ def invite_emby_user(username: str, password: str, code: str, server_api_key: Op else: new_policy["EnableLiveTvAccess"] = False + # Set the hidden user status + if invitation.hide_user is not None and invitation.hide_user == False: + new_policy["IsHiddenRemotely"] = False + # Get users default policy old_policy = user_response["Policy"] diff --git a/apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py b/apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py index c049f24ce..858f2d14c 100644 --- a/apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py +++ b/apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py @@ -282,6 +282,10 @@ def invite_jellyfin_user(username: str, password: str, code: str, server_api_key else: new_policy["EnableLiveTvAccess"] = False + # Set the hidden user status + if invitation.hide_user is not None and invitation.hide_user == False: + new_policy["IsHidden"] = False + # Get users default policy old_policy = user_response["Policy"] diff --git a/apps/wizarr-frontend/src/modules/admin/components/Forms/InvitationForm.vue b/apps/wizarr-frontend/src/modules/admin/components/Forms/InvitationForm.vue index c384e1285..52875bec0 100644 --- a/apps/wizarr-frontend/src/modules/admin/components/Forms/InvitationForm.vue +++ b/apps/wizarr-frontend/src/modules/admin/components/Forms/InvitationForm.vue @@ -107,7 +107,7 @@ export default defineComponent({ inviteCode: "", expiration: 1440 as number | null | "custom", customExpiration: "" as string, - checkboxes: ["live_tv"] as string[], // Add the checkboxes you want to be checked by default + checkboxes: ["live_tv", "hide_user"] as string[],// Add the checkboxes you want to be checked by default duration: "unlimited" as number | "unlimited" | "custom", customDuration: "" as string, libraries: [] as string[], @@ -184,6 +184,10 @@ export default defineComponent({ label: "Access to Live TV", value: "live_tv", }, + hide_user: { + label: "Hide User from the Login Page", + value: "hide_user", + }, }, emby: { unlimited: { @@ -194,6 +198,10 @@ export default defineComponent({ label: "Access to Live TV", value: "live_tv", }, + hide_user: { + label: "Hide User from the Login Page", + value: "hide_user", + }, }, plex: { unlimited: { @@ -265,6 +273,7 @@ export default defineComponent({ const plex_home = invitationData.checkboxes.includes("plex_home"); const plex_allow_sync = invitationData.checkboxes.includes("plex_allow_sync"); const live_tv = invitationData.checkboxes.includes("live_tv"); + const hide_user = invitationData.checkboxes.includes("hide_user"); const sessions = invitationData.sessions; const duration = invitationData.duration == "custom" ? this.$filter("toMinutes", invitationData.customDuration) : invitationData.duration == "unlimited" ? null : invitationData.duration; const libraries = invitationData.libraries; @@ -276,6 +285,7 @@ export default defineComponent({ plex_home: plex_home, plex_allow_sync: plex_allow_sync, live_tv: live_tv, + hide_user: hide_user, sessions: sessions, duration: duration, specific_libraries: JSON.stringify(libraries), diff --git a/apps/wizarr-frontend/src/modules/admin/components/InvitationManager/Invitation.vue b/apps/wizarr-frontend/src/modules/admin/components/InvitationManager/Invitation.vue index ec6e4bdf0..6afb71d96 100644 --- a/apps/wizarr-frontend/src/modules/admin/components/InvitationManager/Invitation.vue +++ b/apps/wizarr-frontend/src/modules/admin/components/InvitationManager/Invitation.vue @@ -106,6 +106,10 @@ export default defineComponent({ label: "Access to Live TV", value: this.invitation.live_tv, }, + hide_user: { + label: "Hide User from the Login Page", + value: this.invitation.hide_user, + }, }, emby: { unlimited: { @@ -116,6 +120,10 @@ export default defineComponent({ label: "Access to Live TV", value: this.invitation.live_tv, }, + hide_user: { + label: "Hide User from the Login Page", + value: this.invitation.hide_user, + }, }, plex: { unlimited: { diff --git a/apps/wizarr-frontend/src/types/api/invitations.ts b/apps/wizarr-frontend/src/types/api/invitations.ts index 2426d0a69..27ec779d9 100644 --- a/apps/wizarr-frontend/src/types/api/invitations.ts +++ b/apps/wizarr-frontend/src/types/api/invitations.ts @@ -9,6 +9,7 @@ export interface Invitation { plex_allow_sync: boolean; plex_home: boolean; live_tv: boolean; + hide_user: boolean; sessions: number; specific_libraries: string; unlimited: boolean; From 549b3def461fdb07075a36a88f44ed1f198dc74e Mon Sep 17 00:00:00 2001 From: Jam <1347620+JamsRepos@users.noreply.github.com> Date: Tue, 30 Apr 2024 18:15:31 +0100 Subject: [PATCH 09/26] =?UTF-8?q?refactor:=20=F0=9F=94=A7=20Change=20the?= =?UTF-8?q?=20admin=20login=20to=20reflect=20the=20new=20homepage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../authentication/components/LoginForm.vue | 4 - .../authentication/views/LoginView.vue | 77 ++++++++++++++----- 2 files changed, 56 insertions(+), 25 deletions(-) diff --git a/apps/wizarr-frontend/src/modules/authentication/components/LoginForm.vue b/apps/wizarr-frontend/src/modules/authentication/components/LoginForm.vue index db223b8b2..98737c944 100644 --- a/apps/wizarr-frontend/src/modules/authentication/components/LoginForm.vue +++ b/apps/wizarr-frontend/src/modules/authentication/components/LoginForm.vue @@ -1,10 +1,6 @@