Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename configuration key for better sections | ArthurHoaro | 2016-06-11 | 1 | -53/+53 |
| | |||||
* | ConfigManager no longer uses singleton pattern | ArthurHoaro | 2016-06-11 | 1 | -127/+190 |
| | |||||
* | Remove remaining settings initialization in index.php | ArthurHoaro | 2016-06-11 | 1 | -27/+6 |
| | | | | Except for those which require external data (timezone and $_SERVER). | ||||
* | Rename configuration keys and fix GLOBALS in templates | ArthurHoaro | 2016-06-11 | 1 | -100/+102 |
| | |||||
* | Set the default timezone in index.php | ArthurHoaro | 2016-06-11 | 1 | -0/+2 |
| | |||||
* | Replace $GLOBALS configuration with the configuration manager in the whole ↵ | ArthurHoaro | 2016-06-11 | 1 | -243/+200 |
| | | | | code base | ||||
* | Version bump: v0.7.0 | ArthurHoaro | 2016-05-14 | 1 | -2/+2 |
| | | | | Signed-off-by: ArthurHoaro <arthur@hoa.ro> | ||||
* | Merge pull request #560 from ArthurHoaro/nb-private-shaare | Arthur | 2016-05-14 | 1 | -137/+5 |
|\ | | | | | Private links counter in the header | ||||
| * | Add private link counter | ArthurHoaro | 2016-05-13 | 1 | -14/+3 |
| | | |||||
| * | Extract PageBuilder class from index.php | ArthurHoaro | 2016-05-13 | 1 | -123/+2 |
| | | |||||
* | | Merge pull request #556 from ArthurHoaro/login-refill | Arthur | 2016-05-14 | 1 | -2/+5 |
|\ \ | | | | | | | Prefill the login field when the authentication has failed | ||||
| * | | Prefill the login field when the authentication has failed | ArthurHoaro | 2016-05-06 | 1 | -2/+5 |
| | | | |||||
* | | | Merge pull request #559 from ArthurHoaro/startsEndWithCase | Arthur | 2016-05-14 | 1 | -7/+7 |
|\ \ \ | | | | | | | | | Fix startsWith and endsWith case | ||||
| * | | | Fix startsWith and endsWith case | ArthurHoaro | 2016-05-10 | 1 | -7/+7 |
| | |/ | |/| | |||||
* / | | Don't redirect to ?post if ?addlink is reached while logged out | ArthurHoaro | 2016-05-11 | 1 | -6/+0 |
|/ / | |||||
* / | Export: allow prepending notes with the Shaarli instance's URL | VirtualTam | 2016-05-06 | 1 | -2/+14 |
|/ | | | | | | | | | | | | | | | | 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> | ||||
* | Merge pull request #551 from ArthurHoaro/hotfix/timezone | Arthur | 2016-05-05 | 1 | -8/+12 |
|\ | | | | | Use correct 'UTC' timezone | ||||
| * | Use correct 'UTC' timezone | ArthurHoaro | 2016-05-03 | 1 | -8/+12 |
| | | |||||
* | | Merge pull request #532 from ArthurHoaro/hotfix/title-retrieve-the-return | Arthur | 2016-05-03 | 1 | -3/+5 |
|\ \ | | | | | | | Fixes #531 - Title retrieving is failing with multiple use case | ||||
| * | | Fixes #531 - Title retrieving is failing with multiple use case | ArthurHoaro | 2016-05-03 | 1 | -3/+5 |
| | | | | | | | | | | | | see https://github.com/shaarli/Shaarli/issues/531 for details | ||||
* | | | Refactor Netscape bookmark exporting | VirtualTam | 2016-04-10 | 1 | -32/+25 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -19/+11 |
| | | | | | | | | | | | | | | | | * 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 | ||||
* | | Fixes #526: bad font size separator in tagcloud with some locale | ArthurHoaro | 2016-03-31 | 1 | -5/+10 |
|/ | | | | | * Force the number format with number_format(). * Reduce the size deciment number to 2. | ||||
* | Remove dev cache disabling | ArthurHoaro | 2016-03-26 | 1 | -1/+1 |
| | |||||
* | Merge pull request #515 from ArthurHoaro/template-feeds | Arthur | 2016-03-25 | 1 | -299/+93 |
|\ | | | | | Refactor RSS feeds generation, and do it through templates | ||||
| * | Refactor filter in LinkDB | ArthurHoaro | 2016-03-25 | 1 | -72/+27 |
| | | | | | | | | | | | | | | | | * 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 | ||||
| * | Create a FeedBuilder class which build data for both ATOM and RSS feed. | ArthurHoaro | 2016-03-25 | 1 | -238/+41 |
| | | |||||
| * | Plugin: add render_feed hook and call it while generating ATOM and RSS feed. | ArthurHoaro | 2016-03-18 | 1 | -0/+6 |
| | | | | | | | | Create an example of the new hook in the demo plugin. | ||||
| * | Refactor showRSS, and make it use the RSS template | ArthurHoaro | 2016-03-18 | 1 | -53/+67 |
| | | |||||
| * | Refactor showAtom, and make it use the ATOM template | ArthurHoaro | 2016-03-18 | 1 | -66/+59 |
| | | | | | | | | | | | | | | | | Minor changes: * Fix the date which was in a invalid format. * Avoid empty categories (tags). * Use the locale to set the language | ||||
| * | Add method assignAll() to pageBuilder to assign an array of data | ArthurHoaro | 2016-03-18 | 1 | -0/+23 |
| | | |||||
* | | Use generateLocation to set the redirection in login (and don't escape the url) | ArthurHoaro | 2016-03-21 | 1 | -1/+1 |
|/ | |||||
* | Bump version to v0.6.5 | ArthurHoaro | 2016-03-02 | 1 | -2/+2 |
| | | | | Signed-off-by: ArthurHoaro <arthur@hoa.ro> | ||||
* | Fixes #503: check that HTTP_ACCEPT_LANGUAGE is set before calling autoLocale() | ArthurHoaro | 2016-02-28 | 1 | -1/+4 |
| | |||||
* | Bump version to v0.6.4 | ArthurHoaro | 2016-02-28 | 1 | -2/+2 |
| | | | | Signed-off-by: ArthurHoaro <arthur@hoa.ro> | ||||
* | Merge pull request #496 from ArthurHoaro/cross-search | Arthur | 2016-02-28 | 1 | -41/+79 |
|\ | | | | | Allow crossed search between terms and tags | ||||
| * | Allow crossed search between terms and tags | ArthurHoaro | 2016-02-28 | 1 | -41/+79 |
| | | | | | | | | | | | | | | * Partial fix of #449 * Current use case: search term + click on tag. * LinkFilter now returns all links if no filter is given. * Unit tests. | ||||
* | | Merge pull request #492 from ArthurHoaro/locale-sort-fix | Arthur | 2016-02-24 | 1 | -25/+6 |
|\ \ | |/ |/| | Fixes #481: tag cloud fatal error | ||||
| * | Fixes #481: tag cloud fatal error | ArthurHoaro | 2016-02-19 | 1 | -4/+5 |
| | | | | | | | | Only send LC_COLLATE to Collator and check that no error occured. | ||||
| * | Apply the locale to all categories and move autolocale to Utils.php | ArthurHoaro | 2016-02-19 | 1 | -21/+1 |
| | | |||||
* | | Merge pull request #486 from virtualtam/refactor/datetime | Arthur | 2016-02-18 | 1 | -41/+24 |
|\ \ | | | | | | | cleanup: use DateTime to format dates | ||||
| * | | cleanup: use DateTime to format dates | VirtualTam | 2016-02-17 | 1 | -41/+24 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #270 Modifications: - replace custom date parsing by DateTime calls - use proper date formatting for RSS feeds Deletions: - linkdate2timestamp() - linkdate2rfc822 - linkdate2iso8601 Signed-off-by: VirtualTam <virtualtam@flibidi.net> | ||||
* / | Fixes #468: don't trim description | ArthurHoaro | 2016-02-18 | 1 | -1/+1 |
|/ | | | | | | Spaces at the start of shaares can be intended. Eg: markdown plugin. #468 | ||||
* | Merge pull request #461 from ArthurHoaro/tagcloud-sort | Arthur | 2016-02-15 | 1 | -3/+17 |
|\ | | | | | Fixes #456: Tag cloud does not sort tags (fully) alphabetically | ||||
| * | Fixes #456: Tag cloud does not sort tags (fully) alphabetically | ArthurHoaro | 2016-02-05 | 1 | -3/+17 |
| | | | | | | | | | | | | | | * Use Collator class to sort tags using the locale (in PECL intl, included in most PHP installation). * Use strcasecmp if Collator is not found. Both sorts are case insensitive. | ||||
* | | Remove first '-' char when saving tags | ArthurHoaro | 2016-02-15 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #479 from ArthurHoaro/pluginsadmin-error-url | Arthur | 2016-02-15 | 1 | -1/+1 |
|\ \ | | | | | | | Fixes typo in plugin admin redirection URL | ||||
| * | | Fixes typo in plugin admin redirection URL | ArthurHoaro | 2016-02-15 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #460 from ArthurHoaro/440-editlink-404 | Arthur | 2016-02-15 | 1 | -13/+34 |
|\ \ \ | | | | | | | | | Fixes #440 - 404 error after editing a link | ||||
| * | | | Fixes #440 - 404 error after editing a link | ArthurHoaro | 2016-02-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Remove unnecessary escape(). |