aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Makes escape a recursive function which handle array of stringsArthurHoaro2016-03-251-3/+11
|
* FeedBuilder unit testsArthurHoaro2016-03-253-15/+227
|
* Create a FeedBuilder class which build data for both ATOM and RSS feed.ArthurHoaro2016-03-253-239/+337
|
* Reword the ENABLE_RSS_PERMALINKS in the settings.ArthurHoaro2016-03-181-2/+5
|
* Plugin: add render_feed hook and call it while generating ATOM and RSS feed.ArthurHoaro2016-03-182-1/+32
| | | | Create an example of the new hook in the demo plugin.
* Refactor showRSS, and make it use the RSS templateArthurHoaro2016-03-181-53/+67
|
* Refactor showAtom, and make it use the ATOM templateArthurHoaro2016-03-182-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 pageArthurHoaro2016-03-181-0/+12
|
* Adds a RSS template fileArthurHoaro2016-03-181-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 feedArthurHoaro2016-03-181-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 dataArthurHoaro2016-03-181-0/+23
|
* Merge pull request #509 from ArthurHoaro/v0.6.5v0.6.5Arthur2016-03-022-3/+3
|\ | | | | Bump version to v0.6.5
| * Bump version to v0.6.5ArthurHoaro2016-03-022-3/+3
|/ | | | Signed-off-by: ArthurHoaro <arthur@hoa.ro>
* Merge pull request #504 from ArthurHoaro/hotfix/http_languageArthur2016-03-011-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()ArthurHoaro2016-02-281-1/+4
| |
* | Merge pull request #506 from kalvn/masterArthur2016-03-011-1/+4
|\ \ | | | | | | Avoids populating a markdown empty container if there's no description.
| * | Avoids populating a markdown empty container if there's no description.kalvn2016-02-281-1/+4
| |/
* | Merge pull request #505 from ArthurHoaro/hotfix/multi-reverse-proxyArthur2016-03-012-2/+25
|\ \ | |/ |/| Fixes #477: support multi reverse proxy with comma syntax
| * Fixes #477: support multi reverse proxy with comma syntaxArthurHoaro2016-02-282-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.4Arthur2016-02-282-3/+3
|\ | | | | Bump version to v0.6.4
| * Bump version to v0.6.4ArthurHoaro2016-02-282-3/+3
|/ | | | Signed-off-by: ArthurHoaro <arthur@hoa.ro>
* Merge pull request #500 from ArthurHoaro/plugin-icon-styleArthur2016-02-285-4/+9
|\ | | | | Fixes #411: remove hardcoded plugin icon size
| * Fixes #411: remove hardcoded plugin icon sizeArthurHoaro2016-02-285-4/+9
| |
* | Merge pull request #496 from ArthurHoaro/cross-searchArthur2016-02-286-65/+178
|\ \ | |/ |/| Allow crossed search between terms and tags
| * Allow crossed search between terms and tagsArthurHoaro2016-02-286-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-escape2Arthur2016-02-253-16/+58
|\ \ | | | | | | Markdown: don't escape content + sanitize sensible tags
| * | Markdown: don't escape content + sanitize sensible tagsArthurHoaro2016-02-193-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-3Arthur2016-02-242-8/+12
|\ \ \ | | | | | | | | Fixes #494: inputs & labels with plugin name
| * | | Update shaarli.cssNicolas Danelon2016-02-231-0/+4
| | | |
| * | | Fixes #494: inputs & labels with plugin nameNicolas Danelon2016-02-231-8/+8
| | |/ | |/|
* | | Merge pull request #492 from ArthurHoaro/locale-sort-fixArthur2016-02-242-25/+31
|\ \ \ | |/ / |/| | Fixes #481: tag cloud fatal error
| * | Fixes #481: tag cloud fatal errorArthurHoaro2016-02-191-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.phpArthurHoaro2016-02-192-21/+26
| |/
* | Merge pull request #490 from nicolasdanelon/patch-2Arthur2016-02-191-0/+29
|\ \ | | | | | | adding styles for code & pre tags
| * | adding styles for code & pre tagsNicolas Danelon2016-02-191-0/+29
|/ /
* | Merge pull request #486 from virtualtam/refactor/datetimeArthur2016-02-183-43/+29
|\ \ | | | | | | cleanup: use DateTime to format dates
| * | cleanup: use DateTime to format datesVirtualTam2016-02-173-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-trimArthur2016-02-181-1/+1
|\ \ | |/ |/| Fixes #468: don't trim description
| * Fixes #468: don't trim descriptionArthurHoaro2016-02-181-1/+1
|/ | | | | | Spaces at the start of shaares can be intended. Eg: markdown plugin. #468
* Merge pull request #455 from ArthurHoaro/improved-search-454Arthur2016-02-154-46/+138
|\ | | | | Improved search: combine AND, exact terms and exclude search.
| * Support text search across link fields.ArthurHoaro2016-02-154-35/+73
| |
| * Improved search: combine AND, exact terms and exclude search.ArthurHoaro2016-02-154-29/+83
|/
* Merge pull request #461 from ArthurHoaro/tagcloud-sortArthur2016-02-151-3/+17
|\ | | | | Fixes #456: Tag cloud does not sort tags (fully) alphabetically
| * Fixes #456: Tag cloud does not sort tags (fully) alphabeticallyArthurHoaro2016-02-051-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-tagsArthur2016-02-154-2/+27
|\ \ | | | | | | Private/Hidden tags
| * | Private/Hidden tagsArthurHoaro2016-02-154-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-excludeArthur2016-02-158-12/+79
|\ \ | | | | | | Add exclusion in tag search
| * | Remove first '-' char when saving tagsArthurHoaro2016-02-151-0/+2
| | |
| * | Add exclusion in tag searchArthurHoaro2016-02-157-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.
* | Merge pull request #479 from ArthurHoaro/pluginsadmin-error-urlArthur2016-02-151-1/+1
|\ \ | | | | | | Fixes typo in plugin admin redirection URL