gitorious:mainline.git
5 years agoFix SimpleCov setup in micro-tests when COVERAGE is not set
Piotr Solnica [Thu, 22 Aug 2013 09:55:30 +0000 (11:55 +0200)]
Fix SimpleCov setup in micro-tests when COVERAGE is not set

5 years agoSet custom groups in SimpleCov
Piotr Solnica [Thu, 22 Aug 2013 09:43:45 +0000 (11:43 +0200)]
Set custom groups in SimpleCov

5 years agoUpdate simplecov config
Piotr Solnica [Thu, 22 Aug 2013 09:05:06 +0000 (11:05 +0200)]
Update simplecov config

  * Use multiple formatters: html and rcov
  * Filter out test and vendor files

5 years agoFix SimpleCov setup in micro-tests
Piotr Solnica [Thu, 22 Aug 2013 08:49:57 +0000 (10:49 +0200)]
Fix SimpleCov setup in micro-tests

5 years agoFix simplecov setup
Piotr Solnica [Thu, 22 Aug 2013 08:36:50 +0000 (10:36 +0200)]
Fix simplecov setup

5 years agoRevert "Fix simple cov setup and remove rcov"
Piotr Solnica [Thu, 22 Aug 2013 08:35:56 +0000 (10:35 +0200)]
Revert "Fix simple cov setup and remove rcov"

This reverts commit 88121981bb7145b6f5cee7e4b9b91148467acc19.

5 years agoUpdate ui3
Marcin Kulik [Thu, 22 Aug 2013 09:03:45 +0000 (11:03 +0200)]
Update ui3

5 years agoFix simple cov setup and remove rcov
Piotr Solnica [Wed, 21 Aug 2013 18:39:10 +0000 (20:39 +0200)]
Fix simple cov setup and remove rcov

5 years agoRemove better errors for now
Piotr Solnica [Wed, 21 Aug 2013 16:43:52 +0000 (18:43 +0200)]
Remove better errors for now

5 years agoUpdate ui3
Piotr Solnica [Wed, 21 Aug 2013 15:52:50 +0000 (17:52 +0200)]
Update ui3

5 years agoUpdate ui3
Piotr Solnica [Wed, 21 Aug 2013 15:47:46 +0000 (17:47 +0200)]
Update ui3

5 years agoUpdate sync adapter to use correct post-receive web hook processor
Piotr Solnica [Wed, 21 Aug 2013 15:18:33 +0000 (17:18 +0200)]
Update sync adapter to use correct post-receive web hook processor

5 years agoMerge branch 'next' into feature/sprintly-integration
Piotr Solnica [Wed, 21 Aug 2013 12:36:14 +0000 (14:36 +0200)]
Merge branch 'next' into feature/sprintly-integration

5 years agoUpdate ui3
Piotr Solnica [Wed, 21 Aug 2013 12:36:10 +0000 (14:36 +0200)]
Update ui3

5 years agoUpdate ui3
Piotr Solnica [Wed, 21 Aug 2013 12:26:00 +0000 (14:26 +0200)]
Update ui3

5 years agoUpdate ui3
Piotr Solnica [Wed, 21 Aug 2013 11:19:01 +0000 (13:19 +0200)]
Update ui3

5 years agoMerge branch 'next' into feature/sprintly-integration
Piotr Solnica [Wed, 21 Aug 2013 11:10:24 +0000 (13:10 +0200)]
Merge branch 'next' into feature/sprintly-integration

5 years agoUse protocol-relative URL to external image on About page
Marcin Kulik [Wed, 21 Aug 2013 09:11:51 +0000 (11:11 +0200)]
Use protocol-relative URL to external image on About page

5 years agoAdd .ruby-version file
Marcin Kulik [Wed, 21 Aug 2013 08:48:43 +0000 (10:48 +0200)]
Add .ruby-version file

5 years agoMerge branch 'next' into feature/sprintly-integration
Piotr Solnica [Tue, 20 Aug 2013 17:29:00 +0000 (19:29 +0200)]
Merge branch 'next' into feature/sprintly-integration

Conflicts:
public/ui3

5 years agoUpdate ui3
Piotr Solnica [Tue, 20 Aug 2013 17:18:15 +0000 (19:18 +0200)]
Update ui3

5 years agoScroll to highlighted line/region
Christian Johansen [Tue, 20 Aug 2013 12:11:32 +0000 (14:11 +0200)]
Scroll to highlighted line/region

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

5 years agoMake sure Repo name and description are refreshed
Christian Johansen [Tue, 20 Aug 2013 11:33:33 +0000 (13:33 +0200)]
Make sure Repo name and description are refreshed

In case client-side caching is in effect

5 years agoRequire the openid lib in ApplicationController
Marius Mathiesen [Mon, 19 Aug 2013 13:20:13 +0000 (15:20 +0200)]
Require the openid lib in ApplicationController

I kept getting no such method error for using_open_id_authentication.

5 years ago1.8.7 friendly version of the previous commit
Christian Johansen [Mon, 19 Aug 2013 13:12:57 +0000 (15:12 +0200)]
1.8.7 friendly version of the previous commit

5 years agoUpdate libdolt to fix tarball bug
Christian Johansen [Mon, 19 Aug 2013 13:05:58 +0000 (15:05 +0200)]
Update libdolt to fix tarball bug

5 years agoUse a forked instead of monkey-patched version of guard-minitest
Adam Pohorecki [Wed, 14 Aug 2013 12:20:23 +0000 (14:20 +0200)]
Use a forked instead of monkey-patched version of guard-minitest

5 years agoDepend on environment only in resque tasks
Adam Pohorecki [Wed, 14 Aug 2013 10:11:16 +0000 (12:11 +0200)]
Depend on environment only in resque tasks

5 years agoUse NFS to sync folders with Vagrant for lower guard latency
Adam Pohorecki [Wed, 14 Aug 2013 09:51:16 +0000 (11:51 +0200)]
Use NFS to sync folders with Vagrant for lower guard latency

5 years agoAdd more fine-grained rules to Guardfile to better match gitorious
Adam Pohorecki [Wed, 14 Aug 2013 09:28:05 +0000 (11:28 +0200)]
Add more fine-grained rules to Guardfile to better match gitorious

5 years agoPrettify validation error messages in ui3
Adam Pohorecki [Wed, 14 Aug 2013 09:18:53 +0000 (11:18 +0200)]
Prettify validation error messages in ui3

5 years agoFix 404 after reloading failed create page in services
Adam Pohorecki [Wed, 14 Aug 2013 09:08:11 +0000 (11:08 +0200)]
Fix 404 after reloading failed create page in services

5 years agoRename Service#params to Service#adapter
Adam Pohorecki [Wed, 14 Aug 2013 09:07:12 +0000 (11:07 +0200)]
Rename Service#params to Service#adapter

5 years agoPush payload to sprintly
Adam Pohorecki [Tue, 13 Aug 2013 16:39:41 +0000 (18:39 +0200)]
Push payload to sprintly

5 years agoSave sprintly params
Adam Pohorecki [Tue, 13 Aug 2013 15:49:06 +0000 (17:49 +0200)]
Save sprintly params

5 years agoRefactor and test service presenters
Adam Pohorecki [Tue, 13 Aug 2013 13:02:34 +0000 (15:02 +0200)]
Refactor and test service presenters

5 years agoAdd tests to WebHook
Adam Pohorecki [Tue, 13 Aug 2013 10:16:52 +0000 (12:16 +0200)]
Add tests to WebHook

5 years agoSplit Service into multiple classes
Adam Pohorecki [Tue, 13 Aug 2013 09:55:29 +0000 (11:55 +0200)]
Split Service into multiple classes

5 years agoRename all web hook related classes to service
Adam Pohorecki [Tue, 13 Aug 2013 09:44:11 +0000 (11:44 +0200)]
Rename all web hook related classes to service

5 years agoIntroduce stats partial
Adam Pohorecki [Tue, 13 Aug 2013 08:56:21 +0000 (10:56 +0200)]
Introduce stats partial

5 years agoExtract WebHook specific code from Processor
Adam Pohorecki [Mon, 12 Aug 2013 16:25:29 +0000 (18:25 +0200)]
Extract WebHook specific code from Processor

5 years agoIntroduce service stats presenter
Adam Pohorecki [Mon, 12 Aug 2013 14:47:08 +0000 (16:47 +0200)]
Introduce service stats presenter

5 years agoRemove STI like mechanism from services
Adam Pohorecki [Mon, 12 Aug 2013 14:26:34 +0000 (16:26 +0200)]
Remove STI like mechanism from services

5 years agoInitial version of services presenter
Adam Pohorecki [Mon, 12 Aug 2013 12:19:47 +0000 (14:19 +0200)]
Initial version of services presenter

5 years agoAdd guard-ctags-bundler
Adam Pohorecki [Mon, 12 Aug 2013 10:12:56 +0000 (12:12 +0200)]
Add guard-ctags-bundler

5 years agoAdd use_case to watched files
Adam Pohorecki [Mon, 12 Aug 2013 10:08:46 +0000 (12:08 +0200)]
Add use_case to watched files

5 years agoRename WebHook to Service::WebHook
Adam Pohorecki [Mon, 12 Aug 2013 10:08:29 +0000 (12:08 +0200)]
Rename WebHook to Service::WebHook

5 years agoAdded guard
Adam Pohorecki [Fri, 9 Aug 2013 10:14:46 +0000 (12:14 +0200)]
Added guard

5 years agoRefactor web_hooks into services
Adam Pohorecki [Thu, 8 Aug 2013 15:48:50 +0000 (17:48 +0200)]
Refactor web_hooks into services

5 years agoFix OpenId problem in SessionsController
Adam Pohorecki [Thu, 8 Aug 2013 10:24:14 +0000 (12:24 +0200)]
Fix OpenId problem in SessionsController

5 years agoAdd vagrant
Adam Pohorecki [Wed, 7 Aug 2013 15:25:34 +0000 (17:25 +0200)]
Add vagrant

5 years agoFix git-daemon on rails 3.2
Adam Pohorecki [Wed, 7 Aug 2013 15:20:31 +0000 (17:20 +0200)]
Fix git-daemon on rails 3.2

5 years agoAdd sphinx to procfile
Adam Pohorecki [Wed, 7 Aug 2013 15:20:10 +0000 (17:20 +0200)]
Add sphinx to procfile

5 years agoAdd authorization notes in sample gitorious.yml
Marius Mathiesen [Thu, 8 Aug 2013 08:07:28 +0000 (10:07 +0200)]
Add authorization notes in sample gitorious.yml

This resolves #201

5 years agoMerge commit 'refs/merge-requests/2259' of gitorious.org:gitorious/mainline into...
Marius Mathiesen [Wed, 7 Aug 2013 07:57:38 +0000 (09:57 +0200)]
Merge commit 'refs/merge-requests/2259' of gitorious.org:gitorious/mainline into next

5 years agoRequire our new class for production environment
Marius Mathiesen [Tue, 6 Aug 2013 10:33:54 +0000 (12:33 +0200)]
Require our new class for production environment

5 years agoPushSpecParser doesn't do Git
Marius Mathiesen [Tue, 6 Aug 2013 10:22:22 +0000 (12:22 +0200)]
PushSpecParser doesn't do Git

PushSpecParser's collaborators now set up a PushCommitExtractor and asks
this to calculate differences. Note that with this change, actual Git
operations are now being performed (not simply stubbed anymore).

5 years agoFix test failure for PushEventLogger
Marius Mathiesen [Tue, 6 Aug 2013 08:29:11 +0000 (10:29 +0200)]
Fix test failure for PushEventLogger

Turns out I was expecting push events for *tag* creation instead
of *branch* creation. Bummer.

5 years agoHandle branch updates and edge cases
Marius Mathiesen [Tue, 6 Aug 2013 08:25:31 +0000 (10:25 +0200)]
Handle branch updates and edge cases

5 years agoAdd PushCommitExtractor
Marius Mathiesen [Tue, 6 Aug 2013 07:51:14 +0000 (09:51 +0200)]
Add PushCommitExtractor

This object extracts the commits introduced in a push using Rugged.

5 years agoadd "rcov" compatibility rake task for Ruby > 1.9 2259
Ken Dreyer [Mon, 5 Aug 2013 23:09:30 +0000 (17:09 -0600)]
add "rcov" compatibility rake task for Ruby > 1.9

5 years agoadd simplecov-rcov
Ken Dreyer [Mon, 5 Aug 2013 23:11:39 +0000 (17:11 -0600)]
add simplecov-rcov

This gem formats the simplecov reports so Jenkins can read them.

5 years agoTry to count the number of commits in new branches
Marius Mathiesen [Mon, 5 Aug 2013 13:53:09 +0000 (15:53 +0200)]
Try to count the number of commits in new branches

Resolving #166, this change finds the number of commits in a push which
aren't in any branches already.

We use a fixture repo for these commits, will add tests for this
behaviour next.

5 years agoFix failing ProjectHelperTest
Marius Mathiesen [Fri, 2 Aug 2013 12:25:25 +0000 (14:25 +0200)]
Fix failing ProjectHelperTest

This test wasn't run previously, since other micro tests would cause an
error. Once these were passing, the `render_markup` method was
undefined. The only place I could find such a method was in libdolt, so
I pulled that in. After doing so, I found an assertion failure - hoping
this is correct.

5 years agoFix superclass mismatch error in micro tests
Marius Mathiesen [Fri, 2 Aug 2013 12:23:27 +0000 (14:23 +0200)]
Fix superclass mismatch error in micro tests

App seems to be defined elsewhere, using another name instead.

5 years agoOwnership change is a dedicated task
Marius Mathiesen [Fri, 2 Aug 2013 08:31:56 +0000 (10:31 +0200)]
Ownership change is a dedicated task

Remove owner params before calling Project#attributes= in
ProjectsController#update. Otherwise update would fail silently.

5 years agoLoad all required JS components, fix broken rails links
Christian Johansen [Fri, 2 Aug 2013 08:29:43 +0000 (10:29 +0200)]
Load all required JS components, fix broken rails links

5 years agoDon't require login for Repository Community
Marius Mathiesen [Fri, 2 Aug 2013 08:20:47 +0000 (10:20 +0200)]
Don't require login for Repository Community

This must be considered a public page.

5 years agoDisplay year in repo creation date
Marius Mathiesen [Fri, 2 Aug 2013 08:20:17 +0000 (10:20 +0200)]
Display year in repo creation date

This resolves issue #145.

5 years agoFix file requirement for openid
Marius Mathiesen [Fri, 2 Aug 2013 07:42:52 +0000 (09:42 +0200)]
Fix file requirement for openid

5 years agoUpdate UI
Christian Johansen [Thu, 1 Aug 2013 23:54:38 +0000 (01:54 +0200)]
Update UI

5 years agoMerge commit 'refs/merge-requests/247' of git://gitorious.org/gitorious/mainline...
Christian Johansen [Thu, 1 Aug 2013 23:22:28 +0000 (01:22 +0200)]
Merge commit 'refs/merge-requests/247' of git://gitorious.org/gitorious/mainline into next

5 years agoActually *use* HTTPS for web hooks
Marius Mathiesen [Thu, 1 Aug 2013 12:55:19 +0000 (14:55 +0200)]
Actually *use* HTTPS for web hooks

As it turns out, Net::HTTP.post_form doesn't work with HTTPS, so taking
this a little more cumbersome route instead.

5 years agoSupport HTTPS web hooks
Marius Mathiesen [Thu, 1 Aug 2013 11:56:10 +0000 (13:56 +0200)]
Support HTTPS web hooks

Resolving #181. Tried running locally against an HTTPS postbin, and the
payload succeeded.

5 years agoDon't pass .git to processors, they won't resolve
Marius Mathiesen [Thu, 1 Aug 2013 11:38:18 +0000 (13:38 +0200)]
Don't pass .git to processors, they won't resolve

Since we use Repository.find_by_hashed_path in PushProcessor, we
shouldn't have the .git suffix on the path although that's used when pushing.

5 years agoDon't white-list everything in search summary
Marius Mathiesen [Thu, 1 Aug 2013 09:00:57 +0000 (11:00 +0200)]
Don't white-list everything in search summary

Rather pass the ProjectPresenter as html_safe, and explicitly escape the title

5 years agoUnescape search result summary
Marius Mathiesen [Thu, 1 Aug 2013 08:57:03 +0000 (10:57 +0200)]
Unescape search result summary

5 years agoWhitelist certain fields in Project
Marius Mathiesen [Thu, 1 Aug 2013 08:48:23 +0000 (10:48 +0200)]
Whitelist certain fields in Project

These are updated via Project#attributes= so we'll need them exposed.

5 years agoUpdate to latest ThinkingSphinx
Marius Mathiesen [Thu, 1 Aug 2013 08:27:30 +0000 (10:27 +0200)]
Update to latest ThinkingSphinx

TS 3.x puts search index definitions outside of the model, which we've
been doing by hand for a while. Furthermore, it looks like searches for
@title and @description work again - still don't know why it fails today
:-/

Also, the rake task names are the same as before, so we should not have
a problem there.

5 years agoCache commits based on sha1, not branch name
Marius Mathiesen [Tue, 30 Jul 2013 11:33:56 +0000 (13:33 +0200)]
Cache commits based on sha1, not branch name

5 years agoRedirect commits for branch to full SHA1
Marius Mathiesen [Tue, 30 Jul 2013 11:24:14 +0000 (13:24 +0200)]
Redirect commits for branch to full SHA1

Resolves issue #183

5 years agoAllow using custom response code when redirecting
Marius Mathiesen [Tue, 30 Jul 2013 11:23:38 +0000 (13:23 +0200)]
Allow using custom response code when redirecting

5 years agoDon't crash on signed commits
Marius Mathiesen [Mon, 29 Jul 2013 11:28:52 +0000 (13:28 +0200)]
Don't crash on signed commits

Applied this patch: https://github.com/gitlabhq/grit/pull/18 which
replaces the GPG data from the rev-list output.

5 years agotests: use symbols in params 247
Ken Dreyer [Mon, 22 Jul 2013 06:32:31 +0000 (00:32 -0600)]
tests: use symbols in params

A couple areas in the test suite used strings instead of symbols in the
params() helpers. Be consistent and use symbols everywhere.

This fixes two intermittent test failures in
CreateProjectRepositoryTest. We were inadvertently passing a params hash
with the duplicate keys "name" and :name. The test suite would fail or
pass depending on how Ruby chose to order the "name" and :name keys for
this hash. Using symbols everywhere eliminates the test failures.

5 years agoSplit repo/user view state
Christian Johansen [Wed, 17 Jul 2013 23:24:36 +0000 (01:24 +0200)]
Split repo/user view state

Fixes missing user menu on non-repository pages

5 years agoUpdate dev env guides
Christian Johansen [Wed, 17 Jul 2013 12:19:09 +0000 (14:19 +0200)]
Update dev env guides

5 years agoFix invalid call
Christian Johansen [Wed, 17 Jul 2013 12:02:49 +0000 (14:02 +0200)]
Fix invalid call

5 years agoDisplay blame on mouse-over in blame
Christian Johansen [Wed, 17 Jul 2013 11:48:01 +0000 (13:48 +0200)]
Display blame on mouse-over in blame

5 years agoDon't attempt to render markdown for empty descriptions
Christian Johansen [Wed, 17 Jul 2013 09:54:59 +0000 (11:54 +0200)]
Don't attempt to render markdown for empty descriptions

5 years agoRemove benchmarking of partial template
Christian Johansen [Wed, 17 Jul 2013 09:54:14 +0000 (11:54 +0200)]
Remove benchmarking of partial template

Causes double rendering
This template will soon be removed anyway (in favor of a UI3 one)

5 years agohtml_safe in the right place
Christian Johansen [Wed, 17 Jul 2013 09:41:45 +0000 (11:41 +0200)]
html_safe in the right place

5 years agoWider getting started page
Christian Johansen [Wed, 17 Jul 2013 09:41:31 +0000 (11:41 +0200)]
Wider getting started page

5 years agoForce UTF-8 for commit messages
Christian Johansen [Wed, 17 Jul 2013 09:40:32 +0000 (11:40 +0200)]
Force UTF-8 for commit messages

5 years agoRender markdown in repository description
Christian Johansen [Wed, 17 Jul 2013 09:14:30 +0000 (11:14 +0200)]
Render markdown in repository description

5 years agoGracefully handle missing refs
Christian Johansen [Wed, 17 Jul 2013 08:50:41 +0000 (10:50 +0200)]
Gracefully handle missing refs

5 years agoBest guess for Repo browser URLs without commas
Christian Johansen [Wed, 17 Jul 2013 08:45:52 +0000 (10:45 +0200)]
Best guess for Repo browser URLs without commas

When the repository browser is hit with a comma-less URL, we're missing
either the path or the ref/oid. This patch makes the browser smarter,
and is able to recognize a missing path, and will guess at a missing
ref.

Email clients that strip off trailing commas from tree URLs that point
to the root path will now get the expected behavior.

5 years agoMake sure the post-receive hook calculates the correct gitdir
Christian Johansen [Wed, 17 Jul 2013 06:48:26 +0000 (08:48 +0200)]
Make sure the post-receive hook calculates the correct gitdir

Based on https://gitorious.org/gitorious/mainline/merge_requests/245

5 years agoMerge commit 'refs/merge-requests/246' of git://gitorious.org/gitorious/mainline...
Christian Johansen [Wed, 17 Jul 2013 05:56:49 +0000 (07:56 +0200)]
Merge commit 'refs/merge-requests/246' of git://gitorious.org/gitorious/mainline into next

5 years agoUpdate todo
Christian Johansen [Wed, 17 Jul 2013 05:51:05 +0000 (07:51 +0200)]
Update todo