Commit graph

55 commits

Author SHA1 Message Date
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
333d44c398 - new configuration parameter show_version : should the version be displayed
or not ?


git-svn-id: http://piwigo.org/svn/trunk@754 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-16 20:57:54 +00:00
plegall
bd9c43e364 - deletion of obsolete parameter $conf['max_LOV_categories']
- deletion of obsolete function get_enums


git-svn-id: http://piwigo.org/svn/trunk@706 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-17 22:01:40 +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
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
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
c19f01d77c - replacement of PREFIX_TABLE constant in delete_user function
- deletion of $isadmin variable, replaced by constant IN_ADMIN

- small refactoring

- in include/common.inc.php, deletion of useless part "Obtain and encode
  users IP" and corresponding functions encode_ip and decode_ip

- definition of $conf['default_language'] deleted from
  include/config.inc.php : it is already present in database table config

- function init_userprefs deleted (useless), all its content moved to
  include/user.inc.php

- admin.lang.php and faq.lang.php are loaded only if current user is in
  administrative section


git-svn-id: http://piwigo.org/svn/trunk@650 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-20 19:26:43 +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
plegall
bd2fde5c8c - refresh paginated navigation bar : displays First and Last, displays
Previous and Next even if non applicable (but no link), displays only page
  umbers around the current page (if a category contains hundreds of
  elements, no more long list of pages)


git-svn-id: http://piwigo.org/svn/trunk@643 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-13 22:54:44 +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
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
plegall
234b746352 - IPTC mapping done in include/config.inc.php
- file extensions in $conf['file_ext'] are case sensitive (contrary to what
  was said)

- a user (choubs) told me that the correct mapping for image name was 2#005
  (OBJECTNAME) and not 2#085 (BYTITLE)


git-svn-id: http://piwigo.org/svn/trunk@601 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-10 22:34:54 +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
fb53abe3bd - DEFAULT_LANGUAGE constant moved to $conf['default_language']
- DEBUG constant divided into $conf['show_queries'] and $conf['show_gt']
  (display generation time at the bottom of each page)


git-svn-id: http://piwigo.org/svn/trunk@592 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-05 21:36:35 +00:00
z0rglub
7cd9b65e32 - function mysql_query replaced by pwg_query : the same with debugging
features

- by default, DEBUG is set to 0 (off)


git-svn-id: http://piwigo.org/svn/trunk@587 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-30 15:42:29 +00:00
z0rglub
9be5df4afe admin/infos_image:$page['nb_image_page'] is replaced by
$conf['info_nb_elements_page'] : number of item to display on
admin/infos_images.php page


git-svn-id: http://piwigo.org/svn/trunk@571 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-23 08:59:46 +00:00
z0rglub
3e09d2579f - refactoring
- add or modified parameters comments


git-svn-id: http://piwigo.org/svn/trunk@567 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-11 22:35:48 +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
4106c2a524 - New template for picture.tpl
- Creation of a menu bar in the picture display


git-svn-id: http://piwigo.org/svn/trunk@531 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-23 16:42:11 +00:00
gweltas
eaad1d61d7 Minor bugs correction
git-svn-id: http://piwigo.org/svn/trunk@519 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-07 20:10:36 +00:00
z0rglub
b220e5db42 deletion of $conf['site_url'] and $conf['forum_url'] and all their usage
(thus avoiding the usage of $conf in *.lang.php)


git-svn-id: http://piwigo.org/svn/trunk@516 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-05 15:49:54 +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
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
c714a9dbaf adds image id in the order by statement. Without it, you can encounter
problems with searchs returning elements that have same date of
availability, same filename. images.id is the only field you can be sure of
unicity


git-svn-id: http://piwigo.org/svn/trunk@505 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 17:25:33 +00:00
z0rglub
c414a9133e possibility to choose the date field you want to use for calendar category
(date_available or date_creation).


git-svn-id: http://piwigo.org/svn/trunk@497 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-26 23:00:28 +00:00
z0rglub
d8494248fc "show metadata" feature added : you can ask to show metadata (EXIF and IPTC)
on picture.php page. Metadata read functions were moved from
admin/include/functions_metadata.php to include/functions_metadata.inc.php


git-svn-id: http://piwigo.org/svn/trunk@493 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25 21:09:09 +00:00
z0rglub
496c0d3418 non picture files management : add array $conf['file_ext']
git-svn-id: http://piwigo.org/svn/trunk@468 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-05 17:37:33 +00:00
gweltas
6a9c9eb91f - Split of infos.lang.php
git-svn-id: http://piwigo.org/svn/trunk@398 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-27 13:24:26 +00:00
z0rglub
9113dffea0 adding default_lang
git-svn-id: http://piwigo.org/svn/trunk@396 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-27 08:04:52 +00:00
z0rglub
7a9db5f5d0 deletion empty line out of PHP bounds
git-svn-id: http://piwigo.org/svn/trunk@395 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-26 19:36:38 +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
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
19b4964996 change version to BSF
git-svn-id: http://piwigo.org/svn/trunk@363 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-12 23:25:05 +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
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
d6f54c7516 Use version "devel" for the main trunc
git-svn-id: http://piwigo.org/svn/trunk@215 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-26 19:58:55 +00:00
z0rglub
3b8272fcdc Version changed to 1.3RC2
git-svn-id: http://piwigo.org/svn/trunk@181 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 14:12:29 +00:00
z0rglub
6bba415df1 Top number passes from 5 to 10
git-svn-id: http://piwigo.org/svn/trunk@178 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 13:21:10 +00:00
z0rglub
fd5a3516a9 Version becomes 1.3RC1
git-svn-id: http://piwigo.org/svn/trunk@158 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-21 18:35:10 +00:00
z0rglub
1cbd679225 Change the version from 1.3 to 1.3beta
git-svn-id: http://piwigo.org/svn/trunk@135 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-19 21:42:39 +00:00
z0rglub
637cdd1e23 Mail notification for admins
git-svn-id: http://piwigo.org/svn/trunk@85 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-10 22:24:03 +00:00
z0rglub
6cbffaa646 improve the header of each file
git-svn-id: http://piwigo.org/svn/trunk@57 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-08-24 07:40:56 +00:00
z0rglub
45a8139acd optional cookie identification
git-svn-id: http://piwigo.org/svn/trunk@45 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-27 08:24:10 +00:00
z0rglub
c0d1ed215c Possiblity to forbid simple guests to add their comments
git-svn-id: http://piwigo.org/svn/trunk@42 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-26 12:55:14 +00:00
z0rglub
a7eb0781cf anti-flood system
git-svn-id: http://piwigo.org/svn/trunk@41 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-26 12:38:20 +00:00
z0rglub
2fa9252446 *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@26 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-21 19:47:14 +00:00
z0rglub
0ec91d8b48 *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@21 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-01 09:27:20 +00:00
z0rglub
1080c51deb *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@20 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-27 20:56:13 +00:00