rest of the job : template (yoga), themes (clear dark), and php to handle them
git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
associated category. Just coded the TODO instructions I had let some time
ago.
git-svn-id: http://piwigo.org/svn/trunk@916 68402e56-0260-453c-a942-63ccdbb3a9ee
find the next user identifier has changer to MAX+1.
- improvement: information message when new user added
- bug fixed: language item "Username" used instead of "login".
git-svn-id: http://piwigo.org/svn/trunk@906 68402e56-0260-453c-a942-63ccdbb3a9ee
gallery_description are GUI managed in
Administration>Configuration>General
- bug fixed: configuration parameters (use|show)_(exif|iptc) and
authorize_remembering should have been deleted from config table some time
ago.
git-svn-id: http://piwigo.org/svn/trunk@882 68402e56-0260-453c-a942-63ccdbb3a9ee
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
PHPWG_DEFAULT_LANGUAGE added. New function get_language_filepath always
used to find language files.
git-svn-id: http://piwigo.org/svn/trunk@879 68402e56-0260-453c-a942-63ccdbb3a9ee
disabled". Correction reported from branch 1.4.
- bug 109 fixed : "disabled "best rated" menu item when rating is not
enabled". Correction reported from branch 1.4.
- bug 95 fixed : "default maxwidth and maxheight not registered". Correction
reported from branch 1.4.
git-svn-id: http://piwigo.org/svn/trunk@869 68402e56-0260-453c-a942-63ccdbb3a9ee
character. Correction reported from branch 1.4
- bug fixed: in admin/stats, incorrect SQL queries gave no result.
git-svn-id: http://piwigo.org/svn/trunk@868 68402e56-0260-453c-a942-63ccdbb3a9ee
- 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
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
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
behaviour.
- deletion : admin/search useless
- improvement : in admin/user_list, special behaviour for true/false fields
(expand, show_comments)
- new : gallery_title and gallery_description are displayed at the top of
each page.
- improvement : simplification in HTML for categories menu.
- improvement : standardization of presentation in all public pages
(identification, registration, search, profile, notification, comments,
etc.)
(not in ChangeLog, below this line)
- add forgotten notification.php (should have been added in a previous
commit)
- [template cclear] deletion of useless class .bouton
- [template cclear] for test purpose, new presentation of register page
(using FORM.filter)
- [template cclear] adaptation of admin/group_list from template default
- [template cclear] deletion of obsolete admin/infos_images
- [template cclear] deletion of obsolete admin/search_username
- [template cclear] new icon register.png
git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
notification.
- improvement : on waiting pictures management. Ability to validate all or
reject all in one clic.
- regrouped fields in admin/update
git-svn-id: http://piwigo.org/svn/trunk@849 68402e56-0260-453c-a942-63ccdbb3a9ee
administration. (screen is not shared with public part of the
gallery). Ability to validate all or reject all in one clic.
git-svn-id: http://piwigo.org/svn/trunk@839 68402e56-0260-453c-a942-63ccdbb3a9ee
administration screen element_set_(global|unit), cat_modify, cat_list,
cat_perm.
- new : direct link to admin/cat_modify from category.php.
git-svn-id: http://piwigo.org/svn/trunk@834 68402e56-0260-453c-a942-63ccdbb3a9ee
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
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
group associations are displayed and not taken into account for user
specific permissions.
git-svn-id: http://piwigo.org/svn/trunk@818 68402e56-0260-453c-a942-63ccdbb3a9ee
included page, localized items are managed directly in the template.
- new : sub template admin/double_select is included in templates
admin/cat_options, admin/user_perm and admin/group_perm. I haven't been
able to use it in admin/picture_modify because it seems impossible to have
two instance of the same sub-template without interfering.
- modification : bug 99, in profile manager, no auto submit when changing
language (useless and generate accessibility problem).
- improvement : HTML semantically correct for administration menu, simpler
syntax, less tags, correct tags (dl/dt/dd instead of div/div).
- modification : number of waiting elements and unvalidated comments are
displayed in admin/intro instead of administration menu (with a link to
the dedicated pages).
- deletion : no link to profile from admin/user_list anymore (no need).
git-svn-id: http://piwigo.org/svn/trunk@817 68402e56-0260-453c-a942-63ccdbb3a9ee
list of existing groups and a form to add a new group. Here you can delete
a group, go to permissions management for a group, go to member list of a
group (on admin/user_list with a filter on group).
- modification : admin/user_perm and admin/group_perm are not directly
reachable by the admin menu anymore. Only the user/group list lets you
reach user/group permissions management screen.
git-svn-id: http://piwigo.org/svn/trunk@815 68402e56-0260-453c-a942-63ccdbb3a9ee
informations about PhpWebGallery version, PHP version, MySQL version,
gallery database informations (number of categories, elements, users,
comments). Ability to request phpwebgallery.net for upgrade.
- deletion : of obsolete admin/admin_phpinfo.php page replaced by a link in
introduction page.
git-svn-id: http://piwigo.org/svn/trunk@814 68402e56-0260-453c-a942-63ccdbb3a9ee
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
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
(FeedCreator class v1.7.2). New file feed.php
- new database field : comments.validation_date (datetime). This field is
required for notification feed.
- new database field : users.feed_id (varchar(50)). users.feed_id is an
alias of users.id but is much more complicated to find (50 characters,
figures or letters, case sensitive) : the purpose is to keep it secret (as
far as possible).
- new database field : users.last_feed_check (datetime)
- new database field : users.registration_date (datetime)
- bug fixed : no need to add the (unavailable) session id to install.php in
the installation form.
- modified database field : images.date_available become more precise (date
to datetime). This precision is needed for notification feed.
- new index : comments_i1 (validation_date). Might be useful for feed
queries.
- new index : comments_i2 (image_id). Useful each time you want to have
informations about an element and its associated comments.
- version 9.11 of mysqldump outputs database field names and table names
with backquote "`" (didn't find how to take them off)
git-svn-id: http://piwigo.org/svn/trunk@801 68402e56-0260-453c-a942-63ccdbb3a9ee
This time, it is designed to support better long users list. On this
screen, for a particular category, admin can say which groups and users
are permitted.
git-svn-id: http://piwigo.org/svn/trunk@800 68402e56-0260-453c-a942-63ccdbb3a9ee
sub-categories, elements, edit, jump to, permissions)
- categories management : semantic HTML layout (using common lists)
- categories management : new way to order categories of the same level : a
text field let the admin reorder all categories at once.
git-svn-id: http://piwigo.org/svn/trunk@798 68402e56-0260-453c-a942-63ccdbb3a9ee
$errors and $infos arrays replaced by $page['errors'] and $page['infos'],
special management for admin/update.php (more complex management)
git-svn-id: http://piwigo.org/svn/trunk@792 68402e56-0260-453c-a942-63ccdbb3a9ee
icons (more compact)
- user list : ability to associate to a group or to dissociate from a group
a list of selected users
- user list : ability to set user properties in "batch" mode (a selection of
users at once)
- user list : alternate background color for each line
- (not in ChangeLog) temporary commented code to update current user
language if $_POST['language'] is set (see include/user.inc.php for
details)
git-svn-id: http://piwigo.org/svn/trunk@787 68402e56-0260-453c-a942-63ccdbb3a9ee
- array_fill function available only with PHP >= 4.2.0, replaced by a for
loop
git-svn-id: http://piwigo.org/svn/trunk@775 68402e56-0260-453c-a942-63ccdbb3a9ee
comes back (as in 1.3 branch)
- user list updated : ability to filter list on username
git-svn-id: http://piwigo.org/svn/trunk@768 68402e56-0260-453c-a942-63ccdbb3a9ee
- 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
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
added : ability to manage a set of elements, element by element. This
screen is very close to the existing "infos_images" (which will soon
disappear).
* elements batch management : in screen element_set_global, the display
options are displayed at the top as in element_set_unit
git-svn-id: http://piwigo.org/svn/trunk@763 68402e56-0260-453c-a942-63ccdbb3a9ee
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
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
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
effect than registration date) or by username. On each line, you can
access properties and permissions for the user
git-svn-id: http://piwigo.org/svn/trunk@709 68402e56-0260-453c-a942-63ccdbb3a9ee
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
information is still available)
- when showing result of a simulation, also displays the form with values
given for simulation. Admin can perform another simulation or uncheck the
simulation option
git-svn-id: http://piwigo.org/svn/trunk@691 68402e56-0260-453c-a942-63ccdbb3a9ee
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
- 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
template and in query generation)
- bug on determining whether an element is commentable or not depending on
categories it belongs to
git-svn-id: http://piwigo.org/svn/trunk@668 68402e56-0260-453c-a942-63ccdbb3a9ee
- admin/thumbnail : use new process for finding pictures without
thumbnails. No more recursivity
- admin/thumbnail : only show list of directory containing pictures without
thumbnails, not the whole directory tree
git-svn-id: http://piwigo.org/svn/trunk@665 68402e56-0260-453c-a942-63ccdbb3a9ee
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
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_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 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
- 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
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
"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