Commit graph

169 commits

Author SHA1 Message Date
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
mistic100
9c0cfb0084 feature:2317 move order config to Admin->Config->Options
new GUI interface for simple paterns
in GUI, order_by and order_by_inside_category are merged (not un DB)
users can define special paterns with $conf['order_by_custom'] and $conf['order_by_inside_category_custom']

git-svn-id: http://piwigo.org/svn/trunk@11587 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-01 13:19:35 +00:00
plegall
d9f8479cdf feature 2365 added: Piwigo version is written in the database (as
"piwigo_db_version" in the config table). We only store the branch,
not the release : 2.3 and not 2.3.1, because database structure is
not changing between minor releases.


git-svn-id: http://piwigo.org/svn/trunk@11511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-25 22:03:12 +00:00
patdenice
49dd77f05b feature:2250
Add expire parameter.
Clean code.

git-svn-id: http://piwigo.org/svn/trunk@10128 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:11:11 +00:00
patdenice
0dd800150b feature:2250
Incompatible plugins and obsolete plugins may not be activated.

git-svn-id: http://piwigo.org/svn/trunk@10098 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 09:43:46 +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
plegall
8ccd3a203d feature 2112 added: ability to set an additional local directory
$conf['local_dir_site'] in local/config/multisite.inc.php


git-svn-id: http://piwigo.org/svn/trunk@8722 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 18:48:13 +00:00
rvelices
732eb6bfba removed unused files / code / css; shorter code
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 05:22:19 +00:00
patdenice
731f8888a4 feature 2060: Remove adviser mode.
First commit: only php files.

git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
grum
462e8aa2fc Add possibility to configure the url for the extension manager
feature:1966

git-svn-id: http://piwigo.org/svn/trunk@7501 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30 15:07:18 +00:00
rvelices
613855b83b misplaced closing paranthesis in common.inc.php
git-svn-id: http://piwigo.org/svn/trunk@6523 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-12 09:55:41 +00:00
plegall
8469140471 add nl.piwigo.org as domain name if current language is nl_NL
fix typos on language names in install.php

correct list of available newsletters

git-svn-id: http://piwigo.org/svn/trunk@6152 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09 20:51:01 +00:00
plegall
eb0aec9752 bug 1652 fixed: json_encode function is required for admin.php?fckb_tags=1
(used in the new tags widget)

git-svn-id: http://piwigo.org/svn/trunk@6126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 19:22:29 +00:00
nikrou
94d40c0eab Bug 1617 fixed : help page is displayed in current theme in public or admin pages
git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-18 18:59:37 +00:00
rvelices
ff8049ff28 move no_photo_yet feature to a new php file included by common.inc.php only if required (avoid parsing this code that will be rarely executed)
git-svn-id: http://piwigo.org/svn/trunk@5509 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-31 20:36:32 +00:00
plegall
f635122ef2 feature 1505: bug fixed, ability to connect with pLoader even if gallery
is empty.

git-svn-id: http://piwigo.org/svn/trunk@5251 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 10:29:34 +00:00
plegall
3fde53f0d9 feature 1505: improvement, ability to browse the empty gallery. The "no photo
yet" feature can be deactivated at session level.

git-svn-id: http://piwigo.org/svn/trunk@5241 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 00:39:04 +00:00
plegall
fbfe11375e feature 1505: improvement, when there is no photo yet in the gallery, first
shows a connection box (and only this), then if the user is an admin shows the
"Hello %s, your gallery is empty...".

I've also added the ability to deactivate this message. Only an admin can
deactivate it.

git-svn-id: http://piwigo.org/svn/trunk@5240 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 00:21:25 +00:00
nikrou
f5af5ab4c1 Fix typo : parenthesis
git-svn-id: http://piwigo.org/svn/trunk@5238 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 23:00:11 +00:00
nikrou
4773d7a350 Feature 1255 :
only one function
use exceptions to deal with differents possible errors

git-svn-id: http://piwigo.org/svn/trunk@5236 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 22:51:36 +00:00
ddtddt
4158d32960 [trunk] localisation hu/RU feature:1526 and feature:1527
git-svn-id: http://piwigo.org/svn/trunk@5235 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 22:07:22 +00:00
patdenice
54c9ceb0f4 feature 1255: add pwg_select_db function.
git-svn-id: http://piwigo.org/svn/trunk@5230 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 21:15:54 +00:00