Commit graph

118 commits

Author SHA1 Message Date
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
70478add18 - removes from special menu the number of elements displayed in most_seen
and best_rated categories


git-svn-id: http://piwigo.org/svn/trunk@733 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-09 21:47:21 +00:00
plegall
0737f91b19 - use template->parse instead of pparse. (exceptions for install.php and
upgrade.php)

- bug fixed : queries time and count were not displayed on a redirection


git-svn-id: http://piwigo.org/svn/trunk@688 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-13 10:18:49 +00:00
plegall
6244654872 all headers adapted to new year 2005, happy new year
git-svn-id: http://piwigo.org/svn/trunk@675 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-07 23:10:51 +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
plegall
24f7065c3f - bug fixed : if a category is not a numeric category, no title was
displayed


git-svn-id: http://piwigo.org/svn/trunk@663 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-28 19:33:52 +00:00
plegall
4c8d18de5b - user permissions ask update at each admin page generation. Table
user_forbidden must be updated only if current user is not in
  administrative section

- bug fixed : category.php, error on page title when non category selected

- admin/search : bug on variable $PHP_SELF, replaced by $_SERVER['PHP_SELF']

- admin/user_perm : inheritence management. When a category become
  authorized, all parent categories become authorized, when a category
  become forbidden, all child category become forbidden

- no more recursivity in delete_categories function

- new function get_fs_directories for future new method of synchronization

- new function get_uppercat_ids replacing several pieces of code doing the
  same

- new function get_fulldirs used for metadata function get_filelist and
  future new method of synchronization

- new function get_fs for future new method of synchronization

- typo correction on lang item "about_message"

- no link to category privacy status management on user permission anymore
  (giving the menu item instead)


git-svn-id: http://piwigo.org/svn/trunk@657 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-25 19:33:36 +00:00
gweltas
a6d104e98f - French translation of general lock
- Correction of page title in the category page


git-svn-id: http://piwigo.org/svn/trunk@654 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-23 12:30:03 +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
plegall
5379225172 favorite category accessible
git-svn-id: http://piwigo.org/svn/trunk@626 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-30 20:32:44 +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
plegall
973e0f8806 category random replaced by a more generic category : list. You give a list
of element identifiers and it creates a page virtual temporary
category. random.php generates a randomized list of element id visible to
the user (according to permissions) and redirects to category.php.

Major problem : elements order is in id ascending order, I don't know how to
change order when having id1,id2,id3 and id2,id3,id1 (the display order is
the same)


git-svn-id: http://piwigo.org/svn/trunk@605 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-15 23:13:24 +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
a8b1a03018 update headers to comply with GPL
git-svn-id: http://piwigo.org/svn/trunk@593 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-06 21:12:59 +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
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
c2ceeae013 - Small update of category.tpl
git-svn-id: http://piwigo.org/svn/trunk@533 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-23 17:14:04 +00:00
z0rglub
dd38c14639 - bug correction : when coming from picture.php on a picture of category.php
page superior to the first, the right page was displayed (the one
  including the element) but the navigation bar was always saying we were on
  the first page

- distinguish CSS classes span.dateSelected and span.pageNumberSelected


git-svn-id: http://piwigo.org/svn/trunk@514 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-04 08:07:33 +00:00
z0rglub
2dbc66da3b - new special category : random pictures
- reorganisation of special categories menu : template is used only for
  template. A special category is presented as the template tells to do so.

- favorites becomes just another special category

- bug correction for best rated category : wrong MySQL query if user has
  forbidden categories (see include/functions_category.inc.php diff)


git-svn-id: http://piwigo.org/svn/trunk@510 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-01 21:39:29 +00:00
z0rglub
0e2436f50a add rating feature
git-svn-id: http://piwigo.org/svn/trunk@507 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-30 22:00:46 +00:00
z0rglub
0188ea673e menu categories managed as list items
git-svn-id: http://piwigo.org/svn/trunk@478 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-06 09:42:07 +00:00
z0rglub
7a3a12a93c use include/category_default.inc.php to display most_visited and recent_pics
git-svn-id: http://piwigo.org/svn/trunk@459 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-07-27 06:36:20 +00:00
z0rglub
16b2b85934 display search results even if no element found
git-svn-id: http://piwigo.org/svn/trunk@453 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-07-26 20:41:11 +00:00
z0rglub
f007a28bf6 replacement of short_period and long_period by recent_period
git-svn-id: http://piwigo.org/svn/trunk@452 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-07-09 21:00:00 +00:00
z0rglub
634743c328 thumbnails display moved to included files include/category_*.inc.php
git-svn-id: http://piwigo.org/svn/trunk@441 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-25 20:29:51 +00:00
z0rglub
4b76c0751e - new category added : recent_cats
- calculates icon_short only once

- get_icon function takes a date in YYY-MM-DD format


git-svn-id: http://piwigo.org/svn/trunk@436 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-18 23:23:29 +00:00
z0rglub
5bc68a8057 link to recent pictures category updated
git-svn-id: http://piwigo.org/svn/trunk@435 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-16 20:37:05 +00:00
z0rglub
3a09e40418 replace recent category by recent_pics (to have a difference with
recent_cats)


git-svn-id: http://piwigo.org/svn/trunk@433 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-16 20:30:38 +00:00
z0rglub
880d276159 - adds the number of pictures in the title of a category if category
contains pictures.

- replaces "statistics" categories by "special" categories which is more
  generic

- adds calendar category

- code refactoring

- change the way to know where to go to next line in thumbnails table

- category informations are not displayed at the bottom of the page anymore


git-svn-id: http://piwigo.org/svn/trunk@428 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-15 20:00:40 +00:00
z0rglub
c635fc7b03 - no more use of clickable bullet with categories in the menu
- displays only the number of pictures for categories with pictures (in the
  menu)


git-svn-id: http://piwigo.org/svn/trunk@421 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-05-28 21:55:02 +00:00
z0rglub
a0033b8b56 redirections modification : use of a HTML refresh page instead of header PHP
function. The purpose is to avoid redirections failure when extra characters
are found in included PHP files.


git-svn-id: http://piwigo.org/svn/trunk@405 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-31 20:43:09 +00:00
gweltas
b531871f12 - Category upload admin control panel
git-svn-id: http://piwigo.org/svn/trunk@403 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-31 17:26:31 +00:00
gweltas
9fd459d051 - Template migration
- Admin Control Panel migration
- Category management


git-svn-id: http://piwigo.org/svn/trunk@394 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-26 17:08:09 +00:00
gweltas
4128835db8 - Template migration
- Admin Control Panel migration
- Language migration


git-svn-id: http://piwigo.org/svn/trunk@393 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-20 00:52:37 +00:00
z0rglub
989e4c3dac - deletion of expand string in $_GET array
- refactoring of display_category function (no tab in code, please)

 - displays always number of sub-categories for each category in the menu

 - in the menu, special style only for the opened category


git-svn-id: http://piwigo.org/svn/trunk@386 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-05 22:54:53 +00:00
gweltas
9e993f2d21 New default template - User side
git-svn-id: http://piwigo.org/svn/trunk@375 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-26 18:33:45 +00:00
gweltas
60b84a9db5 Template migration
git-svn-id: http://piwigo.org/svn/trunk@369 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-22 02:43:13 +00:00
gweltas
78df1f97d3 Split of langage files
git-svn-id: http://piwigo.org/svn/trunk@364 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-19 00:31:09 +00:00
z0rglub
6f4e7d6bc0 header global refactoring
git-svn-id: http://piwigo.org/svn/trunk@362 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-11 23:20:38 +00:00
gweltas
e712c4aef8 Migration of common.php in the include directory to fit the new coding rules
git-svn-id: http://piwigo.org/svn/trunk@354 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-07 19:36:44 +00:00
z0rglub
3ae73d950e removing "author" from header, I'm not the only one to work on files...
git-svn-id: http://piwigo.org/svn/trunk@353 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-07 15:34:53 +00:00
z0rglub
6300caa15c correct coding header
git-svn-id: http://piwigo.org/svn/trunk@352 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-07 15:31:01 +00:00
gweltas
6575353922 Template modification
Split of the french language file


git-svn-id: http://piwigo.org/svn/trunk@351 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-07 11:50:26 +00:00
gweltas
bef4b3e3aa Merge of the 1.3.1 release
Creation of an unique include file (common.php)
Creation of an unique define file (include/constants.php)
Modification of the installation procedure


git-svn-id: http://piwigo.org/svn/trunk@345 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-02 00:55:18 +00:00
z0rglub
860a39302e Modifications linked to the move of admin.php to the root directory of PhpWebGallery
git-svn-id: http://piwigo.org/svn/trunk@228 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-11-03 21:35:24 +00:00
z0rglub
37deeb17a6 All parent categories of the displayed category are expanded in the menu
git-svn-id: http://piwigo.org/svn/trunk@193 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-11 13:36:43 +00:00
z0rglub
82ea2ff624 Enable the use of another $lang item for "login" link in the menu.
git-svn-id: http://piwigo.org/svn/trunk@175 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 11:37:05 +00:00
z0rglub
151dc43370 Adding a page for non admin to see last users comments
git-svn-id: http://piwigo.org/svn/trunk@166 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-04 16:08:53 +00:00
z0rglub
5b25b7bac3 If informations (filesize,width,height) are not given in the database about
a picture, they can be found with the file itself


git-svn-id: http://piwigo.org/svn/trunk@148 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-20 21:44:57 +00:00
z0rglub
8eb18bb889 - A category can have its representative picture
- Use the plain structure instead of the get_cat_info for retrieving the
  last date of a category


git-svn-id: http://piwigo.org/svn/trunk@134 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-19 21:41:42 +00:00