Commit graph

1851 commits

Author SHA1 Message Date
plegall
a583066702 - come back to previous version of include/constants.php : %PWGVERSION% was
not a mistake


git-svn-id: http://piwigo.org/svn/trunk@769 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-25 21:45:38 +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
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
fdc5ce0a55 - apply category name and element name separation in calendar special
category

- change method of counting total number of viewable pictures : pictures
  linked to more than one category are not counted twice.


git-svn-id: http://piwigo.org/svn/trunk@761 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-31 21:53:24 +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
1e3f5197d6 - new way of managing the application version
git-svn-id: http://piwigo.org/svn/trunk@758 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-25 22:47:18 +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
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
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