]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
4 years agoImprove ManageTagController coverage and error handling
ArthurHoaro [Sat, 13 Jun 2020 13:37:02 +0000 (15:37 +0200)] 
Improve ManageTagController coverage and error handling

4 years agoUse multi-level routes for existing controllers instead of 1 level everywhere
ArthurHoaro [Sat, 13 Jun 2020 11:08:01 +0000 (13:08 +0200)] 
Use multi-level routes for existing controllers instead of 1 level everywhere

Also prefix most admin routes with /admin/

4 years agoExplicitly define base and asset path in templates
ArthurHoaro [Sat, 13 Jun 2020 09:22:14 +0000 (11:22 +0200)] 
Explicitly define base and asset path in templates

With the new routes, all pages are not all at the same folder level anymore
(e.g. /shaare and /shaare/123), so we can't just use './' everywhere.
The most consistent way to handle this is to prefix all path with the proper variable,
and handle the actual path in controllers.

4 years agoHandle shaare creation/edition/deletion through Slim controllers
ArthurHoaro [Sat, 6 Jun 2020 12:01:03 +0000 (14:01 +0200)] 
Handle shaare creation/edition/deletion through Slim controllers

4 years agoProcess manage tags page through Slim controller
ArthurHoaro [Sat, 30 May 2020 13:51:14 +0000 (15:51 +0200)] 
Process manage tags page through Slim controller

4 years agoProcess configure page through Slim controller
ArthurHoaro [Sat, 30 May 2020 12:00:06 +0000 (14:00 +0200)] 
Process configure page through Slim controller

4 years agoPassword change: UT use case with open shaarli
ArthurHoaro [Wed, 27 May 2020 12:18:07 +0000 (14:18 +0200)] 
Password change: UT use case with open shaarli

4 years agoTest ShaarliAdminController
ArthurHoaro [Wed, 27 May 2020 12:13:49 +0000 (14:13 +0200)] 
Test ShaarliAdminController

4 years agoProcess password change controller through Slim
ArthurHoaro [Wed, 27 May 2020 11:35:48 +0000 (13:35 +0200)] 
Process password change controller through Slim

4 years agoProcess tools page through Slim controller
ArthurHoaro [Fri, 22 May 2020 11:47:02 +0000 (13:47 +0200)] 
Process tools page through Slim controller

4 years agoInitialize admin Slim controllers
ArthurHoaro [Fri, 22 May 2020 11:20:31 +0000 (13:20 +0200)] 
Initialize admin Slim controllers

  - Reorganize visitor controllers
  - Fix redirection with Slim's requests base path
  - Fix daily links

4 years agoProcess session filters through Slim controllers
ArthurHoaro [Fri, 22 May 2020 09:02:56 +0000 (11:02 +0200)] 
Process session filters through Slim controllers

Including:
  - visibility
  - links per page
  - untagged only

4 years agoProcess remove tag endpoint through Slim controller
ArthurHoaro [Wed, 20 May 2020 12:38:31 +0000 (14:38 +0200)] 
Process remove tag endpoint through Slim controller

4 years agoRefactor front controller tests to create container mock using a trait
ArthurHoaro [Wed, 20 May 2020 10:43:40 +0000 (12:43 +0200)] 
Refactor front controller tests to create container mock using a trait

4 years agoProcess OpenSearch controller through Slim
ArthurHoaro [Wed, 20 May 2020 08:47:20 +0000 (10:47 +0200)] 
Process OpenSearch controller through Slim

Also it was missing on the default template feeds

4 years agoRSS/ATOM feeds: process through Slim controller
ArthurHoaro [Mon, 18 May 2020 15:17:36 +0000 (17:17 +0200)] 
RSS/ATOM feeds: process through Slim controller

4 years agoMake FeedBuilder instance creation independant of the request stack
ArthurHoaro [Mon, 18 May 2020 11:03:13 +0000 (13:03 +0200)] 
Make FeedBuilder instance creation independant of the request stack

4 years agoRemove legacy handling of /add-tag route
ArthurHoaro [Mon, 18 May 2020 10:21:43 +0000 (12:21 +0200)] 
Remove legacy handling of /add-tag route

4 years agoPHP 7.1 compatibility
ArthurHoaro [Sun, 17 May 2020 13:45:26 +0000 (15:45 +0200)] 
PHP 7.1 compatibility

4 years agoProcess Daily RSS feed through Slim controller
ArthurHoaro [Sun, 17 May 2020 12:16:32 +0000 (14:16 +0200)] 
Process Daily RSS feed through Slim controller

The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.

4 years agoSlim daily: minor bugfix with empty data
ArthurHoaro [Sun, 17 May 2020 09:29:17 +0000 (11:29 +0200)] 
Slim daily: minor bugfix with empty data

4 years agoSlim daily: support legacy query parameter
ArthurHoaro [Sun, 17 May 2020 09:11:57 +0000 (11:11 +0200)] 
Slim daily: support legacy query parameter

4 years agoProcess daily page through Slim controller
ArthurHoaro [Sun, 17 May 2020 09:06:39 +0000 (11:06 +0200)] 
Process daily page through Slim controller

4 years agoProcess tag list page through Slim controller
ArthurHoaro [Sat, 16 May 2020 12:56:22 +0000 (14:56 +0200)] 
Process tag list page through Slim controller

4 years agoFew optimizations and code readability for tag cloud controller
ArthurHoaro [Sat, 16 May 2020 11:33:39 +0000 (13:33 +0200)] 
Few optimizations and code readability for tag cloud controller

4 years agoHandle tag filtering in the Bookmark service
ArthurHoaro [Sat, 16 May 2020 11:13:00 +0000 (13:13 +0200)] 
Handle tag filtering in the Bookmark service

4 years agoWorking version before optimization
ArthurHoaro [Sat, 16 May 2020 10:55:29 +0000 (12:55 +0200)] 
Working version before optimization

4 years agoProcess tag cloud page through Slim controller
ArthurHoaro [Sun, 26 Jan 2020 13:35:25 +0000 (14:35 +0100)] 
Process tag cloud page through Slim controller

4 years agoSlim router: handle add tag route
ArthurHoaro [Tue, 12 May 2020 10:44:48 +0000 (12:44 +0200)] 
Slim router: handle add tag route

4 years agoProcess logout through Slim controller
ArthurHoaro [Thu, 23 Jan 2020 20:52:03 +0000 (21:52 +0100)] 
Process logout through Slim controller

4 years agoMigrate cache purge function to a proper class
ArthurHoaro [Thu, 23 Jan 2020 20:13:41 +0000 (21:13 +0100)] 
Migrate cache purge function to a proper class

And update dependencies and tests.

Note that SESSION['tags'] has been removed a log ago

4 years agoProcess picwall rendering through Slim controller + UT
ArthurHoaro [Sun, 26 Jan 2020 10:15:15 +0000 (11:15 +0100)] 
Process picwall rendering through Slim controller + UT

4 years agoFix all relative link to work with new URL
ArthurHoaro [Thu, 23 Jan 2020 21:26:38 +0000 (22:26 +0100)] 
Fix all relative link to work with new URL

4 years agoMerge pull request #1508 from ArthurHoaro/fix/docker-build-gcc
ArthurHoaro [Thu, 23 Jul 2020 19:10:47 +0000 (21:10 +0200)] 
Merge pull request #1508 from ArthurHoaro/fix/docker-build-gcc

Fix Docker build: gcc is no longer included in python alpine image

4 years agoFix Docker build: gcc is no longer included in python alpine image 1508/head
ArthurHoaro [Thu, 23 Jul 2020 19:05:10 +0000 (21:05 +0200)] 
Fix Docker build: gcc is no longer included in python alpine image

4 years agoMerge pull request #1499 from ArthurHoaro/fix/travis-74-build
ArthurHoaro [Mon, 20 Jul 2020 16:16:55 +0000 (18:16 +0200)] 
Merge pull request #1499 from ArthurHoaro/fix/travis-74-build

Travis CI: upgrade distribution and remove deprecated sudo

4 years agoTravis CI: upgrade distribution and remove deprecated sudo 1499/head
ArthurHoaro [Mon, 6 Jul 2020 06:25:34 +0000 (08:25 +0200)] 
Travis CI: upgrade distribution and remove deprecated sudo

This upgrade fixes PHP 7.4 fatal error builds, because dist < xenial do
not include php-gd with PHP 7.4.

4 years agoMerge pull request #1428 from pipoprods/feat/ldap-auth
ArthurHoaro [Thu, 25 Jun 2020 14:53:18 +0000 (16:53 +0200)] 
Merge pull request #1428 from pipoprods/feat/ldap-auth

4 years agoLDAP - Force protocol LDAPv3 1428/head
ArthurHoaro [Thu, 25 Jun 2020 14:18:25 +0000 (16:18 +0200)] 
LDAP - Force protocol LDAPv3

On Linux, php-ldap seems to rely on a library which still uses deprecated LDAPv2 as default version,
causing authentication issues.

See: https://stackoverflow.com/a/48238224/1484919

4 years agoMerge pull request #1476 from tyjak/master
ArthurHoaro [Thu, 25 Jun 2020 11:58:32 +0000 (13:58 +0200)] 
Merge pull request #1476 from tyjak/master

Fix missing php7-simplexml plugin for Dockerfile.armhf

4 years agoUpdate application/security/LoginManager.php
Sébastien NOBILI [Wed, 3 Jun 2020 08:36:04 +0000 (10:36 +0200)] 
Update application/security/LoginManager.php

Co-authored-by: ArthurHoaro <arthur@hoa.ro>
4 years agoUpdate application/security/LoginManager.php
Sébastien NOBILI [Wed, 3 Jun 2020 08:35:41 +0000 (10:35 +0200)] 
Update application/security/LoginManager.php

Co-authored-by: ArthurHoaro <arthur@hoa.ro>
4 years agoUpdate application/security/LoginManager.php
Sébastien NOBILI [Wed, 3 Jun 2020 08:34:32 +0000 (10:34 +0200)] 
Update application/security/LoginManager.php

Co-authored-by: ArthurHoaro <arthur@hoa.ro>
4 years agoFix missing php7-simplexml plugin 1476/head
David Foucher [Sat, 23 May 2020 12:26:04 +0000 (14:26 +0200)] 
Fix missing php7-simplexml plugin

This is to fix this error I got:

  Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for slim/slim 3.12.3 -> satisfiable by slim/slim[3.12.3].
    - slim/slim 3.12.3 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.

  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php7/php.ini
    - /etc/php7/conf.d/00_curl.ini
    - /etc/php7/conf.d/00_iconv.ini
    - /etc/php7/conf.d/00_json.ini
    - /etc/php7/conf.d/00_mbstring.ini
    - /etc/php7/conf.d/00_openssl.ini
    - /etc/php7/conf.d/01_phar.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

4 years agoMerge pull request #1461 from flowgunso/documentation_how_create_plugin
ArthurHoaro [Sat, 16 May 2020 09:35:49 +0000 (11:35 +0200)] 
Merge pull request #1461 from flowgunso/documentation_how_create_plugin

4 years agoAdd an example for the description variable to the meta file 1461/head
flow.gunso [Fri, 15 May 2020 20:47:19 +0000 (22:47 +0200)] 
Add an example for the description variable to the meta file

4 years agoDocument about the .meta file at the plugin creation/initialization
flow.gunso [Fri, 15 May 2020 20:17:48 +0000 (22:17 +0200)] 
Document about the .meta file at the plugin creation/initialization

4 years agoMerge pull request #1424 from aguytech/master
ArthurHoaro [Tue, 12 May 2020 07:46:12 +0000 (09:46 +0200)] 
Merge pull request #1424 from aguytech/master

4 years agoMerge pull request #1403 from shaarli/doc-composer
nodiscc [Sat, 11 Apr 2020 13:06:30 +0000 (13:06 +0000)] 
Merge pull request #1403 from shaarli/doc-composer

doc: simplify composer installation procedure, merge Unit tests related pages, reword/shorten, fix references to old php versions

4 years agodoc: composer update should actually be removed as it alters the Composer lock file doc-composer 1403/head
nodiscc [Sat, 11 Apr 2020 11:53:15 +0000 (13:53 +0200)] 
doc: composer update should actually be removed as it alters the Composer lock file

4 years agodoc: use <PHP_VERSION>, fix php.ini path
nodiscc [Mon, 9 Mar 2020 17:44:12 +0000 (17:44 +0000)] 
doc: use <PHP_VERSION>, fix php.ini path

Co-Authored-By: Aurélien Tamisier <virtualtam+github@flibidi.net>
4 years agodoc: use obvious <PHP_VERSION> placeholder
nodiscc [Mon, 9 Mar 2020 17:43:45 +0000 (17:43 +0000)] 
doc: use obvious <PHP_VERSION> placeholder

Co-Authored-By: Aurélien Tamisier <virtualtam+github@flibidi.net>
4 years agodoc: fix php.ini path
nodiscc [Mon, 9 Mar 2020 17:43:09 +0000 (17:43 +0000)] 
doc: fix php.ini path

Co-Authored-By: Aurélien Tamisier <virtualtam+github@flibidi.net>
4 years agofixed typo
Sébastien NOBILI [Mon, 2 Mar 2020 17:23:55 +0000 (18:23 +0100)] 
fixed typo

4 years agoldap authentication, fixes shaarli/Shaarli#1343
Sébastien NOBILI [Mon, 2 Mar 2020 16:08:19 +0000 (17:08 +0100)] 
ldap authentication, fixes shaarli/Shaarli#1343

4 years agoAdd an exception to method 'whitelist_protocols' for url which started with '#' 1424/head
aguy [Fri, 28 Feb 2020 15:14:22 +0000 (15:14 +0000)] 
Add an exception to method 'whitelist_protocols' for url which started with '#'

This is to allow local link for markdown, actually a local link write with this syntax : '[anchor](#local_link)' produce this html code: http://#local_link

4 years agoMerge pull request #1421 from yudete/master
ArthurHoaro [Mon, 17 Feb 2020 21:10:57 +0000 (22:10 +0100)] 
Merge pull request #1421 from yudete/master

Add Japanese translation

4 years agoMerge pull request #1417 from bmsleight/master
ArthurHoaro [Mon, 17 Feb 2020 17:14:47 +0000 (18:14 +0100)] 
Merge pull request #1417 from bmsleight/master

Update Makefile

4 years agoUpdate Japanese translations 1421/head
yude [Tue, 11 Feb 2020 01:55:10 +0000 (10:55 +0900)] 
Update Japanese translations

4 years agoJapanese translation
yude [Tue, 11 Feb 2020 00:33:38 +0000 (09:33 +0900)] 
Japanese translation

4 years agoMerge pull request #1420 from oktomus/master
ArthurHoaro [Mon, 10 Feb 2020 20:04:42 +0000 (21:04 +0100)] 
Merge pull request #1420 from oktomus/master

Add autofocus on tag cloud filter input

4 years agoAdd autofocus on tag cloud filter input 1420/head
Kevin Masson [Mon, 10 Feb 2020 12:53:44 +0000 (13:53 +0100)] 
Add autofocus on tag cloud filter input

Fix #1413

4 years agoUpdate Makefile 1417/head
Brendan M. Sleight [Wed, 5 Feb 2020 20:07:47 +0000 (20:07 +0000)] 
Update Makefile

Solve make htmldoc error on python3 ubuntu

4 years agoFix division by zero in tagcloud (#1411)
ArthurHoaro [Sun, 26 Jan 2020 13:55:07 +0000 (14:55 +0100)] 
Fix division by zero in tagcloud (#1411)

Fix division by zero in tagcloud

4 years agoFix division by zero in tagcloud 1411/head
ArthurHoaro [Sun, 26 Jan 2020 13:52:10 +0000 (14:52 +0100)] 
Fix division by zero in tagcloud

It happens if we have a maximum of 1 occurrence in tags (log(1) = 0)

4 years agoRender login page through Slim controller (#1401)
ArthurHoaro [Sun, 26 Jan 2020 10:41:10 +0000 (11:41 +0100)] 
Render login page through Slim controller (#1401)

Render login page through Slim controller

4 years agoRename ci attribute to container 1401/head
ArthurHoaro [Sun, 26 Jan 2020 08:06:13 +0000 (09:06 +0100)] 
Rename ci attribute to container

4 years agoExecute common plugin hooks before rendering login page
ArthurHoaro [Thu, 23 Jan 2020 19:06:32 +0000 (20:06 +0100)] 
Execute common plugin hooks before rendering login page

4 years agoFix all existing links and redirection to ?do=login
ArthurHoaro [Thu, 23 Jan 2020 19:05:41 +0000 (20:05 +0100)] 
Fix all existing links and redirection to ?do=login

4 years agoFix SASS Lint
ArthurHoaro [Sat, 18 Jan 2020 17:03:47 +0000 (18:03 +0100)] 
Fix SASS Lint

4 years agoRender login page through Slim controller
ArthurHoaro [Sat, 18 Jan 2020 16:50:11 +0000 (17:50 +0100)] 
Render login page through Slim controller

4 years agoRollback breaking change in REST API routes (#1410)
ArthurHoaro [Sun, 26 Jan 2020 10:33:22 +0000 (11:33 +0100)] 
Rollback breaking change in REST API routes (#1410)

Rollback breaking change in REST API routes

4 years agoRollback breaking change in REST API routes 1410/head
ArthurHoaro [Sun, 26 Jan 2020 10:29:28 +0000 (11:29 +0100)] 
Rollback breaking change in REST API routes

4 years agoSession cookie setting being set while session is active (#1406)
ArthurHoaro [Sun, 26 Jan 2020 08:12:44 +0000 (09:12 +0100)] 
Session cookie setting being set while session is active (#1406)

Session cookie setting being set while session is active

4 years agoFix deprecated use of implode (#1408)
ArthurHoaro [Thu, 23 Jan 2020 21:36:00 +0000 (22:36 +0100)] 
Fix deprecated use of implode (#1408)

Fix deprecated use of implode

4 years agoFix deprecated use of implode 1408/head
ArthurHoaro [Thu, 23 Jan 2020 21:31:51 +0000 (22:31 +0100)] 
Fix deprecated use of implode

4 years agoSession cookie setting being set while session is active 1406/head
ArthurHoaro [Thu, 23 Jan 2020 18:51:14 +0000 (19:51 +0100)] 
Session cookie setting being set while session is active

Trying to do will raise a warning since PHP 7.2, and it never worked as intented.
See: https://bugs.php.net/bug.php\?id\=75650

4 years agodoc: fix references to php5, use new directory structure
nodiscc [Sun, 19 Jan 2020 12:52:03 +0000 (13:52 +0100)] 
doc: fix references to php5, use new directory structure

4 years agodoc: fix reference to old version of php-xdebug package
nodiscc [Sun, 19 Jan 2020 12:49:48 +0000 (13:49 +0100)] 
doc: fix reference to old version of php-xdebug package

4 years agodoc: merge unit tests/docker unit tests pages, simplfy, reword
nodiscc [Sun, 19 Jan 2020 12:18:29 +0000 (13:18 +0100)] 
doc: merge unit tests/docker unit tests pages, simplfy, reword

4 years agodoc: reword simplify xdebug installation/unit tests
nodiscc [Sun, 19 Jan 2020 12:11:11 +0000 (13:11 +0100)] 
doc: reword simplify xdebug installation/unit tests

4 years agodoc: simplify unit tests documentation
nodiscc [Sun, 19 Jan 2020 12:09:23 +0000 (13:09 +0100)] 
doc: simplify unit tests documentation

4 years agodoc: simplify composer installation procedure
nodiscc [Sun, 19 Jan 2020 11:40:28 +0000 (12:40 +0100)] 
doc: simplify composer installation procedure

4 years agoMerge pull request #1402 from shaarli/fix-makefile
nodiscc [Sun, 19 Jan 2020 12:03:24 +0000 (12:03 +0000)] 
Merge pull request #1402 from shaarli/fix-makefile

fix directory creation in makefile

4 years agofix directory creation in makefile 1402/head
nodiscc [Sun, 19 Jan 2020 11:33:24 +0000 (12:33 +0100)] 
fix directory creation in makefile
the syntax {doc,venor} is only supported in bash and make uses /bin/sh as default shell

4 years agoFix an issue with private tags and fix nomarkdown tag (#1399)
ArthurHoaro [Sat, 18 Jan 2020 16:59:37 +0000 (17:59 +0100)] 
Fix an issue with private tags and fix nomarkdown tag (#1399)

Fix an issue with private tags and fix nomarkdown tag

4 years agoUlauncher Extension (#1400)
ArthurHoaro [Sat, 18 Jan 2020 14:27:37 +0000 (15:27 +0100)] 
Ulauncher Extension (#1400)

Ulauncher Extension

4 years agoUlauncher Extension 1400/head
Sebastien Wains [Sat, 18 Jan 2020 14:22:49 +0000 (15:22 +0100)] 
Ulauncher Extension

4 years agoFix an issue with private tags and fix nomarkdown tag 1399/head
ArthurHoaro [Sat, 18 Jan 2020 10:33:23 +0000 (11:33 +0100)] 
Fix an issue with private tags and fix nomarkdown tag

The new bookmark service wasn't handling private tags properly.

nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists.

Fixes #726

4 years agoFix an issue with bookmark visibility filter (#1398)
ArthurHoaro [Sat, 18 Jan 2020 09:52:08 +0000 (10:52 +0100)] 
Fix an issue with bookmark visibility filter (#1398)

Fix an issue with bookmark visibility filter

4 years agoFix an issue with bookmark visibility filter 1398/head
ArthurHoaro [Sat, 18 Jan 2020 09:49:30 +0000 (10:49 +0100)] 
Fix an issue with bookmark visibility filter

4 years agoStore bookmarks as PHP objects and add a service layer to retri… (#1307)
ArthurHoaro [Sat, 18 Jan 2020 09:01:06 +0000 (10:01 +0100)] 
Store bookmarks as PHP objects and add a service layer to retri… (#1307)

Store bookmarks as PHP objects and add a service layer to retrieve them

4 years agoAdd and update unit test for the new system (Bookmark + Service) 1307/head
ArthurHoaro [Fri, 17 Jan 2020 20:34:12 +0000 (21:34 +0100)] 
Add and update unit test for the new system (Bookmark + Service)

See #1307

4 years agoApply the new system (Bookmark + Service) to the whole code base
ArthurHoaro [Sat, 25 May 2019 13:52:27 +0000 (15:52 +0200)] 
Apply the new system (Bookmark + Service) to the whole code base

See https://github.com/shaarli/Shaarli/issues/1307

4 years agoIntroduce Bookmark object and Service layer to retrieve them
ArthurHoaro [Sat, 25 May 2019 13:46:47 +0000 (15:46 +0200)] 
Introduce Bookmark object and Service layer to retrieve them

See https://github.com/shaarli/Shaarli/issues/1307 for details

4 years agoRun Unit Tests against PHP 7.4 (#1353)
ArthurHoaro [Fri, 17 Jan 2020 17:39:56 +0000 (18:39 +0100)] 
Run Unit Tests against PHP 7.4 (#1353)

Run Unit Tests against PHP 7.4

4 years agoRun Unit Tests against PHP 7.4 1353/head
ArthurHoaro [Sat, 10 Aug 2019 10:31:32 +0000 (12:31 +0200)] 
Run Unit Tests against PHP 7.4

Bump PHPUnit version and fix unit test

  - Globals are handled differently and are persistent through tests
  - Tests without assertions are marked as risky: some of them are just
meant to check that no error is raised.

4 years agoMerge pull request #1358 from shaarli/doc-add-screenshots
ArthurHoaro [Fri, 17 Jan 2020 17:27:42 +0000 (18:27 +0100)] 
Merge pull request #1358 from shaarli/doc-add-screenshots

Doc: add screenshots of all pages

4 years agoAvoiding warning 'PHP Notice: Undefined index: updated' (#1392)
ArthurHoaro [Sun, 12 Jan 2020 14:22:02 +0000 (15:22 +0100)] 
Avoiding warning 'PHP Notice: Undefined index: updated' (#1392)

Avoiding warning 'PHP Notice: Undefined index: updated'

4 years agoAvoiding warning 'PHP Notice: Undefined index: updated' 1392/head
Lucas Cimon [Sun, 12 Jan 2020 13:54:48 +0000 (14:54 +0100)] 
Avoiding warning 'PHP Notice: Undefined index: updated'