| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Redirect it's only done by the html method but must be done too with http method.
Creation of two functions redirect_http and redirect_html.
Function redirect calls one or other functions follow $conf or parameters.
$conf value are true on BSF, in order to check modifications.
Must be set to false on RC.
git-svn-id: http://piwigo.org/svn/trunk@1649 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
| |
A recent picture is a last picture but a last picture is not a recent picture.
A recent category is a last category but a last category is not a recent category.
So it's a proposition about last is not like recent.
Improvement of string including decimal number in order to concord singular and plural.
Now, function l10n_dec must be used.
git-svn-id: http://piwigo.org/svn/trunk@1637 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
Fixed: Error when thumbnail directory not exists
Fixed: Apply current translation norme
Fixed: Improvement style sheet (like other PWG sheet)
git-svn-id: http://piwigo.org/svn/trunk@1631 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
or get_thumbnail_path
git-svn-id: http://piwigo.org/svn/trunk@1609 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
get_thumbnail_path or get_thumbnail_url (these allow plugins to override)
- plugins can hook into index thumbnail display (items only so far)
git-svn-id: http://piwigo.org/svn/trunk@1596 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
improvement: can retrieve template output outside the template
git-svn-id: http://piwigo.org/svn/trunk@1589 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@1578 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
used in the code (generates mysql errors on session garbage collector)
- fix auto_login (die mysql when session timed out, but user has remember)
- when a user reconnects from identification.php, the remember cookie was not
deleted
- fix all redirect warnings/errors (many changes - mainly in common.inc.php
and user.inc.php)
- reduced $conf['remember_me_length'] to 60 days, because now at each auto
login the 60 days countdown restarts
git-svn-id: http://piwigo.org/svn/trunk@1568 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
perfectly with the auto_login)
git-svn-id: http://piwigo.org/svn/trunk@1567 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
feature 562: possibility to log page visits for any combination of
administrators/users/guests
git-svn-id: http://piwigo.org/svn/trunk@1565 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
fix line too long
git-svn-id: http://piwigo.org/svn/trunk@1510 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@1509 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
Simple redirect.tpl in template-common
Simplification of function redirect()
git-svn-id: http://piwigo.org/svn/trunk@1508 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@1487 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@1400 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
svn merge -r1466:1465 .
svn merge -r1463:1462 .
git-svn-id: http://piwigo.org/svn/trunk@1376 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
Fix: comment for str_translate_to_ascii7bits fucntion must be split into two lines
git-svn-id: http://piwigo.org/svn/trunk@1364 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
Need to simplify and delete files not needed
git-svn-id: http://piwigo.org/svn/trunk@1363 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@1361 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
when we use the function redirect
svn merge -r1296:1297 from branch 1.6 into trunk
git-svn-id: http://piwigo.org/svn/trunk@1298 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
Removed calls to htmlentities()
improvement : charset added in HTTP header so browser's automatic encoding works even if httpd
is not netto latin1
revert to original l10n() : use of htmlentities() didn't solve bug in IE tooltips
git-svn-id: http://piwigo.org/svn/trunk@1290 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
other little things)
git-svn-id: http://piwigo.org/svn/trunk@1284 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameter die_on_sql_error (upgrade.php and install/upgrade_*.php not
concerned on BSF)
partial merge -r1208:1209 from branch-1_6 to trunk (only bug fix on
incorrect insertion of complex upgrade identifiers)
deletions: upgrade.php and all install/upgrade_*.php because these script
are never up to date on BSF. Anyway, they are only required on a stable
branch.
git-svn-id: http://piwigo.org/svn/trunk@1221 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
o Remove "background treatment"
o Add button "Continue treatment"
git-svn-id: http://piwigo.org/svn/trunk@1177 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
o Remove Apache functions
o Show redirect message on 2 lines
git-svn-id: http://piwigo.org/svn/trunk@1160 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
o Change NBM configuration in order to avoid lose treatment action when occurred timeout
o Add news redirect/repost functions
git-svn-id: http://piwigo.org/svn/trunk@1156 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
improvement: urls for category can be now id and category names (instead
of only id)
improvement: added 2 indexes (#image_tag.tag_id and #tags.url_name)
improvement: identification, register, search pages automatically set focus
on first form input
improvement: focus, nofocus css class now valid for all forms
fix: category comment is tag stripped in category_subcats.inc.php
(otherwise issues with html/scripts inside category comment)
git-svn-id: http://piwigo.org/svn/trunk@1131 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
improve: add function access_denied called when check_status or
check_restrictions fail
fix: french language correction
fix: remove php warnings in clean_iptc_value
split search functions into include/functions_search.inc.php
git-svn-id: http://piwigo.org/svn/trunk@1113 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
split url functions from functions.inc.php to functions_url.inc.php
git-svn-id: http://piwigo.org/svn/trunk@1109 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
raw_l10n and returns a string with
all html entities transcoded. We should use l10n everywere instead of $lang['...']
git-svn-id: http://piwigo.org/svn/trunk@1102 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@1095 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
| |
removal, file name for picture and .php extension removal)
fix: added unsigned for column in install sql - for the sake of uniformization
change: add_url_param is now add_url_params and takes an array as parameter
instead of a string
git-svn-id: http://piwigo.org/svn/trunk@1094 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
URL rewriting: works with image file instead of image id (change
make_picture_url to generate urls with file name instead of image id)
URL rewriting: completely works with category/best_rated and
picture/best_rated/534 (change 'category.php?' to 'category' in make_index_url
and 'picture.php?' to 'picture' in make_picture_url to see it)
fix: picture category display in upper bar
fix: function rate_picture variables and use of the new user type
fix: caddie icon appears now on category page
fix: admin element_set sql query was using storage_category_id column
(column has moved to #image_categories)
fix: replaced some old $_GET[xxx] with $page[xxx]
fix: pictures have metadata url (use ? parameter - might change later)
git-svn-id: http://piwigo.org/svn/trunk@1092 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
for urls without ? (added functions get_root_url and add_url_param)
git-svn-id: http://piwigo.org/svn/trunk@1090 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
$page['chronology_date']. $page['chronology'] is an array with 'field',
'style' and 'view' keys. This is step 1.
git-svn-id: http://piwigo.org/svn/trunk@1086 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deletion: argument link_class (HTML class of links) in function
create_navigation_bar was removed, useless since branch 1.5.
bug fixed: rate_items are now a configuration parameter (set in config file)
modification: new functions library functions_rate.inc.php to reduce
picture.php length.
bug fixed: categories were never expanded in the menu since clean URLs.
bug fixed: changing pictures sorting order in main page was always
rederecting to root category.
git-svn-id: http://piwigo.org/svn/trunk@1084 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
you now have category.php?/search/123/start-42. Functions make_index_url and
make_picture_url build these new URLs. Functions duplicate_picture_url and
duplicate_index_url provide shortcuts to URL creation. The current main page
page is still category.php but this can be modified easily in make_index_url
function. In this first version, no backward compatibility. Calendar
definition in URL must be discussed with rvelices.
improvement: picture.php redesigned. First actions like "set as
representative" or "delete a comment" which all lead to a redirection. Then
the page (the big mess) and includes of new sub pages to manage specific
parts of the page (metadata, user comments, rates).
new: with the cleaner URL comes a new terminology. $page['cat'] doesn't
exist anymore. $page['section'] is among 'categories', 'tags' (TODO),
'list', 'most_seen'... And sub parameters are set : $page['category'] if
$page['section'] is "categories". See URL analyse in
include/section_init.inc.php for details.
git-svn-id: http://piwigo.org/svn/trunk@1082 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
| |
o Change status of table #_user_infos
o Don't send password to webmaster, guest, generic
Next Step:
o Functions Check of status
o Restricted Access for user generic
git-svn-id: http://piwigo.org/svn/trunk@1070 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
Wordpress in jillij template.
git-svn-id: http://piwigo.org/svn/trunk@1048 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@1035 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@1033 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
upgrade_feed.php are now made by dedicated function
get_available_upgrade_ids.
bug fixed: after an installation, you had to play all available upgrades,
which was wrong. install.php inserts informations related to all available
upgrades at installation time. Thus avoiding automatic upgrades.
git-svn-id: http://piwigo.org/svn/trunk@1027 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New function get_webmaster_mail_address used in include/page_tail.php and
include/functions_mail.inc.php.
Nothing else than functions in include/functions*, init_conf_mail() was
useless in include/functions_mail.inc.php because $conf_mail is only used in
function pwg_mail.
bug fixed: files include/functions_mail.inc.php and
include/functions_notification.inc.php had been commited in DOS format! Unix
file format is the only file format authorized.
git-svn-id: http://piwigo.org/svn/trunk@1021 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
| |
improvement 82: Viewing pictures from remote galleries does not check anymore
for the high pictures (existence flag added to create_listing_file and db)
correction: link element in picture is in the head instead of body (w3c spec)
correction: in profile.php the current template was not selected by default
git-svn-id: http://piwigo.org/svn/trunk@1020 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
improvement: in category.php, an icon opening a popup display the list of
search rules.
modification: function get_search_array is responsible of search rules
retrieving from database. This function is called from get_sql_search_clause
and from search_rules.php
modification: ability to search multiple authors. Warning: this version of
search tool can't search author names including any blank space.
git-svn-id: http://piwigo.org/svn/trunk@1015 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
- bug 268 fixed: display debug content correctly
git-svn-id: http://piwigo.org/svn/trunk@1012 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- new table #search to store search rules associated to a search id.
- search rules are not passed through GET anymore, the search array build in
search.php is serialized in #search table, so no need to rebuild it in
function include/functions_category.inc.php::category_initialize
- search array build code is improved (efficiency and layout) in search.php
- SQL related to search is build in a dedicated function
include/functions::get_sql_search_clause
- direct search author:<...>, date_avalaible:<...>, date_creation:<...>,
keywords:<...> from picture.php are not available anymore. They will come
back later, with improvement (new design). Same for date_*:<> in calendar
calendar category.
git-svn-id: http://piwigo.org/svn/trunk@1008 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
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
|