gitorious:mainline.git
5 years agoInclude repository admin URLs in repo/user view state
Christian Johansen [Fri, 28 Jun 2013 22:35:06 +0000 (00:35 +0200)]
Include repository admin URLs in repo/user view state

5 years agoFix 1.8.7 test failures
Christian Johansen [Fri, 28 Jun 2013 14:07:43 +0000 (16:07 +0200)]
Fix 1.8.7 test failures

5 years agoMerge branch 'next' of gitorious.org:gitorious/mainline into next
Christian Johansen [Fri, 28 Jun 2013 11:20:19 +0000 (13:20 +0200)]
Merge branch 'next' of gitorious.org:gitorious/mainline into next

5 years agoTransfer ownership tests
Christian Johansen [Fri, 28 Jun 2013 09:42:00 +0000 (11:42 +0200)]
Transfer ownership tests

5 years agoBorrowing MiniTest's refute()
Marius Mathiesen [Fri, 28 Jun 2013 08:15:40 +0000 (10:15 +0200)]
Borrowing MiniTest's refute()

5 years agoMerge commit 'refs/merge-requests/236' of gitorious.org:gitorious/mainline into next
Marius Mathiesen [Fri, 28 Jun 2013 07:59:54 +0000 (09:59 +0200)]
Merge commit 'refs/merge-requests/236' of gitorious.org:gitorious/mainline into next

5 years agoadd refute_equal to ActiveSupport::TestCase 236
Ken Dreyer [Fri, 28 Jun 2013 00:02:06 +0000 (18:02 -0600)]
add refute_equal to ActiveSupport::TestCase

ActiveSupport::TestCase extends Test::Unit::TestCase in Ruby 1.8,
whereas in Ruby 1.9, Test::Unit is implemented by MiniTest under the
hood. This means that ActiveSupport::TestCase in Ruby 1.8 is missing
some functions that minitest from Ruby 1.9 provides.

refute_equal is one of those missing functions in Ruby 1.8. Add it in
our test_helper.

This fixes a test suite failure in HookTest where refute_equal is an
undefined method.

5 years agoadd refute_match to ActiveSupport::TestCase
Ken Dreyer [Wed, 26 Jun 2013 16:40:22 +0000 (10:40 -0600)]
add refute_match to ActiveSupport::TestCase

ActiveSupport::TestCase extends Test::Unit::TestCase in Ruby 1.8,
whereas in Ruby 1.9, Test::Unit is implemented by MiniTest under the
hood. This means that ActiveSupport::TestCase in Ruby 1.8 is missing
some functions that minitest from Ruby 1.9 provides.

refute_match is one of those missing functions in Ruby 1.8. Add it in
our test_helper.

This fixes a test suite failure in SshKeyTest where refute_match is an
undefined method.

5 years agoadd refute_nil to ActiveSupport::TestCase
Ken Dreyer [Wed, 26 Jun 2013 16:29:20 +0000 (10:29 -0600)]
add refute_nil to ActiveSupport::TestCase

ActiveSupport::TestCase extends Test::Unit::TestCase in Ruby 1.8,
whereas in Ruby 1.9, Test::Unit is implemented by MiniTest under the
hood. This means that ActiveSupport::TestCase in Ruby 1.8 is missing
some functions that minitest from Ruby 1.9 provides.

refute_nil is one of those missing functions in Ruby 1.8. Add it in our
test_helper.

This fixes various test suite failures errors about refute_nil being an
undefined method.

5 years agodon't warn with Ruby 2.0.0 235
Ken Dreyer [Thu, 27 Jun 2013 23:22:59 +0000 (17:22 -0600)]
don't warn with Ruby 2.0.0

The test suite passes with Ruby 2.0.0, so add that to the list of
"supported" Ruby versions.

5 years agogrit: Ruby 2.0 compatibility fix
Mikhail S. Pobolovets [Tue, 12 Feb 2013 12:13:45 +0000 (15:13 +0300)]
grit: Ruby 2.0 compatibility fix

see https://github.com/mojombo/grit/pull/155

Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
5 years agoEdit and create repositories in new design
Christian Johansen [Thu, 27 Jun 2013 13:10:18 +0000 (15:10 +0200)]
Edit and create repositories in new design

5 years agoNo layout with the new 404 file
Christian Johansen [Thu, 27 Jun 2013 07:50:47 +0000 (09:50 +0200)]
No layout with the new 404 file

5 years agoUpdate UI
Christian Johansen [Thu, 27 Jun 2013 07:50:06 +0000 (09:50 +0200)]
Update UI

5 years agoCorrect ordering of repo events and paging
Thomas Kjeldahl Nilsson [Wed, 26 Jun 2013 06:56:06 +0000 (08:56 +0200)]
Correct ordering of repo events and paging

5 years agoDon't default to private on create when :private is false
Christian Johansen [Wed, 26 Jun 2013 06:49:21 +0000 (08:49 +0200)]
Don't default to private on create when :private is false

5 years agoUse newer version of justpaginate
Thomas Kjeldahl Nilsson [Tue, 25 Jun 2013 13:30:08 +0000 (15:30 +0200)]
Use newer version of justpaginate

5 years agoFix failing tests
Christian Johansen [Tue, 25 Jun 2013 11:56:12 +0000 (13:56 +0200)]
Fix failing tests

5 years agoUpdate failing tests
Christian Johansen [Tue, 25 Jun 2013 10:56:45 +0000 (12:56 +0200)]
Update failing tests

5 years agoRemove unused code
Christian Johansen [Tue, 25 Jun 2013 10:56:36 +0000 (12:56 +0200)]
Remove unused code

5 years agoFix Dolt auth middleware tests
Christian Johansen [Tue, 25 Jun 2013 10:49:51 +0000 (12:49 +0200)]
Fix Dolt auth middleware tests

5 years agoNew MR listing
Christian Johansen [Tue, 25 Jun 2013 10:30:12 +0000 (12:30 +0200)]
New MR listing

5 years agoVisualize private repositories
Christian Johansen [Mon, 24 Jun 2013 11:19:42 +0000 (13:19 +0200)]
Visualize private repositories

5 years agoRename layout "layout" to "application"
Christian Johansen [Mon, 24 Jun 2013 10:58:50 +0000 (12:58 +0200)]
Rename layout "layout" to "application"

5 years agoChange repo navigation
Christian Johansen [Thu, 20 Jun 2013 12:28:22 +0000 (14:28 +0200)]
Change repo navigation

5 years agoUpdate libdolt to fix readme rendering
Christian Johansen [Thu, 20 Jun 2013 12:01:10 +0000 (14:01 +0200)]
Update libdolt to fix readme rendering

5 years agoError pages in new design
Christian Johansen [Thu, 20 Jun 2013 11:58:14 +0000 (13:58 +0200)]
Error pages in new design

5 years agoDifferentiate UI3 assets per environment
Christian Johansen [Thu, 20 Jun 2013 10:45:13 +0000 (12:45 +0200)]
Differentiate UI3 assets per environment

5 years agoUpdate UI and logo feature/dolt-integration
Christian Johansen [Tue, 18 Jun 2013 13:23:26 +0000 (15:23 +0200)]
Update UI and logo

5 years agoRemove some pagination cruft in repo controller
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 13:04:31 +0000 (15:04 +0200)]
Remove some pagination cruft in repo controller

5 years agoFor repo activity page, don't do event filtering
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 12:55:37 +0000 (14:55 +0200)]
For repo activity page, don't do event filtering

In case of repo#show, you either see all events or
nothing (due to auth filtering of the whole repo)

5 years agoBump justpaginate version we depend on
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 12:41:14 +0000 (14:41 +0200)]
Bump justpaginate version we depend on

5 years agoRemove temporary bootstrap-hack
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 12:28:19 +0000 (14:28 +0200)]
Remove temporary bootstrap-hack

5 years agoFix repo activity pagination, use latest JustPaginate
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 12:25:24 +0000 (14:25 +0200)]
Fix repo activity pagination, use latest JustPaginate

5 years agoRepo controller using explicit new pagination approach
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 11:59:09 +0000 (13:59 +0200)]
Repo controller using explicit new pagination approach

5 years agoRepo activity views using JustPaginate
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 11:57:54 +0000 (13:57 +0200)]
Repo activity views using JustPaginate

5 years agoRepo community: logic from view and model moved into presenter
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 09:27:24 +0000 (11:27 +0200)]
Repo community: logic from view and model moved into presenter

5 years agoMerge branch 'feature/dolt-integration' of gitorious.org:gitorious/mainline into...
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 08:00:55 +0000 (10:00 +0200)]
Merge branch 'feature/dolt-integration' of gitorious.org:gitorious/mainline into feature/dolt-integration

5 years agoCut ready? check in community page
Thomas Kjeldahl Nilsson [Fri, 14 Jun 2013 07:49:29 +0000 (09:49 +0200)]
Cut ready? check in community page

5 years agofix link to resque in README
Ken Dreyer [Thu, 13 Jun 2013 11:48:44 +0000 (05:48 -0600)]
fix link to resque in README

5 years agoFix hardcoding of repo in repo community controller
Thomas Kjeldahl Nilsson [Thu, 13 Jun 2013 11:55:08 +0000 (13:55 +0200)]
Fix hardcoding of repo in repo community controller

5 years agoUpdate README
Marius Mathiesen [Thu, 13 Jun 2013 11:36:45 +0000 (13:36 +0200)]
Update README

5 years agoAdd barebones version of community repo page
Thomas Kjeldahl Nilsson [Tue, 11 Jun 2013 11:34:48 +0000 (13:34 +0200)]
Add barebones version of community repo page

5 years agoAdd a caching middleware for Dolt actions
Marius Mathiesen [Thu, 13 Jun 2013 09:20:16 +0000 (11:20 +0200)]
Add a caching middleware for Dolt actions

This is enabled when either private mode or private repositories is
enabled. For any action rendered by Dolt, it will alter the
Cache-Control header to private as Dolt itself enforces a fairly
aggressive caching scheme.

To benefit from this, simply enable caching in nginx or set up Varnish
in front of Gitorious.

5 years agoAdd Rack middleware for Dolt access control
Marius Mathiesen [Wed, 12 Jun 2013 14:52:02 +0000 (16:52 +0200)]
Add Rack middleware for Dolt access control

This middleware only concerns itself with requests handled by dolt. The
request is passed on, and Dolt adds to env["dolt"] with the repository
path.

This middleware performs access control based on the following settings:
- public/private mode
- private repositories enabled

so access control should be enforced just like with Rails controller actions.

5 years agoFix up event rendering
Christian Johansen [Thu, 6 Jun 2013 10:45:08 +0000 (12:45 +0200)]
Fix up event rendering

5 years agoAdd pagination to events on new repository page
Christian Johansen [Thu, 6 Jun 2013 09:34:00 +0000 (11:34 +0200)]
Add pagination to events on new repository page

5 years agoRepository activities page in Gitorious 3 UI
Christian Johansen [Tue, 4 Jun 2013 14:22:43 +0000 (16:22 +0200)]
Repository activities page in Gitorious 3 UI

5 years agoUpdate Dolt
Christian Johansen [Mon, 3 Jun 2013 07:14:37 +0000 (09:14 +0200)]
Update Dolt

5 years agoNew Dolt is no longer non-blocking
Christian Johansen [Fri, 31 May 2013 13:02:40 +0000 (15:02 +0200)]
New Dolt is no longer non-blocking

5 years agoClean up weird routing regexp
Christian Johansen [Tue, 12 Feb 2013 06:40:56 +0000 (07:40 +0100)]
Clean up weird routing regexp

5 years agoFix module name confusion for Ruby 1.8.7
Christian Johansen [Mon, 11 Feb 2013 10:05:42 +0000 (11:05 +0100)]
Fix module name confusion for Ruby 1.8.7

5 years agoRename UserRepository as a ViewState object
Christian Johansen [Tue, 15 Jan 2013 13:40:46 +0000 (14:40 +0100)]
Rename UserRepository as a ViewState object

5 years agoJS-powered profile menu
Christian Johansen [Mon, 14 Jan 2013 21:18:56 +0000 (22:18 +0100)]
JS-powered profile menu

5 years agoAdd paths to user/repo payload
Christian Johansen [Mon, 14 Jan 2013 21:01:53 +0000 (22:01 +0100)]
Add paths to user/repo payload

5 years agoDisable admin link for every user
Christian Johansen [Mon, 14 Jan 2013 07:41:57 +0000 (08:41 +0100)]
Disable admin link for every user

5 years agoUpdate todo
Christian Johansen [Mon, 14 Jan 2013 07:41:47 +0000 (08:41 +0100)]
Update todo

5 years agoAdd "user viewing repository" JSON payload
Christian Johansen [Mon, 14 Jan 2013 07:41:39 +0000 (08:41 +0100)]
Add "user viewing repository" JSON payload

  - Will be used to personalize views for the current user

5 years agoGenerate download links to new archive action
Christian Johansen [Fri, 11 Jan 2013 22:18:00 +0000 (23:18 +0100)]
Generate download links to new archive action

5 years agoRemove RepositoryArchivingProcessor
Christian Johansen [Fri, 11 Jan 2013 15:37:36 +0000 (16:37 +0100)]
Remove RepositoryArchivingProcessor

5 years agoCorrect link to tarball download
Christian Johansen [Fri, 11 Jan 2013 15:32:34 +0000 (16:32 +0100)]
Correct link to tarball download

5 years agoRedirects for Dolt
Christian Johansen [Fri, 11 Jan 2013 15:29:02 +0000 (16:29 +0100)]
Redirects for Dolt

  - Redirect refs to oids
  - Redirect from no ref to head

5 years agoStrip {Trees,Blobs}Controller of their powers
Christian Johansen [Thu, 10 Jan 2013 23:59:43 +0000 (00:59 +0100)]
Strip {Trees,Blobs}Controller of their powers

  - Delegate to the new kid on the block: Dolt
  - Remove all templates
  - Update tests to check for redirects

5 years agoServe archives via Dolt
Christian Johansen [Thu, 10 Jan 2013 15:39:11 +0000 (16:39 +0100)]
Serve archives via Dolt

5 years agoAdd Repository#path_segment
Christian Johansen [Thu, 10 Jan 2013 15:38:44 +0000 (16:38 +0100)]
Add Repository#path_segment

5 years agoAdd repository browser and initializer
Christian Johansen [Tue, 8 Jan 2013 07:32:32 +0000 (08:32 +0100)]
Add repository browser and initializer

5 years agoAdd Dolt repository resolver
Christian Johansen [Tue, 8 Jan 2013 07:31:07 +0000 (08:31 +0100)]
Add Dolt repository resolver

  - Also add presenters to wrap models. This avoids further direct
    communication with models in views

5 years agoDepend on Dolt gems
Christian Johansen [Tue, 8 Jan 2013 07:30:14 +0000 (08:30 +0100)]
Depend on Dolt gems

5 years agoAdd use cases for listing committers and mainlines
Christian Johansen [Tue, 4 Jun 2013 08:09:25 +0000 (10:09 +0200)]
Add use cases for listing committers and mainlines

Takes authorization into account

5 years agoRefactor UserRequired to generic RequiredDependency
Christian Johansen [Tue, 4 Jun 2013 08:08:54 +0000 (10:08 +0200)]
Refactor UserRequired to generic RequiredDependency

5 years agoRemove unneeded repository finder
Christian Johansen [Tue, 4 Jun 2013 08:08:00 +0000 (10:08 +0200)]
Remove unneeded repository finder

5 years agoAdd repository finder
Christian Johansen [Mon, 3 Jun 2013 07:46:54 +0000 (09:46 +0200)]
Add repository finder

5 years agoAvoid gems being confused about GIT_DIR in hooks
Christian Johansen [Fri, 31 May 2013 10:49:59 +0000 (12:49 +0200)]
Avoid gems being confused about GIT_DIR in hooks

5 years agoDelete taggings along with project
Marius Mathiesen [Wed, 22 May 2013 12:07:17 +0000 (14:07 +0200)]
Delete taggings along with project

5 years agoDelete MergeRequestStatus along with Project
Marius Mathiesen [Wed, 22 May 2013 11:51:43 +0000 (13:51 +0200)]
Delete MergeRequestStatus along with Project

Referencing issue #92

5 years agoMake it possible to see errors when creating user
Christian Johansen [Mon, 13 May 2013 11:27:19 +0000 (13:27 +0200)]
Make it possible to see errors when creating user

5 years agoNew queue name for project repository creation
Christian Johansen [Mon, 13 May 2013 11:05:17 +0000 (13:05 +0200)]
New queue name for project repository creation

We don't want to reuse existing queues with new semantics. Giving new
queues new names makes it significantly easier to run Gitorious 2 and 3
side by side against the same dataset in a migration period.

5 years agoCreate users with use cases in auth backends
Christian Johansen [Mon, 13 May 2013 10:37:26 +0000 (12:37 +0200)]
Create users with use cases in auth backends

5 years agoProperly expire email alias caches
Christian Johansen [Thu, 9 May 2013 11:37:51 +0000 (13:37 +0200)]
Properly expire email alias caches

5 years agoFix identity url validation tests
Christian Johansen [Thu, 9 May 2013 09:57:42 +0000 (11:57 +0200)]
Fix identity url validation tests

5 years agoSplit up user controller
Christian Johansen [Mon, 6 May 2013 11:12:31 +0000 (13:12 +0200)]
Split up user controller

5 years agoOpen ID user controller
Christian Johansen [Fri, 3 May 2013 14:15:14 +0000 (16:15 +0200)]
Open ID user controller

5 years agoExtract activate user command
Christian Johansen [Fri, 3 May 2013 14:14:28 +0000 (16:14 +0200)]
Extract activate user command

5 years agorender_template takes options
Christian Johansen [Fri, 3 May 2013 14:14:06 +0000 (16:14 +0200)]
render_template takes options

5 years agoRemove superfluous assert
Christian Johansen [Thu, 2 May 2013 14:21:26 +0000 (16:21 +0200)]
Remove superfluous assert

5 years agoAdd avatars controller
Christian Johansen [Thu, 2 May 2013 14:20:44 +0000 (16:20 +0200)]
Add avatars controller

5 years agoPasswords controller
Christian Johansen [Thu, 2 May 2013 14:10:32 +0000 (16:10 +0200)]
Passwords controller

5 years agoAdd tests for user activations controller
Christian Johansen [Thu, 2 May 2013 06:41:03 +0000 (08:41 +0200)]
Add tests for user activations controller

5 years agoRemember user data when failing to post form
Christian Johansen [Thu, 2 May 2013 06:39:33 +0000 (08:39 +0200)]
Remember user data when failing to post form

5 years agoMake sure repository form remembers values
Christian Johansen [Tue, 30 Apr 2013 11:04:43 +0000 (13:04 +0200)]
Make sure repository form remembers values

5 years agoMake sure project form remembers values
Christian Johansen [Tue, 30 Apr 2013 11:04:34 +0000 (13:04 +0200)]
Make sure project form remembers values

5 years agoEmail uses format from email validator
Christian Johansen [Tue, 30 Apr 2013 11:04:17 +0000 (13:04 +0200)]
Email uses format from email validator

5 years agoAdd user watchlist controller
Christian Johansen [Tue, 30 Apr 2013 11:04:02 +0000 (13:04 +0200)]
Add user watchlist controller

5 years agoFix minor issues
Christian Johansen [Tue, 30 Apr 2013 11:03:43 +0000 (13:03 +0200)]
Fix minor issues

5 years agoMembership validator test name
Christian Johansen [Tue, 30 Apr 2013 11:02:55 +0000 (13:02 +0200)]
Membership validator test name

5 years agoAdd user feeds controller
Christian Johansen [Tue, 30 Apr 2013 11:02:18 +0000 (13:02 +0200)]
Add user feeds controller

5 years agoAdd user activations controller
Christian Johansen [Tue, 30 Apr 2013 11:01:25 +0000 (13:01 +0200)]
Add user activations controller

5 years agoPassword resets controller
Christian Johansen [Tue, 30 Apr 2013 10:59:05 +0000 (12:59 +0200)]
Password resets controller

5 years agoAdd password reset use cases
Christian Johansen [Tue, 30 Apr 2013 09:54:20 +0000 (11:54 +0200)]
Add password reset use cases

5 years agoAdd generate password reset token use case
Christian Johansen [Tue, 30 Apr 2013 09:30:17 +0000 (11:30 +0200)]
Add generate password reset token use case