aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: refactor annoying URL patterns in a single loopnodiscc2015-03-041-9/+6
| | | | * fixes https://github.com/shaarli/Shaarli/issues/133
* Add some filters to clean URLsAlexis J2015-03-041-0/+5
|
* Prevent visitors from reading shaarli versionnodiscc2015-02-251-2/+2
| | | | | | | * fixes https://github.com/shaarli/Shaarli/issues/122 * the shaarli version is now in a php comment block, which prevents visitors from reading it when it is place on a PHP-enabled server, but still allows the update mechanism to read it from the source on github.
* shaarli/Shaarli#34: Make update check optionalArthurHoaro2015-02-201-0/+4
| | | | | * Add a check box at installation (checked by default) * Add a check box in configuration page
* bump version to 0.0.43betav0.0.43betanodiscc2015-02-201-2/+2
|
* Only verify login state at the beginning of the request.Florian Eula2015-02-181-22/+57
| | | | Moved login check into a function
* redirect to previous search (if any) when deleting a linkfeula2015-02-171-1/+31
| | | | * Fixes https://github.com/shaarli/Shaarli/issues/110
* Feature: enable/disable permalinks for RSSFlorian Eula2015-02-071-4/+8
| | | | | | | | | | | | | | | | | | | | The option to see the shortlinks or permalinks has been added to the configuration panel. It is a simple checkbox This option is disabled by default (meaning that shortlinks are the default) Updated writeConfig() to save this option Also fixed a slight typo in config.html. Removed useless CSS & fixed a comment Enabled permalinks for the ATOM feed and fixed the isPermaLink attribute for the <guid> tag Reverted to default behavior and clarified its meaning EnableRssPermalinks is an oddly behaving option: when enabled, it shows a permalink in the description and a full link in the element title, and swaps it around when disabled. This clarifies the option for end-users Also, moved enable_rss_permalinks to $GLOBALS['config'] because it is a config option. fix indent
* Merge pull request #98 from ArthurHoaro/portnodiscc2015-01-261-4/+4
|\ | | | | Fix port/server config problems by using php SERVER_NAME instead of HTTP_HOST
| * Fixes Port/server config problems - see: ↵ArthurHoaro2015-01-091-4/+4
| | | | | | | | | | | | | | https://github.com/shaarli/Shaarli/issues/17 * Use SERVER_NAME instead of HTTP_HOST to define current URL (in serverUrl() * Use SERVER_NAME instead of HTTP_HOST while setting up cookies
* | Merge pull request #100 from virtualtam/daily-timestampnodiscc2015-01-261-0/+1
|\ \ | | | | | | daily: display link timestamps
| * | daily: display link timestampsVirtualTam2015-01-151-0/+1
| | | | | | | | | | | | | | | | | | Fixes #26 Signed-off-by: VirtualTam <virtualtam@flibidi.org>
* | | w3c: fix HTML syntax errorsVirtualTam2015-01-201-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #64 All pages: - add `urlencode` when passing the version to a custom stylesheet; - set meaningful values of `alt` and `title` for QR-Code images. Install page: - the form's `action` attribute must be non-empty; - the `valign` attribute is deprecated. Signed-off-by: VirtualTam <virtualtam@flibidi.org>
* / * removed the language attribute on the script element since it is obsolete ↵ArthurHoaro2015-01-091-15/+15
|/ | | | | | | | | | and we can safely omit it. * make QRCode JS works with IE : * behave as a normal link if canvas aren't supported (<=IE8) * default parameter values in JS aren't widely supported (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters ), use this method instead: http://stackoverflow.com/a/148918/1484919 * dataset isn't supported in IE9 use getAttribute instead * addEventListener works with IE9+ and other browsers
* Redirect to home page after deleting a linkEmilien Klein2015-01-041-3/+1
| | | Fixes issue 87
* Merge pull request #85 from nodiscc/tagcloud-scalingnodiscc2014-12-291-1/+2
|\ | | | | improve tag cloud font size scaling
| * improve tag cloud font size scalingnodiscc2014-12-291-1/+2
| | | | | | | | | | * use logarithmic scales * remove bold style
* | Merge pull request #82 from pikzen/fix-searchnodiscc2014-12-251-7/+11
|\ \ | | | | | | Made tag/title search unicode aware, fixes #75
| * | Made tag/title search unicode aware, fixes #75Florian Eula2014-12-221-7/+11
| | |
* | | Refactored the daily column generation (only one loop)Florian Eula2014-12-251-4/+1
| |/ |/|
* | fix quoting error introduced in 712501812b6f927b048b9d7f767cb15a370b3c81nodiscc2014-12-161-1/+1
| |
* | prevent disclosing PHP version on PHP version check errornodiscc2014-12-161-1/+1
| | | | | | | | | | * fixes https://github.com/shaarli/Shaarli/issues/78 * fixes https://github.com/sebsauvage/Shaarli/issues/214
* | prevent disclosing full path when raising "Shaarli directory not writeable" ↵nodiscc2014-12-161-1/+1
| | | | | | | | | | | | error * work on https://github.com/shaarli/Shaarli/issues/78
* | Fix issue #66 by adding space before "selected"Emilien Klein2014-12-021-2/+2
|/
* Prevents ?do=addlink from generating a 404 if the user is not logged inFlorian Eula2014-11-211-0/+8
| | | | Fixes https://github.com/shaarli/Shaarli/issue/47
* Do not add a tag to the search if it's already being searched forFlorian Eula2014-11-211-7/+25
|
* make archive.org integration optional (ARCHIVE_ORG option, defaults to false)nodiscc2014-11-081-0/+1
|
* index.html: add warning message about hostname/cookie storage problemsnodiscc2014-11-031-1/+3
| | | | | * Fixes https://github.com/sebsauvage/Shaarli/issues/196 * Fixes https://github.com/sebsauvage/Shaarli/issues/97
* Merge pull request #36 from nodiscc/https-thumbnailsEmilien Klein2014-10-231-7/+7
|\ | | | | thumbnails: force HTTPS for youtube, imgur, vimeo
| * thumbnails: force HTTPS for youtube, imgur, vimeonodiscc2014-10-231-7/+7
| | | | | | | | * other services also provide thumbs over HTTPS, but the rewrite expression is more complex, so left out for now
* | Make ATOM toolbar button optionalnodiscc2014-10-231-0/+1
|/ | | | | * ATOM button display is now configurable using the SHOW_ATOM variable in index.php or data/options.php (defaults to false) * Fixes https://github.com/shaarli/Shaarli/issues/24
* update check: check against last version available on github.com/shaarli/Shaarlinodiscc2014-10-211-1/+1
| | | | * fixes https://github.com/shaarli/Shaarli/issues/5
* add link: in case of empty URL (self-post), prepend "Note: " to the titlenodiscc2014-10-211-1/+5
| | | | | * Thanks to qwertygc (https://github.com/shaarli/Shaarli/pull/23) * Fix small typo
* fix: add missing slash when defining RainTPL's temp dirVirtualTam2014-10-191-2/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.org>
* Merge pull request #19 from nodiscc/masternodiscc2014-08-191-3/+3
|\ | | | | bookmarklet: use selected text as description when adding a new link
| * bookmarklet: use selected text as description when adding a new linknodiscc2014-08-111-3/+3
| | | | | | | | | | | | | | | | | | * Based on romnGit's work at https://github.com/sebsauvage/Shaarli/pull/104 * Fixes https://github.com/shaarli/Shaarli/issues/18 * Closes https://github.com/sebsauvage/Shaarli/pull/104 * Fixes https://github.com/sebsauvage/Shaarli/issues/53 * Fixes https://github.com/sebsauvage/Shaarli/issues/129 * Fixes https://github.com/sebsauvage/Shaarli/issues/33
* | Merge pull request #20 from nodiscc/fix-typosSbgodin2014-08-191-127/+127
|\ \ | | | | | | Fix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix typo in css
| * | Fix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix ↵nodiscc2014-08-191-127/+127
| |/ | | | | | | | | | | | | typo in css Based on respencer's work at https://github.com/respencer/Shaarli/ Closes https://github.com/sebsauvage/Shaarli/pull/103
* | Removes htaccess file creation and adds them in the repositoryChristophe HENRY2014-08-041-7/+0
| | | | | | | | I also removed the previously created placeholders, which after all, have no more utility.
* | Adds empty directories: cache, data, pagecache and tmp. Removes mkdirs.Christophe HENRY2014-08-041-4/+0
| | | | | | | | They are still in .gitignore because their future content will still be ignored.
* | Removed redundant check on RAINTPL_TMP directoryChristophe HENRY2014-07-311-1/+0
| | | | | | | | The same test is already on line 93
* | Adds configuration variables, TPL and TMP, for RainTPLChristophe HENRY2014-07-311-4/+6
|/ | | | | | The path for templates and temporary files are now part of the configuration. For a custom install, it's possible to put these writable directories elsewhere than in the read-only source code.
* Adds a configuration variable "titleLink" which allows to customize theChristophe HENRY2014-07-271-0/+4
| | | | link on the title.
* Release version 0.0.42 betav0.0.42betaEmilien Klein2014-07-271-2/+2
|
* A real "Stay signed in": keep the connectionChristophe HENRY2013-12-051-5/+21
| | | | | | | | | | Instead of trusting the php session, it uses a cookie. The php session sooner or later is distroyed if not used. It depends upon the server settings. Using a cookie ensures that one really stays signed in. Dev notes: I wanted to avoid merge conflicts, stay with the main developper standards and keep the "index.php" in one file. That's why the code may not be that nice. My own dev level my also explain.
* Merge pull request #145 from Alkarex/patch-1Sébastien SAUVAGE2013-11-291-5/+2
|\ | | | | smallHash: simplified and improved performance
| * smallHash: simplified and improved performanceAlexandre Alapetite2013-11-101-5/+2
| | | | | | Unchanged behaviour
* | XSS flaw correctionSebastien SAUVAGE2013-11-291-5/+5
|/ | | | Closes issue https://github.com/sebsauvage/Shaarli/issues/134
* Corrected field focus in bookmarkletSebastien SAUVAGE2013-09-271-1/+1
| | | | Focus was not properly given to description field when it's empty.
* Default example private link changedSébastien SAUVAGE2013-09-251-1/+1
| | | Default example private link changed from pastebin to ZeroBin.