aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - bug fixed : if some categories are forbidden, query for recent categoriesplegall2004-12-301-1/+1
| | | | | | | was wrong git-svn-id: http://piwigo.org/svn/trunk@664 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fixed : if a category is not a numeric category, no title wasplegall2004-12-281-5/+5
| | | | | | | displayed git-svn-id: http://piwigo.org/svn/trunk@663 68402e56-0260-453c-a942-63ccdbb3a9ee
* - profile.php : refactoring and small bug fixedplegall2004-12-281-154/+215
| | | | git-svn-id: http://piwigo.org/svn/trunk@662 68402e56-0260-453c-a942-63ccdbb3a9ee
* - register process partly rewrittenplegall2004-12-283-57/+116
| | | | git-svn-id: http://piwigo.org/svn/trunk@661 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bugs fixed in filesystem synchronization : if no existing category atplegall2004-12-283-4/+12
| | | | | | | | | | | | | | 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
* - admin/update : filesystem synchronization process completelyplegall2004-12-279-482/+475
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - user permissions ask update at each admin page generation. Tableplegall2004-12-2511-172/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - User permission update : deletion of obsolete filegweltas2004-12-231-125/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@656 68402e56-0260-453c-a942-63ccdbb3a9ee
* - User permissions template migrationgweltas2004-12-2310-331/+111
| | | | | | | - Categories inheritence has not yet been done git-svn-id: http://piwigo.org/svn/trunk@655 68402e56-0260-453c-a942-63ccdbb3a9ee
* - French translation of general lockgweltas2004-12-233-5/+10
| | | | | | | - Correction of page title in the category page git-svn-id: http://piwigo.org/svn/trunk@654 68402e56-0260-453c-a942-63ccdbb3a9ee
* - new feature : lock temporary your gallery for maintenanceplegall2004-12-208-13/+50
| | | | | | | - $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
* - for searching in sub-categories, use the existing get_subcat_ids functionplegall2004-12-201-28/+6
| | | | | | | | - 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
* - restricted access mode deleted : set all your categories as privateplegall2004-12-208-41/+4
| | | | | | | instead git-svn-id: http://piwigo.org/svn/trunk@651 68402e56-0260-453c-a942-63ccdbb3a9ee
* - replacement of PREFIX_TABLE constant in delete_user functionplegall2004-12-206-127/+62
| | | | | | | | | | | | | | | | | | | | | - 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
* - Minor update of language filegweltas2004-12-208-4/+20
| | | | | | | - Configuration / Default dispaly : maximum height & width git-svn-id: http://piwigo.org/svn/trunk@649 68402e56-0260-453c-a942-63ccdbb3a9ee
* - in picture.php, $user['maxwidth'] and $user['maxheight'] can be unset ifplegall2004-12-207-37/+141
| | | | | | | | | | | | | | | | | | 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
* - bug fixed : in admin/cat_list, next_rank cant' be calculted and query toplegall2004-12-1813-124/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - French translation for many new entriesgweltas2004-12-168-49/+56
| | | | | | | - minor template update for cat_modify git-svn-id: http://piwigo.org/svn/trunk@646 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fixed : in the categories menu, we may have to close more than oneplegall2004-12-131-2/+2
| | | | | | | level at the same time git-svn-id: http://piwigo.org/svn/trunk@645 68402e56-0260-453c-a942-63ccdbb3a9ee
* - reformat create_navigation_bar functionplegall2004-12-131-37/+37
| | | | git-svn-id: http://piwigo.org/svn/trunk@644 68402e56-0260-453c-a942-63ccdbb3a9ee
* - refresh paginated navigation bar : displays First and Last, displaysplegall2004-12-133-23/+97
| | | | | | | | | 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
* - in admin menu, status option for categories is not "permissions" butplegall2004-12-1224-178/+299
| | | | | | | | | | | | | | | | | | "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
* - change the category levels separator to a "superior to" to be the same asplegall2004-12-061-1/+5
| | | | | | | | | 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
* - possibility to set an element as representant of its categoriesplegall2004-12-063-0/+79
| | | | git-svn-id: http://piwigo.org/svn/trunk@640 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fixed : when a picture is linked to more than 1 category, it was shownplegall2004-12-061-3/+3
| | | | | | | | monre than once in picture.php for special categories like most visited, search, etc... git-svn-id: http://piwigo.org/svn/trunk@639 68402e56-0260-453c-a942-63ccdbb3a9ee
* - ordering function moved from admin/update to admin/include/functionplegall2004-12-053-37/+39
| | | | | | | - remote_site uses ordering and update_global_rank git-svn-id: http://piwigo.org/svn/trunk@638 68402e56-0260-453c-a942-63ccdbb3a9ee
* if all links between a category and elements have disappeared, no line isplegall2004-12-051-1/+10
| | | | | | | | returned by the update_category query but the update must be done with nb_images = 0 and date_last = NULL git-svn-id: http://piwigo.org/svn/trunk@637 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fix on typoplegall2004-12-051-6/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@636 68402e56-0260-453c-a942-63ccdbb3a9ee
* - on picture.php, related categories under the element are displayed inplegall2004-12-0510-298/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - search modified : possible to partially fill the date, allwords areplegall2004-12-053-121/+219
| | | | | | | | 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
* - shows the element representing a non empty category in cat_modifyplegall2004-12-045-22/+67
| | | | | | | | | | | - 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
* - change "->" in a beautiful arrow :-) for categories level in adminplegall2004-12-046-118/+201
| | | | | | | | | | | | | | | - 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
* - User control panel update (user side)gweltas2004-12-0318-869/+317
| | | | | | | | | - 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
* Update of the user preferences panel.gweltas2004-12-029-135/+125
| | | | | | | Deletion of some PREFIX_TABLE occurences git-svn-id: http://piwigo.org/svn/trunk@630 68402e56-0260-453c-a942-63ccdbb3a9ee
* Search form updategweltas2004-12-027-68/+75
| | | | git-svn-id: http://piwigo.org/svn/trunk@629 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug corrected when moving categories at the top levelplegall2004-11-301-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@628 68402e56-0260-453c-a942-63ccdbb3a9ee
* no PHP error if form submitted while no category selectedplegall2004-11-301-2/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@627 68402e56-0260-453c-a942-63ccdbb3a9ee
* favorite category accessibleplegall2004-11-301-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@626 68402e56-0260-453c-a942-63ccdbb3a9ee
* - update_global_rank new function : far more intelligent update. Take intoplegall2004-11-304-201/+218
| | | | | | | | | | | | | | | | | | account the possiblity to have category tree not in category id ascending order - update global_rank when moving categories among the same parent - new function mass_updates : depending on MySQL version, create a temporary table, make one big insert and one big update by joining 2 tables (4.0.4 or above) or make 1 update per primary key - function update_category improved for representative_picture_id check : only one useful query (equivalent to NOT EXISTS) instead of N (N = number of categories) queries git-svn-id: http://piwigo.org/svn/trunk@625 68402e56-0260-453c-a942-63ccdbb3a9ee
* date_metadata_update between simple quotesplegall2004-11-301-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@624 68402e56-0260-453c-a942-63ccdbb3a9ee
* New template for group managementgweltas2004-11-2610-334/+235
| | | | | | | | French translation for synchronization Minor update of the css file git-svn-id: http://piwigo.org/svn/trunk@623 68402e56-0260-453c-a942-63ccdbb3a9ee
* Categories option management update.gweltas2004-11-258-118/+79
| | | | | | | | | - 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
* New ergonomic form for search queries.gweltas2004-11-257-539/+288
| | | | git-svn-id: http://piwigo.org/svn/trunk@621 68402e56-0260-453c-a942-63ccdbb3a9ee
* distinction between categories' admin menus and others (comments forplegall2004-11-242-12/+12
| | | | | | | categories is not the same as users comments) git-svn-id: http://piwigo.org/svn/trunk@620 68402e56-0260-453c-a942-63ccdbb3a9ee
* report correction on "only first IPTC keyword" retrieved in remote sitesplegall2004-11-241-14/+42
| | | | | | | elements listing creator git-svn-id: http://piwigo.org/svn/trunk@619 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug on Windows for date 1970-01-01 : Windows refuses to work with 1970-01-01plegall2004-11-241-1/+3
| | | | | | | 00:00:00, "he" thinks it's prior to midnight... Let's force midday ! git-svn-id: http://piwigo.org/svn/trunk@618 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug corrected for multipages view on list special categoryplegall2004-11-241-0/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@617 68402e56-0260-453c-a942-63ccdbb3a9ee
* changing name of key from none to history_i1plegall2004-11-241-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@616 68402e56-0260-453c-a942-63ccdbb3a9ee
* Drop of PRIMARY Key on history table.gweltas2004-11-241-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@615 68402e56-0260-453c-a942-63ccdbb3a9ee
* - global categories' options : instead of N horizontal tabs on a singleplegall2004-11-2316-472/+346
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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