gitorious:mainline.git
5 years agoImprove browsing of (Ldap)Group.
Marius Mathiesen [Tue, 5 Jun 2012 13:42:31 +0000 (15:42 +0200)]
Improve browsing of (Ldap)Group.

LdapGroup owned projects now render correctly:
- Move LdapGroup url helpers into shared module
- Extract instance behaviors for Groups
- Extract partial for member listing in Groups#show

5 years agoClean up conditionals, replace with polymorphism
Marius Mathiesen [Tue, 5 Jun 2012 12:51:42 +0000 (14:51 +0200)]
Clean up conditionals, replace with polymorphism

5 years agoUnit test for Team, replace conditional with polymorphism
Marius Mathiesen [Tue, 5 Jun 2012 12:06:26 +0000 (14:06 +0200)]
Unit test for Team, replace conditional with polymorphism

5 years agoEnsure LdapGroup#ldap_group_names returns an array
Marius Mathiesen [Tue, 5 Jun 2012 09:04:43 +0000 (11:04 +0200)]
Ensure LdapGroup#ldap_group_names returns an array

5 years agoMatch LDAP-provided membership DNs to (internal) LdapGroups
Marius Mathiesen [Thu, 31 May 2012 13:13:42 +0000 (15:13 +0200)]
Match LDAP-provided membership DNs to (internal) LdapGroups

LDAP returns a list of groups a user is member of while Gitorious matches these DNs
to those LdapGroup objects registered with these DNs set up

5 years agoBuild an LDAP connection in the same way as for authentication
Marius Mathiesen [Thu, 31 May 2012 12:09:05 +0000 (14:09 +0200)]
Build an LDAP connection in the same way as for authentication

Ie: support encryption as well

5 years agoLet LdapGroup look up all LDAP group memberships for a user
Marius Mathiesen [Thu, 31 May 2012 12:06:55 +0000 (14:06 +0200)]
Let LdapGroup look up all LDAP group memberships for a user

Re-use configuration from LdapAuthentication

5 years agoMoving LDAP configuration into a separate class
Marius Mathiesen [Thu, 31 May 2012 11:51:17 +0000 (13:51 +0200)]
Moving LDAP configuration into a separate class

We will be re-using LDAP configuration specified for authentication when
using LDAP for authorization. Extracted this into a reusable module.

5 years agoRender the correct label
Marius Mathiesen [Tue, 29 May 2012 13:53:49 +0000 (15:53 +0200)]
Render the correct label

5 years agoDamn you, Rails
Marius Mathiesen [Tue, 29 May 2012 13:50:50 +0000 (15:50 +0200)]
Damn you, Rails

5 years agoAllow configuring which Team implementation to use
Marius Mathiesen [Tue, 29 May 2012 13:00:17 +0000 (15:00 +0200)]
Allow configuring which Team implementation to use

Added the configuration to environment.rb, seems to avoid some
of the missing constant issues we've seen before.

5 years agoDisplay, edit list of membering DNs in LdapGroups
Marius Mathiesen [Tue, 29 May 2012 12:41:38 +0000 (14:41 +0200)]
Display, edit list of membering DNs in LdapGroups

5 years agoStarting extraction of duplicated group/ldapgroup funcitonality into
Thomas Kjeldahl Nilsson [Tue, 22 May 2012 11:39:52 +0000 (13:39 +0200)]
Starting extraction of duplicated group/ldapgroup funcitonality into
common module GroupBehavior

5 years agoConsistency is nice
Thomas Kjeldahl Nilsson [Tue, 22 May 2012 06:34:57 +0000 (08:34 +0200)]
Consistency is nice

5 years agoFixed functionals
Thomas Kjeldahl Nilsson [Tue, 22 May 2012 06:33:47 +0000 (08:33 +0200)]
Fixed functionals

5 years agoExtracted rest of Team actions from controller, created LdapGroup
Thomas Kjeldahl Nilsson [Fri, 18 May 2012 13:52:03 +0000 (15:52 +0200)]
Extracted rest of Team actions from controller, created LdapGroup

5 years agoAbstracted the Group concept behind a Team api.
Thomas Kjeldahl Nilsson [Fri, 18 May 2012 11:56:11 +0000 (13:56 +0200)]
Abstracted the Group concept behind a Team api.

First step to swappable db, ldap etc strategies for Groups: abstract
it behind an API.

5 years agoVerifying current user group admin role directly instead of through
Thomas Kjeldahl Nilsson [Fri, 18 May 2012 10:54:15 +0000 (12:54 +0200)]
Verifying current user group admin role directly instead of through
auth fw.

Hitting the admin?(user, group) method in our Autorization framework
breaks in development mode due to problem reloading the
DatabaseAuthorization module. Working around this for now since we
don't currently need to hit ldap/database auth strategies for
determining group adminship.

5 years agoMoved init of auth strategies from initializer into actual class.
Thomas Kjeldahl Nilsson [Fri, 18 May 2012 09:59:18 +0000 (11:59 +0200)]
Moved init of auth strategies from initializer into actual class.

Classes are reloaded on each request in dev mode, instead of boot-time
as in production mode. Classes should if possible self-configure
instead of relying on boot-time initializers, to make sure per-request
reload works as expected.

5 years agoStarting on ldap group lookup independently of Gitorious env
Marius Mathiesen [Tue, 15 May 2012 13:48:59 +0000 (15:48 +0200)]
Starting on ldap group lookup independently of Gitorious env

5 years agoUpdate version tag v2.3.1
Marius Mathiesen [Mon, 8 Oct 2012 07:15:47 +0000 (09:15 +0200)]
Update version tag

5 years agoSet ENV["HOME"] to make resque work with SSH keys
Marius Mathiesen [Thu, 4 Oct 2012 12:15:33 +0000 (14:15 +0200)]
Set ENV["HOME"] to make resque work with SSH keys

5 years agoAdding a template for running Resque workers under Upstart
Marius Mathiesen [Thu, 4 Oct 2012 11:51:55 +0000 (13:51 +0200)]
Adding a template for running Resque workers under Upstart

5 years agoOh, and we'll need bin/bundle too!
Marius Mathiesen [Thu, 4 Oct 2012 11:49:40 +0000 (13:49 +0200)]
Oh, and we'll need bin/bundle too!

5 years agoFix Unicorn upstart script
Marius Mathiesen [Thu, 4 Oct 2012 11:32:19 +0000 (13:32 +0200)]
Fix Unicorn upstart script

bin/unicorn will chdir now, so we don't need to do that from the script.
Rather just use the full path.

5 years agoUse our awesome new bin/unicorn instead of the (now removed) script/unicorn
Marius Mathiesen [Thu, 4 Oct 2012 11:29:18 +0000 (13:29 +0200)]
Use our awesome new bin/unicorn instead of the (now removed) script/unicorn

5 years agoAdd bin/console and bin/create_user which runs with the correct environment
Marius Mathiesen [Thu, 4 Oct 2012 11:26:44 +0000 (13:26 +0200)]
Add bin/console and bin/create_user which runs with the correct environment

Also put deprecation warning in script/create_user, as we have a
replacement now.

5 years agoMake Rake happy by chdir-ing to RAILS_ROOT
Marius Mathiesen [Thu, 4 Oct 2012 11:17:01 +0000 (13:17 +0200)]
Make Rake happy by chdir-ing to RAILS_ROOT

5 years agoIntroducing $GITORIOUS_ROOT/bin for CLI work with Gitorious
Marius Mathiesen [Thu, 4 Oct 2012 11:03:12 +0000 (13:03 +0200)]
Introducing $GITORIOUS_ROOT/bin for CLI work with Gitorious

In order to make it easier to run Gitorious CLI tools directly,
without dealing with switching users, running `bundle exec` and so,
we're now shipping some preconfigured scripts inside bin/.

These scripts will load a functional Gitorious environment and (if
running in production mode) require that either the user configured in
gitorious.yml is used or switch to that user before running the
scripts. This means these scripts can be run either as the configured
user (usually "git") or by root (in which case the scripts will switch
to that user.

The first two CLI tools included are rake (which lets you invoke Rake)
and unicorn (which lets you run Unicorn).

5 years agoShip a rake wrapper that can be exec'ed without spawning a new shell
Marius Mathiesen [Thu, 4 Oct 2012 09:21:09 +0000 (11:21 +0200)]
Ship a rake wrapper that can be exec'ed without spawning a new shell

5 years agoFix misleading typo in unicorn wrapper script
Marius Mathiesen [Thu, 4 Oct 2012 09:20:42 +0000 (11:20 +0200)]
Fix misleading typo in unicorn wrapper script

5 years agoMake the functional tests pass with new empty cookie behaviour
Marius Mathiesen [Thu, 4 Oct 2012 09:07:47 +0000 (11:07 +0200)]
Make the functional tests pass with new empty cookie behaviour

The Set-Cookie response header will be nil, not an empty array now.

5 years agoStop Rails from sending empty Set-Cookie headers if no cookies are set
Marius Mathiesen [Thu, 4 Oct 2012 09:02:47 +0000 (11:02 +0200)]
Stop Rails from sending empty Set-Cookie headers if no cookies are set

This behaviour was dealt with by Passenger, Thin etc., but not when
running under Unicorn. This makes Gitorious support caching when running under Unicorn.

Manually backported from
https://rails.lighthouseapp.com/projects/8994/tickets/3811-empty-set-cookie-header

5 years agoMake rake resque:work load processors
Marius Mathiesen [Thu, 4 Oct 2012 07:30:21 +0000 (09:30 +0200)]
Make rake resque:work load processors

5 years agoUpdate the gemfile.lock
Thomas Kjeldahl Nilsson [Wed, 3 Oct 2012 18:47:27 +0000 (20:47 +0200)]
Update the gemfile.lock

5 years agoStart using our new just_paginate gem instead of will_paginate
Thomas Kjeldahl Nilsson [Wed, 3 Oct 2012 18:32:48 +0000 (20:32 +0200)]
Start using our new just_paginate gem instead of will_paginate

We do the project index controller first, get around to the rest of
them as time permits. Goal is to rip out will_paginate altogether as
it's turned into multiple bugs over time.

5 years agoSupport REE cow-friendly GC, actually use number of workers
Marius Mathiesen [Wed, 3 Oct 2012 11:17:05 +0000 (13:17 +0200)]
Support REE cow-friendly GC, actually use number of workers

5 years agoProvide Upstart templates for git-daemons and git-proxy
Marius Mathiesen [Tue, 2 Oct 2012 11:12:15 +0000 (13:12 +0200)]
Provide Upstart templates for git-daemons and git-proxy

5 years agoCall setuid/setgid in script/git-proxy
Marius Mathiesen [Tue, 2 Oct 2012 11:08:33 +0000 (13:08 +0200)]
Call setuid/setgid in script/git-proxy

In able to use the git proxy from Upstart (in Upstart versions which
don't support setgid/setuid themselves) without needing an extra
shell (su -c or equivalent) we might as well do this ourselves.

If all these conditions are met:
- RAILS_ENV=production
- We're running as root
- gitorious.yml specifies gitorious_user

we will switch the script to the gid and uid of the specified user.

5 years agoUpstart, how I love thee.
Marius Mathiesen [Mon, 1 Oct 2012 12:00:55 +0000 (14:00 +0200)]
Upstart, how I love thee.

Start on startup it is.

5 years agoUse the sample Unicorn config file in sample Upstart recipe
Marius Mathiesen [Mon, 1 Oct 2012 11:35:34 +0000 (13:35 +0200)]
Use the sample Unicorn config file in sample Upstart recipe

5 years agoAdding Unicorn to gemfile
Marius Mathiesen [Mon, 1 Oct 2012 11:23:26 +0000 (13:23 +0200)]
Adding Unicorn to gemfile

Also including some starting points:

- A wrapper in script/unicorn, which spawns a Unicorn process with the
  correct environment and will not need to fork twice (which confuses
  Upstart)
- A default Unicorn configuration file
- An Upstart recipe for controlling Unicorn

5 years agoSupport git-http under nginx
Marius Mathiesen [Fri, 28 Sep 2012 13:14:10 +0000 (15:14 +0200)]
Support git-http under nginx

5 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Marius Mathiesen [Fri, 28 Sep 2012 12:52:02 +0000 (14:52 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

5 years agoIntroducing support for Nginx X-Accel-Redirect configuration
Marius Mathiesen [Fri, 28 Sep 2012 12:51:34 +0000 (14:51 +0200)]
Introducing support for Nginx X-Accel-Redirect configuration

Set frontend_server: nginx to instruct Gitorious to use these headers
instead of X-Sendfile headers. Gitorious will use synthetic URIs for
this, which should be configured in Nginx; read the
doc/templates/nginx.sample.yml for details.

Furthermore, please note that git-http cloning is not yet supported
with this setup.

5 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Thomas Kjeldahl Nilsson [Fri, 28 Sep 2012 11:45:22 +0000 (13:45 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

5 years agoTemporary fix for private project pagination error=turn off pagination
Thomas Kjeldahl Nilsson [Fri, 28 Sep 2012 11:27:54 +0000 (13:27 +0200)]
Temporary fix for private project pagination error=turn off pagination

Registered bug in issue tracker for this, fix as part of pagination
rewrite later on.

5 years agoMerge commit 'refs/merge-requests/171' of gitorious.org:gitorious/mainline
Marius Mathiesen [Fri, 28 Sep 2012 08:23:06 +0000 (10:23 +0200)]
Merge commit 'refs/merge-requests/171' of gitorious.org:gitorious/mainline

5 years agoMerge commit 'refs/merge-requests/207' of gitorious.org:gitorious/mainline into merge...
Thomas Kjeldahl Nilsson [Thu, 27 Sep 2012 17:26:07 +0000 (19:26 +0200)]
Merge commit 'refs/merge-requests/207' of gitorious.org:gitorious/mainline into merge-requests/207

Conflicts:
config/gitorious.sample.yml

5 years agoMerge commit 'refs/merge-requests/2249' of gitorious.org:gitorious/mainline into...
Thomas Kjeldahl Nilsson [Thu, 27 Sep 2012 17:12:00 +0000 (19:12 +0200)]
Merge commit 'refs/merge-requests/2249' of gitorious.org:gitorious/mainline into merge-requests/2249

5 years agoMerge commit 'refs/merge-requests/201' of gitorious.org:gitorious/mainline into merge...
Thomas Kjeldahl Nilsson [Thu, 27 Sep 2012 17:05:13 +0000 (19:05 +0200)]
Merge commit 'refs/merge-requests/201' of gitorious.org:gitorious/mainline into merge-requests/201

5 years agoMerge commit 'refs/merge-requests/215' of gitorious.org:gitorious/mainline into merge...
Thomas Kjeldahl Nilsson [Thu, 27 Sep 2012 17:01:11 +0000 (19:01 +0200)]
Merge commit 'refs/merge-requests/215' of gitorious.org:gitorious/mainline into merge-requests/215

5 years agoFix accidental revert. 216
Scott Allen [Thu, 27 Sep 2012 14:15:41 +0000 (16:15 +0200)]
Fix accidental revert.

5 years agoPrevent cloning of Private Repos
Scott Allen [Tue, 25 Sep 2012 21:44:26 +0000 (23:44 +0200)]
Prevent cloning of Private Repos

5 years ago'git push' only works with http and ssh urls. The old error message 215
Susanne Oberhauser [Tue, 25 Sep 2012 11:10:50 +0000 (13:10 +0200)]
'git push' only works with http and ssh urls.  The old error message
from the server mostly stated the problem, however it was not obvious
that the url needs to be changed.  The new error message gives a tad
more guidance how to fix the problem.

5 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Thomas Kjeldahl Nilsson [Tue, 25 Sep 2012 07:14:00 +0000 (09:14 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

5 years agoFix typo in error message
Thomas Kjeldahl Nilsson [Tue, 25 Sep 2012 07:13:41 +0000 (09:13 +0200)]
Fix typo in error message

5 years agoFix bug #134: head vcs links broken 214
Christian Weiske [Fri, 21 Sep 2012 17:32:22 +0000 (19:32 +0200)]
Fix bug #134: head vcs links broken

The rel=vcs-* microformat http://joeyh.name/rfc/rel-vcs/ specifies
that the link relation is "vcs-" + $typeOfVersioncontrol, which means
"vcs-git" for gitorious - no matter what transport.

5 years agoUpping tagged version to 2.3.0 v2.3.0
Thomas Kjeldahl Nilsson [Thu, 20 Sep 2012 11:40:28 +0000 (13:40 +0200)]
Upping tagged version to 2.3.0

5 years agoRe-add missing sharding option in sample config file
Thomas Kjeldahl Nilsson [Thu, 20 Sep 2012 09:25:58 +0000 (11:25 +0200)]
Re-add missing sharding option in sample config file

5 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Thomas Kjeldahl Nilsson [Tue, 18 Sep 2012 08:27:29 +0000 (10:27 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

5 years agorepo symlink mirror rake task now only mirrors public repos, uses default path
Thomas Kjeldahl Nilsson [Tue, 18 Sep 2012 08:27:13 +0000 (10:27 +0200)]
repo symlink mirror rake task now only mirrors public repos, uses default path

5 years agoConnect project proposal with emitted messages, add context link to message
Marius Mathiesen [Fri, 14 Sep 2012 13:34:38 +0000 (15:34 +0200)]
Connect project proposal with emitted messages, add context link to message

The inline link in the project proposal notification just didn't cut it

5 years agoDisallowing force push disables remote tag *deletion*
Marius Mathiesen [Fri, 14 Sep 2012 12:57:10 +0000 (14:57 +0200)]
Disallowing force push disables remote tag *deletion*

5 years agoMake sure to update gem dependencies during upgrade
Thomas Kjeldahl Nilsson [Wed, 12 Sep 2012 10:36:21 +0000 (12:36 +0200)]
Make sure to update gem dependencies during upgrade

5 years agoMake param passing to script/{snapshot,restore} more intuitive
Thomas Kjeldahl Nilsson [Wed, 12 Sep 2012 10:16:54 +0000 (12:16 +0200)]
Make param passing to script/{snapshot,restore} more intuitive

5 years agoAdd convenience script for upgrading to newer tagged releases.
Thomas Kjeldahl Nilsson [Tue, 11 Sep 2012 12:22:20 +0000 (14:22 +0200)]
Add convenience script for upgrading to newer tagged releases.

Also adds an undo script to roll back last attempted upgrade.

5 years agoMerge branch 'master' into backup-scripts
Thomas Kjeldahl Nilsson [Tue, 11 Sep 2012 08:17:45 +0000 (10:17 +0200)]
Merge branch 'master' into backup-scripts

5 years agoAdded backup util scripts
Thomas Kjeldahl Nilsson [Tue, 11 Sep 2012 07:55:39 +0000 (09:55 +0200)]
Added backup util scripts

5 years agoFix an issue preventing SSH access from functioning
Marius Mathiesen [Tue, 11 Sep 2012 07:32:24 +0000 (09:32 +0200)]
Fix an issue preventing SSH access from functioning

Since SSH sessions run outside a full Rails environment, explicitly
load RepositoryRoot, which is used to locate repositories on disk.

5 years agoStarted adding more convenience /script commands, more to come
Thomas Kjeldahl Nilsson [Fri, 7 Sep 2012 20:10:06 +0000 (22:10 +0200)]
Started adding more convenience /script commands, more to come

5 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Thomas Kjeldahl Nilsson [Fri, 7 Sep 2012 19:33:55 +0000 (21:33 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

5 years agoAdd convenience script command for diagnostics
Thomas Kjeldahl Nilsson [Fri, 7 Sep 2012 19:33:26 +0000 (21:33 +0200)]
Add convenience script command for diagnostics

5 years agoFix an earlier bad decision in the diagnostics module/task
Thomas Kjeldahl Nilsson [Fri, 7 Sep 2012 19:24:54 +0000 (21:24 +0200)]
Fix an earlier bad decision in the diagnostics module/task

Got overly "clever" recently and made diagnostics sudo-only, + rewrote
authorized key check to be run by su/root. Bad idea, didn't work,
reverting, will hide complexity by instead creating a script/diagnose
helper command.

5 years agoExtracting repository root into a separate class
Marius Mathiesen [Thu, 6 Sep 2012 11:43:39 +0000 (13:43 +0200)]
Extracting repository root into a separate class

We will introduce support for several repository roots for large
installs. This commit extracts all knowledge of where repositories
reside into a separate class which will eventually map a single .git
to one of several directories (potentially on different file systems).

For now, only a single repository root exists: the one specified in
gitorious.yml

5 years agoDon't perform fragment caching with private repositories on
Marius Mathiesen [Tue, 4 Sep 2012 11:34:16 +0000 (13:34 +0200)]
Don't perform fragment caching with private repositories on

Add and use a cache helper that will only cache fragments when private
repositories are turned off. This resolves issue #132.

5 years agoShould only allow a key to be used once site-wide
Thomas Kjeldahl Nilsson [Mon, 3 Sep 2012 18:48:10 +0000 (20:48 +0200)]
Should only allow a key to be used once site-wide

Avoids weirdness like reportd in bug ticket #115

5 years agoMake backup raketasks less noisy when files are missing
Thomas Kjeldahl Nilsson [Mon, 3 Sep 2012 18:04:43 +0000 (20:04 +0200)]
Make backup raketasks less noisy when files are missing

5 years agoMake curl less noisy during diagnostics
Thomas Kjeldahl Nilsson [Mon, 3 Sep 2012 17:57:09 +0000 (19:57 +0200)]
Make curl less noisy during diagnostics

5 years agopublic:images: images shouldn't be executable. 2249
W. Trevor King [Mon, 3 Sep 2012 17:48:31 +0000 (13:48 -0400)]
public:images: images shouldn't be executable.

5 years agoHACKING: fix allthough -> although typo.
W. Trevor King [Mon, 3 Sep 2012 17:26:20 +0000 (13:26 -0400)]
HACKING: fix allthough -> although typo.

5 years agoAdded simple curl test to check that front web page is up
Thomas Kjeldahl Nilsson [Wed, 29 Aug 2012 17:28:39 +0000 (19:28 +0200)]
Added simple curl test to check that front web page is up

5 years agoImproved backup and diagnostics tasks
Thomas Kjeldahl Nilsson [Wed, 29 Aug 2012 17:06:54 +0000 (19:06 +0200)]
Improved backup and diagnostics tasks

5 years agoFix error in generated ultrasphinx config file
Thomas Kjeldahl Nilsson [Wed, 29 Aug 2012 15:55:51 +0000 (17:55 +0200)]
Fix error in generated ultrasphinx config file

Runs sed on generated conf files, replace base_tags with tags

5 years agoTweak labels for CLI diagnostics tests
Thomas Kjeldahl Nilsson [Tue, 28 Aug 2012 07:08:41 +0000 (09:08 +0200)]
Tweak labels for CLI diagnostics tests

5 years agoPrivate projects should make its repos private no matter what.
Thomas Kjeldahl Nilsson [Tue, 28 Aug 2012 06:07:26 +0000 (08:07 +0200)]
Private projects should make its repos private no matter what.

Reverts my earlier slip-up: I thought I simplified both UX and code
but of course a private project should override its repositories
private/public preferences and make everything private by default.

5 years agoNo longer putting repo name in description file
Thomas Kjeldahl Nilsson [Thu, 16 Aug 2012 12:09:33 +0000 (14:09 +0200)]
No longer putting repo name in description file

Some hook may have depended on data (repo path or name?) encoded in
the description file earlier on, but seems to no longer be the case.
And when paths are sharded, this only creates a garbage descr field
when viewed by gitweb, without filling any other function.

5 years agoAdded symlink mirror task
Thomas Kjeldahl Nilsson [Thu, 16 Aug 2012 10:51:37 +0000 (12:51 +0200)]
Added symlink mirror task

5 years agoSquash bug in pushprocessor message logging
Thomas Kjeldahl Nilsson [Thu, 9 Aug 2012 07:58:44 +0000 (09:58 +0200)]
Squash bug in pushprocessor message logging

5 years agoNow able to toggle site admin status on and off in /admin/users
Thomas Kjeldahl Nilsson [Wed, 8 Aug 2012 11:38:09 +0000 (13:38 +0200)]
Now able to toggle site admin status on and off in /admin/users

5 years agoImproved public?/private? tests somewhat
Thomas Kjeldahl Nilsson [Wed, 8 Aug 2012 09:58:08 +0000 (11:58 +0200)]
Improved public?/private? tests somewhat

5 years agoEnsures that project approval respects "private by default" option
Thomas Kjeldahl Nilsson [Wed, 8 Aug 2012 07:52:45 +0000 (09:52 +0200)]
Ensures that project approval respects "private by default" option

5 years agoTweaked diagnostics rake task: color coding, more doc in diagnostics.rake
Thomas Kjeldahl Nilsson [Tue, 7 Aug 2012 08:50:34 +0000 (10:50 +0200)]
Tweaked diagnostics rake task: color coding, more doc in diagnostics.rake

5 years agoDisable broken test until properly fixed
Thomas Kjeldahl Nilsson [Mon, 6 Aug 2012 12:47:14 +0000 (14:47 +0200)]
Disable broken test until properly fixed

Recently broke functional test when fixing a bug in project proposal
workflow. Taking it out until I've fixed&improved the test.

5 years agoUse proper paths in assets:clear task
Christian Johansen [Mon, 6 Aug 2012 11:56:19 +0000 (13:56 +0200)]
Use proper paths in assets:clear task

5 years agoIgnoring TAGS file
Thomas Kjeldahl Nilsson [Mon, 6 Aug 2012 07:00:23 +0000 (09:00 +0200)]
Ignoring TAGS file

5 years agoOnly restoring db and repos by default, not config files
Thomas Kjeldahl Nilsson [Mon, 6 Aug 2012 06:54:10 +0000 (08:54 +0200)]
Only restoring db and repos by default, not config files

5 years agoNow with less debug statements
Thomas Kjeldahl Nilsson [Fri, 3 Aug 2012 07:35:27 +0000 (09:35 +0200)]
Now with less debug statements

5 years agoNew option, doc and ownership fix to backup:restore rake task.
Thomas Kjeldahl Nilsson [Fri, 3 Aug 2012 07:31:49 +0000 (09:31 +0200)]
New option, doc and ownership fix to backup:restore rake task.

Add SKIP_CONFIG to backup:restore (just restore db+repos)
Made sure restored repos are owned by 'gitorious_user'
Tweaked doc in backup.rake

5 years agoImproved the backup tasks a bit
Thomas Kjeldahl Nilsson [Thu, 2 Aug 2012 09:46:14 +0000 (11:46 +0200)]
Improved the backup tasks a bit