Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | 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(). | ||||
| * | | | Code cleanup: index.php - save_edit | ArthurHoaro | 2016-02-04 | 1 | -12/+33 |
| | |/ | |/| | |||||
* | | | Merge pull request #442 from ArthurHoaro/updater | Arthur | 2016-02-15 | 1 | -10/+23 |
|\ \ \ | |_|/ |/| | | Introduce the Updater class which | ||||
| * | | Introduce the Updater class which | ArthurHoaro | 2016-02-15 | 1 | -10/+23 |
| |/ | | | | | | | | | | | | | * 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 | ArthurHoaro | 2016-02-10 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #458 from ArthurHoaro/plugins-init-parameters | Arthur | 2016-02-04 | 1 | -1/+2 |
|\ \ | | | | | | | Initialize plugin parameters array to avoid unnecessary warning. | ||||
| * | | Initialize plugin parameters array to avoid unnecessary warning. | ArthurHoaro | 2016-02-02 | 1 | -1/+2 |
| |/ | |||||
* / | Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning. | ArthurHoaro | 2016-02-02 | 1 | -0/+3 |
|/ | |||||
* | Bump version to v0.6.3 | ArthurHoaro | 2016-01-31 | 1 | -2/+2 |
| | |||||
* | Fixes #378 - Plugin administration UI. | ArthurHoaro | 2016-01-31 | 1 | -0/+48 |
| | |||||
* | Create 404 template | Dimtion | 2016-01-20 | 1 | -5/+14 |
| | | | | Solve #430 for links | ||||
* | Logging: move logm() from index.php to application/Utils.php | VirtualTam | 2016-01-16 | 1 | -13/+5 |
| | | | | | | | | | | | 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 | ArthurHoaro | 2016-01-11 | 1 | -50/+37 |
| | | | | | | | | | * `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. | ||||
* | Merge pull request #424 from ArthurHoaro/search | Arthur | 2016-01-06 | 1 | -93/+117 |
|\ | | | | | Link filter refactoring | ||||
| * | Fixes #426 - Do not filter with blank tags. | ArthurHoaro | 2016-01-06 | 1 | -4/+6 |
| | | |||||
| * | Link filter refactoring | ArthurHoaro | 2016-01-06 | 1 | -89/+111 |
| | | | | | | | | | | | | | | | | | | | | * 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 | ArthurHoaro | 2016-01-03 | 1 | -9/+9 |
|/ | | | | | Also adds a validation where renaming with 'fromtag' specified and empty 'totag'. It was causing a 404, now it just re-render the form. | ||||
* | Bump version to v0.6.2v0.6.2 | VirtualTam | 2015-12-23 | 1 | -2/+2 |
| | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net> | ||||
* | Merge pull request #407 from ArthurHoaro/daily-router | VirtualTam | 2015-12-08 | 1 | -6/+14 |
|\ | | | | | Fixes #402: build the daily page through renderPage() | ||||
| * | Fixes #403: build the daily page through renderPage() | ArthurHoaro | 2015-12-08 | 1 | -6/+14 |
| | | | | | | | | | | * new entry in the Router for daily page. * add an always displayed button in demo_plugin | ||||
* | | Reset permissions on index.php (changed in ↵ | ArthurHoaro | 2015-12-08 | 1 | -0/+0 |
| | | | | | | | | 18cca483b0b51f190bd875fc4273a0fff3fedebd ). | ||||
* | | Temporary fix for head titles | ArthurHoaro | 2015-12-07 | 1 | -1/+4 |
|/ | | | | only set the title on permalink. | ||||
* | Fixes #399 - show single link title as page title | ArthurHoaro | 2015-12-05 | 1 | -0/+1 |
| |