Commit Graph

360 Commits

Author SHA1 Message Date
rvelices
1df6aa874f fix: URLs not working with some ISPs that set _SERVER['PATH_INFO'] in a
non standard way

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1305 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-09 00:29:07 +00:00
rub
b1c336f7bc Issue ID 0000371:
o Sorry but reverse r1299/1300

Issue ID 0000356:
  o Add new html properties tags on adviser mode

Merge BSF r1302:1303 into branch-1_6

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1304 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-07 22:59:14 +00:00
nikrou
ef31203f48 html bug fixed: the sentence "mod adviser enabled" must be add in the page!
svn merge -r1298:1299 from trunk


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1300 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-05 20:09:51 +00:00
nikrou
8d4cda5620 bug 331 fixed: html generated contains the code in header.tpl twice
when we use the function redirect


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1297 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-03 17:22:15 +00:00
chrisaga
84326ab944 - merge trunk r1289:1290 into branch 1.6 (bug 358 fixed)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1291 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-29 10:36:49 +00:00
rvelices
e827e05429 bug 349: Nicer display messages instead of "die" when urls cannot be
solved (also set 404 status code for bots)

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1287 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-28 05:11:46 +00:00
rvelices
1cc593f760 bug 359: transform rating html A links to FORM because some bots rate
pictures (even if rel="nofollow" is set)

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1285 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-28 04:37:28 +00:00
plegall
46900fece3 bug 228 fixed one more time ;-): use boolean_to_string on
$conf['newuser_default_enabled_high'] during user infos creation. Useless
use of boolean_to_string on $conf['newcat_default_status'] was removed.

modification: loading configuration parameter from database was moved to a
dedicated function to be called from include/common.inc.php and from
install.php.

improvement: use of clean insert function during install.

bug fixed: during user information creation, support new status
webmaster/normal/guest instead of admin/guest.

bug fixed: during install, no need to insert obsolete mail_webmaster
configuration parameter.


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1282 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-27 21:05:07 +00:00
plegall
8b493b7ae7 bug 228 fixed: use boolean value instead of strings for configuration
parameteres newcat_default_*.


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1277 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-26 21:07:01 +00:00
chrisaga
e44b7975eb remove : useless code (related to bug 351)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1275 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-26 05:58:47 +00:00
rvelices
99fde2849d reduced the horizontal spacing between tags on the search page
when clicking today on search page, the page is not scrolled to top

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1273 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-26 01:55:55 +00:00
chrisaga
c66b0cf1c5 bug 351 fixed : htmlentities() on comments
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1271 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-25 20:36:56 +00:00
chrisaga
79accc0355 - bug 350 fixed : must not use htmlentities() on category comment
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1269 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-25 19:47:04 +00:00
chrisaga
854df586db - merge trunk r1258:1259 into branch 1.6 (htmlentities())
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1260 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-22 15:27:13 +00:00
rvelices
01f06a878f bugs 344 and 308: broken user id in $_SESSION due to php.ini register_globals
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1230 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 02:10:45 +00:00
rvelices
d637dbbe1d bug 345: cannot browse categories (Club Internet modified web server provides
PATH_INFO even if it is empty)

fix 339: also added in create_listing_file.php

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1228 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 00:03:46 +00:00
rvelices
5f3dddac9c bug 340: ini_set disabled to Club Internet ISP + 1 error text message
fix: display issue with IE6 on admin rating (table from 100% to 99%)

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1216 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-20 02:54:28 +00:00
chrisaga
4c4faad39c - merge trunc r1200:1201 into branch 1.6 (HTML validation)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1202 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-18 22:57:57 +00:00
nikrou
c7d102d838 bug 308: improve correction
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1191 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-17 15:09:57 +00:00
chrisaga
0833feaf86 - merge trunc r1178:1182 into branch 1.6 (template fixes)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1183 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-15 10:20:45 +00:00
rub
a8c0ca9449 Issue ID 330:
o Remove "background treatment"
  o Add button "Continue treatment"


Report of svn:1177 (BSF Branch)

Warning: functions.inc.php is not the same of BSF/trunk branch (die_on_sql_error)


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1178 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 23:25:48 +00:00
rvelices
5971c5c995 fix: sessions
css 3px image border goes from both clear and dark to image.css

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1175 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 22:14:53 +00:00
plegall
afa5ab27a5 new: upgrade script from release 1.5.0
improvement: ability to turn off dying on SQL queries failure. Could be
useful for upgrades.


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1174 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 21:25:49 +00:00
rub
4e8f0f583f Issue ID 326:
o Fix none translations "pictures"
  o Fix display 0 pictures

Report of svn:1172

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1173 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 21:12:26 +00:00
chrisaga
2d185bf149 - merge trunc r1167:1168 into branch 1.6
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1169 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 18:22:19 +00:00
nikrou
396ce7de17 -bug 308 fixed: svn merge -r1163:1164 from trunk
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1165 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 09:51:45 +00:00
rvelices
f7534a24ce fix: calendar prev/next links not working properly when 'any' (All/Tout)
was selected

fix: calendar 'any' (All/Tout) not shown on for the day selection
(last calendar level) - it was meaningless

fix: calendar image ordering is by date descending for large periods (no year
selected) or ascending for small periods (week,month...)

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1162 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 01:41:50 +00:00
rub
48a8c24fa5 Issue ID 330:
o Remove Apache functions
  o Show redirect message on 2 lines


Report of svn:1160

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1161 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-13 22:28:26 +00:00
rub
53e48e7675 Issue ID 330:
o Change NBM configuration in order to avoid lose treatment action when occurred timeout
  o Add news redirect/repost functions

Reports of svn:1156

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1157 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-12 22:56:55 +00:00
rub
868ff17cf6 Issue ID 328:
o Fix raw text mail

Report of svn:1148

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1149 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-11 20:07:48 +00:00
rvelices
a314099989 fix: iptc keywords are split the same way for local and remote sites
(create_listing_file)

fix: recent_cats and category_subcats build the url the same way
(both subcatify and normal)

fix: recent_cats subcatify also strip tags on subcategory comment

fix: cookie deletion on logout uses cookie_domain from ini file

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1144 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-11 03:54:42 +00:00
rvelices
1fea7ef82a fix: sql query on tags when there are no images
fix: cat_name was not passed to make_index_url in category_subcats.inc.php 
(subcatify was working)

improvement: added some rel="nofollow"

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1134 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-08 19:40:12 +00:00
plegall
a892e6abf9 modification: "subcatify" becomes optionnal. Enabled by default, easy to
revert to previous display.


git-svn-id: http://piwigo.org/svn/trunk@1132 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-06 20:28:37 +00:00
rvelices
d700a59172 improvement: urls for tags can contain now only the tag or the id and tag
improvement: urls for category can be now id and category names (instead
of only id)

improvement: added 2 indexes (#image_tag.tag_id and #tags.url_name)

improvement: identification, register, search pages automatically set focus
on first form input

improvement: focus, nofocus css class now valid for all forms

fix: category comment is tag stripped in category_subcats.inc.php
(otherwise issues with html/scripts inside category comment)

git-svn-id: http://piwigo.org/svn/trunk@1131 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-06 02:23:54 +00:00
plegall
b9a37cd6f0 new: MOD subcatify integrated. On main page, thumbnails representing a
category are not displayed the same way as thumbnails representing a
picture. Feedback welcomed on this feature.


git-svn-id: http://piwigo.org/svn/trunk@1130 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-05 23:08:37 +00:00
rvelices
3f17257804 fix: picture iptc metadata not showing due to url rewriting
git-svn-id: http://piwigo.org/svn/trunk@1126 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-05 02:18:27 +00:00
rvelices
bdceff32bc image sort order for tags
very minor code and language simplifications and corrections

git-svn-id: http://piwigo.org/svn/trunk@1125 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-05 02:01:36 +00:00
plegall
d8c15ddf65 feature deleted: code for categories link was too complicated for such a
simple fature. Replaced by static association. Links are not persistent
anymore.

modification removed: #image_category.is_storage replaced by
#images.storage_category_id as in branche 1.5..


git-svn-id: http://piwigo.org/svn/trunk@1121 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-04 22:29:35 +00:00
rvelices
f33fdc91b2 fix: sql query erros when: no items for the selected tag, search returns
no result, caddie is empty

fix: tag cloud was showing least used tags

fix: strip html tags from head/title element on the page
(tag index page title contained <a>...)

improvement: added 5 tag levels in css for "ready to use" tags

fix: corrected png icon calendar_created.png for IE

fix: english language for nbm

git-svn-id: http://piwigo.org/svn/trunk@1120 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-04 00:35:12 +00:00
plegall
42abf4c576 improvement: tags replace keywords. Better data model, less
limitations. Each image can be associated to as many tag as needed. Tags can
contain non ASCII characters. Oriented navigation with tags by association.


git-svn-id: http://piwigo.org/svn/trunk@1119 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-02 22:26:19 +00:00
rvelices
7b4a6232ca fix: allow adviser message was not allowing cookies to be sent
fix: cookie deletion on logout uses ini_get (on some systems
ini_set(cookie_path) is ignored)

bug 322: locked category is visible to all the users/groups that have been
assigned the permissions

git-svn-id: http://piwigo.org/svn/trunk@1117 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-01 01:24:21 +00:00
rub
324f3c4279 [NBM] Step 7: Add functionalities subscribe/unsubscribe:
o reduce length of check_key
  o fix bugs
  o send mail on subscribe/unsubscribe
  o add and used $conf parameters
  o review keyword of languages
  o improve selection/check
  o can subscribe/unsubscribe with a link include on mail
  o fix bug mass_update collate




git-svn-id: http://piwigo.org/svn/trunk@1116 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-01 01:14:57 +00:00
rvelices
27cc75cade NBM: check/uncheck all completely done by Javascript
NBM: add function make_index_absolute_url

NBM: add function get_user_notifications and simplified code

git-svn-id: http://piwigo.org/svn/trunk@1114 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-30 02:08:53 +00:00
rvelices
4d322701de fix: image_order cookie path fixed for url rewriting
improve: add function access_denied called when check_status or
check_restrictions fail

fix: french language correction

fix: remove php warnings in clean_iptc_value

split search functions into include/functions_search.inc.php

git-svn-id: http://piwigo.org/svn/trunk@1113 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-30 00:37:07 +00:00
rub
a2dd39df73 [NBM] Step 5: Change notification queries in order to try to optimize treatment duration.
git-svn-id: http://piwigo.org/svn/trunk@1112 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-28 22:33:29 +00:00
rvelices
8b3328e7ed moved category.php to index.php
split url functions from functions.inc.php to functions_url.inc.php

git-svn-id: http://piwigo.org/svn/trunk@1109 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-28 02:16:34 +00:00
rvelices
7690f9bb8b fix: php 5 errors and warnings
improve: put back update remote site from local listing.xml functionality
(allow_url_fopen is false on several ISPs)

git-svn-id: http://piwigo.org/svn/trunk@1107 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-28 01:26:37 +00:00
rub
51a4de797c improvement issue 0000127&0000301:
o Fix Missing Adviser tests
  o Improve pwg_high , set to is_the_guest default value for enabled_high


git-svn-id: http://piwigo.org/svn/trunk@1106 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-27 21:19:31 +00:00
rub
d63d25a61d [NBM] Step 4: Screen NBM is available
o Add news parameters
  o Add file functions_notification_by_mail.inc.php in order to use in future, these functions on php file of subscribe/unsubscribe
  o Write a little html help file

+ improve mass_update in order to used binary fields (used collate and SHOW COLUMNS FROM)
 


git-svn-id: http://piwigo.org/svn/trunk@1105 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-26 22:06:20 +00:00
chrisaga
d2ac744489 -improvement : function l10n renamed raw_l10n, new function l10n uses raw_l10n and returns a string with
all html entities transcoded. We should use l10n everywere instead of $lang['...']

git-svn-id: http://piwigo.org/svn/trunk@1102 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-25 17:29:03 +00:00