Skip to content

Commit

Permalink
Change flicker API URL. Other long-since-forgotten changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbriccetti committed Jul 16, 2014
1 parent ac43f1d commit bf63433
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 11 deletions.
21 changes: 20 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<inceptionYear>2009</inceptionYear>
<properties>
<scala.version>2.7.7</scala.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<repositories>
Expand Down Expand Up @@ -41,7 +42,7 @@
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-webkit</artifactId>
<version>1.1-SNAPSHOT</version>
<version>2.0</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
Expand Down Expand Up @@ -143,6 +144,24 @@
</classpathContainers>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.3</source>
<target>1.3</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.2</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/log4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
log4j.rootLogger=debug, A1

log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p %c %x - %m%n
2 changes: 1 addition & 1 deletion src/main/scala/birdshow/model/flickr/Flickr.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import birdshow.util.{XmlFetcher, Parallelizer}
*/
object Flickr {

private val urlPart1 = "http://api.flickr.com/services/rest/?method=flickr."
private val urlPart1 = "https://api.flickr.com/services/rest/?method=flickr."
private val apiKey = "&api_key=979e4a1aa2eb498c845415e254e70f53"
private val parallelizer = new Parallelizer(20)

Expand Down
14 changes: 6 additions & 8 deletions src/main/scala/bootstrap/liftweb/Boot.scala
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package bootstrap.liftweb

import _root_.net.liftweb.http._
import _root_.net.liftweb.http.provider._
import _root_.net.liftweb.sitemap._
import _root_.net.liftweb.sitemap.Loc._
import _root_.birdshow.model._
import net.liftweb.http._
import net.liftweb.http.provider._
import net.liftweb.sitemap._
import net.liftweb.sitemap.Loc._
import birdshow.model._

/**
* A class that's instantiated early and run. It allows the application
Expand Down Expand Up @@ -44,8 +44,6 @@ class Boot {
/**
* Force the request to be UTF-8
*/
private def makeUtf8(req: HTTPRequest) {
req.setCharacterEncoding("UTF-8")
}
private def makeUtf8(req: HTTPRequest) = req.setCharacterEncoding("UTF-8")

}
2 changes: 1 addition & 1 deletion src/main/webapp/galleries.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</table>
</lift:Galleries.showGalleries>

<div>©2010 Eleanor Briccetti</div>
<div>©2014 Eleanor Briccetti</div>

</lift:surround>

0 comments on commit bf63433

Please sign in to comment.