Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor filter in LinkDB | ArthurHoaro | 2016-03-25 | 8 | -106/+158 |
| | | | | | | | | * 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 |
| | |||||
* | FeedBuilder unit tests | ArthurHoaro | 2016-03-25 | 3 | -15/+227 |
| | |||||
* | Create a FeedBuilder class which build data for both ATOM and RSS feed. | ArthurHoaro | 2016-03-25 | 3 | -239/+337 |
| | |||||
* | Reword the ENABLE_RSS_PERMALINKS in the settings. | ArthurHoaro | 2016-03-18 | 1 | -2/+5 |
| | |||||
* | Plugin: add render_feed hook and call it while generating ATOM and RSS feed. | ArthurHoaro | 2016-03-18 | 2 | -1/+32 |
| | | | | 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 | 2 | -67/+60 |
| | | | | | | | | 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 |
| | |||||
* | Adds a RSS template file | ArthurHoaro | 2016-03-18 | 1 | -0/+34 |
| | | | | | | | | | Improvements: * Add searchtags in categories domain URL. * Language is now based on the locale. * Add a generator tag. * self link is always displayed. | ||||
* | Create a template to handle ATOM feed | ArthurHoaro | 2016-03-18 | 1 | -0/+40 |
| | | | | | | | | ATOM feed improvement: * Adds a subtitle to match RSS feed behavior. * Better syntax for categories (see http://edward.oconnor.cx/2007/02/representing-tags-in-atom ). * Use locale to set the language | ||||
* | Add method assignAll() to pageBuilder to assign an array of data | ArthurHoaro | 2016-03-18 | 1 | -0/+23 |
| | |||||
* | Merge pull request #509 from ArthurHoaro/v0.6.5v0.6.5 | Arthur | 2016-03-02 | 2 | -3/+3 |
|\ | | | | | Bump version to v0.6.5 | ||||
| * | Bump version to v0.6.5 | ArthurHoaro | 2016-03-02 | 2 | -3/+3 |
|/ | | | | Signed-off-by: ArthurHoaro <arthur@hoa.ro> | ||||
* | Merge pull request #504 from ArthurHoaro/hotfix/http_language | Arthur | 2016-03-01 | 1 | -1/+4 |
|\ | | | | | Fixes #503: check that HTTP_ACCEPT_LANGUAGE is set before calling autolocale | ||||
| * | Fixes #503: check that HTTP_ACCEPT_LANGUAGE is set before calling autoLocale() | ArthurHoaro | 2016-02-28 | 1 | -1/+4 |
| | | |||||
* | | Merge pull request #506 from kalvn/master | Arthur | 2016-03-01 | 1 | -1/+4 |
|\ \ | | | | | | | Avoids populating a markdown empty container if there's no description. | ||||
| * | | Avoids populating a markdown empty container if there's no description. | kalvn | 2016-02-28 | 1 | -1/+4 |
| |/ | |||||
* | | Merge pull request #505 from ArthurHoaro/hotfix/multi-reverse-proxy | Arthur | 2016-03-01 | 2 | -2/+25 |
|\ \ | |/ |/| | Fixes #477: support multi reverse proxy with comma syntax | ||||
| * | Fixes #477: support multi reverse proxy with comma syntax | ArthurHoaro | 2016-02-28 | 2 | -2/+25 |
|/ | | | | 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. | ||||
* | Merge pull request #501 from ArthurHoaro/v0.6.4v0.6.4 | Arthur | 2016-02-28 | 2 | -3/+3 |
|\ | | | | | Bump version to v0.6.4 | ||||
| * | Bump version to v0.6.4 | ArthurHoaro | 2016-02-28 | 2 | -3/+3 |
|/ | | | | Signed-off-by: ArthurHoaro <arthur@hoa.ro> | ||||
* | Merge pull request #500 from ArthurHoaro/plugin-icon-style | Arthur | 2016-02-28 | 5 | -4/+9 |
|\ | | | | | Fixes #411: remove hardcoded plugin icon size | ||||
| * | Fixes #411: remove hardcoded plugin icon size | ArthurHoaro | 2016-02-28 | 5 | -4/+9 |
| | | |||||
* | | Merge pull request #496 from ArthurHoaro/cross-search | Arthur | 2016-02-28 | 6 | -65/+178 |
|\ \ | |/ |/| | Allow crossed search between terms and tags | ||||
| * | Allow crossed search between terms and tags | ArthurHoaro | 2016-02-28 | 6 | -65/+178 |
| | | | | | | | | | | | | | | * 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 #491 from ArthurHoaro/markdown-escape2 | Arthur | 2016-02-25 | 3 | -16/+58 |
|\ \ | | | | | | | Markdown: don't escape content + sanitize sensible tags | ||||
| * | | Markdown: don't escape content + sanitize sensible tags | ArthurHoaro | 2016-02-19 | 3 | -16/+58 |
| | | | | | | | | | | | | Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc. | ||||
* | | | Merge pull request #495 from nicolasdanelon/patch-3 | Arthur | 2016-02-24 | 2 | -8/+12 |
|\ \ \ | | | | | | | | | Fixes #494: inputs & labels with plugin name | ||||
| * | | | Update shaarli.css | Nicolas Danelon | 2016-02-23 | 1 | -0/+4 |
| | | | | |||||
| * | | | Fixes #494: inputs & labels with plugin name | Nicolas Danelon | 2016-02-23 | 1 | -8/+8 |
| | |/ | |/| | |||||
* | | | Merge pull request #492 from ArthurHoaro/locale-sort-fix | Arthur | 2016-02-24 | 2 | -25/+31 |
|\ \ \ | |/ / |/| | | 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 | 2 | -21/+26 |
| |/ | |||||
* | | Merge pull request #490 from nicolasdanelon/patch-2 | Arthur | 2016-02-19 | 1 | -0/+29 |
|\ \ | | | | | | | adding styles for code & pre tags | ||||
| * | | adding styles for code & pre tags | Nicolas Danelon | 2016-02-19 | 1 | -0/+29 |
|/ / | |||||
* | | Merge pull request #486 from virtualtam/refactor/datetime | Arthur | 2016-02-18 | 3 | -43/+29 |
|\ \ | | | | | | | cleanup: use DateTime to format dates | ||||
| * | | cleanup: use DateTime to format dates | VirtualTam | 2016-02-17 | 3 | -43/+29 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | | Merge pull request #470 from ArthurHoaro/description-trim | Arthur | 2016-02-18 | 1 | -1/+1 |
|\ \ | |/ |/| | Fixes #468: don't trim description | ||||
| * | 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 #455 from ArthurHoaro/improved-search-454 | Arthur | 2016-02-15 | 4 | -46/+138 |
|\ | | | | | Improved search: combine AND, exact terms and exclude search. | ||||
| * | Support text search across link fields. | ArthurHoaro | 2016-02-15 | 4 | -35/+73 |
| | | |||||
| * | Improved search: combine AND, exact terms and exclude search. | ArthurHoaro | 2016-02-15 | 4 | -29/+83 |
|/ | |||||
* | 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. | ||||
* | | Merge pull request #447 from ArthurHoaro/hidden-tags | Arthur | 2016-02-15 | 4 | -2/+27 |
|\ \ | | | | | | | Private/Hidden tags | ||||
| * | | Private/Hidden tags | ArthurHoaro | 2016-02-15 | 4 | -2/+27 |
|/ / | | | | | | | | | | | | | Tags starting with a dot '.' are now private. They can only be seen and searched when logged in. Fixes #315 | ||||
* | | Merge pull request #446 from ArthurHoaro/search-tag-exclude | Arthur | 2016-02-15 | 8 | -12/+79 |
|\ \ | | | | | | | Add exclusion in tag search | ||||
| * | | Remove first '-' char when saving tags | ArthurHoaro | 2016-02-15 | 1 | -0/+2 |
| | | | |||||
| * | | Add exclusion in tag search | ArthurHoaro | 2016-02-15 | 7 | -12/+77 |
|/ / | | | | | | | | | | | | | | | | | | | | | * 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. |