diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 10:14:54 -0700 |
---|---|---|
committer | Jean-Christophe Saad-Dupuy <saad.dupuy@gmail.com> | 2013-10-06 20:31:11 +0200 |
commit | bf7516112f90ea0392918605acdb9167cf21e516 (patch) | |
tree | d97628451386a2ec254f3c93b29741267140bd14 /install | |
parent | 79026b73a804d1fe3715c3edf5bc2cfb1e56732c (diff) | |
parent | d47d2533accb30a69fbbb964f63793b821300974 (diff) | |
download | wallabag-bf7516112f90ea0392918605acdb9167cf21e516.tar.gz wallabag-bf7516112f90ea0392918605acdb9167cf21e516.tar.zst wallabag-bf7516112f90ea0392918605acdb9167cf21e516.zip |
Embeded jquery 2.0.3 dependancie
Diffstat (limited to 'install')
-rw-r--r-- | install/update.php | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/install/update.php b/install/update.php deleted file mode 100644 index 9548d334..00000000 --- a/install/update.php +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | <?php | ||
2 | require_once dirname(__FILE__).'/../inc/poche/Tools.class.php'; | ||
3 | include dirname(__FILE__).'/../inc/poche/define.inc.php'; | ||
4 | include dirname(__FILE__).'/../inc/poche/myconfig.inc.php'; | ||
5 | require_once __DIR__ . '/../inc/poche/Database.class.php'; | ||
6 | $store = new Database(); | ||
7 | ?> | ||
8 | <!DOCTYPE html> | ||
9 | <!--[if lte IE 6]> <html class="no-js ie6 ie67 ie678" lang="en"> <![endif]--> | ||
10 | <!--[if lte IE 7]> <html class="no-js ie7 ie67 ie678" lang="en"> <![endif]--> | ||
11 | <!--[if IE 8]> <html class="no-js ie8 ie678" lang="en"> <![endif]--> | ||
12 | <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | ||
13 | <html lang="en"> | ||
14 | <head> | ||
15 | <meta charset="utf-8"> | ||
16 | <title>updating poche</title> | ||
17 | </head> | ||
18 | <body> | ||
19 | <h1>update poche to 1.0-beta4</h1> | ||
20 | |||
21 | <h2>Changelog</h2> | ||
22 | <ul> | ||
23 | <li>enhancement: updating and installing poche are more easier</li> | ||
24 | <li>enhancement: poche now uses Full Text RSS to fetch content</li> | ||
25 | <li>enhancement: css and twig files are more clean, thanks to NumEricR and nicofrand</li> | ||
26 | <li>enhancement: updated german translation, thanks to HLFH</li> | ||
27 | <li>enhancement: add db/, cache/ and assets/ directories in versioning</li> | ||
28 | <li>enhancement: display messages when error with import, thanks to EliasZ</li> | ||
29 | <li>enhancement: poche compatibility test file</li> | ||
30 | <li>enhancement: <a href="https://github.com/inthepoche/poche/issues/112">#112</a>: link with shaarli</li> | ||
31 | <li>enhancement: <a href="https://github.com/inthepoche/poche/issues/162">#162</a>: links to firefox / chrome / android apps in config screen</li> | ||
32 | <li>bug: encode url to share with twitter / email / shaarli</li> | ||
33 | <li>bug: Add IPv4 url support (and others beginning by a digit)</li> | ||
34 | <li>bug: title page in article view was wrong</li> | ||
35 | <li>bug: <a href="https://github.com/inthepoche/poche/issues/148">#148</a>: use of undefined constant POCHE_VERSION</li> | ||
36 | <li>bug: <a href="https://github.com/inthepoche/poche/issues/148">#149</a>: can't poche theguardian.com</li> | ||
37 | <li>bug: <a href="https://github.com/inthepoche/poche/issues/150">#150</a>: default title for untitled articles</li> | ||
38 | <li>bug: <a href="https://github.com/inthepoche/poche/issues/150">#151</a>: HTML entities in titles are encoded twice</li> | ||
39 | <li>bug: <a href="https://github.com/inthepoche/poche/issues/169">#169</a>: entries height with short description</li> | ||
40 | <li>bug: <a href="https://github.com/inthepoche/poche/issues/175">#175</a>: IP addresses do not appear in "view original"</li> | ||
41 | </ul> | ||
42 | <p>To update your poche, please fill the following fields.</p> | ||
43 | <p> | ||
44 | <form name="update" method="post"> | ||
45 | <div><label for="login">login:</label> <input type="text" name="login" id="login" /></div> | ||
46 | <div><label for="password">password:</label> <input type="password" name="password" id="password" /></div> | ||
47 | <div><input type="hidden" name="go" value="ok" /><input type="submit" value="update" /></div> | ||
48 | </form> | ||
49 | </p> | ||
50 | <?php | ||
51 | if (isset($_POST['go'])) { | ||
52 | if (!empty($_POST['login']) && !empty($_POST['password'])) { | ||
53 | $user = $store->login($_POST['login'], sha1($_POST['password'] . $_POST['login'] . SALT)); | ||
54 | if ($user != array()) { | ||
55 | $myconfig_file = '../inc/poche/myconfig.inc.php'; | ||
56 | # just change version number in config file | ||
57 | |||
58 | if (!is_writable('../inc/poche/myconfig.inc.php')) { | ||
59 | die('You don\'t have write access to open ./inc/poche/myconfig.inc.php.'); | ||
60 | } | ||
61 | |||
62 | if (file_exists($myconfig_file)) | ||
63 | { | ||
64 | $content = str_replace('1.0-beta3', '1.0-beta4', file_get_contents($myconfig_file)); | ||
65 | file_put_contents($myconfig_file, $content); | ||
66 | } | ||
67 | ?> | ||
68 | <p><span style="color: green;">your poche is up to date!</span></p> | ||
69 | <p><span style="color: red;">don't forget to delete ./install/ folder after the update.</span></p> | ||
70 | <p><a href="../">go back to your poche</a></p> | ||
71 | <?php | ||
72 | } | ||
73 | } | ||
74 | } | ||
75 | ?> | ||
76 | </body> | ||
77 | </html> \ No newline at end of file | ||