Commit Graph

880 Commits

Author SHA1 Message Date
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
plegall 06c226eaf7 bug 329 fixed: it is now possible to have an empty prefix for database
tables.

improvement: various little code improvement, useless code removed, constant
for default tables prefix.


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1146 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-11 19:47:40 +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
nikrou b3c2da5ef3 bug fixed: script type missing (text/javascript)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1142 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-09 14:39:04 +00:00
rub 9fe82e1346 Issue ID 310:
o Fix css file order 
  o Add example

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1141 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-09 13:57:51 +00:00
rub 5f59abd737 Issue ID 310:
o Fix css file order 
  o Add example

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1140 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-09 13:48:24 +00:00
rub 3060a7ac59 Issue ID 310:
o Fix css file order 
  o Add example

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1139 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-09 13:47:46 +00:00
chrisaga 9a0ee986fd - merge trunc r1135:1136 into branch 1.6
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1137 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-09 12:21:18 +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 4ff4a32586 branch 1.6 creation, from trunk
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1133 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-06 20:32:48 +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
plegall e59772b8df bug fixed: replace obsolet tn_width and tn_height language keys by their new
equivalent.

improvement: HTML properties forms rewritten to offer labelled Yes/No click
on checkboxes.

improvement: onblur onfocus attribute used on every HTML properties form.


git-svn-id: http://piwigo.org/svn/trunk@1129 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-05 21:01:05 +00:00
plegall 969ebbf4f1 improvement: on picture.php, show title calculated in
include/section_init.inc.php instead of nothing.


git-svn-id: http://piwigo.org/svn/trunk@1128 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-05 20:55:26 +00:00
plegall cf5f9f4eb6 typo fixed: forgotten a "$" on $tags_of array when calling set_tags_of.
modification: "." and ";" are also supported as IPTC keywords separator.


git-svn-id: http://piwigo.org/svn/trunk@1127 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-05 18:02:10 +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 db80e86df1 improvement: in categories management, the category name is linked to
sub-categories management.


git-svn-id: http://piwigo.org/svn/trunk@1124 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-04 23:08:54 +00:00
plegall 8dfa85f0fd bug fixed: about.php was not starting with get_root_url()
git-svn-id: http://piwigo.org/svn/trunk@1123 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-04 23:08:08 +00:00
plegall bc6358dfc2 bug fixed: I had forgotten to re-add storage_category_id in the list of
fields to insert in #images. To avoid future mistakes, I extract
automatically all keys of the first array to insert.


git-svn-id: http://piwigo.org/svn/trunk@1122 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-04 23:07:40 +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
rub 68ed2ea617 [NBM] Step 8: Change info plain-text to html-text (pwg designed)
git-svn-id: http://piwigo.org/svn/trunk@1118 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-01 09:42:55 +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
rub 12df580f50 [NBM] Step 6: Undo svn:1114 (Lost functionalities)
Re-adapt idea of svn:1114 and optimize treatment:
  o check/uncheck all completely done by Javascript
  o add function get_user_notifications
  o reduce queries for not detailed content mail



git-svn-id: http://piwigo.org/svn/trunk@1115 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-30 22:49:49 +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
rub 39c2bfb3b1 Improvement issue 0000319:
Add new item on page administration/maintenance.
This item allow to repair and optimize database

Functionality tested with MySQL 4.1.9.
Please to report problem with previous version of MySql

git-svn-id: http://piwigo.org/svn/trunk@1111 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-28 21:05:12 +00:00
rvelices 3a6aac1e57 url rewrite: add category.php for url backward compatibility
git-svn-id: http://piwigo.org/svn/trunk@1110 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-28 02:29:13 +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 2ea96d5a96 URL rewrite: rename category.php to index.php (commit required before svn move)
git-svn-id: http://piwigo.org/svn/trunk@1108 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-28 01:37:14 +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
nikrou 1b1400c3c8 Correction: invalid html
git-svn-id: http://piwigo.org/svn/trunk@1104 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-26 17:57:03 +00:00
nikrou 4fca49194f small corrections:
- bug 312 partially fixed
- bug 295 fixed


git-svn-id: http://piwigo.org/svn/trunk@1103 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-26 14:17:15 +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
nikrou 587974e54f mistake: double input tag
git-svn-id: http://piwigo.org/svn/trunk@1101 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-25 13:21:59 +00:00
nikrou 3cc303281f profile.tpl: small correction
Identification.tpl: accessibility improvement using tabindex


git-svn-id: http://piwigo.org/svn/trunk@1100 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-25 12:57:30 +00:00
nikrou 56039d0e7b Small corrections
git-svn-id: http://piwigo.org/svn/trunk@1099 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-25 12:47:49 +00:00
chrisaga 64da75a293 -new : add a 'CLASS' element in 'thumbnails.line.thumbnail' array to store a different classname for
category thumbnails and element thubnails in order to be able to display them differently.

git-svn-id: http://piwigo.org/svn/trunk@1098 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-25 12:40:24 +00:00
chrisaga ce58f0df22 fix : add a bottom margin below the calendar (still doesn't work with IE)
git-svn-id: http://piwigo.org/svn/trunk@1097 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-24 21:36:08 +00:00
chrisaga ac31189d73 fix : menu titles (<DT>) and <H2> must match
git-svn-id: http://piwigo.org/svn/trunk@1096 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-23 07:15:07 +00:00
rvelices 3d74b8cd02 small correction from previous commit
git-svn-id: http://piwigo.org/svn/trunk@1095 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-23 02:00:29 +00:00
rvelices 5c7d655005 URL rewrite: 3 options in the config file define behaviour (question mark
removal, file name for picture and .php extension removal)

fix: added unsigned for column in install sql - for the sake of uniformization

change: add_url_param is now add_url_params and takes an array as parameter 
instead of a string

git-svn-id: http://piwigo.org/svn/trunk@1094 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-23 01:49:04 +00:00
chrisaga 4cb765e783 fix : HTML 4.01 compliance
git-svn-id: http://piwigo.org/svn/trunk@1093 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-22 07:33:10 +00:00