]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
8 years agoFix: ensure Internet Explorer bookmark dumps can be imported
VirtualTam [Fri, 12 Aug 2016 21:22:15 +0000 (23:22 +0200)] 
Fix: ensure Internet Explorer bookmark dumps can be imported

Relates to https://github.com/shaarli/Shaarli/issues/607

Modifications:
- [application][tests] NetscapeBookmarkUtils: more permissive doctype detection

The IE bookmark exports contain extra escape sequences, which can be observed
by binary comparison of the reference input data used in tests:

   $ cmp -b -l -n 8 netscape_basic.htm internet_explorer_encoding.htm

   1  74 <    357 M-o
   2  41 !    273 M-;
   3 104 D    277 M-?
   4 117 O     74 <
   5 103 C     41 !
   6 124 T    104 D
   7 131 Y    117 O
   8 120 P    103 C

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoFix: keep composer.json in release archives
VirtualTam [Fri, 12 Aug 2016 20:02:59 +0000 (22:02 +0200)] 
Fix: keep composer.json in release archives

Relates to https://github.com/shaarli/Shaarli/issues/607

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoRefactor bookmark import using a generic Netscape parser
VirtualTam [Thu, 28 Jul 2016 20:54:33 +0000 (22:54 +0200)] 
Refactor bookmark import using a generic Netscape parser

Relates to #607
Relates to #608
Relates to #493 (abandoned)

Additions:
- use Composer's autoload to load 3rd-party dependencies under vendor/

Modifications:
- [import] replace the current parser with a generic, stable parser
  - move code to application/NetscapeBookmarkUtils
  - improve status report after parsing
- [router] use the same endpoint for both bookmark upload and import dialog
- [template] update bookmark import options
  - allow adding tags to all imported links
  - allow selecting the visibility (privacy) of imported links
- [tests] ensure bookmarks are properly parsed and imported in the LinkDB
  - reuse reference input from the parser's test data

See:
- https://github.com/shaarli/netscape-bookmark-parser
- https://getcomposer.org/doc/01-basic-usage.md#autoloading

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoComposer: reference shaarli/netscape-bookmark-parser from Packagist
VirtualTam [Tue, 9 Aug 2016 22:47:53 +0000 (00:47 +0200)] 
Composer: reference shaarli/netscape-bookmark-parser from Packagist

Relates to https://github.com/shaarli/Shaarli/pull/607
Relates to https://github.com/shaarli/Shaarli/pull/612
Relates to https://github.com/shaarli/netscape-bookmark-parser/issues/15

Modification:
- reference the "shaarli" vendor repository on Packagist instead of
  overriding the upstream package with an SCM repository

See https://packagist.org/packages/shaarli/netscape-bookmark-parser

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoSet cURL as default in HTTP fetching, a fallback method and consistency fixup between...
julienCXX [Fri, 5 Aug 2016 14:11:02 +0000 (16:11 +0200)] 
Set cURL as default in HTTP fetching, a fallback method and consistency fixup between both methods

8 years agoChange password and manage tags template
ArthurHoaro [Fri, 14 Oct 2016 13:13:38 +0000 (15:13 +0200)] 
Change password and manage tags template

8 years agoPlugin admin: 3rd party link
ArthurHoaro [Fri, 14 Oct 2016 12:28:53 +0000 (14:28 +0200)] 
Plugin admin: 3rd party link

8 years agoResponsive plugin administration page
ArthurHoaro [Fri, 14 Oct 2016 12:22:54 +0000 (14:22 +0200)] 
Responsive plugin administration page

8 years agoplugin admin first version
ArthurHoaro [Wed, 12 Oct 2016 10:33:22 +0000 (12:33 +0200)] 
plugin admin first version

8 years agoFix awesomplete form in editlink
ArthurHoaro [Wed, 12 Oct 2016 08:56:46 +0000 (10:56 +0200)] 
Fix awesomplete form in editlink

8 years agoBugfix: error if no plugin is enabled for linklist
ArthurHoaro [Wed, 12 Oct 2016 08:46:54 +0000 (10:46 +0200)] 
Bugfix: error if no plugin is enabled for linklist

8 years agoEditlink improvement
ArthurHoaro [Sun, 7 Aug 2016 15:17:41 +0000 (17:17 +0200)] 
Editlink improvement

8 years agoConfigure page
ArthurHoaro [Sun, 7 Aug 2016 13:57:47 +0000 (15:57 +0200)] 
Configure page

8 years agoApply translation function on all labels
ArthurHoaro [Sun, 7 Aug 2016 11:00:10 +0000 (13:00 +0200)] 
Apply translation function on all labels

8 years agoMinor bugfix
ArthurHoaro [Sun, 7 Aug 2016 10:18:49 +0000 (12:18 +0200)] 
Minor bugfix

8 years agoSearch results
ArthurHoaro [Sat, 6 Aug 2016 14:32:34 +0000 (16:32 +0200)] 
Search results

8 years agoMobile menu: chrome bugfix
ArthurHoaro [Sat, 6 Aug 2016 14:12:46 +0000 (16:12 +0200)] 
Mobile menu: chrome bugfix

8 years agoTools page
ArthurHoaro [Sat, 6 Aug 2016 13:55:16 +0000 (15:55 +0200)] 
Tools page

8 years agoAdd feed templates
ArthurHoaro [Sat, 6 Aug 2016 11:48:59 +0000 (13:48 +0200)] 
Add feed templates

8 years agoBugfix: Firefox issue in linklist
ArthurHoaro [Sat, 6 Aug 2016 11:40:09 +0000 (13:40 +0200)] 
Bugfix: Firefox issue in linklist

8 years agoBugfix: syntax error in header
ArthurHoaro [Sat, 6 Aug 2016 11:18:12 +0000 (13:18 +0200)] 
Bugfix: syntax error in header

8 years agoRebase: new config manager, search criteria, and private links
ArthurHoaro [Fri, 5 Aug 2016 10:31:18 +0000 (12:31 +0200)] 
Rebase: new config manager, search criteria, and private links

8 years agoEdit link WIP + upgrade awesomplete
ArthurHoaro [Tue, 7 Jun 2016 14:12:12 +0000 (16:12 +0200)] 
Edit link WIP + upgrade awesomplete

8 years agoaddlink template
ArthurHoaro [Fri, 3 Jun 2016 18:02:00 +0000 (20:02 +0200)] 
addlink template

8 years agoLogin page and header login
ArthurHoaro [Mon, 9 May 2016 22:44:17 +0000 (00:44 +0200)] 
Login page and header login

Note: the header login isn't functional

8 years agoWork in progress: linklist, header and footer
ArthurHoaro [Sun, 8 May 2016 16:55:55 +0000 (18:55 +0200)] 
Work in progress: linklist, header and footer

8 years agoAdd Fira Sans font
ArthurHoaro [Tue, 1 Mar 2016 16:38:57 +0000 (17:38 +0100)] 
Add Fira Sans font

8 years agoFold/Expand shaares
ArthurHoaro [Tue, 1 Mar 2016 14:52:29 +0000 (15:52 +0100)] 
Fold/Expand shaares

8 years agolinklist toolbar (tags, permalink, etc)
ArthurHoaro [Tue, 1 Mar 2016 13:54:28 +0000 (14:54 +0100)] 
linklist toolbar (tags, permalink, etc)

8 years agoLinklist improvements
ArthurHoaro [Tue, 1 Mar 2016 17:39:26 +0000 (18:39 +0100)] 
Linklist improvements

8 years agoAdd Fira Sans font
ArthurHoaro [Tue, 1 Mar 2016 16:38:57 +0000 (17:38 +0100)] 
Add Fira Sans font

8 years agoFold/Expand shaares
ArthurHoaro [Tue, 1 Mar 2016 14:52:29 +0000 (15:52 +0100)] 
Fold/Expand shaares

8 years agoLinklist template
ArthurHoaro [Sun, 28 Feb 2016 13:08:45 +0000 (14:08 +0100)] 
Linklist template

8 years agoLinklist paging
ArthurHoaro [Sat, 27 Feb 2016 22:21:11 +0000 (23:21 +0100)] 
Linklist paging

8 years agoDesktop search fields
ArthurHoaro [Sat, 27 Feb 2016 20:59:27 +0000 (21:59 +0100)] 
Desktop search fields

8 years agoShaarli header template
ArthurHoaro [Sun, 21 Feb 2016 19:30:36 +0000 (20:30 +0100)] 
Shaarli header template

8 years agoShaarli header template
ArthurHoaro [Sun, 21 Feb 2016 19:30:36 +0000 (20:30 +0100)] 
Shaarli header template

8 years agoWork on the menu
ArthurHoaro [Tue, 16 Feb 2016 22:11:36 +0000 (23:11 +0100)] 
Work on the menu

8 years agoInitialize default template with Pure CSS and Font Awesome
ArthurHoaro [Tue, 16 Feb 2016 19:32:03 +0000 (20:32 +0100)] 
Initialize default template with Pure CSS and Font Awesome

8 years agoMerge pull request #628 from ArthurHoaro/hotfix/default-private
Arthur [Sun, 7 Aug 2016 10:16:27 +0000 (12:16 +0200)] 
Merge pull request #628 from ArthurHoaro/hotfix/default-private

Bugfix: wrong key used to get default private links setting

8 years agoBugfix: wrong key used to get default private links setting 628/head
ArthurHoaro [Sun, 7 Aug 2016 10:15:08 +0000 (12:15 +0200)] 
Bugfix: wrong key used to get default private links setting

8 years agoMerge pull request #627 from ArthurHoaro/feature/translate-init
Arthur [Sun, 7 Aug 2016 10:03:48 +0000 (12:03 +0200)] 
Merge pull request #627 from ArthurHoaro/feature/translate-init

Initialize a translation function

8 years agoInitialize a translation function 627/head
ArthurHoaro [Sun, 7 Aug 2016 09:52:49 +0000 (11:52 +0200)] 
Initialize a translation function

It matches the API of ngettext().

8 years agoMerge pull request #625 from ArthurHoaro/token
VirtualTam [Sat, 6 Aug 2016 22:29:08 +0000 (00:29 +0200)] 
Merge pull request #625 from ArthurHoaro/token

Generate a token for every pages

8 years agoMerge pull request #626 from ArthurHoaro/hotfix/changepassword
VirtualTam [Sat, 6 Aug 2016 22:17:42 +0000 (00:17 +0200)] 
Merge pull request #626 from ArthurHoaro/hotfix/changepassword

Bugfix: enable change password if open shaarli is disabled

8 years agoBugfix: enable change password if open shaarli is disabled 626/head
ArthurHoaro [Sat, 6 Aug 2016 12:38:47 +0000 (14:38 +0200)] 
Bugfix: enable change password if open shaarli is disabled

8 years agoGenerate a token for every pages 625/head
ArthurHoaro [Sat, 6 Aug 2016 12:09:26 +0000 (14:09 +0200)] 
Generate a token for every pages

8 years agoMerge pull request #621 from ArthurHoaro/hotfix/update-escape-config
VirtualTam [Tue, 2 Aug 2016 17:46:47 +0000 (19:46 +0200)] 
Merge pull request #621 from ArthurHoaro/hotfix/update-escape-config

Fix update method escapeUnescapedConfig

8 years agoMerge pull request #618 from ArthurHoaro/tagclean
VirtualTam [Tue, 2 Aug 2016 13:37:43 +0000 (15:37 +0200)] 
Merge pull request #618 from ArthurHoaro/tagclean

Better whitespace handling in tags

8 years agoFix update method escapeUnescapedConfig 621/head
ArthurHoaro [Tue, 2 Aug 2016 10:54:55 +0000 (12:54 +0200)] 
Fix update method escapeUnescapedConfig

  * Actually run it
  * unit tests

Fixes #611

8 years agoBetter whitespace handling in tags 618/head
ArthurHoaro [Tue, 2 Aug 2016 08:34:21 +0000 (10:34 +0200)] 
Better whitespace handling in tags

Correct PR #573 to work properly with hidden tags, and add ReferenceLinkDB UT.

Fixes #571 - Closes #573

8 years agoadd unit test
Chris Kuethe [Thu, 19 May 2016 19:43:44 +0000 (12:43 -0700)] 
add unit test

8 years agoBetter whitespace handling in tags. Fixes #571
Chris Kuethe [Thu, 19 May 2016 18:33:45 +0000 (11:33 -0700)] 
Better whitespace handling in tags. Fixes #571

8 years agoMerge pull request #608 from virtualtam/refactor/bookmark-parser
VirtualTam [Tue, 26 Jul 2016 20:13:53 +0000 (22:13 +0200)] 
Merge pull request #608 from virtualtam/refactor/bookmark-parser

Reference netscape-bookmark-parser & allow generating custom release archives

8 years agoMakefile: generate release archives including 3rd-party libraries 608/head
VirtualTam [Sat, 23 Jul 2016 17:26:05 +0000 (19:26 +0200)] 
Makefile: generate release archives including 3rd-party libraries

Relates to #607

Archive creation process (tar, zip):
- let Composer resolve functional (no-dev) dependencies
- call git-archive to generate a release archive
- include 3rd-party dependencies to the generated archive

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoComposer: add shaarli/netscape-bookmark-parser
VirtualTam [Thu, 16 Jun 2016 22:19:44 +0000 (00:19 +0200)] 
Composer: add shaarli/netscape-bookmark-parser

Relates to https://github.com/shaarli/Shaarli/issues/607
Relates to https://github.com/kafene/netscape-bookmark-parser/issues/6

The Shaarli-forked version is checked out as a VCS repository.

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #605 from ArthurHoaro/clean-phpunit
Arthur [Sat, 23 Jul 2016 12:20:23 +0000 (14:20 +0200)] 
Merge pull request #605 from ArthurHoaro/clean-phpunit

Hide expected 'error_log' while running TU (clean PHPUnit log)

8 years agoMerge pull request #604 from ArthurHoaro/no-delicious
Arthur [Sat, 23 Jul 2016 12:16:59 +0000 (14:16 +0200)] 
Merge pull request #604 from ArthurHoaro/no-delicious

Remove Delicious in project description in comments

8 years agoHide expected 'error_log' while running TU (clean PHPUnit log) 605/head
ArthurHoaro [Sat, 23 Jul 2016 12:16:07 +0000 (14:16 +0200)] 
Hide expected 'error_log' while running TU (clean PHPUnit log)

8 years agoRemove Delicious in project description in comments 604/head
ArthurHoaro [Sat, 23 Jul 2016 12:13:56 +0000 (14:13 +0200)] 
Remove Delicious in project description in comments

8 years agoMerge pull request #601 from ArthurHoaro/hotfix/title-missing
Arthur [Sat, 23 Jul 2016 08:31:33 +0000 (10:31 +0200)] 
Merge pull request #601 from ArthurHoaro/hotfix/title-missing

Fixes #600 - Shaarli's title is not set with the new config manager

8 years agoMerge pull request #603 from julienCXX/pr-fix-test-method-name
Arthur [Thu, 21 Jul 2016 18:05:49 +0000 (20:05 +0200)] 
Merge pull request #603 from julienCXX/pr-fix-test-method-name

Fix typo in test method name

8 years agoFix typo in test method name 603/head
julienCXX [Thu, 21 Jul 2016 17:42:26 +0000 (19:42 +0200)] 
Fix typo in test method name

8 years agoFixes #600 - Shaarli's title is not set with the new config manager 601/head
ArthurHoaro [Tue, 19 Jul 2016 16:03:09 +0000 (18:03 +0200)] 
Fixes #600 - Shaarli's title is not set with the new config manager

  - Fixed title config key
  - Page title (in head tag) is no longer set through the config manager

8 years agoMerge pull request #596 from ArthurHoaro/hotfix/pluginmanager-tpl-var
Arthur [Sun, 10 Jul 2016 08:45:01 +0000 (10:45 +0200)] 
Merge pull request #596 from ArthurHoaro/hotfix/pluginmanager-tpl-var

Fix session_protection_disabled variable in configure.php

8 years agoFix variable in configure.php 596/head
ArthurHoaro [Sun, 10 Jul 2016 08:42:21 +0000 (10:42 +0200)] 
Fix  variable in configure.php

8 years agoMerge pull request #558 from ArthurHoaro/hashtag4
Arthur [Sat, 9 Jul 2016 05:36:23 +0000 (07:36 +0200)] 
Merge pull request #558 from ArthurHoaro/hashtag4

Hashtag system

8 years agoMerge pull request #570 from ArthurHoaro/config-manager
Arthur [Sat, 9 Jul 2016 05:19:48 +0000 (07:19 +0200)] 
Merge pull request #570 from ArthurHoaro/config-manager

Introduce a configuration manager

8 years agoAdd closing PHP tags to JSON config files 570/head
ArthurHoaro [Mon, 20 Jun 2016 16:30:37 +0000 (18:30 +0200)] 
Add closing PHP tags to JSON config files

8 years agoMerge pull request #592 from virtualtam/composer-metadata
VirtualTam [Thu, 16 Jun 2016 18:20:34 +0000 (20:20 +0200)] 
Merge pull request #592 from virtualtam/composer-metadata

Update composer metadata

8 years agoUpdate composer metadata 592/head
VirtualTam [Wed, 15 Jun 2016 19:27:45 +0000 (21:27 +0200)] 
Update composer metadata

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoPass the configuration manager to templates
ArthurHoaro [Wed, 15 Jun 2016 16:22:19 +0000 (18:22 +0200)] 
Pass the configuration manager to templates

8 years agoFirefox Share: Use selected text as description
nodiscc [Thu, 14 Apr 2016 23:55:52 +0000 (01:55 +0200)] 
Firefox Share: Use selected text as description

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Social_API/Share

8 years agoRename configuration key for better sections
ArthurHoaro [Sat, 11 Jun 2016 07:08:02 +0000 (09:08 +0200)] 
Rename configuration key for better sections

8 years agoPluginManager no longer uses singleton pattern
ArthurHoaro [Thu, 9 Jun 2016 18:04:32 +0000 (20:04 +0200)] 
PluginManager no longer uses singleton pattern

8 years agoConfigManager no longer uses singleton pattern
ArthurHoaro [Thu, 9 Jun 2016 18:04:02 +0000 (20:04 +0200)] 
ConfigManager no longer uses singleton pattern

8 years agoRemove remaining settings initialization in index.php
ArthurHoaro [Mon, 30 May 2016 18:15:36 +0000 (20:15 +0200)] 
Remove remaining settings initialization in index.php

Except for those which require external data (timezone and $_SERVER).

8 years agoRename configuration keys and fix GLOBALS in templates
ArthurHoaro [Sun, 29 May 2016 14:10:32 +0000 (16:10 +0200)] 
Rename configuration keys and fix GLOBALS in templates

8 years agoUse the configuration manager for wallabag and readityourself plugin
ArthurHoaro [Sun, 29 May 2016 12:41:30 +0000 (14:41 +0200)] 
Use the configuration manager for wallabag and readityourself plugin

8 years agoSet the default timezone in index.php
ArthurHoaro [Sun, 29 May 2016 12:26:23 +0000 (14:26 +0200)] 
Set the default timezone in index.php

8 years agoAdds ConfigJson which handle the configuration in JSON format.
ArthurHoaro [Sun, 29 May 2016 10:32:14 +0000 (12:32 +0200)] 
Adds ConfigJson which handle the configuration in JSON format.

Also use the Updater to make the transition

8 years agoReplace $GLOBALS configuration with the configuration manager in the whole code base
ArthurHoaro [Wed, 18 May 2016 19:48:24 +0000 (21:48 +0200)] 
Replace $GLOBALS configuration with the configuration manager in the whole code base

8 years agoIntroduce a configuration manager (not plugged yet)
ArthurHoaro [Wed, 18 May 2016 19:43:59 +0000 (21:43 +0200)] 
Introduce a configuration manager (not plugged yet)

8 years agoConfiguration template indenting
ArthurHoaro [Mon, 16 May 2016 06:54:03 +0000 (08:54 +0200)] 
Configuration template indenting

8 years agoHashtag system 558/head
ArthurHoaro [Tue, 10 May 2016 21:18:04 +0000 (23:18 +0200)] 
Hashtag system

  * Hashtag are auto-linked with a filter search
  * Supports unicode
  * Compatible with markdown (excluded in code blocks)

8 years agoMerge pull request #582 from ArthurHoaro/hotfix/nomarkdown
Arthur [Mon, 6 Jun 2016 17:52:32 +0000 (19:52 +0200)] 
Merge pull request #582 from ArthurHoaro/hotfix/nomarkdown

The "nomarkdown" tag is no longer private

8 years agoMerge pull request #583 from ArthurHoaro/enhance/tag-case
Arthur [Fri, 3 Jun 2016 16:30:19 +0000 (18:30 +0200)] 
Merge pull request #583 from ArthurHoaro/enhance/tag-case

Fixes #497: ignore case difference between tags

8 years agoFixes #497: ignore case difference between tags 583/head
ArthurHoaro [Thu, 14 Apr 2016 15:59:37 +0000 (17:59 +0200)] 
Fixes #497: ignore case difference between tags

While retrieving all tags, case differences will be ignored.
This affects:

  * tag cloud
  * tag autocompletion

8 years agoThe tag is no longer private 582/head
ArthurHoaro [Mon, 30 May 2016 16:51:00 +0000 (18:51 +0200)] 
The  tag is no longer private

A private tag is never loaded for visitor, making this feature useless.

8 years agoMerge pull request #576 from virtualtam/readme/link-upgrade
VirtualTam [Fri, 20 May 2016 20:08:06 +0000 (22:08 +0200)] 
Merge pull request #576 from virtualtam/readme/link-upgrade

README: add link to the upgrade and migration wiki page

8 years agoREADME: add link to the upgrade and migration wiki page 576/head
VirtualTam [Fri, 20 May 2016 20:01:54 +0000 (22:01 +0200)] 
README: add link to the upgrade and migration wiki page

Relates to #575

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #574 from shaarli/urlparams-phpsessid
VirtualTam [Fri, 20 May 2016 11:06:45 +0000 (13:06 +0200)] 
Merge pull request #574 from shaarli/urlparams-phpsessid

Url.php: remove unwanted ?PHPSESSID= URL parameters

8 years agoUrl.php: remove unwanted ?PHPSESSID= URL parameters, 574/head
nodiscc [Fri, 20 May 2016 00:06:43 +0000 (02:06 +0200)] 
Url.php: remove unwanted ?PHPSESSID= URL parameters,
update test case

8 years agoMerge pull request #568 from ArthurHoaro/master
Arthur [Sat, 14 May 2016 10:27:18 +0000 (12:27 +0200)] 
Merge pull request #568 from ArthurHoaro/master

PHP endtag in shaarli_version.php

8 years agoPHP endtag in shaarli_version.php 568/head
ArthurHoaro [Sat, 14 May 2016 10:25:31 +0000 (12:25 +0200)] 
PHP endtag in shaarli_version.php

8 years agoMerge pull request #567 from ArthurHoaro/v0.7.0 v0.7.0
Arthur [Sat, 14 May 2016 10:11:57 +0000 (12:11 +0200)] 
Merge pull request #567 from ArthurHoaro/v0.7.0

V0.7.0

8 years agoDoc update 567/head
ArthurHoaro [Sat, 14 May 2016 09:37:28 +0000 (11:37 +0200)] 
Doc update

Signed-off-by: ArthurHoaro <arthur@hoa.ro>
8 years agoVersion bump: v0.7.0
ArthurHoaro [Sat, 14 May 2016 09:36:47 +0000 (11:36 +0200)] 
Version bump: v0.7.0

Signed-off-by: ArthurHoaro <arthur@hoa.ro>
8 years agoMerge pull request #560 from ArthurHoaro/nb-private-shaare
Arthur [Sat, 14 May 2016 09:11:11 +0000 (11:11 +0200)] 
Merge pull request #560 from ArthurHoaro/nb-private-shaare

Private links counter in the header

8 years agoMerge pull request #556 from ArthurHoaro/login-refill
Arthur [Sat, 14 May 2016 09:09:39 +0000 (11:09 +0200)] 
Merge pull request #556 from ArthurHoaro/login-refill

Prefill the login field when the authentication has failed