| Server IP : 85.214.143.32 / Your IP : 216.73.216.199 Web Server : nginx/1.24.0 System : Linux datensicherung.webdress.site 6.8.0-139-generic #139-Ubuntu SMP PREEMPT_DYNAMIC Sat Aug 1 03:52:05 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/nextcloud/dist/ |
Upload File : |
import{r as p,o as u,c as b,w as i,k as l,j as m,t as d,e as f}from"./Web-Bpn1hT4U.chunk.mjs";import{c as w}from"./index-D2R3-_i4.chunk.mjs";import{a as g}from"./index-68GQhqPi.chunk.mjs";import{_ as S,l as c}from"./public-C1mLBHT3.chunk.mjs";import{t as h}from"./translation-DoG5ZELJ-BmllVdG7.chunk.mjs";import{c as I}from"./index-ZLt-As9O.chunk.mjs";import{g as k,c as M}from"./index-Cp0kcsps.chunk.mjs";import{N}from"./NcCheckboxRadioSwitch-DVdt5Hkq-BDEn8EyP.chunk.mjs";import{N as R}from"./ContentCopy-Cce9YV9O.chunk.mjs";import"./util-DBjHxD9z.chunk.mjs";import"./index-DIjZjDEc.chunk.mjs";import"./NcModal-DiDvgcU8-DlAqoAw2.chunk.mjs";import"./logger-D3RVzcfQ-B6R2fmjp.chunk.mjs";import"./createElementId-DhjFt1I9-CzYhhUzc.chunk.mjs";import"./TrashCanOutline-BTIe_2cO.chunk.mjs";import"./mdi-C6sl40Bq.chunk.mjs";import"./NcPasswordField-BFyzHTOO-DLUAy5-a.chunk.mjs";import"./NcInputField-5Sg6EUP6-DsazvGgr.chunk.mjs";const T=k().detectLogLevel().setApp("sharebymail").build(),V={name:"AdminSettings",components:{NcCheckboxRadioSwitch:N,NcSettingsSection:R},setup(){return{t:h}},data(){return{sendPasswordMail:c("sharebymail","sendPasswordMail"),replyToInitiator:c("sharebymail","replyToInitiator")}},watch:{sendPasswordMail(t){this.update("sendpasswordmail",t)},replyToInitiator(t){this.update("replyToInitiator",t)}},methods:{async update(t,a){await I();const s=M("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:t}),o=a?"yes":"no";try{const{data:e}=await w.post(s,{value:o});this.handleResponse({status:e.ocs?.meta?.status})}catch(e){this.handleResponse({errorMessage:h("sharebymail","Unable to update share by mail config"),error:e})}},async handleResponse({status:t,errorMessage:a,error:s}){t!=="ok"&&(g(a),T.error(a,{error:s}))}}};function v(t,a,s,o,e,x){const n=p("NcCheckboxRadioSwitch"),y=p("NcSettingsSection");return u(),b(y,{name:o.t("sharebymail","Share by mail"),description:o.t("sharebymail","Allows people to share a personalized link to a file or folder by putting in an email address.")},{default:i(()=>[l(n,{modelValue:e.sendPasswordMail,"onUpdate:modelValue":a[0]||(a[0]=r=>e.sendPasswordMail=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Send password by mail")),1)]),_:1},8,["modelValue"]),l(n,{modelValue:e.replyToInitiator,"onUpdate:modelValue":a[1]||(a[1]=r=>e.replyToInitiator=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Reply to initiator")),1)]),_:1},8,["modelValue"])]),_:1},8,["name","description"])}const P=S(V,[["render",v]]),_=f(P);_.mount("#vue-admin-sharebymail");
//# sourceMappingURL=sharebymail-admin-settings.mjs.map