Commit Graph

10346 Commits

Author SHA1 Message Date
Hannah ac119a1a2e Template changes for group manager,
includes new scripts
to do : take out what is written and automatize the process to get the different info from groups and users
2020-05-19 17:15:43 +02:00
Hannah ed7fa0e647 New icons added, used in group manager 2020-05-19 17:15:43 +02:00
plegall ba264c5743 fixes #1188 since 5b65fca3 the rank word can be surrounded by backticks 2020-05-19 16:56:52 +02:00
plegall b31d68fbd9 fixes #1182 with inheritance_by_default, copy only permissions from parents and do not add admins 2020-05-07 12:30:47 +02:00
plegall 40182f7774 fixes #1120 check installed theme on its identifier (=directory name), not on its display name 2020-04-30 11:32:52 +02:00
Zacharie c5530994b4 Minor fixe : change div border of plugin Minibox to css border 2020-04-28 10:24:10 +02:00
Hannah 5bf85c982b fixes #1179 use standard structure for icons to remove a tag in a combined tags search
use standard structure for icons to remove a tag in a combined tags search
The icon displays with 2 tags combined instead of 3
To avoid breaking all themes, we keep the old style by default, but the new style is available. The upgrade to 2.11 documentation will mention it.
2020-04-27 10:00:12 +02:00
Sam 10962c9208 Fix version comparison for session ID regen (#1178)
session_regenerate_id : as planned back in 2016, remove PHP version check entirely.

... and let's see if it still is a problem on recent PHP versions.
2020-04-23 12:51:35 +02:00
Zacharie a05aa4d72a Issue 1175 : Chrome's bugs fixes on plugin's page
* replacing fieldset and legend by divs
 * repair the filter input
2020-04-23 10:44:19 +02: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
Hannah 669f3ff864 Changes to edit user popin
Height of popin changed to avoid a scroll bar that isn't needed
Sliders changed made rounder and colors changed to grey and orange, for both light and dark mode
2020-04-21 14:59:06 +02:00
Pierrick Le Gall 4a963c4335 update to 2020
(much simpler than before...)
2020-04-15 16:00:43 +02:00
Pierrick Le Gall 72ba6771b6 fix image src for issue example 2020-04-15 15:08:44 +02:00
Trond Schertel 24e256da52 Fixes #1155 2020-03-25 15:00:36 +01:00
Rasmus Lerdorf f9edbd34f7 PHP 7.4 fixes 2020-03-25 14:55:57 +01:00
plegall 8a5a2d9831 Revert "Fix PHP-7.4 Issue "
This reverts commit ea25f5b3a4.
2020-03-25 14:55:06 +01:00
plegall d3879b19f9 issue #1114 use the new screenshot provided by @HWFord 2020-03-25 14:53:48 +01:00
plegall cf38caff67 fixes #1119 keep the ability to reset password when there is no photo yet 2020-03-24 15:18:09 +01:00
plegall 1e23ed84d3 fixes #1168 prevent XSS on pwg.images.setInfo 2020-03-24 14:07:49 +01:00
plegall e21ef06e3d fixes #1162 filter users on a specific group 2020-02-18 10:50:36 +01:00
plegall d365e2d216 fixes #1114 the Piwigo for Android app comes back
Revert "issue #420, remove Piwigo for Android, not up-to-date"

This reverts commit 069581b80d
2020-02-10 16:41:52 +01:00
plegall 6ac6db0d2d issue #1150 also protect groupe name on API methods 2020-02-07 17:17:17 +01:00
plegall 619849ff8b fixes #1150 prevent HTML code in group name
It avoids any stored XSS between administrators and it's totally useless to have HTML code in the group name.
2020-02-07 17:05:56 +01:00
plegall cade53577c missing piece of code for #1098 to make the number of checksum configurable 2020-02-07 15:10:05 +01:00
Ben ea25f5b3a4 Fix PHP-7.4 Issue
PHP-7.4 Issue  = "Trying to access array offset on value of type null" in functions_category.inc.php
2020-02-07 14:43:53 +01:00
Thomas Stieler 884c43280e Quote mysql keyword groups 2019-12-16 10:53:46 +01:00
Rasmus Lerdorf f62ee77852 Fix count() warning
In PHP 7.2 and later you will get a warning if you call count() on null. So either initialize $errors to an empty array here, or use empty() to check it as I have done here.
2019-12-16 10:50:14 +01:00
Tomas Krizek 8573e35b18 include/functions_cookie: use proper brackets for offset access
Fixes #1134
2019-12-04 10:40:47 +01:00
plegall 29cc543a14 fixes #1133 adapt the height of the scrolling menu for plugins, depending on browser available height.
Also, change background color of this scrollbar.
2019-12-03 12:25:29 +01:00
plegall 90e4a63ea1 fixes #1112 better management for long username + long gallery name on small screen 2019-11-26 16:33:42 +01:00
HWFord 58fb64f751 Dark mode message boxes color made darker 2019-11-21 14:52:37 +01:00
plegall 41b4230b39 fixes #1102 limit the number of tags shown in the menubar 2019-10-15 16:02:14 +02:00
plegall c4142c2a51 fixes #1092 javascript syntax error on batch manager (Safari only) 2019-10-14 14:29:27 +02:00
plegall 72094c5f88 fixes #1090 move warning about missing checksums from dashboard to sync page
* avoid scaring users for a minor issue
* convert the warning message into a simple info
* simplify algorithm for detection and only search on relevant pages (batch manager + sync page)
2019-10-14 14:14:54 +02:00
plegall 9b695da86b (cp 15d8a19) fixes #988 no more warning on PHP 7.3
This fix was initially only for branch 2.9, and branch master should have
received a new version of jshrink, but I forgot to do it before 2.10 and now
we have a regression in 2.10. This commit will be cherry-picked to 2.10 and
we also have it on master so that we don't have a new regression in 2.11 (in
case jshrink is not properly updated)
2019-10-14 12:31:28 +02:00
plegall e49c217441 fixes #1099 avoid JS error when there is no album associated to current photo set 2019-10-14 12:27:41 +02:00
plegall ac5d00e89b fixes #1098 make checksum computation block size configurable, and smaller by default 2019-10-14 12:22:53 +02:00
plegall 54b727a22a fixes #1097 checksum compute, make the block size constant 2019-10-14 11:42:51 +02:00
plegall 8fe4305d35 during upgrade, use the new default Piwigo theme (modus) instead of hardcoded "elegant"
... and make sure the default Piwigo theme is active before that.
2019-10-08 12:23:54 +02:00
plegall 087284eafc next version is 2.10.0 2019-10-07 16:07:57 +02:00
plegall 6a25b9efea update language directory from the "translation" branch
simple copy, based on commit 28e0a2c089
2019-10-07 16:05:10 +02:00
plegall 0e86caac30 [design] quick improve of new plugins filter 2019-10-07 12:32:32 +02:00
plegall 95a656c145 no more need of jGrowl on upload form 2019-09-26 11:15:24 +02:00
plegall a30b1115ae issue #1080 moves fontello animation.css at the end of the combined files list
It does not fixes the parsing problem, but it avoids breaking following CSS rules.
2019-09-25 16:25:20 +02:00
Pierrick Le Gall 1872f75938 refresh Github readme
* new logo
* new screenshot
* new URLS (using https instead of http)
* link to contributing guide
2019-09-23 12:12:51 +02:00
plegall fa8996e10f issue #1073 prevents from making uploaded file executable
* for the name of the file in buffer directory, do not use the name given by the user, but the md5 of the name without extension
* function add_uploaded_file deletes uploaded file if not expected
2019-09-20 16:26:21 +02:00
plegall 7e154ab093 issue #1075 check the url keys are expected 2019-09-20 14:02:03 +02:00
plegall dcaf31fe09 update year in API browser footer 2019-09-20 13:58:30 +02:00
James Bercegay 1119d36c4b XSS Fix
urlencode() key data as well
2019-09-20 13:55:32 +02:00
plegall 1061dd0a77 fixes #1070 use ajax queue manager to launch metadata syncs
+ exit from event once the "metadata" is performed to avoid side effects with "delete" action.
2019-09-03 16:49:12 +02:00