Timeline
04/14/12:
- 20:15 Ticket #1835 (G3 3.0.3 redundantly adding extension to uploaded filename (.JPG.jpeg)) created by
-
modules/gallery/models/item.php
public function save()
approximately line 360 of the file has code that checks for an extension on the "data_file", then adds an extension to the "name".
$pi = pathinfo($this->data_file);
if (empty($piextension?)) {
$this->name = "{$this->name}.$extension";
}
This causes files uploaded (tested using gallery remote) to be stored in the "albums" as (for example) ".JPG.jpeg".
Changing the one line to:
$pi = pathinfo($this->name);
resolves this (I believe incorrect) behavior and does not cause any side effects that I have been able to identify.
This problem existed in G3 3.0.2 as well.
- 13:34 Ticket #1834 ([Patch] Fixes for IdentityProvider and LDAP) created by
-
Hi,
I posted this already in the forum:
http://gallery.menalto.com/node/105988
I did some patches to get LDAP working:
gallery3-0001-IdentityProvider?-and-user-Some-fixes.patch.gz
IdentityProvider? and user: Some fixes
* check for $new_provider::admin_user() before sending the event
* if uninstalling $new_provider failed, log error but still try to
install $current_provider again
* changed user_installer::install() to activate() so that user can be
enabled again after failing the first time
ldap-0001-ldap-Several-fixes-and-improvements.patch.gz
ldap: Several fixes and improvements
* changed ldap_installer::install() to activate() so that ldap can be
enabled again after failing the first time
* if some information is not available from ldap server return
"better" values (e.g. no group instead of group = NULL)
* added function Ldap_User::loaded() which is called by user profile
* added configurable admin email address if not given by server
* make ldap work when there is no group management on ldap server
(create local groups for everybody and registered_users) and allow
guest user to be managed by server (configurable guest name)
* require everybody_group and registered_users_group to be in groups
The changes regarding renaming install() to activate() could be superfluous with the other fixes since there should not go anything wrong during install and uninstall. However, they do no harm and are really practical if something does go wrong.
Hope you can make some use of those (I diffed against current git checkouts).
Cheers,
Reklov
04/12/12:
- 23:23 Ticket #1833 (Installer should mention the DB needs to be created) created by
-
When running the installer, the wording should be improved so the user knows that they need to create the DB first and use those credentials for the username/password etc.
04/11/12:
04/10/12:
- 13:50 Ticket #1740 (Can't remove authorized path from Server add) closed by
- fixed: I believe it is fixed in this commit: https://github.com/gallery/gallery3/commit/c567d4fb2beedcd250fe7c3121e8da3ab8dbb164 Reopen if it is not.
04/06/12:
- 15:36 Ticket #1622 (autohide pager when less than 1 page to display) closed by
- wontfix: After looking at this again, I decided that I didn't want to add that functionality to gallery. What I have done is created a patch (attached)that you can apply to your installation to achieve this.
04/01/12:
- 21:58 Changeset [20999] by
-
Updated for 2.3.2
- 21:54 Changeset [20998] by
-
Tag the 2.3.2 release.
- 21:49 Changeset [20997] by
-
Update MANFESTs
- 21:48 Changeset [20996] by
-
Merged from trunk.
- 20:30 Changeset [20995] by
-
Update MANIFESTs
- 20:29 Changeset [20994] by
-
Update to 2.3.2 / 1.3.0.2
- 20:25 Changeset [20993] by
-
Updated for 2.3.2
- 20:10 Changeset [20992] by
-
Switch over to using Joomla's new random number implementation.
- 19:40 Ticket #1832 (Replace mt_rand() with a better crypto library) closed by
- fixed: Fixed in cd46dc479cf975cbb843c360f1240203aebfcb32
- 19:38 Ticket #1832 (Replace mt_rand() with a better crypto library) created by
-
Use the Joomla one instead, it's a little more comprehensive.
- 18:53 Ticket #1831 (Admin > Advanced > Settings filter is buggy) closed by
- fixed: Fixed in f6dac703eceb95ee6af66983e1a77e052446ac2f
- 18:53 Ticket #1831 (Admin > Advanced > Settings filter is buggy) created by
-
Try a different approach.
- 18:37 Ticket #1830 (Comments and User modules do a poor job of validating urls) closed by
- fixed: Fixed in 7ba0b1b75ca2b3ff720f7ddf0e03db882a65353d
- 18:37 Ticket #1830 (Comments and User modules do a poor job of validating urls) created by
-
Let's restrict valid urls to have a http and https prefix in addition.
03/29/12:
- 20:09 Ticket #1829 (Comment module should let you control which feeds are visible) closed by
- fixed: Fixed: fc942aacda07346fa9af04853659eaeac1e766d3 7d66ab2e949bc915f108737f08cac2f9057ef729
- 20:06 Ticket #1829 (Comment module should let you control which feeds are visible) created by
-
subject says it all.
03/28/12:
- 15:15 Ticket #1828 (missing_movie.png copied as jpg in graphics.php) created by
-
The problem is that missing_movie.png is copied as a jpg to the target thumbnails directory. This causes problems if programs expect things that end in jpg to be jpg files.
See: http://gallery.menalto.com/node/105865
03/27/12:
- 13:57 Ticket #1827 (Delete button in Server Add dialog bungles the CSRF token) closed by
- fixed: Fixed by siburny in c567d4fb2beedcd250fe7c3121e8da3ab8dbb164
- 13:56 Ticket #1827 (Delete button in Server Add dialog bungles the CSRF token) created by
03/26/12:
- 18:36 Ticket #1826 (after inactivity timeout logout requires password) created by
-
challenge for password was issued when 'logout' link clicked. apparently was idle for too long. surprise was having to login (reauthenticate) in order to logout.
03/22/12:
- 12:55 Ticket #1825 (Error in Gallery 3: Open new album) created by
-
Error when a open/insert new album:
If you post a request, here's some useful information to include:
Información del servidor
Nombre del servidor: sv33.byethost33.org
Sistema operativo: Linux 2.6.18-374.12.1.el5.lve0.8.54
Apache: Desconocido
PHP: 5.2.17
MySQL: 5.1.52-cll
Carga del servidor: 2,49 2,63 2,64
Toolkit de gráficos: gd
Estadísticas del sitio Gallery
Versión: 3.0.2 (Coollanta)
Albums: 0
Fotos: 0
Kohana_404_Exception [ Page Not Found ]: The page you requested, simple_uploader/app/1, could not be found.
SYSPATH/libraries/Kohana_404_Exception.php[ 42 ]
37 * @throws Kohana_404_Exception 38 * @return void 39 */ 40 public static function trigger($page = NULL) 41 { 42 throw new Kohana_404_Exception($page); 43 } 44 45 /** 46 * Sends 404 headers, to emulate server behavior. 47 *
{PHP internal call} » Kohana_404_Exception_Core::trigger( argumentos )
SYSPATH/core/Event.php[ 208 ] » call_user_func_array( argumentos )
SYSPATH/libraries/Router.php[ 165 ] » Event_Core::run( argumentos )
{PHP internal call} » Router_Core::setup( argumentos )
SYSPATH/core/Event.php[ 208 ] » call_user_func_array( argumentos )
APPPATH/Bootstrap.php[ 61 ] » Event_Core::run( argumentos )
DOCROOT/index.php[ 102 ] » require( argumentos )
Entorno
Ficheros incluidos(105)
DOCROOT/index.php
APPPATH/Bootstrap.php
SYSPATH/core/Benchmark.php
SYSPATH/core/Event.php
SYSPATH/core/Kohana.php
SYSPATH/core/Kohana_Exception.php
MODPATH/gallery/libraries/MY_Kohana_Exception.php
SYSPATH/core/Kohana_Config.php
SYSPATH/libraries/drivers/Config.php
SYSPATH/libraries/drivers/Config/Array.php
APPPATH/config/config.php
SYSPATH/libraries/I18n.php
SYSPATH/libraries/Kohana_PHP_Exception.php
SYSPATH/config/locale.php
MODPATH/gallery/config/locale.php
MODPATH/gallery/helpers/module.php
SYSPATH/libraries/Cache.php
SYSPATH/config/cache.php
MODPATH/gallery/config/cache.php
MODPATH/gallery/libraries/drivers/Cache/Database.php
SYSPATH/libraries/drivers/Cache.php
SYSPATH/libraries/Kohana_Log.php
SYSPATH/config/log.php
SYSPATH/libraries/drivers/Log/File.php
SYSPATH/libraries/drivers/Log.php
MODPATH/gallery/config/log_file.php
SYSPATH/helpers/db.php
SYSPATH/libraries/Database_Builder.php
MODPATH/kohana23_compat/libraries/MY_Database_Builder.php
SYSPATH/libraries/Database.php
MODPATH/gallery/libraries/MY_Database.php
SYSPATH/config/database.php
MODPATH/gallery/config/database.php
DOCROOT/var/database.php
SYSPATH/libraries/Database_Mysqli.php
SYSPATH/libraries/Database_Mysql.php
SYSPATH/libraries/Database_Mysqli_Result.php
SYSPATH/libraries/Database_Result.php
MODPATH/gallery/hooks/init_gallery.php
MODPATH/gallery/helpers/gallery_error.php
SYSPATH/libraries/Input.php
MODPATH/gallery/libraries/MY_Input.php
SYSPATH/helpers/text.php
MODPATH/gallery/libraries/Gallery_I18n.php
SYSPATH/libraries/ORM.php
MODPATH/gallery/libraries/MY_ORM.php
SYSPATH/libraries/ORM_Iterator.php
MODPATH/gallery/models/module.php
SYSPATH/helpers/inflector.php
SYSPATH/config/inflector.php
SYSPATH/config/sql_types.php
MODPATH/gallery/helpers/model_cache.php
MODPATH/gallery/helpers/gallery.php
SYSPATH/helpers/request.php
SYSPATH/config/user_agents.php
MODPATH/gallery/config/user_agents.php
MODPATH/gallery/helpers/gallery_event.php
MODPATH/gallery/helpers/identity.php
MODPATH/gallery/libraries/IdentityProvider.php
MODPATH/user/config/identity.php
MODPATH/user/libraries/drivers/IdentityProvider/Gallery.php
MODPATH/gallery/libraries/drivers/IdentityProvider.php
SYSPATH/libraries/Session.php
SYSPATH/config/session.php
MODPATH/gallery/config/session.php
SYSPATH/libraries/drivers/Session/Database.php
SYSPATH/libraries/drivers/Session.php
SYSPATH/config/cookie.php
MODPATH/gallery/config/cookie.php
SYSPATH/helpers/cookie.php
MODPATH/user/models/user.php
MODPATH/gallery/helpers/theme.php
MODPATH/gallery/helpers/locales.php
MODPATH/user/helpers/user_event.php
MODPATH/comment/helpers/comment_event.php
MODPATH/organize/helpers/organize_event.php
MODPATH/search/helpers/search_event.php
MODPATH/slideshow/helpers/slideshow_event.php
MODPATH/tag/helpers/tag_event.php
MODPATH/g2_import/helpers/g2_import_event.php
SYSPATH/libraries/Router.php
SYSPATH/config/routes.php
MODPATH/gallery/config/routes.php
SYSPATH/helpers/url.php
MODPATH/gallery/helpers/MY_url.php
MODPATH/gallery/helpers/item.php
MODPATH/gallery/models/item.php
MODPATH/gallery/libraries/ORM_MPTT.php
MODPATH/gallery/helpers/random.php
SYSPATH/libraries/Kohana_404_Exception.php
SYSPATH/helpers/arr.php
SYSPATH/messages/kohana/core.php
MODPATH/gallery/views/kohana/error.php
MODPATH/gallery/views/error_admin.html.php
MODPATH/gallery/libraries/SafeString.php
MODPATH/gallery/helpers/gallery_block.php
MODPATH/gallery/libraries/Block.php
SYSPATH/libraries/View.php
MODPATH/gallery/libraries/MY_View.php
MODPATH/gallery/helpers/access.php
DOCROOT/themes/fotox/views/block.html.php
MODPATH/gallery/views/admin_block_platform.html.php
SYSPATH/helpers/html.php
MODPATH/gallery/helpers/MY_html.php
MODPATH/gallery/views/admin_block_stats.html.php
Extensiones cargadas(44)
date
libxml
openssl
pcre
zlib
bcmath
bz2
calendar
ctype
curl
dom
hash
filter
ftp
gd
gettext
session
iconv
standard
json
mbstring
mcrypt
mhash
mime_magic
mysql
SimpleXML
pgsql
pspell
Reflection
imap
SPL
mysqli
soap
sockets
exif
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
cgi-fcgi
$_SESSION
session_id
string(19) "removed for display"
user_agent
string(65) "Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0"
last_activity
integer 1332420776
total_hits
integer 70
_kf_flash_
array(0)
ip_address
string(7) "0.0.0.0"
user
string(59) "User_Model object for "admin" - details omitted for display"
group_ids
array(2) (
0 => string(1) "1"
1 => string(1) "2"
)
group_ids_timeout
integer 1332468276
active_auth_timestamp
integer 1332420378
csrf
string(19) "removed for display"
admin_area_activity_timestamp
integer 1332420645
$_COOKIE
cfduid
string(19) "removed for display"
g3sid
string(19) "removed for display"
$_SERVER
DOCUMENT_ROOT
string(26) "/home/artehist/public_html"
GATEWAY_INTERFACE
string(7) "CGI/1.1"
HTTP_ACCEPT
string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
string(4) "gzip"
HTTP_ACCEPT_LANGUAGE
string(35) "es,es-es;q=0.8,en-us;q=0.5,en;q=0.3"
HTTP_CACHE_CONTROL
string(14) "max-age=259200"
HTTP_CF_CONNECTING_IP
string(13) "190.18.215.62"
HTTP_CF_IPCOUNTRY
string(2) "AR"
HTTP_CF_VISITOR
string(17) "{"scheme":"http"}"
HTTP_CONNECTION
string(10) "keep-alive"
HTTP_COOKIE
string(19) "removed for display"
HTTP_HOST
string(15) "www.ahyl.com.ar"
HTTP_REFERER
string(62) "http://www.ahyl.com.ar/actores/index.php/simple_uploader/app/1"
HTTP_USER_AGENT
string(65) "Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0"
HTTP_VIA
string(46) "1.1 sv33.byethost33.org:80 (squid/2.7.STABLE9)"
HTTP_X_FORWARDED_FOR
string(28) "190.18.215.62, 173.245.52.29"
PATH
string(13) "/bin:/usr/bin"
PATH_INFO
string(22) "/simple_uploader/app/1"
PATH_TRANSLATED
string(44) "/home/artehist/public_html/actores/index.php"
PROXY_ADDR
string(13) "209.190.61.21"
QUERY_STRING
string(0) ""
REDIRECT_STATUS
string(3) "200"
REMOTE_ADDR
string(13) "190.18.215.62"
REMOTE_PORT
string(5) "32712"
REQUEST_METHOD
string(3) "GET"
REQUEST_URI
string(40) "/actores/index.php/simple_uploader/app/1"
SCRIPT_FILENAME
string(44) "/home/artehist/public_html/actores/index.php"
SCRIPT_NAME
string(18) "/actores/index.php"
SERVER_ADDR
string(13) "209.190.61.21"
SERVER_ADMIN
string(29) "webmaster@…"
SERVER_NAME
string(15) "www.ahyl.com.ar"
SERVER_PORT
string(2) "80"
SERVER_PROTOCOL
string(8) "HTTP/1.0"
SERVER_SIGNATURE
string(0) ""
SERVER_SOFTWARE
string(6) "Apache"
UNIQUE_ID
string(24) "T2sgqNG@PRUACJrvnxoAAABT"
PHP_SELF
string(40) "/actores/index.php/simple_uploader/app/1"
REQUEST_TIME
integer 1332420776
argv
array(0)
argc
integer 0