diff options
Diffstat (limited to 'doc/Home.md')
-rw-r--r-- | doc/Home.md | 125 |
1 files changed, 81 insertions, 44 deletions
diff --git a/doc/Home.md b/doc/Home.md index bbece989..b5d9c396 100644 --- a/doc/Home.md +++ b/doc/Home.md | |||
@@ -2,9 +2,7 @@ | |||
2 | 2 | ||
3 | Welcome to the [Shaarli](https://github.com/shaarli/Shaarli/) wiki! Here you can find some info on how to use, configure, tweak and solve problems with your Shaarli. For general info, read the [README](https://github.com/shaarli/Shaarli/blob/master/README.md). | 3 | Welcome to the [Shaarli](https://github.com/shaarli/Shaarli/) wiki! Here you can find some info on how to use, configure, tweak and solve problems with your Shaarli. For general info, read the [README](https://github.com/shaarli/Shaarli/blob/master/README.md). |
4 | 4 | ||
5 | If you have any questions or ideas, please join the [chat](https://gitter.im/shaarli/Shaarli) (also reachable via [IRC](https://irc.gitter.im/)), post them in our [general discussion](https://github.com/shaarli/Shaarli/issues/44) or read the current [issues](https://github.com/shaarli/Shaarli/issues). If you've found a bug, please create a [new issue](https://github.com/shaarli/Shaarli/issues/new). | 5 | If you have any questions or ideas, please join the [chat](https://gitter.im/shaarli/Shaarli) (also reachable via [IRC](https://irc.gitter.im/)), post them in our [general discussion](https://github.com/shaarli/Shaarli/issues/44) or read the current [issues](https://github.com/shaarli/Shaarli/issues). If you've found a bug, please create a [new issue](https://github.com/shaarli/Shaarli/issues/new). If you would like a feature added to Shaarli, check the issues labeled [`feature`](https://github.com/shaarli/Shaarli/labels/feature), [`enhancement`](https://github.com/shaarli/Shaarli/labels/enhancement), and [`plugin`](https://github.com/shaarli/Shaarli/labels/plugin). |
6 | |||
7 | If you'd like a feature added, see if it fits in the list of [Ideas for Plugins](Ideas-for-plugins) and update the corresponding bug report. | ||
8 | 6 | ||
9 | _Note: This documentation is available online at https://github.com/shaarli/Shaarli/wiki, and locally in the `doc/` directory of your Shaarli installation._ | 7 | _Note: This documentation is available online at https://github.com/shaarli/Shaarli/wiki, and locally in the `doc/` directory of your Shaarli installation._ |
10 | 8 | ||
@@ -14,7 +12,9 @@ _Note: This documentation is available online at https://github.com/shaarli/Shaa | |||
14 | 12 | ||
15 | - [Basic Usage](#basic-usage) | 13 | - [Basic Usage](#basic-usage) |
16 | - [Add the sharing button (_bookmarklet_) to your browser](#add-the-sharing-button-_bookmarklet_-to-your-browser) | 14 | - [Add the sharing button (_bookmarklet_) to your browser](#add-the-sharing-button-_bookmarklet_-to-your-browser) |
15 | - [Add Shaarli as a sharing service to Firefox](#add-shaarli-as-a-sharing-service-to-firefox) | ||
17 | - [Share links using the _bookmarklet_](#share-links-using-the-_bookmarklet_) | 16 | - [Share links using the _bookmarklet_](#share-links-using-the-_bookmarklet_) |
17 | - [Sharing links using Firefox share](#sharing-links-using-firefox-share) | ||
18 | - [Other usage examples](#other-usage-examples) | 18 | - [Other usage examples](#other-usage-examples) |
19 | - [Using Shaarli as a blog, notepad, pastebin...](#using-shaarli-as-a-blog-notepad-pastebin) | 19 | - [Using Shaarli as a blog, notepad, pastebin...](#using-shaarli-as-a-blog-notepad-pastebin) |
20 | - [RSS Feeds or Picture Wall for a specific search/tag](#rss-feeds-or-picture-wall-for-a-specific-searchtag) | 20 | - [RSS Feeds or Picture Wall for a specific search/tag](#rss-feeds-or-picture-wall-for-a-specific-searchtag) |
@@ -40,6 +40,11 @@ _Note: This documentation is available online at https://github.com/shaarli/Shaa | |||
40 | - [Various hacks](#various-hacks) | 40 | - [Various hacks](#various-hacks) |
41 | - [Changing timestamp for a link](#changing-timestamp-for-a-link) | 41 | - [Changing timestamp for a link](#changing-timestamp-for-a-link) |
42 | - [Related software](#related-software) | 42 | - [Related software](#related-software) |
43 | - [Server apps](#server-apps) | ||
44 | - [Android apps](#android-apps) | ||
45 | - [Themes & templates](#themes--templates) | ||
46 | - [Integrate Shaarli with other platforms](#integrate-shaarli-with-other-platforms) | ||
47 | - [Alternative to Shaarli](#alternative-to-shaarli) | ||
43 | - [Other links](#other-links) | 48 | - [Other links](#other-links) |
44 | - [FAQ](#faq) | 49 | - [FAQ](#faq) |
45 | - [Why did you create Shaarli ?](#why-did-you-create-shaarli-) | 50 | - [Why did you create Shaarli ?](#why-did-you-create-shaarli-) |
@@ -47,6 +52,7 @@ _Note: This documentation is available online at https://github.com/shaarli/Shaa | |||
47 | - [What does Shaarli mean ?](#what-does-shaarli-mean-) | 52 | - [What does Shaarli mean ?](#what-does-shaarli-mean-) |
48 | - [Technical details](#technical-details) | 53 | - [Technical details](#technical-details) |
49 | - [Directory structure](#directory-structure) | 54 | - [Directory structure](#directory-structure) |
55 | - [Development](#development) | ||
50 | - [Why not use a real database ? Files are slow !](#why-not-use-a-real-database--files-are-slow-) | 56 | - [Why not use a real database ? Files are slow !](#why-not-use-a-real-database--files-are-slow-) |
51 | - [Wiki - TODO](#wiki---todo) | 57 | - [Wiki - TODO](#wiki---todo) |
52 | 58 | ||
@@ -68,6 +74,14 @@ _This bookmarklet button in compatible with Firefox, Opera, Chrome and Safari. U | |||
68 | 74 | ||
69 | ![](images/bookmarklet.png) | 75 | ![](images/bookmarklet.png) |
70 | 76 | ||
77 | |||
78 | ### Add Shaarli as a sharing service to Firefox | ||
79 | |||
80 | * Open your Shaarli and `Login` | ||
81 | * Click the `Tools` button in the top bar | ||
82 | * Click the `βAdd to Firefox social` button and accept the activation. | ||
83 | |||
84 | |||
71 | ### Share links using the _bookmarklet_ | 85 | ### Share links using the _bookmarklet_ |
72 | 86 | ||
73 | * When you are visiting a webpage you would like to share with Shaarli, click the _bookmarklet_ you just added. | 87 | * When you are visiting a webpage you would like to share with Shaarli, click the _bookmarklet_ you just added. |
@@ -78,6 +92,11 @@ _This bookmarklet button in compatible with Firefox, Opera, Chrome and Safari. U | |||
78 | * Click `Save`.**Voila! Your link is now shared.** | 92 | * Click `Save`.**Voila! Your link is now shared.** |
79 | 93 | ||
80 | 94 | ||
95 | ### Sharing links using Firefox share | ||
96 | |||
97 | * Add the sharing service as described above | ||
98 | * When you are visiting a webpage you would like to share with Shaarli, click the Firefox _Share_ button [[images/firefoxshare.png]] | ||
99 | * You can edit your link before and after saving, just like the bookmarklet above. | ||
81 | 100 | ||
82 | 101 | ||
83 | # Other usage examples | 102 | # Other usage examples |
@@ -116,7 +135,7 @@ It is possible to filter RSS/ATOM feeds and Picture Wall on a Shaarli to **only | |||
116 | * The same method **also works for a full-text search** (_Search_ box) **and for the Picture Wall** (want to only see pictures about `nature`?) | 135 | * The same method **also works for a full-text search** (_Search_ box) **and for the Picture Wall** (want to only see pictures about `nature`?) |
117 | * You can also build the URL manually: `https://my.shaarli.domain/?do=rss&searchtags=nature`, `https://my.shaarli.domain/links/?do=picwall&searchterm=poney` | 136 | * You can also build the URL manually: `https://my.shaarli.domain/?do=rss&searchtags=nature`, `https://my.shaarli.domain/links/?do=picwall&searchterm=poney` |
118 | 137 | ||
119 | ![](rss-filter-1.png) ![](rss-filter-2.png) | 138 | ![](images/rss-filter-1.png) ![](images/rss-filter-2.png) |
120 | 139 | ||
121 | # Configuration | 140 | # Configuration |
122 | 141 | ||
@@ -141,10 +160,10 @@ To change the configuration, create the file `data/options.php`, example: | |||
141 | * `BAN_AFTER (4)` : An IP address will be banned after this many failed login attempts. | 160 | * `BAN_AFTER (4)` : An IP address will be banned after this many failed login attempts. |
142 | * `BAN_DURATION (1800)` : Duration of ban (in seconds). (1800 seconds = 30 minutes) | 161 | * `BAN_DURATION (1800)` : Duration of ban (in seconds). (1800 seconds = 30 minutes) |
143 | * `OPEN_SHAARLI (false)` : If you set this option to true, anyone will be able to add/modify/delete/import/exports links without having to login. | 162 | * `OPEN_SHAARLI (false)` : If you set this option to true, anyone will be able to add/modify/delete/import/exports links without having to login. |
144 | * `HIDE_TIMESTAMPS (false)` : If you set this option to true, the date/time of each link will not be displayed (including in RSS Feed). | 163 | * `HIDE_TIMESTAMPS (false)` : If you set this option to true, the date/time of each link will not be displayed (including in RSS Feed).#related-software |
145 | * `ENABLE_THUMBNAILS (true)` : Enable/disable thumbnails. | 164 | * `ENABLE_THUMBNAILS (true)` : Enable/disable thumbnails. |
146 | * `RAINTPL_TMP (tmp/)` : Raintpl cache directory (keep the trailing slash!) | 165 | * `RAINTPL_TMP (tmp/)` : Raintpl cache directory (keep the trailing slash!) |
147 | * `RAINTPL_TPL (tpl/) : Raintpl template directory (keep the trailing slash!). Edit this option if you want to change the rendering template (page structure) used by Shaarli. See [Changing template](#changing-template) | 166 | * `RAINTPL_TPL (tpl/)` : Raintpl template directory (keep the trailing slash!). Edit this option if you want to change the rendering template (page structure) used by Shaarli. See [Changing template](#changing-template) |
148 | * `CACHEDIR ('cache')` : Directory where the thumbnails are stored. | 167 | * `CACHEDIR ('cache')` : Directory where the thumbnails are stored. |
149 | * `ENABLE_LOCALCACHE (true)` : If you have a limited quota on your webspace, you can set this option to false: Shaarli will not generate thumbnails which need to be cached locally (vimeo, flickr, etc.). Thumbnails will still be visible for the services which do not use the local cache (youtube.com, imgur.com, dailymotion.com, imageshack.us) | 168 | * `ENABLE_LOCALCACHE (true)` : If you have a limited quota on your webspace, you can set this option to false: Shaarli will not generate thumbnails which need to be cached locally (vimeo, flickr, etc.). Thumbnails will still be visible for the services which do not use the local cache (youtube.com, imgur.com, dailymotion.com, imageshack.us) |
150 | * `UPDATECHECK_FILENAME ($GLOBALS['config']['DATADIR'].'/lastupdatecheck.txt')` : name of the file used to store available shaarli version. | 169 | * `UPDATECHECK_FILENAME ($GLOBALS['config']['DATADIR'].'/lastupdatecheck.txt')` : name of the file used to store available shaarli version. |
@@ -153,6 +172,7 @@ To change the configuration, create the file `data/options.php`, example: | |||
153 | * `SHOW_ATOM (false)` : Show an `ATOM Feed` button next to the `Subscribe` (RSS) button. ATOM feeds are available at the address `?do=atom` regardless of this option. | 172 | * `SHOW_ATOM (false)` : Show an `ATOM Feed` button next to the `Subscribe` (RSS) button. ATOM feeds are available at the address `?do=atom` regardless of this option. |
154 | * `ARCHIVE_ORG (false)` : For each link, display a link to an archived version on archive.org | 173 | * `ARCHIVE_ORG (false)` : For each link, display a link to an archived version on archive.org |
155 | * `ENABLE_RSS_PERMALINKS (true)`: choose whether the RSS item title link points directly to the link, or to the entry on Shaarli (permalink). `true` is the original Shaarli bahevior (point directly to the link) | 174 | * `ENABLE_RSS_PERMALINKS (true)`: choose whether the RSS item title link points directly to the link, or to the entry on Shaarli (permalink). `true` is the original Shaarli bahevior (point directly to the link) |
175 | * `HIDE_PUBLIC_LINKS (false)`: setting this to true hides all links, even public ones, for non-logged in users. | ||
156 | 176 | ||
157 | 177 | ||
158 | ### Changing theme | 178 | ### Changing theme |
@@ -165,7 +185,7 @@ See also: | |||
165 | 185 | ||
166 | ### Changing template | 186 | ### Changing template |
167 | 187 | ||
168 | | π₯ | This feature is currently being worked on and will be improved in the next releases. Experimental. | | 188 | | WARNING | This feature is currently being worked on and will be improved in the next releases. Experimental. | |
169 | |---------|---------| | 189 | |---------|---------| |
170 | 190 | ||
171 | * Find the template you'd like to install. See the list of available templates (TODO). Find it's git clone URL or download the zip archive for the template. | 191 | * Find the template you'd like to install. See the list of available templates (TODO). Find it's git clone URL or download the zip archive for the template. |
@@ -174,7 +194,7 @@ See also: | |||
174 | 194 | ||
175 | `$GLOBALS['config']['RAINTPL_TPL'] = 'tpl/my-template/' ;` | 195 | `$GLOBALS['config']['RAINTPL_TPL'] = 'tpl/my-template/' ;` |
176 | 196 | ||
177 | You can find a list of compatible templates in [Related Software](#Related-software) | 197 | You can find a list of compatible templates in [Related Software](#related-software) |
178 | 198 | ||
179 | # Backup | 199 | # Backup |
180 | 200 | ||
@@ -267,13 +287,7 @@ Download [publisher.php](https://pubsubhubbub.googlecode.com/git/publisher_clien | |||
267 | 287 | ||
268 | * [Example patch: add a new "via" field for links](Example-patch---add-new-via-field-for-links) | 288 | * [Example patch: add a new "via" field for links](Example-patch---add-new-via-field-for-links) |
269 | * [Copy a Shaarli installation over SSH SCP, serve it locally with php cli](Copy-a-Shaarli-installation-over-SSH-SCP,-serve-it-locally-with-php-cli) | 289 | * [Copy a Shaarli installation over SSH SCP, serve it locally with php cli](Copy-a-Shaarli-installation-over-SSH-SCP,-serve-it-locally-with-php-cli) |
270 | * To display the array representing the data saved in datastore.php, use the following snippet (TODO where is it gone?) | 290 | * To display the array representing the data saved in datastore.php, use the following snippet |
271 | |||
272 | ### Changing timestamp for a link | ||
273 | * Look for `<input type="hidden" name="lf_linkdate" value="{$link.linkdate}">` in `tpl/editlink.tpl` (line 14) | ||
274 | * Remove `type="hidden"` from this line | ||
275 | * A new date/time field becomes available in the edit/new link dialog. You can set the timestamp manually by entering it in the format `YYYMMDD_HHMMS`. | ||
276 | |||
277 | ``` | 291 | ``` |
278 | $data = "tZNdb9MwFIb... <Commented content inside datastore.php>"; | 292 | $data = "tZNdb9MwFIb... <Commented content inside datastore.php>"; |
279 | $out = unserialize(gzinflate(base64_decode($data))); | 293 | $out = unserialize(gzinflate(base64_decode($data))); |
@@ -284,28 +298,40 @@ exit; | |||
284 | ``` | 298 | ``` |
285 | This will output the internal representation of the datastore, "unobfuscated" (if this can really be considered obfuscation) | 299 | This will output the internal representation of the datastore, "unobfuscated" (if this can really be considered obfuscation) |
286 | 300 | ||
301 | ### Changing timestamp for a link | ||
302 | * Look for `<input type="hidden" name="lf_linkdate" value="{$link.linkdate}">` in `tpl/editlink.tpl` (line 14) | ||
303 | * Remove `type="hidden"` from this line | ||
304 | * A new date/time field becomes available in the edit/new link dialog. You can set the timestamp manually by entering it in the format `YYYMMDD_HHMMS`. | ||
305 | |||
287 | 306 | ||
288 | # Related software | 307 | # Related software |
289 | Unofficial but relatedd work on Shaarli. If you maintain one of these, please get in touch with us to help us find a way to adapt your work to our fork. **TODO** contact repos owners to see if they'd like to standardize their work for the community fork. | 308 | Unofficial but relatedd work on Shaarli. If you maintain one of these, please get in touch with us to help us find a way to adapt your work to our fork. **TODO** contact repos owners to see if they'd like to standardize their work for the community fork. |
290 | 309 | ### Server apps | |
291 | * [shaarchiver](https://github.com/nodiscc/shaarchiver) - Archive your Shaarli bookmarks and their content | 310 | * [shaarchiver](https://github.com/nodiscc/shaarchiver) - Archive your Shaarli bookmarks and their content |
311 | * [shaarli-river](https://github.com/mknexen/shaarli-river) - An aggregator for shaarlis with many features | ||
312 | * [Shaarlo](https://github.com/DMeloni/shaarlo) - An aggregator for shaarlis with many features (a very popular running instance among french shaarliers: [shaarli.fr](http://shaarli.fr/)) | ||
313 | * [Shaarlimages](https://github.com/BoboTiG/shaarlimages) - An image-oriented aggregator for Shaarlis | ||
314 | * [mknexen/shaarli-api](https://github.com/mknexen/shaarli-api) - A REST API for Shaarli | ||
315 | |||
316 | ### Android apps | ||
292 | * [Shaarli for Android](http://sebsauvage.net/links/?ZAyDzg) - Android application that adds Shaarli as a sharing provider | 317 | * [Shaarli for Android](http://sebsauvage.net/links/?ZAyDzg) - Android application that adds Shaarli as a sharing provider |
293 | * [Shaarlier for Android](https://play.google.com/store/apps/details?id=com.dimtion.shaarlier) - Android application to simply add links directly into your Shaarli | 318 | * [Shaarlier for Android](https://github.com/dimtion/Shaarlier) - Android application to simply add links directly into your Shaarli |
294 | * [shaarli-river](https://github.com/mknexen/shaarli-river) - an aggregator for shaarlis with many features | 319 | |
295 | * [Shaarlo](https://github.com/DMeloni/shaarlo) - an aggregator for shaarlis with many features ([Demo](http://shaarli.fr/)) | 320 | ### Themes & templates |
321 | * [AkibaTech/Shaarli Superhero Theme](https://github.com/AkibaTech/Shaarli---SuperHero-Theme) - A template/theme for Shaarli | ||
322 | * [alexisju/albinomouse-template](https://github.com/alexisju/albinomouse-template) - A full template for Shaarli | ||
323 | * [dhoko/ShaarliTemplate](https://github.com/dhoko/ShaarliTemplate) - A template/theme for Shaarli | ||
296 | * [kalvn/shaarli-blocks](https://github.com/kalvn/shaarli-blocks) - A template/theme for Shaarli | 324 | * [kalvn/shaarli-blocks](https://github.com/kalvn/shaarli-blocks) - A template/theme for Shaarli |
297 | * [kalvn/Shaarli-Material](https://github.com/kalvn/Shaarli-Material) - | 325 | * [kalvn/Shaarli-Material](https://github.com/kalvn/Shaarli-Material) - A theme (template) based on Google's Material Design for Shaarli, the superfast delicious clone. |
298 | A theme (template) based on Google's Material Design for Shaarli, the superfast delicious clone. | 326 | * [misterair/Limonade](https://github.com/misterair/limonade) - A fork of (legacy) Shaarli with a new template |
299 | * [Vinm/Blue-theme-for Shaarli](https://github.com/Vinm/Blue-theme-for-Shaarli) - A template/theme for Shaarli ([unmaintained](https://github.com/Vinm/Blue-theme-for-Shaarli/issues/2), compatibility unknown) | 327 | * [Vinm/Blue-theme-for Shaarli](https://github.com/Vinm/Blue-theme-for-Shaarli) - A template/theme for Shaarli ([unmaintained](https://github.com/Vinm/Blue-theme-for-Shaarli/issues/2), compatibility unknown) |
300 | * [vivienhaese/shaarlitheme](https://github.com/vivienhaese/shaarlitheme) - A Shaarli fork meant to be run in an openshift instance | 328 | * [vivienhaese/shaarlitheme](https://github.com/vivienhaese/shaarlitheme) - A Shaarli fork meant to be run in an openshift instance |
329 | |||
330 | ### Integrate Shaarli with other platforms | ||
301 | * [tt-rss-shaarli](https://github.com/jcsaaddupuy/tt-rss-shaarli) - [TinyTiny RSS](http://tt-rss.org/) plugin that adds support for sharing articles with Shaarli | 331 | * [tt-rss-shaarli](https://github.com/jcsaaddupuy/tt-rss-shaarli) - [TinyTiny RSS](http://tt-rss.org/) plugin that adds support for sharing articles with Shaarli |
302 | * [dhoko/ShaarliTemplate](https://github.com/dhoko/ShaarliTemplate) - A template/theme for Shaarli | ||
303 | * [mknexen/shaarli-api](https://github.com/mknexen/shaarli-api) - a REST API for Shaarli | ||
304 | * [Albinomouse](https://github.com/alexisju/albinomouse-template) - A full template for Shaarli | ||
305 | * [Shaarlimages](https://github.com/BoboTiG/shaarlimages) - An image-oriented aggregator for Shaarlis | ||
306 | * [Shaarli Superhero Theme](https://github.com/AkibaTech/Shaarli---SuperHero-Theme) - A template/theme for Shaarli | ||
307 | * [Limonade](https://github.com/misterair/limonade) - A fork of Shaarli with a new template | ||
308 | * [octopress-shaarli](https://github.com/ahmet2mir/octopress-shaarli) - octoprress plugin to retrieve SHaarli links on the sidebara | 332 | * [octopress-shaarli](https://github.com/ahmet2mir/octopress-shaarli) - octoprress plugin to retrieve SHaarli links on the sidebara |
333 | |||
334 | ### Alternative to Shaarli | ||
309 | * [Bookie](https://github.com/bookieio/bookie) - Another self-hostable, Free bookmark sharing software, written in Python | 335 | * [Bookie](https://github.com/bookieio/bookie) - Another self-hostable, Free bookmark sharing software, written in Python |
310 | * [Unmark](https://github.com/plainmade/unmark) - An open source to do app for bookmarks ([Homepage](https://unmark.it/)) | 336 | * [Unmark](https://github.com/plainmade/unmark) - An open source to do app for bookmarks ([Homepage](https://unmark.it/)) |
311 | 337 | ||
@@ -374,26 +400,41 @@ Here is the directory structure of Shaarli and the purpose of the different file | |||
374 | 400 | ||
375 | ``` | 401 | ``` |
376 | index.php : Main program. | 402 | index.php : Main program. |
403 | application/ : Shaarli classes | ||
404 | βββ LinkDB.php | ||
405 | βββ Utils.php | ||
406 | tests/ : Shaarli unitary & functional tests | ||
407 | βββ LinkDBTest.php | ||
408 | βββ utils # utilities to ease testing | ||
409 | β βββ ReferenceLinkDB.php | ||
410 | βββ UtilsTest.php | ||
377 | COPYING : Shaarli license. | 411 | COPYING : Shaarli license. |
378 | inc/ : Includes (libraries, CSSβ¦) | 412 | inc/ : Includes (libraries, CSSβ¦) |
379 | shaarli.css : Shaarli stylesheet. | 413 | βββ awesomplete.*: tags autocompletion library |
380 | jquery.min.js : jQuery javascript library. | 414 | βββ blazy.*: picture wall lazy image loading library |
381 | jquery-ui.min.js : jQuery-UI javascript library. | 415 | βββ shaarli.css, reset.css : Shaarli stylesheet. |
382 | jquery-MIT-LICENSE.txt: jQuery license. | 416 | βββ qr.* : qr code generation library |
383 | jquery.lazyload.min.js: LazyLoad javascript library. | 417 | βββrain.tpl.class.php : RainTPL templating library. |
384 | rain.tpl.class.php : RainTPL templating library. | ||
385 | tpl/ : RainTPL templates for Shaarli. They are used to build the pages. | 418 | tpl/ : RainTPL templates for Shaarli. They are used to build the pages. |
386 | images/ : Images and icons used in Shaarli. | 419 | images/ : Images and icons used in Shaarli. |
387 | data/ : Directory where data is stored (bookmark database, configuration, logs, banlistβ¦) | 420 | data/ : Directory where data is stored (bookmark database, configuration, logs, banlistβ¦) |
388 | config.php : Shaarli configuration (login, password, timezone, titleβ¦) | 421 | βββ config.php : Shaarli configuration (login, password, timezone, titleβ¦) |
389 | datastore.php : Your link database (compressed). | 422 | βββ datastore.php : Your link database (compressed). |
390 | ipban.php : IP address ban system data. | 423 | βββ ipban.php : IP address ban system data. |
391 | lastupdatecheck.txt : Update check timestamp file (used to check every 24 hours if a new version of Shaarli is available). | 424 | βββ lastupdatecheck.txt : Update check timestamp file (used to check every 24 hours if a new version of Shaarli is available). |
392 | log.txt : login/IPban log. | 425 | βββlog.txt : login/IPban log. |
393 | cache/ : Directory containing the thumbnails cache. This directory is automatically created. You can erase it anytime you want. | 426 | cache/ : Directory containing the thumbnails cache. This directory is automatically created. You can erase it anytime you want. |
394 | tmp/ : Temporary directory for compiled RainTPL templates. This directory is automatically created. You can erase it anytime you want. | 427 | tmp/ : Temporary directory for compiled RainTPL templates. This directory is automatically created. You can erase it anytime you want. |
395 | ``` | 428 | ``` |
396 | 429 | ||
430 | ### Development | ||
431 | |||
432 | * [Contributing to Shaarli](https://github.com/shaarli/Shaarli/tree/master/CONTRIBUTING.md) | ||
433 | * [Running unit tests](Running-unit-tests) | ||
434 | * Patches should try to stick to the [PHP Standard Recommendations](http://www.php-fig.org/psr/) (PSR), especially: | ||
435 | * [PSR-1](http://www.php-fig.org/psr/psr-1/) - Basic Coding Standard | ||
436 | * [PSR-2](http://www.php-fig.org/psr/psr-2/) - Coding Style Guide | ||
437 | |||
397 | ### Why not use a real database ? Files are slow ! | 438 | ### Why not use a real database ? Files are slow ! |
398 | 439 | ||
399 | Does browsing [this page](http://sebsauvage.net/links/) feel slow ? Try browsing older pages, too. | 440 | Does browsing [this page](http://sebsauvage.net/links/) feel slow ? Try browsing older pages, too. |
@@ -403,10 +444,6 @@ It's not slow at all, is it ? And don't forget the database contains more than 1 | |||
403 | The data file is only 3.7 Mb. It's read 99% of the time, and is probably already in the operation system disk cache. So generating a page involves no I/O at all most of the time. | 444 | The data file is only 3.7 Mb. It's read 99% of the time, and is probably already in the operation system disk cache. So generating a page involves no I/O at all most of the time. |
404 | 445 | ||
405 | # Wiki - TODO | 446 | # Wiki - TODO |
406 | * Translate (new page can be called Home.fr, Home.es ...) and linked from Home | 447 | * translate (new page can be called Home.fr, Home.es ... and linked from Home) |
407 | * add more screenshots | 448 | * add more screenshots |
408 | * add developer documentation (storage architecture, classes and functions, security handling, ...) | 449 | * add developer documentation (storage architecture, classes and functions, security handling, ...) \ No newline at end of file |
409 | * Contact related projects | ||
410 | * Add a Table of Contents to the wiki (can be added to the sidebar) | ||
411 | |||
412 | ... \ No newline at end of file | ||