Commit graph

849 commits

Author SHA1 Message Date
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
patdenice
a1e6ae0f15 merge -c2900 from trunk to branch 2.0.
- Bug fixed: username or password with accented character are now accepted for upgrade.
- Simplify query in  pwg_session_write function.
- Retrieve data with cURL method in fetchRemote function now work with forwarded URL.

git-svn-id: http://piwigo.org/svn/branches/2.0@2901 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-22 23:34:58 +00:00
patdenice
70e5f51d00 merge -c2884 from trunk to branch 2.0.
- Replace some mysql_query by pwg_query function.
- Add home button after upgrade.php.
- Add utf8 charset for access denied message.
- Replace some #content by .content in css files.
- Fix menubar blocks borders with IE.

git-svn-id: http://piwigo.org/svn/branches/2.0@2885 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19 15:46:49 +00:00
grum
a3f21b4051 Add a new config value 'show_php_error' to allow debugging of RC to be easier.
See topic #99192 on the forum.

git-svn-id: http://piwigo.org/svn/branches/2.0@2858 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-10 10:12:20 +00:00
rub
afe30fc962 Resolved issue 0000900: format_date function doesn't work when time is omitted with 'mysql_datetime' type
Continue correction of grum


merge -c2856 from trunk to branch 2.0
The exact copy of commit log in 2856.


git-svn-id: http://piwigo.org/svn/branches/2.0@2857 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-09 21:49:46 +00:00
grum
4ecb7f0e25 Two fields in the database [image table] are in the 'yyyy-mm-dd' format
[date_metadata_update & date_creation] and for these fields the format_date
function is called with a 'mysql_datetime' format value (so, the function is
waiting for 'yyyy-mm-dd hh:mm:ss' date format)
Made a call with the 'us' to resolve the problem

git-svn-id: http://piwigo.org/svn/branches/2.0@2850 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-09 14:26:39 +00:00
plegall
e88cc0f6a5 bug fixed: in r2774 a bug was introduced, piwigo.org is not available yet,
and plugin manager can't connect to the extension manager.


git-svn-id: http://piwigo.org/svn/branches/2.0@2848 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-08 20:37:31 +00:00
vdigital
ee8b8bb9cc New: Extend of available fields within a category page for a template-extension simple usage.
Refer to topic: "Smoothgallery plugin" where no plugin is requested to do it.

git-svn-id: http://piwigo.org/svn/branches/2.0@2840 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-07 18:48:38 +00:00
rvelices
43b7a7e872 - removed some unused constants from constants.php
- removed some unused css rules
- removed unused code

git-svn-id: http://piwigo.org/svn/branches/2.0@2823 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-04 01:46:17 +00:00
grum
059a02f5a7 menu item "quicksearch" will be displayed only if a $block->data is set (like
other menu items)
use of a boolean value for the "qsearch" $block->data variable
(see topic #98370)

git-svn-id: http://piwigo.org/svn/branches/2.0@2814 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-28 21:19:25 +00:00
vdigital
1523ece688 Advices [19] $conf['subcatify'] replaced by $conf['tags_default_display_mode']
Translation is needed for German, Spanish, Italian...
Please reorder after translation.



git-svn-id: http://piwigo.org/svn/branches/2.0@2802 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-24 18:59:02 +00:00
rvelices
1c1a18ccba - some german language changes
- added option for smarty $conf['template_compile_check'] - default true; if false smarty doesn't check if templates need recompilation resulting in less disk accesses (good when the disk is not local)
- load_language doesnt check first for en_uk.utf-8 directory ...

git-svn-id: http://piwigo.org/svn/branches/2.0@2789 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-22 01:34:45 +00:00
plegall
39eb742c25 bug 897 fixed: controls added in pwg.images.add to have clear error messages
if permission is denied or any error occur during file write.


git-svn-id: http://piwigo.org/svn/branches/2.0@2785 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-20 21:04:17 +00:00
vdigital
a007e95096 Delfault template and Piwigo domain ...
git-svn-id: http://piwigo.org/svn/branches/2.0@2774 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-19 15:29:08 +00:00
rvelices
9652b322cb - php optims (small): remove/replace preg_xxx with faster simple string functions ...
git-svn-id: http://piwigo.org/svn/branches/2.0@2772 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-18 01:07:13 +00:00
rvelices
79d51b19c1 - added an image sort order by privacy level (admins only)
- fix an IE6 display issue with quick search on index page

git-svn-id: http://piwigo.org/svn/branches/2.0@2769 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-18 00:43:34 +00:00
rvelices
93313d760c - mysql potential injection paranoia + code compaction in common.inc.php
git-svn-id: http://piwigo.org/svn/branches/2.0@2765 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-17 01:06:00 +00:00
rvelices
f7f8c1688e - security paranoia: protect session/remember me cookies from XSS attacks (works only if php>=5.2 and with IE/FF maybe others)
git-svn-id: http://piwigo.org/svn/branches/2.0@2756 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-16 00:35:30 +00:00
patdenice
3e49cf5f56 Merge from trunk 2752:
- change mysql_escape_string function (deprecated) by mysql_real_escape_string.
- Correction on install.tpl (link color).

git-svn-id: http://piwigo.org/svn/branches/2.0@2753 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-15 20:58:36 +00:00
patdenice
5ce101c193 Merge from trunk 2747:
- Install process now looks like goto/roma.
- Move install.tpl to goto template.
- add charset utf8 to fatal error function.
- Check php version on install and upgrade, and die if < 5. 


git-svn-id: http://piwigo.org/svn/branches/2.0@2748 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-15 17:55:18 +00:00
plegall
720d6134bd version management: the Piwigo version changes to 2.0 instead of Butterfly
which was its codename on trunk.


git-svn-id: http://piwigo.org/svn/branches/2.0@2724 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-12 18:46:06 +00:00