Commit graph

1742 commits

Author SHA1 Message Date
plegall
13b6729e4f - no use of "realpath" function anymore : this function is too often buggy
and returns nothing (crash of template system as consequence...). The use
  of this function was not essential


git-svn-id: http://piwigo.org/svn/trunk@749 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-12 10:51:08 +00:00
plegall
a159c579b7 - bug fixed : errors in notification mails... $conf['webmaster'] as
disappeared and $conf['version'] was replaced by PHPWG_VERSION


git-svn-id: http://piwigo.org/svn/trunk@747 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-12 10:29:54 +00:00
plegall
f9823c912b - bug fixed : "all" categories link name is now localized
git-svn-id: http://piwigo.org/svn/trunk@744 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-06 21:31:19 +00:00
plegall
2829f5105f - version moved from 1.4.0RC2 to 1.4.0RC3
git-svn-id: http://piwigo.org/svn/trunk@739 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-13 18:04:48 +00:00
plegall
6a16bf5bb1 - in case of SQL error, stop execution (prevents from errors in
synchronization)


git-svn-id: http://piwigo.org/svn/trunk@735 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-13 10:21:11 +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
f30455c6ff - bug fixed : when a user is the guest user, login saved in history table is
"guest" and not the localized version of guest username


git-svn-id: http://piwigo.org/svn/trunk@725 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-01 07:29:37 +00:00
plegall
a500671dc2 - bug fixed : slideshow was not working since modification of test on
$refresh var.


git-svn-id: http://piwigo.org/svn/trunk@722 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-30 22:16:31 +00:00
plegall
2f50745d14 - version moved to 1.4.0RC2
git-svn-id: http://piwigo.org/svn/trunk@718 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-21 22:09:58 +00:00
plegall
05063edcce - highlight search results disabled before rewrite
git-svn-id: http://piwigo.org/svn/trunk@717 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-20 23:42:35 +00:00
plegall
59ab5dec26 - bug fixed : search on accentuated characters is possible
git-svn-id: http://piwigo.org/svn/trunk@715 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-20 23:09:28 +00:00
plegall
351aae658f - back to revision 1.63 + add author in fields list for allwords search
git-svn-id: http://piwigo.org/svn/trunk@710 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-19 23:52:59 +00:00
plegall
54e615890c - bug fixed : in admin, username displayed in titles if needed even if only
user id was transmitted


git-svn-id: http://piwigo.org/svn/trunk@708 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-19 23:34:42 +00:00
gweltas
f760cdb987 - Author included in "all words" search
git-svn-id: http://piwigo.org/svn/trunk@707 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-18 14:28:47 +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
fad209723a - bug 74 fixed : wrong link in thumbnail title representing a recent
category


git-svn-id: http://piwigo.org/svn/trunk@705 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-17 21:49:48 +00:00
plegall
c443c97891 - the day of the week is not displayed when year is prior to 1970
git-svn-id: http://piwigo.org/svn/trunk@698 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-16 17:28:19 +00:00
plegall
b9f05888cb - calendar : use MySQL instead of PHP to find the day of the week
git-svn-id: http://piwigo.org/svn/trunk@697 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-16 17:27:34 +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
cc5ba30bd0 - bug fixed : count the exact number of elements that can be displayed in
most_visited category because it can be less than $conf['top_number']


git-svn-id: http://piwigo.org/svn/trunk@694 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-15 11:16:46 +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
57475d91be - new methods parse and p (for print) : enable PhpWebGallery pages to be
fully generated before being send to browser


git-svn-id: http://piwigo.org/svn/trunk@687 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-11 21:44:31 +00:00
plegall
037885d2f3 - decrease refresh time to 0 seconds
git-svn-id: http://piwigo.org/svn/trunk@686 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-11 20:05:49 +00:00
plegall
b292784a10 - version moved from BSF to 1.4.0RC1 :-)
git-svn-id: http://piwigo.org/svn/trunk@683 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-09 00:04:38 +00:00
plegall
34354aa6a9 - replacement of variable names in include/mysql.inc.php (for upgrades) :
dbname        => cfgBase
dbuser        => cfgUser
dbpasswd      => cfgPassword
dbhost        => cfgHote
table_prefix  => prefixeTable


git-svn-id: http://piwigo.org/svn/trunk@681 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-08 23:32:25 +00:00
plegall
971d0c5a95 - deletion of calculated permissions when deleting a user
- taking into account locked categories during permissions calculation


git-svn-id: http://piwigo.org/svn/trunk@680 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-08 11:23:52 +00:00
plegall
43fc29137d - no "..." in navigation bar if page numbers are consecutive
git-svn-id: http://piwigo.org/svn/trunk@678 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-08 00:18:39 +00:00
plegall
6f12edb74a - bug fixed : if an element is linked more than once, bug on count of total
elements of best rated category


git-svn-id: http://piwigo.org/svn/trunk@676 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-07 23:51:48 +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
79c440d8bb - upgrade scripts added for releases 1.3.x
- my_error function moved from admin/include/functions.php to
  include/functions.inc.php

- because MySQL temporary tables are not always authorized on creation, use
  a temporary table name (with the current microsecond) on a non temporary
  table (in mass_updates function)

- ability to retrieve distant full directories (usefull in upgrade scripts)

- global variables $count_queries and $queries_time moved into global array
  $page

- get_cat_display_name displays category names in correct order : the one
  given by uppercats

- function setup_style simplified

- default value for configuration parameter "show_nb_comments" set to false
  (less queries by default)


git-svn-id: http://piwigo.org/svn/trunk@672 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-06 22:16:21 +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
cc25f4aa35 - bug fixed : if some categories are forbidden, query for recent categories
was wrong


git-svn-id: http://piwigo.org/svn/trunk@664 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-30 00:39:37 +00:00
plegall
738d4cc7f4 - register process partly rewritten
git-svn-id: http://piwigo.org/svn/trunk@661 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-28 17:56:33 +00:00
plegall
4f11be1410 - bugs fixed in filesystem synchronization : if no existing category at
start, need to initialize $next_rank['NULL'], $next_id and
  $next_element_id

- bug fixed : if no queries executed on the page, $count_queries and
  $queries_time are not initialized for page bottom display

- no use of $conf['prefix_thumbnail'] in language information
  (admin.lang.php)


git-svn-id: http://piwigo.org/svn/trunk@660 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-28 16:31:58 +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
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
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
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
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
82cb16095c - for searching in sub-categories, use the existing get_subcat_ids function
- bug fixed : category total elements count for best rated when
  $user['forbidden_categories'] is not empty


git-svn-id: http://piwigo.org/svn/trunk@652 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-20 22:25:05 +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
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
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
plegall
9ec6ad0c8a - bug fixed : in the categories menu, we may have to close more than one
level at the same time


git-svn-id: http://piwigo.org/svn/trunk@645 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-13 23:53:45 +00:00
plegall
a517b211dd - reformat create_navigation_bar function
git-svn-id: http://piwigo.org/svn/trunk@644 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-13 22:59:25 +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
9037726f5a - change the category levels separator to a "superior to" to be the same as
in picture.php

- add a link on each category level as in picture.php


git-svn-id: http://piwigo.org/svn/trunk@641 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-06 23:49:58 +00:00
plegall
964f977401 bug fix on typo
git-svn-id: http://piwigo.org/svn/trunk@636 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-05 21:35:04 +00:00