| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Add a .gitattributes to ease repository management
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Features:
- enforce LF (Unix) line endings
- omit dev/test resources & code from Git(Hub) archives
- treat minified resources (CSS, JS) as binaries to avoid cluttered diffs
Resources:
- http://git-scm.com/docs/gitattributes
- https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
- https://help.github.com/articles/dealing-with-line-endings/
- http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/
- https://github.com/Danimoth/gitattributes
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
QRCode plugin: use url instead of real_url
|
| |
| |
| |
| |
| |
| | |
Fixes #414 and avoid usage of redirector in QRCode.
Also fixed a bug with URL encoding.
|
|\ \
| |/
|/| |
Fixes QRCode style
|
|/
|
|
|
| |
* fixes a regression misplacing QRCode popup.
* adds a 'show' class in JS to handle CSS transition.
|
|\
| |
| | |
Fixes #403 : Remove QRCode in core CSS and fix plugin layout
|
| | |
|
|\ \
| | |
| | | |
Adding a new placeholder in render_footer hook.
|
| |/
| |
| |
| | |
Allow free elements at the end of the page.
|
|\ \
| | |
| | | |
Fixes #402: build the daily page through renderPage()
|
| |/
| |
| |
| |
| | |
* new entry in the Router for daily page.
* add an always displayed button in demo_plugin
|
| |
| |
| |
| | |
18cca483b0b51f190bd875fc4273a0fff3fedebd ).
|
|\ \
| | |
| | | |
Minimal indent of tools.html
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Temporary fix for head titles
|
|/ /
| |
| |
| | |
only set the title on permalink.
|
|\ \
| | |
| | | |
Fixes #399 - show single link title as page title
|
|/ / |
|
|\ \
| | |
| | | |
fix: assign template variables to empty values so they can be evaluated
|
|/ /
| |
| |
| |
| |
| | |
Regression introduced in #394
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| | |
|
| | |
|
|\ \
| | |
| | | |
application: default to the "stable" branch for update checks
|
|/ /
| |
| |
| |
| |
| |
| | |
Relates to #372
Relates to #390
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
application: refactor version checks, move to ApplicationUtils
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Relates to #372
Modifications:
- move checkUpdate() to ApplicationUtils
- reduce file I/O operations during version checks
- apply coding conventions
- add test coverage
Tools:
- create a sandbox directory for tests
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
URL encode links when a redirector is set
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #328 - URL encode links when a redirector is set
* WARNING - template edit - new variable available : "real_url"
Contains the final real url (redirected or any other change on original URL)
* Don't redirect shaares link in RSS/Atom.
* Affects links shaared in description.
* Move text2clickable and keepMultipleSpaces to Utils.php + unit test
UPDATE:
* keepMultipleSpaces renamed to space2nbsp
* space2nbsp improved to handle single space at line beginning
* links in text description aren't 'nofollow' anymore
|
|/
|
|
| |
From 2e28269baed195d58bbe169841eed176b171db76
|
|\
| |
| | |
json_encode removed
|
|/
|
|
|
|
| |
See http://php.net/manual/en/function.json-encode.php
Legacy since php 5.2.x . If php5.3 is required for the install script
|
|\
| |
| | |
application: move checkPHPVersion from Utils to ApplicationUtils
|
|/
|
|
|
|
| |
Relates to #372
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
tools: check file/directory permissions for Shaarli resources
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relates to #40
Relates to #372
Additions:
- FileUtils: IOException
- ApplicationUtils:
- check if Shaarli resources are accessible with sufficient permissions
- basic test coverage
- index.php:
- check access permissions and redirect to an error page if needed:
- before running the first installation
Modifications:
- LinkDB:
- factorize datastore write code
- check if the datastore
(exists AND is writeable) OR (doesn't exist AND its parent dir is writable)
- raise an IOException if needed
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
fill session info when shaarli is in open mode
|
| | |
|
|\ \
| | |
| | | |
Fixes #360 - Auto-complete more than one tag in tag filter field
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Group awesomplete for multi data in a single JS file.
* Use it in editlink and linklist.
* Move awesomplete JS lib at the end of page in editlink.
|
|\ \ \
| | | |
| | | | |
Add a target to generate Doxygen documentation
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Relates to #95
Customizations for PHP/Shaarli:
- add project information
- index PHP files
- index global functions
- exclude directories
Usage
$ make doxygen
$ firefox doxygen/index.html &
Notes
- classes can be found under "Data Structures"
- global functions can be found under "Files > Globals > Functions"
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \ \
| | | |
| | | | |
Fixes #382: Bookmarklet can not retrieve title when there is a quotation mark in it
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
mark in it
bookmarklet fields weren't correctly escaped
|
|\ \ \
| | | |
| | | | |
Fixes #176 - Add opensearch functionality
|
| | |/
| |/|
| | |
| | |
| | | |
* add a new page in Router: do=opensearch which displays the opensearch plugin
* using base64 compressed image to avoid issue encountered with HTTPS
|