Commit Graph

69 Commits

Author SHA1 Message Date
plegall
bb69269239 fixes #1841 register system activities 2022-12-24 17:36:35 +01:00
Sam Wilson
97407ef5b1 PHP 8.1 deprecation: don't pass null to file_get_contents()
This fixes the following PHP 8.1 deprecation notice:

> file_get_contents(): Passing null to parameter #2
> ($use_include_path) of type bool is deprecated in
> piwigo/admin/include/plugins.class.php on line 294
2022-07-18 13:24:49 +02:00
plegall
1e64d745a2 issue #1467 avoid error when Piwigo version is not available on PEM
* do not display an error message "cannot connect to server" but simply "no plugin available"
* if we are on a beta/RC version, display a button to switch to test plugins compatible with Piwigo previous version
* add a tooltip with more details about the "show beta test plugins"
2022-03-23 12:03:09 +01:00
Zacharie Guet
1a6fadb468 #1467 Minor fixes and comment adding 2022-03-05 11:52:53 +01:00
guetz
0b51ba3720 #1467 Plugin download page general redesign
Implements the new general design (thanks to Clement's and Jule's mockup)
Allows the display or the hiding of non-compatible plugins
Add advanced filters in the page (harmonization with the advanced filters in the user manager)
Add the display of a screenshot, the rating and the tags for each plugins
Add Piwigo's Certification levels for each plugins
Add the file admin/themes/default/css/components/general.css to save css compnents that will be used in diffenrent places in the admin
2022-03-05 11:52:53 +01:00
plegall
4acfca116b fixes #1591 specific processing for piwigo-openstreetmap and piwigo-videojs 2021-12-30 16:57:30 +01:00
Matthieu Leproux
a86684ebc4 issue #1415 plugin manager redesigned
* actions on plugins are down in AJAX (no more page reload)
* plugins can be filtered but plugins do not move from a section (active) to another (inactive)
2021-06-22 18:35:46 +02:00
plegall
d71d69dbe7 fixes #1277 ability to activate plugin link only for webmasters 2021-01-06 15:03:09 +01:00
Zacharieg
0a268bcce1 issue #1175 redesign plugin manager
* design based on Samuel's mockup + Hannah's adaptations
* on each plugin actions shown as buttons in a single column (better compatibility with verbose languages such as German)
* description always shown (no more need of the "show details" action)
* filter based on plugin title/description (javascript, no page reload)
* hide inactive plugins if they are 8 or more
* plugins no longer shown in the admin left menu, they instead get a "settings" action if relevant. Compatible with the old trigger get_admin_plugin_menu_links but new method is to simply add a "Has Setting : true" in the main.inc.php header
2020-04-22 14:41:52 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
2ea5a359fe fixes #506, additional checks before deleting files
During upgrade of theme/plugin/language, we add some more test to prevent
transversal path
2017-03-31 14:45:30 +02:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
ed8db3da27 bug #385 compatibility with PHP7
* replace old-style constructor with PHP5-style constructor (__construct)
* do not call set_magic_quotes_runtime() any longer
* avoid automatic conversion from array to string
2015-12-10 14:03:54 +01:00
mistic100
0f0b8e0430 final fix for plugins update ?
- plugins.version is not updated in "activate" action
- plugins.version is updated in "update" action and "load_plugin()" function (not only for plugins using maintain.class.php)

cases covered:
- autoupdate while active or inactive
- FTP update while active or inactive


git-svn-id: http://piwigo.org/svn/trunk@29779 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-25 09:25:24 +00:00
mistic100
64b7e77a5a flaw in r29773
git-svn-id: http://piwigo.org/svn/trunk@29778 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-25 08:46:16 +00:00
mistic100
17a72f2bb2 fix plugins autoupdate: call ##_maintain::update when updating from back-office
git-svn-id: http://piwigo.org/svn/trunk@29773 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-24 17:30:08 +00:00
mistic100
1633d8ffaa improves regexes parsing plugins metadata
git-svn-id: http://piwigo.org/svn/trunk@28969 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-06 14:05:05 +00:00
mistic100
aa3d38b431 feature 3088: set AdminTools as default plugin, set admin_multi_view as obsolete
git-svn-id: http://piwigo.org/svn/trunk@28695 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-13 19:56:13 +00:00
mistic100
6b7535498c feature 3076: Enhance plugin update system
git-svn-id: http://piwigo.org/svn/trunk@28651 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-09 17:20:43 +00:00
flop25
5ebeec822f TakeATour replace c13y_upgrade ; c13y_upgrade not activated after upgrade
adding TakeATour files
less margin-top in no_photo_yet.tpl

git-svn-id: http://piwigo.org/svn/trunk@28169 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-13 18:22:25 +00:00
mistic100
5310b5036e remove *_version_compare methods in languages & plugins & themes classes, unused and outdated (preg_replace /e modifier)
git-svn-id: http://piwigo.org/svn/trunk@26998 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-27 17:33:28 +00:00
mistic100
cf0750dbc0 Display "Activate it now" link when installing a new plugin
git-svn-id: http://piwigo.org/svn/trunk@26909 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-22 21:21:37 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
rvelices
30a7a975f9 fix deactivate
git-svn-id: http://piwigo.org/svn/trunk@26329 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-29 13:37:54 +00:00
mistic100
6f211a609a feature 2998: Warning: Parameter 3 to theme_activate() expected to be a reference, value given
unable to pass references through func_get_args and call_user_func_array

git-svn-id: http://piwigo.org/svn/trunk@25577 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-19 15:41:05 +00:00
mistic100
76fc9c27dc feature 2998: Maintenance class for plugin
git-svn-id: http://piwigo.org/svn/trunk@25406 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-08 23:29:38 +00:00
mistic100
61c7f9dd6b bug 2989: Deprecated: preg_replace(): The /e modifier is deprecated on
git-svn-id: http://piwigo.org/svn/trunk@25133 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-25 11:43:56 +00:00
mistic100
ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
mistic100
6eab56e705 feature:2826 missing hardcoded PEM category id in r20449
git-svn-id: http://piwigo.org/svn/trunk@24159 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-08-14 21:29:24 +00:00
mistic100
d95425b9bb bug:2898 make some updates methods static + factorize code from plugins, themes & languages
git-svn-id: http://piwigo.org/svn/trunk@23821 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-07 11:28:12 +00:00
mistic100
4708e6c75e feature:2826
git-svn-id: http://piwigo.org/svn/trunk@20449 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-29 17:35:23 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
mistic100
d7a9cbae9a bug:2793 use "include_once" instead of "include" when including pclzip
git-svn-id: http://piwigo.org/svn/trunk@19167 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-25 10:41:02 +00:00
mistic100
9883bd67ef bug 2671: use get_branch_from_version() to find the real branch, however the version looks like
git-svn-id: http://piwigo.org/svn/trunk@16179 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 15:08:00 +00:00
mistic100
d4402725e1 incompatible plugins check doesn't work since 2.4, because version number format has changed
git-svn-id: http://piwigo.org/svn/trunk@16177 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 14:29:48 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
patdenice
fa500d36ec bug:2483
warning on plugin activation 

git-svn-id: http://piwigo.org/svn/trunk@12517 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-25 15:34:58 +00:00
mistic100
25d95d2093 reload DB config between plugin installation and plugin activation
git-svn-id: http://piwigo.org/svn/trunk@11389 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-15 20:19:17 +00:00
plegall
53b859811f bug fixed: accept Piwigo version with a pattern like 2.3.0beta1 in plugins/themes/languages/updates management classes
git-svn-id: http://piwigo.org/svn/trunk@11185 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 10:45:45 +00:00
patdenice
d8718a6d73 merge r11043 from branch 2.2 to trunk
feature:2250
Add obsolete_extensions.list file in install directory.
Incompatible plugins is checked through ajax.

git-svn-id: http://piwigo.org/svn/trunk@11047 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-25 10:54:59 +00:00
patdenice
790f6b3bb6 Change tabsheet place for plugins, themes and languages.
Plugins, themes and languages use same update page.

git-svn-id: http://piwigo.org/svn/trunk@10594 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-23 12:48:05 +00:00
patdenice
b5592c8228 feature:2260
Keep only two states for plugins (active and inactive)

git-svn-id: http://piwigo.org/svn/trunk@10293 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-11 10:30:56 +00:00
patdenice
a1071794d9 feature:2250
Remove useless query for delete.

git-svn-id: http://piwigo.org/svn/trunk@10129 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:42:13 +00:00
patdenice
49dd77f05b feature:2250
Add expire parameter.
Clean code.

git-svn-id: http://piwigo.org/svn/trunk@10128 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:11:11 +00:00
patdenice
0dd800150b feature:2250
Incompatible plugins and obsolete plugins may not be activated.

git-svn-id: http://piwigo.org/svn/trunk@10098 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 09:43:46 +00:00
plegall
6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
plegall
088801add4 feature 2048 removed (and was never released): no data are sent anonymously to piwigo.org for statistics purpose
git-svn-id: http://piwigo.org/svn/trunk@8238 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 21:57:50 +00:00
patdenice
1b5260522e feature 2048: send technical details only to get_version_list.php of PEM API.
git-svn-id: http://piwigo.org/svn/trunk@8084 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 21:20:12 +00:00
patdenice
ea64e421cb feature 2057: use $get_data parameter to send GET data.
git-svn-id: http://piwigo.org/svn/trunk@8083 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 21:08:43 +00:00
patdenice
1323e7dd36 merge r6724 from branch 2.1 to trunk
Plugin version compare must return false if plugin version is "auto" (developpement version).
Change language switch version number.

git-svn-id: http://piwigo.org/svn/trunk@6725 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-28 16:17:53 +00:00