Commit graph

356 commits

Author SHA1 Message Date
nikrou
190f7a160a bug fixed: popuhelp (slash)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1249 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 21:14:34 +00:00
nikrou
5ea322041d bug fixed: U_HELP missing
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1241 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 20:39:43 +00:00
nikrou
9252f54fa4 remove slash
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1236 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 20:04:33 +00:00
nikrou
55ea2a8d54 bug fixed: add test on $_POST['list']
problem when clicking on validate-all or remove-all 
and when the list of waiting is empty


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1235 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 19:36:53 +00:00
nikrou
289ae2a469 remove surnumeral slash
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1234 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 19:33:58 +00:00
rub
41fdb7095b Issue ID 0000342:
o Improved NBM messages

Merge BSF r1231:1232 into branch-1_6


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1233 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 17:27:22 +00:00
plegall
d766c69272 merge -r990:991 from branch 1.5 to branch 1.6 (bug 196 fixed)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1227 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-20 21:54:56 +00:00
plegall
b11f25eb0b bug 332 fixed: automatic categories sort by name was not the expected one
(first uppercat, after lowercase).


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1224 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-20 21:37:47 +00:00
plegall
599665c2cf bug 339 fixed: crash on metadata synchronization when duplicate keywords.
improvement: tools/metadata.php is nearer of what metadata synchronization
uses (concerning keywords)


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1222 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-20 21:12:45 +00:00
rub
23250ebd85 Issue ID 330/337:
o Fix last bugs
  o Change class "errors" to class "infos"

Merge BSF r1213:1214 into branch-1_6

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1215 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-19 22:16:08 +00:00
plegall
ad171f93f2 improvement: filter fieldset conforms with PWG standards.
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1210 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-19 21:27:39 +00:00
rvelices
1ff16a6cf1 bug 335: tn_ext, has_high and representative_ext are updated during file
synchronization and not metadata synchronization

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1203 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-18 23:45:21 +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
rub
c5fa252615 Issue ID 334:
o Fix problem with field adviser when allow_adiviser is false


Report of svn:1170

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1171 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 20:57:16 +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
nikrou
09e7e7f32f bug fixed: add test on $_POST['list']
problem when clicking on validate-all or remove-all 
and when the list of comments is empty


git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1151 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-12 14:53:38 +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
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
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
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
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
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
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
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
rvelices
0971ce48d2 URL rewriting: capable of fully working with urls without ?
URL rewriting: works with image file instead of image id (change
make_picture_url to generate urls with file name instead of image id)

URL rewriting: completely works with category/best_rated and
picture/best_rated/534 (change 'category.php?' to 'category' in make_index_url
and 'picture.php?' to 'picture' in make_picture_url to see it)

fix: picture category display in upper bar

fix: function rate_picture variables and use of the new user type

fix: caddie icon appears now on category page

fix: admin element_set sql query was using storage_category_id column
(column has moved to #image_categories)

fix: replaced some old $_GET[xxx] with $page[xxx]

fix: pictures have metadata url (use ? parameter - might change later)

git-svn-id: http://piwigo.org/svn/trunk@1092 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-22 01:01:47 +00:00
rub
3609c224c7 [NBM] Step 3: Layout Model
o Rename mailtousers.php on notification_by_mail.php
  o Deactivate temporary function on notification_by_mail.php
  o First design layout, no function activated, it's only a model


git-svn-id: http://piwigo.org/svn/trunk@1091 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-21 22:58:59 +00:00
rvelices
e584310d3a URL rewriting: fix some old links, calendar simplification and prepare code
for urls without ? (added functions get_root_url and add_url_param)

git-svn-id: http://piwigo.org/svn/trunk@1090 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-21 01:27:21 +00:00
rub
62b589964a Step 8 improvement issue 0000301:
o Add $conf['allow_adviser']


git-svn-id: http://piwigo.org/svn/trunk@1087 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-17 17:59:59 +00:00
rub
9b521760af Step 7 improvement issue 0000301:
o can attribute status <= current user
  o define mode adviser 
    => buttons disabled (gray on IE, not on FF)
    => truncated actions
    => display info mode adviser

git-svn-id: http://piwigo.org/svn/trunk@1085 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-16 22:58:16 +00:00
plegall
5980db248a bug fixed: create_navigation_bar take into account clean URL if requested.
deletion: argument link_class (HTML class of links) in function
create_navigation_bar was removed, useless since branch 1.5.

bug fixed: rate_items are now a configuration parameter (set in config file)

modification: new functions library functions_rate.inc.php to reduce
picture.php length.

bug fixed: categories were never expanded in the menu since clean URLs.

bug fixed: changing pictures sorting order in main page was always
rederecting to root category.


git-svn-id: http://piwigo.org/svn/trunk@1084 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-16 22:34:45 +00:00
plegall
114ae32445 new: cleaner URL. Instead of category.php?cat=search&search=123&start=42,
you now have category.php?/search/123/start-42. Functions make_index_url and
make_picture_url build these new URLs. Functions duplicate_picture_url and
duplicate_index_url provide shortcuts to URL creation. The current main page
page is still category.php but this can be modified easily in make_index_url
function. In this first version, no backward compatibility. Calendar
definition in URL must be discussed with rvelices.

improvement: picture.php redesigned. First actions like "set as
representative" or "delete a comment" which all lead to a redirection. Then
the page (the big mess) and includes of new sub pages to manage specific
parts of the page (metadata, user comments, rates).

new: with the cleaner URL comes a new terminology. $page['cat'] doesn't
exist anymore. $page['section'] is among 'categories', 'tags' (TODO),
'list', 'most_seen'... And sub parameters are set : $page['category'] if
$page['section'] is "categories". See URL analyse in
include/section_init.inc.php for details.


git-svn-id: http://piwigo.org/svn/trunk@1082 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-15 22:44:35 +00:00
rvelices
1d22950cf6 fix: help button was not working in the site manager
fix: incorrect session deletion in maintenance.php

git-svn-id: http://piwigo.org/svn/trunk@1080 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-14 23:52:47 +00:00
rub
77aa54a32b Step 2 improvement issue 0000127:
o Allow to chage high property on user list
  o Set initial value for the 2 default users

+ Correction of permissions.png in user list


git-svn-id: http://piwigo.org/svn/trunk@1079 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-14 21:31:31 +00:00
rub
ade00c95c2 Step 4 improvement issue 0000301:
o Correction lock categories and is_admin (functions with parameters now)
  o Cannot use check_status with upgrade.php and upgrade_feed.php => New function check_upgrade use in upgrade*.php (new functionality for upgrade_feed.php)
  o upgrade_feed.php is showed only for administrator user



git-svn-id: http://piwigo.org/svn/trunk@1075 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-10 20:17:18 +00:00
rub
6163dccab3 [NBM] Correction of sub-select query (remark about r1070)
git-svn-id: http://piwigo.org/svn/trunk@1074 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-09 23:03:57 +00:00
rub
15bb94715f Step 3 improvement issue 0000301:
o Remove file isadmin.inc.php (not used yet)


git-svn-id: http://piwigo.org/svn/trunk@1073 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-09 22:48:41 +00:00
rub
31d9ce1604 Step 2 improvement issue 0000301:
o Add and use Functions Check of status
  o Restricted Access for user generic

git-svn-id: http://piwigo.org/svn/trunk@1072 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-09 22:46:28 +00:00
rvelices
316d89a90b bug 255: parameter values in #config limited to 255 chars (value becomes text)
feature 303: page banner moved from combination of gallery_title, 
gallery_description and template to database (simplifies user customization)


git-svn-id: http://piwigo.org/svn/trunk@1071 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-09 01:57:13 +00:00
rub
b263f0c996 Step 1 improvement issue 0000301:
o Change status of table #_user_infos
  o Don't send password to webmaster, guest, generic

Next Step:
  o Functions Check of status
  o Restricted Access for user generic

git-svn-id: http://piwigo.org/svn/trunk@1070 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-08 23:14:53 +00:00
rvelices
1e7c9034de bug fix: call to undefined session_create in register.php (added function
log_user called from identification and register)

bug fix: empty line at the beginning of functions.php disallowed cookies 
(and hence logging in)

git-svn-id: http://piwigo.org/svn/trunk@1068 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-07 01:20:02 +00:00
plegall
53d78c95b0 request 302: order categories alphanumerically
alphanumerically sort of language keys in admin.lang.php


git-svn-id: http://piwigo.org/svn/trunk@1066 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-06 23:28:51 +00:00