History log of /dokuwiki/lib/plugins/popularity/helper.php (Results 1 – 25 of 30)
Revision Date Author Comments
# f51641de 30-Jun-2025 Andreas Gohr <andi@splitbrain.org>

ease popularity plugin reuse

See #4477 for rationale


# 1b2deed9 15-Sep-2023 fiwswe <fiwswe@fwml.de>

Use str_starts_with/str_ends_with


# 6547cfc7 31-Aug-2023 Gerrit Uitslag <klapinklapin@gmail.com>

use $auth instanceof AuthPlugin instead of not null check


# 90fb952c 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: operator spacing


# 54cc7aa4 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to the rest of lib/plugin


# 042e7b39 13-Aug-2022 Andreas Gohr <andi@splitbrain.org>

declare visibility o new method (codestyle fix)


# 0d48ec5c 13-Aug-2022 Andreas Gohr <andi@splitbrain.org>

fixes for the popularity plugin

* initialize values to avoid warnings in PHP 8.1
* avoid iterating over a missing change log


# cf381878 09-Jan-2021 Nuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>

Send Popularity data securely


# cbb44eab 15-Jun-2018 Andreas Gohr <andi@splitbrain.org>

deprecated trigger_event() in favor of a static method on Event


# 5a8d6e48 26-Mar-2019 Michael Große <mic.grosse@googlemail.com>

Rename HTTPClient namespace to HTTP

This should make namespace a bit more flexible in scope and allow us to
move more functionality there later.


# 198564ab 17-Mar-2019 Michael Große <mic.grosse@googlemail.com>

Refactor HTTPClient into different files


# 3409ba76 21-Jul-2018 Andreas Gohr <andi@splitbrain.org>

fixed popularity plugin

The callback needs to be public


# 29fc53cf 08-May-2018 Andreas Gohr <andi@splitbrain.org>

PSR-2 for popularity plugin


# 3dc2d50c 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

visibility declarations in plugins


# 59752844 14-Jun-2016 Anders Sandblad <runeson@gmail.com>

Fixed broken links to php.net and redirecting pages to php.net


# 35462eda 27-May-2015 Andreas Gohr <andi@splitbrain.org>

Merge pull request #1150 from gturri/autosubmit_plugin3

Plugins can send usage data


# 5875e534 15-May-2015 Guillaume Turri <guillaume.turri@gmail.com>

Plugins can send usage data

They just need to register to the PLUGIN_USAGE_DATA event, and then to add
either a simple string, or an array of key / value. For example:

function register(Doku_Ev

Plugins can send usage data

They just need to register to the PLUGIN_USAGE_DATA event, and then to add
either a simple string, or an array of key / value. For example:

function register(Doku_Event_Handler $controller) {
$controller->register_hook('PLUGIN_USAGE_DATA', 'AFTER', $this, 'usage_data');
}

function usage_data(&$event){
$event->data['my_plugin_name'] = 'my usage data';

//or: $event->data['my_plugin_name'] = array ('k1' => 'v1', 'k2' => 'v2');
}

show more ...


# 26e22ab8 15-May-2015 Christopher Smith <chris@jalakai.co.uk>

Changes for PHP 7 Compatibility
- replace PHP4 style class constructor function names (based on
class name) with php 5 __construct()
Also remove some '&' reference operators used with objects
And a

Changes for PHP 7 Compatibility
- replace PHP4 style class constructor function names (based on
class name) with php 5 __construct()
Also remove some '&' reference operators used with objects
And add some object type hints

show more ...


# 79e79377 07-Jan-2015 Andreas Gohr <gohr@cosmocode.de>

Remove error supression for file_exists()

In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PH

Remove error supression for file_exists()

In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PHP 5.3 now, there's no need to supress any error here
anymore. This might even give a minor performance boost.

show more ...


# 253d4b48 01-Oct-2014 Gerrit Uitslag <klapinklapin@gmail.com>

more PHPDocs, unused var, small bit code reformatting


# 36013a6f 14-Oct-2013 Gerrit Uitslag <klapinklapin@gmail.com>

add PHPDocs to popularity plugin helper


# f119fb20 14-Oct-2013 Gerrit Uitslag <klapinklapin@gmail.com>

get version popularity plugin direct from plugin info


# a1f2b5a3 19-Sep-2013 Gerrit Uitslag <klapinklapin@gmail.com>

Fixed gathering of version of popularity plugin


# 7d8a6abb 29-Jul-2013 Michael Hamann <michael@content-space.de>

Fix popularity data submission in the backend FS#2808

The POST data contained the raw data instead of an array with the data
that should be submitted like in the requests from the browser. The
serve

Fix popularity data submission in the backend FS#2808

The POST data contained the raw data instead of an array with the data
that should be submitted like in the requests from the browser. The
server backend has been fixed to be able to process both versions.

show more ...


# 38479cbb 29-Nov-2012 Dominik Eckelmann <deckelmann@gmail.com>

some coding style improvements

- removed some dead/unused code
- fixed phpdoc
- added typing on methods


12