Commit graph

124 commits

Author SHA1 Message Date
Matthieu Leproux
1e85985a0c related to #1693 php8.1 compat for comments in gallery and album edit in admin 2022-07-27 18:46:17 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
modus75
35e7b79d7f fix commit from september 2017 related to issue #603 2018-07-23 20:41:56 +02:00
modus75
e8df728125 fix create_function replacement 2018-07-12 21:14:08 +02:00
plegall
063711240a Squashed commit of the following:
commit 7190866ccf15033f27095d635546e46dacbb755e
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:33 2018 +0200

    Revert "Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin"

    This reverts commit c8b12a2ed0.

commit 1dac11ecb6783d0d5353c3d250388f018c30fc5c
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:24 2018 +0200

    Revert "Update Smarty to 3.1.3"

    This reverts commit db684f6151.

commit 3ac752dc93912ba5701d22dadd9bb3b81e5bb383
Merge: d1c2e71 8d58256
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:50:43 2018 +0200

    Merge branch 'php72' of https://github.com/Infern1/Piwigo into Infern1-php72

commit 8d58256c45
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:40:36 2018 +0100

    new feedcreator version for PHP7

commit bb0fcc3a30
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:26:27 2018 +0100

    php72 fixes, replaces each() function

commit 3db22c0d33
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:02:46 2018 +0100

    More fixes for PHP7.2

commit 50d8aafc77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 23:55:21 2018 +0100

    Some more replacements of create_function

commit 8263335c42
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 22:54:54 2018 +0100

    Fixed indents

commit 8d58b637c6
Merge: c8b12a2 8a57d77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Tue Feb 27 13:51:32 2018 +0100

    Merge remote-tracking branch 'upstream/master' into php72

commit c8b12a2ed0
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:32:46 2018 +0100

    Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin

commit db684f6151
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:23:24 2018 +0100

    Update Smarty to 3.1.3

commit 6a3f8f3e76
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Jan 17 23:40:27 2018 +0100

    Initial work to support PHP 7.2
2018-07-12 10:52:55 +02:00
modus75
46ddfabc38 Merge branch 'master' of https://github.com/Piwigo/Piwigo 2017-09-25 21:44:13 +02:00
modus75
98a39fee72 better check on input parameters (got some odd hack attempts) 2017-09-25 21:43:31 +02:00
flop25
47164bc737 fixes #603 no more use of include in tpl for comment_list
so comment_list can be replaced via template extension or extensions
No HTML changes just tpl and php
2017-09-01 17:39:26 +02:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
mistic100
9ff7ab03a8 feature:2807 better fix for svn:28995
git-svn-id: http://piwigo.org/svn/trunk@29008 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-08 19:00:47 +00:00
rvelices
a7e57cf852 feature 2807: fix bugs on comments format_date
git-svn-id: http://piwigo.org/svn/trunk@28995 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-07 21:36:23 +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
e6a38c4172 fux php warning (one of my prev commit)
git-svn-id: http://piwigo.org/svn/trunk@28164 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-13 04:43:00 +00:00
rvelices
ddb1632bf9 fix
git-svn-id: http://piwigo.org/svn/trunk@28147 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-10 04:28:31 +00:00
rvelices
656ac54090 more query2array and remove unnecessary tests in often called url functions
git-svn-id: http://piwigo.org/svn/trunk@27388 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-16 07:39:19 +00:00
rvelices
1d9bb50cbd change stupid sql query (no join at all instead of a triple join)
git-svn-id: http://piwigo.org/svn/trunk@26761 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-15 20:38:44 +00:00
rvelices
236142143e one less expensive query in comments.php (triple table join is already being done and we can use the result)
git-svn-id: http://piwigo.org/svn/trunk@26759 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-15 20:00:38 +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
mistic100
76b478026f minimize number of url constructions on comments.php
git-svn-id: http://piwigo.org/svn/trunk@26088 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-22 18:46:47 +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
2f08283864 feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 11:04:11 +00:00
plegall
22d81a69f3 merge r22141 from branch 2.5 to trunk
bug 2887 fixed: avoid private photos to be returned as results on user comment
search with the appropriate author.



git-svn-id: http://piwigo.org/svn/trunk@22142 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-04-11 14:28:04 +00:00
rvelices
ec50a59f75 replaced page_messages.php with a function to call
git-svn-id: http://piwigo.org/svn/trunk@20609 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-07 21:17:08 +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
plegall
36d1ab0e3e feature 2798: let the webmaster decide how many comments to display on
comments.php by default


git-svn-id: http://piwigo.org/svn/trunk@19303 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-06 14:19:12 +00:00
mistic100
2fa1013ace feature:2786 Allow to edit website url in user comments + improve "user experience" on comment edition
git-svn-id: http://piwigo.org/svn/trunk@18995 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-11 15:01:09 +00:00
mistic100
7e33b84e77 feature 2754: Add "Email" field for user comments + mandatory "Author"
git-svn-id: http://piwigo.org/svn/trunk@18164 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23 09:34:30 +00:00
mistic100
cbb971db3f feature 2747: Add triggers on all main pages
git-svn-id: http://piwigo.org/svn/trunk@18063 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-20 12:16:45 +00:00
mistic100
d7bf41b3ef feature 2380: add URL for user comment
git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-03 17:02:24 +00:00
mistic100
5ae74aac04 on comment_list add link to exit from comment edition
git-svn-id: http://piwigo.org/svn/trunk@15924 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-21 13:39:25 +00:00
mistic100
8c4a87a0f5 feature:2538 little rework of messages system, now can be used on 'loc_end_index' and 'loc_end_picture'
git-svn-id: http://piwigo.org/svn/trunk@15578 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-06 20:29:30 +00:00
rvelices
9c06bb5564 - comment edit form looks ok now with the new comment layout
- removed unused css / simplify it
- simplified jquery drop boxes ...

git-svn-id: http://piwigo.org/svn/trunk@13865 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-02 20:49:46 +00:00
rvelices
b7fff52095 feature 2548 multisize
- comments thumbnails + no more hard coded thumbnail sizes in css 
- removed admin thumbnail page + language cleanup

git-svn-id: http://piwigo.org/svn/trunk@12930 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-20 05:36:58 +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
mistic100
c501688dbc feature:2549 Allow to disable comments for everybody
git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-14 22:29:10 +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
mistic100
5470df353a bug:2539 we can't edit the same comment twice without change page
git-svn-id: http://piwigo.org/svn/trunk@12765 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-19 14:07:55 +00:00
mistic100
901dfaecb6 bug:2328 wrong variable given
git-svn-id: http://piwigo.org/svn/trunk@11261 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-07 19:13:02 +00:00
mistic100
7982355402 transmit comment ID to template on comments and picture_comment
git-svn-id: http://piwigo.org/svn/trunk@11236 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-04 21:05:28 +00:00
mistic100
e38092f36c restore HOME links, change parameter name for remove menu on certain page
git-svn-id: http://piwigo.org/svn/trunk@10824 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-09 15:04:15 +00:00
mistic100
fdfe41e343 merge spread_menus to the core
git-svn-id: http://piwigo.org/svn/trunk@10812 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-07 15:55:10 +00:00
flop25
bfae35d070 bug:2221
git-svn-id: http://piwigo.org/svn/trunk@9679 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-14 17:14:01 +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
rvelices
8a14faf0e1 feature 2102 : rename item/image/picture to photo (public side)
git-svn-id: http://piwigo.org/svn/trunk@8711 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-16 20:43:56 +00:00
rvelices
d8ec9b9fdd feature 1915: add protection on user registration against robots
git-svn-id: http://piwigo.org/svn/trunk@7495 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30 11:32:11 +00:00
plegall
7aae3dd985 merge r7487 from branch 2.1 to trunk
bug 1973 fixed: aboid SQL syntax error if the category id given in the URL is
unknown.



git-svn-id: http://piwigo.org/svn/trunk@7488 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-29 22:34:41 +00:00
plegall
9ab609438f merge r6909 from branch 2.1 to trunk
bug 1850 fixed: strong check of $_GET['cat']



git-svn-id: http://piwigo.org/svn/trunk@6910 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-13 21:10:51 +00:00
nikrou
fb1d1c43d6 Bug 1735 fixed : amend commit 6596
Need to add permissions filter to retrieve categories

git-svn-id: http://piwigo.org/svn/trunk@6601 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 20:22:21 +00:00
nikrou
e1ecc62b83 Bug 1735 fixed : Comment page is not PostgreSQL compatible
Fixed by adding all fields except category_id in group by clause
category_id is retrieved later in an another query.

Fixed also problem of FROM_UNIXTIME function not POstgreSQL compatible.

git-svn-id: http://piwigo.org/svn/trunk@6596 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 18:36:24 +00:00
rvelices
55e78ab8d2 fix bug (a comment could be displayed several times in the comments liat)
git-svn-id: http://piwigo.org/svn/trunk@5199 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-20 06:11:21 +00:00