<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,9 @@
+* 1.1.6
+
+* Rake 0.8 compatibility fix
+* Fix bug with import_users task
+* Fix issues with bad permissions URLs.
+
 * 1.1.5
 
 * Add SVN Annotation/Blame support</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -6,9 +6,9 @@ class PermissionsController &lt; ApplicationController
   before_filter :load_all_repositories, :only =&gt; [:index, :create]
 
   def index
-    @permission ||= Permission.new
-    @invitees     = User.find(:all, :order =&gt; 'login, email')
-    @members      = current_repository.permissions.group_by &amp;:user
+    @permission = Permission.new
+    @invitees   = User.find(:all, :order =&gt; 'login, email')
+    @members    = current_repository.permissions.group_by &amp;:user
     @invitees.delete_if { |i| @members.keys.include?(i) }
     render :action =&gt; 'index'
   end</diff>
      <filename>app/controllers/permissions_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -27,6 +27,7 @@
         &lt;%= yield :onready %&gt;
       });
       &lt;%= yield :javascript %&gt;
+			&lt;% if USE_REPO_PATHS &amp;&amp; current_repository -%&gt;Warehouse.root = '/&lt;%= current_repository.subdomain %&gt;';&lt;% end -%&gt;
     &lt;/script&gt;
     &lt;%= auto_discovery_link_tag(:atom, changeset_feed_url) %&gt;
     &lt;!--[if lt IE 8]&gt;</diff>
      <filename>app/views/layouts/application.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -28,7 +28,7 @@
 &lt;% end -%&gt;
 &lt;/ul&gt;
 
-  &lt;% sheet_form_for @permission, :html =&gt; { :id =&gt; 'add-member' }, :trigger =&gt; 'addperm' do |s| -%&gt;
+  &lt;% sheet_form_for @permission, :url =&gt; hosted_url(:permissions), :html =&gt; { :id =&gt; 'add-member' }, :trigger =&gt; 'addperm' do |s| -%&gt;
     &lt;h2&gt;Add a new Subversion permission&lt;/h2&gt;
     &lt;%= s.select &quot;Permissions for&quot;, :user_id, invitee_options_for(@invitees) %&gt;
     &lt;%= s.check_box 'Administrator', 'Yes, this user can add and delete members.', :admin %&gt;</diff>
      <filename>app/views/permissions/index.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,18 +1,20 @@
-
+var Warehouse = {
+	root: ''
+}
 
 Permissions = {
   removeMember: function(user_id) {
     if(!confirm(&quot;Are you sure you wish to remove this member?&quot;)) return
     if(user_id == 'anon')
-      new Ajax.Request(&quot;/permissions/anon&quot;, {method:'delete'});
+      new Ajax.Request(Warehouse.root + &quot;/admin/permissions/anon&quot;, {method:'delete'});
     else
-      new Ajax.Request(&quot;/users/&quot; + user_id + &quot;/permissions&quot;, {method:'delete'});
+      new Ajax.Request(Warehouse.root + &quot;/admin/users/&quot; + user_id + &quot;/permissions&quot;, {method:'delete'});
   },
   
   remove: function(line) {
     if(line.readAttribute('id')) {
       if(!confirm(&quot;Are you sure you wish to remove this permission?&quot;)) return;
-      new Ajax.Request(&quot;/permissions/&quot; + line.readAttribute('id').match(/(\d+)$/)[0], {method:'delete'});
+      new Ajax.Request(Warehouse.root + &quot;/admin/permissions/&quot; + line.readAttribute('id').match(/(\d+)$/)[0], {method:'delete'});
     } else {
       line.remove();
     }
@@ -52,7 +54,7 @@ Importer.prototype = {
   step: function(progress) {
     if(this.firstRun) progress = this.options.get('startProgress');
     if(progress &lt; 100) {
-      new Ajax.Request('/admin/repositories/' + this.repoId + '/sync', {
+      new Ajax.Request(Warehouse.root + '/admin/repositories/' + this.repoId + '/sync', {
         method: 'post',
         onSuccess: function(transport) {
           this.firstRun = false;</diff>
      <filename>public/javascripts/application.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a36c6f0259d3f00792e9d84b56696528ea8a97bb</id>
    </parent>
  </parents>
  <author>
    <name>rick</name>
    <email>technoweenie@gmail.com</email>
  </author>
  <url>http://github.com/entp/warehouse/commit/e56c8d120866b1fda63ed660f4d2f980c7354207</url>
  <id>e56c8d120866b1fda63ed660f4d2f980c7354207</id>
  <committed-date>2008-01-21T23:19:38-08:00</committed-date>
  <authored-date>2008-01-21T23:19:38-08:00</authored-date>
  <message>fix pesky permissions issuse</message>
  <tree>8bc9b0d18f2ea001400d226145a6e80dc242494d</tree>
  <committer>
    <name>rick</name>
    <email>technoweenie@gmail.com</email>
  </committer>
</commit>
