MyShaarli/application
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
.htaccess LinkDB: move to a proper file, add test coverage 2015-06-11 00:45:45 +02:00
ApplicationUtils.php Rename configuration key for better sections 2016-06-11 09:30:56 +02:00
Cache.php Cache: simplify cached content cleanup, improve tests 2015-08-13 23:51:31 +02:00
CachedPage.php CachedPage: move to a proper file, add tests 2015-08-13 23:48:06 +02:00
FeedBuilder.php Refactor filter in LinkDB 2016-03-25 19:17:59 +01:00
FileUtils.php Replace $GLOBALS configuration with the configuration manager in the whole code base 2016-06-11 09:30:56 +02:00
HttpUtils.php Set cURL as default in HTTP fetching, a fallback method and consistency fixup between both methods 2016-08-08 20:45:50 +02:00
Languages.php Initialize a translation function 2016-08-07 11:54:39 +02:00
LinkDB.php Better whitespace handling in tags 2016-08-02 10:34:21 +02:00
LinkFilter.php Hashtag system 2016-06-06 21:04:43 +02:00
LinkUtils.php Hashtag system 2016-06-06 21:04:43 +02:00
NetscapeBookmarkUtils.php Refactor bookmark import using a generic Netscape parser 2016-08-10 01:42:44 +02:00
PageBuilder.php Generate a token for every pages 2016-08-06 14:09:26 +02:00
PluginManager.php PluginManager no longer uses singleton pattern 2016-06-11 09:30:56 +02:00
Router.php Fix startsWith and endsWith case 2016-05-10 23:31:41 +02:00
TimeZone.php Use correct 'UTC' timezone 2016-05-03 20:09:24 +02:00
Updater.php Fix update method escapeUnescapedConfig 2016-08-02 12:54:55 +02:00
Url.php Url.php: remove unwanted ?PHPSESSID= URL parameters, 2016-05-20 12:23:03 +02:00
Utils.php Replace $GLOBALS configuration with the configuration manager in the whole code base 2016-06-11 09:30:56 +02:00