Commit graph

738 commits

Author SHA1 Message Date
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
0a4b49abd8 - new way to display picture informations (template variables instead of
template generic blocks)

- new color for A:hover and its solid border-bottom, dotted border-bottom
  for A (same color as link color)

- background color and border color for form input fields (input, select,
  textarea) to accentuate contrast with page background.

- clear:both on #imageHeaderBar H1 let it be center on page

- in infoTable keys are right aligned and values are left aligned (more
  beautiful, isn't it?)

- add "set as representative" button to cclear template in
  picture.tpl. representative.png picture taken from Gorilla theme.

- invisible horizontal rule on picture.tpl to separate user comments from
  the beginning of the page


git-svn-id: http://piwigo.org/svn/trunk@847 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-21 11:32:12 +00:00
chrisaga
a810d800c6 fix missing </ul>
Now it validates against HTML 4.01 strict


git-svn-id: http://piwigo.org/svn/trunk@846 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-21 11:06:51 +00:00
chrisaga
fcd667ac80 The best thumbnail pseudo table I can do for now
It's div based and informations are in a list
The hack is to fix height for Geko only
Opera 7 doesn't display very well


git-svn-id: http://piwigo.org/svn/trunk@845 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-21 11:01:53 +00:00
yodan
b09f16ed7d Cleared rules for DIV#the_page, and provided a explanation: this DIV exists
"just in case another template needs an inner frame" (sic).


git-svn-id: http://piwigo.org/svn/trunk@844 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-21 10:44:07 +00:00
chrisaga
df74f2d204 categories are looking better
git-svn-id: http://piwigo.org/svn/trunk@843 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-20 09:17:54 +00:00
chrisaga
52b8888241 new (from default template)
git-svn-id: http://piwigo.org/svn/trunk@842 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-20 09:12:41 +00:00
chrisaga
4ec8520586 fix title
git-svn-id: http://piwigo.org/svn/trunk@841 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-20 09:11:30 +00:00
chrisaga
750f0aeccf replace osolete cat_prm.vtp with cat_perm.tpl
git-svn-id: http://piwigo.org/svn/trunk@840 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-20 08:26:18 +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
chrisaga
faaf35d633 fix images path
git-svn-id: http://piwigo.org/svn/trunk@838 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-19 22:55:19 +00:00
chrisaga
fc5e8e27c7 cclear template almost working good for BSF
git-svn-id: http://piwigo.org/svn/trunk@837 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-19 21:22:34 +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
chrisaga
abed8b4a18 new file from default template
git-svn-id: http://piwigo.org/svn/trunk@835 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-19 17:30:15 +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
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