MyShaarli/tests
VirtualTam a973afeac7 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>
2016-08-10 01:42:44 +02:00
..
config Add closing PHP tags to JSON config files 2016-06-20 18:30:37 +02:00
HttpUtils Fixes #531 - Title retrieving is failing with multiple use case 2016-05-03 19:51:29 +02:00
NetscapeBookmarkUtils Refactor bookmark import using a generic Netscape parser 2016-08-10 01:42:44 +02:00
plugins Merge pull request #570 from ArthurHoaro/config-manager 2016-07-09 07:19:48 +02:00
Updater Fix update method escapeUnescapedConfig 2016-08-02 12:54:55 +02:00
Url Fix typo in test method name 2016-07-21 19:42:26 +02:00
utils Better whitespace handling in tags 2016-08-02 10:34:21 +02:00
.htaccess LinkDB: move to a proper file, add test coverage 2015-06-11 00:45:45 +02:00
ApplicationUtilsTest.php Hide expected 'error_log' while running TU (clean PHPUnit log) 2016-07-23 14:16:07 +02:00
CachedPageTest.php application: refactor version checks, move to ApplicationUtils 2015-11-26 23:19:37 +01:00
CacheTest.php Hide expected 'error_log' while running TU (clean PHPUnit log) 2016-07-23 14:16:07 +02:00
FeedBuilderTest.php Merge pull request #570 from ArthurHoaro/config-manager 2016-07-09 07:19:48 +02:00
LanguagesTest.php Initialize a translation function 2016-08-07 11:54:39 +02:00
LinkDBTest.php Better whitespace handling in tags 2016-08-02 10:34:21 +02:00
LinkFilterTest.php Hashtag system 2016-06-06 21:04:43 +02:00
LinkUtilsTest.php Hashtag system 2016-06-06 21:04:43 +02:00
PluginManagerTest.php PluginManager no longer uses singleton pattern 2016-06-11 09:30:56 +02:00
RouterTest.php Unit tests for Router and PluginManager. 2015-11-07 15:27:22 +01:00
TimeZoneTest.php Use correct 'UTC' timezone 2016-05-03 20:09:24 +02:00
UtilsTest.php Hashtag system 2016-06-06 21:04:43 +02:00