imapsync_form_extra.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. <!DOCTYPE html>
  2. <!-- $Id: imapsync_form_extra.html,v 1.28 2022/05/07 13:51:28 gilles Exp gilles $ -->
  3. <html lang="en" id="top">
  4. <head>
  5. <!--
  6. <script
  7. data-ad-client="ca-pub-3325993554161060"
  8. async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
  9. </script>
  10. -->
  11. <title>Imapsync Online Unlimited</title>
  12. <meta charset="utf-8">
  13. <meta name="viewport" content="width=device-width, initial-scale=1">
  14. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
  15. integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
  16. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"
  17. integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
  18. <link rel="stylesheet" href="imapsync_form.css">
  19. <link rel="stylesheet" href="../S/style.css" type="text/css" />
  20. <link rel="license" href="https://imapsync.lamiral.info/NOLIMIT">
  21. <noscript>
  22. <link rel="stylesheet" href="noscript.css">
  23. </noscript>
  24. </head>
  25. <body>
  26. <div class="scripton">
  27. <!-- will appear if some tests fail -->
  28. <pre id="tests" class="collapse"></pre>
  29. <!-- hidden stuff that must exit for the tests -->
  30. <div class="hidden">
  31. <input type="checkbox" id="test_checkbox">
  32. <input type="text" id="test_text">
  33. <input type="radio" id="test_radio1" name="test_radio" value="first" >
  34. <input type="radio" id="test_radio2" name="test_radio" value="second" >
  35. </div>
  36. </div>
  37. <div class="container-fluid" >
  38. <div class="row">
  39. <div class="text-center">
  40. <a href="https://imapsync.lamiral.info/">
  41. <img alt="Imapsync home" title="Imapsync home page" src="https://imapsync.lamiral.info/X/logo_imapsync_Xn.png" height="38" width="60">
  42. </a>
  43. <a href="#top" title="Top of the page" class="btn btn-info " role="button">Top</a>
  44. <a href="#bottom" title="Bottom of the page" class="btn btn-info active" role="button">Bottom</a>
  45. </div>
  46. </div>
  47. <h1 class="text-center">Imapsync Online Unlimited</h1>
  48. <p class="text-center larger"> <strong>Copy</strong>/synchronize a <strong>complete</strong> Mailbox to another, without <strong>duplicates!</strong></p>
  49. <form id="form" action="/cgi-bin/imapsync" method="post" autocomplete="on">
  50. <div id="form_row" class="row">
  51. <div id="account1" class="col-md-5" >
  52. <fieldset>
  53. <legend class="text-center h2">IMAP source Mailbox</legend>
  54. <label for="user1">Login</label> (usually an email address)
  55. <div class="input-group form-group">
  56. <span class="input-group-addon"><i class="glyphicon glyphicon-user"> </i></span>
  57. <input
  58. data-toggle="tooltip" data-placement="bottom" title="It is usually an email address or its left part before @"
  59. type="text" class="form-control input-lg" id="user1" name="user1" tabindex="1"
  60. placeholder="Enter login name">
  61. </div>
  62. <label for="password1">Password</label>
  63. <label class="checkbox-inline out">
  64. <input type="checkbox" id="showpassword1"> show password
  65. </label>
  66. <div class="input-group form-group">
  67. <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
  68. <input
  69. data-toggle="tooltip" data-placement="bottom" title="Passwords are not stored on the server"
  70. type="password" class="form-control input-lg" id="password1" name="password1" tabindex="2"
  71. placeholder="Enter password">
  72. </div>
  73. <label for="host1">IMAP Server hostname</label> (or its IP address)
  74. <div class="input-group form-group">
  75. <span class="input-group-addon"><i class="glyphicon glyphicon-cloud"></i></span>
  76. <input
  77. data-toggle="tooltip" data-placement="bottom" title="IMAP transfers are done with encryption if the servers support it."
  78. list="servers1" type="text" class="form-control input-lg" id="host1" name="host1" tabindex="3"
  79. placeholder="Enter IMAP source server name or IP address">
  80. <datalist id="servers1">
  81. <option value="imap.gmail.com">
  82. <option value="outlook.office365.com">
  83. <option value="imap.hostinger.com">
  84. <option value="ssl0.ovh.net">
  85. <option value="email-ssl.com.br">
  86. <option value="imap.mail.yahoo.com">
  87. </datalist>
  88. </div>
  89. <div class="form-group collapse extra_param">
  90. <label class="checkbox-inline">
  91. <input
  92. data-toggle="tooltip" data-placement="bottom" title="Be careful with this option"
  93. type="checkbox" id="delete1" name="delete1">Move sync. Deletes messages on source mailbox after a successful transfer.
  94. </label>
  95. </div>
  96. <div class="form-group collapse extra_param" >
  97. <label for="subfolder1">Sub-folder</label>
  98. <div class="input-group form-group">
  99. <span class="input-group-addon"><i class="glyphicon glyphicon-folder-open"></i></span>
  100. <input
  101. data-toggle="tooltip" data-placement="bottom" title="A subfolder where all the source mailbox comes from."
  102. type="text" class="form-control input-lg" id="subfolder1" name="subfolder1"
  103. placeholder="Enter sub-folder name">
  104. </div>
  105. </div>
  106. <div>
  107. <br>
  108. </div>
  109. </fieldset>
  110. </div>
  111. <div id="parameters" class="col-md-2" >
  112. <div>
  113. <br>
  114. </div>
  115. <div>
  116. <label class="checkbox-inline">
  117. <input
  118. data-toggle="tooltip" data-placement="bottom" title="Shows what would be done without really doing it."
  119. type="checkbox" id="dry" name="dry" >Just verbose, no real sync.
  120. </label>
  121. </div>
  122. <div>
  123. <label class="checkbox-inline">
  124. <input
  125. data-toggle="tooltip" data-placement="bottom" title="Checks credentials without syncing anything."
  126. type="checkbox" id="justlogin" name="justlogin" >Just checks credentials.
  127. </label>
  128. </div>
  129. <div>
  130. <label class="checkbox-inline">
  131. <input
  132. data-toggle="tooltip" data-placement="bottom" title="Shows folders sizes and exits."
  133. type="checkbox" id="justfoldersizes" name="justfoldersizes" >Just presents folders sizes.
  134. </label>
  135. </div>
  136. <div>
  137. <label class="checkbox-inline">
  138. <input
  139. data-toggle="tooltip" data-placement="bottom" title="Just create the folder hierarchy, messages are not synced."
  140. type="checkbox" id="justfolders" name="justfolders" >Just create folders.
  141. </label>
  142. </div>
  143. <div>
  144. <br>
  145. </div>
  146. <div id="button_extra_param" class="text-center scripton">
  147. <button type="button" class="btn btn-default btn-block" data-toggle="collapse"
  148. data-target=".extra_param">Show / Hide extra parameters</button>
  149. </div>
  150. <div>
  151. <br>
  152. </div>
  153. <div id="button_swap" class="text-center scripton">
  154. <button type="button" class="btn btn-default btn-block" id="swap">
  155. Swap Source <span class="glyphicon glyphicon-transfer"></span> Destination
  156. </button>
  157. </div>
  158. <div>
  159. <br>
  160. </div>
  161. </div>
  162. <div id="account2" class="col-md-5" >
  163. <fieldset>
  164. <legend class="text-center h2">IMAP destination Mailbox</legend>
  165. <label for="user2">Login</label> (usually an email address)
  166. <div class="input-group form-group">
  167. <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
  168. <input
  169. data-toggle="tooltip" data-placement="bottom" title="It is usually an email address or its left part before @"
  170. type="text" class="form-control input-lg" id="user2" name="user2" tabindex="6"
  171. placeholder="Enter login name">
  172. </div>
  173. <label for="password2">Password</label>
  174. <label class="checkbox-inline out">
  175. <input type="checkbox" id="showpassword2"> show password
  176. </label>
  177. <div class="input-group form-group">
  178. <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
  179. <input
  180. data-toggle="tooltip" data-placement="bottom" title="Passwords are not stored on the server"
  181. type="password" class="form-control input-lg" id="password2" name="password2" tabindex="7"
  182. placeholder="Enter password">
  183. </div>
  184. <label for="host2">IMAP Server hostname</label> (or its IP address)
  185. <div class="input-group form-group">
  186. <span class="input-group-addon"><i class="glyphicon glyphicon-cloud"></i></span>
  187. <input
  188. data-toggle="tooltip" data-placement="bottom" title="IMAP transfers are done with encryption if the servers support it."
  189. list="servers2" type="text" class="form-control input-lg" id="host2" name="host2" tabindex="8"
  190. placeholder="Enter IMAP destination server name or IP address">
  191. <datalist id="servers2">
  192. <option value="imap.gmail.com">
  193. <option value="outlook.office365.com">
  194. <option value="imap.hostinger.com">
  195. <option value="ssl0.ovh.net">
  196. <option value="email-ssl.com.br">
  197. <option value="imap.mail.yahoo.com">
  198. </datalist>
  199. </div>
  200. <!-- -->
  201. <div class="form-group collapse extra_param">
  202. <label class="checkbox-inline">
  203. <input
  204. data-toggle="tooltip" data-placement="bottom" title="Be careful with this option"
  205. type="checkbox" id="delete2" name="delete2" tabindex="9">Strict sync. Deletes messages on destination mailbox that are not at the source mailbox.
  206. </label>
  207. </div>
  208. <div class="form-group collapse extra_param" id="extra_subfolder2" >
  209. <label for="subfolder2">Sub-folder</label>
  210. <div class="input-group form-group">
  211. <span class="input-group-addon"><i class="glyphicon glyphicon-folder-open"></i></span>
  212. <input
  213. data-toggle="tooltip" data-placement="bottom" title="A subfolder where all the source mailbox will go."
  214. type="text" class="form-control input-lg" id="subfolder2" name="subfolder2"
  215. placeholder="Enter sub-folder name">
  216. </div>
  217. </div>
  218. <!-- -->
  219. <div>
  220. <br>
  221. </div>
  222. </fieldset>
  223. </div>
  224. </div>
  225. <input type="hidden" name="automap" value="on">
  226. <input type="hidden" name="addheader" value="on">
  227. <!-- -#->
  228. <input type="hidden" name="simulong" value="360">
  229. <!-#- -->
  230. <a id="buttons"></a>
  231. <hr>
  232. <div class="text-center center-block">
  233. If you <b>close</b> this <b>window</b> (or tab) <b>during</b> the synchronization,
  234. it will <b>abort</b> the synchronization, it's like <b>hitting</b> the red button <b>"Abort!"</b> below.
  235. </div>
  236. <!-- Classical button to go to the log only, when javascript is turned off -->
  237. <noscript>
  238. <div class="row">
  239. <div class="col-sm-12 padd0" >
  240. <button type="submit" class="btn btn-success btn-lg center-block btn-block">Go sync!</button>
  241. </div>
  242. </div>
  243. </noscript>
  244. <!-- Javascript buttons using xhr -->
  245. <div class="row scripton">
  246. <div class="col-sm-6 padd0" >
  247. <button id="bt-sync" type="button"
  248. class="btn btn-success btn-lg center-block btn-block"
  249. tabindex="11"
  250. data-toggle="tooltip" data-placement="top"
  251. title="Launch the sync! You can abort the sync with the red Abort button nearby or by closing the tab/window."
  252. >
  253. Sync or resync!<br>
  254. <span class="glyphicon glyphicon-envelope"></span>
  255. <span class="glyphicon glyphicon-arrow-right"></span>
  256. <span class="glyphicon glyphicon-envelope"></span>
  257. </button>
  258. </div>
  259. <div class="col-sm-6 padd0" >
  260. <button id="bt-abort" type="button"
  261. class="btn btn-danger btn-lg center-block btn-block" tabindex="12"
  262. data-toggle="tooltip" data-placement="top"
  263. title="Abort the sync! You can restart the sync later, no duplicates should happen."
  264. >
  265. Abort!<br>
  266. <span class="glyphicon glyphicon-scissors"></span>
  267. </button>
  268. </div>
  269. </div>
  270. </form>
  271. <div class="row scripton" id="consoles" >
  272. <pre id="imapsync_current" class="center-block text-center"></pre>
  273. <span id="imapsync_advice_hours" class="text-center collapse">
  274. Best <a href="#local_bandwidth"><b>bandwidth available hours</b></a> are from <b>11h PM to 11h AM UTC</b> on Mondays to Fridays, <b>all hours</b> on Saturdays and <b>Sundays</b>.
  275. </span>
  276. <pre id="progress-txt">ETA: Estimation Time of Arrival</pre>
  277. <div class="progress">
  278. <div id="progress-bar-done" class="progress-bar progress-bar-success" role="progressbar">
  279. Progress bar
  280. </div>
  281. <div id="progress-bar-left" class="progress-bar progress-bar-info" role="progressbar">
  282. Progress bar
  283. </div>
  284. </div>
  285. <div class="col-sm-6 well">
  286. <h2 class="text-center">Console of imapsync launch</h2>
  287. <pre id="console">
  288. </pre>
  289. </div>
  290. <div class="col-sm-6 well">
  291. <h2 class="text-center">Console of abort</h2>
  292. <pre id="abort">
  293. </pre>
  294. </div>
  295. </div>
  296. </div>
  297. <h2 id="imapsync_log_beginning" class="text-center scripton">Log of imapsync run</h2>
  298. <div class="text-center scripton">
  299. <a href="#imapsync_log_bottom">Link to the <b>bottom</b> of the imapsync log file</a>
  300. </div>
  301. <pre id="output" class="scripton">
  302. </pre>
  303. <div id="imapsync_log_bottom" class="text-center scripton">
  304. <a href="#imapsync_log_beginning">Link to the <b>beginning</b> of the imapsync log file</a>
  305. </div>
  306. <div id="local_bandwidth" class="collapse">
  307. <hr>
  308. <p class="text-center">
  309. <b>Local bandwidth statistics</b><br>
  310. <a href="/vnstat/vnstati.html">
  311. <img alt="Local bandwidth statistics" src="/vnstat/vnstat_vs.png" >
  312. </a>
  313. </p>
  314. </div>
  315. <div id="local_status_dbmon" class="collapse">
  316. <hr>
  317. <p class="text-center">
  318. Imapsync <b>Online Status</b> over the <b>last 24h</b><br>
  319. <a href="imapsync_online_status.html"><img id="status_24h" class="img-responsive center-block" alt="Imapsync Online Status over the last 24h" src="https://sup.lamiral.info/dbmon/cgi-bin/rrdview.cgi?child=yes&rrdfile=%2Fvar%2Ftmp%2Fdbmon%2Ftests%2Frrdbases%2Flocalhost~2583~LAMIRAL~Imapsync_Online~LAMIRAL%2CImapsync_Online~opstatus~300~.rrd;interval_vue=p86400;date_given_by=now;date_means=end;dsname=opstatus;width=1200;hight=70;lower=0;upper=100;rigid=on;Beautiful%20Image%21.x=128;Beautiful%20Image%21.y=30;title=Service%20Status;owner=Imapsync_Online;caption=Status%20in%20%25;monitor=https.rrdrt.monitor%20--rrdrt%20imapsync.lamiral.info%2Fcgi-bin%2Fimapsync%20%3B%3B">
  320. </a>
  321. </p>
  322. </div>
  323. <div id="local_status_hetrix" class="collapse">
  324. <hr>
  325. <p class="text-center">
  326. The service is down? For how long? How often? Take also a look at the
  327. <a href="https://hetrixtools.com/report/uptime/873a2356aea43055204b59f562b5ad52/414322.html">Imapsync Online Status</a>
  328. monitor page powered by the <a href="https://hetrixtools.com/414322.html">HetrixTools</a> company.
  329. </p>
  330. </div>
  331. <a id="bottom"></a>
  332. <hr>
  333. <p class="text-center">Feel free to contact
  334. <strong><a href="https://imapsync.lamiral.info/#AUTHOR" target="_blank">Gilles LAMIRAL</a></strong>
  335. </p>
  336. <div class="container-fluid" >
  337. <div class="row">
  338. <div class="text-center">
  339. <a href="https://imapsync.lamiral.info/">
  340. <img alt="Imapsync home page" src="https://imapsync.lamiral.info/X/logo_imapsync_Xn.png" height="38" width="60">
  341. </a>
  342. <a href="#top" title="Top of the page" class="btn btn-info " role="button">Top</a>
  343. <!-- <a href="#buttons" class="btn btn-info scripton" role="button">Consoles</a> -->
  344. <a href="#bottom" title="Bottom of the page" class="btn btn-info active" role="button">Bottom</a>
  345. <br>
  346. <small> ($Id: imapsync_form_extra.html,v 1.28 2022/05/07 13:51:28 gilles Exp gilles $) </small><br>
  347. Terms and conditions for anything: <a href="https://imapsync.lamiral.info/LICENSE">No limits to do anything with this work and this license!</a><br>
  348. </div>
  349. </div>
  350. </div>
  351. <script
  352. src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"
  353. integrity="sha384-xBuQ/xzmlsLoJpyjoggmTEz8OWUFM0/RC5BsqQBDX2v5cMvDHcMakNTNrHIW2I5f"
  354. crossorigin="anonymous"
  355. >
  356. </script>
  357. <script
  358. src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
  359. integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
  360. crossorigin="anonymous"
  361. >
  362. </script>
  363. <!--
  364. <script src="crypto-js/core.js"></script>
  365. <script src="crypto-js/sha256.js"></script>
  366. -->
  367. <script
  368. src="imapsync_form.js"
  369. >
  370. </script>
  371. </body>
  372. </html>