Commit graph

245 commits

Author SHA1 Message Date
plegall
7bdb132ffc bug 246 fixed : GET parameter "search" is not completely checked before
usage in SQL queries. Simple check : if a ";" if found, execution stops.


git-svn-id: http://piwigo.org/svn/branches/branch-1_5@988 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-12-25 22:34:44 +00:00
plegall
b69981c2cd - bug fixed: PHP warning when no categories in menu, because $level was not
initialized in get_html_menu_category function.


git-svn-id: http://piwigo.org/svn/branches/branch-1_5@975 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-12-09 22:53:25 +00:00
chrisaga
c7571979dd svn properties : ignore config_local.inc.php
plus delete useless include/.cvsignore


git-svn-id: http://piwigo.org/svn/branches/branch-1_5@962 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-12-03 17:44:25 +00:00
plegall
db658fcbe1 - bug fixed: UL/LI tags were not correctly closed in category menu tree.
git-svn-id: http://piwigo.org/svn/branches/branch-1_5@940 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-11-18 22:42:35 +00:00
chrisaga
f280ff4b17 bug 206 fixed: PNG thumbnails clipped with IE
- added class="icon" to recent.png (functions_html.inc.php)
	- added class="button" to al png button images (*.tpl)
	- changed pngfix.js to only fix icon or button images
template improvement: category prettier and simpler (a little bit)
	- got rid of one SPAN level
	- content.css more readable


git-svn-id: http://piwigo.org/svn/branches/branch-1_5@939 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-11-17 20:13:36 +00:00
plegall
f5d15d6b12 - Branch 1.5 creation
- modification: on a fix branch, version is not shown, neither generation
  time.


git-svn-id: http://piwigo.org/svn/branches/branch-1_5@928 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-11-08 21:23:20 +00:00
plegall
2ee8bc9efe - bug 186 fixed: useless template theme icons deleted. Remaining icons in
GIF converted to PNG.


git-svn-id: http://piwigo.org/svn/trunk@922 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-11-05 15:16:03 +00:00
plegall
11615fcba6 - bug 173 fixed: due to phpBB user identifiers management, the method to
find the next user identifier has changer to MAX+1.

- improvement: information message when new user added

- bug fixed: language item "Username" used instead of "login".


git-svn-id: http://piwigo.org/svn/trunk@906 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-22 09:53:12 +00:00
chrisaga
56f29767a8 bug 176 fixed: need a javascript to handle transparent PNG background in IE
(tribute to Bob Osola http://homepage.ntlworld.com/bobosola/index.htm

display: fixed another IE childselector bug in Categories Management admin page
	and improved display of this page in all browsers too.


git-svn-id: http://piwigo.org/svn/trunk@905 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-20 19:06:17 +00:00
plegall
0aa1bcc73c - bug 159 and 166 fixed: parameter "options" for mail() function disabled by
default.


git-svn-id: http://piwigo.org/svn/trunk@901 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-18 21:37:08 +00:00
chrisaga
7a37fded51 bug 165 fixed : La largeur par d��faut en PIXELS pas en Kb
git-svn-id: http://piwigo.org/svn/trunk@900 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-18 20:22:51 +00:00
plegall
92d9dddd2b - bug 154 fixed: "Calendar category, too precise dates". Bug came from the
bigger precision of creation_date and available_date in images
  tables. Need to retrieve only the year-month-day information.


git-svn-id: http://piwigo.org/svn/trunk@896 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-17 21:11:19 +00:00
volcom
889b1240cd * new: history details by month,day
git-svn-id: http://piwigo.org/svn/trunk@894 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-17 07:21:30 +00:00
plegall
1f594dc148 - modification: configuration parameters gallery_title and
gallery_description are GUI managed in
  Administration>Configuration>General

- bug fixed: configuration parameters (use|show)_(exif|iptc) and
  authorize_remembering should have been deleted from config table some time
  ago.


git-svn-id: http://piwigo.org/svn/trunk@882 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-07 23:25:42 +00:00
plegall
afec77c0fa - bug 160 fixed: (part one of the bug) hard coded column name of users table
had to be replaced by the configurable column name. This correction was
  made by a full rewrite of filtered users list management. The other bug
  (not submited in bugtracker) that needed this rewrite was that when you
  choose "all" as target for mass users modification, you expected to apply
  modification on filtered users, not all users.

- bug 160 fixed: (part two of the bug) hard coded column name for primary
  key in mass_updates function.

- modification: configuration parameter users_page is now located in the
  correct file (include/config_default.inc.php instead of
  admin/user_list.php)


git-svn-id: http://piwigo.org/svn/trunk@880 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-05 19:41:37 +00:00
plegall
0c0ab6d700 - bug 168 fixed: crash when language file does not exists. Constant
PHPWG_DEFAULT_LANGUAGE added. New function get_language_filepath always
  used to find language files.


git-svn-id: http://piwigo.org/svn/trunk@879 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-27 21:57:14 +00:00
plegall
8f058fcc9b - bug fixed: HTML error on nested UL in categories menu.
- bug 161 fixed: guest_id not taken into account for history table insert.

- bug 164 fixed: category inserted in history table becomes too long if HTML
  tags are kept.


git-svn-id: http://piwigo.org/svn/trunk@876 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-25 18:31:55 +00:00
plegall
1673892026 - update: upgrade from 1.4.0 or 1.4.1. Upgrade from 1.3.x is not available
anymore.

- update: README files updated for very near branch 1.5 :-)

- new: file tools/config_local.inc.php as example for optional
  include/config_local.inc.php

- bug fixed: configuration parameter show_picture_name_on_title was useless


git-svn-id: http://piwigo.org/svn/trunk@870 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-20 22:04:57 +00:00
plegall
b1c5e25b5e - bug 107 fixed: crash when logging visit on a category containing "'"
character. Correction reported from branch 1.4

- bug fixed: in admin/stats, incorrect SQL queries gave no result.


git-svn-id: http://piwigo.org/svn/trunk@868 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-18 21:56:56 +00:00
plegall
2e8a34adc7 - bug 101 fixed: correction reported from branch 1.4
git-svn-id: http://piwigo.org/svn/trunk@867 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-18 21:09:44 +00:00
plegall
60fc8c061a - improvement: add information about how to use an external table for users
- bug fixed: uses user configuration fields for filtering in admin/user_list

- bug fixed: don't try to create feeds automatically during sync_users (when
  line in user_infos is missing)

- bug fixed: create_user_infos function gives status admin if user id
  matches $conf['webmaster_id']


git-svn-id: http://piwigo.org/svn/trunk@865 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-17 22:22:22 +00:00
plegall
3371c75742 - improvement: long localized messages are in HTML files instead of $lang
array. This is the case of admin/help and about pages.

- deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists,
  check_date_format, date_convert, get_category_directories,
  get_used_metadata_list, array_remove, pwg_write_debug,
  get_group_restrictions, get_all_group_restrictions, is_group_allowed,
  style_select, deprecated_getAttribute).

- new: many new contextual help pages to replace descriptions previously
  included in pages.

- modification: reorganisation of language files. Deletion of unused
  language keys, alphabetical sort. No faq.lang.php anymore (replaced by
  help.html). Only done for en_UK.iso-8859-1.


git-svn-id: http://piwigo.org/svn/trunk@862 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-14 21:57:05 +00:00
plegall
7eae759590 - modification : less configuration parameters in administration
screen. These parameters are move to include/config_default.inc.php.

- new : ability to add a single picture to caddie from picture.php

- new : contextual help, only a few pages are available.

- new : ability to delete users from admin/user_list

- modification : reorganization of configuration file

- new : configuration parameter use_exif_mapping

- improvement : MOD hidemail added to standard


git-svn-id: http://piwigo.org/svn/trunk@858 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-03 16:36:05 +00:00
plegall
f01a9f5b7c - new : HTML BODY identifier to let CSS stylesheets manage specific
behaviour.

- deletion : admin/search useless

- improvement : in admin/user_list, special behaviour for true/false fields
  (expand, show_comments)

- new : gallery_title and gallery_description are displayed at the top of
  each page.

- improvement : simplification in HTML for categories menu.

- improvement : standardization of presentation in all public pages
  (identification, registration, search, profile, notification, comments,
  etc.)

(not in ChangeLog, below this line)

- add forgotten notification.php (should have been added in a previous
  commit)

- [template cclear] deletion of useless class .bouton

- [template cclear] for test purpose, new presentation of register page
  (using FORM.filter)

- [template cclear] adaptation of admin/group_list from template default

- [template cclear] deletion of obsolete admin/infos_images

- [template cclear] deletion of obsolete admin/search_username

- [template cclear] new icon register.png


git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-25 22:43:47 +00:00
plegall
429dd2ff62 - deletion : no mail notification anymore. Feature replaced by RSS feed
notification.

- improvement : on waiting pictures management. Ability to validate all or
  reject all in one clic.

- regrouped fields in admin/update


git-svn-id: http://piwigo.org/svn/trunk@849 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-24 22:22:29 +00:00
plegall
ede184cacc - modification : RSS feed work only with a given feed identifier. Thus we
can avoid fixed frequency notification to concentrate on variable
  frequency notification, which is much more interesting. To do this, feeds
  have moved to a dedicated table allowing each user (including guest user)
  to have more than on feed.


git-svn-id: http://piwigo.org/svn/trunk@833 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-19 13:54:40 +00:00
plegall
c8bf225cd4 - bug 133 fixed : (report from branch 1.4) Deleting user favorites is too
restrictive. Instead of deleting a favorite because it belongs to at least
  one forbidden category, a favorite is deletedif it belongs to no
  authorized category (which was the expected behaviour).


git-svn-id: http://piwigo.org/svn/trunk@832 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 21:40:59 +00:00
plegall
5834354491 - bug 133 fixed : "Nb of images incorectly rendered in "tool tip" near
category in category menu". Correction reported (and improved) from branch
  1.4


git-svn-id: http://piwigo.org/svn/trunk@831 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 21:31:21 +00:00
plegall
7a8b502e11 - improvement : screen admin/picture_modify rewritten. Presentation copied
from admin/cat_modify : fieldsets regroup fields. Ability to synchronize
  metadata for the displayed item.

- bug 110 fixed : "return to element view from element edition fails
  depending on permissions". If a reachable (for the connected admin)
  category is available, a "jump to" link is displayed, by default, using
  the category given in URL.

- bug fixed : in mass_updates function, the first item of $fields['update']
  has not always 0 for id (as in any array).

- modification : get_keywords function understands spaces as separator,
  allow less than 3 chars keywords, allow quotes.

- new : ability to allow HTML in picture or category description (false by
  default)


git-svn-id: http://piwigo.org/svn/trunk@825 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 17:59:00 +00:00
plegall
20f0541697 - modification : major simplification of admin.php. Titles are managed by
included page, localized items are managed directly in the template.

- new : sub template admin/double_select is included in templates
  admin/cat_options, admin/user_perm and admin/group_perm. I haven't been
  able to use it in admin/picture_modify because it seems impossible to have
  two instance of the same sub-template without interfering.

- modification : bug 99, in profile manager, no auto submit when changing
  language (useless and generate accessibility problem).

- improvement : HTML semantically correct for administration menu, simpler
  syntax, less tags, correct tags (dl/dt/dd instead of div/div).

- modification : number of waiting elements and unvalidated comments are
  displayed in admin/intro instead of administration menu (with a link to
  the dedicated pages).

- deletion : no link to profile from admin/user_list anymore (no need).


git-svn-id: http://piwigo.org/svn/trunk@817 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-17 14:25:38 +00:00
plegall
1549745402 - new : maintenance screen in administration. There you can update
categories informations (number of images, date of the last added
  element), update images informations (path, average rate), purge obsolete
  sessions, purge history.

- new : ability to have random representative for categories. This
  configuration parameter is set to false by default.

- new : ability to set an element as representative of a category without
  belonging to the category. Thus, administrator can choose representative
  even for empty categories.

- improvement : semantically superior design for category edition screen by
  regrouping fields in fieldsets. The improved screen contains action
  buttons as in category list screen.

- new : ability to move a virtual category (ie change its parent category).

- bug fixed : the sync_users function checks all user children tables
  (access, cache, group association).


git-svn-id: http://piwigo.org/svn/trunk@809 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-13 23:09:54 +00:00
plegall
273884a652 - new : external authentication in another users table. Previous users table
is divided between users (common properties with any web application) and
  user_infos (phpwebgallery specific informations). External table and
  fields can be configured.

- modification : profile.php is not reachable through administration anymore
  (not useful).

- modification : in profile.php, current password is mandatory only if user
  tries to change his password. Username can't be changed.

- deletion : of obsolete functions get_user_restrictions,
  update_user_restrictions, get_user_all_restrictions, is_user_allowed,
  update_user

- modification : $user['forbidden_categories'] equals at least "-1" so that
  category_id NOT IN ($user['forbidden_categories']) can always be used.

- modification : user_forbidden table becomes user_cache so that not only
  restriction informations can be stored in this table.


git-svn-id: http://piwigo.org/svn/trunk@808 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-08 20:52:19 +00:00
plegall
e96510957c - new feature : use Apache authentication. If $conf['apache_authentication']
is set true : if no user matches $_SERVER['REMOTE_USER'] in "users" table,
  PWG automatically creates one. This way, users can customize the behaviour
  of the application.

- template : new organisation of identification menu
  (category.php). Simplification is required for Apache authentication (no
  logout link even if user is externally logged in)

- new : usernames can contain quotes (required because Apache authentication
  authorized quotes in usernames)


git-svn-id: http://piwigo.org/svn/trunk@804 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-07-17 15:06:39 +00:00
plegall
eb189de800 - new configuration parameter : hide thumbnail captions on main page with
$conf['show_thumbnail_caption']

- new configuration parameter : hide picture name in title on picture
  presentation page with $conf['show_picture_name_on_title']

- template : new CSS classes to manage picture.php title


git-svn-id: http://piwigo.org/svn/trunk@803 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-07-17 14:58:42 +00:00
plegall
9bafdff171 - new feature : RSS notification feed. Feed generator is an external tool
(FeedCreator class v1.7.2). New file feed.php

- new database field : comments.validation_date (datetime). This field is
  required for notification feed.

- new database field : users.feed_id (varchar(50)). users.feed_id is an
  alias of users.id but is much more complicated to find (50 characters,
  figures or letters, case sensitive) : the purpose is to keep it secret (as
  far as possible).

- new database field : users.last_feed_check (datetime)

- new database field : users.registration_date (datetime)

- bug fixed : no need to add the (unavailable) session id to install.php in
  the installation form.

- modified database field : images.date_available become more precise (date
  to datetime). This precision is needed for notification feed.

- new index : comments_i1 (validation_date). Might be useful for feed
  queries.

- new index : comments_i2 (image_id). Useful each time you want to have
  informations about an element and its associated comments.

- version 9.11 of mysqldump outputs database field names and table names
  with backquote "`" (didn't find how to take them off)


git-svn-id: http://piwigo.org/svn/trunk@801 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-07-16 14:29:35 +00:00
plegall
3c2b8d230e - new feature : ability to add links on the main page (see
include/config_default.inc.php)


git-svn-id: http://piwigo.org/svn/trunk@797 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-25 17:09:01 +00:00
plegall
cc20eaf128 - bug fixed when a language value contains a simple quote
git-svn-id: http://piwigo.org/svn/trunk@795 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-21 20:39:29 +00:00
plegall
a86321eab5 - direct communication between templates and language items, without needing
a mapping in the PHP code.


git-svn-id: http://piwigo.org/svn/trunk@794 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-21 19:32:17 +00:00
plegall
743efaf112 - new function get_name_from_file to centralize the construction of
displayed name from the filename

- new function l10n which returns the corresponding value from $lang if
  existing. Else, the key is returned. This means that if a language item is
  not translated, the key is displayed instead (better than nothing).


git-svn-id: http://piwigo.org/svn/trunk@793 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-21 19:25:59 +00:00
plegall
6a9e165e32 - user list : links to profile page and permissions page are represented by
icons (more compact)

- user list : ability to associate to a group or to dissociate from a group
  a list of selected users

- user list : ability to set user properties in "batch" mode (a selection of
  users at once)

- user list : alternate background color for each line

- (not in ChangeLog) temporary commented code to update current user
  language if $_POST['language'] is set (see include/user.inc.php for
  details)


git-svn-id: http://piwigo.org/svn/trunk@787 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-05-09 22:34:21 +00:00
plegall
9cfba96167 - user list updated : ability to filter list on status. Function get_enums
comes back to retrieve the list of possible status in the database.


git-svn-id: http://piwigo.org/svn/trunk@777 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-30 14:36:57 +00:00
gweltas
97a3d7af5b Bug 0000101: problem with IE search on keywords
The ";" character is not allowed in a IE url. It has been replaced by a "+" character.


git-svn-id: http://piwigo.org/svn/trunk@773 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-26 11:34:38 +00:00
gweltas
9dc9c553d3 Bug 99 : javascript error in profile.php
Enhancement of the radio class under IE


git-svn-id: http://piwigo.org/svn/trunk@772 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-26 09:46:33 +00:00
plegall
9ea0ae39f8 - include/config.inc.php becomes include/config_default.inc.php : this file
should not be modified. A new file include/config_local.inc.php can be
  used for overwriting configuration parameters


git-svn-id: http://piwigo.org/svn/trunk@770 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-25 22:11:57 +00:00
plegall
a583066702 - come back to previous version of include/constants.php : %PWGVERSION% was
not a mistake


git-svn-id: http://piwigo.org/svn/trunk@769 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-25 21:45:38 +00:00
gweltas
3df4c4c00b - L�g�re modification pour permettre une installation m�me si le fichier mysql.inc.php n'existe pas.
- Introduction des statistiques mensuelles.
- Modification des labels anglais lors de l'installation


git-svn-id: http://piwigo.org/svn/trunk@766 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-25 15:41:56 +00:00
plegall
b63d91c59e - elements batch management : element_set page becomes the frontend to
element_set_global and element_set_unit, infos_images (after a long time
  of use) become deprecated : the more powerful element_set is used
  instead. Consequently, batch management concerns caddie but also "normal
  categories".

- refactoring code in admin.php to include the sub-file (clearer)

- caddie : function fill_caddie replaces the code in category.php and can be
  used in admin/element_set.php

- caddie : caddie table is added in delete_elements function


git-svn-id: http://piwigo.org/svn/trunk@764 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-16 16:56:32 +00:00
plegall
8549bee38a - functions get_day_list and get_month_list moved from search.php to
include/functions.inc.php : these functions are now also used in
  admin/element_set_global.php

- elements batch management improved : ability to set the number of elements
  to display per line, ability to set {author, name, creation date} fields,
  ability to add and remove keywords, ability to take selected elements out
  of caddie


git-svn-id: http://piwigo.org/svn/trunk@762 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-11 20:31:50 +00:00
plegall
fdc5ce0a55 - apply category name and element name separation in calendar special
category

- change method of counting total number of viewable pictures : pictures
  linked to more than one category are not counted twice.


git-svn-id: http://piwigo.org/svn/trunk@761 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-31 21:53:24 +00:00
plegall
26b44267d5 - "add to caddie" link is visible only when categories contains
elements. Only admin users can see this link

- elements batch management : impossible to create a link between category
  and element that already exists

- logical separation of category name under thumbnail and element name


git-svn-id: http://piwigo.org/svn/trunk@760 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-26 22:35:07 +00:00