| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
So it allows to have multiple words tags.
Breaking change: commas ',' are no longer a default separator.
Fixes #594
|
|
|
| |
just replace "*/ ?>" and "<?php /*" with '' and "Trim" output whatever is EOF will trimmed out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
i was getting error
```
An error occurred while parsing JSON configuration file (data/config.json.php): error code #4
➜ Syntax error
Please check your JSON syntax (without PHP comment tags) using a JSON lint tool such as jsonlint.com.
```
after debug i found
```php
$data = str_replace(self::getPhpHeaders(), '', $data);
$data = str_replace(self::getPhpSuffix(), '', $data);
```
doesn't removing php header and php suffix
cause of this issue was PHP_EOL represents the endline character for the current system. if my ```config.json.php``` was encoded with unix ( LF ) and php running on windows windows encoding ( CR LF ) is not same as unix encoding ( LF ) so ```str_replace``` doesn't replace strin then it causes issue.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- There is a new standalone script (metadata.js) which requests
a new controller to get bookmark metadata and fill the form async
- This feature is enabled with the new setting: general.enable_async_metadata
(enabled by default)
- general.retrieve_description is now enabled by default
- A small rotating loader animation has a been added to bookmark inputs
when metadata is being retrieved (default template)
- Custom JS htmlentities has been removed and mathiasbynens/he
library is used instead
Fixes #1563
|
| |
|
| |
|
| |
|
|
|
|
| |
See https://github.com/shaarli/Shaarli/issues/1307
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the option is enabled, it will try to find a meta tag containing
the page description and keywords, just like we do for the page title.
It will either look for regular meta tag or OpenGraph ones.
The option is disabled by default.
Note that keywords meta tags is mostly not used.
In `configure` template, the variable associated with this setting
is `$retrieve_description`.
Fixes #1302
|
|
|
|
| |
Fixes #1239
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
|
|
|
|
| |
- add a default thumb size value (125x90px)
- improve private vertical bar visual, especially with thumbnails
- translations
- add a sync thumbs button in tool and empty picwall page
- fixes WT download mode in JSON config
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* requires PHP 5.6
* use blazy on linklist since a lot more thumbs are retrieved
* thumbnails can be disabled
* thumbs size is now 120x120
* thumbs are now cropped to fit the expected size
Fixes #345 #425 #487 #543 #588 #590
|
|
|
|
|
|
| |
Also fixed a few French translation issues
Fixes #954 #955
|
|
|
|
| |
Fixes #1040
|
|
|
|
|
|
|
|
|
| |
* translation system and unit tests
* Translations everywhere
Dont use translation merge
It is not available with PHP builtin gettext, so it would have lead to inconsistency.
|
| |
|
|
|
|
|
|
| |
- new setting *force_login* added and documented
- if both, *force_login* and *hide_public_links* are set to true, all requests
(except for the feeds) are redirected to the login page
|
|\
| |
| | |
new setting: default value for 'remember me' checkbox
|
| |
| |
| |
| |
| |
| | |
- the default state for the login page's 'remember me' checkbox can now be configured
- adapted the default and vintage theme to consider the new setting
- added documentation for the new setting
|
|/ |
|
|
|
|
|
|
|
| |
- for Shaare
- for markdown description links and images
Not whitelisted protocols will be replaced by `http://`
|
|
|
|
|
|
|
|
|
|
|
| |
Use case: rest API service
* saved by default in data/history
* same format as datastore.php
* traced events:
* save/edit/delete link
* change settings or plugins settings
* rename tag
|
|\
| |
| | |
Fixes #304: use atom feed as default
|
| |
| |
| |
| | |
RSS feed is still available with the setting set to false
|
|/
|
|
|
|
|
|
| |
Error:
An error occurred while parsing configuration JSON file (data/config.json.php): error code #4
➜ Syntax error
Please check your JSON syntax (without PHP comment tags) using a JSON lint tool such as jsonlint.com.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Namespaces have been introduced with the REST API, and should be generalized
to the whole codebase to manage object scope and benefit from autoloading.
See:
- https://secure.php.net/manual/en/language.namespaces.php
- http://www.php-fig.org/psr/psr-4/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
Theme manager: improvements
|
| | |
|
|/
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
|
|
| |
* REST API routes are handle by Slim.
* Every API controller go through ApiMiddleware which handles security.
* First service implemented `/info`, for tests purpose.
|
| |
|
|
|
|
|
|
| |
Plugin parameter can contain a description in their meta file under the key:
parameter.<param_name>="<description>"
|
| |
|
| |
|
| |
|
|
|
|
| |
Except for those which require external data (timezone and $_SERVER).
|
| |
|
| |
|
|
|
|
| |
Also use the Updater to make the transition
|
|
|
|
| |
code base
|
|
|