]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
ArthurHoaro [Thu, 14 Apr 2016 12:20:23 +0000 (14:20 +0200)]
Update docs from Wiki
VirtualTam [Tue, 12 Apr 2016 21:48:00 +0000 (23:48 +0200)]
Merge pull request #538 from virtualtam/fix/bookmark-export
Refactor Netscape bookmark exporting
VirtualTam [Sun, 10 Apr 2016 15:34:07 +0000 (17:34 +0200)]
Refactor Netscape bookmark exporting
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>
VirtualTam [Sat, 9 Apr 2016 23:17:43 +0000 (01:17 +0200)]
Merge pull request #537 from virtualtam/tests/dependencies
Tests: update PHPUnit to 4.8.x
VirtualTam [Sat, 9 Apr 2016 23:08:46 +0000 (01:08 +0200)]
Tests: update PHPUnit to 4.8.x
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Arthur [Sat, 9 Apr 2016 14:55:39 +0000 (16:55 +0200)]
Merge pull request #524 from ArthurHoaro/hotfix/redirectorurl
Fixes #480: add an option to urlencode redirector URL
ArthurHoaro [Thu, 24 Mar 2016 18:40:12 +0000 (19:40 +0100)]
Fixes #480: add an option to urlencode redirector URL
* 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
Arthur [Sat, 9 Apr 2016 14:35:41 +0000 (16:35 +0200)]
Merge pull request #525 from ArthurHoaro/plugins/feeds-markdown2
Process feeds content with Markdown
Arthur [Sat, 9 Apr 2016 14:35:14 +0000 (16:35 +0200)]
Merge pull request #527 from ArthurHoaro/hotfix/tagcloud-size
Fixes #526: bad font size separator in tagcloud with some locale
ArthurHoaro [Tue, 29 Mar 2016 17:30:22 +0000 (19:30 +0200)]
Fixes #526: bad font size separator in tagcloud with some locale
* Force the number format with number_format().
* Reduce the size deciment number to 2.
VirtualTam [Wed, 30 Mar 2016 17:31:19 +0000 (19:31 +0200)]
Merge pull request #522 from ArthurHoaro/hotfix/readershaare
Refactor and rebase #380: Firefox reader view links
ArthurHoaro [Sat, 12 Mar 2016 17:39:57 +0000 (18:39 +0100)]
Process feeds content with Markdown
ArthurHoaro [Sat, 26 Mar 2016 15:59:22 +0000 (16:59 +0100)]
Remove dev cache disabling
Arthur [Sat, 26 Mar 2016 15:46:04 +0000 (16:46 +0100)]
Merge pull request #520 from ArthurHoaro/plugins/nomarkdown
Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare fro…
ArthurHoaro [Sat, 26 Mar 2016 15:43:14 +0000 (16:43 +0100)]
Update markdown plugin README documentation
* Add the `.nomarkdown` section.
* Update misleading statements.
ArthurHoaro [Thu, 24 Mar 2016 18:01:40 +0000 (19:01 +0100)]
Refactor and rebase #380: Firefox reader view links
Fixes #366
Closes #380
Arthur [Fri, 25 Mar 2016 18:20:55 +0000 (19:20 +0100)]
Merge pull request #515 from ArthurHoaro/template-feeds
Refactor RSS feeds generation, and do it through templates
ArthurHoaro [Mon, 21 Mar 2016 20:40:49 +0000 (21:40 +0100)]
Refactor filter in LinkDB
* 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
ArthurHoaro [Sun, 20 Mar 2016 13:14:38 +0000 (14:14 +0100)]
Makes escape a recursive function which handle array of strings
ArthurHoaro [Sat, 12 Mar 2016 16:54:56 +0000 (17:54 +0100)]
FeedBuilder unit tests
ArthurHoaro [Sat, 12 Mar 2016 15:08:01 +0000 (16:08 +0100)]
Create a FeedBuilder class which build data for both ATOM and RSS feed.
Kevin Canévet [Sun, 8 Nov 2015 22:06:21 +0000 (23:06 +0100)]
Fix issue 366, Problem when shaaring a link in Reader View of Firefox.
VirtualTam [Wed, 23 Mar 2016 23:27:15 +0000 (00:27 +0100)]
Merge pull request #521 from ArthurHoaro/hotfix/404login
Use generateLocation to set the redirection in login (and don't escape the url)
ArthurHoaro [Mon, 21 Mar 2016 18:06:46 +0000 (19:06 +0100)]
Use generateLocation to set the redirection in login (and don't escape the url)
ArthurHoaro [Mon, 21 Mar 2016 17:46:34 +0000 (18:46 +0100)]
Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare from being parsed with markdown
Also add the tag in tag list in edit_link, so it will appear on autocompletion.
ArthurHoaro [Sat, 12 Mar 2016 13:48:14 +0000 (14:48 +0100)]
Reword the ENABLE_RSS_PERMALINKS in the settings.
ArthurHoaro [Sat, 12 Mar 2016 13:39:06 +0000 (14:39 +0100)]
Plugin: add render_feed hook and call it while generating ATOM and RSS feed.
Create an example of the new hook in the demo plugin.
ArthurHoaro [Sat, 12 Mar 2016 13:38:06 +0000 (14:38 +0100)]
Refactor showRSS, and make it use the RSS template
ArthurHoaro [Thu, 10 Mar 2016 18:01:30 +0000 (19:01 +0100)]
Refactor showAtom, and make it use the ATOM template
Minor changes:
* Fix the date which was in a invalid format.
* Avoid empty categories (tags).
* Use the locale to set the language
ArthurHoaro [Thu, 10 Mar 2016 17:48:21 +0000 (18:48 +0100)]
Adds a route for ATOM and RSS feeds page
ArthurHoaro [Sat, 12 Mar 2016 13:13:41 +0000 (14:13 +0100)]
Adds a RSS template file
Improvements:
* Add searchtags in categories domain URL.
* Language is now based on the locale.
* Add a generator tag.
* self link is always displayed.
ArthurHoaro [Thu, 10 Mar 2016 17:46:07 +0000 (18:46 +0100)]
Create a template to handle ATOM feed
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
ArthurHoaro [Thu, 10 Mar 2016 17:41:23 +0000 (18:41 +0100)]
Add method assignAll() to pageBuilder to assign an array of data
VirtualTam [Mon, 14 Mar 2016 20:29:19 +0000 (21:29 +0100)]
Merge pull request #513 from ArthurHoaro/hotfix/retrieve-title-issue
Fixes #512: retrieving title didn't match the first closing tag
ArthurHoaro [Tue, 8 Mar 2016 09:00:53 +0000 (10:00 +0100)]
Fixes #512: retrieving title didn't match the first closing tag
Arthur [Wed, 2 Mar 2016 19:06:33 +0000 (20:06 +0100)]
Merge pull request #509 from ArthurHoaro/v0.6.5
Bump version to v0.6.5
ArthurHoaro [Wed, 2 Mar 2016 18:59:58 +0000 (19:59 +0100)]
Bump version to v0.6.5
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
Arthur [Tue, 1 Mar 2016 11:15:41 +0000 (12:15 +0100)]
Merge pull request #504 from ArthurHoaro/hotfix/http_language
Fixes #503: check that HTTP_ACCEPT_LANGUAGE is set before calling autolocale
Arthur [Tue, 1 Mar 2016 11:15:22 +0000 (12:15 +0100)]
Merge pull request #506 from kalvn/master
Avoids populating a markdown empty container if there's no description.
Arthur [Tue, 1 Mar 2016 11:15:10 +0000 (12:15 +0100)]
Merge pull request #505 from ArthurHoaro/hotfix/multi-reverse-proxy
Fixes #477: support multi reverse proxy with comma syntax
kalvn [Sun, 28 Feb 2016 17:24:30 +0000 (18:24 +0100)]
Avoids populating a markdown empty container if there's no description.
ArthurHoaro [Sun, 28 Feb 2016 15:24:18 +0000 (16:24 +0100)]
Fixes #477: support multi reverse proxy with comma syntax
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.
ArthurHoaro [Sun, 28 Feb 2016 14:53:28 +0000 (15:53 +0100)]
Fixes #503: check that HTTP_ACCEPT_LANGUAGE is set before calling autoLocale()
Arthur [Sun, 28 Feb 2016 13:34:33 +0000 (14:34 +0100)]
Merge pull request #501 from ArthurHoaro/v0.6.4
Bump version to v0.6.4
ArthurHoaro [Sun, 28 Feb 2016 13:33:05 +0000 (14:33 +0100)]
Bump version to v0.6.4
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
Arthur [Sun, 28 Feb 2016 13:28:43 +0000 (14:28 +0100)]
Merge pull request #500 from ArthurHoaro/plugin-icon-style
Fixes #411: remove hardcoded plugin icon size
Arthur [Sun, 28 Feb 2016 13:26:46 +0000 (14:26 +0100)]
Merge pull request #496 from ArthurHoaro/cross-search
Allow crossed search between terms and tags
ArthurHoaro [Sun, 28 Feb 2016 13:22:30 +0000 (14:22 +0100)]
Fixes #411: remove hardcoded plugin icon size
ArthurHoaro [Tue, 23 Feb 2016 18:21:14 +0000 (19:21 +0100)]
Allow crossed search between terms and tags
* Partial fix of #449
* Current use case: search term + click on tag.
* LinkFilter now returns all links if no filter is given.
* Unit tests.
Arthur [Thu, 25 Feb 2016 07:52:42 +0000 (08:52 +0100)]
Merge pull request #491 from ArthurHoaro/markdown-escape2
Markdown: don't escape content + sanitize sensible tags
Arthur [Wed, 24 Feb 2016 18:34:29 +0000 (19:34 +0100)]
Merge pull request #495 from nicolasdanelon/patch-3
Fixes #494: inputs & labels with plugin name
Arthur [Wed, 24 Feb 2016 18:26:57 +0000 (19:26 +0100)]
Merge pull request #492 from ArthurHoaro/locale-sort-fix
Fixes #481: tag cloud fatal error
Nicolas Danelon [Tue, 23 Feb 2016 13:51:18 +0000 (10:51 -0300)]
Update shaarli.css
Nicolas Danelon [Tue, 23 Feb 2016 13:48:35 +0000 (10:48 -0300)]
Fixes #494: inputs & labels with plugin name
ArthurHoaro [Fri, 19 Feb 2016 19:20:33 +0000 (20:20 +0100)]
Fixes #481: tag cloud fatal error
Only send LC_COLLATE to Collator and check that no error occured.
ArthurHoaro [Fri, 19 Feb 2016 19:14:06 +0000 (20:14 +0100)]
Apply the locale to all categories and move autolocale to Utils.php
Arthur [Fri, 19 Feb 2016 18:46:44 +0000 (19:46 +0100)]
Merge pull request #490 from nicolasdanelon/patch-2
adding styles for code & pre tags
ArthurHoaro [Fri, 19 Feb 2016 18:37:13 +0000 (19:37 +0100)]
Markdown: don't escape content + sanitize sensible tags
Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
Nicolas Danelon [Fri, 19 Feb 2016 12:58:01 +0000 (09:58 -0300)]
adding styles for code & pre tags
Arthur [Thu, 18 Feb 2016 18:53:39 +0000 (19:53 +0100)]
Merge pull request #486 from virtualtam/refactor/datetime
cleanup: use DateTime to format dates
Arthur [Thu, 18 Feb 2016 18:40:19 +0000 (19:40 +0100)]
Merge pull request #470 from ArthurHoaro/description-trim
Fixes #468: don't trim description
ArthurHoaro [Wed, 10 Feb 2016 10:31:45 +0000 (11:31 +0100)]
Fixes #468: don't trim description
Spaces at the start of shaares can be intended. Eg: markdown plugin.
#468
VirtualTam [Wed, 17 Feb 2016 21:46:50 +0000 (22:46 +0100)]
cleanup: use DateTime to format dates
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>
Arthur [Mon, 15 Feb 2016 20:43:07 +0000 (21:43 +0100)]
Merge pull request #455 from ArthurHoaro/improved-search-454
Improved search: combine AND, exact terms and exclude search.
ArthurHoaro [Tue, 2 Feb 2016 18:42:48 +0000 (19:42 +0100)]
Support text search across link fields.
ArthurHoaro [Mon, 1 Feb 2016 19:33:58 +0000 (20:33 +0100)]
Improved search: combine AND, exact terms and exclude search.
Arthur [Mon, 15 Feb 2016 20:26:33 +0000 (21:26 +0100)]
Merge pull request #461 from ArthurHoaro/tagcloud-sort
Fixes #456: Tag cloud does not sort tags (fully) alphabetically
Arthur [Mon, 15 Feb 2016 20:22:35 +0000 (21:22 +0100)]
Merge pull request #447 from ArthurHoaro/hidden-tags
Private/Hidden tags
ArthurHoaro [Thu, 21 Jan 2016 19:18:44 +0000 (20:18 +0100)]
Private/Hidden tags
Tags starting with a dot '.' are now private.
They can only be seen and searched when logged in.
Fixes #315
Arthur [Mon, 15 Feb 2016 20:12:39 +0000 (21:12 +0100)]
Merge pull request #446 from ArthurHoaro/search-tag-exclude
Add exclusion in tag search
ArthurHoaro [Mon, 15 Feb 2016 20:06:17 +0000 (21:06 +0100)]
Remove first '-' char when saving tags
ArthurHoaro [Wed, 20 Jan 2016 22:34:33 +0000 (23:34 +0100)]
Add exclusion in tag search
* 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.
Arthur [Mon, 15 Feb 2016 19:38:31 +0000 (20:38 +0100)]
Merge pull request #479 from ArthurHoaro/pluginsadmin-error-url
Fixes typo in plugin admin redirection URL
Arthur [Mon, 15 Feb 2016 19:38:10 +0000 (20:38 +0100)]
Merge pull request #460 from ArthurHoaro/440-editlink-404
Fixes #440 - 404 error after editing a link
Arthur [Mon, 15 Feb 2016 19:36:42 +0000 (20:36 +0100)]
Merge pull request #442 from ArthurHoaro/updater
Introduce the Updater class which
ArthurHoaro [Mon, 15 Feb 2016 19:34:44 +0000 (20:34 +0100)]
Fixes typo in plugin admin redirection URL
ArthurHoaro [Tue, 12 Jan 2016 18:50:48 +0000 (19:50 +0100)]
Introduce the Updater class which
* 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).
Arthur [Thu, 11 Feb 2016 19:07:16 +0000 (20:07 +0100)]
Merge pull request #473 from ArthurHoaro/commonhook-order
Common hooks: process includes before header/footer
ArthurHoaro [Wed, 10 Feb 2016 14:40:11 +0000 (15:40 +0100)]
Common hooks: process includes before header/footer
Arthur [Wed, 10 Feb 2016 12:09:05 +0000 (13:09 +0100)]
Merge pull request #472 from ArthurHoaro/wallabag-version-parameter
Wallabag plugin: add version parameter in the meta file
ArthurHoaro [Wed, 10 Feb 2016 12:08:19 +0000 (13:08 +0100)]
Wallabag plugin: add version parameter in the meta file
ArthurHoaro [Fri, 5 Feb 2016 15:10:26 +0000 (16:10 +0100)]
Fixes #456: Tag cloud does not sort tags (fully) alphabetically
* 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.
Arthur [Thu, 4 Feb 2016 19:29:02 +0000 (20:29 +0100)]
Merge pull request #458 from ArthurHoaro/plugins-init-parameters
Initialize plugin parameters array to avoid unnecessary warning.
Arthur [Thu, 4 Feb 2016 19:28:52 +0000 (20:28 +0100)]
Merge pull request #457 from ArthurHoaro/updatecheck-warning
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning
ArthurHoaro [Thu, 4 Feb 2016 19:24:17 +0000 (20:24 +0100)]
Fixes #440 - 404 error after editing a link
Remove unnecessary escape().
ArthurHoaro [Thu, 4 Feb 2016 18:58:47 +0000 (19:58 +0100)]
Code cleanup: index.php - save_edit
ArthurHoaro [Tue, 2 Feb 2016 20:07:25 +0000 (21:07 +0100)]
Initialize plugin parameters array to avoid unnecessary warning.
ArthurHoaro [Tue, 2 Feb 2016 19:10:49 +0000 (20:10 +0100)]
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning.
Arthur [Mon, 1 Feb 2016 18:21:47 +0000 (19:21 +0100)]
Merge pull request #453 from ArthurHoaro/pr450
Implemented a little more sophisticated searching (squashed)
Florian Voigt [Sun, 24 Jan 2016 06:13:11 +0000 (06:13 +0000)]
Implemented searching for a phrase in double-quotes or all words in no particular order.
+ unit tests
Arthur [Sun, 31 Jan 2016 18:47:49 +0000 (19:47 +0100)]
Merge pull request #452 from ArthurHoaro/v0.6.3
Bump version to v0.6.3
ArthurHoaro [Sun, 31 Jan 2016 18:32:22 +0000 (19:32 +0100)]
Bump version to v0.6.3
Arthur [Sun, 31 Jan 2016 18:25:29 +0000 (19:25 +0100)]
Merge pull request #451 from ArthurHoaro/markdown-gitdiff
Fixes forced git changes
ArthurHoaro [Sun, 31 Jan 2016 18:22:14 +0000 (19:22 +0100)]
Fixes forced git changes
Probably related to the introduction of .gitattribute with forced line ending.
Arthur [Sun, 31 Jan 2016 18:00:13 +0000 (19:00 +0100)]
Merge pull request #388 from ArthurHoaro/pluginadmin
Fixes #378 - Plugin administration UI.
Arthur [Sun, 31 Jan 2016 17:57:29 +0000 (18:57 +0100)]
Merge pull request #379 from ArthurHoaro/plugin-markdown
PLUGIN Markdown
ArthurHoaro [Wed, 18 Nov 2015 16:40:42 +0000 (17:40 +0100)]
Fixes #378 - Plugin administration UI.
Arthur [Sun, 31 Jan 2016 16:50:07 +0000 (17:50 +0100)]
Merge pull request #448 from shaarli/whitespace
remove whitespace
nodiscc [Fri, 22 Jan 2016 14:00:18 +0000 (15:00 +0100)]
fix whitespace
Arthur [Thu, 21 Jan 2016 18:27:00 +0000 (19:27 +0100)]
Merge pull request #444 from dimtion/404_template
Create 404 template