Commit graph

869 commits

Author SHA1 Message Date
rub
13872e6e92 merge -c3798 from trunk to branch 2.0
Bug 1145: Mails are sent in double


git-svn-id: http://piwigo.org/svn/branches/2.0@3799 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-26 20:17:28 +00:00
rvelices
de08354729 merge r3703 from trunk - fix smarty debugging info (not important)
git-svn-id: http://piwigo.org/svn/branches/2.0@3704 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-30 04:00:04 +00:00
plegall
7edf366f8b feature 1071: improve log system on API calls. The log can be activated by a
configuration setting. The log file can be changed also with a configuration
setting.

improvement: pwg.images.add API methods gets a cleaner way to log received
parameters.

git-svn-id: http://piwigo.org/svn/branches/2.0@3661 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-21 21:40:47 +00:00
plegall
881aa5ab22 bug 1070: fix a pLoader bug on Piwigo side. Catch the bad communication:
don't try to find tags if tag_ids parameter is empty (but not null).

git-svn-id: http://piwigo.org/svn/branches/2.0@3659 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-21 21:18:51 +00:00
rvelices
d8f1c262de - bug fix (use uasort for computed categories instead of usort) - I think this is an old bug and somehow it worked before)
git-svn-id: http://piwigo.org/svn/branches/2.0@3643 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-20 05:37:37 +00:00
rvelices
30f0e85768 correct bug in commit r3623 ( feature 1053 )
git-svn-id: http://piwigo.org/svn/branches/2.0@3641 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-20 05:19:37 +00:00
rvelices
17087ea615 merge r3622 from trunk to branch 2.0
- feature 1053: hide categories that contain no photo due to privacy level

git-svn-id: http://piwigo.org/svn/branches/2.0@3623 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-18 10:34:39 +00:00
patdenice
74476e34e0 Update smarty to 2.6.26
git-svn-id: http://piwigo.org/svn/branches/2.0@3583 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-15 11:41:41 +00:00
plegall
153c32e8ff bug 1043 fixed: avoid warning when merging chunks. This warning was preventing
the PwgError to work correctly and the error code was not transmitted.

git-svn-id: http://piwigo.org/svn/branches/2.0@3513 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-03 22:59:32 +00:00
vdigital
a61dfc631d Reverse of 3484
git-svn-id: http://piwigo.org/svn/branches/2.0@3490 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01 21:06:55 +00:00
vdigital
7ee363b9f9 New: Extend of available fields within a category page for a template-extension simple usage.
Add thumbnail dimensions to remove as much as possible some PHP in tpl extensions.

{$thumbnails.FILE_TN_WIDTH}
{$thumbnails.FILE_TN_HEIGHT}

git-svn-id: http://piwigo.org/svn/branches/2.0@3484 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01 19:19:24 +00:00
plegall
91c7200b59 feature 1033 added: new API method pwg.categories.setInfo makes possible to
change the name and comment of a given category.

git-svn-id: http://piwigo.org/svn/branches/2.0@3453 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-24 21:42:39 +00:00
nikrou
50114c64f0 merge from trunk;bug fix 1024 : the way to discover protocol (http/https) was not correct
git-svn-id: http://piwigo.org/svn/branches/2.0@3404 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-09 15:55:21 +00:00
plegall
32a24fefc9 feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter from
Piwigo itself. Admins can perform this action at the end of installation or on
administration panel index.

git-svn-id: http://piwigo.org/svn/branches/2.0@3381 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-31 19:35:51 +00:00
plegall
e579ec2cad bug 968 fixed: charset is set in HTTP header.
improvement: in the "this gallery is locked" message, the link to the
"sign in" page is on the whole sentence, not only on the final dot.

git-svn-id: http://piwigo.org/svn/branches/2.0@3276 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-06 21:07:03 +00:00
plegall
4d7292c50c feature 981 added: ability to set the compression level for thumbnail creation.
git-svn-id: http://piwigo.org/svn/branches/2.0@3270 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-05 21:42:58 +00:00
rub
d50e5963ff merge -c3261 from trunk to branch 2.0
Resolved issue 0000977: Error on sendmail with smtp 

git-svn-id: http://piwigo.org/svn/branches/2.0@3262 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-26 18:36:17 +00:00
rub
6d758aec6b merge -c3259 from trunk to branch 2.0
Remove " " after ":" on smtp_mail

git-svn-id: http://piwigo.org/svn/branches/2.0@3260 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-26 15:05:07 +00:00
rub
ef20fa17b5 merge -c3257 from trunk to branch 2.0
Rollback "Missing <ul> on NBM" in order to dd <ul> on feed too.

git-svn-id: http://piwigo.org/svn/branches/2.0@3258 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-26 15:00:57 +00:00
plegall
52db0a523c bug 949 fixed: to avoid memory limit on server side, base64 encode chunks one
by one on client side and base64 decode chunks one by one on server side.


git-svn-id: http://piwigo.org/svn/branches/2.0@3239 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-14 22:49:04 +00:00
plegall
810a0b1783 new: it.piwigo.org/forum is online, PHPWG_DOMAIN updated inside Piwigo.
git-svn-id: http://piwigo.org/svn/branches/2.0@3210 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-17 21:33:47 +00:00
patdenice
00ce8c1bab merge r3207 from trunk to branch 2.0.
Add "tags" parameter for template extensions

git-svn-id: http://piwigo.org/svn/branches/2.0@3208 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 17:53:20 +00:00
patdenice
796cbc8350 merge r3203 from trunk to branch 2.0.
Move template class inclusion to common.inc.php.
Add forum link in upgrade page.
Install and upgrade try to configure PHP5.

git-svn-id: http://piwigo.org/svn/branches/2.0@3204 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 17:04:13 +00:00
plegall
ab6f96964a bug 926 fixed: change links to piwigo.org so that they go to existing URLs.
new: if the current language is french, the links go to fr.piwigo.org insted.


git-svn-id: http://piwigo.org/svn/branches/2.0@3196 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-13 23:37:34 +00:00
plegall
497e753bcf bug 941 fixed: to be able to upload heavy photo, chunk the files, send parts
one by one, and then pwg.images.add merge chunks together. Now big uploads
works and you can even have a fine progress bar on client side.


git-svn-id: http://piwigo.org/svn/branches/2.0@3192 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-12 23:09:22 +00:00
patdenice
b70496545c merge part of r3190 from trunk to branch 2.0.
URL parameter for template extensions can be used in slideshow.

git-svn-id: http://piwigo.org/svn/branches/2.0@3191 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-12 13:19:22 +00:00
patdenice
776812e507 merge r3169 from trunk to branch 2.0
User's template extension must not be included in admin pages.


git-svn-id: http://piwigo.org/svn/branches/2.0@3170 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-03 22:39:08 +00:00
plegall
a1993b66d1 bug 913 fixed: ability to connect with an IPv6 address was added.
git-svn-id: http://piwigo.org/svn/branches/2.0@3165 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-26 20:09:26 +00:00
rvelices
368059d535 merge 3145-3146 from trunk
Last (I hope) paranoic optims ...
- move get_uysername and get_groupname from public to admin/functions.inc.php
- optim in index.php
- tags.tpl does not need smarty modifier included
- move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page)

git-svn-id: http://piwigo.org/svn/branches/2.0@3147 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-14 02:28:21 +00:00
rvelices
b77b4f0aba merge r3136 from trunk
- moved check upgrade feed code to admin/include/functions_upgrade.php
- refactored some code (shorter and somehow faster - but nothing revolutionary)
- decrease lost space in permalinks.tpl and hard coded column width (was illisible)

git-svn-id: http://piwigo.org/svn/branches/2.0@3137 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-13 13:02:20 +00:00
plegall
9958d87e14 modification: phpwebgallery.net moves to piwigo.org
modification: doc/README_*.txt much simpler with link to piwigo.org for
installation and upgrade guides.

modification: latest_version has changed its path on the website to download
directory.

deletion: doc/ChangeLog was useless and outdated.


git-svn-id: http://piwigo.org/svn/branches/2.0@3132 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-12 23:12:39 +00:00
rvelices
15515695a1 - fix issue on my previous commit
git-svn-id: http://piwigo.org/svn/branches/2.0@3129 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-05 03:10:59 +00:00
rvelices
b019ad9b55 merge r 3126 from trunk
- embellish_url compacts now ..
- some trigger improvements (render_category_description)
- improved perf of duplicate_xxx_url ( rewrote func params_for_duplication and remove some vars from $page )

git-svn-id: http://piwigo.org/svn/branches/2.0@3127 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-05 03:04:27 +00:00
rvelices
a44e905d0b merge r3124 from trunk
- removed triggers loc_index_thumbnail and loc_index_category_thumbnail
- changed triggers loc_end_index_thumbnails and loc_end_index_category_thumbnails from actions to events

git-svn-id: http://piwigo.org/svn/branches/2.0@3125 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-05 02:29:57 +00:00
rvelices
52281b5f44 merge r3122 from trunk
- removed second parameter $type from function format_date

git-svn-id: http://piwigo.org/svn/branches/2.0@3123 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-04 02:42:17 +00:00
rvelices
9428613b2d merge 3120 from trunk
optimizations (php only)
- removed unnecessary call to array_unique in get_image_ids_for_tags
- put back in smarty exec time counting (debug mode) for each included template
- prefix some smarty modifiers with @ in some templates
- do not call format_date (still very slow due to mktime and date even after prev commit) from category_default.inc.php - if used in templates format_date can be used as a smarty modifier

git-svn-id: http://piwigo.org/svn/branches/2.0@3121 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-04 02:33:50 +00:00
rvelices
340563c298 merge r3117 from trunk:
- fix use $page['nb_image_page'] instead of $user... when creating the nav bar (same as category_default)
- rewrote function format_date without regular expressions (faster); parameter date type is not used anymore (but I left it there for now)

git-svn-id: http://piwigo.org/svn/branches/2.0@3118 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-31 01:12:20 +00:00
vdigital
192f33353b Title harmonization in the scope of Piwigo website integration.
$conf['reverse_home_title'] is false by default.
On reverse_home_title = true, only index page will reverse its title.

Compare to prior releases all titles are reversed.


git-svn-id: http://piwigo.org/svn/branches/2.0@3090 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-17 22:13:31 +00:00
plegall
48c1eef07e bug 912 fixed: we need an extra original_sum to pwg.images.add API method to
check photo existence. Using the file_sum was a bad idea.


git-svn-id: http://piwigo.org/svn/branches/2.0@3064 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-08 23:31:49 +00:00
plegall
aeaffa61bd Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/branches/2.0@3046 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:09:15 +00:00
vdigital
d51c92831b - $conf['meta_ref'] is a new configuration parameter (Default true)
Meta tags for description, author, and keywords are generated,
except if meta robots "noindex" is forced (with some pages like search, recent cats, etc.).

In addition, $conf['meta_ref'] = false is forcing "noindex, nofollow".

git-svn-id: http://piwigo.org/svn/branches/2.0@3040 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-03 21:03:46 +00:00
vdigital
75d28ba5c6 - ini_set usage is sometimes prohibited.
git-svn-id: http://piwigo.org/svn/branches/2.0@3023 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-28 14:19:54 +00:00
patdenice
ae19b03367 merge -c3000 from trunk to branch 2.0.
Upgrade Smarty to 2.6.22

git-svn-id: http://piwigo.org/svn/branches/2.0@3001 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-19 18:15:50 +00:00
vdigital
95609895c9 Border removal in mails on thumbnails (2). Need further tests.
git-svn-id: http://piwigo.org/svn/branches/2.0@2994 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-16 22:53:03 +00:00
patdenice
5b3a9696eb merge -c2961 from trunk to branch 2.0.
Update Smarty to 2.6.21

git-svn-id: http://piwigo.org/svn/branches/2.0@2962 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-09 16:12:25 +00:00
patdenice
76181e5a49 merge -c2923 from trunk to branch 2.0.
- Add a "Bound Template" column for template extensions.


git-svn-id: http://piwigo.org/svn/branches/2.0@2924 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-06 02:31:02 +00:00
plegall
f4f4f9724a bug 907 fixed: avoid PHP warning when pwg.images.add adds a photo in a
category that either contains no "ranked" image or when category is empty.


git-svn-id: http://piwigo.org/svn/branches/2.0@2921 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-03 23:27:46 +00:00
plegall
031276b4c2 bug 905 fixed: avoid PHP notice when rank is implicit in the categories
parameter of the pwg.images.add web API method.


git-svn-id: http://piwigo.org/svn/branches/2.0@2918 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-02 23:40:51 +00:00
plegall
fa47fc120b bug 904 fixed: an index.htm is created in directories created by
pwg.images.add web API method, only directories that contains pictures.


git-svn-id: http://piwigo.org/svn/branches/2.0@2916 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-02 23:25:45 +00:00
patdenice
60f2d18f1f merge -c2902 from trunk to branch 2.0.
- Add home and identification buttons after installation.
- Use fetchRemote function for remote site actions.
- Corrections in fetchRemote fnction.
- Move PLUGIN_PICTURE_BEFORE in picture.tpl.

git-svn-id: http://piwigo.org/svn/branches/2.0@2903 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-23 17:25:24 +00:00