Commit graph

274 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
41e52d7a8a - elements batch management : in addition to global mode, a unit mode is
added : ability to manage a set of elements, element by element. This
  screen is very close to the existing "infos_images" (which will soon
  disappear).

* elements batch management : in screen element_set_global, the display
  options are displayed at the top as in element_set_unit


git-svn-id: http://piwigo.org/svn/trunk@763 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-16 07:49:55 +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
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
plegall
412ea5e01a - typo fixed : wrong block name closed in template
git-svn-id: http://piwigo.org/svn/trunk@756 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-25 22:15:02 +00:00
plegall
ef080278bf - new feature : caddie. The purpose is batch management, especially
concerning elements to categories associations. This is the very first
  release, needs many improvements.

- new function : array_from_query. Firstly used by "caddie" feature, it may
  be useful in many cases.


git-svn-id: http://piwigo.org/svn/trunk@755 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-25 22:10:55 +00:00
plegall
8397b98d28 - bug fixed : localized label on submit button to add users in
administration


git-svn-id: http://piwigo.org/svn/trunk@743 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-18 20:46:17 +00:00
plegall
b3aff324b9 - ability to add users from administration panel
git-svn-id: http://piwigo.org/svn/trunk@741 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-13 19:53:07 +00:00
plegall
750354a231 - bug fixed : text "Powered by" is now localized
git-svn-id: http://piwigo.org/svn/trunk@726 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-01 22:22:17 +00:00
plegall
68970e1e65 - add information after metadata synchronization
git-svn-id: http://piwigo.org/svn/trunk@723 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-31 23:22:29 +00:00
plegall
35c3e39bb8 - bug fixed : word "all" for creating all thumbnails is now in i18n
git-svn-id: http://piwigo.org/svn/trunk@716 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-20 23:41:27 +00:00
gweltas
5d7813b9b2 - New navigation arrows
git-svn-id: http://piwigo.org/svn/trunk@712 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-20 15:43:14 +00:00
gweltas
f6d7b36243 - Misalignement of navigation arrows in picture.tpl (specific IE)
- Comments are now an unlimited textarea


git-svn-id: http://piwigo.org/svn/trunk@711 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-20 15:06:06 +00:00
plegall
da60b94ca0 - new features : multipages users list. The list can be ordered by id (same
effect than registration date) or by username. On each line, you can
  access properties and permissions for the user


git-svn-id: http://piwigo.org/svn/trunk@709 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-19 23:36:43 +00:00
plegall
8d595674f0 - bug fixed : in admin/configuration, reset button was a submit button
git-svn-id: http://piwigo.org/svn/trunk@700 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-16 23:54:54 +00:00
plegall
4cc5cb68e2 - admin/waiting : add a reset button
git-svn-id: http://piwigo.org/svn/trunk@699 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-16 17:31:18 +00:00
plegall
d5c2a2eda8 - big update in thumbnail creation process : form is always shown with the
comprehensive list of pictures without thumbnails (no matter the
  directory) unless there are no thumbnail missing.

- thumbnail creation process : form parameters are saved between 2 thumbnail
  generations thanks to new process

- thumbnail creation process : can ask to create all missing thumbnails

- thumbnail creation process : default thumbnail width and height are
  configured in include/config.inc.php

- thumbnail creation process : errors due to no write access directories are
  catched


git-svn-id: http://piwigo.org/svn/trunk@695 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-16 11:13:30 +00:00
plegall
46dcfba37d - HTML entity ← and → are not supported by Microsoft Internet
Explorer 6 and as this browser is quite widely used... these entities are
  replaced by « and »


git-svn-id: http://piwigo.org/svn/trunk@693 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-15 10:39:33 +00:00
plegall
fd77c63a5a - bug fixed : disable nowrap on category description (which can be long...)
git-svn-id: http://piwigo.org/svn/trunk@692 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-15 10:33:45 +00:00
plegall
de750e1a8f - no debug output in synchronization process (replaced by HTML comments,
information is still available)

- when showing result of a simulation, also displays the form with values
  given for simulation. Admin can perform another simulation or uncheck the
  simulation option


git-svn-id: http://piwigo.org/svn/trunk@691 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-15 10:31:26 +00:00
gweltas
59b539098e - Small bug in default.css (menu font size)
git-svn-id: http://piwigo.org/svn/trunk@690 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-13 14:39:08 +00:00
gweltas
11c2baa770 - update of picture.tpl for a specific Opera bug
- Comments included in default.css to help admin to enhanced their gallery


git-svn-id: http://piwigo.org/svn/trunk@689 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-13 14:09:06 +00:00
plegall
0fc6999ded - upgrade.tpl has been forgotten : mandatory for upgrade scripts
git-svn-id: http://piwigo.org/svn/trunk@677 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-07 23:52:23 +00:00
plegall
6705215b64 - small correction english FAQ
- language item about remote sites were translated in French in french
  translation file

- french FAQ translated from english

- add square brackets around links in remote sites managements


git-svn-id: http://piwigo.org/svn/trunk@674 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-07 23:06:35 +00:00
gweltas
22e0536a05 - Group permission delivery
- Reorganisation of common.lang.php


git-svn-id: http://piwigo.org/svn/trunk@671 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-06 16:33:04 +00:00
gweltas
0d8918b7d8 - French translation
- Deletion of the eCard template entry


git-svn-id: http://piwigo.org/svn/trunk@670 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-04 16:27:17 +00:00
plegall
c8e89e0c55 - administration instructions rewritten (english only), no more picture
needed to represent directories tree, space added between list items


git-svn-id: http://piwigo.org/svn/trunk@669 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-31 07:58:41 +00:00
plegall
96f24f3ddc - bug fixed on setting commentable property for a single category (bug in
template and in query generation)

- bug on determining whether an element is commentable or not depending on
  categories it belongs to


git-svn-id: http://piwigo.org/svn/trunk@668 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-30 08:36:48 +00:00
plegall
e57538219f - bug fixed on upload : configuration variable $conf['upload_available'] has
disappeared

- by default, new categories are not "uploadable"

- bug fixed on date displayed from Unix format : trying to find seconds
  while not provided

- bug fixed on admin/waiting template to center submit button


git-svn-id: http://piwigo.org/svn/trunk@667 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-30 08:10:46 +00:00
plegall
0c1de32d04 - admin/update : deletion of useless lines
- admin/thumbnail : use new process for finding pictures without
  thumbnails. No more recursivity

- admin/thumbnail : only show list of directory containing pictures without
  thumbnails, not the whole directory tree


git-svn-id: http://piwigo.org/svn/trunk@665 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-30 00:55:27 +00:00
plegall
7ba1574043 - admin/update : filesystem synchronization process completely
rewritten. How to speed up sync ? by avoiding recursivity !

- admin/update : option to display verbose information details

- admin/update : option to simulate only. No database insert, delete or
  update will be made

- bug fixed : in admin/cat_list, if you delete a virtual category, you may
  create a gap in the rank list. This gap will generate errors when trying
  to move a category on this gap. Fixed by calling ordering and
  update_global_rank at category deletion.

- admin/cat_list, only one query to insert a new virtual category (no need
  of a second query to update uppercats and global_rank)

- for a given category, even if empty, the representing element must not be
  the one of a forbidden category for the current user

- generation time optionnaly displayed on the bottom of each page becomes
  more price : number of SQL queries and SQL time added.


git-svn-id: http://piwigo.org/svn/trunk@659 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-27 14:30:49 +00:00
gweltas
ac1b8354f1 - User permissions template migration
- Categories inheritence has not yet been done


git-svn-id: http://piwigo.org/svn/trunk@655 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-23 14:59:37 +00:00
plegall
6409647e1c - new feature : lock temporary your gallery for maintenance
- $user keys for guest user are initialized with default values of $conf


git-svn-id: http://piwigo.org/svn/trunk@653 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-20 23:54:59 +00:00
plegall
7543485ba8 - restricted access mode deleted : set all your categories as private
instead


git-svn-id: http://piwigo.org/svn/trunk@651 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-20 22:03:04 +00:00
gweltas
1d46ea86e9 - Minor update of language file
- Configuration / Default dispaly : maximum height & width


git-svn-id: http://piwigo.org/svn/trunk@649 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-20 14:52:30 +00:00
plegall
5a8ecfbfb1 - in picture.php, $user['maxwidth'] and $user['maxheight'] can be unset if
NULL in database

- new table user_forbidden {user_id,need_update,forbidden_categories} and
  deletion of field users.forbidden_categories

- new function calculate_permissions to update table user_forbidden when
  needed

- simplification of include/user.inc.php

- in footer of each page, use "-" instead of "::" to separate page
  information


git-svn-id: http://piwigo.org/svn/trunk@648 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-20 12:30:36 +00:00
plegall
f0e9cd804a - bug fixed : in admin/cat_list, next_rank cant' be calculted and query to
count sub-categories per sub-categories became false if no sub-categories

- virtual association come back in admin/infos_images (not only in
  admin/picture_modify)

- check_favorites function in admin section becomes check_user_favorites in
  public section : favorites are checked when user tries to display his
  favorites. Function was optimized.

- in function update_category, wrap of long queries due to many categories
  to update at the same time

- typo fixed in description of paginate_pages_around configuration parameter

- bug fixed in new navigation bar : no separation pipe was displayed between
  next and last when the page displayed was the last

- sessions.expiration changed of type from int to datetime (a lot easier to
  read)

- sessions.ip removed : IP address is no longer used to verify session

- $lang['cat_options'] was missing in en_UK.iso-8859-1

- typo fixed in language/en_UK.iso-8859-1/admin.lang.php on
  editcat_lock_info language item


git-svn-id: http://piwigo.org/svn/trunk@647 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-18 22:05:30 +00:00
gweltas
775e9ee74c - French translation for many new entries
- minor template update for cat_modify


git-svn-id: http://piwigo.org/svn/trunk@646 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-16 14:49:47 +00:00
plegall
391fac78a8 - in admin menu, status option for categories is not "permissions" but
"private or public" choice = different language item

- get_cat_display_name changed : use $conf['level_separator'] to unify
  presentation

- default values for category properties commentable, uploadable, status and
  visible (set in include/config.inc.php) used for category creation
  (admin/update, admin/remote_site, admin/cat_list)

- use mass_inserts in admin/update for inserting new categories

- only one query for counting the number of sub categories in admin/cat_list


git-svn-id: http://piwigo.org/svn/trunk@642 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-12 21:06:39 +00:00
plegall
6cc0255b0d - possibility to set an element as representant of its categories
git-svn-id: http://piwigo.org/svn/trunk@640 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-06 22:28:32 +00:00
plegall
9064686d99 - on picture.php, related categories under the element are displayed in
global_rank order

- when adding a new virtual category, initializes its global_rank

- bug fixed : in admin/cat_list, false next rank

- in admin/cat_modify, complete directory is calculated only if category is
  not virtual

- admin/picture_modify rewritten : graphically nearer to admin/cat_modify,
  virtual associations are back

- update_category partially rewritten : take an array of categories in
  parameter, becomes optionnaly recursive, use the set_random_representant
  function, set a random representant for categories with elements and no
  representant

- bug fixed : on a search results screen, elements belonging to more than 1
  category were shown more than once

- bug fixed : in admin/cat_modify, changing a value in a textefield and
  hitting enter was setting a new random representant


git-svn-id: http://piwigo.org/svn/trunk@635 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-05 21:28:40 +00:00
plegall
e4ce82fc27 - search modified : possible to partially fill the date, allwords are
separated from more specific search, separation of HTML (in template) and
  PHP code)


git-svn-id: http://piwigo.org/svn/trunk@634 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-05 11:47:40 +00:00
plegall
b3336f57d5 - shows the element representing a non empty category in cat_modify
- possibility to set a random representing element for a category

- bug fixed : update_category function could not update nb_images

- bug fixed : mass_updates was inserting in the wrong table


git-svn-id: http://piwigo.org/svn/trunk@633 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-04 17:42:07 +00:00
plegall
a383f3148c - change "->" in a beautiful arrow :-) for categories level in admin
- single category management screen updated : commentable and uploadable
  properties added, full directory displayed, status and visibility
  properties update uses inheritance, user favorite elements check moved to
  somewhere else : would be too long to calculate here for too many users

- new admin functions set_cat_visible and set_cat_status : visibility and
  status updates can be done in cat_options and cat_modify

- language : differentiate "locked" (state) and "lock" (action)


git-svn-id: http://piwigo.org/svn/trunk@632 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-04 12:10:17 +00:00
gweltas
6fa03e0cca - User control panel update (user side)
- User control panel update (admin side)
- Add of registration link on the main page
- Minor bug correction for group management


git-svn-id: http://piwigo.org/svn/trunk@631 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-03 16:30:12 +00:00
gweltas
b35dc19ab6 Update of the user preferences panel.
Deletion of some PREFIX_TABLE occurences


git-svn-id: http://piwigo.org/svn/trunk@630 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-02 15:42:57 +00:00
gweltas
19be28e415 Search form update
git-svn-id: http://piwigo.org/svn/trunk@629 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-02 12:45:57 +00:00
gweltas
2e6ace2df0 New template for group management
French translation for synchronization
Minor update of the css file


git-svn-id: http://piwigo.org/svn/trunk@623 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-26 16:10:17 +00:00
gweltas
8f97f21eb2 Categories option management update.
- Rewrite of the tpl file (no more table in it)
- Deletion of duplicate entry in language files
- French version


git-svn-id: http://piwigo.org/svn/trunk@622 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-25 16:44:41 +00:00
gweltas
2c109654aa New ergonomic form for search queries.
git-svn-id: http://piwigo.org/svn/trunk@621 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-25 14:12:33 +00:00
plegall
a8acded5b0 distinction between categories' admin menus and others (comments for
categories is not the same as users comments)


git-svn-id: http://piwigo.org/svn/trunk@620 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-24 21:57:22 +00:00
plegall
f0fcd1eedc - global categories' options : instead of N horizontal tabs on a single
page, N options in the left menu (but the same backend)

- categories.global_rank : new calculated field. It gives a global rank of
  the category among all others (updated during ordering)

- category.php page : menu is generated faster thanks to
  categories.global_rank, recursivity becomes useless :-)

- new function to display select box with a set of categories :
  display_select_cat_wrapper

- cat_options : instead of using 1 multiselect for true/false items, using 1
  multiselect for true, and another one for false. The form provides buttons
  with arrows to switch categories from one multiselect to another

- deletion of obsolete function display_categories (working with the old
  template system)

- deletion of obsolete functions get_user_plain_structure,
  create_user_structure, get_user_subcat_ids, update_structure, count_images
  : useless thanks to global_rank


git-svn-id: http://piwigo.org/svn/trunk@614 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-23 22:31:24 +00:00
gweltas
af0b3d5f57 Categories management icon update
git-svn-id: http://piwigo.org/svn/trunk@608 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-18 15:17:33 +00:00
gweltas
f20efb0cfa Unification of "Return to main page" entry in the language files.
git-svn-id: http://piwigo.org/svn/trunk@607 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-18 14:57:00 +00:00
plegall
b138e8aa07 - admin/cat_options page really added this time : manage options for the
whole categories tree : uploadable, commentable, status and visible


git-svn-id: http://piwigo.org/svn/trunk@604 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-15 21:42:55 +00:00
plegall
88e4e1e60a - admin/cat_options page added : manage options for the whole categories
tree (uploadable, commentable). status and visible will be soon added

- admin.php : $conf_link var to avoid lines longer than 79 characters

- config.upload_available configuration parameter disappear : it's simpler
  to manage with cat_options

- config.show_comments idem : new column categories.commentable, each
  categories can be commentable or not

- categories.site_id becomes a nullable column : a virtual category does
  belong to no site

- function display_select_categories has a new argument : $CSS_classes array
  to optionnaly assign a CSS class to each category in the select field

- added informations in include/config.inc.php for setting default value of :

  - categories.visible
  - categories.status
  - categories.uploadable
  - categories.commentable

- 2 new indexes images_i3(average_rate) and images_i4(hit) : optimizes best
  rated and most visited categories


git-svn-id: http://piwigo.org/svn/trunk@602 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-13 13:43:53 +00:00
z0rglub
b1db5e55ae - synchronization interface redesigned : a form lets user choose option of
dirs/files/metadata sync on all categories or a defined one (including
  subcategories)

- database sync is only available through update.php


git-svn-id: http://piwigo.org/svn/trunk@589 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-01 15:01:28 +00:00
z0rglub
fa9a5cd07b - differentiation of links "up to thumbnails" and "home"
git-svn-id: http://piwigo.org/svn/trunk@588 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-30 16:51:01 +00:00
z0rglub
691a834cd3 - new column : metadata synchronization
- picture for each category is segmented in src, alt and title -> no HTML
  code in cat_list.php


git-svn-id: http://piwigo.org/svn/trunk@584 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-24 18:59:10 +00:00
z0rglub
98b65edb83 - refactoring of comments.php
- creation of function get_thumbnail_src used everywhere a thumbnail must be
  displayed

- creation of function parse_comment_content (used in comments.php and
  picture.php)

- concerning undefined index on arrays retrieved in database, instead of
  testing possibly unset values, use of @ operator (smarter...)

- add pre tag in default.css stylesheet for debugging purpose (need to have
  left aligned text)


git-svn-id: http://piwigo.org/svn/trunk@579 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-23 17:56:46 +00:00
z0rglub
73119ae154 HTML small bug : ">" must be represented as ">" when not used in tag
delimiters


git-svn-id: http://piwigo.org/svn/trunk@574 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-23 09:03:14 +00:00
gweltas
032365cb61 -Stat template
git-svn-id: http://piwigo.org/svn/trunk@566 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-11 18:04:46 +00:00
z0rglub
11699a5546 - checkbox for "remember me" are only shown if authorized
- simplification : each session is created with a cookie and if
  PhpWebGallery can't read the cookie, it uses the URI id and it will be
  used in the add_session_id function.

- configuration parameter "auth_method" disappeared (didn't lived much...)

- only one session id size possible. More comments for configuration in
  include/config.inc.php


git-svn-id: http://piwigo.org/svn/trunk@555 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-06 22:48:48 +00:00
gweltas
944fb4856e Css simplification
git-svn-id: http://piwigo.org/svn/trunk@554 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-06 22:06:45 +00:00
z0rglub
3c8309a7e6 - deletion of session_time and session_id_size as config parameter
- new feature : "remember me" creates a long time cookie

- possibility to set the default authentication method to URI or cookie

- really technical parameters (session identifier size, session duration)
  are set in the config file and not in database + configuration.php


git-svn-id: http://piwigo.org/svn/trunk@541 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-02 23:12:50 +00:00
gweltas
28dcfea993 - Change of the picture page behavior to be able to open the full size image in a new window
- Minor modification for template migration
- Rename of script.js in scripts.js


git-svn-id: http://piwigo.org/svn/trunk@539 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-01 22:50:50 +00:00