Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #624 from julienCXX/pr-curl-http-fetch | Arthur | 2016-08-09 | 1 | -10/+150 |
|\ | | | | | Added (and set as default) a cURL-based method for fetching HTTP content | ||||
| * | Set cURL as default in HTTP fetching, a fallback method and consistency ↵ | julienCXX | 2016-08-08 | 1 | -10/+150 |
| | | | | | | | | fixup between both methods | ||||
* | | Initialize a translation function | ArthurHoaro | 2016-08-07 | 1 | -0/+21 |
| | | | | | | | | It matches the API of ngettext(). | ||||
* | | Generate a token for every pages | ArthurHoaro | 2016-08-06 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #621 from ArthurHoaro/hotfix/update-escape-config | VirtualTam | 2016-08-02 | 1 | -2/+2 |
|\ | | | | | Fix update method escapeUnescapedConfig | ||||
| * | Fix update method escapeUnescapedConfig | ArthurHoaro | 2016-08-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | * Actually run it * unit tests Fixes #611 | ||||
* | | Better whitespace handling in tags | ArthurHoaro | 2016-08-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Correct PR #573 to work properly with hidden tags, and add ReferenceLinkDB UT. Fixes #571 - Closes #573 | ||||
* | | Better whitespace handling in tags. Fixes #571 | Chris Kuethe | 2016-08-02 | 1 | -2/+2 |
|/ | |||||
* | Fixes #600 - Shaarli's title is not set with the new config manager | ArthurHoaro | 2016-07-19 | 1 | -8/+2 |
| | | | | | - Fixed title config key - Page title (in head tag) is no longer set through the config manager | ||||
* | Merge pull request #558 from ArthurHoaro/hashtag4 | Arthur | 2016-07-09 | 4 | -56/+107 |
|\ | | | | | Hashtag system | ||||
| * | Hashtag system | ArthurHoaro | 2016-06-06 | 4 | -57/+108 |
| | | | | | | | | | | | | * Hashtag are auto-linked with a filter search * Supports unicode * Compatible with markdown (excluded in code blocks) | ||||
* | | Merge pull request #570 from ArthurHoaro/config-manager | Arthur | 2016-07-09 | 12 | -311/+905 |
|\ \ | |/ |/| | Introduce a configuration manager | ||||
| * | Add closing PHP tags to JSON config files | ArthurHoaro | 2016-06-20 | 1 | -1/+14 |
| | | |||||
| * | Pass the configuration manager to templates | ArthurHoaro | 2016-06-15 | 1 | -0/+2 |
| | | |||||
| * | Rename configuration key for better sections | ArthurHoaro | 2016-06-11 | 5 | -73/+77 |
| | | |||||
| * | PluginManager no longer uses singleton pattern | ArthurHoaro | 2016-06-11 | 1 | -36/+14 |
| | | |||||
| * | ConfigManager no longer uses singleton pattern | ArthurHoaro | 2016-06-11 | 4 | -95/+101 |
| | | |||||
| * | Remove remaining settings initialization in index.php | ArthurHoaro | 2016-06-11 | 2 | -51/+36 |
| | | | | | | | | Except for those which require external data (timezone and $_SERVER). | ||||
| * | Rename configuration keys and fix GLOBALS in templates | ArthurHoaro | 2016-06-11 | 6 | -76/+150 |
| | | |||||
| * | Set the default timezone in index.php | ArthurHoaro | 2016-06-11 | 1 | -3/+0 |
| | | |||||
| * | Adds ConfigJson which handle the configuration in JSON format. | ArthurHoaro | 2016-06-11 | 5 | -7/+112 |
| | | | | | | | | Also use the Updater to make the transition | ||||
| * | Replace $GLOBALS configuration with the configuration manager in the whole ↵ | ArthurHoaro | 2016-06-11 | 10 | -275/+98 |
| | | | | | | | | code base | ||||
| * | Introduce a configuration manager (not plugged yet) | ArthurHoaro | 2016-06-11 | 4 | -0/+607 |
| | | |||||
* | | Merge pull request #583 from ArthurHoaro/enhance/tag-case | Arthur | 2016-06-03 | 1 | -2/+9 |
|\ \ | | | | | | | Fixes #497: ignore case difference between tags | ||||
| * | | Fixes #497: ignore case difference between tags | ArthurHoaro | 2016-05-31 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | While retrieving all tags, case differences will be ignored. This affects: * tag cloud * tag autocompletion | ||||
* | | | Url.php: remove unwanted ?PHPSESSID= URL parameters, | nodiscc | 2016-05-20 | 1 | -0/+1 |
| |/ |/| | | | | | update test case | ||||
* | | Merge pull request #560 from ArthurHoaro/nb-private-shaare | Arthur | 2016-05-14 | 2 | -0/+161 |
|\ \ | | | | | | | Private links counter in the header | ||||
| * | | Add private link counter | ArthurHoaro | 2016-05-13 | 1 | -0/+16 |
| | | | |||||
| * | | Extract PageBuilder class from index.php | ArthurHoaro | 2016-05-13 | 1 | -0/+145 |
| | | | |||||
* | | | Fix startsWith and endsWith case | ArthurHoaro | 2016-05-10 | 3 | -16/+28 |
|/ / | |||||
* | | Export: allow prepending notes with the Shaarli instance's URL | VirtualTam | 2016-05-06 | 1 | -4/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to #102 Additions: - application: - export: allow prepending note permalinks with the instance's URL - test coverage Modifications: - export template: switch to an HTML form - link selection (all/private/public) - prepend note permalinks with the instance's URL Signed-off-by: VirtualTam <virtualtam@flibidi.net> | ||||
* | | typo | ArthurHoaro | 2016-05-05 | 2 | -3/+3 |
| | | |||||
* | | Merge pull request #551 from ArthurHoaro/hotfix/timezone | Arthur | 2016-05-05 | 1 | -4/+0 |
|\ \ | | | | | | | Use correct 'UTC' timezone | ||||
| * | | Use correct 'UTC' timezone | ArthurHoaro | 2016-05-03 | 1 | -4/+0 |
| | | | |||||
* | | | Merge pull request #532 from ArthurHoaro/hotfix/title-retrieve-the-return | Arthur | 2016-05-03 | 3 | -13/+95 |
|\ \ \ | | | | | | | | | Fixes #531 - Title retrieving is failing with multiple use case | ||||
| * | | | Fixes #531 - Title retrieving is failing with multiple use case | ArthurHoaro | 2016-05-03 | 3 | -13/+95 |
| | |/ | |/| | | | | | | | see https://github.com/shaarli/Shaarli/issues/531 for details | ||||
* | | | Fix error when filtering search tags | D Low | 2016-04-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Arrays are key-value maps. We should reindex the array after a filter since we are using the key and count to do array access in filterTags. An example would be searching for "foo, bar", after the array filter, our array is actually (0 -> foo, 2 -> bar) which will cause an error when trying to access $searchtags[1]. | ||||
* | | | Refactor Netscape bookmark exporting | VirtualTam | 2016-04-10 | 1 | -0/+47 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/netscape-bookmark-parser/issues/5 Fixes: - respect the Netscape bookmark format "specification" Modifications: - [application] introduce the NetscapeBookmarkUtils class - [template] export - improve formatting, rename export selection parameter - [template] export.bookmarks - template for Netscape exports - [tests] bookmark filtering, additional field generation Signed-off-by: VirtualTam <virtualtam@flibidi.net> | ||||
* | | Fixes #480: add an option to urlencode redirector URL | ArthurHoaro | 2016-04-09 | 1 | -6/+29 |
|/ | | | | | | | | * New config: `$GLOBALS['config']['REDIRECTOR_URLENCODE']` (default `true`). * Parameter added to LinkDB constructor. * Fixes a bug with urlencode and escaped url. * In `index.php`, LinkDB is now instanciate once for `importFile()` and `showDaily()`. * TU | ||||
* | Merge pull request #522 from ArthurHoaro/hotfix/readershaare | VirtualTam | 2016-03-30 | 1 | -1/+31 |
|\ | | | | | Refactor and rebase #380: Firefox reader view links | ||||
| * | Refactor and rebase #380: Firefox reader view links | ArthurHoaro | 2016-03-26 | 1 | -13/+29 |
| | | | | | | | | | | Fixes #366 Closes #380 | ||||
| * | Fix issue 366, Problem when shaaring a link in Reader View of Firefox. | Kevin Canévet | 2016-03-24 | 1 | -1/+15 |
| | | |||||
* | | Merge pull request #515 from ArthurHoaro/template-feeds | Arthur | 2016-03-25 | 6 | -12/+377 |
|\ \ | |/ |/| | Refactor RSS feeds generation, and do it through templates | ||||
| * | Refactor filter in LinkDB | ArthurHoaro | 2016-03-25 | 4 | -24/+74 |
| | | | | | | | | | | | | | | | | * search type now carried by LinkDB in order to factorize code between different search sources. * LinkDB->filter split in 3 method: filterSearch, filterHash, filterDay (we know what type of filter is needed). * filterHash now throw a LinkNotFoundException if it doesn't exist: internal implementation choice, still displays a 404. * Smallhash regex has been rewritten. * Unit tests update | ||||
| * | Makes escape a recursive function which handle array of strings | ArthurHoaro | 2016-03-25 | 1 | -3/+11 |
| | | |||||
| * | Create a FeedBuilder class which build data for both ATOM and RSS feed. | ArthurHoaro | 2016-03-25 | 2 | -1/+296 |
| | | |||||
| * | Refactor showAtom, and make it use the ATOM template | ArthurHoaro | 2016-03-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Minor changes: * Fix the date which was in a invalid format. * Avoid empty categories (tags). * Use the locale to set the language | ||||
| * | Adds a route for ATOM and RSS feeds page | ArthurHoaro | 2016-03-18 | 1 | -0/+12 |
| | | |||||
* | | Fixes #512: retrieving title didn't match the first closing tag | ArthurHoaro | 2016-03-08 | 1 | -1/+1 |
|/ | |||||
* | Fixes #477: support multi reverse proxy with comma syntax | ArthurHoaro | 2016-02-28 | 1 | -2/+12 |
| | | | | Going through multiple reverse proxy will store multiple scheme and port in HTTP header separated by a comma. Shaarli will use the first one to generate server_url. |