Commit Graph

698 Commits

Author SHA1 Message Date
plegall
4acfca116b fixes #1591 specific processing for piwigo-openstreetmap and piwigo-videojs 2021-12-30 16:57:30 +01:00
plegall
26492d4f9b fixes #1554 no need to store the selected album in session 2021-11-09 16:21:56 +01:00
plegall
97fce5d251 fixes #1545 avoid fatal error during upgrade from 11 to 12 2021-11-03 19:12:58 +01:00
Matthieu Leproux
25f70443e8 fixes #1540 removed site manager from side menu and added icons to tabs 2021-10-22 16:45:45 +02:00
Matthieu Leproux
d0a331a4b5 related to #1530 status verification for option pages in configuration section 2021-10-21 15:27:46 +02:00
plegall
fb84527e3b issue #164 add new API method pwg.images.uploadCompleted
+ trigger ws_images_uploadCompleted when this API method is called
+ trigger empty_lounge (can be called at another moment with different effect)
2021-09-15 13:50:15 +02:00
Ana Els
71efee7737 Fix a missing function_exists() call 2021-08-03 10:54:52 +02:00
Ana Els
65acb988db A couple of minor PHP 8 fixes that can be applied now 2021-08-03 10:54:52 +02:00
Matthieu Leproux
c47c262fe6 related to #1455 adjustments in sync page site_url moved, title and btn. 2021-08-02 16:27:50 +02:00
Matthieu Leproux
42d56b3c65 related to #1455 Site manager put in a tab, useless title removed and tab title shortened 2021-07-22 14:31:37 +02:00
Matthieu Leproux
286e8ad5b1 related to #1316 Calculates cache size and cache size derivatives 2021-07-07 18:14:00 +02: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
MatthieuLP
ec4d677cf7 issue #1378 add Activity tab in user manager 2021-06-22 18:15:17 +02:00
Louis
7c2d071f28 splitting the php files 2021-06-22 14:54:18 +02:00
Matthieu Leproux
817e007f04 Fixes #1432 Removed the duplicate pwg_activity() call that doubled the number if tags added in activity tab 2021-06-17 15:22:25 +02:00
plegall
ac0d1a5b47 fixes #1419 add photos in a lounge as a temporary space
* at the end of the upload of after a maximum duration, move the photos from the lounge to their actual categories.
* do not invalidate user cache when photos are added in the lounge, thus avoiding to rebuild cache on every photo uploaded
* the lounge system activates itself only beyond 50k (by default) photo
2021-06-11 16:42:48 +02:00
plegall
ea69988eac fixes #1317 remove cache directory size calculation 2021-02-05 10:12:05 +01:00
plegall
cac24635a9 fixes #1300 fall back on exec(du) instead of pure PHP to calculate cache size
This algorithm does not work for Windows and when "exec" is disabled. But not having this cache size is not a major issue. What is a problem is when calculating the cache size breaks the execution, which must be avoided.
2021-01-27 19:46:53 +01:00
plegall
c25fce65b1 fixes #1294 use branch number to generate download code for update 2021-01-22 17:10:57 +01:00
plegall
ab81e7707f fixes #1290 avoid calling external command to calculate directory size
+ add a 5 minutes cache to avoid calculating cache size too often
* tested with anold PHP 5.5 (could work with earlier versions, but I prefer to not take the risk)
2021-01-21 10:39:47 +01:00
plegall
d71d69dbe7 fixes #1277 ability to activate plugin link only for webmasters 2021-01-06 15:03:09 +01:00
Louis
471b301e99 synchronize in tabsheet
added tab to be like other pages so added a tabsheet in the backend, also only show files + directories options when it is selected
2020-11-12 15:08:42 +01:00
plegall
d651fe38cd fixes #583 check PHP version requirement before update
* piwigo.org can now tell Piwigo which version of PHP is required for each version of Piwigo. If the installed version of PHP is too old, do not let the user update.
* slight visual enhancements on the update page
2020-11-04 17:38:09 +01:00
plegall
7a74f06037 fixes #553 smartly remove the old history.summarized column
Only when we have as few lines as possible in the history table, not before.
2020-10-28 18:08:59 +01:00
plegall
3e58f67c0f fixes #525 add trigger at the end of add_uploaded_file 2020-10-26 16:26:31 +01:00
Louis
f8f219b6ee #1237 menubar closed in dashboard/plugin
menubar doesn t open an extension like it used to, for example dashboard opend photos and plugins opened tools below
2020-10-22 15:40:29 +02:00
plegall
83242047f1 fixes #662 replace obsolete dump (database export) by a simple message
The message is copied from update guide on piwigo.org
2020-09-28 12:55:19 +02:00
Zacharie
d527c47023 Add a new tab to manage album page : search album (based on Hannah mock up), minor changes in button behaviour on add photo page 2020-09-03 15:18:44 +02:00
Zacharie
d4436b825d Issue #1208 : Implementation of the new album edit page 2020-08-13 11:56:57 +02:00
Zacharie
e6b0574cde Issue #1206 : Minor design fix 2020-08-13 11:49:31 +02:00
Zacharie
1dff9fa9b7 Issue #1200 : Add "Move Album" link in direct menu of albums, remove it from "Album List" tabsheet, design fixes 2020-08-13 11:43:56 +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
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
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
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
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
fdcb6f50f6 fixes #1055 prevents XSS on original resize fields 2019-08-09 15:52:04 +02:00
plegall
c1eecab364 fixes #996 escape word "groups" in SQL queries, new reserved word with MySQL 8 2019-06-28 18:07:53 +02:00
plegall
3999bff326 fixes #1042 set Modus as default theme 2019-06-28 11:21:18 +02:00
plegall
5436c48ead fixes #1041 no longer activate TakeATour by default 2019-06-28 10:35:43 +02:00
Sam Wilson
8e9cb6de23 Quote 'rank' field name in SQL
Add backticks to reserved word 'rank' in SQL queries.

Bug: GH #919
2019-06-27 17:50:59 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
b150774bc9 issue #1019 do not display album selection if coming from a "add photos to album" link 2019-05-28 16:08:11 +02:00
Yann Le Boudec
038a42dd46 issue #1019 photo upload redesign
* Hide album selection after creation
* Correctly center the welcome box
* Better alignment for select files info
* Remove summary for select files info, always display details
* Fix dynamic margins in album popin
* Simplify show/hide blocks when no album available
* Make file selection button secondary when files added to queue
2019-05-28 15:00:03 +02:00
Yann Le Boudec
c9715d255d issue #1014 album manager redesign 2019-05-09 14:03:33 +02:00
plegall
940d1d2e8c issue #552
* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
2019-04-01 16:19:09 +02:00
plegall
27a6504284 issue #552 new table activity and log add/edit/delete on albums 2019-03-25 16:50:45 +01:00
plegall
9f6e3e9080 fixes #979 derivative cache generation works even for file with representative picture
Cache medium size, instead of thumbnail.
2019-03-08 15:16:08 +01:00
Teatek
61b7974a8d ability to set album order with web API
* add method pwg.categories.setRank in Piwigo web API
2019-02-13 15:00:22 +01:00