Commit Graph

10369 Commits

Author SHA1 Message Date
Zacharie d3df6cd731 Issue #1189 : Dark mode fix and clean code 2020-06-12 15:33:35 +02:00
Zacharie b32daddafe Issue #1189 : Statistic page redesign
* Statistic page totally redesign, replace by a single graphic which display for last hours, days, months and years
 * Add Chart.js plugin for graphic representation
 * Add Moment.js plugin for time operations
2020-06-12 15:33:35 +02:00
Zacharie 7055ee1e67 Minor design fix on Group Manager Page 2020-06-11 13:54:29 +02:00
Zacharie a10d099b37 Issue #1175 : Design fixes due to the merge in origin branch 2020-05-20 15:53:55 +02:00
Zacharie 07731a57da Issue #1175 : Plugin Manager dropdowns fixes 2020-05-20 15:03:53 +02:00
Hannah fe0a977e4c issue #1175 Css changes
settings button font size made bigger
settings button centered
plugin block shadow made darker so right border is more visible
plugin block border radius reduced
2020-05-20 15:03:53 +02:00
Hannah 9d2ddc9f1c issue #1175, adjustements to css, and some html
Extra padding added to the inside of plugins and outside
filter input color changed
plugin shadow changed
deactivate and restore options moved to dropdown
TODO change options icon, edit dropdown function to work on each plugin seperately
2020-05-20 15:03:53 +02:00
Zacharie debb840e22 Issue #1167 : Minor design fixes 2020-05-19 17:28:22 +02:00
Zacharie d4926f31aa Issue #1167 : Group manager action and design fixes
* Icon colour standardized with intro page in css
 * Dark mode colour changes
 * Load state changes on several actions (especially in delete popin)
 * Rename group action is now effective if the name didn't change
2020-05-19 17:28:22 +02:00
Zacharie 9b77eff0ef Issue #1167 : Minor changes (group order is now by alphabetic...), remove PHP actions on group_list.php 2020-05-19 17:28:22 +02:00
Zacharie 9a293dc1c5 Issue #1167 : Add pwg.groups.duplicate to API methods, add the merge action in group manager (and small code fixes) 2020-05-19 17:28:22 +02:00
Zacharie c4b38d1a41 Issue #1167 : Fixes and code cleaning 2020-05-19 17:28:22 +02:00
Zacharie df46475e1b Issue #1167 : Implement group merge function
* Implement new API function pwg.groups.merge
 * Generalize the delete group function in admin/include/functions.php
 * Implement merge action in Group Manager
 * Add loading state on grouped delete in group manager
 * Member manager's design fixes
2020-05-19 17:28:22 +02:00
Zacharie 1d3c08616b Issue #1167 : Member Manager Fixes and implementation
* Implement the member research
 * Visual fix for the "add member" form
 * Use of the local storage to import all user (for the add member form)
 * Change the feedback of add and remove members
 * Add load state for the adding and removing users
 * Synchronize member number displays
 * Limit the number of members displayed
2020-05-19 17:28:22 +02:00
Zacharie 14c47f0dd3 Issue #1167 : Adding loading spinner in somes Group Manager Actions (rename, add and set default) 2020-05-19 17:28:22 +02:00
Zacharie 490f43c52b Issue #1167 Implement Group Member Manage, Group manager fixes
* Adding and removing members now works in the Member manager popup
 * Implement an intelligent research input for adding users
 * Add the plugin confirm.js
 * Add a confirm popup for the group deletion
 * Implement the "Set as group for new users" action for groups
2020-05-19 17:28:22 +02:00
Zacharie d0a155bb24 Issue #1167 : Group manager fixes
* Edit name change into a form
 * Add Animation on Add Group form
 * Add the "set as default" action (not working)
 * Design, color and text fixes
2020-05-19 17:28:22 +02:00
Zacharie c77519e860 Implement Group actions and behaviors on admin page (in ajax)
* Move js to a separate file
 * Rename and delete by selection functions are now operational
 * Add error or information messages at actions
 * Add different colors on group icons
 * Fixes (selection panel...)
2020-05-19 17:28:22 +02:00
Zacharie 87fc70f84b Implement group's plugin page
* Add and remove group functions (in ajax)
 * Clean up code to comply with W3C (remove labels without input and incorrect ul/li)
2020-05-19 17:28:22 +02:00
Hannah f8d2bbe200 Group manager color changes light and dark mode
Light mode and dark mode color change to group block when checked in selection mode, and to the group icon (changed to orange) number of members made orange.
Dark mode selection mode orange color made darker
Dark mode group name changes to black when checked, changes via jquery (BlackFont class added)
2020-05-19 17:21:30 +02:00
Hannah c726a39cad Dark mode Css changes for group manager 2020-05-19 17:21:30 +02:00
Hannah d08da54866 Light mode Css for group manager 2020-05-19 17:15:43 +02:00
Hannah e6a02689b4 General Css changes for group manager 2020-05-19 17:15:43 +02:00
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