aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - update_global_rank new function : far more intelligent update. Take intoplegall2004-11-302-165/+209
| | | | | | | | | | | | | | | | | | 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-232-22/+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
* - optimization : representative picture becomes mandatory for a non emptyplegall2004-11-201-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | category. So, at each insertion in images table for a category, a new representative element is elected (by rand). This must be improved by not reelcting a random picture admin set an element as representative manually. - optimization : recent cats page only needs 2 queries instead of 3*N (N categories to display). The bad point is that it shows representative element of recent cat and not a random element among recently added. - optimization : empty cats page only needs 1 query per non empty sub category instead of... a lot. For each sub category, PhpWebGallery shows the representative element of a category chosen randomly in sub cats. Thus, get_non_empty_subcat_ids and get_first_non_empty_cat_id becomes obsolete. - new function get_cat_display_name_cache to show category names with a caching for all gallery categories names. This function, to the contrary of get_cat_display_name shows names in the correct order... git-svn-id: http://piwigo.org/svn/trunk@610 68402e56-0260-453c-a942-63ccdbb3a9ee
* - images.path column added to reduce database accessplegall2004-11-161-0/+47
| | | | | | | | | | - function mass_inserts moved from admin/remote_sites.php to admin/include/function.php - function mass_inserts used in admin/update.php git-svn-id: http://piwigo.org/svn/trunk@606 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
* verifies whether the file has a picture extension before trying getimagesize ↵plegall2004-11-091-1/+2
| | | | | | function git-svn-id: http://piwigo.org/svn/trunk@597 68402e56-0260-453c-a942-63ccdbb3a9ee
* update headers to comply with GPLz0rglub2004-11-063-12/+12
| | | | 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-302-47/+47
| | | | | | | | | 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
* replacement of PhpWebGallery folder representative by pwg_representative andz0rglub2004-10-091-4/+5
| | | | | | | high by pwg_high git-svn-id: http://piwigo.org/svn/trunk@563 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
* directories "high" and "representative" are not returned anymore asz0rglub2004-10-021-4/+7
| | | | | | | potential category directories git-svn-id: http://piwigo.org/svn/trunk@540 68402e56-0260-453c-a942-63ccdbb3a9ee
* -First draft of history displaygweltas2004-09-261-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@537 68402e56-0260-453c-a942-63ccdbb3a9ee
* deletion of rate lines when deleting an elementz0rglub2004-09-181-0/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@523 68402e56-0260-453c-a942-63ccdbb3a9ee
* verification of number of elements to delete in the function and not beforez0rglub2004-09-121-4/+11
| | | | | | | calling function (for delete_elements and delete_categories) git-svn-id: http://piwigo.org/svn/trunk@521 68402e56-0260-453c-a942-63ccdbb3a9ee
* simplier display of update result :z0rglub2004-08-291-3/+12
| | | | | | | | | | | - number of new categories - number of new elements - number of deleted categories - number of deleted elements - only errors are fully listed git-svn-id: http://piwigo.org/svn/trunk@498 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Deletion of obsolete functions in the administrative partgweltas2004-08-251-158/+0
| | | | | | | - Repair of virtual category management git-svn-id: http://piwigo.org/svn/trunk@496 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
* - deletion functions updated : no needs to call delete_elements if noz0rglub2004-08-211-61/+93
| | | | | | | | | | | | | | element must be deleted - improvement of function update_category : the function is not recursive anymore, but still works on all sub-categories thanks to a SQL query on uppercats database field. Less queries : for updating N categories, only (1+N) SQL queries compared to (3*N) in the previous revision. - function my_error added (debug purpose) git-svn-id: http://piwigo.org/svn/trunk@491 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
* - non picture files managementz0rglub2004-08-051-87/+128
| | | | | | | | | | - refactoring - function delete_category and delete_element now runs with an array of ids in parameters instead of a single id. git-svn-id: http://piwigo.org/svn/trunk@467 68402e56-0260-453c-a942-63ccdbb3a9ee
* table user_category droppedz0rglub2004-05-281-173/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@423 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Template migrationgweltas2004-03-261-11/+9
| | | | | | | | - Admin Control Panel migration - Category management git-svn-id: http://piwigo.org/svn/trunk@394 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Template migrationgweltas2004-03-202-14/+11
| | | | | | | | - Admin Control Panel migration - Language migration git-svn-id: http://piwigo.org/svn/trunk@393 68402e56-0260-453c-a942-63ccdbb3a9ee
* Split of langage filesgweltas2004-02-192-8/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@364 68402e56-0260-453c-a942-63ccdbb3a9ee
* header global refactoringz0rglub2004-02-112-35/+51
| | | | git-svn-id: http://piwigo.org/svn/trunk@362 68402e56-0260-453c-a942-63ccdbb3a9ee
* Template modificationgweltas2004-02-071-1/+1
| | | | | | | Split of the french language file git-svn-id: http://piwigo.org/svn/trunk@351 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge of the 1.3.1 releasegweltas2004-02-022-25/+600
| | | | | | | | | 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
* define( CONSTANT, 'value' ) becomes define( "CONSTANT", 'value')z0rglub2003-11-031-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@231 68402e56-0260-453c-a942-63ccdbb3a9ee
* Modifying ./include/isadmin.inc.php in ./admin/include/isadmin.inc.php since ↵z0rglub2003-11-031-6/+6
| | | | | | admin.php has moved to the PhpWebGallery root directory git-svn-id: http://piwigo.org/svn/trunk@226 68402e56-0260-453c-a942-63ccdbb3a9ee
* If there is no date given in the form, function check_date_format doesn'tz0rglub2003-10-111-1/+1
| | | | | | | send a warning git-svn-id: http://piwigo.org/svn/trunk@196 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug in the deletion of favorites : even if the category was authorized, thez0rglub2003-10-041-1/+1
| | | | | | | favorites where deleted for the user git-svn-id: http://piwigo.org/svn/trunk@167 68402e56-0260-453c-a942-63ccdbb3a9ee
* A category can have its representative picturez0rglub2003-09-191-1/+28
| | | | git-svn-id: http://piwigo.org/svn/trunk@133 68402e56-0260-453c-a942-63ccdbb3a9ee
* Virtual categories managementz0rglub2003-09-071-7/+14
| | | | git-svn-id: http://piwigo.org/svn/trunk@68 68402e56-0260-453c-a942-63ccdbb3a9ee
* Multi categories for the same picturez0rglub2003-08-301-6/+142
| | | | git-svn-id: http://piwigo.org/svn/trunk@61 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve the header of each filez0rglub2003-08-242-4/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@57 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-07-211-1/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@26 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-07-012-13/+54
| | | | git-svn-id: http://piwigo.org/svn/trunk@21 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-05-271-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@19 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-05-181-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@14 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-05-171-6/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@13 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-05-171-165/+188
| | | | git-svn-id: http://piwigo.org/svn/trunk@12 68402e56-0260-453c-a942-63ccdbb3a9ee
* Initial revisionz0rglub2003-05-093-0/+236
git-svn-id: http://piwigo.org/svn/trunk@2 68402e56-0260-453c-a942-63ccdbb3a9ee