ampache-dev | 5 Oct 00:31 2010
Picon

Ampache SVN - r2455 - trunk/config

Author: flowerysong
Date: 2010-10-04 15:31:29 -0700 (Mon, 04 Oct 2010)
New Revision: 2455

Modified:
   trunk/config/ampache.cfg.php.dist
Log:
Remove misleading comment about debugging from the config file.

Modified: trunk/config/ampache.cfg.php.dist
===================================================================
--- trunk/config/ampache.cfg.php.dist	2010-09-25 04:55:26 UTC (rev 2454)
+++ trunk/config/ampache.cfg.php.dist	2010-10-04 22:31:29 UTC (rev 2455)
 <at>  <at>  -339,10 +339,7  <at>  <at> 
 max_amazon_results_pages = 1

 ; Debug
-; If this is enabled Ampache will get really chatty
-; warning this can crash browser during catalog builds due to 
-; the amount of text that is dumped out this will also cause 
-; ampache to write to the log file
+; If this is enabled Ampache will write debugging information to the log file
 ; DEFAULT: false
 ;debug = "false"

ampache-dev | 6 Oct 18:58 2010
Picon

Ampache SVN - r2456 - in trunk: config docs lib lib/class modules/plugins

Author: flowerysong
Date: 2010-10-06 09:58:31 -0700 (Wed, 06 Oct 2010)
New Revision: 2456

Added:
   trunk/modules/plugins/MusicBrainz.plugin.php
Modified:
   trunk/config/ampache.cfg.php.dist
   trunk/docs/CHANGELOG
   trunk/docs/PLUGINS
   trunk/lib/class/preference.class.php
   trunk/lib/class/vainfo.class.php
   trunk/lib/init.php
Log:
Break everyone's config by changing metadata gathering.

Modified: trunk/config/ampache.cfg.php.dist
===================================================================
--- trunk/config/ampache.cfg.php.dist	2010-10-04 22:31:29 UTC (rev 2455)
+++ trunk/config/ampache.cfg.php.dist	2010-10-06 16:58:31 UTC (rev 2456)
 <at>  <at>  -211,12 +211,18  <at>  <at> 
 ; music. If none of the listed tags are found then
 ; ampache will default to the first tag format
 ; that was found. 
-; POSSIBLE VALUES: id3v1 id3v2 file vorbiscomment 
-;                  quicktime ape asf 
-; DEFAULT: id3v2,id3v1 vorbiscomment quicktime ape
-; 		asf file
-tag_order = "id3v2,id3v1,vorbiscomment,quicktime,ape,asf,file"
+; POSSIBLE VALUES: ape asf avi id3v1 id3v2 lyrics3 mpeg quicktime riff
(Continue reading)

ampache-dev | 8 Oct 17:56 2010
Picon

Ampache SVN - r2457 - trunk/config

Author: flowerysong
Date: 2010-10-08 08:56:06 -0700 (Fri, 08 Oct 2010)
New Revision: 2457

Modified:
   trunk/config/ampache.cfg.php.dist
Log:
Need to change the config version in *two* places, not just one.

Modified: trunk/config/ampache.cfg.php.dist
===================================================================
--- trunk/config/ampache.cfg.php.dist	2010-10-06 16:58:31 UTC (rev 2456)
+++ trunk/config/ampache.cfg.php.dist	2010-10-08 15:56:06 UTC (rev 2457)
 <at>  <at>  -7,7 +7,7  <at>  <at> 
 ; if this config file is up to date 
 ; this is compared against a value hard-coded
 ; into the init script
-config_version = 10
+config_version = 11

 ;###################
 ; Path Vars        #

ampache-dev | 9 Oct 10:06 2010
Picon

Ampache SVN - r2458 - in trunk: . admin config lib/class modules/validatemail templates

Author: flowerysong
Date: 2010-10-09 01:06:12 -0700 (Sat, 09 Oct 2010)
New Revision: 2458

Modified:
   trunk/admin/mail.php
   trunk/config/ampache.cfg.php.dist
   trunk/lib/class/ampachemail.class.php
   trunk/lib/class/registration.class.php
   trunk/lostpassword.php
   trunk/modules/validatemail/validateEmail.php
   trunk/templates/show_mail_users.inc.php
Log:
Refactor mail handling a bit and make registration use the same method as the 
other places that send mail.

Modified: trunk/admin/mail.php
===================================================================
--- trunk/admin/mail.php	2010-10-08 15:56:06 UTC (rev 2457)
+++ trunk/admin/mail.php	2010-10-09 08:06:12 UTC (rev 2458)
 <at>  <at>  -43,43 +43,31  <at>  <at> 
 			mb_language("uni");
 		}

-		$clients = AmpacheMail::get_users($_REQUEST['to']);
+		$mailer = new AmpacheMail();

-		foreach ($clients as $client) {
-			if(function_exists('mb_encode_mimeheader')) {
-				$recipient .= mb_encode_mimeheader($client['fullname']) ." <" . $client['email'] . ">, ";
(Continue reading)

ampache-dev | 9 Oct 10:12 2010
Picon

Ampache SVN - r2459 - trunk/config

Author: flowerysong
Date: 2010-10-09 01:12:53 -0700 (Sat, 09 Oct 2010)
New Revision: 2459

Modified:
   trunk/config/ampache.cfg.php.dist
Log:
Remove duplicated config entries.

Modified: trunk/config/ampache.cfg.php.dist
===================================================================
--- trunk/config/ampache.cfg.php.dist	2010-10-09 08:06:12 UTC (rev 2458)
+++ trunk/config/ampache.cfg.php.dist	2010-10-09 08:12:53 UTC (rev 2459)
 <at>  <at>  -462,22 +462,6  <at>  <at> 
 ; DEFAULT: false
 ;captcha_public_reg = "false"

-; This setting defines the mail domain you're in.
-; DEFAULT: example.com 
-;mail_domain = "example.com"
-
-; This setting will be used as the user part of the mail address for notifications.
-; For example, setting this to 'me' will set the sender to 'me <at> example.com'.
-; DEFAULT: info
-;mail_user = "info"
-
-; This setting affects how strictly candidate email addresses are checked.
-; You can select "strict" or "easy" or "none".
-; "easy" does a regex match, "strict" actually performs some SMTP transactions to see if
-; we can send to this address.
(Continue reading)

ampache-dev | 12 Oct 13:40 2010
Picon

Ampache SVN - r2460 - trunk/docs

Author: vollmerk
Date: 2010-10-12 04:40:19 -0700 (Tue, 12 Oct 2010)
New Revision: 2460

Modified:
   trunk/docs/README
Log:
Update Readme to correctly list supported clients

Modified: trunk/docs/README
===================================================================
--- trunk/docs/README	2010-10-09 08:12:53 UTC (rev 2459)
+++ trunk/docs/README	2010-10-12 11:40:19 UTC (rev 2460)
 <at>  <at>  -70,7 +70,7  <at>  <at> 
 	- Integrated Flash Player
 	- Automatic Downsampling based on load
 	- Local/Remote network definition based downsampling
-	- On the Fly Transcoding
+	- On the Fly Transcoding (Requires additional applications)
 	- Localplay
 		- Music Player Daemon (MPD)
 		- Winamp using (HTTPQ)
 <at>  <at>  -78,7 +78,7  <at>  <at> 
 		- Icecast2
 	- Democratic Vote based playback
 	- 3rd Party clients using API (Amarok,Coherence,Quickplay)
-	- 3rd Party Mobile clients using API (Amdroid - Android,Amphone - Iphone)
+	- 3rd Party Mobile clients using API (Android,Iphone,Blackberry,PalmOS)
 	
   C) Current Translations
(Continue reading)

ampache-dev | 12 Oct 22:40 2010
Picon

Ampache SVN - r2461 - trunk/lib

Author: flowerysong
Date: 2010-10-12 13:40:25 -0700 (Tue, 12 Oct 2010)
New Revision: 2461

Modified:
   trunk/lib/install.php
Log:
Add fallback to the old method of downloading the config file if the config
file cannot be written to.

Modified: trunk/lib/install.php
===================================================================
--- trunk/lib/install.php	2010-10-12 11:40:19 UTC (rev 2460)
+++ trunk/lib/install.php	2010-10-12 20:40:25 UTC (rev 2461)
 <at>  <at>  -236,13 +236,6  <at>  <at> 

 	$config_file = Config::get('prefix') . '/config/ampache.cfg.php';

-	// Make sure the directory is writeable OR the empty config file is
-	if (!is_writeable(Config::get('prefix') . '/config/') AND !is_writeable($config_file)) {
-		/* HINT: Config File */
-		Error::add('general',sprintf(_('%s is not writeable'),$config_file));
-		return false;
-	}
-
         $data['database_username'] = $username;
         $data['database_password'] = $password;
         $data['database_hostname'] = $hostname;
 <at>  <at>  -270,16 +263,25  <at>  <at> 

(Continue reading)

ampache-dev | 15 Oct 21:16 2010
Picon

Ampache SVN - r2462 - in trunk: lib lib/class templates

Author: flowerysong
Date: 2010-10-15 12:16:42 -0700 (Fri, 15 Oct 2010)
New Revision: 2462

Modified:
   trunk/lib/class/catalog.class.php
   trunk/lib/class/song.class.php
   trunk/lib/class/user.class.php
   trunk/lib/general.lib.php
   trunk/templates/show_duplicates.inc.php
   trunk/templates/show_song.inc.php
   trunk/templates/show_stats.inc.php
Log:
Use a function to format bytes -> human-readable sizes. Also bump catalog build
memory profiling logging to level 5; fixes FS#141.

Modified: trunk/lib/class/catalog.class.php
===================================================================
--- trunk/lib/class/catalog.class.php	2010-10-12 20:40:25 UTC (rev 2461)
+++ trunk/lib/class/catalog.class.php	2010-10-15 19:16:42 UTC (rev 2462)
 <at>  <at>  -202,23 +202,8  <at>  <at> 

 		$hours = floor($results['time']/3600);

-		// Convert size to megabytes
-		$size =  $results['size']/1048576;
+		$results['formatted_size'] = format_bytes($results['size']);

-		// Do pretty formatting and final unit conversion if needed
-		if ($size > 1048576) {
(Continue reading)

ampache-dev | 24 Oct 23:55 2010
Picon

Ampache SVN - r2463 - trunk/lib/class

Author: flowerysong
Date: 2010-10-24 14:55:51 -0700 (Sun, 24 Oct 2010)
New Revision: 2463

Modified:
   trunk/lib/class/ampachemail.class.php
Log:
The AmpacheMail constructor does nothing and we never call it with parameters,
so why did it claim it needed a parameter?

Modified: trunk/lib/class/ampachemail.class.php
===================================================================
--- trunk/lib/class/ampachemail.class.php	2010-10-15 19:16:42 UTC (rev 2462)
+++ trunk/lib/class/ampachemail.class.php	2010-10-24 21:55:51 UTC (rev 2463)
 <at>  <at>  -34,7 +34,7  <at>  <at> 
 	 * Constructor
 	 * This does nothing. Much like goggles.
 	 */
-	public function __construct($name) {
+	public function __construct() {

 		// Eh bien.

ampache-dev | 27 Oct 01:06 2010
Picon

Ampache SVN - r2464 - in trunk: config lib/class

Author: flowerysong
Date: 2010-10-26 16:06:55 -0700 (Tue, 26 Oct 2010)
New Revision: 2464

Modified:
   trunk/config/ampache.cfg.php.dist
   trunk/lib/class/ampachemail.class.php
Log:
Fix authenticated SMTP and add secure (TLS/SSL) SMTP.

Modified: trunk/config/ampache.cfg.php.dist
===================================================================
--- trunk/config/ampache.cfg.php.dist	2010-10-24 21:55:51 UTC (rev 2463)
+++ trunk/config/ampache.cfg.php.dist	2010-10-26 23:06:55 UTC (rev 2464)
 <at>  <at>  -612,6 +612,11  <at>  <at> 
 ;DEFAULT: 25
 ;mail_port = 25

+;Secure SMTP
+;POSSIBLE VALUES: ssl tls
+;DEFAULT: none
+;mail_secure_smtp = tls
+
 ;Enable SMTP authentication
 ;DEFAULT: false
 ;mail_auth = true

Modified: trunk/lib/class/ampachemail.class.php
===================================================================
--- trunk/lib/class/ampachemail.class.php	2010-10-24 21:55:51 UTC (rev 2463)
(Continue reading)


Gmane