Knah Tsaeb
be6a3e28ca
Update soshot config
2023-07-13 17:22:58 +02:00
Knah Tsaeb
2c1f0981d9
Update for Shaarli 0.12.2
2023-05-25 11:13:43 +02:00
Knah Tsaeb
23a5fc1eef
Merge latest 0.12.2
2023-05-24 11:35:15 +02:00
Knah Tsaeb
984073a980
Release v0.11.0
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAl08H7AACgkQOzJIyqqw
gW4dEw/9F55N9HMK1xTByxsnrMihjzBaKKc1lBBNJizAXrX2QchgnhE15ATRnQNy
/7GUU8hCRukBsffMp7Ve1tbPkVvQwWgyQn2Hpp+ayGNWgQYrU1jNSaCQcbyxybyP
6e+8DFAdDsleHiYCSZBPUHMpiJyQWsVBDV1wQPRrqvm+JYE3+9IwHzm+9/y4sk55
7bp5Mj7fYyts5AJfLj9gxg2juGRnnhKXGWj2WI4Yk1mpwQLFSf43wC8lFf0ASY1J
PfhjwOOFCRv/7LOL66nIPp74+pKcyO/S8p2m/pFNgrHL2bJXaAmFMPmYQjyoFmaA
83iM5Jv3fBXMSf/iHnPvQlD0nmIvXUeu5ftBUIE/C4Uwu8LZTlOsPelW1dH5ygGa
TVaA3/vlRhDWATe9mRNrHPHQT3VoxHg8U3qIv3p3cakj1uRFaFvkKhI7dEoqFSJY
zsmISLbPMbmvJkMMNT4sI2q3ioyGDiU0OSayKocJziiu/H9+c2Pdty3YOSvJp/SX
sjgqSX/hwtNmpQnS63dweDLoBGWjj01MYgedI9r64kmfW3QoSYsdVfykEMHIfofw
/g8hRMBmuzK0VuDrla6DIBl7s58w0Uepr+e/lFMI4pzwHzxzUCZ5lc6wG0yCxuq2
R+wTbpLqeXghKIaprmxq9i1TnAiCIl+lmw9zKj3M3fXwBGQ8e4I=
=c7Xq
-----END PGP SIGNATURE-----
Merge tag 'v0.11.0' into myShaarli_commu
Release v0.11.0
2019-08-12 14:16:22 +02:00
ArthurHoaro
ed3365325d
Bump Shaarli version to v0.11.0
2019-07-27 11:55:08 +02:00
ArthurHoaro
d7dead5644
Merge pull request #1333 from ArthurHoaro/hotfix/sticky-update
...
Persist sticky status on bookmark update
2019-07-27 11:53:09 +02:00
ArthurHoaro
81cae5f5dd
Persist sticky status on bookmark update
...
Fixes #1331
2019-07-27 11:46:05 +02:00
ArthurHoaro
c49b999001
Merge pull request #1334 from ArthurHoaro/changelog-v11
...
Changelog and authors for v0.11 release
2019-07-27 11:43:17 +02:00
ArthurHoaro
525069ea7a
Changelog and authors for v0.11 release
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2019-07-27 11:24:23 +02:00
ArthurHoaro
37686457f0
Merge pull request #1332 from rajathans/master_fix
...
Responsive issue with delete button fix
2019-07-27 10:38:44 +02:00
Rajat Hans
4c029779c8
Responsive issue with delete button fix
2019-07-24 21:59:56 +05:30
ArthurHoaro
a9633359d1
Merge pull request #1317 from ArthurHoaro/feature/default-colors
...
Plugin to override default template colors
2019-07-20 09:36:39 +02:00
ArthurHoaro
a8fb97a0c3
Default colors plugin - Documentation
2019-07-20 09:32:56 +02:00
ArthurHoaro
e503d26f0b
Default colors plugin - Translations
2019-07-20 09:32:56 +02:00
ArthurHoaro
15a61e5974
Add the new hook save_plugin_parameters to the demo plugin
2019-07-20 09:32:56 +02:00
ArthurHoaro
b550735054
Default colors plugin - Add unit tests
2019-07-20 09:32:52 +02:00
ArthurHoaro
01ba8a0700
Merge pull request #1323 from llune/patch-5
...
fix a11y label
2019-07-13 15:09:47 +02:00
ArthurHoaro
b15d065905
Merge pull request #1321 from llune/patch-3
...
a11y fix img without alt
2019-07-13 15:09:20 +02:00
ArthurHoaro
c088ae99bf
Merge pull request #1324 from llune/patch-6
...
a11y fix add banner mobile version
2019-07-13 15:09:08 +02:00
ArthurHoaro
19ba060669
Merge pull request #1322 from llune/patch-4
...
fix a11y label
2019-07-13 15:08:50 +02:00
ArthurHoaro
f2d00d95a0
Merge pull request #1320 from llune/master
...
a11y fix: label and tabindex
2019-07-13 15:08:42 +02:00
Luce Carević
84b8426c31
a11y fix add banner mobile version
2019-07-13 00:40:30 +02:00
Luce Carević
cadf4d5bd6
fix a11y label
2019-07-13 00:09:54 +02:00
Luce Carević
6177da0c30
fix a11y label
2019-07-13 00:07:50 +02:00
Luce Carević
d91719ab97
fix img without alt
2019-07-13 00:04:25 +02:00
Luce Carević
b43c98fecb
fix blank
2019-07-12 23:56:43 +02:00
Luce Carević
852872930f
a11y fix: label and tabindex
...
Don't use tabindex values other than -1, 0. (see https://webaim.org/techniques/keyboard/tabindex ).
Fix inputs without labels (the placeholder attribute is not a proper labelling method)
2019-07-12 23:54:42 +02:00
Knah Tsaeb
7fe2910525
Release v0.10.4
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAly1ANsXHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA32/RJQf/ZNv/QG1Gbno7DmoXrW8F1nvg
gfNRLWkCJkbSVDy66huGaWUo8ysuyV1699+MqOxMEvGzkhpwZpSXDjjOjvaBy3ca
UKlUQrpJSc8L0VjsryHgYeX83xamw2Fk8syAsvtNxLY4SDW8aSqwFbqXl9eoTSwA
bGPMIy2wZk/Wh/9B5DB/8QM3vD4Bk5ZJFGbTTeJPhQ0AJ92i8E3lZUjG0C3oA1bG
TYOrgEYoA2eUrNStRKaKj3i163emzOqTdf56ml+ADQGl45MeHkeuQM7+uZfC5+sG
y/Zm/8aecNP/OXNO3+oSpxZlQKgINKVdoRQrqODs3LmsoMg/poc+krpzIUbebg==
=rSrP
-----END PGP SIGNATURE-----
Merge tag 'v0.10.4' into myShaarli_commu
Release v0.10.4
2019-07-11 11:44:51 +02:00
ArthurHoaro
a5a0c0399b
WIP - Plugin to override default template colors
...
* Adds a new core plugin to override default template colors
* Adds a new hook when plugin settings are saved
(`save_plugin_parameters`)
* Use CSS native variables for main colors instead of SASS variables
* Disable SASS sort order rules due to a bug in the plugin
Fixes #1312
2019-07-08 23:20:56 +02:00
ArthurHoaro
c03c90a13e
Merge pull request #1313 from ArthurHoaro/feature/desc-retrieval
...
Automatically retrieve description for new bookmarks
2019-07-06 12:34:02 +02:00
ArthurHoaro
6a4872520c
Automatically retrieve description for new bookmarks
...
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
2019-07-06 12:21:52 +02:00
ArthurHoaro
5d8a958d5d
Merge pull request #1311 from Agurato/master
...
Building Docker image for armhf outputs error
2019-06-08 14:09:33 +02:00
ArthurHoaro
bd231539e9
Merge pull request #1308 from ArthurHoaro/feature/daily-date
...
Daily - display the current day instead of the previous one
2019-06-08 14:09:07 +02:00
Agurato
a47656a28e
Rollback on removing php7-curl from step 4
2019-06-04 19:52:22 +02:00
Agurato
0b0694064c
Fix armhf Dockerfile
2019-06-02 12:57:33 +02:00
Agurato
e14d47cc55
Fix armhf Dockerfile
2019-06-02 12:52:07 +02:00
ArthurHoaro
86aa248654
Merge pull request #1309 from ArthurHoaro/feature/qrcode-link
...
Remove QRCode link to an external service
2019-05-30 10:54:02 +02:00
ArthurHoaro
5c003824a3
Remove QRCode link to an external service
2019-05-25 17:00:23 +02:00
ArthurHoaro
5321f704b5
Daily - display the current day instead of the previous one
...
Also mention if it's today or yesterday for clarity using `dayDesc`
variable
Fixes #1299
2019-05-25 16:40:45 +02:00
ArthurHoaro
c3a04e328f
Merge pull request #1273 from ArthurHoaro/feature/ban-manager
...
Rewrite IP ban management
2019-05-25 16:13:56 +02:00
ArthurHoaro
8ed59f107e
Merge pull request #1301 from ArthurHoaro/template/print-css
...
Add print CSS rules to the default template
2019-05-25 15:38:49 +02:00
ArthurHoaro
5f8f6134bc
Merge pull request #1305 from ArthurHoaro/feature/forkawsome
...
Switch from FontAwesome v4.x to ForkAwesome
2019-05-25 15:38:15 +02:00
ArthurHoaro
b2143ff480
Switch from FontAwesome v4.x to ForkAwesome
...
And use the Shaarli icon made by @xuv in the header and footer (default template).
2019-05-19 12:03:14 +02:00
ArthurHoaro
590c34dec1
Merge pull request #1304 from ArthurHoaro/hotfix/yarn-dep
...
Update node-sass to fix a vulnerability in node tar dependency
2019-05-19 11:38:06 +02:00
ArthurHoaro
dbbea38c7a
Update node-sass to fix a vulnerability in node tar dependency
...
See https://github.com/sass/node-sass/issues/2625
2019-05-19 11:32:28 +02:00
ArthurHoaro
374f89e721
Add print CSS rules to the default template
...
Fixes #1291
* Display the header bar only on the first page
* Hide search bars, pagination buttons, filters, and edit/delete buttons
2019-05-08 12:17:52 +02:00
ArthurHoaro
06783e8f1a
Merge pull request #1297 from ArthurHoaro/hotfix/mobile-select-all
...
Hide select all button on mobile view
2019-05-08 11:44:54 +02:00
ArthurHoaro
c5e96f594b
Merge pull request #1295 from ArthurHoaro/feature/visited-link-color
...
Slightly lighten visited link color
2019-05-08 11:00:58 +02:00
ArthurHoaro
160d9a7741
Merge pull request #1296 from ArthurHoaro/feature/sticky-label
...
Display sticky label in linklist
2019-05-08 11:00:33 +02:00
ArthurHoaro
51c5de1105
Hide select all button on mobile view
...
Bulk actions are not available on mobile view yet
2019-04-22 12:39:15 +02:00
ArthurHoaro
786f35f270
Merge pull request #1276 from ArthurHoaro/feature/bulk-visibility
...
Bulk action: set visibility
2019-04-22 12:31:09 +02:00
ArthurHoaro
d3defcac1c
Display sticky label in linklist
...
Add sticky label, like private label, in linklist to make it more visible.
2019-04-22 11:26:37 +02:00
ArthurHoaro
8fc0a984f0
Slightly lighten visited link color
...
To make it more visible in the middle of raw text.
2019-04-22 10:21:33 +02:00
nodiscc
e7ffbb7ed1
Merge pull request #1294 from virtualtam/changelog/v0.10.4
...
Update README, CHANGELOG and AUTHORS for v0.10.4
2019-04-16 00:24:11 +01:00
VirtualTam
e92676ace2
Update README, CHANGELOG and AUTHORS for v0.10.4
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-04-16 00:22:15 +02:00
VirtualTam
1e77e0448b
Release v0.10.4
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-04-16 00:04:56 +02:00
VirtualTam
1cc5eaf9de
backport: Fix a warning if links sticky status isn't set
...
- initiate its status to false when the link is created
- if not defined, initiate its status to false (can happen if the updater hasn't run)
This is a backport of https://github.com/shaarli/Shaarli/pull/1270
Original author information:
commit b790f900c9
Author: ArthurHoaro <arthur@hoa.ro>
Date: Sat Feb 9 14:04:16 2019 +0100
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-04-15 23:57:08 +02:00
ArthurHoaro
0ed9396bfa
Fix thumbnails disabling if PHP GD is not installed
2019-04-15 23:51:06 +02:00
ArthurHoaro
0d4c7a9fe3
Merge pull request #1293 from ArthurHoaro/hotfix/history-rename
...
Hotfix: History controller for the REST API has been renamed in a previous commit
2019-04-15 17:56:06 +02:00
ArthurHoaro
18d2d3ae15
Hotfix: History controller for the REST API has been renamed in a previous commit
...
but the class name hasn't been updated in index.php
2019-04-15 17:45:58 +02:00
nodiscc
b7aad51e8a
Merge pull request #1288 from shaarli/fix-mkdocs
...
docs: add readthedocs configuration file
2019-03-31 12:05:51 +00:00
nodiscc
6e76474c4d
docs: add readthedocs configuration file
...
workaround for mkdocs incompatibility with python 3.7
https://github.com/rtfd/readthedocs.org/issues/5250
2019-03-30 17:07:31 +01:00
ArthurHoaro
d3c813fc15
Merge pull request #1283 from llune/patch-1
...
add "Select all" string and French translation
2019-03-25 23:35:13 +01:00
ArthurHoaro
008b0f82b6
Merge pull request #1281 from llune/master
...
accessibility fixes
2019-03-25 23:34:47 +01:00
Luce Carević
1004fd7d59
add "Select all" string and French translation
2019-03-02 14:39:33 +01:00
Luce Carević
d3bbf9ee4d
Merge pull request #1 from llune/pr2
...
delete useless titles
2019-03-02 13:44:37 +01:00
Luce Carević
da815e3f2e
delete useless titles
2019-03-02 13:40:21 +01:00
Luce Carević
de07aad18f
fix empty links and hide <i> for screenreaders
2019-03-02 13:32:36 +01:00
Luce Carević
c31dd67c5d
footer and contentinfo
2019-03-02 12:56:08 +01:00
ArthurHoaro
90e048594a
Merge pull request #1272 from ArthurHoaro/feature/html-lang
...
Accessibility: specify the HTML lang attribute
2019-03-02 10:54:30 +01:00
ArthurHoaro
cc69aad4a9
Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieve
...
Do not try to retrieve thumbnails for internal link
2019-03-02 10:54:06 +01:00
Knah Tsaeb
272b07627b
Release v0.10.3
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAlxxaB0XHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA328mfAf9GA0/rrA/5HMksQ2m9YKN7wJj
ytCpeGdVksdvm+XRQj8dMp0oZjL+AIuEdd60W9fhMg+lVDlt9kO9GJKDc2kwkinx
oNxXCl54BYfmlvaW98KF5GWLAkDAUFpaUDg91ZneD1kRXoU9y/NSNiKXZP+GV/L8
8Niu2z8smypLv0UaRGblpDY+HkVfZkoV2yZJBGEcS9b7wHPy8nVv6rqUb93b+EJM
IfooUj3DaCoa61dmTFa/a5oWnuu2Iu7F0SfMvL2rFFiMC22nXfSEGpfsKDeYihmG
fhlSo0Fa665o94BfoetuXNiE2IU5Kez/aDk7sNNKoOoMsbxJPtzg9A0hyKS6eA==
=xHH4
-----END PGP SIGNATURE-----
Merge tag 'v0.10.3' into myShaarli_commu
Release v0.10.3
2019-02-28 14:29:52 +01:00
Aurélien Tamisier
5bb384cd27
Merge pull request #1279 from virtualtam/changelog/v0.10.3
...
Update badges, changelog and documentation for v0.10.3
2019-02-24 15:51:01 +01:00
VirtualTam
86dcb9048f
Update badges, changelog and documentation for v0.10.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-02-24 15:44:12 +01:00
ArthurHoaro
f87dd90f7b
Merge pull request #1275 from ArthurHoaro/doc/drop-php70
...
Documentation: drop PHP 7.0 compatibility in Shaarli 11.x
2019-02-24 12:27:35 +01:00
ArthurHoaro
a8e7da0114
Do not try to retrieve thumbnails for internal link
...
Also adds a helper function to determine if a link is a note and apply it across multiple files.
2019-02-24 12:25:50 +01:00
ArthurHoaro
c21dcc8199
Merge pull request #1270 from ArthurHoaro/hotfix/sticky-warning
...
Fix a warning if links sticky status isn't set
2019-02-24 11:30:35 +01:00
ArthurHoaro
015314f3c6
Merge pull request #1269 from ArthurHoaro/feature/remove-redirector
...
Remove the redirector setting
2019-02-24 11:29:56 +01:00
ArthurHoaro
0ee11e9390
Merge pull request #1274 from ArthurHoaro/hotfix/css-buttons-mobile
...
Fix button overlapping on mobile in linklist
2019-02-24 11:17:05 +01:00
ArthurHoaro
c85b9758a6
Merge pull request #1268 from ArthurHoaro/hotfix/thumb-gd-disable
...
Fix thumbnails disabling if PHP GD is not installed
2019-02-24 11:16:02 +01:00
VirtualTam
1c03b65e2e
Release v0.10.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-02-23 16:33:36 +01:00
VirtualTam
2c16e8e9a8
fix: ensure HTML tags are stripped from OpenGraph description
...
Fixes https://github.com/shaarli/Shaarli/issues/1250
Relates to https://github.com/shaarli/Shaarli/issues/1242
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-02-23 16:28:01 +01:00
VirtualTam
43c77f658a
Merge commit '1826e383ecf501302974132fd443cf1ca06e10f6' into v0.10
2019-02-23 16:27:33 +01:00
nodiscc
3dc80d69ab
Merge pull request #1264 from shaarli/doc-fix-mkdocs-warnings
...
doc: fix invalid links
2019-02-09 18:52:40 +00:00
ArthurHoaro
8d03f705eb
Bulk action: set visibility
...
Added 2 buttons when link checkboxes are checked to set them either public or private.
Related to #572 #1160
2019-02-09 17:59:53 +01:00
ArthurHoaro
899d041137
Documentation: drop PHP 7.0 compatibility in Shaarli 11.x
...
related to #1249
2019-02-09 17:02:30 +01:00
ArthurHoaro
54ee240878
Fix button overlapping on mobile in linklist
2019-02-09 16:56:24 +01:00
ArthurHoaro
b49a04f796
Rewrite IP ban management
...
This adds a dedicated manager class to handle all ban interactions, which is instantiated and handled by LoginManager.
IPs are now stored in the same format as the datastore, through FileUtils.
Fixes #1032 #587
2019-02-09 16:44:48 +01:00
ArthurHoaro
cb974e4747
Accessibility: specify the HTML lang attribute
...
The lang is based on the user defined one. If the language is automatic, no language will be specified.
Fixes #1216
2019-02-09 14:29:35 +01:00
ArthurHoaro
b790f900c9
Fix a warning if links sticky status isn't set
...
- initiate its status to false when the link is created
- if not defined, initiate its status to false (can happen if the updater hasn't run)
2019-02-09 14:04:16 +01:00
ArthurHoaro
520d29578c
Remove the redirector setting
...
Fixes #1239
2019-02-09 13:55:11 +01:00
ArthurHoaro
5bd62b5d53
Fix thumbnails disabling if PHP GD is not installed
2019-02-09 13:05:37 +01:00
ArthurHoaro
905f8675a7
Merge pull request #1182 from ArthurHoaro/feature/session-protection-stay-login
...
Do not check the IP address with session protection disabled
2019-02-09 12:36:31 +01:00
ArthurHoaro
7417e8ac4a
Merge pull request #1229 from ArthurHoaro/travis/php-7.3
...
Run Shaarli's tests against PHP 7.3 RC1 on Travis
2019-02-09 11:07:58 +01:00
ArthurHoaro
9f0c719c53
Run Shaarli's tests againt PHP 7.3 RC1 on Travis
2019-02-09 11:04:39 +01:00
nodiscc
8d1509e8a6
doc: fix invalid links
...
Fixes warnings from https://travis-ci.org/shaarli/Shaarli/jobs/486928133
2019-01-31 13:21:34 +00:00
nodiscc
7c13054038
Merge pull request #1261 from trailjeep/patch-1
...
Update Community-&-Related-software.md
2019-01-31 13:19:30 +00:00
nodiscc
0d41c8584c
Merge branch 'master' into patch-1
2019-01-31 13:13:34 +00:00
nodiscc
1173f8c87a
Merge pull request #1262 from trailjeep/patch-2
...
Update Community-&-Related-software.md
2019-01-31 13:12:22 +00:00
trailjeep
4d55e4f075
Update Community-&-Related-software.md
2019-01-26 15:51:40 -05:00
trailjeep
913c70d8e7
Update Community-&-Related-software.md
2019-01-26 14:06:54 -05:00
Aurélien Tamisier
e664865e2e
Merge pull request #1258 from virtualtam/refactor/phpdoc
...
Replace Doxygen with phpDocumentor to generate reference documentation
2019-01-23 22:14:32 +01:00
Aurélien Tamisier
92423ce58a
Merge pull request #1257 from virtualtam/security/composer-advisories
...
composer: enforce PHP security advisories
2019-01-23 22:12:52 +01:00
Aurélien Tamisier
586a9e0065
Merge pull request #1259 from virtualtam/fix/render/strip-opengraph-description
...
fix: ensure HTML tags are stripped from OpenGraph description
2019-01-21 10:54:30 +01:00
VirtualTam
49106a5d8c
fix: ensure HTML tags are stripped from OpenGraph description
...
Fixes https://github.com/shaarli/Shaarli/issues/1250
Relates to https://github.com/shaarli/Shaarli/issues/1242
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 22:58:09 +01:00
VirtualTam
9eb6055abb
doc: remove Doxygen configuration
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 22:44:21 +01:00
VirtualTam
7be2a2d5f4
doc: add Make target to run phpDocumentor with Docker
...
This target provides a convenient way for running phpDocumentor without
cluttering the system's configuration with PHP extensions, nor the
Composer dependencies.
See:
- https://hub.docker.com/r/phpdoc/phpdoc/dockerfile
- https://github.com/phpDocumentor/phpDocumentor2#via-docker
An alternative is to download the PHAR and run it locally:
- https://docs.phpdoc.org/getting-started/installing.html#phar
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 22:40:15 +01:00
VirtualTam
1c53591a43
doc: add phpDocumentor configuration
...
See:
- https://phpdoc.org/
- https://docs.phpdoc.org/references/configuration.html
- https://github.com/phpDocumentor/phpDocumentor2
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 22:24:58 +01:00
VirtualTam
8f4e9624e6
composer: enforce PHP security advisories
...
This adds roave/security-advisories to prevent installing PHP packages with
known vulnerabilities with Composer.
See:
- https://github.com/FriendsOfPHP/security-advisories
- https://github.com/Roave/SecurityAdvisories
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 21:35:13 +01:00
Aurélien Tamisier
ff3b5dc554
Merge pull request #1248 from virtualtam/refactor/namespacing
...
Ensure all PHP classes are properly namespaced
2019-01-18 21:26:03 +01:00
VirtualTam
dea72c711f
Optimize and cleanup imports
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-13 00:04:42 +01:00
VirtualTam
a43e7842e4
API: update test regexes to comply with PCRE2
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-13 00:04:42 +01:00
VirtualTam
1a55fc8d63
composer: add and document optional PHP extensions
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-13 00:04:42 +01:00
VirtualTam
9585441734
namespacing: add plugin tests to \Shaarli\Plugin\[...]
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
e185038834
namespacing: \Shaarli\Plugin\PluginManager
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
349b014401
namespacing: \Shaarli\Netscape\NetscapeBookmarkUtils
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
a932f486f2
namespacing: \Shaarli\Router
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
9778a1551c
namespacing: \Shaarli\ApplicationUtils
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
bcf056c9d9
namespacing: \Shaarli\Updater
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
92c6439dbc
namespacing: add curl-ext to suggested dependencies
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
fe3713d2e5
namespacing: move LinkUtils along \Shaarli\Bookmark classes
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
6696729b88
namespacing: \Shaarli\Bookmark\LinkFilter
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
f24896b237
namespacing: \Shaarli\Bookmark\LinkDB
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
a0c4dbd91c
namespacing: \Shaarli\FileUtils
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
8c0f19c797
namespacing: \Shaarli\Render\{PageBuilder,ThemeUtils}
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
51753e403f
namespacing: move HTTP utilities along \Shaarli\Http\ classes
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
fb1b182fbf
namespacing: \Shaarli\Http\Url
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
00af48d9d2
namespacing: \Shaarli\Http\Base64Url
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
dfc650aa23
namespacing: \Shaarli\Feed\{Cache,CachedPage,FeedBuilder}
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
f3d2f25794
namespacing: \Shaarli\Exceptions\IOException
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
bdc5152d48
namespacing: \Shaarli\History
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
nodiscc
1826e383ec
Merge pull request #1233 from shaarli/doc-fix-homepage-icon
...
doc: fix homepage icon
2019-01-06 01:33:32 +00:00
nodiscc
a7c98a07d1
Merge pull request #1251 from shaarli/doc-update-php-compat
...
doc: update PHP compatibility table
2019-01-06 01:32:28 +00:00
nodiscc
02c70f624e
doc: fix homepage icon
...
The icon did not display properly on https://shaarli.readthedocs.io/en/master/
2019-01-06 02:10:04 +01:00
nodiscc
7062ef4ddd
doc: update PHP compatibility table
...
Ref https://github.com/shaarli/Shaarli/issues/1249
2018-12-09 14:40:04 +00:00
Aurélien Tamisier
1004742f09
Merge pull request #1234 from virtualtam/lint
...
Setup PHPCS and cleanup linter configuration
2018-12-02 22:47:41 +01:00
VirtualTam
9d9f6d75b9
lint: fix line-length warnings
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
067c2dd8f5
lint: apply phpcbf to tests/
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
93bf0918fa
lint: apply phpcbf to index.php
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
a0ab3c3f68
lint: apply phpcbf to plugins/
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
f211e417bf
lint: apply phpcbf to application/
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
04ec8fedd9
lint: setup PHPCS for PSR-1 and PSR-2
...
Relates to https://github.com/shaarli/Shaarli/issues/95
See:
- https://github.com/squizlabs/PHP_CodeSniffer
- https://github.com/squizlabs/PHP_CodeSniffer/blob/master/phpcs.xml.dist
- https://www.php-fig.org/psr/psr-1/
- https://www.php-fig.org/psr/psr-2/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
37c9c6b4e6
lint: remove unused tools
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
Aurélien Tamisier
5e0a898bb1
Merge pull request #1247 from llune/patch-5
...
add label to form - accessibility issue
2018-12-02 13:56:16 +01:00
Aurélien Tamisier
027ff329a1
Merge pull request #1246 from llune/patch-4
...
fix translation string
2018-12-02 13:55:58 +01:00
Luce Carević
0c42c5e359
add label to form - accessibility issue
...
Don't use placeholder instead of label for form input.
2018-11-30 20:39:13 +01:00
Luce Carević
db06c261f6
fix translation string
2018-11-30 20:36:10 +01:00
ArthurHoaro
d53d9d01f7
Merge pull request #1236 from bisherbas/patch-1
...
Update session start condition
2018-11-15 20:10:47 +01:00
Bish Erbas
f6380409ac
Update session start condition
...
Recommended method for PHP >= 5.4.0 as seen here https://stackoverflow.com/questions/6249707/check-if-php-session-has-already-started
Per https://shaarli.readthedocs.io/en/master/Server-configuration/ Shaarli supports PHP >= 5.6
2018-10-31 09:09:35 -04:00
Aurélien Tamisier
a605982fa9
Merge pull request #1235 from ilesinge/patch-2
...
Dead link on dead link detector tool
2018-10-20 12:28:01 +02:00
Alexandre G.-Raymond
6fd287a0a2
Dead link on dead link detector tool
...
Author's repo moved to Framagit
2018-10-20 11:58:49 +02:00
Aurélien Tamisier
d37348efe2
Merge pull request #1230 from virtualtam/composer/netscape-parser
...
Composer: bump netscape-bookmark-parser to 2.1
2018-10-12 23:07:38 +02:00
nodiscc
d3734b0652
Merge pull request #1232 from shaarli/doc-rm-firefox-share
...
remove firefox share documentation
2018-10-11 10:03:48 +00:00
nodiscc
afe4377e4d
Merge pull request #1221 from nodiscc/doc-refactor-index-features2
...
doc: refactor documentation homepage
2018-10-11 08:09:45 +00:00
nodiscc
37bbfb5f65
remove firefox share documentation
...
Firefox Share integration has been removed in https://github.com/shaarli/Shaarli/pull/1026
Firefox Share is not available anymore in any ESR/release versions of Firefox
2018-10-11 09:51:14 +02:00
nodiscc
1a9515ff6f
Merge pull request #1231 from shaarli/revert-1220-url-filter
...
Revert part of #1220
2018-10-11 07:46:15 +00:00
nodiscc
8b2afee16b
Revert part of #1220
...
Fixes #1177
The `url` template filter is [only supported in Mkdocs 1.0+](https://github.com/mkdocs/mkdocs/blob/master/docs/about/release-notes.md#internal-refactor-of-pages-files-and-navigation )
Readthedocs.org uses Mkdocs `0.17.3 ` while `make htmldoc` fetches the [latest version from pypi](https://pypi.org/project/mkdocs/ ) which is `1.0.4`.
Following https://github.com/shaarli/Shaarli/pull/1220 , building the docs fails with https://readthedocs.org/projects/shaarli/builds/7886340/
2018-10-09 19:35:56 +02:00
VirtualTam
b41c5ab04c
Composer: bump netscape-bookmark-parser to 2.1
...
Relates to https://github.com/shaarli/Shaarli/issues/1227
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-10-06 17:30:16 +02:00
ArthurHoaro
e95247d41d
Merge pull request #1205 from ArthurHoaro/feature/opengraph
...
Add OpenGraph meta tags on permalink page
2018-10-06 13:31:07 +02:00
ArthurHoaro
a062416918
Merge pull request #1208 from ArthurHoaro/feature/select-all
...
Add a button to toggle all checkboxes of displayed links
2018-10-06 13:30:29 +02:00
ArthurHoaro
8cac122086
Merge pull request #1211 from ArthurHoaro/hotfix/img-request
...
Fix a bug making thumbnail to request the current page
2018-10-06 13:29:10 +02:00
ArthurHoaro
fa8100c088
Merge pull request #1212 from ArthurHoaro/hotfix/hashtag-md-escape
...
Fix hashtags with markdown escape enabled
2018-10-06 13:28:51 +02:00
ArthurHoaro
86e1bc713f
Merge pull request #1144 from ArthurHoaro/feature/sticky
...
Add a button to set links as sticky
2018-10-06 13:22:59 +02:00
ArthurHoaro
d9bf5b31ff
Sticky feature - Add translation and display for logged out users
2018-10-06 13:13:57 +02:00
ArthurHoaro
4154c25b5f
Add a button to set links as sticky
...
Meaning that they always appear on top of all links
Fixes #186
2018-10-06 12:55:05 +02:00
Knah Tsaeb
71071f144a
Add filter for note
2018-10-05 15:32:27 +02:00
Knah Tsaeb
ee610d4505
Fix picwall img url for self note
2018-10-05 14:06:27 +02:00
Knah Tsaeb
3801d999a0
Update to V0.10.3
2018-10-05 11:55:51 +02:00
nodiscc
10a7b5cee9
Merge pull request #1220 from nodiscc/doc-robots-noindex-nofollow
...
add "noindex, nofollow" HTML robots meta-tag to documentation pages
2018-10-03 19:29:20 +00:00
Knah Tsaeb
94716fb2ba
Release v0.10.2
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAltu2K0ACgkQOzJIyqqw
gW4fpg/+MfXOj0d4sR3QMgafKHAVtiVmrOydVwqFOjVe+BOjpxHliDtOqo++cquF
umZ3Ln9D8R3Wocw5cdLOn0/WbS+xMqyLmJWkGb1sn2NS8NWINXwCw6A8QuYF789p
NmfmhYnXCW8OoX3TWLT1RR/0UL0V2ZJsMYTWfngxM4EVSPkaZc8C7Sjqs4hL/m4w
uPcHgsCziZjxtGmdFUKLEEoFwxWKIvZTnYNTVegD6uHGb7jNZGXz1kizIpsXHC3p
LffOpx1bamTbPoNhM0PyTTRAvNF3qBWsWY58Haldv9R60KsxJ7Fxc9PXgt02vUfw
dGLMuMEd98iArAlovqQCy4/f+r1JhqJUsfj2IDJM5QSTiYWJL6zShHyHoWWifU07
4eZCOZce3kskRd8kl/0TRqdFKBB1RxIDtEZRBbmIhnkUt8E2fZG+7XPvZiIeTZSc
9/8y0KAxBnOuWtLny/NE6kS6yNUSlYooTU6kkDZ4lvsJFpHlQKwwuoFDcsD6oY0k
yZ7lCAJht645pEQAF9b7WaB+qiE55suWFUcXM/uHqRdvl+DhEJE5C/BD7orW2mi9
CVfjmqEz5UFkalG7cZpb/NB1Rtcm1YT1NlY0h1YMRtT6ZILkgUNZLWb6tuZ2e0CS
sPvVzSNzyJmw5vRC6MtwAJzRRkqa1cFJ58vnQB1n8N65n/mAFNA=
=+fbH
-----END PGP SIGNATURE-----
Merge tag 'v0.10.2' into myShaarli_commu
Release v0.10.2
2018-10-01 15:51:33 +02:00
ArthurHoaro
4adeffd7f4
Merge pull request #1207 from ArthurHoaro/feature/cors
...
Add CORS headers to REST API responses
2018-09-20 23:34:59 +02:00
ArthurHoaro
a4fbe88b6d
Merge pull request #1215 from ArthurHoaro/hotfix/tag-deletion
...
Fix a JS bug preventing AJAX tag deletion to work
2018-09-20 23:34:44 +02:00
ArthurHoaro
bede8e1b63
Merge pull request #1213 from ArthurHoaro/plugins/isso-icon
...
Isso plugin: add an icon in linklist if enabled
2018-09-20 23:33:44 +02:00
nodiscc
6c44d604a1
doc: server config: basic usage of robots.txt/HTML robots meta-tag/crawler control mechanisms
2018-09-09 16:21:58 +02:00
nodiscc
2b4f391559
add "noindex, nofollow" HTML robots meta-tag to documentation pages
...
- Customize the "readthedocs" mkdocs theme: https://www.mkdocs.org/user-guide/styling-your-docs/#customizing-a-theme
- Adds a '<meta name="robots" content="noindex, nofollow">' HTML tag on each page
- Do not include robots directive on readthedocs.org, only in local builds
2018-09-09 16:21:03 +02:00
nodiscc
b817fb0d95
documentation: refactor documentation homepage
...
- simplify/organize feature list and contributing section
- move bug reporting/contact information to Contributing section
- unclutter
Ref https://github.com/shaarli/Shaarli/issues/1148#issuecomment-397871451 and https://github.com/shaarli/Shaarli/issues/598
2018-08-30 21:09:02 +02:00
ArthurHoaro
4fa9a3c5d8
Fix a JS bug preventing AJAX tag deletion to work
...
Fixes #1214
2018-08-16 17:25:47 +02:00
ArthurHoaro
0e54e1059f
Isso plugin: add an icon in linklist if enabled
...
Fixes #1075
2018-08-14 13:39:31 +02:00
ArthurHoaro
cb7940e2de
Fix hashtags with markdown escape enabled
...
They're now transformed to markdown syntax links before processing them through Parsedown.
Fixes #1210
2018-08-14 12:26:51 +02:00
ArthurHoaro
8c75c43e7e
Fix a bug making thumbnail to request the current page
2018-08-14 11:43:54 +02:00
ArthurHoaro
f28b73b21f
Merge pull request #1209 from ArthurHoaro/hotfix/history-delete
...
History: fix a bug on bulk deletion where only one deletion were regi…
2018-08-13 13:24:01 +02:00
ArthurHoaro
b54faf4fd9
History: fix a bug on bulk deletion where only one deletion were registred
2018-08-13 13:18:31 +02:00
ArthurHoaro
fc574e6454
Add a button to toggle all checkboxes of displayed links
...
Related to #1160
2018-08-13 13:13:26 +02:00
ArthurHoaro
83eab29ef8
Merge pull request #1206 from ArthurHoaro/hotfix/search-input-size
...
Fix input size for dropdown search form
2018-08-13 12:23:51 +02:00
ArthurHoaro
5d9bc40d7e
Add CORS headers to REST API responses
...
Fixes #1174
2018-08-13 12:21:10 +02:00
ArthurHoaro
a120fb2977
Add OpenGraph meta tags on permalink page
...
Includes:
- og:title
- og:type -> article
- og:image -> if there is a thumbnail
- og:url -> permalink
- og:description -> first 300 chars of raw description
- article:published_time
- article:modified_time
- article:tag -> one OG meta tag for each shaare tag
Fixes #258
2018-08-13 10:55:48 +02:00
ArthurHoaro
d94e6e69dd
Fix input size for dropdown search form
2018-08-13 10:55:13 +02:00
ArthurHoaro
14077272f4
Merge pull request #1193 from llune/patch-1
...
Update French translation
2018-08-13 10:48:36 +02:00
ArthurHoaro
5de61c2ca7
badge
2018-08-11 14:39:03 +02:00
ArthurHoaro
630ebca2b6
Bump Shaarli version to v0.10.2
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-08-11 14:37:33 +02:00
ArthurHoaro
2b12812e77
Bump Shaarli version to v0.10.1
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-08-11 14:37:02 +02:00
ArthurHoaro
dd8de81ee3
Bump to v0.10.0
2018-08-11 14:37:02 +02:00
ArthurHoaro
382869ad54
CHANGELOG
2018-08-11 14:35:58 +02:00
ArthurHoaro
5190466414
Merge pull request #1204 from ArthurHoaro/hotfix/docker-build-failure
...
Fix docker build
2018-08-11 14:34:05 +02:00
ArthurHoaro
5e66ba1882
Fix docker build
...
WT has php-gd as a requirement, which isn't available in composer docker image
2018-08-11 14:27:17 +02:00
ArthurHoaro
2302347524
Badge
2018-08-11 13:55:30 +02:00
ArthurHoaro
f9bc4f9e79
Merge pull request #1203 from ArthurHoaro/changelog
...
CHANGELOG
2018-08-11 13:50:52 +02:00
ArthurHoaro
69a15872d0
Update AUTHORS
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-08-11 13:49:23 +02:00
ArthurHoaro
6a7815951c
CHANGELOG
2018-08-11 13:47:41 +02:00
ArthurHoaro
dc5e094483
Merge pull request #1202 from ArthurHoaro/composer
...
Upgrade composer - web-thumbnailer v1.3.0
2018-08-11 13:37:05 +02:00
ArthurHoaro
2c4170553f
Merge pull request #1200 from ArthurHoaro/hotfix/htaccess-version
...
Use version condition in the root .htaccess
2018-08-11 13:36:55 +02:00
ArthurHoaro
1c88a7b33e
Merge pull request #1199 from ArthurHoaro/hotfix/thumbnails-edit-link
...
Fix issue 'You are not authorized to add a link' with thumbnails enabled
2018-08-11 13:36:47 +02:00
ArthurHoaro
62f5a75813
Upgrade composer - web-thumbnailer v1.3.0
2018-08-11 13:26:34 +02:00
ArthurHoaro
dccd62cbd6
Merge pull request #1195 from llune/patch-3
...
Delete redundant titles
2018-08-10 17:47:43 +02:00
ArthurHoaro
8aca613b07
Use version condition in the root .htaccess
...
Related to #1196
2018-08-10 17:45:29 +02:00
ArthurHoaro
b5c368b858
Fix issue 'You are not authorized to add a link' with thumbnails enabled
...
Do not try to alter the datastore by updating thumbnails if the user isn't logged in.
Also, do not enable thumbnails if PHP GD extension is not installed/loaded
2018-08-10 17:09:51 +02:00
ArthurHoaro
fa5012cb04
Merge pull request #1194 from llune/patch-2
...
empty alt on logo image
2018-08-06 19:06:42 +02:00
llune
be5db0a5cf
Delete redundant titles
...
Redundant titles are an accessibility issue and should be avoided.
See : https://accessibilitytips.com/2008/04/14/avoiding-redundant-title-attributes/
2018-08-02 22:48:00 +02:00
llune
667963435f
alt should be empty
2018-08-02 21:23:34 +02:00
llune
a71e1aa73e
empty alt on logo image
...
The alt does not provide any useful information for screenreader users. It just adds noise.
2018-08-02 21:21:00 +02:00
llune
d0e8ca9224
update translation
2018-08-02 21:11:13 +02:00
llune
a71d6641f6
fix boutton
2018-08-02 20:49:23 +02:00
llune
9c91a17ba8
Maj French translation
2018-08-02 20:47:47 +02:00
Knah Tsaeb
48ab8cd53d
Release v0.9.7
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAlsqZ3wXHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA32+0eQf+PsLsgP5xg9Tm06+qTptfvIjt
RlupVU4BJTeTNcDdwqMduyvAlM+mpLPcuAnZYsPhv9O/zyT12TPStCPwOG+ETkgS
QdrJ1X+vc2vb9tjT/gs5p9cfqa9FZQTEVn7jdztFO67fZ1BSB9fSEIXKKr/dG13B
QV3lQE36mVyPm/AXf7iS+0enyCqw9M7gtYqCEMYPeAFoM7E/obRbN3sUamkuonjx
ST2jtg7hmyzrq1/HM9UwbLiPZJX/XKCxhrDIAs7sxnWg/frwJeMAgoIy/c3FjdhK
BMNA5qrEvDOFK6F+WjEhlvSNfKnE5vykObMpP+VL36ID//HEc+BIWBgZAPa+ng==
=qqHr
-----END PGP SIGNATURE-----
Merge tag 'v0.9.7' into myShaarli_commu
Release v0.9.7
2018-07-31 14:38:47 +02:00
ArthurHoaro
75c4b0d03b
Merge pull request #1191 from ArthurHoaro/hotfix/daily-thumb
...
Fix fatal error on daily page: use new thumbnail system
2018-07-30 18:29:06 +02:00
ArthurHoaro
bf3c9934d2
Fix fatal error on daily page: use new thumbnail system
...
Also fix:
* include the login manager in the daily RSS feed function
* remove redirector setting in the vintage theme
Fixes #1190
2018-07-29 17:49:53 +02:00
ArthurHoaro
1412d2c245
Merge pull request #1188 from ArthurHoaro/hotfix/release-include-libs
...
Include assets in the release_archive Makefile target
2018-07-29 17:45:54 +02:00
ArthurHoaro
a136a427ae
Include assets in the release_archive Makefile target
2018-07-28 19:52:47 +02:00
ArthurHoaro
a4f0509a77
Merge pull request #1026 from ArthurHoaro/hotfix/remove-firefox-social-api
...
Remove Firefox Social API shaare
2018-07-28 11:28:49 +02:00
ArthurHoaro
e87f57c758
Remove Firefox Social API shaare
...
Firefox Social support has been dropped in Firefox 57.
Related to #1023
2018-07-28 11:26:12 +02:00
ArthurHoaro
ab6c848c86
Update README badges
2018-07-28 10:45:17 +02:00
ArthurHoaro
31d160d3dc
Merge pull request #1186 from ArthurHoaro/changelog
...
v0.10: changelog, authors and dependencies
2018-07-28 10:39:05 +02:00
ArthurHoaro
1df447b262
v0.10: changelog, authors and dependencies
2018-07-28 10:35:43 +02:00
ArthurHoaro
ad5f47adba
Merge pull request #687 from ArthurHoaro/web-thumb
...
Use web-thumbnailer to retrieve thumbnails
2018-07-28 09:41:29 +02:00
Aurélien Tamisier
8fdd65b884
Merge pull request #1168 from virtualtam/docker/compose
...
Provide a Docker Compose example
2018-07-27 19:25:52 +02:00
Aurélien Tamisier
d8e4bf1535
Merge pull request #1185 from alemairebe/master
...
fix and simplify Dockerfile for armhf
2018-07-27 19:22:49 +02:00
Aurélien Tamisier
aeb8586be4
Merge pull request #1184 from virtualtam/workaround/rtfd-mkdocs
...
Disable MkDocs' strict mode for ReadTheDocs builds to pass
2018-07-27 19:22:04 +02:00
Adrien le Maire
e3af34d06d
fix and simplify Dockerfile for armhf
2018-07-25 12:54:22 +02:00
VirtualTam
9618e45f4b
Disable MkDocs' strict mode for ReadTheDocs builds to pass
...
Relates to https://github.com/shaarli/Shaarli/issues/1179
See:
- https://www.mkdocs.org/user-guide/configuration/#build-directories
- https://github.com/rtfd/readthedocs.org/issues/4314
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-24 23:55:09 +02:00
nodiscc
d6e392a9cb
Merge pull request #1181 from ArthurHoaro/docs/api-debug
...
Documentation - REST API - Mention dev.debug mode
2018-07-18 14:19:51 +02:00
ArthurHoaro
d9ba1cdd44
Do not check the IP address with session protection disabled
...
This allows the user to stay logged in if his IP changes.
Fixes #1106
2018-07-17 14:13:37 +02:00
ArthurHoaro
40f0ff2236
Documentation - REST API - Mention dev.debug mode
2018-07-17 13:54:15 +02:00
ArthurHoaro
7b4fea0e39
Bunch of improvement for thumbnails integration:
...
- 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
2018-07-17 13:16:50 +02:00
nodiscc
5d32c50ad7
Merge pull request #1176 from shaarli/fix-broken-doc-links
...
Fix broken documentation links in page footer and pluginsadmin
2018-07-16 15:39:35 +02:00
nodiscc
6ecc4664b1
Merge pull request #1180 from virtualtam/docker/update
...
Bump the base Docker image to alpine:3.8
2018-07-16 14:45:22 +02:00
VirtualTam
be53fa40ff
Bump the base Docker image to alpine:3.8
...
Major change:
- PHP 7.2
Changelog:
- https://www.alpinelinux.org/posts/Alpine-3.8.0-released.html
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-15 22:06:22 +02:00
VirtualTam
a0c34a4976
Docs: Add an installation guide for Debian 9 + Docker
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-12 22:50:30 +02:00
nodiscc
738b1873c3
tpl: default/vintage: pluginsadmin: fix link to documentation
...
Ref #930
2018-07-12 22:12:55 +02:00
nodiscc
9cc6ea6560
Merge pull request #1178 from pips-/patch-2
...
Upgrade-and-migration.md: typo installation link
2018-07-12 22:01:21 +02:00
VirtualTam
1cafacfedd
Docs: rename 'How-to' section to 'Guides'
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-12 21:48:48 +02:00
VirtualTam
81c801300b
Provide a Docker Compose example
...
Closes https://github.com/shaarli/Shaarli/issues/1010
See:
- https://hub.docker.com/_/traefik/
- https://docs.traefik.io/configuration/backends/docker/
- https://docs.traefik.io/user-guide/docker-and-lets-encrypt/
- https://github.com/containous/traefik/pull/2798
- https://github.com/containous/traefik/issues/3298
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-12 21:48:48 +02:00
ArthurHoaro
c9fcaaee93
Merge pull request #1175 from ArthurHoaro/docs/apache-proxy-preserve-host
...
Include ProxyPreserveHost directive in Apache's proxy doc
2018-07-10 18:30:15 +02:00
ArthurHoaro
c2c2338f9a
Merge pull request #1141 from ArthurHoaro/api/tags
...
Implements Tags endpoints for Shaarli's REST API
2018-07-10 18:06:26 +02:00
pips
f39b1242a8
Upgrade-and-migration.md: install link typo
...
second one
2018-07-10 00:38:59 +02:00
pips
3028a84c13
Upgrade-and-migration.md: typo installation link
...
Install page is not correctly linked
2018-07-10 00:29:24 +02:00
nodiscc
5045585f24
doc: reverse proxy config: proxypreservehost: wording, link to apache documentation, typo
2018-07-08 19:54:48 +02:00
ArthurHoaro
e7f4a03d24
Include ProxyPreserveHost directive in Apache's proxy doc
2018-07-05 21:13:09 +02:00
ArthurHoaro
6410bf9670
API - Apache - Specify allowed HTTP method in .htaccess
2018-07-05 20:47:26 +02:00
ArthurHoaro
7c57bd9538
GetTagsTest - Update to alpha sort for equal occurences
2018-07-05 20:45:03 +02:00
ArthurHoaro
b302b3c584
Thumbnails: add a common mode to only retrieve thumbs from popular media websites
2018-07-05 20:34:22 +02:00
ArthurHoaro
fcba541e2f
Bump WT version
2018-07-05 20:34:22 +02:00
ArthurHoaro
28f2652460
Add a page to update all thumbnails through AJAX requests in both templates
2018-07-05 20:34:22 +02:00
ArthurHoaro
787faa42f3
Take code review into account
...
Upgrade web-thumbnailer and display thumbs right after download
2018-07-05 20:34:22 +02:00
ArthurHoaro
8b5b7dcc83
Add Link structure page to the documentation
2018-07-05 20:31:35 +02:00
ArthurHoaro
e85b7a05a1
Update thumbnail integration after rebasing the branch
2018-07-05 20:31:35 +02:00
ArthurHoaro
a3724717ec
ConfigManager: add a method to remove an entry
2018-07-05 20:31:35 +02:00
ArthurHoaro
1b93137e16
Use web-thumbnailer to retrieve thumbnails
...
* 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
2018-07-05 20:31:35 +02:00
VirtualTam
edb4a4d9c9
Merge pull request #1173 from virtualtam/docker/cache-volume
...
Docker: expose a volume for the thumbnail cache
2018-07-05 18:31:34 +02:00
VirtualTam
186d9eaa57
Docker: expose a volume for the thumbnail cache
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-05 18:17:07 +02:00
VirtualTam
5dc4b8ab69
Merge pull request #1171 from virtualtam/docker/alpine-3.7
...
Bump the base Docker image to alpine:3.7
2018-07-01 23:22:48 +02:00
VirtualTam
508397a88e
Bump the base Docker image to alpine:3.7
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-01 16:40:26 +02:00
VirtualTam
d9a0b52276
Merge pull request #1167 from virtualtam/mkdocs
...
Improve Mkdocs build process, fix formatting issues
2018-06-28 12:52:50 +02:00
VirtualTam
87f1431247
Fix broken documentation links and list formatting
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-26 22:22:33 +02:00
VirtualTam
972cd80085
Run MkDocs in strict mode
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-26 22:21:53 +02:00
VirtualTam
fd2e8fad79
Let MkDocs clean previously generated HTML pages
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-26 22:20:57 +02:00
VirtualTam
c1503307ce
Add a Travis environment for MkDocs
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-26 22:19:21 +02:00
VirtualTam
c429f28ad4
Merge pull request #1165 from fbartels/patch-1
...
add Cloudron to related software
2018-06-26 21:48:01 +02:00
VirtualTam
52731281bc
Merge branch 'master' into patch-1
2018-06-26 21:47:27 +02:00
VirtualTam
ab752eaf15
Merge pull request #1164 from lapineige/patch-2
...
Other platform integration: add Yunohost install badge
2018-06-26 21:44:50 +02:00
Felix Bartels
359696dcbb
add Cloudron to related software
2018-06-25 10:05:04 +02:00
lapineige
de15ed1def
Other platform integration: add Yunohost install badge
...
Add a button to install with Yunohost in a one-click way.
2018-06-25 09:28:29 +02:00
nodiscc
969ed87fb1
Merge pull request #1155 from shaarli/doc-improvements
...
Improve documentation (#598 , #1105 )
2018-06-21 19:34:11 +02:00
VirtualTam
7519388dd6
Merge pull request #1154 from virtualtam/changelog
...
Update AUTHORS and CHANGELOG
2018-06-20 17:18:47 +02:00
VirtualTam
6e1df6013e
Update version badges and installation instructions
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-20 17:14:30 +02:00
VirtualTam
47ddfc57a0
Update AUTHORS and CHANGELOG
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-20 17:11:09 +02:00
VirtualTam
6325e74caa
Merge pull request #1158 from virtualtam/master-dockerfile
...
Master: Build the Docker images from the local sources
2018-06-20 16:59:29 +02:00
VirtualTam
658988f3ae
Bump Shaarli version to v0.9.7
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-20 16:40:50 +02:00
VirtualTam
5420c87e22
Merge pull request #1157 from virtualtam/v0.9-dockerfile
...
v0.9 - Build the Docker images from the local sources
2018-06-20 16:29:27 +02:00
nodiscc
bdfb967ca2
Improve documentation ( #598 , #1105 )
...
* rework/simplify server configuration/requirements pages (consolidate/simplify SSL/TLS/apache configuration)
* update index.md introduction
* remove external images (badges)
* Fix COPYING link and documentation links
* Update features list
* dedpulicate information
* remove server-requirements.md and move relevant doc to other files
* TODO: rework nginx configuration (single configuration example, with commented out blocks for special cases)
* TODO: consolidate download/install/configuration pages
* remove blank lighttpd configuration section
* remove Required? column for composer packages, all libraries are mandatory
* php 7.2 compatibilty
* clarify that certbot binary and paths may vary depending on install method
2018-06-17 18:56:00 +02:00
VirtualTam
c064d3179e
docker: update image and usage documentation
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-17 13:45:39 +02:00
VirtualTam
decae8c119
docker: build the images from the local sources
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-17 13:21:01 +02:00
VirtualTam
2a3fe990dd
docker: build the images from the local sources
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-17 01:02:50 +02:00
VirtualTam
7cf436cea4
docker: remove 'stable' resources
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-16 23:55:44 +02:00
VirtualTam
1168abb484
docker: move testing resources to tests/docker
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-16 23:54:10 +02:00
VirtualTam
865d57b84a
docker: remove current image build resources
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-16 23:29:47 +02:00
VirtualTam
47095cb333
docker: move testing resources to tests/docker
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-16 23:28:55 +02:00
ArthurHoaro
26b0b20228
Merge pull request #1152 from ArthurHoaro/hotfix/install-error
...
Fixes an error during the install
2018-06-07 20:00:30 +02:00
ArthurHoaro
cad4251ad7
Fixes an error during the install
...
was out of scope
2018-06-07 19:58:58 +02:00
ArthurHoaro
ea700dd89f
Merge pull request #1151 from kramred/master
...
Add <meta> tag for referrer same-origin also to new default tpl
2018-06-07 19:17:32 +02:00
Mark Schmitz
ee93a09387
remove environment specific .gitignore entries
2018-06-07 18:11:04 +01:00
Mark Schmitz
0deaedeeae
Merge remote-tracking branch 'upstream/master'
2018-06-07 14:23:53 +01:00
Mark Schmitz
f6b3295d28
also for new default tpl add meta tag to block sending the referrer vintage -> #692
2018-06-07 14:23:41 +01:00
ArthurHoaro
d3f42ca487
Implements Tags endpoints for Shaarli's REST API
...
Endpoints:
* List All Tags [GET]
* Get a tag [GET]
* Update a tag [PUT]
* Delete a tag [DELETE]
Fixes #904
References shaarli/api-documentation#34
2018-06-04 18:51:22 +02:00
ArthurHoaro
17e45b2e9c
Merge pull request #1143 from ArthurHoaro/sort-equal-tags
...
Fix order of tags with the same number of occurrences
2018-06-04 18:34:50 +02:00
VirtualTam
d9cd27322a
Merge pull request #1086 from virtualtam/refactor/login
...
Refactor user login and session management
2018-06-03 18:26:32 +02:00
VirtualTam
8edd7f1588
SessionManager+LoginManager: fix checkLoginState logic
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
704637bfeb
Add test coverage for LoginManager methods
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:26 +02:00
VirtualTam
ebf6151738
SessionManager: remove unused UID token
...
There already are dedicated tokens for:
- CSRF protection
- user stay-signed-in feature, via cookie
This token was most likely intended as a randomly generated,
server-side, secret key to be used when generating hashes.
See http://sebsauvage.net/wiki/doku.php?id=php:session [FR]
Relevant section:
Une clé secrète unique aléatoire est générée côté serveur (et jamais
envoyée). Elle peut servir pour signer les formulaires (HMAC) ou
générer des token de formulaires (protection contre XSRF).
Voir $_SESSION['uid'].
Translation:
A unique, server-side secret key is randomly generated (and never
transmitted). It can be used to sign forms (HMAC) or generate form
tokens (protection against XSRF).
See $_SESSION['uid']
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
c689e10863
Refactor LoginManager stay-signed-in token management
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
51f0128cdb
Refactor session and cookie timeout control
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
fab87c2696
Move LoginManager and SessionManager to the Security namespace
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
68dcaccfa4
LoginManager: remove unused parameter
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
89ccc83ba4
Login: update PageBuilder and default/vintage templates
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
8474208474
Pass the client IP ID to LoginManager
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
c7721487b2
Delegate session operations to SessionManager
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:45:54 +02:00
VirtualTam
1b28c66cc7
Document LoginManager properties
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
VirtualTam
63ea23c2a6
Refactor user credential validation at login time
...
Changed:
- move login/password verification to LoginManager
- code cleanup
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
VirtualTam
49f1832316
Refactor PHP session handling during login/logout
...
Changed:
- move $_SESSION handling to SessionManager
- code cleanup
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
VirtualTam
db45a36a53
Refactor SessionManager::$INACTIVITY_TIMEOUT
...
Changed:
- move INACTIVITY_TIMEOUT to SessionManager
- inject a dependency to a SessionManager instance in:
- fillSessionInfo()
- setup_login_state()
- check_auth()
- cleanup related code and comments
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
VirtualTam
88110550b8
Refactor client session hijacking protection
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
ArthurHoaro
f8c5660df8
Tag sort - UT + comment + fix filter and visibility
...
Before this, linksCountPerTag call without would have ignored visibility parameter
2018-05-29 20:52:30 +02:00
ArthurHoaro
8f816d8ddf
Merge pull request #1135 from ArthurHoaro/ci/csslint
...
Reformat SCSS to SASS format and run SASSLint in CI
2018-05-29 20:20:02 +02:00
ArthurHoaro
cdebf7f9b4
Merge pull request #1140 from ArthurHoaro/hotfix/markdown-rss-permalink
...
Fix feed permalink rendering with markdown escape set to true
2018-05-29 19:33:20 +02:00
ArthurHoaro
f28396a2f8
Fix order of tags with the same number of occurrences
...
Fixes #1142
2018-05-19 15:47:55 +02:00
ArthurHoaro
dd6794cff8
Fix feed permalink rendering with markdown escape set to true
...
Fixes #1134
2018-05-19 12:55:43 +02:00
ArthurHoaro
73da3a269b
Merge pull request #1138 from ArthurHoaro/stakali
...
Adds Stakali Android app to 3rd party lists
2018-05-17 09:19:12 +02:00
ArthurHoaro
4de024d7c3
Adds Stakali Android app to 3rd party lists
2018-05-13 12:35:30 +02:00
ArthurHoaro
03b483aa45
Add SASSLint makefile target, and run it in CI
...
Also move ESLint and SASSLint config files to a dedicated .dev folder
2018-05-10 13:29:47 +02:00
ArthurHoaro
9d0fc86250
Add classes to default template to avoid using IDs in SCSS
2018-05-10 13:26:11 +02:00
ArthurHoaro
c69585f303
Reformat default theme SCSS to match SASS rules
2018-05-10 13:25:07 +02:00
ArthurHoaro
73c5af594c
Merge pull request #1116 from ArthurHoaro/ci/eslint
...
Use Travis stages to run JS tests separately
2018-05-06 12:43:33 +02:00
ArthurHoaro
16d35cf77e
Use Travis stages to run JS tests separately
2018-05-05 14:12:46 +02:00
ArthurHoaro
3e35fc10e5
Merge pull request #1133 from ArthurHoaro/hotfix/title-dl
...
Title retrieval fixes
2018-05-02 18:28:09 +02:00
ArthurHoaro
a1b727efb7
Support redirection in cURL download callback
2018-05-01 16:44:51 +02:00
ArthurHoaro
8d2cac1be6
Fix parameter order which was preventing max_dl parameter to work properly
2018-05-01 16:40:08 +02:00
nodiscc
3c0e27eec7
Merge pull request #1081 from nodiscc/doc-merge-sharing
...
doc: merge all sharing methods under a single "Sharing content" page
2018-04-18 19:57:36 +02:00
Buster One
7ca124079e
German language created ( #1114 )
...
* Added german language selection
* German language file created
* typo
* extra space removed and typo corrected
* lines 1314 through 1408 removed as suggested
2018-04-15 14:53:09 +02:00
nodiscc
67a5c6d6f3
remove duplicate translation
2018-04-14 14:22:02 +02:00
nodiscc
2e47af897e
doc: sharing: add link to REST API documentation
2018-04-14 14:15:00 +02:00
nodiscc
630790a1aa
doc: optimize PNGs with pngcrush
...
164k -> 156k
2018-04-14 14:15:00 +02:00
nodiscc
bf7993dceb
doc: add edit_icon.png to git repository
...
optimize icon with optipng/pngcrush (3.30%)
2018-04-14 14:15:00 +02:00
nodiscc
6af9363aa5
update PO strings for Edit/New Shaare
...
update french translation
2018-04-14 14:15:00 +02:00
nodiscc
5991f7a993
default/editlink.tpl: title: Shaare -> New Shaare
2018-04-14 14:15:00 +02:00
nodiscc
80786e150d
doc: merge all sharing methods under a single "Sharing content" page
...
* formatting, wording, reordering, general improvements
* move blog/pastebin/notepad item from index.md to this page
* add TODOs
* add the new page to mkdocs TOC
Part of https://github.com/shaarli/Shaarli/issues/598
2018-04-14 14:14:59 +02:00
ArthurHoaro
14dd77ad7e
Merge pull request #1126 from kramred/master
...
load user css at last, after plugin css to enable changing plugin styles
2018-04-14 13:32:34 +02:00
Mark Schmitz
66d37a4fb4
add loading user css at last to vintage tpl
2018-04-13 14:06:27 +01:00
Mark Schmitz
d811e4fda6
load user css at last, after plugin css to enable changing plugin styles
2018-04-13 13:21:58 +01:00
VirtualTam
237e7836c0
Merge pull request #1121 from virtualtam/node/packaging-metadata
...
Update frontend metadata and COPYING
2018-04-08 18:22:47 +02:00
VirtualTam
aec5a76b67
Cleanup unused asset resources
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-05 20:54:55 +02:00
VirtualTam
d66b5acb24
Update documentation and Doxygen icon location
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-05 20:54:23 +02:00
VirtualTam
7cf23badeb
Update COPYING
...
Relates to https://github.com/shaarli/Shaarli/pull/1072
Changed:
- update paths to resource files (assets, images)
Removed:
- references to resources now resolved through NPM
- licenses corresponding to the aforementioned resources
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-05 20:30:00 +02:00
VirtualTam
e42031e037
Update NPM frontend metadata
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-04 23:13:49 +02:00
VirtualTam
9fb22af6b3
Update EditorConfig for frontend resources
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-03 23:33:20 +02:00
ArthurHoaro
80ec7b234c
Merge pull request #1115 from ArthurHoaro/parsedown-version
...
Update parsedown to its latest version instead of fixed 1.6
2018-03-31 13:55:08 +02:00
ArthurHoaro
c5ee13181e
Update parsedown to its latest version instead of fixed 1.6
2018-03-31 13:00:13 +02:00
ArthurHoaro
b66769fec5
Remove minified JS libs
2018-03-31 12:02:13 +02:00
ArthurHoaro
ed6d1a7b80
Merge pull request #1113 from ArthurHoaro/docker/node-yarn-webpack
...
Docker: build frontend dependencies with node and yarn
2018-03-28 19:08:32 +02:00
ArthurHoaro
c81f1afc0a
Merge pull request #1072 from ArthurHoaro/feature/modern-front-end
...
Manage frontend dependencies with npm/yarn and webpack
2018-03-28 19:08:06 +02:00
ArthurHoaro
d7eb06bd7c
Webpack / Documentation update
2018-03-28 19:04:40 +02:00
ArthurHoaro
47978e8772
Webpack / Configure webpack, ESLint, Travis, Makefile, npm/yarn and git
2018-03-28 19:04:40 +02:00
ArthurHoaro
7e9bd977ee
Webpack / Update front paths in template files
2018-03-28 19:01:17 +02:00
ArthurHoaro
a33c565365
Webpack / Rewrite all JS to ES6 Syntax
2018-03-28 19:01:17 +02:00
ArthurHoaro
b3375c7f86
Webpack / Remove frontend dependencies from tpl/ & inc/ and move them to assets/
2018-03-28 19:01:17 +02:00
ArthurHoaro
94abe0a653
Docker: build frontend dependencies with node and yarn
2018-03-27 19:05:19 +02:00
Knah Tsaeb
1a129ca266
Merge branch 'latest' of https://github.com/shaarli/Shaarli into myShaarli_commu
2018-03-27 15:52:53 +02:00
ArthurHoaro
9b2bd66fb6
Merge pull request #1093 from ArthurHoaro/feature/theme-translation
...
Load theme translations files automatically
2018-03-26 20:26:10 +02:00
ArthurHoaro
a1a15ac37b
Webpack / Documentation update
2018-03-26 19:29:44 +02:00
ArthurHoaro
7ff458bc43
Webpack / Configure webpack, ESLint, Travis, Makefile, npm/yarn and git
2018-03-26 19:29:44 +02:00
ArthurHoaro
758fe7201e
Webpack / Update front paths in template files
2018-03-26 19:29:20 +02:00
ArthurHoaro
d42da54350
Webpack / Rewrite all JS to ES6 Syntax
2018-03-26 19:29:20 +02:00
ArthurHoaro
d78c23e00d
Webpack / Remove frontend dependencies from tpl/ & inc/ and move them to assets/
2018-03-26 19:29:20 +02:00
ArthurHoaro
68c6afc56f
Load theme translations files automatically
...
Fixes #1077
Take a look at the docs update to see how it works
2018-03-26 19:20:25 +02:00
ArthurHoaro
838ef8a6ec
Merge pull request #1103 from dennisverspuij/fix-on-in-markdown
...
Fix removal of on=... attributes from html (generated from markdown)
2018-03-26 18:55:41 +02:00
VirtualTam
faa5b2ce61
Merge pull request #1110 from virtualtam/doc/v0.9.6
...
Documentation: release v0.9.6
2018-03-25 20:43:53 +02:00
VirtualTam
ee242ae321
Documentation: release v0.9.6
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-25 20:11:10 +02:00
VirtualTam
76004d331b
Release v0.9.6
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAlq349YXHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA32+riAf/UmmxZHmoNnSBGqleKtIoTVLn
71zPp9LuQiWxRNOd4oZMi6GWj4kxpwOzDhhkQ9Y7ywTX9K5/ilg2FD2LiJEd5FCt
xzAeyp+jCThZwlxXOwnPPwD6WtmBf0nkf2j7mNIQq3wmZEQSRkyuE2n0pugaXzXF
Xe2/plQ72YuARDsoJCkgQqmrK1DBSqE4YPmtpIHnG2k565NUPbZgtORrhcBrJPVc
2X11DOvtHMoTJADSS+QoBr6r9PQhBonMBGRDhQJN+g3sg1TNv8mQtb4r2F0YU06w
3cYWMQbBK/rL0KJeJ8ix8xpyCz0dmBLsTnjhIDkTNyy6AyyLBhOXU7DA2rhWdg==
=xtBU
-----END PGP SIGNATURE-----
Merge tag 'v0.9.6' into latest
Release v0.9.6
2018-03-25 20:04:42 +02:00
VirtualTam
e36479d9ff
Bump Shaarli version to v0.9.6
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-25 20:00:26 +02:00
VirtualTam
d1e8f152f6
httpd: always forward the 'Authorization' header
...
On some Apache HTTPD setups where the CGI/FastCGI mode is used, the HTTP header
containing the JWT token is not forwarded, which results in the following error
when attempting to use the REST API:
"401 Not authorized: JWT token not provided"
This patch allows forwarding the 'Authorization' header. An alternative would
be to use the `CGIPassAuth` directive to allow all authorization headers to be
forwarded.
See:
- https://secure.php.net/manual/en/features.http-auth.php#114877
- https://stackoverflow.com/questions/26475885/authorization-header-missing-in-php-post-request
- https://stackoverflow.com/questions/13387516/authorization-header-missing-in-django-rest-framework-is-apache-to-blame
- https://stackoverflow.com/questions/17018586/apache-2-4-php-fpm-and-authorization-headers
- https://httpd.apache.org/docs/2.4/en/mod/core.html#cgipassauth
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-25 19:41:44 +02:00
VirtualTam
4c2f51256f
htaccess: prevent accessing resources not managed by SCM
...
See:
- https://en.internetwache.org/dont-publicly-expose-git-or-how-we-downloaded-your-websites-sourcecode-an-analysis-of-alexas-1m-28-07-2015/
- https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing
- https://httpd.apache.org/docs/current/mod/mod_rewrite.html
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-25 19:41:39 +02:00
VirtualTam
1f43529fd0
Merge pull request #1107 from virtualtam/apache/htaccess/jwt-header
...
httpd: always forward the 'Authorization' header
2018-03-25 19:04:05 +02:00
VirtualTam
cdaf414c98
Merge pull request #1109 from ilesinge/patch-1
...
Documentation : Fix current version file name
2018-03-25 14:40:39 +02:00
VirtualTam
b0f39c6654
Merge pull request #1108 from virtualtam/fix/template/vintage/check-login-ban
...
fix: IP ban check for the Vintage theme
2018-03-25 14:39:09 +02:00
Alexandre G.-Raymond
6c4cc14e00
Fix current version file name in docs
2018-03-25 14:08:07 +02:00
VirtualTam
adf409716b
fix: IP ban check for the Vintage theme
...
Introduced by https://github.com/shaarli/Shaarli/pull/1008
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-24 21:55:03 +01:00
VirtualTam
460cf03d67
httpd: always forward the 'Authorization' header
...
On some Apache HTTPD setups where the CGI/FastCGI mode is used, the HTTP header
containing the JWT token is not forwarded, which results in the following error
when attempting to use the REST API:
"401 Not authorized: JWT token not provided"
This patch allows forwarding the 'Authorization' header. An alternative would
be to use the `CGIPassAuth` directive to allow all authorization headers to be
forwarded.
See:
- https://secure.php.net/manual/en/features.http-auth.php#114877
- https://stackoverflow.com/questions/26475885/authorization-header-missing-in-php-post-request
- https://stackoverflow.com/questions/13387516/authorization-header-missing-in-django-rest-framework-is-apache-to-blame
- https://stackoverflow.com/questions/17018586/apache-2-4-php-fpm-and-authorization-headers
- https://httpd.apache.org/docs/2.4/en/mod/core.html#cgipassauth
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-22 22:23:41 +01:00
VirtualTam
e54cb1bbe7
Merge pull request #1100 from Angristan/docker-logs
...
Nginx logs to stdout for Docker images
2018-03-19 22:22:12 +01:00
Dennis Verspuij
b525810c14
Fix removal of on=... attributes from html generated from markdown
2018-03-19 10:01:20 +00:00
ArthurHoaro
60a94dab22
Merge pull request #1102 from ArthurHoaro/fix/settings-warning
...
Fix warning when trying to save redictor setting from the configure page
2018-03-14 18:25:22 +01:00
ArthurHoaro
15410df113
Fix warning when trying to save redictor setting from the configure page
...
It has been removed from the web page.
Fixes #1099
2018-03-13 18:11:58 +01:00
ArthurHoaro
4294bc7b98
Merge pull request #1096 from ArthurHoaro/feature/download-params
...
Make max download size and timeout configurable
2018-03-13 18:02:49 +01:00
Knah Tsaeb
cdc426d560
Fix picwall
2018-03-12 16:57:33 +01:00
Angristan
017baf57d5
Nginx logs to stdout for Docker Alpine images
2018-03-11 21:06:14 +01:00
ArthurHoaro
4ff3ed1c47
Make max download size and timeout configurable
...
Fixes #1061
2018-03-07 23:03:21 +01:00
ArthurHoaro
39ee93925b
Merge pull request #1097 from ArthurHoaro/fix/psr-elseif
...
PSR: use elseif instead of else if
2018-03-07 21:53:53 +01:00
VirtualTam
a58a8856a8
Merge pull request #1098 from josqu4red/perms-docker-alpine-latest
...
Fix permission issue introduced with multi-stage build
2018-03-02 16:45:16 +01:00
Jonathan Amiez
ed2de76840
Fix permission issue introduced with multi-stage build
2018-03-02 15:05:48 +01:00
ArthurHoaro
d2d4f993e1
PSR: use elseif instead of else if
...
See https://www.php-fig.org/psr/psr-2/\#51-if-elseif-else
2018-02-28 22:34:40 +01:00
VirtualTam
b70436373b
Merge pull request #1090 from virtualtam/fix/doxygen
...
Doxygen: ignore data/, simplify Make target
2018-02-26 23:20:05 +01:00
VirtualTam
ddd3c19f43
Merge pull request #1085 from virtualtam/docker/multi-stage
...
docker: introduce multi-stage image build (master, latest)
2018-02-24 13:36:55 +01:00
ArthurHoaro
bc4a0a672c
Merge pull request #1092 from ArthurHoaro/fix/scuttle-doctype-case
...
Ignore the case while checking DOCTYPE during the file import
2018-02-24 13:29:11 +01:00
ArthurHoaro
e746c237cd
Merge pull request #1062 from ArthurHoaro/feature/pages-title
...
Use a specific page title in all pages
2018-02-24 13:28:30 +01:00
ArthurHoaro
980efd6cf8
Use a specific page title in all pages
...
Also fixed a few French translation issues
Fixes #954 #955
2018-02-24 12:48:49 +01:00
ArthurHoaro
3ff1ce47bc
Ignore the case while checking DOCTYPE during the file import
...
Fixes #1091
2018-02-23 20:34:06 +01:00
VirtualTam
ba2cff1549
Doxygen: ignore data/, simplify Make target
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-23 00:37:03 +01:00
VirtualTam
b9c6589363
Merge pull request #1089 from virtualtam/readme/badges
...
Update badges for 'stable'
2018-02-22 18:54:32 +01:00
VirtualTam
afaaee7be6
Update badges for 'stable'
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-22 18:51:59 +01:00
VirtualTam
2e6b9ed3b9
Merge pull request #1084 from virtualtam/doc/updates
...
Documentation: cleanup, update references to config(.json)?.php
2018-02-16 01:52:38 +01:00
VirtualTam
3c51135f9a
docker: introduce multi-stage image build (master, latest)
...
Relates to https://github.com/shaarli/Shaarli/issues/755
Relates to https://github.com/shaarli/Shaarli/pull/1072
See:
- https://docs.docker.com/develop/develop-images/multistage-build/
- https://hub.docker.com/r/library/composer/
- https://github.com/composer/docker
- https://github.com/docker-library/docs/tree/master/composer
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-14 23:13:05 +01:00
VirtualTam
48679a159e
doc: update references to config(.json)?.php
...
Closes https://github.com/shaarli/Shaarli/issues/1082
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-14 22:02:50 +01:00
VirtualTam
4c1bcd8b25
doc: update Directory Structure
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-14 21:58:41 +01:00
Knah Tsaeb
c111704f8c
Auto add link to contact page if contact.php exist
2018-02-13 14:46:06 +01:00
Knah Tsaeb
7a4ff2cd78
Add thumbshot key
2018-02-13 11:41:56 +01:00
Knah Tsaeb
d923d1db2f
Merge remote-tracking branch 'github/latest' into myShaarli_commu
2018-02-09 16:10:09 +01:00
Knah Tsaeb
ba04c60849
Fix markdown editor with myShaarli plugin
2018-02-09 15:56:22 +01:00
VirtualTam
8b48e36594
Merge pull request #1059 from virtualtam/fix/htaccess-git
...
htaccess: prevent accessing resources not managed by SCM
2018-02-05 18:21:59 +01:00
VirtualTam
cabf1b6bec
htaccess: prevent accessing resources not managed by SCM
...
See:
- https://en.internetwache.org/dont-publicly-expose-git-or-how-we-downloaded-your-websites-sourcecode-an-analysis-of-alexas-1m-28-07-2015/
- https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing
- https://httpd.apache.org/docs/current/mod/mod_rewrite.html
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-05 18:18:52 +01:00
VirtualTam
91f17fc92a
Merge pull request #1008 from virtualtam/refactor/authentication
...
Refactor login / ban management
2018-02-05 18:16:32 +01:00
VirtualTam
44acf70681
Refactor login / ban authentication steps
...
Relates to https://github.com/shaarli/Shaarli/issues/324
Added:
- Add the `LoginManager` class to manage logins and bans
Changed:
- Refactor IP ban management
- Simplify logic
- Avoid using globals, inject dependencies
Fixed:
- Use `ban_duration` instead of `ban_after` when setting a new ban
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-05 18:12:09 +01:00
ArthurHoaro
a381c373b3
Merge pull request #1074 from kalvn/feature/dailymarkdown
...
Executes daily hooks before creating columns.
2018-02-02 19:23:26 +01:00
ArthurHoaro
bc3ce7ec2a
Merge pull request #1038 from ArthurHoaro/feature/public-only-filter
...
Add a filter to only display public links
2018-02-02 19:22:37 +01:00
ArthurHoaro
17b4baedec
Merge pull request #1003 from ArthurHoaro/ci/php7.2
...
Drop PHP 5.5 compatibility and run Travis UT against PHP 7.2
2018-02-02 19:20:11 +01:00
ArthurHoaro
28df9fa4f7
INTL_IDNA_VARIANT_2003 is deprecated
...
See https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003
2018-02-02 19:15:47 +01:00
ArthurHoaro
5617dcf9d2
Drop PHP 5.5 compatibility and upgrade PHPUnit to v5.x
...
PHPUnit 4.x contains deprecated PHP functions in PHP 7.2.
2018-02-02 19:15:47 +01:00
ArthurHoaro
402f58e0ba
CI: run UT against PHP 7.2 (currently in Release Candidate)
2018-02-02 19:15:10 +01:00
ArthurHoaro
2c6e9ce465
Release v0.9.5
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAlp0qF0ACgkQOzJIyqqw
gW5u4A//TkhJ47pye6+O4cdsr6rU29Byz+hvSS+YEaTx1JSxsehR+pxJqye6QSpU
DmFVJ7fkKKuIyDwEY6yI5mz/We4w+MBbASpzKHTxOar1TdZF+aJn+wIU7R971rJ3
JbtSvd6inGO3v27g4ACy3GgvWffPMDfRMUp1j855PuJ8gP48c1oppZOiQxEuY9A7
v5YDsrO3TuqZZl0HywH2/thgZap7LrTFVjPNRcT5CoY//t1gSw/aabUnA7Brw0Xn
Sg6ejLKF2S273hBurZKyQcuPqPyGZP8SuLP0XgSKbh4JG3IX6K+7AIVfLMJZ1U2r
MgC8NsKL3ZrDRZjCwz2jyOBLn7a/bbQ1isgvrBiLvsrQsf2OoXbraa5UkF+n20ri
s4jPwRRIjSWzYmUlWLD+7OIb5HsVFPKqNi0uxnYPkXhEQKGWqsnmK7e99IjvkWhK
QIaym5p/O6aoXIA0aE8tDq/XOM+SdRii9TlmuSHiT+sU7HtGOJ7OTlW7aKRnaoI0
18ScTYiJfkjicBe0uZfbGoD4rXPXHg6xSV6IG/F9NzTgGmOm7im20oP9sOWSqVmL
lX4mycWZRx9YfUjDRnZmqPYHKu7sdfPmNbDiXIr93pubIIF+OzY/kYjZunyDTMQz
Mv8g9mRdZHuhyuP4lBn1T0EeaNWJj2gwekh1h6B8Fbqsf7gwsBU=
=YmGW
-----END PGP SIGNATURE-----
Merge tag 'v0.9.5' into latest
Release v0.9.5
2018-02-02 19:11:29 +01:00
ArthurHoaro
91813a3634
Badge
2018-02-02 19:07:31 +01:00
ArthurHoaro
06ca7c102b
Bump Shaarli version to v0.9.5
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-02-02 19:04:08 +01:00
ArthurHoaro
5a6161162d
Bump Shaarli version to v0.9.4
2018-02-02 19:03:24 +01:00
VirtualTam
5bb7f37139
Bump Shaarli version to v0.9.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-02 19:03:24 +01:00
ArthurHoaro
033276a8cf
Bump Shaarli version to v0.9.2
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-02-02 19:03:24 +01:00
VirtualTam
5c6a45ec94
Bump version to v0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-02 19:03:24 +01:00
ArthurHoaro
e6faed3477
Fix version file
2018-02-02 19:03:24 +01:00
ArthurHoaro
658573678b
Bump version to v0.9.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-02-02 19:03:24 +01:00
ArthurHoaro
a3b9b8c4ff
Merge pull request #1076 from ArthurHoaro/changelog-v0.9.5
...
CHANGELOG + AUTHORS (v0.9.5)
2018-02-02 19:02:51 +01:00
ArthurHoaro
715ad9bd6b
CHANGELOG + AUTHORS
2018-02-02 18:59:55 +01:00
ArthurHoaro
40e816e379
Merge pull request #1070 from ArthurHoaro/hotfix/lc-messages-warning
...
Use LC_COLLATE instead of LC_MESSAGES if php-intl is not installed
2018-02-02 18:51:53 +01:00
kalvn
50142efd1b
Executes daily hooks before creating columns.
2018-02-01 13:16:58 +01:00
ArthurHoaro
499bd43c37
Merge pull request #1069 from ArthurHoaro/feature/dependencies
...
Update dependencies and include latest version netscape-bookmark-parser
2018-01-31 16:15:23 +01:00
ArthurHoaro
b7c412d4d0
Use LC_COLLATE instead of LC_MESSAGES if php-intl is not installed
...
As stated in the docs:
> LC_MESSAGES for system responses (available if PHP was compiled with libintl)
Fixes #1067
2018-01-31 12:39:17 +01:00
ArthurHoaro
44c818cebd
Update dependencies and include latest version netscape-bookmark-parser
2018-01-31 12:23:43 +01:00
ArthurHoaro
2cbf4acdde
Merge pull request #1063 from ArthurHoaro/hotfix/legacy-warnings
...
Fix warnings when upgrading from legacy SebSauvage version
2018-01-31 12:18:31 +01:00
ArthurHoaro
a74184e1b0
Release v0.9.4
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAlpws1AACgkQOzJIyqqw
gW5FRw//YU1dW5CUwKjL9LxvQWWZmgm+iwuJP4sohCrySAG/2ZKxCRlJtdD1WGU3
jF1HufmdDdx0fHiAAKSz5GK+9XVnI1MuGYzTWSTS+pZ1XO5v0nJMskSd+PSkHrs1
5DaTzFnvwKflN7mKKbFOi9aBo7fIOYp8hmPHOHyDC458MJw7vraSiFjWXih10UW4
3m3442UQ14Hfwe7uN6kOfxYrNmkyisa1VJshBYs5gs1qP0L4IGMoDIAuDzVCxbcA
u/olrxfSaScrV9+yFUmUlcBHGq8ejQl20MsfK7QhErbZu6Y3FlcucySGWdzVV5Nr
39sLFTjgoMhIk8oPt0N0szKH1uaqcNGbgOoo16unVFM/Kkd7kbLRoltTZIaNKyOs
akqRczDkh8sd6RITsE7JwPEYloJPOLnNUPhTPqLTq9kFlCB8uGzy1VFnVUfSrqHU
j6b/6xaoZUZ3hynBRLzwaN0wYQXH0jXWBHVbn2aZPSp0tTxhsnudCpPZ0STFu9As
fv8NwGNejPr4I9hjoiys6ICu0NV+v88SdA347lUoXa2233Wg3EdIv8eAnZeANpkr
ij0KfFhg7qiHQB8TftZjY9S9ehomw1jxShUkf2xwk7PQUngaKce/1xZAizn10jqj
kLNTzPRUyVFUhEwYIeSCSOFJ22g7p8GvU+HxCIjystsxGDH3Q8s=
=N7I1
-----END PGP SIGNATURE-----
Merge tag 'v0.9.4' into latest
Release v0.9.4
2018-01-30 19:15:30 +01:00
ArthurHoaro
5d924cba64
Update badges
2018-01-30 19:11:17 +01:00
ArthurHoaro
99a5549044
Bump Shaarli version to v0.9.4
2018-01-30 19:00:33 +01:00
VirtualTam
22a30186a5
Bump Shaarli version to v0.9.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-30 18:59:47 +01:00
ArthurHoaro
468b03a644
Bump Shaarli version to v0.9.2
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-01-30 18:58:13 +01:00
VirtualTam
91531e4604
Bump version to v0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-30 18:58:13 +01:00
ArthurHoaro
1feafbe5b6
Fix version file
2018-01-30 18:58:13 +01:00
ArthurHoaro
af0cd8ec3d
Bump version to v0.9.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-01-30 18:58:13 +01:00
ArthurHoaro
0fa18d4c5d
Merge pull request #1065 from ArthurHoaro/release-v9.0.4
...
pre release v0.9.4
2018-01-30 18:51:52 +01:00
ArthurHoaro
b49a25d33c
Update AUTHORS
2018-01-30 18:49:51 +01:00
ArthurHoaro
f211618f20
Update CHANGELOG
2018-01-30 18:49:22 +01:00
ArthurHoaro
cb4ddbe4e7
Fix warnings when upgrading from legacy SebSauvage version
...
Fixes #1040
2018-01-25 19:55:31 +01:00
ArthurHoaro
d2f6d909e5
Public/private filter: use two separate buttons
...
#1038
2018-01-24 18:46:31 +01:00
ArthurHoaro
d449f79a0d
Merge pull request #977 from ArthurHoaro/feature/dl-filter
...
Extract the title/charset during page download, and check content type
2018-01-23 18:41:38 +01:00
nodiscc
5f8c3f532e
Merge pull request #1058 from FranckKe/patch-1
...
doc: bookmarklet: fix link to issue 196
2018-01-18 20:49:29 +01:00
nodiscc
bc55e94795
Merge pull request #1057 from shaarli/doc-derefind
...
doc: import: add link to derefind conversion tool
2018-01-18 20:49:20 +01:00
nodiscc
26c5b1bca6
Merge pull request #1049 from shaarli/doc-docker-arm
...
doc: add arm32v7 docker build documentation
2018-01-18 20:48:46 +01:00
Franck Kerbiriou
dafb386524
Fix link to issue 196
2018-01-18 14:10:48 +01:00
nodiscc
a52d39dafb
doc: import: add link to derefind conversion tool
...
As mentioned on gitter
2018-01-17 21:47:13 +01:00
nodiscc
5cb4c0d5bd
doc: fix link to dockerfiles
2018-01-13 11:48:42 +01:00
VirtualTam
5c6c82db19
Merge pull request #1055 from virtualtam/changelog
...
Update CHANGELOG for the next v0.9.x
2018-01-13 11:31:07 +01:00
nodiscc
a3f83c15f4
doc: docker: add links to docker build and qemu documentation
2018-01-12 23:06:30 +01:00
nodiscc
bf4faba9ca
doc: docker: remove armhf tags, add link to Dockerfiles
2018-01-12 23:00:20 +01:00
VirtualTam
9b6df5c91c
Update CHANGELOG for the next v0.9.x
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-10 20:43:18 +01:00
nodiscc
3056afac2d
Merge pull request #1054 from shaarli/doc-mbstring-webhosts
...
doc: Server Requirements: php-mbstring: add 'hosting providers'
2018-01-09 23:15:29 +01:00
VirtualTam
310f17203d
Merge pull request #1050 from virtualtam/changelog/cve
...
Reference CVE-2018-5249 in CHANGELOG
2018-01-09 21:15:34 +01:00
nodiscc
42884868a3
doc: Server Requirements: php-mbstring: add 'hosting providers'
2018-01-09 20:13:05 +01:00
VirtualTam
8d9d4cc1ee
Reference CVE-2018-5249 in CHANGELOG
...
Relates to https://github.com/shaarli/Shaarli/pull/1046
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-06 15:31:56 +01:00
ArthurHoaro
c8f7ba36ce
Merge pull request #1043 from immanuelfodor/improvement/shaarli-markdown-toolbar
...
Adding 3rd party plugin 'markdown-toolbar' to docs
2018-01-06 11:27:53 +01:00
nodiscc
b7ca2eb2f6
doc: add armhf docker images
2018-01-05 19:41:24 +01:00
VirtualTam
fdb4fee433
Merge pull request #1047 from virtualtam/changelog
...
Update changelog, documentation and authors
2018-01-04 19:00:48 +01:00
VirtualTam
2fadf88068
Update AUTHORS and contributor mailmap
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 18:52:52 +01:00
VirtualTam
f452d3c4df
Update CHANGELOG, README badges and installation instructions
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 18:49:05 +01:00
VirtualTam
57e4a974f7
Release v0.9.3
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAlpOYNkXHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA329Qggf/TCRMsuYsL3TtgxeEAwZh+fPG
TmfsVUpc+3fnfZCYQAPZ4JXzGTvqrPKRewm3xuIj/s+46y5vxLoppLBN9ULhG97F
rTllSWvl252+A+COZlSNQYRfUt4gmtm4hS7iUTrTzzTLZkuwhr8vkj05+b+gI9N6
IT76HX/5onKUhZh+5L2ipFRF3KHBcwCaJbUOUT0YtEL/LqcT/F6oPnoagYLfgYDw
I1E8ewcXyO8aMw98dghGg2xwIHytljRqqZXMUDs03n+50KFwPmP3CzZbohfW5uMV
KsY79gB79B4pLoB9Slp3vypsoEL8wbfgZCLzMLlqr93xdztOp+bG9MQ9yvInjg==
=2XAs
-----END PGP SIGNATURE-----
Merge tag 'v0.9.3' into latest
Release v0.9.3
2018-01-04 18:35:22 +01:00
VirtualTam
cb9b87eb1c
Bump Shaarli version to v0.9.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 18:13:43 +01:00
VirtualTam
5ec90c7155
Fix XSS vulnerability
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 18:06:49 +01:00
VirtualTam
17dee65651
Merge pull request #1046 from virtualtam/security/login-xss
...
Fix XSS vulnerability
2018-01-04 18:04:34 +01:00
VirtualTam
65c002ca18
Fix XSS vulnerability
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 15:53:48 +01:00
Knah Tsaeb
95d55e9ea2
Fix bad field template
2018-01-04 15:10:22 +01:00
Knah Tsaeb
a31f09001f
Fix bad field template
2018-01-04 15:07:42 +01:00
Knah Tsaeb
6b0a76373c
Update gitignore
2018-01-04 14:50:24 +01:00
Knah Tsaeb
0e94b7b7f8
Add origin plugin
2018-01-04 14:49:40 +01:00
Knah Tsaeb
e37a7ab9ec
Add myShaarli plugin
2018-01-04 14:49:09 +01:00
Knah Tsaeb
aa228207a0
Update myShaarli theme
2018-01-04 14:47:54 +01:00
Immánuel!
b6b53143fc
Feature: Docker armhf support ( #1041 )
...
Docker: add Alpine Linux ARM HF latest and master images
See:
- http://www.armhf.com/
- https://wiki.alpinelinux.org/wiki/Alpine_on_ARM
- https://hub.docker.com/r/lsiobase/alpine.armhf/
2018-01-04 12:38:38 +01:00
ArthurHoaro
fcbc67edf0
Merge pull request #1044 from ArthurHoaro/hotfix/plugins-parameter-button
...
Fix an issue preventing the Save button to appear for plugin parameters
2018-01-01 15:46:04 +01:00
ArthurHoaro
d799554259
Fix an issue preventing the Save button to appear for plugin parameters
...
is a special variable in RainTPL used in loops
2018-01-01 15:40:51 +01:00
ArthurHoaro
d77bdb432a
Merge pull request #1037 from ArthurHoaro/theme/improvements2
...
Add CSS classes and IDs in Shaarli's menu
2018-01-01 14:32:02 +01:00
ArthurHoaro
12db590e8f
Merge pull request #1042 from immanuelfodor/improvement/shaarli-descriptor
...
Adding 3rd party plugin 'shaarli-descriptor' to docs
2018-01-01 14:31:20 +01:00
immanuelfodor
310e36d19c
adding 3rd party plugin markdown-toolbar to docs
2017-12-30 13:45:08 +01:00
immanuelfodor
36fa51d996
modifying plugin description to be easy to understand
2017-12-27 17:01:08 +01:00
nodiscc
3d4c1b8af2
Merge pull request #1036 from shaarli/doc-overhaul
...
[WIP] Improve documentation
2017-12-27 14:48:56 +01:00
immanuelfodor
0ecfca3b9d
adding 3rd party plugin shaarli-descriptor to docs
2017-12-27 08:47:15 +01:00
nodiscc
e2a2dc35c2
mkdocs.yml: move FAQ to top level, reorder, Move Community/related software to Usage
2017-12-26 18:44:14 +01:00
nodiscc
31cefb9ac1
fix heading level
2017-12-26 18:41:38 +01:00
nodiscc
ebee8d9372
Update Community-&-Related-software.md
...
reorganize sections
2017-12-26 18:39:27 +01:00
nodiscc
5faa0697dd
Merge remote-tracking branch 'nerostie/patch-2' into doc-overhaul
2017-12-17 23:43:03 +01:00
nodiscc
236a8e48b6
minor fixes, ref #998
2017-12-17 23:41:03 +01:00
nodiscc
286757ab29
Merge remote-tracking branch 'origin/doc-tagcloud' into doc-overhaul
2017-12-17 23:39:20 +01:00
Neros
f6f8b2563c
New plugin: Twemoji
2017-12-17 19:34:15 +01:00
ArthurHoaro
9d4736a3e9
Add a filter to only display public links
...
When the key filter is clicked once, it only displays private link. When it is clicked on again, it becomes red and only public links are displayed. Another click and all links are displayed. The current visibility status is shown in the search banner
Fixes #1030
2017-12-16 14:32:56 +01:00
ArthurHoaro
25d0cfa5a8
Add CSS class and IDs in Shaarli's menu
...
Fixes #877
2017-12-16 13:51:55 +01:00
Knah Tsaeb
8ead0f9219
Make myShaarli theme for Shaarli 0.9.2
2017-12-15 12:16:50 +01:00
Knah Tsaeb
22ee4c71a3
Merge branch 'master' of https://github.com/shaarli/Shaarli into myShaarli_commu
2017-12-15 10:04:41 +01:00
nodiscc
ebc7ec7c1c
doc: remove docker autobuild doc from index.md
2017-12-09 15:34:06 +01:00
nodiscc
60ca6354bd
doc: move docker autobuild from index.md to shaarli-images.md
2017-12-09 15:33:49 +01:00
nodiscc
32488257ee
move docker-101 reference from index.md to docker-images.md
2017-12-09 15:31:45 +01:00
nodiscc
7a205fb21c
doc: fix docker documentation link
2017-12-09 15:28:34 +01:00
nodiscc
bd6de61c52
remove Features.md entry in mkdocs.yml
2017-12-09 15:21:10 +01:00
nodiscc
ceb3f9174b
Delete Features.md
2017-12-09 15:20:30 +01:00
nodiscc
4ada0d313a
move features.md info to index.md
...
Ref https://github.com/shaarli/Shaarli/issues/598
2017-12-09 15:20:14 +01:00
nodiscc
2887879173
doc: add browser addons/shaarli-web-extension
...
cleanup shaarliOs link
shorten awesome-selfhosted entry
2017-12-09 15:11:57 +01:00
nodiscc
d0b8ffb952
doc: note about firefox share compatibility
2017-12-09 15:04:44 +01:00
VirtualTam
aa714fa51a
Merge pull request #1034 from durcheinandr/fixlink
...
Fix internal markdown link in documentation
2017-12-07 14:00:21 +01:00
durcheinandr
03809dbb4d
Fix internal markdown link in documentation
2017-12-07 13:25:13 +01:00
ArthurHoaro
101b935de4
Merge pull request #1025 from ArthurHoaro/hotfix/proxy-443
...
Force HTTPS if the original port is 443 behind a reverse proxy
2017-12-03 12:46:43 +01:00
ArthurHoaro
8e9fc6f6e6
Force HTTPS if the original port is 443 behind a reverse proxy
...
Fixes #1022
2017-12-02 15:24:35 +01:00
ArthurHoaro
877491b4ad
Merge pull request #1020 from ArthurHoaro/feature/curl-chunk
...
Increase buffer size for cURL download
2017-11-26 11:34:44 +01:00
VirtualTam
d9514becc4
Merge pull request #1016 from virtualtam/refactor/session
...
Improve SessionManager constructor and tests
2017-11-24 23:53:15 +01:00
nodiscc
4e58d2edf7
Merge pull request #1028 from shaarli/doc-cleanup-930
...
documentation cleanup
2017-11-21 22:46:52 +01:00
nodiscc
76c3a4dbed
documentation cleanup
...
* In preparation of #930 work
* Remove/reorder duplicate documentation from Makefile/Unit-tests.md/Download-and-Installation.md (composer information is now in Unit-tests.md)
* Installation using git: add composer requirement to all git installation procedures, add python3-virtualenv requirement
* Styling (horizontal rulers, spacing, descriptive headers)
2017-11-18 16:22:43 +01:00
ArthurHoaro
3ec25cc00f
Merge pull request #1017 from ArthurHoaro/feature/mobile-icon
...
Add apple-touch-icon meta tag
2017-11-18 14:01:02 +01:00
ArthurHoaro
9d245de6e6
Add apple-touch-icon meta tag
...
Fixes #997
2017-11-18 12:46:33 +01:00
ArthurHoaro
844be5d556
Merge pull request #1014 from ArthurHoaro/feature/no-plugin
...
Improve messages if there is no plugin or parameter available in the admin page
2017-11-12 11:03:40 +01:00
ArthurHoaro
7d0be731c9
Merge pull request #1019 from ArthurHoaro/hotfix/complete-update
...
Return true after update ReorderDatastore to complete it
2017-11-11 16:51:38 +01:00
ArthurHoaro
270da70532
Return true after update ReorderDatastore to complete it
2017-11-11 16:51:10 +01:00
ArthurHoaro
91c807d275
Increase buffer size for cURL download
...
1kB chunk size has caused me a lot of trouble with Travis which wasn't completing the download
2017-11-11 16:49:57 +01:00
ArthurHoaro
ece7db113a
Improve messages if there is no plugin or parameter available in the admin page
...
Fixes #931
2017-11-11 11:01:28 +01:00
ArthurHoaro
488786d3e4
Merge pull request #1015 from ArthurHoaro/theme/tag-cloud-center
...
Fix alignement and better clarity for 'List all links with those tags' button
2017-11-11 10:55:54 +01:00
VirtualTam
dd883aaf09
Improve SessionManager constructor and tests
...
Relates to https://github.com/shaarli/Shaarli/pull/1005
Changed:
- pass a copy of the ConfigManager instance instead of a reference
- move FakeConfigManager to a dedicated file
- update tests
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-11-08 20:26:03 +01:00
ArthurHoaro
055ce4bd19
Fix alignement and better clarity for 'List all links with those tags' button
...
Fix CSS class typo and display the link as a button
Fixes #999
2017-11-08 19:21:00 +01:00
ArthurHoaro
b14d34d2c7
Merge pull request #1012 from ArthurHoaro/hotfix/urlencode
...
Don't URL encode description links if parameter 'redirector.encode_url' is set to false
2017-11-08 18:54:32 +01:00
ArthurHoaro
e813f97b1a
Merge pull request #1013 from ArthurHoaro/theme/remove-redirector
...
Remove redirector setting from Configure page
2017-11-08 18:53:32 +01:00
ArthurHoaro
a89f423dfa
Remove redirector setting from Configure page
...
This feature is pretty much useless these days as browsers have builtin features to support the thag "<meta name='referrer'", so keep the setting page as clean as possible.
Also, avoid advertising it too much, because I'm pretty sure it doesn't work very well with markdown descriptions (as Parsedown have some trouble regarding URL detection (without MarkDown link tag)).
2017-11-07 20:31:55 +01:00
ArthurHoaro
fd08b50a80
Don't URL encode description links if parameter 'redirector.encode_url' is set to false
2017-11-07 20:23:58 +01:00
Knah Tsaeb
8732a436eb
Merge remote-tracking branch 'commu/latest' into myShaarli_commu
2017-11-03 16:24:12 +01:00
VirtualTam
d12b2a08c8
Merge pull request #1009 from kalvn/patch-1
...
Addition of shaarli2mastodon plugin.
2017-11-02 10:03:06 +01:00
kalvn
f8623666aa
Addition of shaarli2mastodon plugin.
2017-11-01 18:36:11 +01:00
ArthurHoaro
b7fdbfa789
Merge pull request #978 from ArthurHoaro/theme/improvements
...
Theme improvements: move thumbnails to the right and reduce margins overall
2017-10-28 15:23:54 +02:00
ArthurHoaro
94c1756562
Theme improvements: move thumbnails to the right and reduce margins overall
...
* Reduce multiple margins (markdown, space between block, etc.)
* Move thumbnails to the right in the same line as the title
* Move edit button as floating to the left
* Move fold/collapse and checkbox buttons as floating to the right
* Add a bunch of HTML ID in the linklist template
Relates to #877
2017-10-28 15:11:57 +02:00
ArthurHoaro
d65342e304
Extract the title/charset during page download, and check content type
...
Use CURLOPT_WRITEFUNCTION to check the response code and content type (only allow HTML).
Also extract the title and charset during downloading chunk of data, and stop it when everything has been extracted.
Closes #579
2017-10-28 14:35:49 +02:00
ArthurHoaro
0926d26390
Merge pull request #962 from ArthurHoaro/feature/perfs2
...
Performances: reorder links when they're written instead of read
2017-10-28 12:44:44 +02:00
VirtualTam
88d38cb290
Merge pull request #1005 from virtualtam/refactor/authentication
...
Refactor session management utilities
2017-10-25 22:49:22 +02:00
VirtualTam
ae7c954b12
Improve SessionManager tests
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-24 22:01:02 +02:00
nodiscc
6bc7afab91
Merge pull request #1006 from shaarli/doc-cve-2017-15215
...
Changelog: link to CVE-2017-15215, give attribution
2017-10-24 15:12:19 +02:00
nodiscc
fc2beb8c6a
Changelog: link to CVE-2017-15215, give attribution
2017-10-23 01:06:11 +02:00
VirtualTam
fd7d84616d
Move session ID check to SessionManager
...
Relates to https://github.com/shaarli/Shaarli/issues/324
Changed:
- `is_session_id_valid()` -> `SessionManager::checkId()`
- update tests
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-22 19:54:44 +02:00
VirtualTam
ebd650c06c
Refactor session token management
...
Relates to https://github.com/shaarli/Shaarli/issues/324
Added:
- `SessionManager` class to group session-related features
- unit tests
Changed:
- `getToken()` -> `SessionManager->generateToken()`
- `tokenOk()` -> `SessionManager->checkToken()`
- inject a `$token` parameter to `PageBuilder`'s constructor
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-22 19:19:46 +02:00
VirtualTam
e648f62b4f
Merge pull request #1004 from virtualtam/doc/docker/reverse-proxy
...
Documentation: add reverse proxy examples for Docker images
2017-10-22 17:07:45 +02:00
VirtualTam
1a2c5ddeb5
Documentation: add reverse proxy examples for Docker images
...
Closes https://github.com/shaarli/Shaarli/issues/888
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-22 15:03:20 +02:00
ArthurHoaro
2e6314af31
Merge pull request #1002 from ArthurHoaro/doc/install-docker
...
Docs: mention Docker in the download & install page
2017-10-22 14:56:26 +02:00
ArthurHoaro
d8acf85504
Merge pull request #871 from ArthurHoaro/feature/translation
...
Shaarli's translation
2017-10-22 13:19:51 +02:00
ArthurHoaro
1a47014f99
Translation documentation
2017-10-22 13:16:59 +02:00
ArthurHoaro
6a65bc5798
Translations : Working demo example of translation extension
2017-10-22 13:16:56 +02:00
ArthurHoaro
f39580c6fd
Add language selection in the configure page of the default theme
2017-10-22 13:16:53 +02:00
VirtualTam
efd3a6405a
Merge pull request #1001 from virtualtam/docker/latest
...
docker: add 'latest' image
2017-10-22 13:00:47 +02:00
ArthurHoaro
d637976329
Use makefile target to generate MO file and remove it from git
2017-10-22 12:56:55 +02:00
ArthurHoaro
40ec173e68
JS translation
2017-10-22 12:56:55 +02:00
ArthurHoaro
12266213d0
Shaarli's translation
...
* 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.
2017-10-22 12:55:03 +02:00
ArthurHoaro
cfcc38192a
Doc: mention Docker docs in the download & install page
2017-10-22 12:50:04 +02:00
VirtualTam
fab0f4e576
docker: add 'latest' image
...
This implies the following changes:
- `shaarli/shaarli:latest` will now point to the `latest` release
- `shaarli/shaarli:master` will point to the `master` branch
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-21 18:44:19 +02:00
VirtualTam
72cfe44436
Merge pull request #846 from virtualtam/docker/alpine
...
Docker: switch to Alpine Linux
2017-10-21 18:00:08 +02:00
nodiscc
919c980344
documentation: update tag cloud/filtering doc
...
Ref. https://github.com/shaarli/Shaarli/issues/959
2017-10-19 18:06:07 +02:00
VirtualTam
1f40141a69
Merge pull request #996 from virtualtam/fix/user-css
...
Fix: enable access to data/user.css (Apache 2.2 & 2.4)
2017-10-17 22:39:29 +02:00
VirtualTam
710291b164
Fix: enable access to data/user.css (Apache 2.2 & 2.4)
...
Relates to https://github.com/shaarli/Shaarli/issues/872
Relates to https://github.com/shaarli/Shaarli/issues/993
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-16 19:41:22 +02:00
VirtualTam
a93b620a35
EditorConfig: add .htaccess support
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-16 19:38:33 +02:00
VirtualTam
839566500c
Merge pull request #995 from virtualtam/lint/editorconfig
...
Add EditorConfig configuration
2017-10-16 19:18:29 +02:00
VirtualTam
e9619cc4f8
Add EditorConfig configuration
...
EditorConfig allows specifying indentation, line feed and encoding
properties according to the type of file being edited.
Most editors support it out-of-the-box, or can benefit from it through a
plugin.
See:
- http://editorconfig.org/
- https://github.com/editorconfig/editorconfig
- https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-11 21:35:17 +02:00
VirtualTam
9f32160c32
Merge pull request #992 from ArthurHoaro/feature/import-history
...
Don't write History for link import
2017-10-08 16:35:57 +02:00
VirtualTam
0a496258af
Merge pull request #990 from danieljakots/master
...
Fix link in Upgrade-and-migration.md
2017-10-08 16:35:33 +02:00
ArthurHoaro
b14dfc23dd
Release v0.9.2
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAlnYq7YACgkQOzJIyqqw
gW4eqQ/9Ez6vhQSy3PEBma0tLLTaC13BO5nfcxUx4kwQHcob/KiSeov1gNwWeg3M
d0Op/KTDXQt2fLx/qksb9jJmAoVLtA5Ma4tPYWzpKeGDdmyKetiec4kT4XtzBUii
6hHc9GZ/mVd5ok3aZ6ZHJ/v+9lqt01rlcyuHHqw0Tzk+r6VOEDauW9ItgS6eBEmA
Jj2QLuErNa5EsS/FbCrAgQfDX9tI3tPGUGZRMfz+KNQ+CuP0i1Cr3j4XK1RuyoY2
46GTaEfAqGydZI3KtKbC1agvtw0qjaMiKw8+UJdiVRwrQHJMOxLF6mFjf+wXoY9C
BNRFRP1ITQpcW7BEyyewB2vcEabKjGeA++SHauBUITv/4wsVNDAP5mdFLaNPGaaF
LWkSb0Lie6UFYPBcVb+wt6fhcfARGL4cYV4Go/YK8crEEtBJrPceYO0P0gjB6YYh
2d80KnAJ05BXACFJqG500mgvu0z5Z65MjBzr1FGJ3KuPH+kYFkxsC/ACYlDVUsRz
2YQSikid3gv4dvCE6u3Kg0DMEtRLSRpj35KwCyU/A4jFXQVdgWzTY5sclzVb3Ldb
F7jX524Dt2hVxFMuzel25kfyoZ8XzXXybv3Db0RBFkRIABnpy1VvQgcp14GHVUlE
e6NLSGrewR0UXCM58oa3OY8pMyroW7A42sqimVQdaEiSzc9RjMA=
=EH6l
-----END PGP SIGNATURE-----
Merge tag 'v0.9.2' into latest
Release v0.9.2
2017-10-08 15:05:50 +02:00
ArthurHoaro
66e74d50d3
Don't write History for link import
...
With large imports it has a large impact on performances and isn't really useful.
Instead, write an IMPORT event, which let client using the history service resync its DB.
-> 15k link import done in 6 seconds.
Fixes #985
2017-10-07 16:40:16 +02:00
Daniel Jakots
ba6245670d
Fix link in Upgrade-and-migration.md
2017-10-07 09:35:40 -04:00
ArthurHoaro
78865393a6
Badge version
2017-10-07 12:27:50 +02:00
ArthurHoaro
ecccb14e2a
Bump Shaarli version to v0.9.2
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-10-07 12:23:44 +02:00
ArthurHoaro
80b15f5d2d
Merge branch 'master' into v0.9
2017-10-07 12:22:54 +02:00
ArthurHoaro
a01437f9e1
Merge pull request #988 from ArthurHoaro/changelog-0.9.2
...
Changelog 0.9.2 + AUTHORS
2017-10-07 12:12:34 +02:00
ArthurHoaro
6770135b0a
Update AUTHORS
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-10-07 12:10:23 +02:00
ArthurHoaro
6f2c02a0ce
Changelog v0.9.2
2017-10-07 12:05:07 +02:00
ArthurHoaro
be9ddff2fb
Merge pull request #987 from ArthurHoaro/hotfix/security-issue
...
Fix security issue reported by @chb9
2017-10-07 11:33:20 +02:00
ArthurHoaro
d14555a3df
Fix security issue reported by @chbi
...
Vulnerability introduced by 6ccd0b218f
- release with Shaarli v0.9.1.
2017-10-07 11:27:44 +02:00
VirtualTam
c8d96b4729
Merge pull request #979 from ArthurHoaro/feature/assets-cache-version
...
Add a version hash for asset loading to prevent browser's cache issue
2017-10-06 14:32:07 +02:00
VirtualTam
b3e39bf57e
Merge pull request #980 from ArthurHoaro/hotfix/textarea-resize-jumpy
...
Fix jumpy textarea with long content in post edit
2017-10-06 14:31:16 +02:00
VirtualTam
f5bdd8edc8
Merge pull request #983 from bvberkum/pullrequest/shaarli-docker-quickstart
...
Docker quickstart
2017-10-06 14:30:18 +02:00
B. van Berkum
df8becac4f
Minor docker-101 doc updates, typos fixed #983
2017-10-06 00:25:50 +02:00
VirtualTam
e3a3cc0da8
docker: rename resources for the stable image
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-03 20:07:46 +02:00
VirtualTam
1a216faecb
docker: switch to Alpine Linux for the master image
...
Relates to https://github.com/shaarli/Shaarli/issues/843
Changed:
- switch base image from Debian:Jessie to Alpine:3.6
- switch to PHP 7.1
- switch from supervisord to s6 to manage services
See:
- https://alpinelinux.org/
- https://wiki.alpinelinux.org/wiki/Nginx_with_PHP
- http://www.skarnet.org/software/s6/
- http://www.skarnet.org/software/s6/s6-svscan.html
- http://www.skarnet.org/software/s6/s6-svc.html
- http://www.skarnet.org/software/s6/s6-svstat.html
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-03 19:47:01 +02:00
VirtualTam
2f69b6d04e
Merge pull request #981 from mark-gerarts/default-note-title
...
Allow setting of a default note title, see #963
2017-10-03 19:26:48 +02:00
B. van Berkum
2f65b3dd53
Docker quickstart: one more grammar mistake. Made it a bit more terse.
2017-10-03 01:03:27 +02:00
B. van Berkum
62a8b0ff6e
Docker-101: added working systemd config example
2017-10-03 00:57:46 +02:00
B. van Berkum
60ed9b8f41
Typo's, unified structure a bit.
...
- Fixes inevitable typo that crept in.
- Removed some blank lines, newlines, to match established whitespace use better.
- Minor grammar improvement.
2017-10-03 00:35:27 +02:00
B. van Berkum
22a30602cb
Docker 101: container start and cleanup
2017-10-03 00:24:23 +02:00
B. van Berkum
02ff7897c0
Added docker quickstart example, with user-data volume
2017-10-03 00:23:34 +02:00
Mark Gerarts
722caa2090
Allow setting of a default note title, see #963
2017-10-01 14:19:57 +02:00
ArthurHoaro
9c46b347b8
Fix jumpy textarea with long content in post edit
...
We manually reset the scroll position, to avoid height = 'auto' jump to the top
Fixes #971
2017-10-01 11:49:17 +02:00
ArthurHoaro
b3e1f92e9c
Rename shaarli_version constant to uppercase
2017-10-01 11:11:16 +02:00
ArthurHoaro
bfe4f536bb
Add a version hash for asset loading to prevent browser's cache issue
...
The hash is generated using the same salt as the one used for credentials (1 salt per instance) in order to avoid exposing the instance version.
Fixes #965
2017-10-01 11:10:37 +02:00
ArthurHoaro
3512f44617
Merge pull request #976 from ArthurHoaro/hotfix/url-parentheses
...
Fix parsing for description links with parentheses
2017-09-30 14:25:53 +02:00
VirtualTam
7c670b39a2
Merge pull request #975 from virtualtam/robustness
...
Improve robustness for zlib and file operations
2017-09-30 10:56:56 +02:00
ArthurHoaro
601faf9751
Fix parsing for description links with parentheses
...
With markdown plugin disabled
relates to #966
2017-09-29 18:52:38 +02:00
ArthurHoaro
a59bbf50d7
Merge pull request #947 from thewilli/wildcardsearch
...
wildcard tag search support
2017-09-29 18:38:02 +02:00
VirtualTam
8c322aaba1
Robustness: safer gzinflate/zlib usage
...
Relates to https://github.com/shaarli/Shaarli/pull/846
PHP's `gzinflate()` fails with an error when being passed an empty string
See:
- https://bugs.php.net/bug.php?id=71395
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-28 21:59:36 +02:00
VirtualTam
e4325b1517
Robustness: safer RainTPL directory handling
...
Relates to https://github.com/shaarli/Shaarli/issues/845
Relates to https://github.com/shaarli/Shaarli/issues/846
Relates to https://github.com/shaarli/Shaarli/pull/909
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-28 21:57:20 +02:00
VirtualTam
0cba184cf8
Merge pull request #972 from virtualtam/travis/trusty
...
Travis: switch to Ubuntu Trusty build environment
2017-09-19 19:22:33 +02:00
VirtualTam
b5c33d702a
Tests: update localization tests
...
Rely on `mag_IN` (Magahi - INDIA) being unavailable when running localization
test suites, instead of `pt_BR` that is now available from Travis build images.
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-19 19:17:16 +02:00
VirtualTam
dfc2c3353d
Travis: switch to Ubuntu Trusty build environment
...
Relates to https://github.com/shaarli/Shaarli/issues/970
Relates to https://github.com/shaarli/Shaarli/pull/912
See:
- https://docs.travis-ci.com/user/reference/trusty/
- https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
Added:
- print available locales before running tests
Removed:
- do not install extra language packs
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-19 19:07:40 +02:00
VirtualTam
6aae4bd0a1
Merge pull request #909 from virtualtam/docker/test-environments
...
docker: add alpine,debian,ubuntu test images
2017-09-19 18:18:35 +02:00
VirtualTam
fc1c1b8869
Merge pull request #961 from thewilli/private-shaarli-login-redirect
...
added option to redirect all anonymous users to login page
2017-09-18 21:25:02 +02:00
VirtualTam
d691604080
docker: add alpine,debian,ubuntu test images
...
Relates to https://github.com/shaarli/Shaarli/issues/843
Added:
- Makefile target to run commands in a Docker test context
- Docker images to run Shaarli test suites:
- Alpine 3.6
- Debian 8
- Debian 9
- Ubuntu 16.04
- Documentation
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-18 21:13:59 +02:00
nodiscc
ceb738c591
visited links color: same hue as unvisited links, darkened
...
Related to https://github.com/shaarli/Shaarli/issues/877
Plain grey links would lead to think that the link is somehow disabled/inaccessible/private
This slightly improves clarity/usability
2017-09-04 22:36:21 +02:00
Willi Eggeling
27e21231e1
added option to redirect all anonymous users to login page
...
- 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
2017-09-03 11:46:49 +02:00
ArthurHoaro
9ec0a61156
Performances: reorder links when they're written instead of read
...
relates to #891
2017-09-02 15:10:44 +02:00
ArthurHoaro
96a1c79456
Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-title
...
Firefox Social title: Use document.title instead of RainTPL variable
2017-09-02 13:54:38 +02:00
ArthurHoaro
206c45bd05
Firefox Social title: Use document.title instead of RainTPL variable
...
Fixes #929
2017-09-02 13:50:52 +02:00
ArthurHoaro
a3130d2c2f
Make work behind a reverse proxy
...
Without HTTP_X_FORWARDED_PORT check, might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display
2017-09-02 13:50:49 +02:00
VirtualTam
ea71536ed7
Merge pull request #956 from virtualtam/fix/make-authors
...
Documentation+Makefile: update AUTHORS generation
2017-09-02 13:00:45 +02:00
ArthurHoaro
87d019986e
Merge pull request #950 from thewilli/delete-fix
...
fixed link deletion
2017-09-01 18:25:44 +02:00
ArthurHoaro
c5f5365ae6
Merge pull request #951 from thewilli/fix-daily
...
fixed daily links if there are no links
2017-09-01 18:25:09 +02:00
Willi Eggeling
341527bae9
wildcard tag search support
...
- when searching for tags you can now include '*' as wildcard placeholder
- new search reduces overall overhead when filtering for tags
- fixed combination with description tag search ('#' prefix)
- tests added
2017-08-30 13:20:22 +02:00
Willi Eggeling
a74f52a8d2
fixed link deletion
...
When deleting links, the js of the default theme separated ids by an escaped space ('+').
There was a trailing '+' after the ids which led to the php code detecting multiple values
even for single values. In combination with the id '0' this could led to no id found at all
and a resulting php error.
this commit fixes the behavior and adds an additional error handling and trimming to the php code.
2017-08-30 12:54:58 +02:00
Willi Eggeling
5a0045be79
fixed daily links if there are no links
...
- the previous code tried to use links from a previous day if there are no one for the current one
- the new code skips this part if there are no entries (i.e. days) at all
- modified showDaily() to fit PSR-1 and PSR-2
2017-08-30 12:42:58 +02:00
VirtualTam
dc37a482ed
Documentation+Makefile: update AUTHORS generation
...
Fixes https://github.com/shaarli/Shaarli/issues/935
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-29 19:46:23 +02:00
VirtualTam
e4ed3a46b7
Merge pull request #944 from thewilli/configure-rememberme
...
new setting: default value for 'remember me' checkbox
2017-08-27 16:36:53 +02:00
Willi Eggeling
2e07e77573
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
2017-08-27 16:03:37 +02:00
VirtualTam
fc27141cf6
Merge pull request #940 from ArthurHoaro/hotfix/empty-urls
...
Generates a permalink URL if the URL is set to blank
2017-08-27 13:15:43 +02:00
VirtualTam
e8cef3ac43
Merge pull request #942 from thewilli/fix-wiki-links
...
migrated Github wiki links to readthedocs
2017-08-27 13:12:58 +02:00
VirtualTam
5941c4216d
Merge pull request #946 from thewilli/clean
...
small code cleanup
2017-08-27 13:10:05 +02:00
Willi Eggeling
a544b113f2
code clean: cookie expiration
...
- unified code style (spaces around operators)
- prevented expiration time to be calculated twice
- replaced tabs with spaces
2017-08-26 23:51:38 +02:00
Willi Eggeling
94c035ff71
removed doc and code references to magic quotes
...
- removed all references to magic quotes
- magic quotes are not supported on PHP >= 5.4 (https://secure.php.net/manual/en/security.magicquotes.php )
- Shaarli does not support PHP < 5.5
2017-08-26 11:27:18 +02:00
Willi Eggeling
cc8f572bc0
migrated Github wiki links to readthedocs
2017-08-26 09:40:57 +02:00
ArthurHoaro
c27f2f36f2
Generates a permalinks URL if the URL is set to blank
...
Fixes #926
2017-08-25 20:08:07 +02:00
ArthurHoaro
de901736a6
Merge pull request #938 from ArthurHoaro/hotfix/tagcloud-order
...
Sort tag cloud in alphabetical order
2017-08-25 19:58:32 +02:00
ArthurHoaro
f32ec5fb3c
Sort tag cloud in alphabetical order
...
Fixes #932
2017-08-25 19:25:09 +02:00
ArthurHoaro
c4ac70acbb
Merge pull request #934 from thewilli/fix-note-bookmarklet
...
fixed note bookmarklet
2017-08-25 19:15:24 +02:00
Willi Eggeling
958fc15fec
fixed note bookmarklet
...
- the double quotes used in the alert() call of the note bookmarklet in the default template collided with the ones of the href tag
- replaced the double quotes with single ones (just like the link bookmarklet)
2017-08-24 10:20:32 +02:00
VirtualTam
2a1292359b
Merge pull request #928 from virtualtam/documentation/v0.9.1
...
documentation: update installation instructions for 0.9.1
2017-08-23 01:35:10 +02:00
VirtualTam
2c049b673a
Merge remote-tracking branch 'upstream/v0.9' into latest
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 01:26:03 +02:00
VirtualTam
d3fee4f40b
documentation: update installation instructions for 0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 01:22:07 +02:00
VirtualTam
1ea88ae7d1
Bump version to v0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 01:15:46 +02:00
VirtualTam
9d7a02afce
Merge branch 'master' into v0.9
2017-08-23 01:08:41 +02:00
VirtualTam
7c2460c856
Merge pull request #927 from virtualtam/changelog
...
Update Changelog for 0.9.1
2017-08-23 01:07:28 +02:00
VirtualTam
d600040ebc
Update CHANGELOG.md for 0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 01:01:58 +02:00
VirtualTam
92ccaea470
documentation: fix list formatting
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 00:57:50 +02:00
ArthurHoaro
da95579da7
Merge pull request #925 from ArthurHoaro/theme/remove-2nd-sort-by
...
Remove the 2nd green 'sort by' row in link list
2017-08-19 17:57:29 +02:00
ArthurHoaro
87fc4fedd6
Merge pull request #924 from ArthurHoaro/feature/hide-list-search
...
Hide the search link if no tag has been searched in tag list
2017-08-19 17:57:21 +02:00
ArthurHoaro
5e58e6e2cf
Merge pull request #923 from ArthurHoaro/hotfix/untagged
...
Fix untagged only button
2017-08-19 17:52:28 +02:00
ArthurHoaro
ebc6dc3e8d
Remove the 2nd green 'sort by' row in link list
...
It isn't really useful and doesn't look good if there isn't enough tags
2017-08-19 17:51:06 +02:00
ArthurHoaro
2fa2f57fd5
Hide the search link if no tag has been searched in tag list
2017-08-19 17:49:11 +02:00
ArthurHoaro
c4925c1f66
Fix untagged only button
2017-08-19 17:41:56 +02:00
VirtualTam
ecda1e0ace
Merge pull request #920 from virtualtam/documentation/rest-3rd
...
documentation: update 3rd-party resources
2017-08-08 22:21:54 +02:00
VirtualTam
57c628e195
documentation: update 3rd-party resources
...
Relates to https://github.com/shaarli/Shaarli/issues/915
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-08 22:02:50 +02:00
VirtualTam
154682d9a2
Merge pull request #918 from Lucas-C/master
...
Adding missing empty() as spotted in #889 code review
2017-08-07 16:20:36 +02:00
Lucas Cimon
d1b69e6af1
Adding missing empty() as spotted in #889 code review
2017-08-06 21:26:37 +02:00
VirtualTam
c7fcea1347
Merge pull request #917 from virtualtam/documentation/fixes+improvements
...
Documentation fixes, improvements and additions
2017-08-06 16:15:32 +02:00
VirtualTam
f320efd689
documentation: elaborate on REST API server & client prerequisites
...
Relates to https://github.com/shaarli/Shaarli/issues/903
Relates to https://github.com/shaarli/Shaarli/issues/905
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 14:46:05 +02:00
VirtualTam
23daed648c
documentation: remove obsolete doc release instructions
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 14:33:07 +02:00
VirtualTam
61f63d1086
documentation: add links to example REST API clients
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 14:30:43 +02:00
VirtualTam
e62486dd6a
documentation: rewrite the REST API PHP client example
...
Closes https://github.com/shaarli/Shaarli/issues/905
Relates to https://github.com/shaarli/Shaarli/pull/751
See https://shaarli.github.io/api-documentation/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 14:15:59 +02:00
VirtualTam
7f876cf62b
documentation: update release download and usage information
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 12:08:09 +02:00
VirtualTam
28439d63b8
documentation: remove duplicate "Coding guidelines" page
...
The information is already present under "Static analysis"
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 12:05:15 +02:00
VirtualTam
43ad7c8e82
documentation: fix rendering and internal references
...
This is mainly cleanup after switching from Github-flavoured Markdown
rendered by Github Pages, to standard Markdown rendered by MkDocs.
Changed:
- rephrase some section titles
Fixed:
- list rendering (items, sub-items))
- code rendering
- quotes
- dead links
Removed:
- extraneous navigational elements
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 11:56:24 +02:00
ArthurHoaro
4758c18164
Merge pull request #916 from ArthurHoaro/hotfix/fix-composer-php-version
...
Fix PHP version configuration in composer.json
2017-08-05 11:09:13 +02:00
ArthurHoaro
8911863019
Fix PHP version configuration in composer.json
...
Without this setting, composer would download dependencies depending on the PHP version installed on the system.
E.G. I was getting doctrine/instantiator 1.1, which requires at least PHP 7.1.
2017-08-05 10:59:39 +02:00
VirtualTam
b4ff0afb24
Merge pull request #910 from virtualtam/documentation/improvements
...
Include generated doc in release archives, remove HTML from SCM
2017-08-05 10:40:35 +02:00
ArthurHoaro
1fdb40fc16
Merge pull request #887 from ArthurHoaro/hotfix/dash-tag-rename
...
Make sure that the tag exists before altering/removing it
2017-08-05 09:59:03 +02:00
ArthurHoaro
3b67b22225
Move tag renaming code to LinkDB and unit test it
2017-08-05 09:55:20 +02:00
VirtualTam
f09e1e318e
Merge pull request #889 from Lucas-C/master
...
Using only one form in linklist.html - fix #885
2017-08-03 16:27:59 +02:00
VirtualTam
f5568f87b1
Merge pull request #913 from virtualtam/fix/readme
...
readme: fix logo uri
2017-08-02 14:58:35 +02:00
VirtualTam
22760c5422
readme: fix logo uri
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:50:14 +02:00
VirtualTam
29712e905b
documentation: include generated HTML in release archives
...
Closes https://github.com/shaarli/Shaarli/issues/908
Relates to https://github.com/shaarli/Shaarli/pull/772
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:48:41 +02:00
VirtualTam
1093ddeea2
documentation: set edit_uri
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:48:41 +02:00
VirtualTam
fcd900f7ce
documentation: remove uneeded resources
...
Relates to https://github.com/shaarli/Shaarli/issues/312
Relates to https://github.com/shaarli/Shaarli/pull/772
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:48:41 +02:00
VirtualTam
9ff77362fe
documentation: remove generated HTML from SCM
...
Relates to https://github.com/shaarli/Shaarli/issues/908
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:48:41 +02:00
VirtualTam
c71c7e2bd4
Merge pull request #911 from virtualtam/fix/release/composer
...
fix: use pinned dependency revisions when generating release archives
2017-08-02 14:47:29 +02:00
VirtualTam
eaed9ce88e
fix: use pinned dependency revisions when generating release archives
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:44:02 +02:00
VirtualTam
ce6bdab3a0
Merge pull request #912 from virtualtam/travis/precise
...
travis: explicitly set the build dist to `precise`
2017-08-02 14:40:49 +02:00
VirtualTam
64d748bbe4
travis: explicitly set the build dist to `precise`
...
See https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-01 19:39:45 +02:00
Lucas Cimon
f210d94f71
Using only one form in linklist.html + adding untaggedonly filter - fix #885
2017-07-30 16:19:34 +02:00
VirtualTam
fccfa09df8
Merge pull request #906 from virtualtam/docker/cleanup
...
docker: remove `dev` image, update documentation
2017-07-29 16:17:09 +02:00
VirtualTam
3a6f91a9cc
Generate HTML documentation
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-07-29 15:33:35 +02:00
VirtualTam
84d0632a2d
docker: remove `dev` image, update documentation
...
Relates to https://github.com/shaarli/Shaarli/issues/843
Changed:
- Update Docker image list
- Update Docker documentation structure
Removed:
- Delete Dockerfile and resources for the `dev` image
- Cleanup `doc/` resources
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-07-29 15:32:22 +02:00
VirtualTam
57ee53d6c6
Merge pull request #896 from ArthurHoaro/hotfix/firefox-social-subdir
...
Fix Firefox Social button in the default theme
2017-07-23 19:09:06 +02:00
nodiscc
6d074b4c90
doc: fix bullet list formatting
...
https://shaarli.readthedocs.io/en/master/Shaarli-configuration/
2017-07-20 19:52:39 +02:00
nodiscc
96f70777f7
Merge pull request #901 from shaarli/fix-900
...
Remove merge conflict leftover
2017-07-19 18:54:00 +02:00
ArthurHoaro
2fee2f425d
Merge pull request #899 from smuth4/master
...
Respect HTTP_X_FORWARDED_HOST
2017-07-13 14:15:06 +02:00
Stephen Muth
0b51ea7251
Add tests to cover new server_url behavior
2017-07-12 17:57:47 +00:00
nodiscc
a5fbc689f8
Remove merge conflict leftover
...
Fixes #900
2017-07-11 14:30:14 +02:00
Stephen Muth
b80315e238
Respect HTTP_X_FORWARDED_HOST
...
alongside _PORT and _PROTO
Fixes #879
2017-07-08 00:01:03 +00:00
nodiscc
70cb883547
doc: contributing: remove leftover link to wiki
2017-07-04 21:43:40 +02:00
nodiscc
5b25a9635f
Merge pull request #772 from nodiscc/rtfd
...
Generate HTML documentation using MkDocs
2017-07-04 21:37:30 +02:00
nodiscc
8bf94136e1
makefile: remove [[link]] -> [link](url) conversion logic
...
all links in documentation have been converted to standard markdown link syntax
2017-07-04 21:30:50 +02:00
nodiscc
366247c84c
make htmlpages
2017-07-04 21:30:31 +02:00
nodiscc
f47aa40c12
makefile: remove obsolete 'doc' target
...
official documentation can now be found in doc/md/
2017-07-04 21:26:27 +02:00
nodiscc
2f9c1ecf88
doc: release: update doc generation instructions
2017-07-04 21:26:01 +02:00
nodiscc
a6192bdd52
CONTRIBUTING.md: define new workflow for documentation edition and contributions
2017-07-04 21:24:44 +02:00
nodiscc
081a73486f
doc: replace pandoc requirement with python3-venv
2017-06-18 22:22:34 +02:00
nodiscc
12e1877917
move README contents to doc/md/index.md
2017-06-18 22:15:50 +02:00
nodiscc
0433c688b9
make htmlpages
2017-06-18 06:32:30 +02:00
nodiscc
460ce50115
doc: rename "datastore hacks" -> "various hacks", move example scripts to gist.github.com, remove obsolete GH wiki _Sidebar.md
2017-06-18 06:29:15 +02:00
nodiscc
53ed6d7d1e
Generate HTML documentation using MkDocs (WIP)
...
MkDocs is a static site generator geared towards building project documentation.
Documentation source files are written in Markdown, and configured with a single YAML file.
* http://www.mkdocs.org/
* http://www.mkdocs.org/user-guide/configuration/
Ref. #312
* remove pandoc-generated HTML documentation
* move markdown doc to doc/md/,
* mkdocs.yml:
* generate HTML doc in doc/html
* add pages TOC/ordering
* use index.md as index page
* Makefile: remove execute permissions from generated files
* Makefile: rewrite htmlpages GFM to markdown conversion using sed:
awk expression aslo matched '][' which causes invalid output on complex links with images or code blocks
* Add mkdocs.yml to .gitattributes, exclude this file from release archives
* Makefile: rename: htmldoc -> doc_html target
* run make doc: pull latest markdown documentation from wiki
* run make htmlpages: update html documentation
2017-06-18 00:19:49 +02:00
ArthurHoaro
d5d22a6d07
Merge pull request #890 from Lucas-C/taglist-cloud_improvments
...
Tagcloud/list improvments
2017-06-11 14:14:59 +02:00
ArthurHoaro
8eb6bac137
Fix Firefox Social button in the default theme
...
is no longer required since the JS function is now in .
Also, include the trailing slash in the post URL.
Fixes #895
2017-06-11 14:09:42 +02:00
Lucas Cimon
49cc8e5d74
Tagcloud/list improvments
2017-06-09 10:58:12 +02:00
ArthurHoaro
88535f20a9
Merge pull request #894 from Lucas-C/bug893
...
Fixing "Uncaught TypeError" in shaarli.js - fix #893
2017-06-07 22:37:01 +02:00
Lucas Cimon
9bf82f4fa1
Fixing "Uncaught TypeError" in shaarli.js - fix #893
2017-06-07 16:10:24 +02:00
ArthurHoaro
d99aef535f
Refactoring of CHANGETAG part to avoid duplicated code
2017-05-31 18:36:35 +02:00
ArthurHoaro
4c970f099f
Make sure that the tag exists before altering/removing it
...
Fixes #886
2017-05-31 18:24:21 +02:00
ArthurHoaro
5c6fac0bfc
Merge pull request #882 from ArthurHoaro/feature/edit-timestamp
...
Add creation date when editing a link
2017-05-31 17:54:46 +02:00
ArthurHoaro
ac94db1e36
Merge pull request #880 from ArthurHoaro/hotfix/allowed-protocols
...
Add a whitelist of protocols for URLs
2017-05-31 17:52:19 +02:00
ArthurHoaro
807cade64c
Add creation date when editing a link
...
Also, alter the title on edition
Fixes #431
2017-05-31 17:50:11 +02:00
ArthurHoaro
268309df5d
Merge pull request #884 from ArthurHoaro/hotfix/bookmarklet-url-limit
...
Selection is now limited to 2k characters using bookmarklets
2017-05-31 17:44:19 +02:00
ArthurHoaro
96b12e55f0
Merge pull request #883 from ArthurHoaro/template/visited-link
...
Display visited links in grey
2017-05-28 13:17:20 +02:00
ArthurHoaro
e2bcb9d915
Bookmarklet size limit: increase to 4500 chars and add an alert warning
2017-05-28 13:13:31 +02:00
ArthurHoaro
d6aec9e60b
Selection is now limited to 2k characters using bookmarklets
...
to avoid having too large URL
Fixes #528
2017-05-25 16:45:08 +02:00
ArthurHoaro
acadb0801f
Display visited links in grey
...
Fixes #244
2017-05-25 16:30:37 +02:00
ArthurHoaro
3e395a6bc6
Merge pull request #841 from ArthurHoaro/feature/search-no-tag
...
Empty tag search will look for not tagged links
2017-05-25 15:54:20 +02:00
ArthurHoaro
b2e2aa42e2
Merge pull request #881 from ArthurHoaro/feature/note-bookmarklet
...
Add Note bookmarklet #580
2017-05-25 15:51:48 +02:00
ArthurHoaro
7d86f40bdb
Empty tag search will look for not tagged links
...
Fixes #784
From now, searching for tags with an empty value will return only not tagged links,
with the search bar showing `x results [not tagged]`.
Note that using the api, the searchtags request parameter must be set to `false` to get the same result.
- [ ] Update API doc
2017-05-25 15:51:12 +02:00
philipp-r
bb8cf6d362
Add Note bookmarklet #580
2017-05-25 15:34:26 +02:00
ArthurHoaro
81a91579ba
Merge pull request #835 from ArthurHoaro/feature/tag-cloud
...
Adds a taglist view with edit/delete buttons
2017-05-25 15:28:26 +02:00
ArthurHoaro
82e3bb5f06
Tag list: use awesomplete for tag auto completion
2017-05-25 15:25:04 +02:00
ArthurHoaro
aa4797ba36
Adds a taglist view with edit/delete buttons
...
* The tag list can be sort alphabetically or by most used tag
* Edit/Delete are perform using AJAX, or fallback to 'do=changetag' page
* New features aren't backported to vintage theme
2017-05-25 15:25:04 +02:00
ArthurHoaro
bc988eb042
Add a token available everywhere
2017-05-25 15:05:24 +02:00
ArthurHoaro
5893529cf4
Move tagcloud template file to tag.cloud
2017-05-25 15:05:24 +02:00
ArthurHoaro
986a521067
Add an endpoint to refresh the token
...
Useful for AJAX requests which burns the token
2017-05-25 15:05:23 +02:00
ArthurHoaro
8b27824338
Merge pull request #819 from ArthurHoaro/feature/multi-delete
...
Bulk deletion
2017-05-25 15:03:32 +02:00
ArthurHoaro
86ceea054f
Add a whitelist of protocols for URLs
...
- for Shaare
- for markdown description links and images
Not whitelisted protocols will be replaced by `http://`
2017-05-25 14:58:34 +02:00
ArthurHoaro
7481dd6e66
Merge pull request #878 from Lucas-C/master
...
Adding the ability to display subtags in the tagcloud
2017-05-25 13:39:31 +02:00
Lucas Cimon
6ccd0b218f
Adding ability to display subtags in tagcloud
2017-05-24 13:09:35 +02:00
ArthurHoaro
61c15aa555
Merge pull request #868 from ArthurHoaro/theme/default-as-default
...
Use the new 'default' theme... as default
2017-05-10 18:25:56 +02:00
ArthurHoaro
3aa7aa0ef0
Merge pull request #869 from ArthurHoaro/cleanup/psh-dead-code
...
PubSubHub: remove dead code
2017-05-10 18:25:41 +02:00
ArthurHoaro
6b32719faf
Merge pull request #870 from kalvn/fixusercss
...
Fixes file existence check for user.css
2017-05-09 19:33:11 +02:00
kalvn
105fb7a2a0
Fixes file existence check for user.css
2017-05-09 19:09:33 +02:00
ArthurHoaro
033cf2a1e5
PubSubHub: remove dead code
2017-05-09 18:26:34 +02:00
ArthurHoaro
845810a8d3
Use the new 'default' theme... as default
...
Fixes #866
2017-05-09 18:22:31 +02:00
ArthurHoaro
bf82dcfeb3
Fix version file
2017-05-09 18:15:05 +02:00
ArthurHoaro
c318096c7a
Fix version file
2017-05-09 18:14:05 +02:00
ArthurHoaro
638364987a
Bulk deletion: remove JS ES6 syntax
2017-05-08 14:28:19 +02:00
ArthurHoaro
29a837f347
Bulk deletion
...
* Add a checkboxes in linklist which display a sub-header containing action buttons
* Strongly rely on JS
* Requires a modern browser (ES6 syntax support)
* Checkboxes are hidden if the browser is old or JS disabled
2017-05-08 14:27:20 +02:00
ArthurHoaro
fcf141926d
Release v0.9.0
...
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEGqoBQZDmIumKOObJrZlaKwD4KWQFAlkPUlEACgkQrZlaKwD4
KWR5+gf/akFTTxy5uyTfB1U36cGpgdvhf6bjosBKlaXY+Nvpu1NF/LX8xpbrSFDY
phI8gECt2XPD8Nk4eMhpXi9KLMMYWMccVdO5NKuZP+NxtjpYnTTueAthosm7sWqy
JXtqSJQCDRZJj2GNUhw1WvM/6t2WlmTFUcVRV/2Vq87Hzf0eYnOrTNUXVTsxfc3K
8TY98qu4XgaMenzTjp35O5wza6kihEW27NXwM4KumWjg+VTgRkfePla5EGdK9BcG
16wT94WCy29t/gTIEW9Q9Tf+hTO7Oaq0iyN/8Ha0QFXOOutMuHfrhFMezMDGPzzb
esH47/AT2DzaxfCAIqSorgPVHVYzMA==
=GN48
-----END PGP SIGNATURE-----
Merge tag 'v0.9.0' into latest
Release v0.9.0
2017-05-07 19:23:32 +02:00
ArthurHoaro
bf67ac345f
Update Github badges
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-05-07 19:02:17 +02:00
ArthurHoaro
54c8e8d299
Bump version to v0.9.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-05-07 18:48:39 +02:00
ArthurHoaro
510f723300
Merge pull request #863 from ArthurHoaro/v0.9.0
...
Bump version to v0.9.0
2017-05-07 18:45:02 +02:00
ArthurHoaro
b230bf207d
Bump version to v0.9.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-05-07 18:44:05 +02:00
ArthurHoaro
f501caed21
Merge pull request #859 from ArthurHoaro/changelog
...
Changelog update
2017-05-07 18:39:44 +02:00
ArthurHoaro
a9fe41a818
Merge pull request #862 from ArthurHoaro/theme/tags-everywhere
...
Inject tag list everywhere to make autocomplete work on the fixed search bar
2017-05-07 18:39:25 +02:00
ArthurHoaro
3108f2a800
Merge pull request #861 from ArthurHoaro/hotfix/import-shorturl-override
...
Fix a bug happening when importing links with override option
2017-05-07 18:38:55 +02:00
ArthurHoaro
5177d8e574
Merge pull request #860 from ArthurHoaro/readme
...
Readme: add API documentation link
2017-05-07 18:38:39 +02:00
ArthurHoaro
22ff7414e9
Changelog update
2017-05-07 18:35:56 +02:00
ArthurHoaro
73c8962654
Inject tag list everywhere to make autocomplete work on the fixed search bar
2017-05-07 18:21:38 +02:00
ArthurHoaro
28794b69cb
Fix a bug happening when importing links with override option
...
The shorturl would be set to null, generating a lot of warnings and breaking permalinks
2017-05-07 18:02:49 +02:00
ArthurHoaro
b4189928f8
Merge pull request #858 from ArthurHoaro/api/history-entries
...
Add history entries for API endpoint
2017-05-07 17:40:17 +02:00
ArthurHoaro
eb5548e853
Readme: add API documentation link
2017-05-07 17:33:16 +02:00
ArthurHoaro
b86aeccf6a
Add settings history only when they're updated
2017-05-07 17:11:25 +02:00
ArthurHoaro
6bc90f50af
History: fix entries order
2017-05-07 17:11:25 +02:00
ArthurHoaro
57ce6dae5d
Reset the history file due to datetime format change
2017-05-07 17:11:25 +02:00
ArthurHoaro
813849e521
Add history entries for API endpoint
...
CHANGED: datetime is now store as an object in history store file
2017-05-07 17:11:22 +02:00
ArthurHoaro
a4af59f471
Merge pull request #857 from ArthurHoaro/api/history-get
...
API: Get History endpoint
2017-05-07 16:08:10 +02:00
ArthurHoaro
61d406933e
API: Get History endpoint
...
See http://shaarli.github.io/api-documentation/#links-history-get
2017-05-07 16:03:40 +02:00
ArthurHoaro
b8fcb7d440
Merge pull request #856 from ArthurHoaro/api/delete-link
...
API: add DELETE endpoint
2017-05-07 16:02:14 +02:00
ArthurHoaro
0843848c1d
API: add DELETE endpoint
...
Based on #840
See http://shaarli.github.io/api-documentation/\#links-link-delete
2017-05-07 15:58:49 +02:00
ArthurHoaro
77de24876f
Merge pull request #840 from ArthurHoaro/api/putLink
...
REST API: implement PUT method
2017-05-07 15:55:38 +02:00
ArthurHoaro
cf9181dddf
REST API: implement PUT method
...
* Related to #609
* Documentation: http://shaarli.github.io/api-documentation/#links-link-put
2017-05-07 15:49:16 +02:00
ArthurHoaro
eb6e729808
Merge pull request #855 from ArthurHoaro/theme/vintage-home-link
...
Rename title link label to home link and apply it in vintage theme
2017-05-06 19:37:38 +02:00
ArthurHoaro
f9ff7f1b69
Merge pull request #764 from ArthurHoaro/feature/history
...
History mechanism
2017-05-06 17:12:06 +02:00
ArthurHoaro
6177f3206e
Rename title link label to home link and apply it in vintage theme
...
Related to #853
2017-05-03 19:16:40 +02:00
ArthurHoaro
a271c5f34f
Merge pull request #852 from ArthurHoaro/theme/install-password
...
Theme: use a password type field during the install
2017-04-25 19:11:24 +02:00
ArthurHoaro
4c7045229c
Merge pull request #830 from ArthurHoaro/theme/timezone
...
Change timezone data structure send to the templates
2017-04-25 19:09:13 +02:00
ArthurHoaro
0934f795d3
Theme: use a password type field during the install
2017-04-25 19:06:23 +02:00
ArthurHoaro
504c9df4e7
Merge pull request #848 from ArthurHoaro/hotfix/upload-maxsize
...
Use raw bytes for upload size hidden input
2017-04-25 19:03:29 +02:00
ArthurHoaro
6a19124a09
Use raw bytes for upload size hidden input
2017-04-10 20:01:10 +02:00
ArthurHoaro
c8cb5c2824
Merge pull request #844 from ArthurHoaro/hotfix/id-0
...
Fix offset check with link ID = 0
2017-04-05 19:38:25 +02:00
ArthurHoaro
bc5f1597eb
Fix offset check with link ID = 0
2017-04-05 19:09:25 +02:00
ArthurHoaro
49bc541d79
Apply the new timezone template variables to the vintage theme
2017-04-04 18:44:24 +02:00
ArthurHoaro
a07373135e
Apply the new timezone template variables to the default theme
2017-04-04 18:44:20 +02:00
ArthurHoaro
ae3aa96898
Change timezone data structure send to the templates
...
The goal of this is to be able to adapt the timezone form
in template without hacking the HTML already rendered.
* there are two arrays available:
* `continents` which contains only a list of available continents
* `cities` which contains a list of available timezone cities, associated with their continent
Note: there are two distinct array because RainTPL doesn't support nested loop very well.
2017-04-03 19:24:55 +02:00
ArthurHoaro
2109bb9d9a
Merge pull request #800 from ArthurHoaro/hotfix/get-bytes-warning
...
Fix a warning generated in return_bytes function and refactor it
2017-04-03 19:02:33 +02:00
ArthurHoaro
b68134ac1d
UtilsTest: PHP 5.5 compatibility
2017-04-03 18:53:43 +02:00
ArthurHoaro
84315a3bad
Fix a warning generated in return_bytes function and refactor it
...
It was multiplying a string containing a letter.
Moved function to Utils.php and display a human readable limit size
2017-04-03 18:53:43 +02:00
ArthurHoaro
d9d49b687a
Merge pull request #842 from ArthurHoaro/cleanup/remove-riy-plugin
...
Remove readityourself plugin
2017-04-03 18:41:02 +02:00
ArthurHoaro
8e33d0e767
Remove readityourself plugin
...
Fixes #818
2017-04-01 12:32:43 +02:00
ArthurHoaro
4b385d6c34
Merge pull request #742 from ArthurHoaro/api/postLink
...
REST API: implement POST link service
2017-04-01 10:02:03 +02:00
ArthurHoaro
e96be632f5
Merge pull request #839 from ArthurHoaro/theme/daily-page-title
...
Display daily date in the page title (browser title)
2017-03-29 18:38:52 +02:00
ArthurHoaro
f9c179ce07
Merge pull request #838 from ArthurHoaro/theme/daily-date-format
...
Theme: use format_date function for daily date
2017-03-29 18:38:40 +02:00
ArthurHoaro
935222b8b2
Display daily date in the page title (browser title)
...
Fixes #211
Depends on #838
2017-03-28 20:51:11 +02:00
ArthurHoaro
81bd104daa
Theme: use format_date function for daily date
2017-03-28 20:43:30 +02:00
ArthurHoaro
b64d83cd2b
Merge pull request #837 from ArthurHoaro/theme/js-edit-linklist-margin
...
Theme: JS - Fix a bug preventing edit margin suppression to work
2017-03-27 19:23:54 +02:00
ArthurHoaro
0040058da6
Theme: JS - Fix a bug preventing edit margin suppression to work
...
Explanation: an ID with a leading digit isn't a valid CSS selector
2017-03-27 19:17:49 +02:00
ArthurHoaro
68016e3798
REST API: implement POST link service
2017-03-27 18:44:50 +02:00
ArthurHoaro
b320c860f5
Merge pull request #832 from ArthurHoaro/theme/font
...
Theme: change global font to Roboto and include bold variant
2017-03-27 18:35:33 +02:00
ArthurHoaro
06cb3300f3
Merge pull request #834 from philipp-r/issue-833
...
Tags parameter for redirects
2017-03-25 20:54:48 +01:00
philipp-r
0b04f7970c
Tags parameter for redirects #833
2017-03-25 19:41:01 +01:00
ArthurHoaro
ad5c757066
Theme: change global font to Roboto and include bold variant
...
Fixes #822
2017-03-24 18:49:45 +01:00
ArthurHoaro
bae74cb292
Merge pull request #831 from ArthurHoaro/theme/install-api-enable
...
Add API setting in the new theme during the installation
2017-03-23 18:32:26 +01:00
ArthurHoaro
4296080c8e
Merge pull request #829 from ArthurHoaro/hotfix/id-0
...
Fixes a bug preventing to edit link with ID 0
2017-03-23 18:31:40 +01:00
ArthurHoaro
76be95e199
Add API setting in the new theme during the installation
...
Also use the same variable name across template files
2017-03-22 19:58:22 +01:00
ArthurHoaro
b712ab0ac4
Fixes a bug preventing to edit link with ID 0
...
Fixes #814
2017-03-22 19:08:17 +01:00
ArthurHoaro
c843794786
Merge pull request #828 from ArthurHoaro/project/master-version
...
Fix version check branch for UT
2017-03-22 18:59:40 +01:00
ArthurHoaro
5e4a83bb98
Fix version check branch for UT
2017-03-22 18:55:09 +01:00
ArthurHoaro
dcc85ea619
Merge pull request #798 from ArthurHoaro/feature/composer-lock
...
Include composer.lock in git files
2017-03-22 18:51:20 +01:00
ArthurHoaro
64c34078e4
Merge pull request #816 from ArthurHoaro/project/master-version
...
Use 'dev' version on the master branch
2017-03-22 18:50:33 +01:00
VirtualTam
36eb71fb48
Merge pull request #826 from virtualtam/readme/badges
...
README: use explicit version badges
2017-03-21 21:57:17 +01:00
ArthurHoaro
d16ca2e22f
History: lazy loading for the history file
...
Only read it when it's necessary
2017-03-21 20:29:20 +01:00
ArthurHoaro
4306b184c4
History mechanism
...
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
2017-03-21 20:29:20 +01:00
ArthurHoaro
b2306b0c78
Move database read/write to FileUtils class + additional unit tests
2017-03-21 20:16:26 +01:00
ArthurHoaro
1c070fa812
Include composer.lock in git files
2017-03-21 20:13:13 +01:00
ArthurHoaro
c4c655d9bf
Merge pull request #804 from ArthurHoaro/feature/atom-default
...
Fixes #304 : use atom feed as default
2017-03-21 20:10:49 +01:00
ArthurHoaro
b786c8836f
Set Shaarli's version only in shaarli_version.php file
2017-03-21 20:08:40 +01:00
ArthurHoaro
4bad4bde5a
Merge pull request #817 from ArthurHoaro/feature/json-conf-parsing
...
Proper error if the conf file is invalid instead of fatal error
2017-03-21 20:04:09 +01:00
VirtualTam
643b631281
README: use explicit version badges
...
Closes https://github.com/shaarli/Shaarli/issues/823
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-19 18:50:53 +01:00
ArthurHoaro
5c0e68c071
Merge pull request #815 from ArthurHoaro/theme/display-version
...
Theme: display shaarli version in the footer when logged in
2017-03-12 16:10:15 +01:00
ArthurHoaro
c6a4c2882d
Proper error if the conf file is invalid instead of fatal error
...
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.
2017-03-12 16:09:34 +01:00
ArthurHoaro
bbc6b844c1
Add an updateMethod to match the current remote branch for updates
2017-03-12 15:28:23 +01:00
ArthurHoaro
b897c81f8c
Use 'dev' version on the master branch
...
Allowed check branches are now `latest` and `stable`.
2017-03-12 15:05:59 +01:00
ArthurHoaro
8294195677
Theme: display shaarli version in the footer when logged in
...
Fixes #778
2017-03-12 14:52:44 +01:00
ArthurHoaro
7fc5f07492
Merge pull request #813 from ArthurHoaro/changelog
...
Update changelog
2017-03-12 14:45:46 +01:00
ArthurHoaro
89284d554d
Update changelog
2017-03-12 14:03:19 +01:00
ArthurHoaro
6e0a1310a2
Merge pull request #811 from ArthurHoaro/theme/awesomplete-overflow
...
Fixes #806 : display overflow for awesomplete list
2017-03-12 13:52:35 +01:00
ArthurHoaro
f8a8973f42
Merge pull request #812 from ArthurHoaro/theme/configure-valign
...
Theme: Vertical align theme select in configure
2017-03-12 13:52:23 +01:00
ArthurHoaro
7cea7c7a9a
Theme: Vertical align theme select in configure
...
Fixes #807
2017-03-12 13:42:21 +01:00
ArthurHoaro
15162272f4
Fixes #806 : display overflow for awesomplete list
2017-03-12 13:28:37 +01:00
ArthurHoaro
5eca4ea11e
Merge pull request #809 from ArthurHoaro/cleanup/inline-js
...
Remove inline JS and add LibreJS headers in JS files
2017-03-12 12:59:05 +01:00
ArthurHoaro
b9b41d25e3
Remove inline JS and add LibreJS headers in JS files
...
Fixes #33 (wow!)
Relates to #395
2017-03-12 12:45:32 +01:00
ArthurHoaro
cffc5ce3d1
Merge pull request #808 from ArthurHoaro/demo-readme
...
Shaarli demo moved to shaarli.org
2017-03-11 20:32:35 +01:00
ArthurHoaro
3252fbb3cc
Shaarli demo moved to shaarli.org
2017-03-11 20:27:35 +01:00
ArthurHoaro
196808e14f
Merge pull request #779 from ArthurHoaro/feature/import-parser-logs
...
Link imports are now logged in `data/` folder, and can be debug using…
2017-03-11 14:23:05 +01:00
ArthurHoaro
c4f8360240
Merge pull request #803 from ArthurHoaro/feature/awesomplete-autofirst
...
Fixes #657 : use data-autofirst parameter for awesomeplete
2017-03-11 14:20:55 +01:00
ArthurHoaro
c904bccce1
Merge pull request #805 from ArthurHoaro/mobile-logo
...
Fixes #793 : display the star logo on mobile instead of home logo
2017-03-11 14:20:40 +01:00
ArthurHoaro
6fcb443787
Fixes #793 : display the star logo on mobile instead of home logo
2017-03-11 14:19:59 +01:00
ArthurHoaro
2ea89aba4f
Fixes #304 : use atom feed as default
...
RSS feed is still available with the setting set to false
2017-03-11 14:13:58 +01:00
ArthurHoaro
1739d6b314
Merge pull request #799 from ArthurHoaro/plugins/piwik-url
...
Fix #773 : set Piwik URL protocol
2017-03-11 13:52:00 +01:00
ArthurHoaro
792b26789f
Fixes #657 : use data-autofirst parameter for awesomeplete
...
data-autofirst automatically selects the first item of the list of choice automatically. You just have to press enter to use it.
2017-03-11 13:48:47 +01:00
ArthurHoaro
fe83d45c46
Fix #773 : set Piwik URL protocol
2017-03-11 13:27:02 +01:00
ArthurHoaro
87e9631e4a
Fix namespace issue
2017-03-10 18:49:53 +01:00
ArthurHoaro
c31f3ce048
Upgrade netscape-bookmark-parser dependency to v2.x
2017-03-10 18:46:53 +01:00
ArthurHoaro
48417aed1d
Link imports are now logged in `data/` folder, and can be debug using `dev.debug=true` setting
...
related to #741 and #681
2017-03-10 18:46:53 +01:00
ArthurHoaro
844021ab4c
Merge pull request #797 from ArthurHoaro/hotfix/font-git
...
Prevent git from messing with font files
2017-03-09 20:10:14 +01:00
ArthurHoaro
16a2ef6b5a
Merge pull request #794 from ArthurHoaro/hotfix/namespace
...
Move config exception to dedicated classes with proper namespace
2017-03-09 19:45:52 +01:00
ArthurHoaro
07b57cfef9
Prevent git from messing with font files
...
This should remove font related errors in browser debig consoles
2017-03-09 19:41:32 +01:00
ArthurHoaro
5ba55f0cf2
Move config exception to dedicated classes with proper namespace
2017-03-09 19:16:42 +01:00
ArthurHoaro
9c5daad19c
Merge pull request #792 from ArthurHoaro/feature/private-filter-visual
...
Display private only filter as search criteria
2017-03-09 19:15:47 +01:00
ArthurHoaro
1e38df6606
Merge pull request #791 from ArthurHoaro/feature/ctrl-enter-submit
...
Submit editlink textarea using CTRL+Enter shortcut
2017-03-09 19:14:10 +01:00
VirtualTam
2008098574
Merge pull request #796 from virtualtam/changelog
...
Add v0.7.1 to CHANGELOG.md
2017-03-08 23:07:53 +01:00
VirtualTam
5b750090c7
Add v0.7.1 to CHANGELOG.md
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-08 22:58:44 +01:00
ArthurHoaro
e6cd773f5a
Fix blocking namespace issue
2017-03-08 20:00:21 +01:00
ArthurHoaro
7c26f6626a
Display private only filter as search parameter
2017-03-08 19:57:15 +01:00
ArthurHoaro
2dd698fd79
Submit editlink textarea using CTRL+Enter shortcut
2017-03-08 18:59:54 +01:00
ArthurHoaro
db0caba3c4
Merge pull request #790 from ArthurHoaro/feature/intl-dates
...
Fix autoLocale error and cover it with unit tests
2017-03-07 19:32:36 +01:00
ArthurHoaro
03b9cb600a
Fix autoLocale error and cover it with unit tests
2017-03-07 19:27:17 +01:00
ArthurHoaro
9971f7c82c
Merge pull request #750 from ArthurHoaro/feature/intl-dates
...
Improve datetime display
2017-03-06 21:13:48 +01:00
ArthurHoaro
36c8fb1ef8
Use all_tests target in Travis CI
2017-03-06 21:11:18 +01:00
ArthurHoaro
6c7d686454
Run languages tests using PHPUnit test suites
2017-03-06 21:11:18 +01:00
ArthurHoaro
52b503105d
Improve datetime display
...
Use php-intl extension to display datetimes a bit more nicely, depending on the locale.
What changes:
* the day is no longer displayed
* day number and month are ordered according to the locale
* the timezone is more readable (UTC+1 instead of CET)
2017-03-06 21:11:12 +01:00
ArthurHoaro
1255a42cfe
Improve autoLocale() detection
...
- Creates arrays_combination function to cover all cases
- add the underscore separator in the regex
- add `utf8` encoding in addition to `UTF-8`
2017-03-06 20:32:17 +01:00
VirtualTam
236239be75
Merge pull request #788 from virtualtam/application/namespace/config
...
application: introduce the Shaarli\Config namespace
2017-03-04 20:28:38 +01:00
VirtualTam
cc30d749ab
Merge pull request #789 from virtualtam/changelog
...
Update CHANGELOG.md
2017-03-04 17:08:25 +01:00
VirtualTam
3c66e56435
application: introduce the Shaarli\Config namespace
...
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>
2017-03-04 17:07:52 +01:00
VirtualTam
94cddf7be4
Update CHANGELOG.md
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-04 11:06:16 +01:00
VirtualTam
8868f3ca46
UpdaterTest: ensure PHP 5.3 compatibility
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-04 09:52:48 +01:00
VirtualTam
6b7ddb4871
Bump version to 0.8.4
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-04 09:42:26 +01:00
ArthurHoaro
9ff17ae20e
Add markdown_escape setting
...
This setting allows to escape HTML in markdown rendering or not.
The goal behind it is to avoid XSS issue in shared instances.
More info:
* the setting is set to true by default
* it is set to false for anyone who already have the plugin enabled
(avoid breaking existing entries)
* improve the HTML sanitization when the setting is set to false - but don't consider it XSS proof
* mention the setting in the plugin README
2017-03-04 09:38:12 +01:00
VirtualTam
74198dcdf6
Merge pull request #785 from ArthurHoaro/hotfix/markdown-html
...
Add markdown_escape setting
2017-03-04 09:29:29 +01:00
ArthurHoaro
e037610115
Add markdown_escape setting
...
This setting allows to escape HTML in markdown rendering or not.
The goal behind it is to avoid XSS issue in shared instances.
More info:
* the setting is set to true by default
* it is set to false for anyone who already have the plugin enabled
(avoid breaking existing entries)
* improve the HTML sanitization when the setting is set to false - but don't consider it XSS proof
* mention the setting in the plugin README
2017-02-28 19:16:54 +01:00
ArthurHoaro
5978588578
Merge pull request #754 from ArthurHoaro/webdesign2
...
New default template
2017-02-27 20:24:28 +01:00
ArthurHoaro
7dcbfde5ff
Set the vintage theme by default for the time being
2017-02-27 20:20:53 +01:00
ArthurHoaro
7040169069
Multiple minor improvements and bugfixes regarding the new templates:
...
* Add API settings in `configure.html`
* Fix textarea autoresize
* Load user.css from data folder
* Move fold/expand all button to the right and fix an issue with already folded items
* Reset datetime display to international datetime
* Temporarilly remove JS login panel (need improvement and integration with the plugin system)
* Body background is slightly lighter
* Fix an issue where thumbnails were hidden by description
* Fix an issue where private orange bar wasn't displayed with thumbnails
* Remove the gradient bar behind titles
* Fix empty bookmarklet name in Firefox
2017-02-27 20:01:54 +01:00
ArthurHoaro
430ff07102
Upgrade awesomplete + fix multiple autocompletion fields
2017-02-27 20:01:54 +01:00
ArthurHoaro
246d72e143
Fix markdown plugin color overriding
2017-02-27 20:01:54 +01:00
ArthurHoaro
147f4df843
Improve plugin_admin.js to support multiple ordered rows
2017-02-27 20:01:54 +01:00
ArthurHoaro
402b034648
Introduce the new default Shaarli template
2017-02-27 20:01:54 +01:00
ArthurHoaro
009ce93581
Move default template to vintage folder
2017-02-27 20:01:54 +01:00
ArthurHoaro
9e5a37cc7f
Merge pull request #783 from Sbgodin/spaceInBookmarklets
...
Removes spaces before bookmarklet's name
2017-02-24 12:21:49 +01:00
Christophe HENRY
b848615c52
Removes spaces before and after bookmarklet's name
...
Carriage returns turns into space in some cases. The name of the
bookmarklet, once in the browser bookmarks, is surrounded by spaces.
2017-02-22 20:01:40 +01:00
ArthurHoaro
b9eb50c099
Merge pull request #728 from ArthurHoaro/api/getLink
...
REST API: implements getLink by ID service
2017-02-19 16:48:59 +01:00
ArthurHoaro
16e3d006e9
REST API: implements getLink by ID service
...
See http://shaarli.github.io/api-documentation/#links-link-get
2017-02-19 16:45:59 +01:00
ArthurHoaro
65e56cbe49
Merge pull request #769 from ArthurHoaro/api/getlinks-visibility
...
REST API - getLinks: support the visibility parameter
2017-02-13 08:41:12 +01:00
ArthurHoaro
5f3f19f1c0
Merge pull request #776 from ArthurHoaro/hotfix/linkdb-update
...
Fixes #775 : LinkDB do not access LinkDB before ID system migration
2017-02-04 15:24:49 +01:00
ArthurHoaro
c03455af11
Fixes #775 : LinkDB do not access LinkDB before ID system migration
...
To access LinkDB items with its ArrayAccess implementation, the IDs must be consistent, which isn't the case before `updateMethodDatastoreIds()` execution. v0.6.4 method `updateMethodRenameDashTags()` was accessing it, so an upgrade <0.6.4 to >0.8.x was failing.
This just move the minor update `RenameDashTags` after the IDs update.
2017-02-04 12:01:48 +01:00
ArthurHoaro
6f566b69ba
Merge pull request #771 from ArthurHoaro/master
...
v0.8.3 version bump in master
2017-01-20 17:04:51 +01:00
ArthurHoaro
03cadbe220
Bump version to v0.8.3
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-01-20 16:58:47 +01:00
ArthurHoaro
90d4ed9850
Changelog v0.8.3
2017-01-20 16:58:29 +01:00
ArthurHoaro
63bddaad4b
Bump version to v0.8.3
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-01-20 16:47:36 +01:00
ArthurHoaro
faf8bdda50
Changelog v0.8.3
2017-01-20 16:44:52 +01:00
ArthurHoaro
848939b7ba
Fixes can login function call in loginform.html
...
Fixes #711
2017-01-20 16:41:33 +01:00
ArthurHoaro
c37a6f820b
REST API - getLinks: support the visibility parameter
2017-01-17 18:53:18 +01:00
ArthurHoaro
89dcbe5277
Merge pull request #768 from ArthurHoaro/feature/get-public-links
...
Update LinkFilter to be able to filter only public links
2017-01-17 09:55:25 +01:00
ArthurHoaro
679b6b40db
Merge pull request #767 from ArthurHoaro/feature/delete-tag-redirect
...
Stay on the changetag page after tag deletion
2017-01-17 09:54:25 +01:00
ArthurHoaro
078fcb56ad
Merge pull request #766 from ArthurHoaro/hotfix/deletion-redirect
...
Fix redirection after link deletion
2017-01-17 09:53:55 +01:00
ArthurHoaro
7f96d9ec21
Update LinkFilter to be able to filter only public links
...
No update regarding the UI or the API for now
Fixes #758
2017-01-16 13:57:11 +01:00
ArthurHoaro
b87442f216
Stay on the changetag page after tag deletion
...
+ fix changetag CSS alignement
relates to #756
2017-01-16 13:16:03 +01:00
ArthurHoaro
95e5add4be
Fix redirection after link deletion
...
relates to #756
2017-01-16 13:07:53 +01:00
ArthurHoaro
d029cf67f8
Merge pull request #765 from ArthurHoaro/master
...
Cherry-pick version bump from v0.8 branch
2017-01-16 12:57:56 +01:00
ArthurHoaro
ae7f6b9d09
Bump version to v0.8.2
2017-01-16 12:53:08 +01:00
ArthurHoaro
fcb0d86b90
v0.8.2 Changelog
2017-01-16 12:52:56 +01:00
ArthurHoaro
4d9fd16ddf
Merge pull request #761 from ArthurHoaro/hotfix/referrer-warning
...
Prevent warning if HTTP_REFERER isn't set
2017-01-16 12:40:00 +01:00
ArthurHoaro
514185e14b
Merge pull request #760 from ArthurHoaro/plugins/addlink-css-404
...
Remove CSS call for addlink toolbar plugin
2017-01-16 12:39:24 +01:00
ArthurHoaro
d7d240f136
Merge pull request #759 from ArthurHoaro/hotfix/dup-tags
...
Prevent tag duplicate when renaming
2017-01-16 12:39:01 +01:00
VirtualTam
36dcf997e4
Update Changelog
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-16 11:35:59 +01:00
VirtualTam
3947bbb043
Bump expected minimal PHP version to 5.5
...
Relates to https://github.com/shaarli/Shaarli/issues/599
Relates to db6b09b69ee265a7d775924fcff9c61aaaabf1cb
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-16 11:35:46 +01:00
ArthurHoaro
8bbf02e0db
Prevent warning if HTTP_REFERER isn't set
...
Fixes #723
2017-01-15 17:58:19 +01:00
ArthurHoaro
053673cb71
Remove CSS call for addlink toolbar plugin
...
Fixes #724
2017-01-15 17:50:16 +01:00
ArthurHoaro
d6327389fc
Prevent tag duplicate when renaming
...
Fixes #757
2017-01-15 17:46:24 +01:00
ArthurHoaro
9977c418d6
Merge pull request #727 from ArthurHoaro/api/getlinks
...
REST API: implement getLinks service
2017-01-15 16:49:50 +01:00
ArthurHoaro
5fbab3edb3
Merge pull request #746 from ArthurHoaro/hotfix/delete-button
...
Fix delete button in editlink
2017-01-15 14:01:47 +01:00
ArthurHoaro
c3b00963fe
REST API: implement getLinks service
...
See http://shaarli.github.io/api-documentation/#links-links-collection-get
2017-01-15 13:55:22 +01:00
VirtualTam
63ef549749
API: expect JWT in the Authorization header
...
Relates to https://github.com/shaarli/Shaarli/pull/731
Added:
- require the presence of the 'Authorization' header
Changed:
- use the HTTP Bearer Token authorization schema
See:
- https://jwt.io/introduction/#how-do-json-web-tokens-work-
- https://tools.ietf.org/html/rfc6750
- http://security.stackexchange.com/q/108662
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-15 13:41:04 +01:00
ArthurHoaro
37ab940599
Merge pull request #753 from ArthurHoaro/usercss
...
Move user.css to data folder
2017-01-14 17:56:28 +01:00
ArthurHoaro
7282418baa
Move user.css to data folder
2017-01-14 16:43:32 +01:00
VirtualTam
3ee5c69777
Add an AUTHORS file, simplify COPYING, bump year to 2017
...
Added:
- AUTHORS file listing Shaarli contributors
- mailmap information to group a Git author's different aliases
- Makefile target to list contributors from Git commit data
Changed:
- Simplify COPYING by using a single "Shaarli Community" entry
- Bump year to 2017
See:
- man git-shortlog
- https://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html#_mapping_authors
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-07 14:49:39 +01:00
VirtualTam
ee6f4b64a9
Cleanup: use safe boolean comparisons
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-07 14:37:40 +01:00
ArthurHoaro
066333c03c
Fix delete button in editlink
...
This one was forgotten in #682
2017-01-07 11:15:30 +01:00
Arthur
7418f7cb60
Merge pull request #732 from ArthurHoaro/feature/theme-manager
...
Theme manager: improvements
2017-01-06 11:40:54 +01:00
VirtualTam
93b1fe54fb
Cleanup: explicit method visibility
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-05 19:52:04 +01:00
VirtualTam
724f1e3229
Cleanup: remove unused variables
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-05 19:51:50 +01:00
ArthurHoaro
01c6e32a02
Fix permalink image alignement in daily page
2017-01-05 16:16:27 +01:00
ArthurHoaro
04a0e8ea34
Updater: keep custom theme preference with the new theme setting
2017-01-05 16:16:27 +01:00
ArthurHoaro
a0df06517b
Minor improvements regarding #705 (coding style, unit tests, etc.)
2017-01-05 16:16:23 +01:00
VirtualTam
69173356cd
API+Docker: enable nginx URL rewriting
...
Closes https://github.com/shaarli/Shaarli/issues/668
Changed:
- let nginx rewrite API URLs
See:
- https://www.slimframework.com/docs/start/web-servers.html
- https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_split_path_info
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-05 13:24:00 +01:00
VirtualTam
383cbaf2c5
Merge pull request #739 from virtualtam/fix/api/jwt-signature
...
API: fix JWT signature verification
2017-01-05 12:39:17 +01:00
Knah Tsaeb
adc4aee80f
Change templates set through administration UI
2017-01-05 12:04:02 +01:00
VirtualTam
7a9daac56d
API: fix JWT signature verification
...
Fixes https://github.com/shaarli/Shaarli/issues/737
Added:
- Base64Url utilities
Fixed:
- use URL-safe Base64 encoding/decoding functions
- use byte representations for HMAC digests
- all JWT parts are Base64Url-encoded
See:
- https://en.wikipedia.org/wiki/JSON_Web_Token
- https://tools.ietf.org/html/rfc7519
- https://scotch.io/tutorials/the-anatomy-of-a-json-web-token
- https://jwt.io/introduction/
- https://en.wikipedia.org/wiki/Base64#URL_applications
- https://secure.php.net/manual/en/function.base64-encode.php#103849
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-04 16:59:47 +01:00
Arthur
fc11ab2f29
Merge pull request #682 from ArthurHoaro/delete-button
...
Bugfixes on link deletion, and use a GET form
2017-01-04 16:35:29 +01:00
Arthur
061f04fba0
Merge pull request #733 from ArthurHoaro/hotfix/reverse-proxy-port
...
Hide default ports in local URL behind a reverse proxy
2017-01-04 16:34:06 +01:00
VirtualTam
2d3a9be73d
Merge pull request #736 from virtualtam/url/annoying/campaign
...
URL cleanup: add 'campaign_' to the annoying parameters
2017-01-04 11:48:22 +01:00
VirtualTam
eaf2524887
URL cleanup: add 'campaign_' to the annoying parameters
...
Closes https://github.com/shaarli/Shaarli/issues/735
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-04 11:42:05 +01:00
VirtualTam
67a1d5d823
Merge pull request #731 from virtualtam/fix/api/namespaces
...
API: fix Slim namespaces
2017-01-03 16:21:18 +01:00
Arthur
f3ca027d3a
Merge pull request #734 from ArthurHoaro/hotfix/api-install-error
...
Fix fatal error during the install
2017-01-03 14:45:10 +01:00
ArthurHoaro
e3a430babb
Fix fatal error during the install
2017-01-03 14:25:04 +01:00
ArthurHoaro
8e4be77368
Hide default port in local URL behind a reverse proxy
2017-01-03 14:17:05 +01:00
Arthur
436479c58f
Merge pull request #719 from ArthurHoaro/feed-opensearch
...
Add opensearch to RSS and ATOM feeds
2017-01-03 10:07:08 +01:00
Arthur
64497fb302
Merge pull request #725 from ArthurHoaro/hotfix/privatetags-split
...
Fixes presence of empty tags for private tags and in search results
2017-01-03 09:57:52 +01:00
ArthurHoaro
af815f771c
Add opensearch to RSS and ATOM feeds
...
Fixes #709
2017-01-03 09:57:19 +01:00
ArthurHoaro
b3051a6aae
Fixes presence of empty tags for private tags and in search results
...
* Private tags: make sure empty tags are properly filtered
* Search results:
* Use preg_split instead of function combination
* Add normalize_spaces to remove extra whitespaces displaying empty tags search
2017-01-03 09:47:15 +01:00
VirtualTam
465b1c4090
API: fix Slim namespaces
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-02 18:37:08 +01:00
Arthur
e0177549c7
Merge pull request #620 from ArthurHoaro/pubsubhub
...
Move Pubsubhub to a default plugin
2016-12-20 11:44:19 +01:00
ArthurHoaro
db90dfcbbc
Move PubSubHubbub code as a default plugin
2016-12-20 11:41:24 +01:00
ArthurHoaro
085efc33cc
Add plugin placeholders in RSS and ATOM feeds templates
2016-12-20 11:32:15 +01:00
Arthur
80677a23e2
Merge pull request #666 from ArthurHoaro/slim-api
...
REST API structure using Slim framework
2016-12-20 11:30:05 +01:00
ArthurHoaro
e350aa750f
Fix typo in markdown plugin meta description
2016-12-18 14:27:32 +01:00
ArthurHoaro
f4ebd5fed2
Bugfixes on link deletion, and use a GET form
...
Use a GET form to delete links: harmonize with edit_link and preparation for #585
Bug fixes:
* LinkDB element can't be passed as reference, fix error:
PHP Notice: Indirect modification of overloaded element of LinkDB has no effect
* Resource cache folder setting wasn't set correctly
2016-12-16 12:42:13 +01:00
Arthur
e3ffc8fdee
Merge pull request #714 from ArthurHoaro/hotfix/banlogin
...
Fixes can login function call in loginform.html
2016-12-16 12:23:47 +01:00
Arthur
1022c59df8
Merge pull request #717 from ArthurHoaro/v0.8
...
Preparation of v0.8.2
2016-12-15 11:58:39 +01:00
ArthurHoaro
455f776a3d
Bump version to v0.8.2
2016-12-15 11:52:31 +01:00
ArthurHoaro
5036cffade
v0.8.2 Changelog
2016-12-15 11:49:41 +01:00
ArthurHoaro
00be9941f3
Fix a regression: permalinks change when old links are edited
...
fixes #713
2016-12-15 11:43:42 +01:00
Arthur
c0d96ce590
Merge pull request #716 from ArthurHoaro/hotfix/editoldlinks
...
Fix a regression: permalinks change when old links are edited
2016-12-15 11:41:22 +01:00
ArthurHoaro
826c6af7c0
Fix a regression: permalinks change when old links are edited
...
fixes #713
2016-12-15 11:18:56 +01:00
ArthurHoaro
4cfe8d3303
Fixes can login function call in loginform.html
...
Fixes #711
2016-12-15 10:57:11 +01:00
ArthurHoaro
18e6796726
REST API structure using Slim framework
...
* REST API routes are handle by Slim.
* Every API controller go through ApiMiddleware which handles security.
* First service implemented `/info`, for tests purpose.
2016-12-15 10:36:00 +01:00
ArthurHoaro
423ab02846
PHP requirement increased to PHP 5.5 - See #599
2016-12-15 10:04:05 +01:00
ArthurHoaro
cbfdcff261
Prepare settings for the API in the admin page and during the install
...
API settings:
- api.enabled
- api.secret
The API settings will be initialized (and the secret generated) with an update method.
2016-12-12 03:54:10 +01:00
ArthurHoaro
624f999fb7
Ignore compressed tar archive
2016-12-12 03:51:48 +01:00
Arthur
ab18fe06d6
Merge pull request #708 from ArthurHoaro/v0.8.1
...
Bump version to v0.8.1
2016-12-12 03:40:09 +01:00
ArthurHoaro
3cc8c89830
Bump version to v0.8.1
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-12-12 03:38:12 +01:00
Arthur
75f7adee19
Merge pull request #707 from ArthurHoaro/changelog
...
changelog: add release date for v0.8.1 and add section v0.9.0
2016-12-12 03:32:13 +01:00
ArthurHoaro
00670b2071
changelog: add release date for v0.8.1 and add section v0.9.0
2016-12-12 03:30:54 +01:00
Arthur
622d7864e9
Merge pull request #706 from ArthurHoaro/changelog
...
changelog update
2016-12-12 03:28:02 +01:00
ArthurHoaro
6c1be5bcec
changelog update
2016-12-12 03:26:56 +01:00
Arthur
9cf93bcfc5
Merge pull request #697 from ArthurHoaro/feature/ids-bis
...
Link ID refactoring
2016-12-12 03:15:32 +01:00
Arthur
a0d079141e
Merge pull request #679 from ArthurHoaro/plugins/header
...
Improve theme dependent plugin placeholders:
2016-12-12 03:07:13 +01:00
ArthurHoaro
d592daea83
Add a persistent 'shorturl' key to all links
...
All existing link will keep their permalinks.
New links will have smallhash generated with date+id.
The purpose of this is to avoid collision between links due to their creation date.
2016-12-12 03:03:12 +01:00
ArthurHoaro
c3dfd89959
Unit Test for the new ID system
2016-12-12 03:03:12 +01:00
ArthurHoaro
01878a75b9
Apply the new ID system accros the whole codebase
2016-12-12 03:03:12 +01:00
ArthurHoaro
1dc37f9cf8
Update method to use the new ID system, which replaces linkdate primary keys.
...
creation and update dates are now DateTime objects.
Since this update is very sensitve (changing the whole database), the datastore will be automatically backed up into the file datastore.<datetime>.php.
2016-12-12 03:02:01 +01:00
ArthurHoaro
29d108820f
Link ID refactoring
...
Links now use an incremental unique numeric identifier.
This ID is persistent and must never change.
ArrayAccess is used to match the link ID with the array keys (see the comment in LinkDB for more details)
Key 'created' added, with creation date as a DateTime object. 'updated' is now also a DateTime.
2016-12-12 03:02:01 +01:00
Arthur
bea80e43a3
Merge pull request #702 from ArthurHoaro/feed-cdata
...
Remove new line between content tag and CDATA in ATOM feed
2016-12-05 11:18:59 +01:00
Arthur
cd93689537
Merge pull request #703 from ArthurHoaro/changelog
...
Add latest merged changes to the CHANGELOG
2016-12-05 11:18:39 +01:00
ArthurHoaro
b92287b698
Add latest merged changes to the CHANGELOG
2016-12-03 09:17:14 +01:00
Arthur
19b3930ff3
Merge pull request #701 from ArthurHoaro/plugins/md-html-doc
...
Describe markdown HTML rendering and display a warning
2016-12-03 08:52:12 +01:00
ArthurHoaro
1d2cef8aef
Remove new line between content tag and CDATA in ATOM feed
...
Content not starting directly with CDATA can be misinterpreted by some feed parsers.
2016-12-02 18:37:41 +01:00
ArthurHoaro
3d8f5cf84b
Describe markdown HTML rendering and display a warning
...
Fixes #688
2016-12-01 12:44:37 +01:00
ArthurHoaro
ba0fd80732
Improve theme dependent plugin placeholders:
...
- buttons_toolbar: now expect links represented by an array instead of HTML content
- fields_toolbar: now expect a form represented by an array instead of HTML content
- action_plugin: now expect links represented by an array instead of HTML content
Default templates updated accordingly
mprove theme dependent plugin placeholders:
2016-12-01 11:38:21 +01:00
Arthur
6781465fda
Merge pull request #691 from ArthurHoaro/plugins/no-md-feed
...
Markdown: fixes feed rendering with nomarkdown tag
2016-12-01 11:13:04 +01:00
Arthur
2a54398371
Merge pull request #700 from teromene/firefox-social-title
...
Show page title when sharing via Firefox Social.
2016-11-30 09:13:38 +01:00
Arthur
fd7d9cad2b
Merge pull request #699 from teromene/https-no-social
...
Disable Firefox Social in the tools section if the page is not loaded using HTTPS.
2016-11-30 09:13:22 +01:00
Teromene
870541f112
Show page title when sharing via Firefox Social.
2016-11-29 11:30:37 +00:00
Teromene
caa382dd55
Disable Firefox Social in the tools section if the page is not loaded using HTTPS, as Firefox will deny the request.
2016-11-29 11:06:31 +00:00
ArthurHoaro
266e3fe5c8
Markdown: fixes feed rendering with nomarkdown tag
...
* make sure we match exactly `nomarkdown` tag
* pass the whole link data to stripNoMarkdownTag() to:
* strip the noMD tag in taglist (array)
* strip the tag in tags (string)
Fixes #689
tmp
2016-11-22 10:26:03 +01:00
Arthur
76fb679e38
Merge pull request #692 from fpunktk/patch-1
...
add meta tag to block sending the referrer
2016-11-22 09:30:27 +01:00
Felix Kästner
1ef05d3601
Add meta tag to block sending the referrer
...
Add a meta tag that tells the browser not to send the referrer header to
external sites.
2016-11-21 22:54:03 +01:00
Arthur
e2e6ec0f4d
Merge pull request #680 from ArthurHoaro/apache-htaccess
...
.htaccess files: support Apache 2.4+ syntax
2016-11-08 15:32:14 +01:00
Arthur
8185e864a2
Merge pull request #684 from virtualtam/fix/docker/nginx
...
Docker: fix & improve nginx+php-fpm configuration
2016-11-08 12:06:00 +01:00
ArthurHoaro
5ebc1d504b
.htaccess files: support Apache 2.4+ syntax
...
If `mod_version` is enabled, the previous syntax will apply for Apache <2.4.
If not, the new syntax is used by default.
Fixes #676
`mod_version` identifier is `version_module` across all Apache versions. See:
* https://httpd.apache.org/docs/current/mod/mod_version.html
* https://httpd.apache.org/docs/2.2/mod/mod_version.html
* https://serverfault.com/questions/733910/how-do-i-load-mod-version-only-if-it-isnt-built-in-to-apache
Note that version_module comes built-in with Debian (and derivatives) Apache2 packages, see https://wiki.debian.org/Apache/PackagingFor24
2016-11-08 11:38:14 +01:00
VirtualTam
f5f6a4b7e2
Merge pull request #683 from ArthurHoaro/plugins/w3ccompliance
...
Plugins W3C compliance
2016-11-06 14:38:56 +01:00
VirtualTam
68579ad5c4
Docker: increase maximum file upload size to 10 MiB
...
Relates to https://github.com/shaarli/Shaarli/issues/681
Changed:
- nginx+php-fpm: set maximum upload size to 10 MiB
See:
- https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
- https://secure.php.net/manual/en/ini.core.php#ini.post-max-size
- https://secure.php.net/manual/en/ini.core.php#ini.upload-max-filesize
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-11-06 00:43:50 +01:00
VirtualTam
b7f8b874bb
Docker: set favicon location in nginx configuration
...
Relates to https://github.com/shaarli/Shaarli/issues/681
Fixed:
- nginx: set the favicon location
See http://serverfault.com/a/352861
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-11-05 19:57:36 +01:00
ArthurHoaro
989aa439dd
Plugins W3C compliance
...
Add an alt attribute to images
2016-11-05 15:13:32 +01:00
Arthur
849d1650c1
Merge pull request #677 from yapbreak/master
...
Piwik Plugin
2016-11-02 13:04:37 +01:00
Adrien Oliva
e6c7e33663
Add Piwik Plugin
...
[PullRequest #677 ] Change after Review
Fix logic, my bad!
2016-11-02 08:42:06 +01:00
VirtualTam
761b4e2837
Merge pull request #674 from ArthurHoaro/parsedown-composer
...
Use Composer for Parsedown and fix an issue with links
2016-10-22 12:53:15 +02:00
ArthurHoaro
c5941f316a
Fix an issue with links not being reversed in code blocks
...
Fixes #672
+ Markdown to HTML unit test
2016-10-22 11:13:48 +02:00
ArthurHoaro
e680cfea08
Use Composer to import Parsedown library
...
Reference #613
2016-10-22 11:13:13 +02:00
VirtualTam
3d5e0aede3
Merge pull request #673 from virtualtam/cleanup/linkdb
...
LinkDB: code cleanup
2016-10-21 11:04:52 +02:00
VirtualTam
954dc2446c
Merge pull request #665 from ArthurHoaro/fix/feed-hashtags
...
Fix hashtag links in Feeds
2016-10-20 21:37:28 +02:00
VirtualTam
735ed4a94e
LinkDB: explicit method visibility
...
Relates to https://github.com/shaarli/Shaarli/issues/95
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-20 21:33:42 +02:00
VirtualTam
f21abf3292
LinkDB: update datastore method names
...
Relates to https://github.com/shaarli/Shaarli/issues/95
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-20 21:33:40 +02:00
VirtualTam
628b97cbdf
LinkDB: do not prefix privates with an underscore
...
Relates to #95
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-20 21:10:56 +02:00
VirtualTam
fb6c8f770a
Merge pull request #671 from ArthurHoaro/cleanup-code
...
Minor code cleanup: PHPDoc, spelling, unused variables, etc.
2016-10-20 20:41:24 +02:00
ArthurHoaro
fbc28ff1c8
Fix hashtags links in Feeds
...
Make the hashtag link absolute in feeds to work properly in RSS syndication tools.
2016-10-20 11:42:01 +02:00
ArthurHoaro
7af9a41881
Minor code cleanup: PHPDoc, spelling, unused variables, etc.
2016-10-20 11:36:11 +02:00
Arthur
ceeb8fbeb8
Merge pull request #670 from virtualtam/travis/composer-cache
...
Travis: enable Composer cache
2016-10-20 10:51:40 +02:00
VirtualTam
ae04803bb1
Travis: enable Composer cache
...
See:
- https://docs.travis-ci.com/user/caching/
- https://blog.wyrihaximus.net/2015/07/composer-cache-on-travis/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-20 00:28:01 +02:00
VirtualTam
918bd5b912
Merge pull request #661 from virtualtam/release/archive
...
Update release archive generation
2016-10-19 20:03:47 +02:00
VirtualTam
ca0ed5ca42
Update release archive generation
...
Relates to https://github.com/shaarli/Shaarli/issues/607
Relates to https://github.com/shaarli/Shaarli/pull/608
Modifications:
- match the arborescence of the archives provided by GitHub
- generate compressed tarballs
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-19 19:50:12 +02:00
VirtualTam
efd0773854
Merge pull request #664 from virtualtam/changelog
...
Add CHANGELOG.md
2016-10-19 11:19:00 +02:00
VirtualTam
c47d9723ce
CHANGELOG.md: add an UNPUBLISHED draft for v0.8.1
...
Relates to #663
See http://keepachangelog.com/en/0.3.0/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-18 22:37:52 +02:00
VirtualTam
17c9ac7c35
CHANGELOG.md: improve formatting, fix typos
...
Relates to #663
See http://keepachangelog.com/en/0.3.0/
See http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history
Modifications:
- keep 2 newlines between each release section
- keep reasonable line lengths (< 90 characters)
- remove extra final dots (only kept when there are several sentences)
- fix typos
- reword/rewrite/curate legacy changelog entries
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-18 19:27:44 +02:00
VirtualTam
f1f1156d84
CHANGELOG.md: add legacy Shaarli releases
...
Relates to https://github.com/shaarli/Shaarli/issues/663
See http://keepachangelog.com/en/0.3.0/
See http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history
See http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history&do=revisions
See http://sebsauvage.net/rhaa/index.php?q=shaarli
These entries correspond to the original (legacy) Shaarli release
notes by Sebsauvage.
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-18 19:24:09 +02:00
VirtualTam
31081154b9
CHANGELOG.md: add unpublished Shaarli Community releases
...
Relates to https://github.com/shaarli/Shaarli/issues/663
See http://keepachangelog.com/en/0.3.0/
These entries correspond to the first lightweight tags present on the
Shaarli Community repository. As there are no corresponding release (notes),
the changelog is based on relevant elements from the Git commit log.
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-18 19:07:28 +02:00
VirtualTam
5eb7247852
CHANGELOG.md: add published Shaarli Community releases
...
Relates to https://github.com/shaarli/Shaarli/issues/663
See http://keepachangelog.com/en/0.3.0/
This file mirrors the content of the Shaarli release notes available at
https://github.com/shaarli/Shaarli/releases
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-18 19:07:18 +02:00
Arthur
c1c2102850
Merge pull request #651 from ArthurHoaro/plugin-isso2
...
Isso comments plugin
2016-10-18 08:14:09 +02:00
VirtualTam
8406a4b670
Merge pull request #662 from virtualtam/fix/feed/self-link
...
Fix: return the proper value for the "self" feed attribute
2016-10-17 17:58:39 +02:00
VirtualTam
209aa96e7e
Merge pull request #660 from virtualtam/fix/template/loop
...
Cleanup: explicitely loop over PHP variables in templates
2016-10-17 10:20:50 +02:00
ArthurHoaro
bf26e7ebcb
Isso comments plugin
...
Use Isso client to let visitors comments on permalinks
2016-10-17 09:23:14 +02:00
Arthur
06eec9bf76
Merge pull request #659 from ArthurHoaro/plugin-errors
...
New init function for plugins, supports errors reporting
2016-10-17 08:50:18 +02:00
VirtualTam
44a718090d
Fix: return the proper value for the "self" feed attribute
...
Fixes https://github.com/shaarli/Shaarli/issues/629
Closes https://github.com/shaarli/Shaarli/pull/630
Note: you might need to empty the "pagecache" directory for the
fix to be taken into account
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-16 20:58:15 +02:00
VirtualTam
dec5fe9c69
Cleanup: explicitely loop over PHP variables in templates
...
Relates to https://github.com/shaarli/Shaarli/issues/613
Before: {loop="someVariable"}
After: {loop="$someVariable"}
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-16 17:41:08 +02:00
VirtualTam
bb70e69059
Merge pull request #658 from ArthurHoaro/hotfix/plugin-desc-bug
...
Bugfix: display plugin parameter description only if it exists
2016-10-16 16:37:46 +02:00
ArthurHoaro
7fde6de121
New init function for plugins, supports errors reporting
...
All plugins can optionally add an init function named `pluginname_init()` which is called when the plugin is loaded.
This function is aware of the config, and can return initialization errors, which are displayed in the header template.
Note that the previous error system hack no longer work.
2016-10-14 13:22:58 +02:00
ArthurHoaro
e3de09b4c8
Bugfix: display plugin parameter description only if it exists
2016-10-14 12:48:01 +02:00
VirtualTam
f63632a6fb
Merge pull request #654 from teromene/archive-org-no-internal
...
Archive.org plugin: do not propose archival of private notes
Fixes #637
2016-10-13 18:12:55 +02:00
Teromene
5e148f8a52
Archive.org plugin: do not propose archival of private notes
...
Fixes #637
2016-10-13 16:37:43 +01:00
Arthur
0354257266
Merge pull request #622 from ArthurHoaro/update-date
...
Save link update dates and render it in templates and feeds
2016-10-12 14:51:37 +02:00
Arthur
adcdac1dec
Merge pull request #623 from ArthurHoaro/security/reverse-proxy-ban
...
Add trusted IPs in config and try to ban forwarded IP on failed login
2016-10-12 14:48:57 +02:00
Arthur
24cfb960cf
Merge pull request #656 from ArthurHoaro/v0.8.0
...
Bump version to v0.8.0
2016-10-12 12:39:52 +02:00
ArthurHoaro
fdf88d1948
Bump version to v0.8.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-10-12 12:36:59 +02:00
Knah Tsaeb
da3abc7591
Fix search tag style
2016-09-16 10:47:07 +02:00
VirtualTam
dc8e03bfc4
Merge pull request #649 from krypty/dockerfile-issue
...
Add a missing backslash in stable Dockerfile version
2016-09-14 12:08:51 +02:00
Knah Tsaeb
645557480c
Change tag style
2016-09-14 11:13:49 +02:00
Gary Marigliano
7329118e9c
Add a missing backslash in stable Dockerfile version
2016-09-14 11:08:11 +02:00
VirtualTam
d06c28ef64
Merge pull request #646 from virtualtam/composer/check-autoload
...
composer: display an error message if the autoload script is missing
2016-09-06 19:17:23 +02:00
VirtualTam
5283175367
composer: display an error message if the autoload script is missing
...
Closes https://github.com/shaarli/Shaarli/issues/645
Relates to https://github.com/shaarli/Shaarli/issues/607
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-09-05 00:04:57 +02:00
Knah Tsaeb
e68e261882
[upd] Parsedown to 1.6.0
2016-08-26 14:26:21 +02:00
Knah Tsaeb
0605188d4e
Merge branch 'master' into myShaarli
2016-08-25 15:10:55 +02:00
Knah Tsaeb
12180ef604
[fix] checkversion url
2016-08-25 15:04:39 +02:00
Knah Tsaeb
9a3783ed20
[fix] bad merge
2016-08-25 14:27:57 +02:00
Knah Tsaeb
86894a7261
[add] support of Wallabag V2 + option in config manager
2016-08-25 14:11:43 +02:00
VirtualTam
e1fd94b545
README: fix link address typo
...
Fixes https://github.com/shaarli/Shaarli/issues/642
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-08-20 16:42:35 +02:00
nodiscc
ca089c5bad
update link to install instuctions in README
2016-08-17 16:07:54 +02:00
VirtualTam
bb953a0106
Merge pull request #638 from virtualtam/docker/stable/composer
...
Docker: update dependencies, introduce Composer (stable branch)
2016-08-14 17:11:24 +02:00
VirtualTam
cc951468c0
Merge pull request #633 from virtualtam/docker/composer
...
Docker: update dependencies, introduce Composer
2016-08-14 16:28:07 +02:00
VirtualTam
665279ec99
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
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>
2016-08-14 16:23:57 +02:00
VirtualTam
90f12b12ca
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>
2016-08-14 16:21:30 +02:00
VirtualTam
8758bb0ac8
Merge pull request #619 from ArthurHoaro/plugins/param-desc
...
Add a description to plugin parameters
2016-08-13 14:48:51 +02:00
VirtualTam
eec3666ba6
Merge pull request #636 from virtualtam/fix/final-newline
...
Fix: add missing final newlines, untabify text
2016-08-13 14:27:14 +02:00
VirtualTam
db6dec0de1
Fix: add missing final newlines, untabify text
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-08-13 14:22:22 +02:00
VirtualTam
f396134bf1
Merge pull request #635 from virtualtam/fix/import/ie
...
Fix: ensure Internet Explorer bookmark dumps can be imported
2016-08-13 13:59:12 +02:00
VirtualTam
f4ad7bde56
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>
2016-08-12 23:22:15 +02:00
VirtualTam
a34d6da642
Merge pull request #634 from virtualtam/composer/gitattributes
...
Fix: keep composer.json in release archives
2016-08-12 22:09:07 +02:00
VirtualTam
b039a061eb
Fix: keep composer.json in release archives
...
Relates to https://github.com/shaarli/Shaarli/issues/607
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-08-12 22:02:59 +02:00
Arthur
e0dd77c37e
Merge pull request #612 from virtualtam/refactor/bookmark-parser
...
Refactor bookmark import using a generic Netscape parser
2016-08-10 12:10:41 +02:00
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
VirtualTam
085157c5cb
Merge pull request #632 from virtualtam/composer/shaarli/netscape-bookmark-parser
...
Composer: reference shaarli/netscape-bookmark-parser from Packagist
2016-08-10 01:00:51 +02:00
VirtualTam
8c4958c508
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>
2016-08-10 00:47:53 +02:00
Arthur
d0d3623172
Merge pull request #624 from julienCXX/pr-curl-http-fetch
...
Added (and set as default) a cURL-based method for fetching HTTP content
2016-08-09 13:15:19 +02:00
julienCXX
634783f916
Set cURL as default in HTTP fetching, a fallback method and consistency fixup between both methods
2016-08-08 20:45:50 +02:00
Arthur
6b98d46179
Merge pull request #628 from ArthurHoaro/hotfix/default-private
...
Bugfix: wrong key used to get default private links setting
2016-08-07 12:16:27 +02:00
ArthurHoaro
cdbc818037
Bugfix: wrong key used to get default private links setting
2016-08-07 12:15:08 +02:00
Arthur
cb30622d8b
Merge pull request #627 from ArthurHoaro/feature/translate-init
...
Initialize a translation function
2016-08-07 12:03:48 +02:00
ArthurHoaro
edf3ff5a53
Initialize a translation function
...
It matches the API of ngettext().
2016-08-07 11:54:39 +02:00
VirtualTam
65b2c795d0
Merge pull request #625 from ArthurHoaro/token
...
Generate a token for every pages
2016-08-07 00:29:08 +02:00
VirtualTam
83dbc41a77
Merge pull request #626 from ArthurHoaro/hotfix/changepassword
...
Bugfix: enable change password if open shaarli is disabled
2016-08-07 00:17:42 +02:00
ArthurHoaro
15ff4745ff
Bugfix: enable change password if open shaarli is disabled
2016-08-06 14:38:47 +02:00
ArthurHoaro
fd5ac47ea2
Generate a token for every pages
2016-08-06 14:09:26 +02:00
ArthurHoaro
50d1791838
Add trusted IPs in config and try to ban forwarded IP on failed login
...
* Add a new settings (which needs to be manually set): `security.trusted_proxies`
* On login failure, if the `REMOTE_ADDR` is in the trusted proxies, try to retrieve the forwarded IP in headers.
* If found, the client address is added in ipbans, else we do nothing.
Fixes #409
2016-08-03 10:36:47 +02:00
ArthurHoaro
c6d876bb2a
Set updated date for items in feeds
...
RSS doesn't support updated date for items, so we use the ATOM extension.
Updated dates also bump the global update
2016-08-03 09:54:57 +02:00
ArthurHoaro
9646b7da22
Save the update date in LinkDB and pass it to linklist templates
...
It can be used as a timestamp by templates under the key 'updated_timestamp'.
2016-08-03 09:44:04 +02:00
VirtualTam
c7a42ab1d9
Merge pull request #621 from ArthurHoaro/hotfix/update-escape-config
...
Fix update method escapeUnescapedConfig
2016-08-02 19:46:47 +02:00
VirtualTam
58f0660f80
Merge pull request #618 from ArthurHoaro/tagclean
...
Better whitespace handling in tags
2016-08-02 15:37:43 +02:00
ArthurHoaro
b9f8b83790
Fix update method escapeUnescapedConfig
...
* Actually run it
* unit tests
Fixes #611
2016-08-02 12:54:55 +02:00
ArthurHoaro
876533e868
Add a description to wallabag plugin parameters
2016-08-02 11:12:05 +02:00
ArthurHoaro
1442afe3cf
Plugin parameter description: Update the templates to display them
2016-08-02 11:12:05 +02:00
ArthurHoaro
15170b5164
Parse plugin parameters description with the PluginManager
...
Plugin parameter can contain a description in their meta file under the key:
parameter.<param_name>="<description>"
2016-08-02 11:12:01 +02:00
ArthurHoaro
9866b40814
Better whitespace handling in tags
...
Correct PR #573 to work properly with hidden tags, and add ReferenceLinkDB UT.
Fixes #571 - Closes #573
2016-08-02 10:34:21 +02:00
Chris Kuethe
32d51093e3
add unit test
2016-08-02 10:22:18 +02:00
Chris Kuethe
4b35853d68
Better whitespace handling in tags. Fixes #571
2016-08-02 10:22:18 +02:00
VirtualTam
efc0c865ba
Merge pull request #608 from virtualtam/refactor/bookmark-parser
...
Reference netscape-bookmark-parser & allow generating custom release archives
2016-07-26 22:13:53 +02:00
VirtualTam
559315ba0a
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>
2016-07-25 23:54:13 +02:00
VirtualTam
7f5ab8c0a4
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>
2016-07-23 17:14:15 +02:00
Arthur
2795cf5e1c
Merge pull request #605 from ArthurHoaro/clean-phpunit
...
Hide expected 'error_log' while running TU (clean PHPUnit log)
2016-07-23 14:20:23 +02:00
Arthur
a4cd07eee2
Merge pull request #604 from ArthurHoaro/no-delicious
...
Remove Delicious in project description in comments
2016-07-23 14:16:59 +02:00
ArthurHoaro
87f9f4f9b7
Hide expected 'error_log' while running TU (clean PHPUnit log)
2016-07-23 14:16:07 +02:00
ArthurHoaro
2d97aa7781
Remove Delicious in project description in comments
2016-07-23 14:13:56 +02:00
Arthur
8562009682
Merge pull request #601 from ArthurHoaro/hotfix/title-missing
...
Fixes #600 - Shaarli's title is not set with the new config manager
2016-07-23 10:31:33 +02:00
Arthur
d5307a4e00
Merge pull request #603 from julienCXX/pr-fix-test-method-name
...
Fix typo in test method name
2016-07-21 20:05:49 +02:00
julienCXX
1336a7326b
Fix typo in test method name
2016-07-21 19:42:26 +02:00
ArthurHoaro
97ef33bb72
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
2016-07-19 18:03:09 +02:00
Arthur
b6e58bab8a
Merge pull request #596 from ArthurHoaro/hotfix/pluginmanager-tpl-var
...
Fix session_protection_disabled variable in configure.php
2016-07-10 10:45:01 +02:00
ArthurHoaro
2e193ad387
Fix variable in configure.php
2016-07-10 10:42:21 +02:00
Arthur
0c4c7ae818
Merge pull request #558 from ArthurHoaro/hashtag4
...
Hashtag system
2016-07-09 07:36:23 +02:00
Arthur
649af5b501
Merge pull request #570 from ArthurHoaro/config-manager
...
Introduce a configuration manager
2016-07-09 07:19:48 +02:00
ArthurHoaro
5ff23f02b8
Add closing PHP tags to JSON config files
2016-06-20 18:30:37 +02:00
VirtualTam
a9cfa38df9
Merge pull request #592 from virtualtam/composer-metadata
...
Update composer metadata
2016-06-16 20:20:34 +02:00
Knah Tsaeb
6658463e9e
[fix] private icon not show
2016-06-16 09:31:31 +02:00
VirtualTam
8945c76b62
Update composer metadata
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-06-15 21:27:45 +02:00
ArthurHoaro
b302c77c74
Pass the configuration manager to templates
2016-06-15 18:22:19 +02:00
Knah Tsaeb
e9cda12d81
[fix] private icon not show
2016-06-15 09:10:11 +02:00
Knah Tsaeb
c29027dd1a
Merge branch 'private_link' into myShaarli
2016-06-15 09:03:44 +02:00
Knah Tsaeb
9a49486707
Bump version
2016-06-14 12:01:23 +02:00
Knah Tsaeb
5ac350359c
[fix] private icon not show
2016-06-14 11:59:10 +02:00
Knah Tsaeb
34b2678fd9
[fix] bad link for myShaarli repo
2016-06-14 11:41:43 +02:00
nodiscc
c3599302aa
Firefox Share: Use selected text as description
...
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Social_API/Share
2016-06-12 15:10:31 +02:00
ArthurHoaro
894a3c4bf3
Rename configuration key for better sections
2016-06-11 09:30:56 +02:00
ArthurHoaro
51def0d849
PluginManager no longer uses singleton pattern
2016-06-11 09:30:56 +02:00
ArthurHoaro
278d9ee283
ConfigManager no longer uses singleton pattern
2016-06-11 09:30:56 +02:00
ArthurHoaro
7f179985b4
Remove remaining settings initialization in index.php
...
Except for those which require external data (timezone and $_SERVER).
2016-06-11 09:30:56 +02:00
ArthurHoaro
da10377b3c
Rename configuration keys and fix GLOBALS in templates
2016-06-11 09:30:56 +02:00
ArthurHoaro
eeea1c3daa
Use the configuration manager for wallabag and readityourself plugin
2016-06-11 09:30:56 +02:00
ArthurHoaro
d93d51b213
Set the default timezone in index.php
2016-06-11 09:30:56 +02:00
ArthurHoaro
b74b96bfbd
Adds ConfigJson which handle the configuration in JSON format.
...
Also use the Updater to make the transition
2016-06-11 09:30:56 +02:00
ArthurHoaro
684e662a58
Replace $GLOBALS configuration with the configuration manager in the whole code base
2016-06-11 09:30:56 +02:00
ArthurHoaro
59404d7909
Introduce a configuration manager (not plugged yet)
2016-06-11 09:30:56 +02:00
ArthurHoaro
823a363c3b
Configuration template indenting
2016-06-11 09:30:56 +02:00
Knah Tsaeb
118f40d21e
Better indent
2016-06-10 16:26:53 +02:00
Knah Tsaeb
a076447c7c
Fix bad page title
2016-06-10 16:00:08 +02:00
VirtualTam
35cc3582f0
Logging: improve formatting to enable fail2ban parsing
...
Fixes #436
Modifications:
- remove calls to strval() on safe data
- update the date format: 'Y/m/d_H:i:s' => 'Y/m/d H:i:s'
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-06-08 12:28:02 +02:00
Knah Tsaeb
b7b0894720
[fix] bad merge 167066f4bb
2016-06-08 12:11:55 +02:00
Knah Tsaeb
ad03ee9f5f
Bump version
2016-06-08 11:59:42 +02:00
ArthurHoaro
20d859380a
Fixes #399 - show single link title as page title
2016-06-08 11:56:24 +02:00
Nicolas Danelon
167066f4bb
cleanup: remove json_encode() (built-in since PHP 5.2)
...
See http://php.net/manual/en/function.json-encode.php
Legacy since php 5.2.x . If php5.3 is required for the install script
2016-06-08 11:43:07 +02:00
ArthurHoaro
a1c3e68e7a
Fixes #382 : Bookmarklet can not retrieve title when there is a quotation mark in it
...
bookmarklet fields weren't correctly escaped
2016-06-08 11:23:38 +02:00
Knah Tsaeb
f981ab8a17
[add] implemented opensearch plugins
2016-06-08 11:01:13 +02:00
Knah Tsaeb
042095ae7a
[upd] change url to new repo
2016-06-08 09:31:51 +02:00
ArthurHoaro
9ccca40189
Hashtag system
...
* Hashtag are auto-linked with a filter search
* Supports unicode
* Compatible with markdown (excluded in code blocks)
2016-06-06 21:04:43 +02:00
Arthur
bb9ca54838
Merge pull request #582 from ArthurHoaro/hotfix/nomarkdown
...
The "nomarkdown" tag is no longer private
2016-06-06 19:52:32 +02:00
Arthur
92a381f517
Merge pull request #583 from ArthurHoaro/enhance/tag-case
...
Fixes #497 : ignore case difference between tags
2016-06-03 18:30:19 +02:00
ArthurHoaro
b1eb5d1d31
Fixes #497 : ignore case difference between tags
...
While retrieving all tags, case differences will be ignored.
This affects:
* tag cloud
* tag autocompletion
2016-05-31 09:09:32 +02:00
ArthurHoaro
8c4e60186d
The tag is no longer private
...
A private tag is never loaded for visitor, making this feature useless.
2016-05-30 18:51:00 +02:00
VirtualTam
e8f6024400
Merge pull request #576 from virtualtam/readme/link-upgrade
...
README: add link to the upgrade and migration wiki page
2016-05-20 22:08:06 +02:00
VirtualTam
c7227c5dca
README: add link to the upgrade and migration wiki page
...
Relates to #575
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-05-20 22:02:50 +02:00
VirtualTam
521f0e65cf
Merge pull request #574 from shaarli/urlparams-phpsessid
...
Url.php: remove unwanted ?PHPSESSID= URL parameters
2016-05-20 13:06:45 +02:00
nodiscc
725ca094f8
Url.php: remove unwanted ?PHPSESSID= URL parameters,
...
update test case
2016-05-20 12:23:03 +02:00
Arthur
d92169c863
Merge pull request #568 from ArthurHoaro/master
...
PHP endtag in shaarli_version.php
2016-05-14 12:27:18 +02:00
ArthurHoaro
6d03a9b2b3
PHP endtag in shaarli_version.php
2016-05-14 12:25:31 +02:00
Arthur
ebd67c6e1b
Merge pull request #567 from ArthurHoaro/v0.7.0
...
V0.7.0
2016-05-14 12:11:57 +02:00
ArthurHoaro
08dcd8ea58
Doc update
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-05-14 11:37:28 +02:00
ArthurHoaro
c01bd08eaf
Version bump: v0.7.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-05-14 11:36:47 +02:00
Arthur
3fdcc7bd47
Merge pull request #560 from ArthurHoaro/nb-private-shaare
...
Private links counter in the header
2016-05-14 11:11:11 +02:00
Arthur
52ccf0d7ee
Merge pull request #556 from ArthurHoaro/login-refill
...
Prefill the login field when the authentication has failed
2016-05-14 11:09:39 +02:00
Arthur
765391cb37
Merge pull request #559 from ArthurHoaro/startsEndWithCase
...
Fix startsWith and endsWith case
2016-05-14 11:09:03 +02:00
Arthur
19f53aa18c
Merge pull request #566 from ArthurHoaro/md-inline-code
...
Markdown: inline code background color
2016-05-13 20:00:52 +02:00
ArthurHoaro
e8b65d5f35
Markdown: inline code background color
2016-05-13 19:57:01 +02:00
ArthurHoaro
141a86c503
Add private link counter
2016-05-13 08:48:23 +02:00
ArthurHoaro
03eb19ac60
Extract PageBuilder class from index.php
2016-05-13 08:48:18 +02:00
Arthur
6d449c8c81
Merge pull request #562 from ArthurHoaro/hotfix/561
...
Don't redirect to ?post if ?addlink is reached while logged out
2016-05-13 08:38:30 +02:00
ArthurHoaro
465266243f
Don't redirect to ?post if ?addlink is reached while logged out
2016-05-11 22:10:31 +02:00
ArthurHoaro
5046bcb6ab
Fix startsWith and endsWith case
2016-05-10 23:31:41 +02:00
Arthur
d95533778d
Merge pull request #557 from ArthurHoaro/remove-delicious
...
Remove delicious from Shaarli description
2016-05-10 20:11:41 +02:00
ArthurHoaro
70860f30d5
Remove delicious from Shaarli description
2016-05-08 18:58:59 +02:00
VirtualTam
00be05aaf5
Merge pull request #554 from virtualtam/fix/bookmark-export
...
Export: allow prepending notes with the Shaarli instance's URL
2016-05-06 21:50:55 +02:00
ArthurHoaro
85c4bdc235
Prefill the login field when the authentication has failed
2016-05-06 20:03:10 +02:00
ArthurHoaro
dbcd06e988
Reindent the login template
2016-05-06 19:58:19 +02:00
VirtualTam
bb4a23aa86
Export: allow prepending notes with the Shaarli instance's URL
...
Relates to #102
Additions:
- application:
- export: allow prepending note permalinks with the instance's URL
- test coverage
Modifications:
- export template: switch to an HTML form
- link selection (all/private/public)
- prepend note permalinks with the instance's URL
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-05-06 16:12:46 +02:00
Arthur
6275a65969
Merge pull request #552 from shaarli/readme-doc-plugins
...
add link to plugins doc
2016-05-05 14:41:20 +02:00
nodiscc
d8bf246357
add link to plugins doc
2016-05-05 14:37:19 +02:00
Arthur
501939622a
Merge pull request #553 from ArthurHoaro/typo
...
typo
2016-05-05 13:31:13 +02:00
ArthurHoaro
caa69b5853
typo
2016-05-05 13:28:43 +02:00
Arthur
86deafe0ff
Merge pull request #551 from ArthurHoaro/hotfix/timezone
...
Use correct 'UTC' timezone
2016-05-05 13:21:36 +02:00
ArthurHoaro
12ff86c961
Use correct 'UTC' timezone
2016-05-03 20:09:24 +02:00
Arthur
47be060983
Merge pull request #532 from ArthurHoaro/hotfix/title-retrieve-the-return
...
Fixes #531 - Title retrieving is failing with multiple use case
2016-05-03 19:53:57 +02:00
ArthurHoaro
ce7b0b6480
Fixes #531 - Title retrieving is failing with multiple use case
...
see https://github.com/shaarli/Shaarli/issues/531 for details
2016-05-03 19:51:29 +02:00
Arthur
5a63c34f3a
Merge pull request #550 from kalvn/master
...
Renames Awesomeplete dollar variable to avoid conflicts with jQuery
2016-05-03 19:23:15 +02:00
kalvn
69a1a90c27
Renames Awesomeplete dollar variable to avoid conflicts with jQuery
2016-05-03 19:05:36 +02:00
Arthur
fa72470d5d
Merge pull request #539 from daniellowtw/bugfix/array_filter-messes-with-keys
...
Fix error when filtering search tags
2016-04-14 14:48:00 +01:00
Arthur
62a5ba083d
Merge pull request #540 from ArthurHoaro/doc/update20160414
...
Update docs from Wiki
2016-04-14 14:25:50 +01:00
ArthurHoaro
5409ade28c
Update docs from Wiki
2016-04-14 15:18:25 +02:00
D Low
20f89623c0
Fix error when filtering search tags
...
Arrays are key-value maps. We should reindex the array after a filter
since we are using the key and count to do array access in filterTags.
An example would be searching for "foo, bar", after the array filter,
our array is actually (0 -> foo, 2 -> bar) which will cause an error
when trying to access $searchtags[1].
2016-04-14 00:10:39 +01:00
VirtualTam
9f400b0dad
Merge pull request #538 from virtualtam/fix/bookmark-export
...
Refactor Netscape bookmark exporting
2016-04-12 23:48:00 +02:00
VirtualTam
cd5327bee8
Refactor Netscape bookmark exporting
...
Relates to https://github.com/shaarli/netscape-bookmark-parser/issues/5
Fixes:
- respect the Netscape bookmark format "specification"
Modifications:
- [application] introduce the NetscapeBookmarkUtils class
- [template] export - improve formatting, rename export selection parameter
- [template] export.bookmarks - template for Netscape exports
- [tests] bookmark filtering, additional field generation
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-04-10 21:28:04 +02:00
VirtualTam
745304c842
Merge pull request #537 from virtualtam/tests/dependencies
...
Tests: update PHPUnit to 4.8.x
2016-04-10 01:17:43 +02:00
VirtualTam
129793b537
Tests: update PHPUnit to 4.8.x
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-04-10 01:13:09 +02:00
Arthur
9ad2950deb
Merge pull request #524 from ArthurHoaro/hotfix/redirectorurl
...
Fixes #480 : add an option to urlencode redirector URL
2016-04-09 16:55:39 +02:00
ArthurHoaro
043eae70c4
Fixes #480 : add an option to urlencode redirector URL
...
* New config: `$GLOBALS['config']['REDIRECTOR_URLENCODE']` (default `true`).
* Parameter added to LinkDB constructor.
* Fixes a bug with urlencode and escaped url.
* In `index.php`, LinkDB is now instanciate once for `importFile()` and `showDaily()`.
* TU
2016-04-09 16:52:32 +02:00
Arthur
9486a2e929
Merge pull request #525 from ArthurHoaro/plugins/feeds-markdown2
...
Process feeds content with Markdown
2016-04-09 16:35:41 +02:00
Arthur
a1703c44c6
Merge pull request #527 from ArthurHoaro/hotfix/tagcloud-size
...
Fixes #526 : bad font size separator in tagcloud with some locale
2016-04-09 16:35:14 +02:00
ArthurHoaro
b0128609f4
Fixes #526 : bad font size separator in tagcloud with some locale
...
* Force the number format with number_format().
* Reduce the size deciment number to 2.
2016-03-31 18:01:05 +02:00
VirtualTam
11609d9fd8
Merge pull request #522 from ArthurHoaro/hotfix/readershaare
...
Refactor and rebase #380 : Firefox reader view links
2016-03-30 19:31:19 +02:00
ArthurHoaro
635d38c241
Process feeds content with Markdown
2016-03-26 17:13:58 +01:00
ArthurHoaro
5f143b72ea
Remove dev cache disabling
2016-03-26 16:59:22 +01:00
Arthur
1a84bf1e2b
Merge pull request #520 from ArthurHoaro/plugins/nomarkdown
...
Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare fro…
2016-03-26 16:46:04 +01:00
ArthurHoaro
340252ae5d
Update markdown plugin README documentation
...
* Add the `.nomarkdown` section.
* Update misleading statements.
2016-03-26 16:43:14 +01:00
ArthurHoaro
c9da01e749
Refactor and rebase #380 : Firefox reader view links
...
Fixes #366
Closes #380
2016-03-26 16:26:23 +01:00
Arthur
f66a1990e5
Merge pull request #515 from ArthurHoaro/template-feeds
...
Refactor RSS feeds generation, and do it through templates
2016-03-25 19:20:55 +01:00
ArthurHoaro
528a6f8a23
Refactor filter in LinkDB
...
* search type now carried by LinkDB in order to factorize code between different search sources.
* LinkDB->filter split in 3 method: filterSearch, filterHash, filterDay (we know what type of filter is needed).
* filterHash now throw a LinkNotFoundException if it doesn't exist: internal implementation choice, still displays a 404.
* Smallhash regex has been rewritten.
* Unit tests update
2016-03-25 19:17:59 +01:00
ArthurHoaro
ee88a4bcc2
Makes escape a recursive function which handle array of strings
2016-03-25 19:17:59 +01:00
ArthurHoaro
89baf23ddf
FeedBuilder unit tests
2016-03-25 19:17:59 +01:00
ArthurHoaro
82e3680203
Create a FeedBuilder class which build data for both ATOM and RSS feed.
2016-03-25 19:17:55 +01:00
Kevin Canévet
ecd051905f
Fix issue 366, Problem when shaaring a link in Reader View of Firefox.
2016-03-24 08:34:47 +01:00
VirtualTam
b2764886c7
Merge pull request #521 from ArthurHoaro/hotfix/404login
...
Use generateLocation to set the redirection in login (and don't escape the url)
2016-03-24 00:27:15 +01:00
ArthurHoaro
e15f08d72a
Use generateLocation to set the redirection in login (and don't escape the url)
2016-03-21 19:06:46 +01:00
ArthurHoaro
3ce20d9e84
Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare from being parsed with markdown
...
Also add the tag in tag list in edit_link, so it will appear on autocompletion.
2016-03-21 18:46:34 +01:00
ArthurHoaro
d4542fdb0d
Reword the ENABLE_RSS_PERMALINKS in the settings.
2016-03-18 19:13:48 +01:00
ArthurHoaro
bcd078bf0a
Plugin: add render_feed hook and call it while generating ATOM and RSS feed.
...
Create an example of the new hook in the demo plugin.
2016-03-18 19:13:48 +01:00
ArthurHoaro
e67712ba0f
Refactor showRSS, and make it use the RSS template
2016-03-18 19:13:48 +01:00
ArthurHoaro
69c474b966
Refactor showAtom, and make it use the ATOM template
...
Minor changes:
* Fix the date which was in a invalid format.
* Avoid empty categories (tags).
* Use the locale to set the language
2016-03-18 19:13:48 +01:00
ArthurHoaro
8395d0b761
Adds a route for ATOM and RSS feeds page
2016-03-18 19:13:48 +01:00
ArthurHoaro
5f8e6ebc6a
Adds a RSS template file
...
Improvements:
* Add searchtags in categories domain URL.
* Language is now based on the locale.
* Add a generator tag.
* self link is always displayed.
2016-03-18 19:13:48 +01:00
ArthurHoaro
56e8ea2089
Create a template to handle ATOM feed
...
ATOM feed improvement:
* Adds a subtitle to match RSS feed behavior.
* Better syntax for categories (see http://edward.oconnor.cx/2007/02/representing-tags-in-atom ).
* Use locale to set the language
2016-03-18 19:13:48 +01:00
ArthurHoaro
1c2fdb98b1
Add method assignAll() to pageBuilder to assign an array of data
2016-03-18 19:13:48 +01:00
VirtualTam
5816801b15
Merge pull request #513 from ArthurHoaro/hotfix/retrieve-title-issue
...
Fixes #512 : retrieving title didn't match the first closing tag
2016-03-14 21:29:19 +01:00
ArthurHoaro
68ea1d2b30
Fixes #512 : retrieving title didn't match the first closing tag
2016-03-08 10:00:53 +01:00
Arthur
890afc32f7
Merge pull request #509 from ArthurHoaro/v0.6.5
...
Bump version to v0.6.5
2016-03-02 20:06:33 +01:00
ArthurHoaro
797a6f308f
Bump version to v0.6.5
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-03-02 19:59:58 +01:00
Arthur
9f277ad878
Merge pull request #504 from ArthurHoaro/hotfix/http_language
...
Fixes #503 : check that HTTP_ACCEPT_LANGUAGE is set before calling autolocale
2016-03-01 12:15:41 +01:00
Arthur
40b25bef6a
Merge pull request #506 from kalvn/master
...
Avoids populating a markdown empty container if there's no description.
2016-03-01 12:15:22 +01:00
Arthur
6e7a3210c3
Merge pull request #505 from ArthurHoaro/hotfix/multi-reverse-proxy
...
Fixes #477 : support multi reverse proxy with comma syntax
2016-03-01 12:15:10 +01:00
kalvn
841df2dd55
Avoids populating a markdown empty container if there's no description.
2016-02-28 18:24:30 +01:00
ArthurHoaro
85244fa0d0
Fixes #477 : support multi reverse proxy with comma syntax
...
Going through multiple reverse proxy will store multiple scheme and port in HTTP header separated by a comma. Shaarli will use the first one to generate server_url.
2016-02-28 16:24:18 +01:00
ArthurHoaro
408def1a07
Fixes #503 : check that HTTP_ACCEPT_LANGUAGE is set before calling autoLocale()
2016-02-28 15:53:28 +01:00
Arthur
8710d4da8e
Merge pull request #501 from ArthurHoaro/v0.6.4
...
Bump version to v0.6.4
2016-02-28 14:34:33 +01:00
ArthurHoaro
09674d9359
Bump version to v0.6.4
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-02-28 14:33:05 +01:00
Arthur
b0faecb959
Merge pull request #500 from ArthurHoaro/plugin-icon-style
...
Fixes #411 : remove hardcoded plugin icon size
2016-02-28 14:28:43 +01:00
Arthur
c6744a9e89
Merge pull request #496 from ArthurHoaro/cross-search
...
Allow crossed search between terms and tags
2016-02-28 14:26:46 +01:00
ArthurHoaro
1b0e3c7fdf
Fixes #411 : remove hardcoded plugin icon size
2016-02-28 14:25:10 +01:00
ArthurHoaro
c51fae92dc
Allow crossed search between terms and tags
...
* Partial fix of #449
* Current use case: search term + click on tag.
* LinkFilter now returns all links if no filter is given.
* Unit tests.
2016-02-28 14:17:40 +01:00
Arthur
10269bc8c9
Merge pull request #491 from ArthurHoaro/markdown-escape2
...
Markdown: don't escape content + sanitize sensible tags
2016-02-25 08:52:42 +01:00
Arthur
cee0d9609f
Merge pull request #495 from nicolasdanelon/patch-3
...
Fixes #494 : inputs & labels with plugin name
2016-02-24 19:34:29 +01:00
Arthur
fa40b43f60
Merge pull request #492 from ArthurHoaro/locale-sort-fix
...
Fixes #481 : tag cloud fatal error
2016-02-24 19:26:57 +01:00
Nicolas Danelon
81dea5910e
Update shaarli.css
2016-02-23 10:51:18 -03:00
Nicolas Danelon
dc71701cb4
Fixes #494 : inputs & labels with plugin name
2016-02-23 10:48:35 -03:00
ArthurHoaro
7eb0a83201
Fixes #481 : tag cloud fatal error
...
Only send LC_COLLATE to Collator and check that no error occured.
2016-02-19 20:20:33 +01:00
ArthurHoaro
7b63e4ca09
Apply the locale to all categories and move autolocale to Utils.php
2016-02-19 20:14:06 +01:00
Arthur
6c3d6a31f4
Merge pull request #490 from nicolasdanelon/patch-2
...
adding styles for code & pre tags
2016-02-19 19:46:44 +01:00
ArthurHoaro
2925687e1e
Markdown: don't escape content + sanitize sensible tags
...
Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
2016-02-19 19:37:13 +01:00
Nicolas Danelon
01abde4f14
adding styles for code & pre tags
2016-02-19 09:58:01 -03:00
Arthur
64282b1499
Merge pull request #486 from virtualtam/refactor/datetime
...
cleanup: use DateTime to format dates
2016-02-18 19:53:39 +01:00
Arthur
185447fbc6
Merge pull request #470 from ArthurHoaro/description-trim
...
Fixes #468 : don't trim description
2016-02-18 19:40:19 +01:00
ArthurHoaro
ed853da7fd
Fixes #468 : don't trim description
...
Spaces at the start of shaares can be intended. Eg: markdown plugin.
#468
2016-02-18 19:34:33 +01:00
Knah Tsaeb
72944a7234
[fix] encode of date
2016-02-18 17:00:14 +01:00
VirtualTam
205a42778d
cleanup: use DateTime to format dates
...
Closes #270
Modifications:
- replace custom date parsing by DateTime calls
- use proper date formatting for RSS feeds
Deletions:
- linkdate2timestamp()
- linkdate2rfc822
- linkdate2iso8601
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-02-17 22:46:50 +01:00
Arthur
bfec695df1
Merge pull request #455 from ArthurHoaro/improved-search-454
...
Improved search: combine AND, exact terms and exclude search.
2016-02-15 21:43:07 +01:00
ArthurHoaro
522b278b03
Support text search across link fields.
2016-02-15 21:38:45 +01:00
ArthurHoaro
bedd176a54
Improved search: combine AND, exact terms and exclude search.
2016-02-15 21:38:40 +01:00
Arthur
07c2f73543
Merge pull request #461 from ArthurHoaro/tagcloud-sort
...
Fixes #456 : Tag cloud does not sort tags (fully) alphabetically
2016-02-15 21:26:33 +01:00
Arthur
3a38c95d42
Merge pull request #447 from ArthurHoaro/hidden-tags
...
Private/Hidden tags
2016-02-15 21:22:35 +01:00
ArthurHoaro
195acf9f09
Private/Hidden tags
...
Tags starting with a dot '.' are now private.
They can only be seen and searched when logged in.
Fixes #315
2016-02-15 21:18:43 +01:00
Arthur
1e7331126d
Merge pull request #446 from ArthurHoaro/search-tag-exclude
...
Add exclusion in tag search
2016-02-15 21:12:39 +01:00
ArthurHoaro
ce354bf1a6
Remove first '-' char when saving tags
2016-02-15 21:06:17 +01:00
ArthurHoaro
21979ff11c
Add exclusion in tag search
...
* Searching '-mytag' will now exlude all shaares with 'mytag' tag.
* All tags starting with a '-' are renamed without it (through the Updater).
* Unit tests.
Minor code changes:
* LinkDB->filter() can now take no parameters (get all link depending on logged status).
* tagsStrToArray() is now static and filters blank tags.
2016-02-15 20:40:39 +01:00
Arthur
6e607ca613
Merge pull request #479 from ArthurHoaro/pluginsadmin-error-url
...
Fixes typo in plugin admin redirection URL
2016-02-15 20:38:31 +01:00
Arthur
6cbff7e80f
Merge pull request #460 from ArthurHoaro/440-editlink-404
...
Fixes #440 - 404 error after editing a link
2016-02-15 20:38:10 +01:00
Arthur
854ea37255
Merge pull request #442 from ArthurHoaro/updater
...
Introduce the Updater class which
2016-02-15 20:36:42 +01:00
ArthurHoaro
59edea42bb
Fixes typo in plugin admin redirection URL
2016-02-15 20:34:44 +01:00
ArthurHoaro
510377d2cb
Introduce the Updater class which
...
* contains methods designed to be run once.
* is able to upgrade the datastore or the configuration.
* is based on methods names, stored in a text file with ';' separator (updates.txt).
* begins with existing function 'mergeDeprecatedConfigFile()' (options.php).
2016-02-15 20:30:24 +01:00
Arthur
2865118ca4
Merge pull request #473 from ArthurHoaro/commonhook-order
...
Common hooks: process includes before header/footer
2016-02-11 20:07:16 +01:00
ArthurHoaro
fea5db7ab1
Common hooks: process includes before header/footer
2016-02-10 15:40:11 +01:00
Arthur
250f132879
Merge pull request #472 from ArthurHoaro/wallabag-version-parameter
...
Wallabag plugin: add version parameter in the meta file
2016-02-10 13:09:05 +01:00
ArthurHoaro
9f57d1916c
Wallabag plugin: add version parameter in the meta file
2016-02-10 13:08:19 +01:00
ArthurHoaro
f1e96a06d8
Fixes #456 : Tag cloud does not sort tags (fully) alphabetically
...
* Use Collator class to sort tags using the locale (in PECL intl, included in most PHP installation).
* Use strcasecmp if Collator is not found.
Both sorts are case insensitive.
2016-02-05 16:10:34 +01:00
Arthur
5369f04521
Merge pull request #458 from ArthurHoaro/plugins-init-parameters
...
Initialize plugin parameters array to avoid unnecessary warning.
2016-02-04 20:29:02 +01:00
Arthur
c11330fe32
Merge pull request #457 from ArthurHoaro/updatecheck-warning
...
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning
2016-02-04 20:28:52 +01:00
ArthurHoaro
fd50e14cba
Fixes #440 - 404 error after editing a link
...
Remove unnecessary escape().
2016-02-04 20:24:17 +01:00
ArthurHoaro
5a23950c95
Code cleanup: index.php - save_edit
2016-02-04 19:58:47 +01:00
ArthurHoaro
091e2d139d
Initialize plugin parameters array to avoid unnecessary warning.
2016-02-02 21:07:25 +01:00
ArthurHoaro
7c873f1cd0
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning.
2016-02-02 20:10:49 +01:00
Arthur
268a2e5265
Merge pull request #453 from ArthurHoaro/pr450
...
Implemented a little more sophisticated searching (squashed)
2016-02-01 19:21:47 +01:00
Florian Voigt
ebd8075a89
Implemented searching for a phrase in double-quotes or all words in no particular order.
...
+ unit tests
2016-02-01 19:18:27 +01:00
Arthur
7676d82e75
Merge pull request #452 from ArthurHoaro/v0.6.3
...
Bump version to v0.6.3
2016-01-31 19:47:49 +01:00
ArthurHoaro
729d267172
Bump version to v0.6.3
2016-01-31 19:32:22 +01:00
Arthur
b7acd6f431
Merge pull request #451 from ArthurHoaro/markdown-gitdiff
...
Fixes forced git changes
2016-01-31 19:25:29 +01:00
ArthurHoaro
1456358240
Fixes forced git changes
...
Probably related to the introduction of .gitattribute with forced line ending.
2016-01-31 19:22:14 +01:00
Arthur
53603f5823
Merge pull request #388 from ArthurHoaro/pluginadmin
...
Fixes #378 - Plugin administration UI.
2016-01-31 19:00:13 +01:00
Arthur
893338f0d4
Merge pull request #379 from ArthurHoaro/plugin-markdown
...
PLUGIN Markdown
2016-01-31 18:57:29 +01:00
ArthurHoaro
dea0ba28f9
Fixes #378 - Plugin administration UI.
2016-01-31 18:54:48 +01:00
Arthur
423e2a8b13
Merge pull request #448 from shaarli/whitespace
...
remove whitespace
2016-01-31 17:50:07 +01:00
nodiscc
abe330b5e9
fix whitespace
2016-01-22 17:24:15 +01:00
Arthur
db36b8812d
Merge pull request #444 from dimtion/404_template
...
Create 404 template
2016-01-21 19:27:00 +01:00
Dimtion
f4c84ad7fc
Create 404 template
...
Solve #430 for links
2016-01-20 22:52:28 +01:00
ArthurHoaro
55d0a5c445
Bugfix: prevent LinkFilter to work on outdated data.
2016-01-20 22:51:56 +01:00
VirtualTam
25d88c90aa
Merge pull request #441 from virtualtam/tests/check-file-permissions
...
tests: add a make target to check file permissions
2016-01-18 00:29:14 +01:00
VirtualTam
dc7db03feb
Merge pull request #443 from virtualtam/fix/logm-eol
...
fix: use PHP_EOL for carriage returns in file logs
2016-01-18 00:28:21 +01:00
VirtualTam
aa7f7b3ea6
fix: use PHP_EOL for carriage returns in file logs
...
Relates to #436
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-01-18 00:24:36 +01:00
VirtualTam
fc17813bd1
tests: add a make target to check file permissions
...
Additions:
- [makefile] check versioned files are not executable
- [travis] call the new make target
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-01-17 21:02:24 +01:00
VirtualTam
122d90ef8d
Merge pull request #438 from virtualtam/utils/logm/date-format
...
Logging: improve formatting to enable fail2ban parsing
2016-01-17 20:11:42 +01:00
VirtualTam
478ce8afb4
Logging: improve formatting to enable fail2ban parsing
...
Fixes #436
Modifications:
- remove calls to strval() on safe data
- update the date format: 'Y/m/d_H:i:s' => 'Y/m/d H:i:s'
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-01-16 16:19:44 +01:00
VirtualTam
73151d9546
Merge pull request #437 from virtualtam/refactor/utils/logm
...
Logging: move logm() from index.php to application/Utils.php
2016-01-16 16:10:14 +01:00
VirtualTam
1abe655597
Logging: move logm() from index.php to application/Utils.php
...
Relates to #436
Modifications:
- inject dependencies to global variables ($_SERVER, $GLOBALS)
- apply coding conventions
- add test coverage
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-01-16 16:07:16 +01:00
VirtualTam
92ba7b573f
Merge pull request #432 from ArthurHoaro/title-retrieve
...
Fixes #410 - Retrieve title fails in multiple cases
2016-01-11 21:47:00 +01:00
ArthurHoaro
1557cefbd7
Fixes #410 - Retrieve title fails in multiple cases
...
* `get_http_url()` renamed to `get_http_response()`.
* Use the same HTTP context to retrieve response headers and content.
* Follow HTTP 301 and 302 redirections to retrieve the title (default max 3 redirections).
* Add `LinkUtils` to extract titles and charset.
* Try to retrieve charset from HTTP headers first (new), then HTML content.
* Use mb_string to re-encode title if necessary.
2016-01-11 21:19:31 +01:00
ArthurHoaro
c0a50f3663
Git *wants* to rewrite this file in the exact same way...
...
Probably a line ending issue...
2016-01-06 20:40:17 +01:00
Arthur
88c15abb2a
Merge pull request #424 from ArthurHoaro/search
...
Link filter refactoring
2016-01-06 19:57:42 +01:00
ArthurHoaro
eefb636cea
Fixes a bug preventing to remove a tag with special chars when searching
2016-01-06 19:54:44 +01:00
ArthurHoaro
2c75f8e780
Fixes #426 - Do not filter with blank tags.
2016-01-06 19:53:25 +01:00
ArthurHoaro
822bffced8
Link filter refactoring
...
* introduce class LinkFilter to handle link filter operation (and lighten LinkDB).
* handle 'private only' in filtering.
* update template to prefill search fields with current search terms.
* coding style.
* unit test (mostly move from LinkDB to LinkFilter).
PS: preparation for #358 #315 and 'AND' search.
2016-01-06 19:53:04 +01:00
ArthurHoaro
1be4afacf9
PLUGIN Markdown
...
Parse link description in Markdown (HTML) before rendering.
* hard remove of Shaarli's HTML before parsing.
* Using Parsedown <https://github.com/erusev/parsedown > PHP lib.
* Includes basic markdown CSS.
* Style: removed 400px height max limit for shaares.
* Unit tests.
2016-01-03 17:36:10 +01:00
VirtualTam
a327d891b3
Merge pull request #429 from ArthurHoaro/changetag-buttons
...
Fixes #428 : validate buttons presence instead of value
2016-01-03 16:54:13 +01:00
ArthurHoaro
6a6aa2b96d
Fixes #428 : validate buttons presence instead of value
...
Also adds a validation where renaming with 'fromtag' specified and empty 'totag'.
It was causing a 404, now it just re-render the form.
2016-01-03 14:42:43 +01:00
VirtualTam
defc8a3f03
Merge pull request #417 from ArthurHoaro/wallabag-improve
...
Wallabag plugin improvement
2016-01-02 20:09:29 +01:00
VirtualTam
66d86ea521
Merge pull request #423 from virtualtam/docker
...
Docker: move Dockerfiles to the main repository
2016-01-02 19:19:16 +01:00
VirtualTam
453f4653c3
Docker: move Dockerfiles to the main repository
...
Relates to #420
Fixes:
- [all] remove Nginx' 'server_name' attribute
- [dev] create the phpinfo() script from the Dockerfile
Modifications:
- [all] remove documentation/guide (to be added to the wiki)
- [all] update maintainer information
- [prod] differentiate 'master' (:latest) and 'stable' (:stable) images
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-01-02 19:01:33 +01:00
ArthurHoaro
938d9cce77
Wallabag plugin improvement
...
* Fixes a bug where URL weren't properly encoded.
* Adds Wallabag V2 support.
* Adds a URL function to handle trailing slash.
* UT.
* README updated.
2015-12-27 15:30:34 +01:00
VirtualTam
0baf7842fc
Merge pull request #419 from virtualtam/gitattributes
...
Add a .gitattributes to ease repository management
2015-12-24 16:01:23 +01:00
VirtualTam
c6a7972de5
Add a .gitattributes to ease repository management
...
Features:
- enforce LF (Unix) line endings
- omit dev/test resources & code from Git(Hub) archives
- treat minified resources (CSS, JS) as binaries to avoid cluttered diffs
Resources:
- http://git-scm.com/docs/gitattributes
- https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
- https://help.github.com/articles/dealing-with-line-endings/
- http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/
- https://github.com/Danimoth/gitattributes
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-12-23 23:40:15 +01:00
VirtualTam
ba83317573
Bump version to v0.6.2
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-12-23 19:54:37 +01:00
VirtualTam
ccb7cf9855
Merge pull request #418 from ArthurHoaro/qrcode-bug
...
QRCode plugin: use url instead of real_url
2015-12-23 19:50:33 +01:00
ArthurHoaro
49e62f22ad
QRCode plugin: use url instead of real_url
...
Fixes #414 and avoid usage of redirector in QRCode.
Also fixed a bug with URL encoding.
2015-12-22 10:59:41 +01:00
VirtualTam
70a35e2a6d
Merge pull request #413 from ArthurHoaro/qrcode-effect
...
Fixes QRCode style
2015-12-21 22:31:45 +01:00
ArthurHoaro
28a4fc546f
Fixes QRCode style
...
* fixes a regression misplacing QRCode popup.
* adds a 'show' class in JS to handle CSS transition.
2015-12-21 14:01:52 +01:00
VirtualTam
79851b4890
Merge pull request #406 from ArthurHoaro/qrcode-style
...
Fixes #403 : Remove QRCode in core CSS and fix plugin layout
2015-12-09 01:00:52 +01:00
VirtualTam
2f3e74090a
Merge pull request #408 from ArthurHoaro/gototop
...
Adding a new placeholder in render_footer hook.
2015-12-09 00:55:52 +01:00
VirtualTam
6ff636cdd4
Merge pull request #407 from ArthurHoaro/daily-router
...
Fixes #402 : build the daily page through renderPage()
2015-12-08 21:41:31 +01:00
ArthurHoaro
40a5f296a6
Adding a new placeholder in render_footer hook.
...
Allow free elements at the end of the page.
2015-12-08 16:02:46 +01:00
ArthurHoaro
38603b2450
Fixes #403 : build the daily page through renderPage()
...
* new entry in the Router for daily page.
* add an always displayed button in demo_plugin
2015-12-08 15:51:49 +01:00
ArthurHoaro
aca447a713
Reset permissions on index.php (changed in 18cca483b0
).
2015-12-08 15:09:17 +01:00
VirtualTam
b16e3dc590
Merge pull request #393 from ArthurHoaro/tools-js-indent
...
Minimal indent of tools.html
2015-12-07 21:48:57 +01:00
ArthurHoaro
6a6f6c32e5
Fixes #403 : Remove QRCode in core CSS and fix plugin layout
2015-12-07 11:03:30 +01:00
ArthurHoaro
0504659db7
Minimal indent of tools.html
2015-12-07 10:58:22 +01:00
Arthur
b373ddc1df
Merge pull request #405 from ArthurHoaro/titles-fix
...
Temporary fix for head titles
2015-12-07 10:54:45 +01:00
ArthurHoaro
18cca483b0
Temporary fix for head titles
...
only set the title on permalink.
2015-12-07 10:29:24 +01:00
VirtualTam
4c3df9aa12
Merge pull request #400 from ArthurHoaro/title-399
...
Fixes #399 - show single link title as page title
2015-12-06 17:40:29 +01:00
ArthurHoaro
2f5c136104
Fixes #399 - show single link title as page title
2015-12-05 11:05:08 +01:00
VirtualTam
a6aa37b96f
Merge pull request #398 from virtualtam/fix/initialize-version-vars
...
fix: assign template variables to empty values so they can be evaluated
2015-12-03 21:13:51 +01:00
VirtualTam
4a7af9759a
fix: assign template variables to empty values so they can be evaluated
...
Regression introduced in #394
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-12-03 20:30:46 +01:00
ArthurHoaro
b6a54537b8
Remove dummycache folder on tear down.
2015-12-03 19:27:34 +01:00
VirtualTam
9ecdeb5452
Bump version to v0.6.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-12-01 21:25:50 +01:00
nodiscc
8025c63906
[doc] add apache2 CSP config
2015-11-30 23:17:01 +01:00
nodiscc
a33c574461
remove obsolete doc
2015-11-30 22:43:28 +01:00
VirtualTam
05f21ea821
Merge pull request #394 from virtualtam/app-utils/check-update/stable-branch
...
application: default to the "stable" branch for update checks
2015-11-30 02:03:32 +01:00
VirtualTam
4407b45fd3
application: default to the "stable" branch for update checks
...
Relates to #372
Relates to #390
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-11-27 00:10:43 +01:00
VirtualTam
1b740e3de3
Merge pull request #390 from virtualtam/app-utils/check-update
...
application: refactor version checks, move to ApplicationUtils
2015-11-26 23:29:20 +01:00
VirtualTam
4bf35ba56b
application: refactor version checks, move to ApplicationUtils
...
Relates to #372
Modifications:
- move checkUpdate() to ApplicationUtils
- reduce file I/O operations during version checks
- apply coding conventions
- add test coverage
Tools:
- create a sandbox directory for tests
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-11-26 23:19:37 +01:00
VirtualTam
61873e3ded
Merge pull request #355 from ArthurHoaro/redirector-url
...
URL encode links when a redirector is set
2015-11-26 23:05:58 +01:00
ArthurHoaro
657f0e25ba
Fixes incorrect call to
...
From 2e28269bae
2015-11-26 20:51:53 +01:00
ArthurHoaro
90e5bd65c9
URL encode links when a redirector is set.
...
Fixes #328 - URL encode links when a redirector is set
* WARNING - template edit - new variable available : "real_url"
Contains the final real url (redirected or any other change on original URL)
* Don't redirect shaares link in RSS/Atom.
* Affects links shaared in description.
* Move text2clickable and keepMultipleSpaces to Utils.php + unit test
UPDATE:
* keepMultipleSpaces renamed to space2nbsp
* space2nbsp improved to handle single space at line beginning
* links in text description aren't 'nofollow' anymore
2015-11-26 20:14:38 +01:00
Arthur
986afb752b
Merge pull request #391 from nicolasdanelon/patch-1
...
json_encode removed
2015-11-25 15:07:20 +01:00
Nicolas Danelon
1e57f90200
cleanup: remove json_encode() (built-in since PHP 5.2)
...
See http://php.net/manual/en/function.json-encode.php
Legacy since php 5.2.x . If php5.3 is required for the install script
2015-11-25 09:42:29 -03:00
VirtualTam
4409b9eb0f
Merge pull request #389 from virtualtam/utils/check-php-version
...
application: move checkPHPVersion from Utils to ApplicationUtils
2015-11-24 01:42:52 +01:00
VirtualTam
c9cf2715f0
application: move checkPHPVersion from Utils to ApplicationUtils
...
Relates to #372
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-11-24 01:40:44 +01:00
VirtualTam
0def004963
Merge pull request #375 from virtualtam/utils/permissions
...
tools: check file/directory permissions for Shaarli resources
2015-11-24 01:26:30 +01:00
VirtualTam
2e28269bae
install: check file/directory permissions for Shaarli resources
...
Relates to #40
Relates to #372
Additions:
- FileUtils: IOException
- ApplicationUtils:
- check if Shaarli resources are accessible with sufficient permissions
- basic test coverage
- index.php:
- check access permissions and redirect to an error page if needed:
- before running the first installation
Modifications:
- LinkDB:
- factorize datastore write code
- check if the datastore
(exists AND is writeable) OR (doesn't exist AND its parent dir is writable)
- raise an IOException if needed
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-11-24 01:12:35 +01:00
VirtualTam
c580024cfb
Merge pull request #384 from roidelapluie/master
...
fill session info when shaarli is in open mode
2015-11-23 20:24:35 +01:00
Julien Pivotto
02ad8fb6ce
Fix authentification when Shaarli is in Open Mode.
2015-11-23 14:53:34 +01:00
VirtualTam
98348200e3
Merge pull request #377 from ArthurHoaro/search-tag-autocomplete
...
Fixes #360 - Auto-complete more than one tag in tag filter field
2015-11-22 23:22:17 +01:00
VirtualTam
456d305329
Merge pull request #277 from virtualtam/doxygen
...
Add a target to generate Doxygen documentation
2015-11-22 21:01:02 +01:00
VirtualTam
05af6f5325
Add a target to generate Doxygen documentation
...
Relates to #95
Customizations for PHP/Shaarli:
- add project information
- index PHP files
- index global functions
- exclude directories
Usage
$ make doxygen
$ firefox doxygen/index.html &
Notes
- classes can be found under "Data Structures"
- global functions can be found under "Files > Globals > Functions"
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-11-22 20:35:00 +01:00
VirtualTam
9b87c27439
Add default Doxygen configuration
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-11-22 20:18:39 +01:00
VirtualTam
3d79d82326
Merge pull request #387 from ArthurHoaro/bookmarklet-quote
...
Fixes #382 : Bookmarklet can not retrieve title when there is a quotation mark in it
2015-11-22 18:10:50 +01:00
VirtualTam
c07e166aa2
Merge pull request #376 from ArthurHoaro/opensearch
...
Fixes #176 - Add opensearch functionality
2015-11-22 17:53:24 +01:00
Arthur
da08b65de1
Merge pull request #385 from ArthurHoaro/plugins-error-fix
...
Bugfix: do not store plugin errors in data.php
2015-11-22 17:32:17 +01:00
ArthurHoaro
739dc24344
Fixes #382 : Bookmarklet can not retrieve title when there is a quotation mark in it
...
bookmarklet fields weren't correctly escaped
2015-11-22 15:47:41 +01:00
ArthurHoaro
e4b9a7633d
Bugfix: do not store plugin errors in data.php
...
Before this, calling writeConfig() would have write error messages in data.php, because it uses 'plugins' array which is used for plugin configuration.
Causing the message error appear everytime.
2015-11-22 14:45:09 +01:00
Arthur
a5dd1772bd
Merge pull request #383 from ArthurHoaro/master
...
Bump version to v0.6.0
2015-11-18 13:39:46 +01:00
ArthurHoaro
98f54239aa
Bump version to v0.6.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2015-11-18 13:38:30 +01:00
ArthurHoaro
8f8113b94b
Fixes #176 - Add opensearch functionality
...
* add a new page in Router: do=opensearch which displays the opensearch plugin
* using base64 compressed image to avoid issue encountered with HTTPS
2015-11-17 20:19:44 +01:00
ArthurHoaro
b39b1bc2ee
Fixes #360 - Auto-complete more than one tag in tag filter field
...
* Group awesomplete for multi data in a single JS file.
* Use it in editlink and linklist.
* Move awesomplete JS lib at the end of page in editlink.
2015-11-17 20:03:21 +01:00
VirtualTam
44d60adc5e
Merge pull request #374 from virtualtam/cleanup
...
cleanup: remove the executable bit from source scripts
2015-11-11 19:22:04 +01:00
VirtualTam
a7921b2445
cleanup: remove the executable bit from source scripts
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-11-11 19:19:24 +01:00
VirtualTam
a00ea49c69
Merge pull request #373 from virtualtam/index/format-globals-comments
...
index.php: group globals by theme, format comments
2015-11-11 18:58:32 +01:00
VirtualTam
28bb2b74e3
index.php: group globals by theme, format comments
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-11-11 18:45:46 +01:00
Arthur
fd006c630b
Merge pull request #275 from shaarli/plugin-proposition
...
Plugin proposition
2015-11-08 13:29:32 +01:00
ArthurHoaro
056107ab4e
Handle errors raised by plugins in template. fixes #370
2015-11-08 13:22:44 +01:00
Arthur
89dfc37b0a
Merge pull request #286 from ArthurHoaro/plugin-demo_plugin
...
PLUGIN demo_plugin
2015-11-08 12:54:02 +01:00
ArthurHoaro
786ddad91d
PLUGIN demo_plugin
...
This plugin try to cover Shaarli's plugin API entirely.
Can be used by plugin developper to make their own.
2015-11-08 12:47:44 +01:00
Arthur
66017e2893
Merge pull request #281 from ArthurHoaro/plugin-wallabag
...
PLUGIN wallabag
2015-11-08 12:46:17 +01:00
Arthur
e760840fea
Merge pull request #280 from ArthurHoaro/plugin-readityourself
...
PLUGIN readityourself
2015-11-08 12:45:19 +01:00
Arthur
00c25040c5
Merge pull request #279 from ArthurHoaro/plugin-addlink_toolbar
...
PLUGIN: addlink_toolbar
2015-11-08 12:45:07 +01:00
ArthurHoaro
1696f6aa07
unit tests for the wallabag plugin
...
+ removed exit error if the config is not found
+ coding style
2015-11-08 12:44:29 +01:00
ArthurHoaro
b11c8f25df
unit tests for readityourself plugin + remove hard error
2015-11-08 12:42:29 +01:00
ArthurHoaro
ff5bda8238
unit test for addlink_toolbar + coding style
2015-11-08 12:40:14 +01:00
ArthurHoaro
1b2b44f4bd
PLUGIN: addlink_toolbar
...
Add a field in linklist page to paste a new link.
Displayed in fields toolbar.
2015-11-08 12:20:20 +01:00
ArthurHoaro
75b69987b3
PLUGIN readityourself
...
Add an icon for each link (linklist) for ReadItYourself
2015-11-08 12:02:41 +01:00
Arthur
245432e796
Merge pull request #284 from ArthurHoaro/plugin-playvideos
...
PLUGIN playvideos
2015-11-07 16:53:07 +01:00
Arthur
c536c98ae1
Merge pull request #285 from ArthurHoaro/plugin-qrcode
...
PLUGIN QRCode
2015-11-07 16:52:53 +01:00
Arthur
1b4ea59f93
Merge pull request #283 from ArthurHoaro/plugin-archiveorg
...
PLUGIN archiveorg
2015-11-07 16:52:41 +01:00
Arthur
70df947af6
Merge pull request #368 from ArthurHoaro/returnurl-again
...
Fixes #356 - adding a link should return added link's hash
2015-11-07 16:51:50 +01:00
ArthurHoaro
263d1f6495
PLUGIN wallabag
...
Add a Wallabag icon in linklist for each link.
2015-11-07 16:45:20 +01:00
ArthurHoaro
9a364c283e
Add unit test for archiveorg plugin
...
+ coding style
2015-11-07 16:40:25 +01:00
ArthurHoaro
b7b9dbb0d5
PLUGIN archiveorg
...
Display an archive.org icon in linklist, foreach links.
2015-11-07 16:40:25 +01:00
ArthurHoaro
840caea64f
Add unit tests for Playvideos plugin
...
+ coding style
2015-11-07 16:30:56 +01:00
ArthurHoaro
b17c19ff76
PLUGIN playvideos
...
Display a button in buttons toolbar which allows to play all videos found.
2015-11-07 16:21:21 +01:00
ArthurHoaro
abb3ff38f5
Add unit tests for the QRCode plugin
...
+ coding style
2015-11-07 16:13:08 +01:00
ArthurHoaro
14c8efbe31
PLUGIN QRCode
...
Add an icon in linklist to display links QRCode
2015-11-07 15:32:28 +01:00
ArthurHoaro
a52e843593
Add plugins folder to test analysis
2015-11-07 15:27:22 +01:00
ArthurHoaro
d06265fb57
Unit tests for Router and PluginManager.
2015-11-07 15:27:22 +01:00
ArthurHoaro
567967fdf9
Template upgrade to handle plugin zones
...
Add a bunch of plugin placeholders in templates
2015-11-07 15:27:22 +01:00
ArthurHoaro
0aec972a8b
Plugins TODO.md
2015-11-07 15:27:22 +01:00
ArthurHoaro
6fc14d5303
Plugin system - CORE
...
see shaarli/Shaarli#275
2015-11-07 15:27:17 +01:00
ArthurHoaro
d01c234235
Fixes #356
...
* adding a link should return added link's hash
* allow redirection relative urls in generateLocation
2015-11-04 19:53:59 +01:00
VirtualTam
38bedfbbcd
Bump version to 0.5.4
...
Fixes:
- PHP session IDs: handle hash algorithms and bits per char representations
Minor changes:
- HTTPS: support being served behing an SSL-enabled proxy
- HTTP/Server utilities: refactor & add test coverage
Project & documentation:
- improve/rewrite `README.md`
- update contributor list
- update `index.php` header
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-09-14 21:02:52 +02:00
VirtualTam
49e2b35b4a
Update project information: contributors, `index.php` header
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-09-14 20:54:13 +02:00
VirtualTam
4df3520d6e
Merge pull request #346 from virtualtam/refactor/http-url-utils
...
HTTP: move server URL functions to `HttpUtils.php`
2015-09-14 20:40:41 +02:00
VirtualTam
482d67bd52
HTTP: move server URL functions to `HttpUtils.php`
...
Relates to #333
Modifications:
- refactor server URL utility functions
- do not access global `$_SERVER` variables
- add test coverage
- improve readability
- apply coding conventions
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-09-14 20:27:16 +02:00
Fanch
7b114771d3
SSL detection: add support for `X-Forwarded-Proto`
...
Duplicates #332
See:
- RFC 7239 - Forwarded HTTP Extension
http://www.ietf.org/rfc/rfc7239.txt
- RFC 6238 - Deprecating the "X-" Prefix and Similar Constructs in Application Protocols
http://www.ietf.org/rfc/rfc6648.txt
- StackOverflow - Custom HTTP headers: naming conventions
http://stackoverflow.com/a/3561399
2015-09-13 21:17:01 +02:00
VirtualTam
ce47a75864
Merge pull request #337 from doc75/doublon_url
...
#325 small enhancement to fix the GetLinkFromUrl method
2015-09-08 22:03:18 +02:00
Guillaume Virlet
ef591e7ee2
Url: introduce global helper functions for cleanup and scheme detection
...
Relates to #314 & #326
Additions:
- add global `cleanup_url()` and `get_url_scheme()` functions
Modifications:
- replace `Url` usage in `index.php` by calls to global functions
- fix `Url` tests not being run: PHPUnit expects a single test class per file
- move classes to separate files
2015-09-08 22:00:37 +02:00
VirtualTam
0a813cfd7c
Merge pull request #334 from virtualtam/refactor/http-utils
...
HTTP: move utils to a proper file, add tests
2015-09-06 20:32:01 +02:00
VirtualTam
451314eb48
HTTP: move utils to a proper file, add tests
...
Relates to #333
Modifications:
- move HTTP utils to 'application/HttpUtils.php'
- simplify logic
- replace 'http_parse_headers_shaarli' by built-in 'get_headers()'
- remove superfluous '$status' parameter (provided by the HTTP headers)
- apply coding conventions
- add test coverage (unitary only)
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-09-06 19:30:26 +02:00
VirtualTam
f5d6b19b73
Merge pull request #338 from virtualtam/fix/unique-uniqid
...
Session ID: extend the regex to match possible hash representations
2015-09-06 16:16:53 +02:00
VirtualTam
68bc21353a
Session ID: extend the regex to match possible hash representations
...
Improves #306
Relates to #335 & #336
Duplicated by #339
Issues:
- PHP regenerates the session ID if it is not compliant
- the regex checking the session ID does not cover all cases
- different algorithms: md5, sha1, sha256, etc.
- bit representations: 4, 5, 6
Fix:
- `index.php`:
- remove `uniqid()` usage
- call `session_regenerate_id()` if an invalid cookie is detected
- regex: support all possible characters - '[a-zA-Z,-]{2,128}'
- tests: add coverage for all algorithms & bit representations
See:
- http://php.net/manual/en/session.configuration.php#ini.session.hash-function
- https://secure.php.net/manual/en/session.configuration.php#ini.session.hash-bits-per-character
- http://php.net/manual/en/function.session-id.php
- http://php.net/manual/en/function.session-regenerate-id.php
- http://php.net/manual/en/function.hash-algos.php
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-09-06 16:14:24 +02:00
VirtualTam
a02257b8ae
Merge pull request #344 from virtualtam/copying
...
COPYING: update contributor list
2015-09-06 04:07:28 +02:00
VirtualTam
db5453e4b6
COPYING: update contributor list
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-09-06 03:07:25 +02:00
VirtualTam
cd5c102892
Update README.md
2015-09-06 02:22:52 +02:00
VirtualTam
6f2309aa08
Merge pull request #343 from virtualtam/readme
...
Rewrite README.md
2015-09-06 02:16:39 +02:00
VirtualTam
e9b80e7272
Rewrite README.md
...
Modifications:
- group content in sections
- homogenize formatting
- replace installation instructions by links to the corresponding wiki pages
- update badges
- use http://shields.io/ to generate SVGs with custom labels
- master branch: update Travis label
- stable branch: add Travis status
- GitHub release: display the latest released version
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-09-06 02:04:31 +02:00
VirtualTam
bb91a8c6e8
Merge pull request #340 from virtualtam/doc/update
...
Doc: sync from Wiki, generate HTML
2015-09-04 21:35:27 +02:00
VirtualTam
f8b936e7e7
Doc: sync from Wiki, generate HTML
...
Additions:
- Installation/Download: how to get Shaarli
- Community software: ShaarliOS app
Modifications:
- Installation/Server requirements: PHP 5.4 EOL, PHP 7 announcements
- Installation/Server configuration: improve Nginx security
- Troubleshooting: PHP sessions on `free.fr`
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-09-04 21:32:25 +02:00
ArthurHoaro
ce8c4a84ba
Bump version to v0.5.3
...
Fixes a bug that could prevent user to login.
2015-09-02 18:06:21 +02:00
Arthur
67ee1435f8
Merge pull request #336 from ArthurHoaro/login-hotfix
...
Allow uppercase letters in PHP sessionid format
2015-09-02 17:55:11 +02:00
ArthurHoaro
4d30975a06
Allow uppercase letters in PHP sessionid format
...
Fixes shaarli/Shaarli#335 - Wrong login/password since v0.5.2
Regression introduced in 06b6660a7e
2015-09-02 17:00:38 +02:00
VirtualTam
53cc2b93b8
Bump version to 0.5.2
...
Minor changes
- fix Full Path Disclosure upon cookie forgery
- fix regression preventing to load LinkDB info when adding an existing link
- also extract HTTPS page metadata (title)
- add PHP 7 to Travis platforms
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-31 20:39:27 +02:00
VirtualTam
6211c498f6
Merge pull request #326 from ArthurHoaro/bug-url
...
Fixes #325 - Shaarli does not recognize saved links
2015-08-31 20:31:41 +02:00
ArthurHoaro
26c503460c
Add HTTPS support for title extracting feature
2015-08-31 12:30:59 +02:00
ArthurHoaro
9e1724f192
Fixes #325 - Shaarli does not recognize saved links
...
PHP doesn't seem to autoconvert objects to strings when they're use as array indexes.
Fixes regression introduced in d9d776af19
2015-08-31 12:26:38 +02:00
VirtualTam
ce8e248ab0
Merge pull request #306 from ArthurHoaro/fpd
...
Avoid Full Path Disclosure error on session error.
2015-08-24 21:25:33 +02:00
VirtualTam
b5d96e9b1f
Merge pull request #327 from virtualtam/travis/php7
...
travis: add PHP 7 to the tested environments
2015-08-24 00:30:05 +02:00
ArthurHoaro
06b6660a7e
Avoid Full Path Disclosure error on session error.
...
* Add a function to validate session ID.
* Generate a new session ID if an invalid token is passed.
2015-08-22 10:10:55 +02:00
VirtualTam
bdf4f78519
travis: add PHP 7 to the tested environments
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-22 00:09:46 +02:00
VirtualTam
d7efade5d6
Bump version to 0.5.1
...
Minor changes
- fix 404 after editing a link while being logged out
- update local documentation
- improve timezone detection at installation
- improve feed cache handling
- improve URL cleanup for new links
- add a link to the shaarli/shaarli DockerHub repository
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-18 00:36:55 +02:00
VirtualTam
6335a0fc0c
Doc: sync from Wiki, generate HTML
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-18 00:33:25 +02:00
VirtualTam
f8bf8d8e59
Merge pull request #314 from shaarli/clean-utm_term
...
clean utm_term url parameter
2015-08-16 23:01:54 +02:00
VirtualTam
c622d32820
README: add DockerHub badge
...
See [docker-shaarli](https://github.com/shaarli/docker-shaarli ) for Dockerfiles and documentation
2015-08-16 14:50:16 +02:00
VirtualTam
d9d776af19
Links: refactor & improve URL cleanup
...
Relates to #141
Relates to #133
Modifications
- move URL cleanup to `application/Url.php`
- rework the cleanup function
- fragments: `#stuff`
- GET parameters: `?var1=val1&var2=val2`
- add documentation (APIs the params belong to)
- add test coverage
Reference
- http://php.net/parse_url
- http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.tostring
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-15 15:58:38 +02:00
VirtualTam
a3b1b4ae70
Merge pull request #309 from virtualtam/refactor/PageCache
...
CachedPage: move to a proper file, add tests
2015-08-13 23:54:26 +02:00
VirtualTam
aedd62e2b8
Cache: simplify cached content cleanup, improve tests
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-13 23:51:31 +02:00
VirtualTam
01e48f269d
CachedPage: move to a proper file, add tests
...
Modifications
- rename `pageCache` to `CachedPage`
- move utilities to `Cache`
- do not access globals
- apply coding rules
- update LinkDB and test code
- add test coverage
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-13 23:48:06 +02:00
VirtualTam
5ac5349ac0
Merge pull request #301 from ArthurHoaro/edit-link-redirect
...
Fixes #299 : prevent 404 on '?edit_link' while logged out
2015-08-13 23:47:05 +02:00
ArthurHoaro
5fbabbb9be
Fixes #299 : prevent 404 on '?edit_link' while logged out
...
- add a use case for edit_link in logged out part.
- *really* prevent loops on login screen.
2015-08-07 16:26:38 +02:00
VirtualTam
b282fffa23
Merge pull request #313 from virtualtam/install/timezone
...
Installation: default to the server's timezone
2015-08-05 16:34:40 +02:00
VirtualTam
afd7b77b4c
Installation: default to the server's timezone
...
Modifications
- attempt to use the server's timezone
- if none is set, use UTC
- TimeZone: apply coding conventions
- variable naming
- no closing PHP tag
Relates to #274
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-04 23:54:03 +02:00
VirtualTam
27cf2e671d
Merge pull request #294 from virtualtam/doc/update
...
Doc: sync from Wiki, generate HTML
2015-08-04 16:07:13 +02:00
VirtualTam
992af0b9d7
Doc: sync from Wiki, generate HTML
...
Closes #291
Fixes #227
Modifications
- HTML content: match the new Wiki structure
- Makefile
- generate a custom HTML sidebar
- include the sidebar on all pages
- infer and prepend page titles
- handle relative links
- add title metadata, e.g. Shaarli - <Page Name>
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-04 16:02:21 +02:00
VirtualTam
96db105e4c
Merge pull request #276 from virtualtam/tools/phpcs
...
Add a generic rule to run PHPCS against different coding standards
2015-07-31 16:08:32 +02:00
VirtualTam
a421aeea66
Merge pull request #303 from virtualtam/v0.5.0
...
Bump version to 0.5.0
2015-07-30 11:43:43 +02:00
VirtualTam
7d4263e11a
Bump version to 0.5.0
...
Major changes
- fix locale handling
- fix note URLs
- fix page redirections
- fix daily RSS browsing
- fix title display
- fix links not being hidden when `HIDE_PUBLIC_LINKS` is set
- restore compatibility with PHP 5.3
- remove duplicate tags in links
- remove annoying URL patterns
- add Firefox Social API
- Search/Filter by tag fieds can now be accessed quickly with the `Tab` key
- update documentation
- start code refactoring
- move all settings to `data/config.php`
- refactor Config, LinkDB, TimeZone, Utils
- add unit test coverage
- add Travis integration
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-30 11:20:51 +02:00
ArthurHoaro
462bfb1312
Add Requirements section in README (link to wiki).
...
Fixes #297
2015-07-24 11:13:04 +02:00
Knah Tsaeb
8b2d826eb1
Update index.php
2015-07-24 10:59:00 +02:00
Knah Tsaeb
c6a6780a89
[fix] #222 FUD Full Path Disclosure
2015-07-24 10:18:29 +02:00
Arthur
f22a494a1e
Merge pull request #295 from Knah-Tsaeb/patch-1
...
[fix] #293 - Black thumbnails on picture wall after upgrade
2015-07-23 15:45:59 +02:00
Knah Tsaeb
cfc25f73e7
[fix] additional break line in RSS and Atom feed
2015-07-23 11:20:22 +02:00
Knah Tsaeb
7f51ca3b37
[fix] config not save
2015-07-23 10:53:42 +02:00
VirtualTam
caaae9b32b
Merge pull request #289 from virtualtam/make-clean
...
Makefile: do not call `clean` before `test`
2015-07-23 00:34:52 +02:00
Knah Tsaeb
bb2948c52a
[fix] #293
...
Black thumbnails on picture wall after upgrade #293
2015-07-22 10:39:23 +02:00
Knah Tsaeb
0db6fbd935
[upd] README and remove beta in version
2015-07-21 15:29:46 +02:00
Knah Tsaeb
b7538c4a1b
[fix] point at end of footer
2015-07-21 14:53:13 +02:00
Knah Tsaeb
4a4046e25c
[upd] better install form
2015-07-21 14:50:34 +02:00
Knah Tsaeb
51f119e569
[fix] install doesn't work
2015-07-21 13:49:41 +02:00
Knah Tsaeb
927e67a6a9
[fix] picwall not load
2015-07-21 11:42:36 +02:00
Knah Tsaeb
1c0853cd04
[upd] readme
2015-07-20 17:31:11 +02:00
Knah Tsaeb
1edbcb4f38
[fix] path of image
2015-07-20 16:34:19 +02:00
Knah Tsaeb
00c968f830
[fix] path of image
2015-07-20 16:31:10 +02:00
Knah Tsaeb
cef0816903
[add] option for define date format
2015-07-20 16:27:17 +02:00
ArthurHoaro
d1be6766f3
#193 add UTF8 by default to autoLocale
2015-07-20 15:21:34 +02:00
ArthurHoaro
31fc9518a3
Fixes autoLocale function by trying several way to find a correct one.
...
Fix https://github.com/shaarli/Shaarli/issues/184
2015-07-20 15:21:22 +02:00
Knah Tsaeb
1f3a7f78a0
[chg] change some class for theme compatibility
2015-07-20 15:10:22 +02:00
VirtualTam
d0ce99e59e
Makefile: do not call `clean` before `test`
...
Fixes #288
Modifications:
- call `make clean` explicitely to clean the workspace
- add `make clean` to Travis instructions
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-18 13:43:19 +02:00
VirtualTam
2ac5938b67
Merge pull request #290 from virtualtam/travis-container
...
Travis: use the container-based infrastructure
2015-07-18 13:42:15 +02:00
VirtualTam
39d06fa545
Travis: use the container-based infrastructure
...
See http://docs.travis-ci.com/user/migrating-from-legacy/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-18 13:23:00 +02:00
Knah Tsaeb
17699d82dc
[upd] use flex input and label form
2015-07-17 14:57:40 +02:00
Knah Tsaeb
e89182bacf
[add] new template system inspired by communauty fork
2015-07-17 13:49:55 +02:00
Knah Tsaeb
b6d9d9b37a
[chg] clean up html code and format
2015-07-17 11:28:43 +02:00
Knah Tsaeb
d02bf19916
[add] new logo and news favicon
2015-07-16 17:12:59 +02:00
Arthur
874f858b8f
Merge pull request #271 from virtualtam/php53
...
PHP: ensure 5.3 compatibility
2015-07-15 11:05:07 +02:00
VirtualTam
d1e2f8e52c
PHP: ensure 5.3 compatibility, refactor timezone utilities
...
Relates to #250
Modifications
- supported version
- bump required version from 5.1.0 to 5.3.x
- update README
- add PHP 5.3 to Travis environments
- rewrite array declarations: explicitely use array() instead of []
- move checkPHPVersion to application/Utils.php
- move timezone functions to application/TimeZone.php
- cleanup code
- improve test coverage
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-13 13:06:06 +02:00
VirtualTam
3e25f245f9
Makefile: add a generic rule to run PHPCS against different coding standards
...
Relates to #95
Usage
- list available standards
$ ./vendor/bin/phpcs -i
- run PHPCS against a given standard
$ make PHPCS_<standard>
Examples
$ make PHPCS_PSR1
$ make PHPCS_Zend
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-12 23:04:43 +02:00
VirtualTam
5b0ebbc5de
Merge pull request #257 from ArthurHoaro/tag-http-referer
...
Prevent redirection loop everytime we rely on HTTP_REFERER
2015-07-12 19:56:13 +02:00
ArthurHoaro
775803a05c
Prevent redirection loop everytime we rely on HTTP_REFERER:
...
* search tag
* delete tag
* pagination
* display privates only
* delete link
* new/edit/cancel link return page
Move location generation to Utils.php + unit tests.
Fixes #256
ninja
2015-07-12 17:43:13 +02:00
Arthur
1dcbe29611
English mistake cf sebsauvage/Shaarli#221
2015-07-12 15:16:37 +02:00
ArthurHoaro
6ac95d9cf1
Fixes warning 'Undefined index: searchtags' while filtering by tags.
...
Happened if there were not any searchtags already present in the query.
2015-07-12 11:36:42 +02:00
Arthur
7bd3542b1b
Merge pull request #262 from ArthurHoaro/dup-tags
...
Avoid tag duplicates
2015-07-12 11:01:24 +02:00
ArthurHoaro
781e8aadea
Avoid tag duplicates
...
* Prevent duplicate client side with awesomplete
* Prevent duplicate server side (save_edit processing)
Fixes #261
2015-07-12 10:34:29 +02:00
VirtualTam
bba021defc
Merge pull request #268 from ArthurHoaro/dailrss-template
...
Include the whole <item> in Daily RSS template
2015-07-11 19:09:52 +02:00
VirtualTam
1b73f35ebf
Merge pull request #269 from virtualtam/fix/read-config
...
Fix: data/config.php was not imported
2015-07-11 12:48:24 +02:00
ArthurHoaro
f3b8f9f0f8
Include the whole <item> in dailyRSS
...
Allow custom date format and title in templates.
Also a bit of code style review.
Fixes #182
2015-07-11 10:25:25 +02:00
VirtualTam
50c9a12ee6
Fix: data/config.php was not imported
...
Relates to #255
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-11 00:12:13 +02:00
VirtualTam
49ca756950
Merge pull request #267 from virtualtam/linkdb/private-names
...
LinkDB: prefix private members with an underscore
2015-07-10 17:43:00 +02:00
VirtualTam
07b6fa750b
LinkDB: prefix private members with an underscore
...
Relates to #95 , #218
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-09 21:46:01 +02:00
VirtualTam
e92f1ba59e
Merge pull request #255 from ArthurHoaro/config
...
All settings are now stored in config.php
2015-07-09 21:34:46 +02:00
ArthurHoaro
dd484b90b1
All settings are now stored in config.php
...
Isolate functions related to config in Config.php + add unit tests + code_sniffer.
options.php is not supported anymore, but its content will be automatically saved into config.php
Fixes #shaarli/Shaarli#41
*TODO*: update [documentation](https://github.com/shaarli/Shaarli/wiki#configuration ).
2015-07-09 20:46:03 +02:00
VirtualTam
7f1dfd1c12
Merge pull request #251 from virtualtam/linkdb/date-format
...
LinkDB::filterDay(): check input date format
2015-07-09 01:00:40 +02:00
VirtualTam
9186ab9594
LinkDB::filterDay(): check input date format
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-09 00:44:19 +02:00
VirtualTam
46d83c20d7
Merge pull request #264 from ArthurHoaro/daily-nav
...
Fixes #260 : previous/next day links in daily
2015-07-09 00:16:07 +02:00
ArthurHoaro
f3db3774f9
Fixes #260 : previous/next day links in daily
...
The bug was occuring only if we tried to access to the first day.
2015-07-08 17:12:06 +02:00
Knah Tsaeb
7bae9485fd
[upd] update README and go to myShaarli 1.0.0 beta
2015-07-08 12:00:55 +02:00
nodiscc
4c6847df8b
improve tag cloud font size scaling
...
* use logarithmic scales
* remove bold style
2015-07-08 10:24:00 +02:00
Knah Tsaeb
132acc4e95
[fix] no version return
2015-07-03 15:02:40 +02:00
Knah Tsaeb
3c20b1071e
[upd] clean up id and proper css in paging template
2015-07-03 14:32:04 +02:00
Knah Tsaeb
f89abe02e8
[fix] bad position of generated qr-code
2015-07-03 14:06:18 +02:00
Knah Tsaeb
0b7c7fc069
[add] new theme and adapte linklist template
2015-07-03 13:48:53 +02:00
Knah Tsaeb
88f2ebadca
[upd] refactor login form
2015-07-03 10:22:39 +02:00
Knah Tsaeb
62c55f9c8c
[upd] replace js focus by html5 autofocus
2015-07-03 10:08:37 +02:00
Knah Tsaeb
c5eeb78c3c
[chg] cleanup html structure
2015-07-03 10:02:58 +02:00
Knah Tsaeb
8afd5016af
[chg] remove language="JavaScript"
2015-07-03 09:50:53 +02:00
Knah Tsaeb
b74a59fd49
[add] in note post add tag 'note'
2015-07-03 09:42:32 +02:00
Florian Eula
e267bf2772
Prevents ?do=addlink from generating a 404 if the user is not logged in
...
Fixes https://github.com/shaarli/Shaarli/issue/47
2015-07-03 09:32:44 +02:00
Emilien Klein
194cd1cd16
Redirect to home page after deleting a link
...
Fixes issue 87
2015-07-03 09:30:28 +02:00
Knah Tsaeb
01342dd5a4
[upd] improve removing feedburner.... parameter
2015-07-02 17:17:05 +02:00
Knah Tsaeb
1d1bc6ebe3
[fix] error with autocomplet tag
2015-07-02 17:04:30 +02:00
Knah Tsaeb
799c92d786
[add] new configuration page
...
[fix] disable thumbnails keep left space in myShaarli theme
2015-07-01 12:20:41 +02:00
Knah Tsaeb
d541bf3514
[chg] better html structure
2015-06-29 15:19:32 +02:00
Knah Tsaeb
a044da320e
[fix] forgot includes.html
2015-06-29 14:51:09 +02:00
Knah Tsaeb
d15d267369
[fix] login background
2015-06-29 14:48:52 +02:00
Knah Tsaeb
7708afcc78
[chg] release user.css, merge old user.css and shaarli.css on myShaarli.css
2015-06-29 14:42:09 +02:00
Knah Tsaeb
b741e823c7
[chg] reorganize css
2015-06-29 11:36:09 +02:00
Knah Tsaeb
7d0661086e
[chg] optimise and clean css
2015-06-29 11:30:57 +02:00
nodiscc
eee711c0a8
Merge pull request #254 from virtualtam/test/linkdb/datastore
...
LinkDBTest: only check that the datastore is created and non-empty
2015-06-28 15:53:27 +02:00
VirtualTam
0037fbe1e0
LinkDBTest: only check that the datastore is created and non-empty
...
Fixes #252
Relates to #238
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-06-28 14:53:26 +02:00
nodiscc
fe4e8839b3
doc: bump php requirement to php 5.4, fixes https://github.com/shaarli/Shaarli/issues/250
2015-06-27 16:30:54 +02:00
nodiscc
d72ae3d7e8
Merge remote-tracking branch 'ArthurHoaro/default-links'
2015-06-26 22:03:25 +02:00
nodiscc
2fbadc3c63
Merge remote-tracking branch 'virtualtam/linkdb/remove-globals'
2015-06-26 22:03:10 +02:00
nodiscc
da9b0e3e80
[doc] sync doc with latest wiki, build HTML
2015-06-26 21:58:07 +02:00
nodiscc
927a84119c
[doc] update CONTRIBUTING
2015-06-26 21:58:07 +02:00
nicolasm
eae648d4fd
duplicated id removed
2015-06-26 21:58:07 +02:00
nicolasm
41145f7050
awesome.css restored. width bug fixed.
2015-06-26 21:57:12 +02:00
nodiscc
d257f25c96
Merge pull request #249 from fbartels/patch-1
...
Restore compatibility with php 5.3
2015-06-26 21:49:18 +02:00
Knah Tsaeb
ff50f9c69e
[chg] start proper fork of original Shaarli
2015-06-26 17:29:17 +02:00
Felix Bartels
ddfc400465
Restore compatability with php 5.3
2015-06-26 16:57:07 +02:00
Knah Tsaeb
9047fb2fd5
[chg] remove javascript autofocus prefer html5
2015-06-26 15:33:17 +02:00
Knah Tsaeb
1f28497fff
[add] option for define contact link
2015-06-26 15:23:10 +02:00
Knah Tsaeb
cd635a0857
[add] Firefox social API by Marsup d33c5d4c3b
2015-06-26 14:41:36 +02:00
Knah Tsaeb
1f0cf0c35e
[chg] bad if syntax
2015-06-26 14:09:33 +02:00
ArthurHoaro
17c45348fe
Page title if there is a single link
...
Fixes #232
2015-06-26 14:03:36 +02:00
Knah Tsaeb
5bc8d56ae8
[fix] small fix
2015-06-26 12:23:23 +02:00
VirtualTam
9c8752a206
LinkDB: do not access global variables
...
Relates to #218
Removes "hidden" access to the following variables:
- $GLOBALS['config']['datastore']
- PHPPREFIX
- PHPSUFFIX
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-06-24 23:26:52 +02:00
ArthurHoaro
30e6f1ca2f
Fixes unit tests: checking datastore filesize instead of hash.
...
date() makes the hash validation worthless because it changes at every generation.
2015-06-24 11:58:01 +02:00
ArthurHoaro
598376d4cf
Change fresh install default link
...
Fixes #200
Let me know if you want to change anything in the description.
2015-06-24 11:58:00 +02:00
nodiscc
64bc92e3ac
move escape() and sanitizeLink() to application/Utils.php
...
prevents 'PHP Fatal error: Call to undefined function sanitizeLink() in Shaarli/application/LinkDB.php on line 255' in tests
2015-06-24 01:08:30 +02:00
nodiscc
eaefcba724
Merge remote-tracking branch 'ArthurHoaro/input-escape' into next
...
Conflicts:
index.php
2015-06-24 00:51:38 +02:00
VirtualTam
9f15ca9ee7
LinkDB: add 'hidePublicLinks' parameter to the constructor
...
Fixes #236
Relates to #237
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-06-24 00:26:59 +02:00
nodiscc
ae63027010
add travis-ci.org build status to README
2015-06-24 00:17:28 +02:00
nodiscc
b6a88fab55
Add link to 'Running unit tests wiki page'
...
Fixes https://github.com/shaarli/Shaarli/issues/234
2015-06-23 20:51:16 +02:00
nodiscc
4c68c20cdd
Merge remote-tracking branch 'nicolasdanelon/master' into next
2015-06-23 20:45:15 +02:00
Nicolas Danelon
38eb1e7770
cursor pointer for label (ux improvement)
2015-06-23 15:32:23 -03:00
Nicolas Danelon
504a425409
fix no javascript
2015-06-23 15:30:13 -03:00
ArthurHoaro
c68da3ffbf
Page title if there is a single link
...
Fixes #232
2015-06-23 20:22:02 +02:00
ArthurHoaro
5f85fcd863
Working on shaarli/Shaarli#224
...
I reviewed character escaping everywhere with the following ideas:
* use a single common function to escape user data: `escape` using `htmlspecialchars`.
* sanitize fields in `index.php` after reading them from datastore and before sending them to templates.
It means no escaping function in Twig templates.
2 reasons:
* it reduces risks of security issue for future user made templates
* more readable templates
* sanitize user configuration fields after loading them.
2015-06-23 16:35:36 +02:00
Nicolas Danelon
3d713bd18f
Update awesomplete.css
2015-06-23 11:22:11 -03:00
Nicolas Danelon
e6cd88bbc0
filter input search responsive fixed (mobile)
2015-06-23 11:03:11 -03:00
nodiscc
0923a2bc1b
add tabindex 1/2 to search and tags fields
2015-06-23 15:32:45 +02:00
nodiscc
e88368518d
Merge remote-tracking branch 'origin/doc-contributing'
2015-06-23 15:11:17 +02:00
nodiscc
4a5827ff5a
Merge remote-tracking branch 'ArthurHoaro/daily-date' into next
2015-06-23 15:07:03 +02:00
nodiscc
adb1d6c213
Merge remote-tracking branch 'nicolasdanelon/master' into next
2015-06-23 15:03:01 +02:00
nodiscc
578a84bda0
re-add readDb() missing from previous merge
2015-06-23 14:57:54 +02:00
nodiscc
38a0c256d2
Merge remote-tracking branch 'virtualtam/test/link-db' into next
...
Conflicts:
index.php
2015-06-23 14:38:43 +02:00
nodiscc
0fe36414c8
Merge remote-tracking branch 'ArthurHoaro/search-tag-awesomplete' into next
2015-06-23 14:18:31 +02:00
nodiscc
7d338fa531
Merge remote-tracking branch 'virtualtam/travis' into next
2015-06-23 14:18:04 +02:00
nda
25c46408a3
fix login desktop
2015-06-19 17:42:16 -03:00
nda
f30aa976e1
login enhance for mobile
2015-06-19 17:37:38 -03:00
ArthurHoaro
4de71445d3
Daily page: date format in template
...
It only concerns the date of the day in the main title.
Fixes #182
Note that daily RSS feed is not generated through templates. Date are still hard formatted in that case.
2015-06-19 20:23:58 +02:00
VirtualTam
ca74886f30
LinkDB: move to a proper file, add test coverage
...
Relates to #71
LinkDB
- move to application/LinkDB.php
- code cleanup
- indentation
- whitespaces
- formatting
- comment cleanup
- add missing documentation
- unify formatting
Test coverage for LinkDB
- constructor
- public / private access
- link-related methods
Shaarli utilities (LinkDB dependencies)
- move startsWith() and endsWith() functions to application/Utils.php
- add test coverage
Dev utilities
- Composer: add PHPUnit to dev dependencies
- Makefile:
- update lint targets
- add test targets
- generate coverage reports
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-06-11 00:45:45 +02:00
nodiscc
3821b1ee88
Create CONTIBUTING.md
...
Contributing guidelines, fixes https://github.com/shaarli/Shaarli/issues/154
2015-06-10 00:26:00 +02:00
ArthurHoaro
a037ac6963
Do not load links if they're hidden (also fix shaarli/Shaarli#202 )
2015-06-09 14:58:54 +02:00
ArthurHoaro
65d6251744
Add awesomplete to tag search shaarli/Shaarli#49
2015-06-09 14:23:28 +02:00
VirtualTam
13d07f9699
Add Travis CI config
...
Relates to #71
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-06-05 01:11:18 +02:00
nodiscc
cbecab7735
split annoyingpatterns list on multpile lines, add new patterns for removal:
...
* utm_content=
* fb=
* xtor=
closes https://github.com/shaarli/Shaarli/issues/136
2015-06-03 15:58:58 +02:00
nodiscc
f95d0428f6
Merge branch 'really-hide' of https://github.com/pikzen/Shaarli into next
2015-05-22 21:07:00 +02:00
nodiscc
8b3c67fccb
Merge remote-tracking branch 'Marsup/firefox-social' into next
2015-05-22 21:04:36 +02:00
Knah Tsaeb
75d92a11f6
[fix] duplicate id paging_current in paging
2015-05-20 12:30:54 +02:00
Knah Tsaeb
3a6dad3bc4
Merge branch 'myShaarli' of forge.leslibres.org:shaarli into myShaarli
2015-05-20 12:24:13 +02:00
Knah Tsaeb
b69f64e3fa
[add] option for post original article to wallabag (nodiscc plugin)
2015-05-20 12:23:02 +02:00
Knah Tsaeb
8a93529664
[add] option for post original article to wallabag (nodiscc plugin)
2015-05-20 12:19:47 +02:00
Knah Tsaeb
3737a64ff3
[chg] change rename/delete tag form
2015-05-20 10:40:51 +02:00
Marsup
d33c5d4c3b
Add Firefox Social API to the tools. Fixes #101 .
2015-05-15 16:18:54 +00:00
Knah Tsaeb
2e05b32a32
[add] markdown documentation
...
[upd] better css and semantic for edit/add form
2015-05-13 12:07:03 +02:00
Knah Tsaeb
33502774af
[upd] better add form css
2015-05-12 16:26:37 +02:00
feula
59c90f5808
Properly hide all links
...
>searchtags
2015-05-11 20:08:38 +02:00
Jonathan Druart
f5b059254f
Display date as today if no articles published
...
On "The Daily Shaarli" page (index.php?do=daily), the date is "Tuesday
30, November 1999" if no articles have been published/shared.
This patch checks the parameter ($linkdate) before the mktime call to
prevent and generate the "day 0" string.
mktime(0,0,0,0,0,0) returns 943916400 (hum?)
2015-05-11 11:16:19 +01:00
Knah Tsaeb
7f8cde80f7
[add] option for enable/disable markdown
...
[fix] enables automatic line breaks
2015-05-07 10:38:19 +02:00
Knah Tsaeb
09fb269e37
[add] insert selected description from bookmarklet as quote (markdown)
2015-05-05 16:36:39 +02:00
nodiscc
ade1b1365b
thumbnails: force HTTPS for youtube, imgur, vimeo
...
* other services also provide thumbs over HTTPS, but the rewrite expression is more complex, so left out for now
2015-05-05 16:04:08 +02:00
Qwerty
83a86d2d39
Add Archive.org integration
...
* adds an "archive" link next to permalinks, linking to the last version of the page on archive.org
2015-05-05 15:56:17 +02:00
ArthurHoaro
1687756741
shaarli/Shaarli#34 : Make update check optional
...
* Add a check box at installation (checked by default)
* Add a check box in configuration page
2015-05-05 15:36:46 +02:00
nodiscc
3e361b0394
Redirect to homepage after adding a link via "Add Link" dialog
...
* Fixes https://github.com/shaarli/Shaarli/issues/115
2015-05-05 15:19:29 +02:00
ArthurHoaro
f2391a5793
Fixes shaarli/Shaarli#46 : allow 'javascript:' links sharing
2015-05-05 15:17:25 +02:00
Knah Tsaeb
27c05d1885
[upd] fix all div width
2015-05-05 15:10:32 +02:00
Knah Tsaeb
a90f15a5c2
[upd] css search form
2015-05-05 14:34:29 +02:00
nodiscc
e76cb042fa
tools dialog: add a 'Add Note' bookmarklet to immediatly open a note (text post) compose window
...
* Fixes https://github.com/shaarli/Shaarli/issues/142
* Fixes https://github.com/sebsauvage/Shaarli/issues/59
2015-05-05 12:02:03 +02:00
Knah Tsaeb
6f4fd910a9
[add] markdown support
2015-05-05 11:41:43 +02:00
nodiscc
569ffb59d4
doc: add demo to README
...
fixes https://github.com/shaarli/Shaarli/issues/198
2015-04-20 14:36:25 +02:00
nodiscc
caee7ff9cc
change wording and variable names for "Hide public links" feature
2015-04-10 20:52:12 +02:00
nodiscc
0c45b01cc2
Merge remote-tracking branch 'pikzen/disable-public' into next
2015-04-10 20:30:33 +02:00
nodiscc
507849290c
Merge remote-tracking branch 'ArthurHoaro/localecharset' into next
2015-04-10 20:30:15 +02:00
nodiscc
c5db827aee
Merge branch 'pandoc' into next
2015-04-10 20:28:51 +02:00
nodiscc
1caf200551
Merge commit '326ae54' into next
2015-04-10 20:28:24 +02:00
feula
8fa1ebd605
Allow disabling all public links, fixes #188
2015-04-09 18:13:11 +02:00
ArthurHoaro
da49603b86
#193 add UTF8 by default to autoLocale
2015-04-08 06:53:34 +02:00
nodiscc
6811469e75
doc: remove old mdwiki index.html
2015-04-05 22:41:40 +02:00
nodiscc
b84c913f7f
doc: point footer link to local html documentation
2015-04-05 22:39:34 +02:00
nodiscc
a57a12ef3c
doc: sync doc/github-markdown.css from wiki
2015-04-05 22:38:57 +02:00
nodiscc
7a32b172b8
add local HTML documentation
...
generated with 'make htmldoc'
2015-04-05 22:37:15 +02:00
nodiscc
82af78b272
use pandoc to generate local HTML documentation
...
fixes https://github.com/shaarli/Shaarli/issues/178
run 'make htmldoc'
2015-04-05 22:35:01 +02:00
nodiscc
10070c3700
doc: update documentation (sync from wiki)
2015-04-05 22:18:04 +02:00
nodiscc
f3e89f50ec
cleanup: makefile comments
2015-04-05 22:17:37 +02:00
ArthurHoaro
8438a2e5d0
Fixes autoLocale function by trying several way to find a correct one.
...
Fix https://github.com/shaarli/Shaarli/issues/184
2015-04-05 22:01:43 +02:00
dimtion
326ae54d08
Fix missing permalink title when logged in
2015-04-05 18:18:15 +02:00
nodiscc
82cfe1fe96
Merge pull request #183 from pikzen/fix-absolute-urls
...
Display notes as absolute URLs (for real)
2015-04-01 11:56:42 +02:00
Florian Eula
b47f515ad3
Display notes as absolute URLs
2015-04-01 11:47:04 +02:00
ArthurHoaro
a5752e776c
Fix bad merge commit
...
Define date format in templates instead of index.php.
Conflicts:
index.php
tpl/dailyrss.html
2015-04-01 00:32:47 +02:00
nodiscc
2f4ab7cae2
update doc
2015-03-31 20:21:21 +02:00
pikzen
d3b2b456e1
Display notes as absolute urls
...
Fixes https://github.com/shaarli/Shaarli/issues/177
Merge commit '3ea318dad05954e2043d5bb2f8572b103d7c3930' into notes-absolute-url
Conflicts:
index.php
2015-03-31 20:16:06 +02:00
nodiscc
3139a6cf8d
Fix php error in daily RSS
...
Use of undefined constant htmlspecialchars - assumed 'htmlspecialchars' in /var/www/links/tmp/dailyrss.*
Thanks @alexisju in bec1870180
2015-03-31 20:02:50 +02:00
ArthurHoaro
880cbf92ca
Fixes autoLocale function by trying several way to find a correct one.
2015-03-31 13:22:20 +02:00
ArthurHoaro
bec1870180
Define date format in templates instead of index.php.
2015-03-31 13:19:07 +02:00
feula
3ea318dad0
Display notes as absolute urls.
...
The deletion is related to Windows not handling quotes in filenames, see
#179 . It shouldn't delete the real file. Probably. Check it out.
2015-03-29 17:31:38 +02:00
nodiscc
129ff3c2e5
bump version to 0.0.45beta
2015-03-16 16:17:31 +01:00
nodiscc
c981b4d19c
restore normal font size for the "Add link" input field
...
* Fixes second part of #172
2015-03-16 16:16:03 +01:00
nodiscc
5b2a7cfe0f
Revert to non-unicode characters for search buttons
...
* Fixes #172
2015-03-16 16:13:04 +01:00
nodiscc
b4b7d3343a
Merge branch 'picwall-direct-link' into next
2015-03-15 14:24:51 +01:00
nodiscc
aa22244027
bump version to 0.0.44beta
2015-03-15 14:23:55 +01:00
nodiscc
3a82ed09f3
Merge branch 'cleaner-searchfields' into next
2015-03-15 14:22:14 +01:00
nodiscc
9a631bab7f
Merge remote-tracking branch 'ArthurHoaro/autocomplete' into next
2015-03-15 14:21:59 +01:00
nodiscc
bc66d513a9
Merge branch 'include-doc' into next
2015-03-15 14:21:33 +01:00
nodiscc
1acc87eeac
Include documentation/wiki locally:
...
* sync current wiki (https://github.com/shaarli/Shaarli/wiki ) to the doc/ directory
* fix missing logo in README
* add link to local documentation in the page footer
* add Makefile targets for doc generation by @virtualtam
2015-03-14 18:40:11 +01:00
nodiscc
582b0d40df
add placeholder text for search fields, change button text to magnifying glass unicode symbol
2015-03-12 21:00:50 +01:00
ArthurHoaro
bdd1715b24
Use awesomplete as autocomplete lib and remove jQuery - shaarli/Shaarli#148
...
* Add awesomplete dependancy (source + min + CSS)
* Remove jQuery and jQuery-UI dependancy
* Few CSS ajustements
* Use tags complete list as RainTPL var (and display it as HTML)
* Remove "disable jQuery" feature
* Remove tag list web service
2015-03-12 20:27:16 +01:00
nodiscc
4f8063b639
theme: decrease border-radius to 3px everywhere
2015-03-12 14:38:08 +01:00
nodiscc
736a73a96d
update COPYING
2015-03-12 13:19:03 +01:00
nodiscc
4a1a1190a6
picwall: link directly to the target URL (not the permalink)
2015-03-11 19:19:18 +01:00
Miloš Jovanović
4aca798e47
added menu div and cleaned up code
2015-03-11 19:19:04 +01:00
Miloš Jovanović
610bf4186a
Fix menu dynamic resize, padding, private icon pixelation
2015-03-11 19:19:04 +01:00
nodiscc
3ef1da28e8
Merge pull request #119 from ArthurHoaro/js-link
...
allow 'javascript:' links sharing (bookmarklets)
2015-03-11 19:17:13 +01:00
nodiscc
33bf8a6f74
Merge pull request #151 from nodiscc/addnote-button
...
tools dialog: add a 'Add Note' bookmarklet to immediatly open a note (text post) compose window
2015-03-07 14:11:49 +01:00
nodiscc
1b434b5270
tools dialog: add a 'Add Note' bookmarklet to immediatly open a note (text post) compose window
...
* Fixes https://github.com/shaarli/Shaarli/issues/142
* Fixes https://github.com/sebsauvage/Shaarli/issues/59
2015-03-07 01:27:03 +01:00
nodiscc
1c8f4fc107
Merge pull request #124 from virtualtam/static-analysis
...
Code quality: Makefile to run static code checkers
2015-03-07 01:19:06 +01:00
VirtualTam
00f98bdaca
Code quality: Makefile to run static code checkers
...
Relates to #71
Relates to #95
Additions:
- Makefile for easy usage,
- Composer file to declare dev & test dependencies.
Features:
- PHP Copy/Paste Detect: detect duplicate code;
- PHP Code Sniffer: static analysis, syntax checking,
- PHP Mess Detector: static analysis, syntax checking.
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
2015-03-05 23:28:43 +01:00
nodiscc
3a10fa0e3f
fix broken URL for user.css
2015-03-05 18:14:25 +01:00
nodiscc
a056d988e7
fix broken CSS file URL introduced in 1f7f8ce067
2015-03-05 13:54:00 +01:00
nodiscc
e894673c36
Merge pull request #140 from nodiscc/master
...
Various fixes
2015-03-05 13:44:40 +01:00
nodiscc
9811b3efbc
add bountysource.com badge
...
* Bountysource is the funding platform for open-source software. Users can improve the open-source projects they love by creating/collecting bounties and pledging to fundraisers.
* https://github.com/bountysource/frontend/wiki/Frequently-Asked-Questions
2015-03-05 13:43:53 +01:00
nodiscc
35c2c4db5b
Redirect to homepage after adding a link via "Add Link" dialog
...
* Fixes https://github.com/shaarli/Shaarli/issues/115
2015-03-05 13:43:53 +01:00
nodiscc
473f37a2ee
update README: add note about php-gd and git-based upgrade
2015-03-05 13:43:53 +01:00
nodiscc
572fbafe5b
remove duplicate license information, fixes https://github.com/shaarli/Shaarli/issues/135
2015-03-05 13:43:53 +01:00
nodiscc
1f7f8ce067
cleanup: remove version number from CSS links
...
* fixes https://github.com/shaarli/Shaarli/issues/134
2015-03-05 13:43:53 +01:00
nodiscc
01b8f52718
Merge pull request #141 from nodiscc/cleanurl-filters
...
Add URL cleaning filters + refactoring
2015-03-05 13:42:38 +01:00
nodiscc
baf5cbf27d
Improve URL cleaning:
...
* also remove action_type_map, action_ref_map and action_object maps params used by facebook
2015-03-05 13:40:43 +01:00
nodiscc
403a199409
Improve annoying URL parameters cleaning:
...
* Use regular expressions to avoid suplicating params depending on their position in the URL (¶m=,?param=)
* Only remove the relevant URL pattern and don't remove following params, fixes https://github.com/shaarli/Shaarli/issues/136
* Credits to Marcus Rohrmoser (https://github.com/mro )
2015-03-05 13:33:30 +01:00
nodiscc
0e5400e617
Merge pull request #132 from ArthurHoaro/picwall
...
Lazy load images with the light lib bLazy.js instead of jQuery
2015-03-04 23:27:28 +01:00
nodiscc
ad2a397c66
cleanup: refactor annoying URL patterns in a single loop
...
* fixes https://github.com/shaarli/Shaarli/issues/133
2015-03-04 20:11:39 +01:00
Alexis J
bc1ef5b94a
Add some filters to clean URLs
2015-03-04 20:02:04 +01:00
ArthurHoaro
34047d23fb
Lazy load images with the light lib bLazy.js instead of jQuery:
...
* Remove jquery.lazyload lib
* Add blazy lib
* Add a bit of CSS animation
* Delete unused picwall2 template
2015-03-01 11:23:03 +01:00
Emilien Klein
7572cfbe96
Merge pull request #123 from nodiscc/dont-disclose-version
...
Prevent visitors from reading shaarli version
2015-02-25 21:41:56 +01:00
nodiscc
dbcad7406e
Prevent visitors from reading shaarli version
...
* fixes https://github.com/shaarli/Shaarli/issues/122
* the shaarli version is now in a php comment block, which prevents
visitors from reading it when it is place on a PHP-enabled server, but
still allows the update mechanism to read it from the source on github.
2015-02-25 13:25:45 +01:00
Emilien Klein
0c5746061e
Merge pull request #120 from ArthurHoaro/optionalupdate
...
shaarli/Shaarli#34 : Make update check optional
2015-02-21 14:45:48 +01:00
ArthurHoaro
329e076879
shaarli/Shaarli#34 : Make update check optional
...
* Add a check box at installation (checked by default)
* Add a check box in configuration page
2015-02-20 22:49:41 +01:00
ArthurHoaro
f81139c9b2
Fixes shaarli/Shaarli#46 : allow 'javascript:' links sharing
2015-02-20 21:46:21 +01:00
nodiscc
be3f0b4ec3
bump version to 0.0.43beta
2015-02-20 19:41:53 +01:00
nodiscc
4891e2f77a
Merge pull request #86 from pikzen/fix-cookies
...
Prevent shaarli from sending thousands of cookies.
2015-02-19 16:23:43 +01:00
Emilien Klein
6e838176a1
Added Gitter badge ( Fixes #116 )
2015-02-19 12:05:18 +01:00
Florian Eula
ff69d87ed9
Only verify login state at the beginning of the request.
...
Moved login check into a function
2015-02-18 21:51:32 +01:00
nodiscc
e49de55ab1
Merge pull request #114 from nodiscc/redirect-previous-search
...
redirect to previous search (if any) when deleting a link
2015-02-17 21:13:35 +01:00
feula
d528433d73
redirect to previous search (if any) when deleting a link
...
* Fixes https://github.com/shaarli/Shaarli/issues/110
2015-02-17 21:03:22 +01:00
nodiscc
225eff62a1
fix broken reset.css URL introduced in a6e0134
2015-02-17 20:58:11 +01:00
nodiscc
97f7ac4dd4
Merge pull request #109 from nodiscc/version-check
...
Update README and Shaarli's footer
2015-02-14 13:49:36 +01:00
nodiscc
a6e0134d07
Fix missing authors and licenses in COPYING
...
* add idleman for original CSS
* add yahoo inc. for CSS reset
* split the main css code and the yahoo reset CSS in 2 files
* add copyright information for RainTPL, add LGPL license
2015-02-14 13:49:00 +01:00
nodiscc
e6ea0f9653
Update README and Shaarli's footer
...
* remove version number display from main page
* update project URL in footer, fixes https://github.com/shaarli/Shaarli/issues/89
* update copyright notice in the footer
* mention origins of the fork in README, fixes https://github.com/shaarli/Shaarli/issues/105
* update License section in the README
* remove screenshots as mediacru.sh is down
2015-02-14 13:48:39 +01:00
nodiscc
aa69403cff
Merge pull request #63 from pikzen/permaoptions
...
New option ENABLE_RSS_PERMALINKS: choose whether the RSS item title link points directly to the link, or to the entry on Shaarli (permalink)
2015-02-07 19:50:27 +01:00
Florian Eula
ed5b38ddd2
Feature: enable/disable permalinks for RSS
...
The option to see the shortlinks or permalinks has been added to the configuration panel. It is a simple checkbox
This option is disabled by default (meaning that shortlinks are the default)
Updated writeConfig() to save this option
Also fixed a slight typo in config.html.
Removed useless CSS & fixed a comment
Enabled permalinks for the ATOM feed and fixed the isPermaLink attribute for the <guid> tag
Reverted to default behavior and clarified its meaning
EnableRssPermalinks is an oddly behaving option: when enabled, it shows a
permalink in the description and a full link in the element title, and
swaps it around when disabled. This clarifies the option for end-users
Also, moved enable_rss_permalinks to $GLOBALS['config'] because it is a
config option.
fix indent
2015-02-07 03:21:30 +01:00
Knah Tsaeb
086adcd4a9
[fix] bad detection of favicon url
2015-01-30 10:47:07 +01:00
Knah Tsaeb
f0bec991d0
Merge branch 'favicon' into myShaarli
...
Conflicts:
index.php
2015-01-30 09:37:52 +01:00
Knah Tsaeb
268682859a
[add] show favicon of site
...
[add] fetch and cache favicon
2015-01-29 16:59:59 +01:00
nodiscc
7d0a0d8a7a
Merge pull request #107 from pikzen/fix-copying
...
Fix license info: reverted qr.js to GPL, add full GPLv3 and CC-BY licenses
2015-01-27 13:22:28 +01:00
Florian Eula
5a2cbde945
Fixed license info, reverted qr.js to GPL
...
Added full GPLv3 and CC-BY license
I also accidentally declared qr.js as MIT and CC-BY, when it was GPLv3.
I don't even.
2015-01-27 13:19:51 +01:00
nodiscc
09850e6a20
Merge pull request #98 from ArthurHoaro/port
...
Fix port/server config problems by using php SERVER_NAME instead of HTTP_HOST
2015-01-26 14:49:56 +01:00
nodiscc
4e7b1bf698
Merge pull request #99 from pikzen/license-version
...
Versioned JS files & centralized licenses
2015-01-26 13:41:06 +01:00
nodiscc
852613dece
Merge pull request #100 from virtualtam/daily-timestamp
...
daily: display link timestamps
2015-01-26 13:40:37 +01:00
nodiscc
e57e364c79
Merge pull request #103 from virtualtam/fix-w3c
...
w3c: fix HTML syntax errors
2015-01-26 13:40:14 +01:00
feula
8e0ad1d920
Versioned JS files & centralized licenses
...
Updated libraries
Updated copyright dates and the list of contributors.
Added unminified sources for GPL compliance
2015-01-21 11:46:50 +01:00
VirtualTam
04751e0441
w3c: fix HTML syntax errors
...
Fixes #64
All pages:
- add `urlencode` when passing the version to a custom stylesheet;
- set meaningful values of `alt` and `title` for QR-Code images.
Install page:
- the form's `action` attribute must be non-empty;
- the `valign` attribute is deprecated.
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
2015-01-20 02:53:53 +01:00
VirtualTam
38a2d03e34
daily: display link timestamps
...
Fixes #26
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
2015-01-15 00:05:26 +01:00
nodiscc
486f25a5f4
Merge pull request #93 from ArthurHoaro/scripttag
...
Remove language attribute on script tag and improve QRCode JS
2015-01-11 14:56:22 +01:00
ArthurHoaro
2f32d0746b
Fixes Port/server config problems - see: https://github.com/shaarli/Shaarli/issues/17
...
* Use SERVER_NAME instead of HTTP_HOST to define current URL (in serverUrl()
* Use SERVER_NAME instead of HTTP_HOST while setting up cookies
2015-01-09 11:46:25 +01:00
ArthurHoaro
fe16b01edb
* removed the language attribute on the script element since it is obsolete and we can safely omit it.
...
* make QRCode JS works with IE :
* behave as a normal link if canvas aren't supported (<=IE8)
* default parameter values in JS aren't widely supported (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters ), use this method instead: http://stackoverflow.com/a/148918/1484919
* dataset isn't supported in IE9 use getAttribute instead
* addEventListener works with IE9+ and other browsers
2015-01-09 09:47:48 +01:00
nodiscc
a2d5ef2127
Merge pull request #77 from ArthurHoaro/w3c
...
Make Shaarli's template W3C compliant #64
2015-01-09 02:34:00 +01:00
ArthurHoaro
8079dfd1cd
W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64 ):
...
* fix duplicate IDs - #paging_older, #paging_newer become classes as the paging is displayed twice (top, bottom) in the linklist
* fix duplicate IDs - #paging_privatelinks and #paging_linksperpage become classes
* daily links are now valid (use &)
* name attribute is not used anymore on a tag in link list
* center tag is replaced by CSS in picwall and tag cloud
* action in form tag can't be empty, use # instead
* fixed configure table with CSS instead of cellpadding, border, and valign
* export links are now valid
* remove "size" in input tag
* Fix missing alt attributes for img elements
* tpl/daily: Use HTML entities instead of char escape codes
* tpl/export: fix missing </span> closing tag
* Remove obsolete language attribute on <script> elements
2015-01-08 10:15:05 +01:00
nodiscc
002f9625ec
Merge pull request #90 from shaarli/issue-87
...
Redirect to home page after deleting a link (Fixes issue 87)
2015-01-05 20:13:15 +01:00
Emilien Klein
657837af11
Redirect to home page after deleting a link
...
Fixes issue 87
2015-01-04 15:19:14 -05:00
nodiscc
f8d83b35b6
Merge pull request #85 from nodiscc/tagcloud-scaling
...
improve tag cloud font size scaling
2014-12-29 03:00:25 +01:00
nodiscc
1e3b2740e5
improve tag cloud font size scaling
...
* use logarithmic scales
* remove bold style
2014-12-29 02:59:35 +01:00
nodiscc
3259f1a814
Merge pull request #82 from pikzen/fix-search
...
Made tag/title search unicode aware, fixes #75
2014-12-25 01:21:39 +01:00
nodiscc
169512f0b8
Merge pull request #83 from pikzen/loop-factor
...
Refactored the daily column generation (only one loop)
2014-12-25 01:15:14 +01:00
Florian Eula
cae64e52e4
Refactored the daily column generation (only one loop)
2014-12-25 01:10:58 +01:00
Florian Eula
2e45fdd8ff
Made tag/title search unicode aware, fixes #75
2014-12-22 16:43:37 +01:00
nodiscc
60b83e7cf7
fix quoting error introduced in 712501812b
2014-12-16 19:52:06 +01:00
nodiscc
712501812b
Merge pull request #81 from nodiscc/prevent-disclosure
...
Prevent full path and PHP version disclosures
2014-12-16 19:26:11 +01:00
nodiscc
509762236b
prevent disclosing PHP version on PHP version check error
...
* fixes https://github.com/shaarli/Shaarli/issues/78
* fixes https://github.com/sebsauvage/Shaarli/issues/214
2014-12-16 19:24:37 +01:00
nodiscc
569be2e8d5
prevent disclosing full path when raising "Shaarli directory not writeable" error
...
* work on https://github.com/shaarli/Shaarli/issues/78
2014-12-16 19:23:36 +01:00
nodiscc
038acd3a7f
Merge pull request #69 from nodiscc/master
...
bookmarklet: add ✚ sign to make it more recognizable in toolbars
2014-12-05 20:27:15 +01:00
nodiscc
e0a9e14704
bookmarklet: add ✚ sign to make it more recognizable in toolbars
2014-12-05 20:26:51 +01:00
nodiscc
cdd870b72e
Merge pull request #68 from virtualtam/hardcoded-style
...
CSS: remove hardcoded style from templates
2014-12-05 17:56:19 +01:00
VirtualTam
c133612f32
CSS: remove hardcoded style from templates
...
Fixes shaarli/Shaarli#29
Style elements refactored as follows:
- use existing ids and classes if possible,
- else, define new ones and stick with the existing naming convention,
- remove hardcoded style attributes from RainTPL templates.
Exception:
In tpl/tagcloud.html, the display size of each tag is computed at page
generation.
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
2014-12-03 19:28:43 +01:00
nodiscc
dff9ee543d
Merge pull request #67 from e2jk/issue-66
...
Fix issue #66 by adding space before "selected"
2014-12-03 17:18:36 +01:00
Emilien Klein
e5aab50ac4
Fix issue #66 by adding space before "selected"
2014-12-02 23:42:23 +01:00
nodiscc
fdd8fb2be2
Merge pull request #28 from virtualtam/unify-css
...
Unify css
2014-12-01 23:20:52 +01:00
VirtualTam
6e70d65546
CSS: separate rules with a blank line
...
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
2014-12-01 21:55:18 +01:00
VirtualTam
32c8dee39c
CSS: expand one-line declarations
...
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
Conflicts:
inc/shaarli.css
2014-12-01 21:54:48 +01:00
VirtualTam
eeb0fe33a0
CSS: unify coding style - spaces, brackets, keywords
...
Spaces:
- before an opening bracket
- before a closing bracket
- between a keyword and its value(s)
- between comma-separated selectors
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
Conflicts:
inc/shaarli.css
Conflicts:
inc/shaarli.css
Conflicts:
inc/shaarli.css
2014-12-01 21:52:37 +01:00
VirtualTam
9308d39fce
CSS: replace tabs by spaces, remove trailing whitespaces and empty lines
...
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
Conflicts:
inc/shaarli.css
2014-12-01 21:50:34 +01:00
nodiscc
a58240ce8d
Merge pull request #62 from pikzen/linkurl
...
Added a link to the visible URL in the link list
2014-11-21 21:16:02 +01:00
Florian Eula
d741c9fc16
Added a link to the visible URL in the link list
...
Corrected CSS to prevent a line from showing underneath
Fixes https://github.com/shaarli/Shaarli/issues/53
2014-11-21 19:43:53 +01:00
nodiscc
9bd6089b57
Merge pull request #61 from pikzen/shaarli47
...
Prevents ?do=addlink from generating a 404 if the user is not logged in
Fixes https://github.com/sebsauvage/Shaarli/issues/141
Fixes https://github.com/shaarli/Shaarli/issues/47
2014-11-21 18:42:10 +01:00
Florian Eula
aedc912d36
Prevents ?do=addlink from generating a 404 if the user is not logged in
...
Fixes https://github.com/shaarli/Shaarli/issue/47
2014-11-21 18:31:49 +01:00
nodiscc
4ad88dd190
Merge pull request #60 from pikzen/master
...
Do not add a tag to the search if it's already being searched for.
* Fixes https://github.com/shaarli/Shaarli/issues/50
* Fixes https://github.com/sebsauvage/Shaarli/issues/140
2014-11-21 18:27:04 +01:00
Florian Eula
732e683bda
Do not add a tag to the search if it's already being searched for
2014-11-21 18:19:37 +01:00
nodiscc
9362352e12
Merge pull request #59 from tst2005/master
...
uniform if syntax
2014-11-13 01:48:52 +01:00
Emilien Klein
f2b2ac8c79
Merge pull request #54 from nodiscc/tagcloud-urlencode
...
use urlencode in tagcloud links
2014-11-10 22:16:27 +01:00
nodiscc
0845fb1ab8
use urlencode in tagcloud links
...
* prevents unproper escaping of characters like '&'
* fixes https://github.com/sebsauvage/Shaarli/issues/85
* fixes https://github.com/shaarli/Shaarli/issues/48
2014-11-09 21:09:43 +01:00
nodiscc
dffa06ed61
Merge pull request #51 from nodiscc/optional-archiveorg
...
make archive.org integration optional (ARCHIVE_ORG option, defaults to false)
2014-11-08 18:40:27 +01:00
nodiscc
d2f517638c
make archive.org integration optional (ARCHIVE_ORG option, defaults to false)
2014-11-08 18:21:19 +01:00
Emilien Klein
6fdbfe817a
Merge pull request #42 from nodiscc/new-readme
...
Update README
2014-11-08 17:40:58 +01:00
Emilien Klein
903eb0f99c
Merge pull request #39 from nodiscc/master
...
add warning about hostname/cookie storage problems during install
2014-11-08 17:34:01 +01:00
Emilien Klein
19920acc17
Merge pull request #43 from nodiscc/archiveorg-integration
...
Add Archive.org integration
2014-11-08 17:32:12 +01:00
Qwerty
b113dc8e6b
Add Archive.org integration
...
* adds an "archive" link next to permalinks, linking to the last version of the page on archive.org
2014-11-05 14:35:52 +01:00
nodiscc
cffa853aae
Update README:
...
* Add screenshots
* Use Mediacrush as a CDN for images to reduce load on sebsauvage.net
* Improve page layout/sections
* Reorder list of features
* Add links to wiki and bug tracker
* Add proper download links for stable/dev channels
* Improve copyright/license notice
2014-11-04 20:35:55 +01:00
nodiscc
01ec179148
index.html: add warning message about hostname/cookie storage problems
...
* Fixes https://github.com/sebsauvage/Shaarli/issues/196
* Fixes https://github.com/sebsauvage/Shaarli/issues/97
2014-11-03 13:21:14 +01:00
Emilien Klein
36b226ca1b
Merge pull request #37 from qwertygc/patch-2
...
Update shaarli_version.txt
2014-10-25 19:01:27 +02:00
Qwerty
2e9af8ab26
Update shaarli_version.txt
...
La version actuelle de shaarli est la 0.042.
2014-10-25 15:25:53 +02:00
Emilien Klein
39e41053ad
Merge pull request #36 from nodiscc/https-thumbnails
...
thumbnails: force HTTPS for youtube, imgur, vimeo
2014-10-23 20:06:29 +02:00
Emilien Klein
a4355279cb
Merge pull request #35 from nodiscc/optional-atom
...
Make ATOM toolbar button optional
2014-10-23 20:05:13 +02:00
nodiscc
1a663a0f2c
thumbnails: force HTTPS for youtube, imgur, vimeo
...
* other services also provide thumbs over HTTPS, but the rewrite expression is more complex, so left out for now
2014-10-23 18:00:21 +02:00
nodiscc
1099d8fcad
Make ATOM toolbar button optional
...
* ATOM button display is now configurable using the SHOW_ATOM variable in index.php or data/options.php (defaults to false)
* Fixes https://github.com/shaarli/Shaarli/issues/24
2014-10-23 17:47:30 +02:00
nodiscc
57dbbe51a6
Merge pull request #31 from nodiscc/version-check
...
Version check: check against latest version on github
2014-10-23 17:41:06 +02:00
nodiscc
b11bc5b6f9
update check: check against last version available on github.com/shaarli/Shaarli
...
* fixes https://github.com/shaarli/Shaarli/issues/5
2014-10-21 18:11:16 +02:00
nodiscc
ccfc046c11
add current release version number in shaarli_version.txt
...
* release process: please update this file when releasing a new version on github
2014-10-21 18:11:16 +02:00
nodiscc
736feea58e
Merge pull request #30 from nodiscc/master
...
add link: in case of empty URL (self-post), prepend "Note: " to the title
2014-10-21 18:09:33 +02:00
nodiscc
27646ca5b4
add link: in case of empty URL (self-post), prepend "Note: " to the title
...
* Thanks to qwertygc (https://github.com/shaarli/Shaarli/pull/23 )
* Fix small typo
2014-10-21 16:18:25 +02:00
nodiscc
c4a329ede2
Merge pull request #27 from virtualtam/master
...
fix: add missing slash when defining RainTPL's temp dir
2014-10-20 13:59:44 +02:00
VirtualTam
2f2aa06b95
fix: add missing slash when defining RainTPL's temp dir
...
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
2014-10-19 00:57:41 +02:00
nodiscc
ea8f67eb49
gitignore: ignore raintpl generated php pages
2014-09-10 15:20:58 +02:00
nodiscc
bbc6e66ad4
update qr.min.js to 1.1.3 from https://github.com/neocotic/qr.js , update COPYING
...
* fixes https://github.com/shaarli/Shaarli/issues/7
2014-09-05 00:42:39 +02:00
nodiscc
50df2cde74
Merge pull request #12 from nodiscc/iconslicense
...
fix icons license and general copyright information
2014-08-30 21:12:29 +02:00
nodiscc
509b080847
replace unlicensed icons/images, add proper credits
...
* fugue icons (http://p.yusukekamiyamane.com/ ) CC-BY-SA license
* ornimental bookend (https://openclipart.org/detail/19869/ornimental-bookend---left-by-j4p4n ) Public domain license
* Paper_texture_v5_by_bashcorpo_w1000.jpg source found at http://bashcorpo.deviantart.com/art/Grungy-paper-texture-v-5-22966998 under Public Domain license
* linecons (https://www.iconfinder.com/iconsets/linecons-free-vector-icons-pack ) CC-BY license
* add credits to COPYING, (get list of committers with git shortlog -sne, and previous contributors from the author's website)
* Fixes https://github.com/shaarli/Shaarli/issues/10
* Fixes https://github.com/sebsauvage/Shaarli/issues/8
2014-08-28 00:09:48 +02:00
nodiscc
e0cbb07872
Merge pull request #19 from nodiscc/master
...
bookmarklet: use selected text as description when adding a new link
2014-08-19 21:52:36 +02:00
Sbgodin
abc98ab39d
Merge pull request #20 from nodiscc/fix-typos
...
Fix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix typo in css
2014-08-19 21:33:53 +02:00
nodiscc
ad6c27b7b8
Fix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix typo in css
...
Based on respencer's work at https://github.com/respencer/Shaarli/
Closes https://github.com/sebsauvage/Shaarli/pull/103
2014-08-19 18:01:15 +02:00
nodiscc
1ec633a74f
Merge pull request #11 from Sbgodin/rainVariables
2014-08-12 02:07:15 +02:00
nodiscc
a1795ddcf3
bookmarklet: use selected text as description when adding a new link
...
* Based on romnGit's work at https://github.com/sebsauvage/Shaarli/pull/104
* Fixes https://github.com/shaarli/Shaarli/issues/18
* Closes https://github.com/sebsauvage/Shaarli/pull/104
* Fixes https://github.com/sebsauvage/Shaarli/issues/53
* Fixes https://github.com/sebsauvage/Shaarli/issues/129
* Fixes https://github.com/sebsauvage/Shaarli/issues/33
2014-08-11 00:13:29 +02:00
Christophe HENRY
3bb684f59f
Removes htaccess file creation and adds them in the repository
...
I also removed the previously created placeholders, which after all, have no more utility.
2014-08-04 00:42:49 +02:00
Christophe HENRY
e7416aba2c
Adds empty directories: cache, data, pagecache and tmp. Removes mkdirs.
...
They are still in .gitignore because their future content will still be ignored.
2014-08-04 00:41:55 +02:00
Christophe HENRY
c614a35db8
Removed redundant check on RAINTPL_TMP directory
...
The same test is already on line 93
2014-07-31 23:31:58 +02:00
Christophe HENRY
25f5c59db6
Adds configuration variables, TPL and TMP, for RainTPL
...
The path for templates and temporary files are now part of the configuration.
For a custom install, it's possible to put these writable directories elsewhere than in the read-only source code.
2014-07-31 23:31:58 +02:00
Christophe HENRY
e411f7f9d7
Adds the tip for the title link in the configuration page
2014-07-27 23:32:41 +02:00
Christophe HENRY
ebb2880dfc
Adds a configuration variable "titleLink" which allows to customize the
...
link on the title.
2014-07-27 23:32:41 +02:00
Emilien Klein
4ade7393a3
Release version 0.0.42 beta
2014-07-27 22:57:30 +02:00
TsT
ae22a12b8a
uniform if syntax
2013-10-23 23:21:36 +02:00