aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_metadata.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - bug 471: apostrophe lors de l'ajout d'un tag (different behavior depending onrvelices2007-01-111-14/+8
| | | | | | | | | magic_quotes_gpc) - metadata synchronization correction: iptc keywords were MySql escaped 2 times when synchronizing from site manager, but only once when synchronizing one image git-svn-id: http://piwigo.org/svn/trunk@1717 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r1221:1222 from branch 1.6 to trunk (bug 339)plegall2006-04-201-0/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@1223 68402e56-0260-453c-a942-63ccdbb3a9ee
* typo fixed: forgotten a "$" on $tags_of array when calling set_tags_of.plegall2006-04-051-6/+8
| | | | | | | modification: "." and ";" are also supported as IPTC keywords separator. git-svn-id: http://piwigo.org/svn/trunk@1127 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature deleted: code for categories link was too complicated for such aplegall2006-04-041-3/+1
| | | | | | | | | | | simple fature. Replaced by static association. Links are not persistent anymore. modification removed: #image_category.is_storage replaced by #images.storage_category_id as in branche 1.5.. git-svn-id: http://piwigo.org/svn/trunk@1121 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: tags replace keywords. Better data model, lessplegall2006-04-021-6/+28
| | | | | | | | limitations. Each image can be associated to as many tag as needed. Tags can contain non ASCII characters. Oriented navigation with tags by association. git-svn-id: http://piwigo.org/svn/trunk@1119 68402e56-0260-453c-a942-63ccdbb3a9ee
* new feature: source/destination links between categories. Will we keep thisplegall2006-03-041-1/+3
| | | | | | | | | | | | | | | | | feature? Code is complicated and very few people will understand how it works... modification: #images.storage_category_id replaced by #image_category.is_storage improvement: many code refactoring to improve readibility improvement: virtual category creation code was moved to a dedicated function in order to be called from admin/cat_list.php and admin/cat_modify.php (create a new destination category) git-svn-id: http://piwigo.org/svn/trunk@1064 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remake of Remote sites and Synchronize: rvelices2006-02-081-2/+4
| | | | | | | | | | | | | | | - synchronization for remote and local sites are done by the same code - remote sites can update metadata now (not before) - bug 279 - fixes bug 82: has_high column - improve feature 280: user sort by filename - fix path to template mimetypes icons - bug 284: session cookie lifetime, deletion on logout and corrected issue when db upgrades were missing git-svn-id: http://piwigo.org/svn/trunk@1029 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 174 fixed: use_exif_mapping configuration parameter was not used toplegall2005-10-191-6/+24
| | | | | | | list database fields to update from EXIF values. git-svn-id: http://piwigo.org/svn/trunk@903 68402e56-0260-453c-a942-63ccdbb3a9ee
* - improvement: long localized messages are in HTML files instead of $langplegall2005-09-141-24/+0
| | | | | | | | | | | | | | | | | | | | array. This is the case of admin/help and about pages. - deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists, check_date_format, date_convert, get_category_directories, get_used_metadata_list, array_remove, pwg_write_debug, get_group_restrictions, get_all_group_restrictions, is_group_allowed, style_select, deprecated_getAttribute). - new: many new contextual help pages to replace descriptions previously included in pages. - modification: reorganisation of language files. Deletion of unused language keys, alphabetical sort. No faq.lang.php anymore (replaced by help.html). Only done for en_UK.iso-8859-1. git-svn-id: http://piwigo.org/svn/trunk@862 68402e56-0260-453c-a942-63ccdbb3a9ee
* - modification : less configuration parameters in administrationplegall2005-09-031-13/+30
| | | | | | | | | | | | | | | | | | | screen. These parameters are move to include/config_default.inc.php. - new : ability to add a single picture to caddie from picture.php - new : contextual help, only a few pages are available. - new : ability to delete users from admin/user_list - modification : reorganization of configuration file - new : configuration parameter use_exif_mapping - improvement : MOD hidemail added to standard git-svn-id: http://piwigo.org/svn/trunk@858 68402e56-0260-453c-a942-63ccdbb3a9ee
* - improvement : screen admin/picture_modify rewritten. Presentation copiedplegall2005-08-181-0/+24
| | | | | | | | | | | | | | | | | | | | | | from admin/cat_modify : fieldsets regroup fields. Ability to synchronize metadata for the displayed item. - bug 110 fixed : "return to element view from element edition fails depending on permissions". If a reachable (for the connected admin) category is available, a "jump to" link is displayed, by default, using the category given in URL. - bug fixed : in mass_updates function, the first item of $fields['update'] has not always 0 for id (as in any array). - modification : get_keywords function understands spaces as separator, allow less than 3 chars keywords, allow quotes. - new : ability to allow HTML in picture or category description (false by default) git-svn-id: http://piwigo.org/svn/trunk@825 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fixed : instead of showing a blank page when trying to use Exif tagsplegall2005-02-131-0/+5
| | | | | | | read function, display a message telling the problem git-svn-id: http://piwigo.org/svn/trunk@738 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fixed : no need to wrap iptc values into quotes, they are added byplegall2005-02-081-1/+1
| | | | | | | mass_insert git-svn-id: http://piwigo.org/svn/trunk@730 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fixed : only fields corresponding to the metadata synchronization areplegall2005-01-171-3/+12
| | | | | | | updated (ie : no update of keywords if use_iptc is off) git-svn-id: http://piwigo.org/svn/trunk@702 68402e56-0260-453c-a942-63ccdbb3a9ee
* all headers adapted to new year 2005, happy new yearplegall2005-01-071-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@675 68402e56-0260-453c-a942-63ccdbb3a9ee
* - user permissions ask update at each admin page generation. Tableplegall2004-12-251-42/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - update_global_rank new function : far more intelligent update. Take intoplegall2004-11-301-132/+17
| | | | | | | | | | | | | | | | | | 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
* - global categories' options : instead of N horizontal tabs on a singleplegall2004-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* IPTC mapping done in include/config.inc.phpplegall2004-11-101-7/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@600 68402e56-0260-453c-a942-63ccdbb3a9ee
* update headers to comply with GPLz0rglub2004-11-061-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@593 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug correction : if no category found, no element to search in get_filelistz0rglub2004-11-021-0/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@590 68402e56-0260-453c-a942-63ccdbb3a9ee
* - function mysql_query replaced by pwg_query : the same with debuggingz0rglub2004-10-301-10/+10
| | | | | | | | | features - by default, DEBUG is set to 0 (off) git-svn-id: http://piwigo.org/svn/trunk@587 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug correction : only local categories can be metadata synchronizedz0rglub2004-10-241-4/+12
| | | | git-svn-id: http://piwigo.org/svn/trunk@582 68402e56-0260-453c-a942-63ccdbb3a9ee
* clean keywords string from IPTC fieldsz0rglub2004-10-091-0/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@562 68402e56-0260-453c-a942-63ccdbb3a9ee
* "show metadata" feature added : you can ask to show metadata (EXIF and IPTC)z0rglub2004-08-251-57/+17
| | | | | | | | 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
* - add files metadata support : use info for database fieldsz0rglub2004-08-211-0/+363
- distinction between directories synchronization and metadata synchronization git-svn-id: http://piwigo.org/svn/trunk@486 68402e56-0260-453c-a942-63ccdbb3a9ee