| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Docker: update dependencies, introduce Composer (stable branch)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Relates to https://github.com/shaarli/Shaarli/issues/607
Relates to https://github.com/shaarli/Shaarli/pull/612
Relates to https://github.com/shaarli/Shaarli/pull/624
Relates to https://github.com/shaarli/Shaarli/pull/633
See https://github.com/shaarli/Shaarli/wiki/Server-requirements
Modifications:
- [prod][stable] refactor Dockerfile
- [prod][stable] set $TERM=dumb to avoid debconf-related issues
- [prod][stable] install ca-certificates
- [prod][stable] cleanup APT cache after installing packages
- [prod][stable] use Composer to resolve PHP dependencies
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| |/
|/| |
Docker: update dependencies, introduce Composer
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relates to https://github.com/shaarli/Shaarli/issues/607
Relates to https://github.com/shaarli/Shaarli/pull/612
Relates to https://github.com/shaarli/Shaarli/pull/624
See https://github.com/shaarli/Shaarli/wiki/Server-requirements
Modifications:
- [all][env] set $TERM=dumb to avoid debconf-related issues
- [all][pkg] install ca-certificates
- [all][pkg] cleanup APT cache after installing packages
- [dev] refactor Dockerfile
- [prod][master] refactor Dockerfile
- [prod][master][php] use Composer to resolve PHP dependencies
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
Add a description to plugin parameters
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Plugin parameter can contain a description in their meta file under the key:
parameter.<param_name>="<description>"
|
|\ \
| | |
| | | |
Fix: add missing final newlines, untabify text
|
|/ /
| |
| |
| | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
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>
|
|\ \
| | |
| | | |
Fix: keep composer.json in release archives
|
|/ /
| |
| |
| |
| |
| | |
Relates to https://github.com/shaarli/Shaarli/issues/607
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
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>
|
|\ \
| | |
| | |
| | |
| | | |
virtualtam/composer/shaarli/netscape-bookmark-parser
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>
|
|\ \
| | |
| | | |
Added (and set as default) a cURL-based method for fetching HTTP content
|
| | |
| | |
| | |
| | | |
fixup between both methods
|
|\ \ \
| | | |
| | | | |
Bugfix: wrong key used to get default private links setting
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Initialize a translation function
|
|/ / /
| | |
| | |
| | | |
It matches the API of ngettext().
|
|\ \ \
| | | |
| | | | |
Generate a token for every pages
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Bugfix: enable change password if open shaarli is disabled
|
|/ / |
|
|\ \
| | |
| | | |
Fix update method escapeUnescapedConfig
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Actually run it
* unit tests
Fixes #611
|
|\ \ \
| |/ /
|/| | |
Better whitespace handling in tags
|
| | |
| | |
| | |
| | |
| | |
| | | |
Correct PR #573 to work properly with hidden tags, and add ReferenceLinkDB UT.
Fixes #571 - Closes #573
|
| | | |
|
|/ / |
|
|\|
| |
| | |
Reference netscape-bookmark-parser & allow generating custom release archives
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Hide expected 'error_log' while running TU (clean PHPUnit log)
|
| | |
|
|\ \
| | |
| | | |
Remove Delicious in project description in comments
|
| |/ |
|
|\ \
| | |
| | | |
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
|
|\ \
| | |
| | | |
Fix typo in test method name
|
|/ / |
|
|\ \
| |/
|/| |
Fix session_protection_disabled variable in configure.php
|
|/ |
|
|\
| |
| | |
Hashtag system
|
| |
| |
| |
| |
| |
| | |
* Hashtag are auto-linked with a filter search
* Supports unicode
* Compatible with markdown (excluded in code blocks)
|
|\ \
| | |
| | | |
Introduce a configuration manager
|