Commit Graph

1491 Commits

Author SHA1 Message Date
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
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
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 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