Commit graph

620 commits

Author SHA1 Message Date
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
chrisaga
4b9bc10cde cclean : fixed some styles in the admin section
git-svn-id: http://piwigo.org/svn/trunk@829 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 20:25:08 +00:00
chrisaga
8f01d75299 cclear :
--------
- admin.tpl : keep structure, get content from default template


git-svn-id: http://piwigo.org/svn/trunk@828 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 19:50:12 +00:00
chrisaga
820478cba9 cclear :
--------
- Added Files (from default template):
- 	double_select.tpl element_set_global.tpl element_set_unit.tpl
- 	intro.tpl maintenance.tpl user_list.tpl


git-svn-id: http://piwigo.org/svn/trunk@827 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 19:34:15 +00:00
chrisaga
b99acc7604 cclear template :
-----------------
- category.tpl : From 1.4 to BSF
- add missing icons in themes, admin/images, (from default template)
- content.css


git-svn-id: http://piwigo.org/svn/trunk@826 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 19:28:29 +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
chrisaga
a7e5dbf37c recreate image files with -kb option
git-svn-id: http://piwigo.org/svn/trunk@824 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 17:06:58 +00:00
chrisaga
b05a006cd6 images created without -kb option
git-svn-id: http://piwigo.org/svn/trunk@823 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 17:03:52 +00:00
chrisaga
cc2b193511 images files created without -kb option
git-svn-id: http://piwigo.org/svn/trunk@822 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 17:02:53 +00:00
chrisaga
97fa38b1d8 image files not created with -kb option
git-svn-id: http://piwigo.org/svn/trunk@821 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 16:57:26 +00:00
chrisaga
2bbc7ba8be Let's begin the new customizable clear template :-)
git-svn-id: http://piwigo.org/svn/trunk@820 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 07:04:05 +00:00
plegall
af3802982b - bug 138 fixed : guest and admin users were not created in the database
because include/config_default.inc.php was not included and that
  USERS_TABLE constant depends on $conf['users_table'].


git-svn-id: http://piwigo.org/svn/trunk@819 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-17 21:03:46 +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
de22732f93 - oups... I forgot to add the template associated to admin/intro added in a
previous commit.


git-svn-id: http://piwigo.org/svn/trunk@816 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-16 15:21:06 +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
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
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
plegall
4fedaac43a - bug 96 (informations given by uploaders are lost) correction reported from
branch 1.4


git-svn-id: http://piwigo.org/svn/trunk@791 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-11 11:29:32 +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
fd2cc0d700 - bug fixed : users belonging to several groups were shown several times
git-svn-id: http://piwigo.org/svn/trunk@786 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-05-06 20:48:52 +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
plegall
5293402be5 - user list updated : ability to filter list on group
git-svn-id: http://piwigo.org/svn/trunk@776 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-28 22:06:20 +00:00
plegall
a32a5a7d36 - DATE() is available only since MySQL 4.1.1, replaced by DAYOFMONTH()
- array_fill function available only with PHP >= 4.2.0, replaced by a for
  loop


git-svn-id: http://piwigo.org/svn/trunk@775 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-26 20:47:16 +00:00
gweltas
3fc8c9824f Bug 0000100: 'info_line' template code splited
git-svn-id: http://piwigo.org/svn/trunk@774 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-26 14:24:08 +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
gweltas
60ed679b36 Bug 0000098: class "radio" sur les input de type "radio"
git-svn-id: http://piwigo.org/svn/trunk@771 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-26 08:10:23 +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
plegall
bd6d2d0a21 - profile.php is no longer used for listing users : admin/user_list.php
comes back (as in 1.3 branch)

- user list updated : ability to filter list on username


git-svn-id: http://piwigo.org/svn/trunk@768 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-25 21:35:10 +00:00