Commit graph

71 commits

Author SHA1 Message Date
plegall
e624f27b5f - bug 163 fixed: link error when cookies disabled in admin/stats
git-svn-id: http://piwigo.org/svn/trunk@877 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-25 20:50: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
4c949342ec - bug 162 fixed: division by zero when trying to view "all" items in
admin/element_set_(global|unit)


git-svn-id: http://piwigo.org/svn/trunk@875 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-24 19:05:55 +00:00
plegall
d53bea8e7d - bug 151 fixed: default maxheight was not proposed as "set to" option in
admin/user_list


git-svn-id: http://piwigo.org/svn/trunk@874 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-21 20:16:54 +00:00
plegall
0069768362 - bug 150 fixed: in category permissions management, wrong column name when
using an external users table.


git-svn-id: http://piwigo.org/svn/trunk@873 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-21 20:11:45 +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
541c302c40 - bug 111 fixed: "Can't add virtual category when cookie
disabled". Correction reported from branch 1.4.

- bug 109 fixed : "disabled "best rated" menu item when rating is not
  enabled". Correction reported from branch 1.4.

- bug 95 fixed : "default maxwidth and maxheight not registered". Correction
  reported from branch 1.4.


git-svn-id: http://piwigo.org/svn/trunk@869 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-18 22:29:17 +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
f7b777c90a - new: automatic new password sent by mail when requested by user
git-svn-id: http://piwigo.org/svn/trunk@866 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-18 00:29:49 +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
518569483b - new: the number of elements waiting for validation is notified in RSS
feed.


git-svn-id: http://piwigo.org/svn/trunk@864 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-17 21:14:28 +00:00
plegall
8a525d57ba - translation: common and admin strings translated in french from english
files


git-svn-id: http://piwigo.org/svn/trunk@863 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-17 21:11:40 +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
eac1724ee5 - bug fixed : no display of first added element date in admin/intro if no
element in the gallery.


git-svn-id: http://piwigo.org/svn/trunk@861 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-03 21:20:24 +00:00
plegall
9c6f769b94 - new : template yoga, made by yoDan, helped by chrisaga for integration
becomes the official template.


git-svn-id: http://piwigo.org/svn/trunk@859 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-03 20:01:14 +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
b08df04688 - modification : adaptation of template variables and blocks in comments
page to display comment by comment instead of picture by picture.

- [template cclear] comments.tpl copied and adapted from template
  default. Return to home new icon. As asked by chrisaga, special id
  #commentsPage in comments.tpl to set the #content margin-left to 0 (since
  no #menubar to display).

- [template cclear] FORM.filter rules taken from template default (these
  rules have been written some time ago by yoDan.

- [template cclear] bug fixed on #theImage : display:block must be used only
  on IMG and not on the P>A (yes, in BSF you can have HTML in picture and
  categories descriptions)


git-svn-id: http://piwigo.org/svn/trunk@848 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-21 21:23:17 +00:00
plegall
4f261af707 - improvement : dedicated page for user comments validation/reject in
administration. (screen is not shared with public part of the
  gallery). Ability to validate all or reject all in one clic.


git-svn-id: http://piwigo.org/svn/trunk@839 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-20 01:52:29 +00:00
plegall
dded962ded - improvement : less compact presentation of screen admin/element_set_unit.
git-svn-id: http://piwigo.org/svn/trunk@836 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-19 19:07:13 +00:00
plegall
939c01e410 - improvement : standardization of categories navigation bar on top of
administration screen element_set_(global|unit), cat_modify, cat_list,
  cat_perm.

- new : direct link to admin/cat_modify from category.php.


git-svn-id: http://piwigo.org/svn/trunk@834 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-19 17:00:20 +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
3cf427b4d6 - improvement : in admin/user_perm, already authorized categories thanks to
group associations are displayed and not taken into account for user
  specific permissions.


git-svn-id: http://piwigo.org/svn/trunk@818 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-17 15:25:32 +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
5840251d55 - modification : admin/group_list screen completely rewrite to present the
list of existing groups and a form to add a new group. Here you can delete
  a group, go to permissions management for a group, go to member list of a
  group (on admin/user_list with a filter on group).

- modification : admin/user_perm and admin/group_perm are not directly
  reachable by the admin menu anymore. Only the user/group list lets you
  reach user/group permissions management screen.


git-svn-id: http://piwigo.org/svn/trunk@815 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-16 15:19:40 +00:00
plegall
149edc131d - new : introduction page to administration section. This page gives
informations about PhpWebGallery version, PHP version, MySQL version,
  gallery database informations (number of categories, elements, users,
  comments). Ability to request phpwebgallery.net for upgrade.

- deletion : of obsolete admin/admin_phpinfo.php page replaced by a link in
  introduction page.


git-svn-id: http://piwigo.org/svn/trunk@814 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-15 22:01:00 +00:00
plegall
3b957eb480 - modification : simplification of HTML/CSS code for double select screen to
manage categories properties (admin/cat_options)

- typo fixed : in menu language key for [admin > categories > representative]


git-svn-id: http://piwigo.org/svn/trunk@812 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-14 18:18:47 +00:00
plegall
c501facfa5 - new : ability to set an element as representant of its category directly
from picture.php screen.

- improvement : dedicated icon to add elements into caddie. Ths icon is
  displayed in the category title bar.


git-svn-id: http://piwigo.org/svn/trunk@811 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-14 11:55:35 +00:00
plegall
194bf3ca48 - wrong date on the last entry
git-svn-id: http://piwigo.org/svn/trunk@810 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-13 23:10:46 +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
8b97a8154e - improvement : in admin/element_set_global, javascript is not used anymore
to select an item with its thumbnail


git-svn-id: http://piwigo.org/svn/trunk@806 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-07-17 15:13:25 +00:00
plegall
3643e999a5 - bug fixed : in admin/user_list, if target is "selection" and that no user
is selected, an error occurs


git-svn-id: http://piwigo.org/svn/trunk@805 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-07-17 15:09:24 +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
3f4f655e1e - typo fixed in last ChangeLog entry date
git-svn-id: http://piwigo.org/svn/trunk@802 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-07-16 15:22:16 +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
315f9c5670 - category permissions management comes back! (it disappeared in branch 1.4)
This time, it is designed to support better long users list. On this
  screen, for a particular category, admin can say which groups and users
  are permitted.


git-svn-id: http://piwigo.org/svn/trunk@800 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-30 21:20:06 +00:00
plegall
3e1604f748 - users managment : change display of filter (according to filter on user
comments)


git-svn-id: http://piwigo.org/svn/trunk@799 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-30 21:07:50 +00:00
plegall
b4458ec2db - categories management : new display with icon for actions (delete,
sub-categories, elements, edit, jump to, permissions)

- categories management : semantic HTML layout (using common lists)

- categories management : new way to order categories of the same level : a
  text field let the admin reorder all categories at once.


git-svn-id: http://piwigo.org/svn/trunk@798 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-30 21:00:07 +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
49fb2b6fd3 - comments page rewritten : comments are displayed one by one, with filters
and display options available. The list of comments is paginated.


git-svn-id: http://piwigo.org/svn/trunk@796 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-21 21:08:11 +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
e851f504ac - errors and informations boxes : management centralized in admin.php,
$errors and $infos arrays replaced by $page['errors'] and $page['infos'],
  special management for admin/update.php (more complex management)


git-svn-id: http://piwigo.org/svn/trunk@792 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-11 14:10:04 +00:00