]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
6 years agoAdd OpenGraph meta tags on permalink page 1205/head
ArthurHoaro [Mon, 13 Aug 2018 08:42:27 +0000 (10:42 +0200)] 
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

6 years agoMerge pull request #1026 from ArthurHoaro/hotfix/remove-firefox-social-api
ArthurHoaro [Sat, 28 Jul 2018 09:28:49 +0000 (11:28 +0200)] 
Merge pull request #1026 from ArthurHoaro/hotfix/remove-firefox-social-api

Remove Firefox Social API shaare

6 years agoRemove Firefox Social API shaare 1026/head
ArthurHoaro [Fri, 17 Nov 2017 18:09:49 +0000 (19:09 +0100)] 
Remove Firefox Social API shaare

Firefox Social support has been dropped in Firefox 57.

Related to #1023

6 years agoUpdate README badges
ArthurHoaro [Sat, 28 Jul 2018 08:45:17 +0000 (10:45 +0200)] 
Update README badges

6 years agoMerge pull request #1186 from ArthurHoaro/changelog
ArthurHoaro [Sat, 28 Jul 2018 08:39:05 +0000 (10:39 +0200)] 
Merge pull request #1186 from ArthurHoaro/changelog

v0.10: changelog, authors and dependencies

6 years agov0.10: changelog, authors and dependencies 1186/head
ArthurHoaro [Sat, 28 Jul 2018 08:35:43 +0000 (10:35 +0200)] 
v0.10: changelog, authors and dependencies

6 years agoMerge pull request #687 from ArthurHoaro/web-thumb
ArthurHoaro [Sat, 28 Jul 2018 07:41:29 +0000 (09:41 +0200)] 
Merge pull request #687 from ArthurHoaro/web-thumb

Use web-thumbnailer to retrieve thumbnails

6 years agoMerge pull request #1168 from virtualtam/docker/compose
Aurélien Tamisier [Fri, 27 Jul 2018 17:25:52 +0000 (19:25 +0200)] 
Merge pull request #1168 from virtualtam/docker/compose

Provide a Docker Compose example

6 years agoMerge pull request #1185 from alemairebe/master
Aurélien Tamisier [Fri, 27 Jul 2018 17:22:49 +0000 (19:22 +0200)] 
Merge pull request #1185 from alemairebe/master

fix and simplify Dockerfile for armhf

6 years agoMerge pull request #1184 from virtualtam/workaround/rtfd-mkdocs
Aurélien Tamisier [Fri, 27 Jul 2018 17:22:04 +0000 (19:22 +0200)] 
Merge pull request #1184 from virtualtam/workaround/rtfd-mkdocs

Disable MkDocs' strict mode for ReadTheDocs builds to pass

6 years agofix and simplify Dockerfile for armhf 1185/head
Adrien le Maire [Wed, 25 Jul 2018 10:54:22 +0000 (12:54 +0200)] 
fix and simplify Dockerfile for armhf

6 years agoDisable MkDocs' strict mode for ReadTheDocs builds to pass 1184/head
VirtualTam [Tue, 24 Jul 2018 21:55:09 +0000 (23:55 +0200)] 
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>
6 years agoMerge pull request #1181 from ArthurHoaro/docs/api-debug
nodiscc [Wed, 18 Jul 2018 12:19:51 +0000 (14:19 +0200)] 
Merge pull request #1181 from ArthurHoaro/docs/api-debug

Documentation - REST API - Mention dev.debug mode

6 years agoDocumentation - REST API - Mention dev.debug mode 1181/head
ArthurHoaro [Tue, 17 Jul 2018 11:53:53 +0000 (13:53 +0200)] 
Documentation - REST API - Mention dev.debug mode

6 years agoBunch of improvement for thumbnails integration: 687/head
ArthurHoaro [Tue, 17 Jul 2018 11:13:26 +0000 (13:13 +0200)] 
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

6 years agoMerge pull request #1176 from shaarli/fix-broken-doc-links
nodiscc [Mon, 16 Jul 2018 13:39:35 +0000 (15:39 +0200)] 
Merge pull request #1176 from shaarli/fix-broken-doc-links

Fix broken documentation links in page footer and pluginsadmin

6 years agoMerge pull request #1180 from virtualtam/docker/update
nodiscc [Mon, 16 Jul 2018 12:45:22 +0000 (14:45 +0200)] 
Merge pull request #1180 from virtualtam/docker/update

Bump the base Docker image to alpine:3.8

6 years agoBump the base Docker image to alpine:3.8 1180/head
VirtualTam [Sun, 15 Jul 2018 20:06:22 +0000 (22:06 +0200)] 
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>
6 years agoDocs: Add an installation guide for Debian 9 + Docker 1168/head
VirtualTam [Sun, 1 Jul 2018 14:02:35 +0000 (16:02 +0200)] 
Docs: Add an installation guide for Debian 9 + Docker

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agotpl: default/vintage: pluginsadmin: fix link to documentation 1176/head
nodiscc [Sat, 7 Jul 2018 17:03:12 +0000 (19:03 +0200)] 
tpl: default/vintage: pluginsadmin: fix link to documentation
Ref #930

6 years agoMerge pull request #1178 from pips-/patch-2
nodiscc [Thu, 12 Jul 2018 20:01:21 +0000 (22:01 +0200)] 
Merge pull request #1178 from pips-/patch-2

Upgrade-and-migration.md: typo installation link

6 years agoDocs: rename 'How-to' section to 'Guides'
VirtualTam [Sun, 1 Jul 2018 10:27:55 +0000 (12:27 +0200)] 
Docs: rename 'How-to' section to 'Guides'

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoProvide a Docker Compose example
VirtualTam [Tue, 26 Jun 2018 23:20:22 +0000 (01:20 +0200)] 
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>
6 years agoMerge pull request #1175 from ArthurHoaro/docs/apache-proxy-preserve-host
ArthurHoaro [Tue, 10 Jul 2018 16:30:15 +0000 (18:30 +0200)] 
Merge pull request #1175 from ArthurHoaro/docs/apache-proxy-preserve-host

Include ProxyPreserveHost directive in Apache's proxy doc

6 years agoMerge pull request #1141 from ArthurHoaro/api/tags
ArthurHoaro [Tue, 10 Jul 2018 16:06:26 +0000 (18:06 +0200)] 
Merge pull request #1141 from ArthurHoaro/api/tags

Implements Tags endpoints for Shaarli's REST API

6 years agoUpgrade-and-migration.md: install link typo 1178/head
pips [Mon, 9 Jul 2018 22:38:59 +0000 (00:38 +0200)] 
Upgrade-and-migration.md: install link typo

second one

6 years agoUpgrade-and-migration.md: typo installation link
pips [Mon, 9 Jul 2018 22:29:24 +0000 (00:29 +0200)] 
Upgrade-and-migration.md: typo installation link

Install page is not correctly linked

6 years agodoc: reverse proxy config: proxypreservehost: wording, link to apache documentation... 1175/head
nodiscc [Sun, 8 Jul 2018 17:54:48 +0000 (19:54 +0200)] 
doc: reverse proxy config: proxypreservehost: wording, link to apache documentation, typo

6 years agoInclude ProxyPreserveHost directive in Apache's proxy doc
ArthurHoaro [Thu, 5 Jul 2018 19:13:09 +0000 (21:13 +0200)] 
Include ProxyPreserveHost directive in Apache's proxy doc

6 years agoAPI - Apache - Specify allowed HTTP method in .htaccess 1141/head
ArthurHoaro [Thu, 5 Jul 2018 18:47:26 +0000 (20:47 +0200)] 
API - Apache - Specify allowed HTTP method in .htaccess

6 years agoGetTagsTest - Update to alpha sort for equal occurences
ArthurHoaro [Mon, 4 Jun 2018 16:58:59 +0000 (18:58 +0200)] 
GetTagsTest - Update to alpha sort for equal occurences

6 years agoThumbnails: add a common mode to only retrieve thumbs from popular media websites
ArthurHoaro [Thu, 5 Jul 2018 18:29:55 +0000 (20:29 +0200)] 
Thumbnails: add a common mode to only retrieve thumbs from popular media websites

6 years agoBump WT version
ArthurHoaro [Sun, 1 Jul 2018 09:44:35 +0000 (11:44 +0200)] 
Bump WT version

6 years agoAdd a page to update all thumbnails through AJAX requests in both templates
ArthurHoaro [Fri, 8 Jun 2018 10:50:49 +0000 (12:50 +0200)] 
Add a page to update all thumbnails through AJAX requests in both templates

6 years agoTake code review into account
ArthurHoaro [Fri, 6 Apr 2018 16:21:47 +0000 (18:21 +0200)] 
Take code review into account
Upgrade web-thumbnailer and display thumbs right after download

6 years agoAdd Link structure page to the documentation
ArthurHoaro [Sat, 31 Mar 2018 10:39:43 +0000 (12:39 +0200)] 
Add Link structure page to the documentation

6 years agoUpdate thumbnail integration after rebasing the branch
ArthurHoaro [Sat, 11 Nov 2017 13:01:21 +0000 (14:01 +0100)] 
Update thumbnail integration after rebasing the branch

6 years agoConfigManager: add a method to remove an entry
ArthurHoaro [Sat, 11 Nov 2017 13:00:18 +0000 (14:00 +0100)] 
ConfigManager: add a method to remove an entry

6 years agoUse web-thumbnailer to retrieve thumbnails
ArthurHoaro [Wed, 9 Nov 2016 17:57:02 +0000 (18:57 +0100)] 
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

6 years agoMerge pull request #1173 from virtualtam/docker/cache-volume
VirtualTam [Thu, 5 Jul 2018 16:31:34 +0000 (18:31 +0200)] 
Merge pull request #1173 from virtualtam/docker/cache-volume

Docker: expose a volume for the thumbnail cache

6 years agoDocker: expose a volume for the thumbnail cache 1173/head
VirtualTam [Thu, 5 Jul 2018 16:15:17 +0000 (18:15 +0200)] 
Docker: expose a volume for the thumbnail cache

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoMerge pull request #1171 from virtualtam/docker/alpine-3.7
VirtualTam [Sun, 1 Jul 2018 21:22:48 +0000 (23:22 +0200)] 
Merge pull request #1171 from virtualtam/docker/alpine-3.7

Bump the base Docker image to alpine:3.7

6 years agoBump the base Docker image to alpine:3.7 1171/head
VirtualTam [Sun, 1 Jul 2018 14:40:26 +0000 (16:40 +0200)] 
Bump the base Docker image to alpine:3.7

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoMerge pull request #1167 from virtualtam/mkdocs
VirtualTam [Thu, 28 Jun 2018 10:52:50 +0000 (12:52 +0200)] 
Merge pull request #1167 from virtualtam/mkdocs

Improve Mkdocs build process, fix formatting issues

6 years agoFix broken documentation links and list formatting 1167/head
VirtualTam [Tue, 26 Jun 2018 20:18:51 +0000 (22:18 +0200)] 
Fix broken documentation links and list formatting

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoRun MkDocs in strict mode
VirtualTam [Tue, 26 Jun 2018 20:21:53 +0000 (22:21 +0200)] 
Run MkDocs in strict mode

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoLet MkDocs clean previously generated HTML pages
VirtualTam [Tue, 26 Jun 2018 20:20:29 +0000 (22:20 +0200)] 
Let MkDocs clean previously generated HTML pages

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoAdd a Travis environment for MkDocs
VirtualTam [Tue, 26 Jun 2018 20:19:21 +0000 (22:19 +0200)] 
Add a Travis environment for MkDocs

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoMerge pull request #1165 from fbartels/patch-1
VirtualTam [Tue, 26 Jun 2018 19:48:01 +0000 (21:48 +0200)] 
Merge pull request #1165 from fbartels/patch-1

add Cloudron to related software

6 years agoMerge branch 'master' into patch-1 1165/head
VirtualTam [Tue, 26 Jun 2018 19:47:27 +0000 (21:47 +0200)] 
Merge branch 'master' into patch-1

6 years agoMerge pull request #1164 from lapineige/patch-2
VirtualTam [Tue, 26 Jun 2018 19:44:50 +0000 (21:44 +0200)] 
Merge pull request #1164 from lapineige/patch-2

Other platform integration: add Yunohost install badge

6 years agoadd Cloudron to related software
Felix Bartels [Mon, 25 Jun 2018 08:05:04 +0000 (10:05 +0200)] 
add Cloudron to related software

6 years ago Other platform integration: add Yunohost install badge 1164/head
lapineige [Mon, 25 Jun 2018 07:28:29 +0000 (09:28 +0200)] 
 Other platform integration: add Yunohost install badge

Add a button to install with Yunohost in a one-click way.

6 years agoMerge pull request #1155 from shaarli/doc-improvements
nodiscc [Thu, 21 Jun 2018 17:34:11 +0000 (19:34 +0200)] 
Merge pull request #1155 from shaarli/doc-improvements

Improve documentation (#598, #1105)

6 years agoMerge pull request #1154 from virtualtam/changelog
VirtualTam [Wed, 20 Jun 2018 15:18:47 +0000 (17:18 +0200)] 
Merge pull request #1154 from virtualtam/changelog

Update AUTHORS and CHANGELOG

6 years agoUpdate version badges and installation instructions 1154/head
VirtualTam [Wed, 20 Jun 2018 15:14:30 +0000 (17:14 +0200)] 
Update version badges and installation instructions

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoUpdate AUTHORS and CHANGELOG
VirtualTam [Sat, 16 Jun 2018 19:39:59 +0000 (21:39 +0200)] 
Update AUTHORS and CHANGELOG

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoMerge pull request #1158 from virtualtam/master-dockerfile
VirtualTam [Wed, 20 Jun 2018 14:59:29 +0000 (16:59 +0200)] 
Merge pull request #1158 from virtualtam/master-dockerfile

Master: Build the Docker images from the local sources

6 years agoImprove documentation (#598, #1105) 1155/head
nodiscc [Fri, 20 Apr 2018 21:16:59 +0000 (23:16 +0200)] 
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

6 years agodocker: update image and usage documentation 1158/head
VirtualTam [Sun, 17 Jun 2018 11:45:39 +0000 (13:45 +0200)] 
docker: update image and usage documentation

Relates to https://github.com/shaarli/Shaarli/issues/1153

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agodocker: build the images from the local sources
VirtualTam [Sat, 16 Jun 2018 23:02:50 +0000 (01:02 +0200)] 
docker: build the images from the local sources

Relates to https://github.com/shaarli/Shaarli/issues/1153

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agodocker: remove 'stable' resources
VirtualTam [Sat, 16 Jun 2018 21:55:41 +0000 (23:55 +0200)] 
docker: remove 'stable' resources

Relates to https://github.com/shaarli/Shaarli/issues/1153

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agodocker: move testing resources to tests/docker
VirtualTam [Sat, 16 Jun 2018 21:54:10 +0000 (23:54 +0200)] 
docker: move testing resources to tests/docker

Relates to https://github.com/shaarli/Shaarli/issues/1153

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoMerge pull request #1152 from ArthurHoaro/hotfix/install-error
ArthurHoaro [Thu, 7 Jun 2018 18:00:30 +0000 (20:00 +0200)] 
Merge pull request #1152 from ArthurHoaro/hotfix/install-error

Fixes an error during the install

6 years agoFixes an error during the install 1152/head
ArthurHoaro [Thu, 7 Jun 2018 17:58:58 +0000 (19:58 +0200)] 
Fixes an error during the install

 was out of scope

6 years agoMerge pull request #1151 from kramred/master
ArthurHoaro [Thu, 7 Jun 2018 17:17:32 +0000 (19:17 +0200)] 
Merge pull request #1151 from kramred/master

Add <meta> tag for referrer same-origin also to new default tpl

6 years agoremove environment specific .gitignore entries 1151/head
Mark Schmitz [Thu, 7 Jun 2018 17:11:04 +0000 (18:11 +0100)] 
remove environment specific .gitignore entries

6 years agoMerge remote-tracking branch 'upstream/master'
Mark Schmitz [Thu, 7 Jun 2018 13:23:53 +0000 (14:23 +0100)] 
Merge remote-tracking branch 'upstream/master'

6 years agoalso for new default tpl add meta tag to block sending the referrer vintage -> #692
Mark Schmitz [Thu, 7 Jun 2018 13:23:41 +0000 (14:23 +0100)] 
also for new default tpl add meta tag to block sending the referrer vintage -> #692

6 years agoImplements Tags endpoints for Shaarli's REST API
ArthurHoaro [Sat, 19 May 2018 13:04:04 +0000 (15:04 +0200)] 
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

6 years agoMerge pull request #1143 from ArthurHoaro/sort-equal-tags
ArthurHoaro [Mon, 4 Jun 2018 16:34:50 +0000 (18:34 +0200)] 
Merge pull request #1143 from ArthurHoaro/sort-equal-tags

Fix order of tags with the same number of occurrences

6 years agoMerge pull request #1086 from virtualtam/refactor/login
VirtualTam [Sun, 3 Jun 2018 16:26:32 +0000 (18:26 +0200)] 
Merge pull request #1086 from virtualtam/refactor/login

Refactor user login and session management

6 years agoSessionManager+LoginManager: fix checkLoginState logic 1086/head
VirtualTam [Wed, 30 May 2018 00:09:09 +0000 (02:09 +0200)] 
SessionManager+LoginManager: fix checkLoginState logic

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoAdd test coverage for LoginManager methods
VirtualTam [Sun, 6 May 2018 15:12:48 +0000 (17:12 +0200)] 
Add test coverage for LoginManager methods

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoSessionManager: remove unused UID token
VirtualTam [Thu, 10 May 2018 11:07:51 +0000 (13:07 +0200)] 
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>
6 years agoRefactor LoginManager stay-signed-in token management
VirtualTam [Sun, 6 May 2018 15:06:36 +0000 (17:06 +0200)] 
Refactor LoginManager stay-signed-in token management

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoRefactor session and cookie timeout control
VirtualTam [Fri, 27 Apr 2018 21:17:38 +0000 (23:17 +0200)] 
Refactor session and cookie timeout control

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoMove LoginManager and SessionManager to the Security namespace
VirtualTam [Fri, 27 Apr 2018 20:12:22 +0000 (22:12 +0200)] 
Move LoginManager and SessionManager to the Security namespace

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoLoginManager: remove unused parameter
VirtualTam [Fri, 27 Apr 2018 20:00:35 +0000 (22:00 +0200)] 
LoginManager: remove unused parameter

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoLogin: update PageBuilder and default/vintage templates
VirtualTam [Wed, 18 Apr 2018 21:45:05 +0000 (23:45 +0200)] 
Login: update PageBuilder and default/vintage templates

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoPass the client IP ID to LoginManager
VirtualTam [Wed, 18 Apr 2018 21:09:45 +0000 (23:09 +0200)] 
Pass the client IP ID to LoginManager

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoDelegate session operations to SessionManager
VirtualTam [Tue, 3 Apr 2018 22:54:59 +0000 (00:54 +0200)] 
Delegate session operations to SessionManager

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoDocument LoginManager properties
VirtualTam [Tue, 3 Apr 2018 22:43:48 +0000 (00:43 +0200)] 
Document LoginManager properties

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoRefactor user credential validation at login time
VirtualTam [Sat, 17 Feb 2018 00:46:27 +0000 (01:46 +0100)] 
Refactor user credential validation at login time

Changed:
- move login/password verification to LoginManager
- code cleanup

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoRefactor PHP session handling during login/logout
VirtualTam [Sat, 17 Feb 2018 00:14:58 +0000 (01:14 +0100)] 
Refactor PHP session handling during login/logout

Changed:
- move $_SESSION handling to SessionManager
- code cleanup

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoRefactor SessionManager::$INACTIVITY_TIMEOUT
VirtualTam [Fri, 16 Feb 2018 21:21:59 +0000 (22:21 +0100)] 
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>
6 years agoRefactor client session hijacking protection
VirtualTam [Fri, 16 Feb 2018 20:51:44 +0000 (21:51 +0100)] 
Refactor client session hijacking protection

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoTag sort - UT + comment + fix filter and visibility 1143/head
ArthurHoaro [Tue, 29 May 2018 18:52:30 +0000 (20:52 +0200)] 
Tag sort - UT + comment + fix filter and visibility

Before this, linksCountPerTag call without would have ignored visibility parameter

6 years agoMerge pull request #1135 from ArthurHoaro/ci/csslint
ArthurHoaro [Tue, 29 May 2018 18:20:02 +0000 (20:20 +0200)] 
Merge pull request #1135 from ArthurHoaro/ci/csslint

Reformat SCSS to SASS format and run SASSLint in CI

6 years agoMerge pull request #1140 from ArthurHoaro/hotfix/markdown-rss-permalink
ArthurHoaro [Tue, 29 May 2018 17:33:20 +0000 (19:33 +0200)] 
Merge pull request #1140 from ArthurHoaro/hotfix/markdown-rss-permalink

Fix feed permalink rendering with markdown escape set to true

6 years agoFix order of tags with the same number of occurrences
ArthurHoaro [Sat, 19 May 2018 13:47:55 +0000 (15:47 +0200)] 
Fix order of tags with the same number of occurrences

Fixes #1142

6 years agoFix feed permalink rendering with markdown escape set to true 1140/head
ArthurHoaro [Sat, 19 May 2018 10:55:43 +0000 (12:55 +0200)] 
Fix feed permalink rendering with markdown escape set to true

Fixes #1134

6 years agoMerge pull request #1138 from ArthurHoaro/stakali
ArthurHoaro [Thu, 17 May 2018 07:19:12 +0000 (09:19 +0200)] 
Merge pull request #1138 from ArthurHoaro/stakali

Adds Stakali Android app to 3rd party lists

6 years agoAdds Stakali Android app to 3rd party lists 1138/head
ArthurHoaro [Sun, 13 May 2018 10:32:41 +0000 (12:32 +0200)] 
Adds Stakali Android app to 3rd party lists

6 years agoAdd SASSLint makefile target, and run it in CI 1135/head
ArthurHoaro [Thu, 10 May 2018 11:29:47 +0000 (13:29 +0200)] 
Add SASSLint makefile target, and run it in CI

Also move ESLint and SASSLint config files to a dedicated .dev folder

6 years agoAdd classes to default template to avoid using IDs in SCSS
ArthurHoaro [Thu, 10 May 2018 11:26:11 +0000 (13:26 +0200)] 
Add classes to default template to avoid using IDs in SCSS

6 years agoReformat default theme SCSS to match SASS rules
ArthurHoaro [Thu, 10 May 2018 11:25:07 +0000 (13:25 +0200)] 
Reformat default theme SCSS to match SASS rules

6 years agoMerge pull request #1116 from ArthurHoaro/ci/eslint
ArthurHoaro [Sun, 6 May 2018 10:43:33 +0000 (12:43 +0200)] 
Merge pull request #1116 from ArthurHoaro/ci/eslint

 Use Travis stages to run JS tests separately

6 years agoUse Travis stages to run JS tests separately 1116/head
ArthurHoaro [Sat, 31 Mar 2018 11:49:07 +0000 (13:49 +0200)] 
Use Travis stages to run JS tests separately

6 years agoMerge pull request #1133 from ArthurHoaro/hotfix/title-dl
ArthurHoaro [Wed, 2 May 2018 16:28:09 +0000 (18:28 +0200)] 
Merge pull request #1133 from ArthurHoaro/hotfix/title-dl

Title retrieval fixes