| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Searching '-mytag' will now exlude all shaares with 'mytag' tag.
* All tags starting with a '-' are renamed without it (through the Updater).
* Unit tests.
Minor code changes:
* LinkDB->filter() can now take no parameters (get all link depending on logged status).
* tagsStrToArray() is now static and filters blank tags.
|
|\
| |
| | |
Fixes typo in plugin admin redirection URL
|
| | |
|
|\ \
| | |
| | | |
Fixes #440 - 404 error after editing a link
|
| | |
| | |
| | |
| | | |
Remove unnecessary escape().
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Introduce the Updater class which
|
| |/
| |
| |
| |
| |
| |
| | |
* contains methods designed to be run once.
* is able to upgrade the datastore or the configuration.
* is based on methods names, stored in a text file with ';' separator (updates.txt).
* begins with existing function 'mergeDeprecatedConfigFile()' (options.php).
|
|\ \
| | |
| | | |
Common hooks: process includes before header/footer
|
|/ / |
|
|\ \
| | |
| | | |
Wallabag plugin: add version parameter in the meta file
|
|/ / |
|
|\ \
| | |
| | | |
Initialize plugin parameters array to avoid unnecessary warning.
|
| |/ |
|
|\ \
| |/
|/| |
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning
|
|/ |
|
|\
| |
| | |
Implemented a little more sophisticated searching (squashed)
|
| |
| |
| |
| |
| |
| | |
particular order.
+ unit tests
|
|\ \
| | |
| | | |
Bump version to v0.6.3
|
|/ / |
|
|\ \
| | |
| | | |
Fixes forced git changes
|
|/ /
| |
| |
| | |
Probably related to the introduction of .gitattribute with forced line ending.
|
|\ \
| | |
| | | |
Fixes #378 - Plugin administration UI.
|
| | | |
|
|\ \ \
| |/ /
|/| | |
PLUGIN Markdown
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Parse link description in Markdown (HTML) before rendering.
* hard remove of Shaarli's HTML before parsing.
* Using Parsedown <https://github.com/erusev/parsedown> PHP lib.
* Includes basic markdown CSS.
* Style: removed 400px height max limit for shaares.
* Unit tests.
|
|\ \ \
| |_|/
|/| | |
remove whitespace
|
|/ / |
|
|\ \
| | |
| | | |
Create 404 template
|
| | |
| | |
| | |
| | | |
Solve #430 for links
|
|/ / |
|
|\ \
| | |
| | | |
tests: add a make target to check file permissions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Additions:
- [makefile] check versioned files are not executable
- [travis] call the new make target
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \ \
| |/ /
|/| | |
fix: use PHP_EOL for carriage returns in file logs
|
|/ /
| |
| |
| |
| |
| | |
Relates to #436
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
Logging: improve formatting to enable fail2ban parsing
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #436
Modifications:
- remove calls to strval() on safe data
- update the date format: 'Y/m/d_H:i:s' => 'Y/m/d H:i:s'
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
Logging: move logm() from index.php to application/Utils.php
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Relates to #436
Modifications:
- inject dependencies to global variables ($_SERVER, $GLOBALS)
- apply coding conventions
- add test coverage
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
Fixes #410 - Retrieve title fails in multiple cases
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
* `get_http_url()` renamed to `get_http_response()`.
* Use the same HTTP context to retrieve response headers and content.
* Follow HTTP 301 and 302 redirections to retrieve the title (default max 3 redirections).
* Add `LinkUtils` to extract titles and charset.
* Try to retrieve charset from HTTP headers first (new), then HTML content.
* Use mb_string to re-encode title if necessary.
|
| |
| |
| |
| | |
Probably a line ending issue...
|
|\ \
| | |
| | | |
Link filter refactoring
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* introduce class LinkFilter to handle link filter operation (and lighten LinkDB).
* handle 'private only' in filtering.
* update template to prefill search fields with current search terms.
* coding style.
* unit test (mostly move from LinkDB to LinkFilter).
PS: preparation for #358 #315 and 'AND' search.
|
|\ \ \
| | | |
| | | | |
Fixes #428: validate buttons presence instead of value
|
|/ / /
| | |
| | |
| | |
| | | |
Also adds a validation where renaming with 'fromtag' specified and empty 'totag'.
It was causing a 404, now it just re-render the form.
|
|\ \ \
| | | |
| | | | |
Wallabag plugin improvement
|