aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: replaced UPDATE ... LEFT JOIN for compatibility with MySql 3rvelices2006-03-011-47/+55
| | | | git-svn-id: http://piwigo.org/svn/trunk@1060 68402e56-0260-453c-a942-63ccdbb3a9ee
* request 290: replace function get_themes name to avoid redeclaration fromplegall2006-02-201-11/+13
| | | | | | | Wordpress in jillij template. git-svn-id: http://piwigo.org/svn/trunk@1048 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 288: manage rates for administratorsrvelices2006-02-151-5/+20
| | | | git-svn-id: http://piwigo.org/svn/trunk@1042 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
* [NBM] Step 2: Add new table user_mail_notification (update, install, ↵rub2006-02-061-8/+16
| | | | | | | | constants, delete user + Correction delete user (table user_feed missing, table sessions must be removed) git-svn-id: http://piwigo.org/svn/trunk@1028 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge branch 1.5 r1000:1001 into BSF: nikrou2006-01-171-0/+1
| | | | | | not include .svn directory in the candidates directories for update git-svn-id: http://piwigo.org/svn/trunk@1006 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
* - new: mass virtual categories movement manager inplegall2005-10-071-44/+91
| | | | | | | Administration>Categories>Move screen. git-svn-id: http://piwigo.org/svn/trunk@881 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 160 fixed: (part one of the bug) hard coded column name of users tableplegall2005-10-051-1/+1
| | | | | | | | | | | | | | | | | | had to be replaced by the configurable column name. This correction was made by a full rewrite of filtered users list management. The other bug (not submited in bugtracker) that needed this rewrite was that when you choose "all" as target for mass users modification, you expected to apply modification on filtered users, not all users. - bug 160 fixed: (part two of the bug) hard coded column name for primary key in mass_updates function. - modification: configuration parameter users_page is now located in the correct file (include/config_default.inc.php instead of admin/user_list.php) git-svn-id: http://piwigo.org/svn/trunk@880 68402e56-0260-453c-a942-63ccdbb3a9ee
* - improvement: add information about how to use an external table for usersplegall2005-09-171-1/+0
| | | | | | | | | | | | | - bug fixed: uses user configuration fields for filtering in admin/user_list - bug fixed: don't try to create feeds automatically during sync_users (when line in user_infos is missing) - bug fixed: create_user_infos function gives status admin if user id matches $conf['webmaster_id'] git-svn-id: http://piwigo.org/svn/trunk@865 68402e56-0260-453c-a942-63ccdbb3a9ee
* - improvement: long localized messages are in HTML files instead of $langplegall2005-09-142-124/+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-032-14/+31
| | | | | | | | | | | | | | | | | | | 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
* - modification : RSS feed work only with a given feed identifier. Thus weplegall2005-08-191-0/+1
| | | | | | | | | | can avoid fixed frequency notification to concentrate on variable frequency notification, which is much more interesting. To do this, feeds have moved to a dedicated table allowing each user (including guest user) to have more than on feed. git-svn-id: http://piwigo.org/svn/trunk@833 68402e56-0260-453c-a942-63ccdbb3a9ee
* - improvement : screen admin/picture_modify rewritten. Presentation copiedplegall2005-08-182-18/+44
| | | | | | | | | | | | | | | | | | | | | | 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
* - new : maintenance screen in administration. There you can updateplegall2005-08-131-40/+326
| | | | | | | | | | | | | | | | | | | | | | | | | categories informations (number of images, date of the last added element), update images informations (path, average rate), purge obsolete sessions, purge history. - new : ability to have random representative for categories. This configuration parameter is set to false by default. - new : ability to set an element as representative of a category without belonging to the category. Thus, administrator can choose representative even for empty categories. - improvement : semantically superior design for category edition screen by regrouping fields in fieldsets. The improved screen contains action buttons as in category list screen. - new : ability to move a virtual category (ie change its parent category). - bug fixed : the sync_users function checks all user children tables (access, cache, group association). git-svn-id: http://piwigo.org/svn/trunk@809 68402e56-0260-453c-a942-63ccdbb3a9ee
* - new : external authentication in another users table. Previous users tableplegall2005-08-081-162/+81
| | | | | | | | | | | | | | | | | | | | | | | | | is divided between users (common properties with any web application) and user_infos (phpwebgallery specific informations). External table and fields can be configured. - modification : profile.php is not reachable through administration anymore (not useful). - modification : in profile.php, current password is mandatory only if user tries to change his password. Username can't be changed. - deletion : of obsolete functions get_user_restrictions, update_user_restrictions, get_user_all_restrictions, is_user_allowed, update_user - modification : $user['forbidden_categories'] equals at least "-1" so that category_id NOT IN ($user['forbidden_categories']) can always be used. - modification : user_forbidden table becomes user_cache so that not only restriction informations can be stored in this table. git-svn-id: http://piwigo.org/svn/trunk@808 68402e56-0260-453c-a942-63ccdbb3a9ee
* - elements batch management : element_set page becomes the frontend toplegall2005-04-161-0/+8
| | | | | | | | | | | | | | | | | 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
* - 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
* - deletion of calculated permissions when deleting a userplegall2005-01-081-1/+8
| | | | | | | - taking into account locked categories during permissions calculation git-svn-id: http://piwigo.org/svn/trunk@680 68402e56-0260-453c-a942-63ccdbb3a9ee
* all headers adapted to new year 2005, happy new yearplegall2005-01-073-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@675 68402e56-0260-453c-a942-63ccdbb3a9ee
* - upgrade scripts added for releases 1.3.xplegall2005-01-061-38/+40
| | | | | | | | | | | | | | | | | | | | | | | | | - 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
* - Group permission deliverygweltas2005-01-061-1/+1
| | | | | | | - Reorganisation of common.lang.php git-svn-id: http://piwigo.org/svn/trunk@671 68402e56-0260-453c-a942-63ccdbb3a9ee
* - French translationgweltas2005-01-041-28/+0
| | | | | | | - Deletion of the eCard template entry git-svn-id: http://piwigo.org/svn/trunk@670 68402e56-0260-453c-a942-63ccdbb3a9ee
* - user permissions ask update at each admin page generation. Tableplegall2004-12-252-92/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - replacement of PREFIX_TABLE constant in delete_user functionplegall2004-12-202-23/+27
| | | | | | | | | | | | | | | | | | | | | - 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
* - bug fixed : in admin/cat_list, next_rank cant' be calculted and query toplegall2004-12-181-52/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - in admin menu, status option for categories is not "permissions" butplegall2004-12-121-1/+1
| | | | | | | | | | | | | | | | | | "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
* - ordering function moved from admin/update to admin/include/functionplegall2004-12-051-0/+37
| | | | | | | - 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
* - on picture.php, related categories under the element are displayed inplegall2004-12-051-40/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - shows the element representing a non empty category in cat_modifyplegall2004-12-041-6/+35
| | | | | | | | | | | - 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-041-0/+102
| | | | | | | | | | | | | | | - 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
* Update of the user preferences panel.gweltas2004-12-021-3/+2
| | | | | | | Deletion of some PREFIX_TABLE occurences git-svn-id: http://piwigo.org/svn/trunk@630 68402e56-0260-453c-a942-63ccdbb3a9ee
* - 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