Commit Graph

190 Commits

Author SHA1 Message Date
HWFord
c04374928a issue #2439 update popin
Add translations
remove last major update conf when in piwigo Upgrade
don't send popin template if not needed
2025-11-17 10:00:53 +01:00
Linty
dbec498287 fixes #2404 notify users of impending API key expiration
Adds logic to detect when an API key is about to expire and sends a notification email to the user if the key expires within 7 days and no recent notification was sent. Introduces a new 'last_notified_on' column to the user_auth_keys table to track notification timing.
2025-09-04 17:21:53 +02:00
plegall
789c062837 fixes #2336 more details in Logger (execution_uuid) 2025-03-01 14:20:11 +01:00
plegall
fc5bc47bc3 fixes #1960 custom pwg_nl2br to avoid warning on PHP 8.1+ 2024-12-18 12:29:31 +01:00
HWFord
bf3beb9bdd fixes #2268 add whats new popin
set popin display in user pref, if user closes don't display again
keep bell notification displayed for 30 days so user can reopen modal
for next version add user pref to install
Add css for template
when close popin call api method to update user pref to hide popin
2024-11-08 16:35:27 +01:00
Linty
e6f17efdaa issue #2158 check webmaster_id before load_conf_from_db
In Piwigo 15, configuration setting webmaster_id is moved from config files to database. It may be undefined at some point, with Piwigo 15+ scripts and a Piwigo 14 database schema not upgraded yet. Let's avoid any problem.
2024-06-12 12:45:06 +02:00
plegall
6bbf137e50 issue #2057 forgot to add a comment in the code 2024-01-10 14:23:22 +01:00
plegall
a01831b3d8 fixes #2057 register core autoupdate in system activities 2023-12-07 11:29:32 +01:00
Matthieu Leproux
96a4e21a58 fixed #1792 user input escape works for php8 2022-11-16 13:02:03 +01:00
balki
f5fa2526be Add option to turn off display_errors 2022-07-29 15:52:54 +02:00
HWFord
5a4a669c08 Issue #1625 add array key for dataset
add array keys for body data helpful when selecting via javascript

also separates ids for combined tags and albums
2022-04-08 09:14:18 +02:00
HWFord
722c26a1b3 Issue #1625 body class definition in section init
Initialize body_classes in common.inc.php
Add class for section and section id
also add class with search id
Class is added to $page in section_init now
Also add tis info to the body dataset for javascript use
2022-04-07 14:30:47 +02:00
plegall
c4f0727176 issue #1641 make admin_theme related to user instead of config 2022-03-31 18:23:26 +02:00
plegall
78e9d516b1 fixes #1616 handle backticked rank column in conf.order_by setting 2022-02-25 14:22:39 +01:00
Ana Els
65acb988db A couple of minor PHP 8 fixes that can be applied now 2021-08-03 10:54:52 +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
d06637b755 fixes #1192 use HTTPS to call piwigo.org 2020-10-28 17:05:00 +01:00
plegall
6111b9a99c fixes #1247 remove hu.piwigo.org 2020-10-28 16:13:11 +01:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
90a0e8c26c fixes #512, set session garbage collector probability 2016-12-03 20:07:14 +01:00
plegall
4e24768989 fixes #533, add a "messages" box (blue colorscheme) 2016-10-06 11:46:42 +02:00
plegall
a12425629e fixes #412, warn visitor if auth key no longer valid 2016-01-29 12:44:38 +01: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
0c576ea19d feature 3221 Add Logger class
git-svn-id: http://piwigo.org/svn/trunk@31102 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-04-24 14:00:50 +00:00
plegall
c08e34dea3 bug 3078: avoid zlib issue on Ubuntu 14.04 (PHP 5.5) and maybe other systems
git-svn-id: http://piwigo.org/svn/trunk@29904 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-06 10:45:23 +00:00
rvelices
3c13387dfd since number of accepted args not required for add_event_handler, simplify calls
git-svn-id: http://piwigo.org/svn/trunk@28714 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-18 19:51:42 +00:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
f1f7e5d4ad added a persistent cache mechanism; used so far to cache image ids in flat view mode
git-svn-id: http://piwigo.org/svn/trunk@28432 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-11 08:26:41 +00:00
rvelices
3736ea89c8 removed functions provided for php backward compatibility as 5.2 is now required
git-svn-id: http://piwigo.org/svn/trunk@27152 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-03 21:15:19 +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
ddtddt
bdecb28d36 [trunk] - add new site br.piwigo.org
git-svn-id: http://piwigo.org/svn/trunk@22570 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-05-09 12:24:30 +00:00
ddtddt
2aac4f6190 [trunk] - add 2 new site piwigo.org da/tr
git-svn-id: http://piwigo.org/svn/trunk@21165 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-03 22:24:15 +00:00
mistic100
e8bdcecfeb feature:65 pwg_db_connect doesn't return anything now
git-svn-id: http://piwigo.org/svn/trunk@20720 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-12 11:06:00 +00:00
rvelices
f66a624576 start the php session before loading plugins in a standard manner (related to bug 2835: )
git-svn-id: http://piwigo.org/svn/trunk@20599 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-07 05:43:44 +00:00
rvelices
5b22fcea0e feature 2831: simple way to protect urls of originals
git-svn-id: http://piwigo.org/svn/trunk@20516 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-02 07:09:52 +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
b3e71e424c feature 2761: Pass all kind of messages through session on admin
git-svn-id: http://piwigo.org/svn/trunk@18463 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-04 16:03:25 +00:00
rvelices
a6c33e9332 remove deprecated function get_thumbnail_url + $conf['local_data_dir']
git-svn-id: http://piwigo.org/svn/trunk@17649 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-27 18:32:10 +00:00
plegall
1808c59fd6 bug 2649: broken code commited in r15587, fixed with a simpler condition
git-svn-id: http://piwigo.org/svn/trunk@15597 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07 21:33:30 +00:00
plegall
28e722f27c bug 2649 fixed: do not load mobile theme when using web API
git-svn-id: http://piwigo.org/svn/trunk@15587 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07 13:20:00 +00:00
patdenice
26ed60c972 feature:2577
Many improvements

git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18 20:26:52 +00:00
patdenice
46864ea0b6 feature:2577
Add functionnality in core files.

git-svn-id: http://piwigo.org/svn/trunk@13172 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-15 16:52:24 +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
rvelices
cc01941ed9 feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak
git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 21:58:18 +00:00
rvelices
1e1b71c6f6 fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and move combined files and image derivatives from local to _data
git-svn-id: http://piwigo.org/svn/trunk@12802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-29 05:48:16 +00:00
rvelices
753f58d6a9 feature 2541 multisize
- core implementation + usage on most public/admin pages
- still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ...

git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27 05:26:44 +00:00
rvelices
d70a18d521 simplification of 'startup phase' - multisite.inc.php is not required anymore / database.inc.php is included after config.
git-svn-id: http://piwigo.org/svn/trunk@12768 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-19 20:25:42 +00:00
mistic100
ca230a6f53 feature:2538 Make a unified messages management
use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages

git-svn-id: http://piwigo.org/svn/trunk@12764 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-18 21:46:24 +00:00
patdenice
e859d5ac6d feature:2322
feature:2493
Add a trigger for multi language tags in quick search and url

git-svn-id: http://piwigo.org/svn/trunk@12553 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-05 16:15:58 +00:00