gitorious:mainline.git
4 years agoPass standby file/symlink paths to StandbyModeCommands explicitly mirroring
Marcin Kulik [Tue, 16 Jul 2013 15:17:43 +0000 (17:17 +0200)]
Pass standby file/symlink paths to StandbyModeCommands explicitly

4 years agoUse exception to report missing master key in standby-mode
Marcin Kulik [Tue, 16 Jul 2013 14:53:54 +0000 (16:53 +0200)]
Use exception to report missing master key in standby-mode

4 years agoAdd master_public_key to sample config file
Marcin Kulik [Tue, 16 Jul 2013 12:29:54 +0000 (14:29 +0200)]
Add master_public_key to sample config file

4 years agoDRY up standby-mode script
Marcin Kulik [Tue, 16 Jul 2013 12:03:52 +0000 (14:03 +0200)]
DRY up standby-mode script

4 years agoMake authorized_keys_path an optional argument to StandbyModeCommand
Marcin Kulik [Tue, 16 Jul 2013 11:22:16 +0000 (13:22 +0200)]
Make authorized_keys_path an optional argument to StandbyModeCommand

4 years agoFix SshKeyFile#truncate! to neither create a new file nor crash
Marcin Kulik [Tue, 16 Jul 2013 10:59:09 +0000 (12:59 +0200)]
Fix SshKeyFile#truncate! to neither create a new file nor crash

4 years agoLoad rails environment in standby-mode script
Marcin Kulik [Tue, 16 Jul 2013 10:58:27 +0000 (12:58 +0200)]
Load rails environment in standby-mode script

4 years agoMake the regenerate_ssh_keys script use SshKeyFile.regenerate
Marcin Kulik [Tue, 16 Jul 2013 10:42:59 +0000 (12:42 +0200)]
Make the regenerate_ssh_keys script use SshKeyFile.regenerate

4 years agoMake the EnableStandbyModeCommand inherit from StandbyModeCommand
Marcin Kulik [Tue, 16 Jul 2013 10:42:26 +0000 (12:42 +0200)]
Make the EnableStandbyModeCommand inherit from StandbyModeCommand

4 years agoMove standby mode disabling code to a separate command object
Marcin Kulik [Tue, 16 Jul 2013 10:41:40 +0000 (12:41 +0200)]
Move standby mode disabling code to a separate command object

4 years agoMove standby mode enabling code to a separate command object
Marcin Kulik [Mon, 15 Jul 2013 17:30:27 +0000 (19:30 +0200)]
Move standby mode enabling code to a separate command object

4 years agoAdd script for managing standby mode
Marcin Kulik [Mon, 15 Jul 2013 13:48:36 +0000 (15:48 +0200)]
Add script for managing standby mode

This puts the current gitorious instance into the master or slave mode.
Used when mirroring of the git repositories is configured.

4 years agoUpdate Copyright comments
Marcin Kulik [Fri, 12 Jul 2013 11:41:11 +0000 (13:41 +0200)]
Update Copyright comments

4 years agoMake RepositoryDeletionProcessor mirror the deletion
Marcin Kulik [Fri, 12 Jul 2013 11:34:04 +0000 (13:34 +0200)]
Make RepositoryDeletionProcessor mirror the deletion

4 years agoAdd test for RepositoryDeletionProcessor
Marcin Kulik [Fri, 12 Jul 2013 11:32:34 +0000 (13:32 +0200)]
Add test for RepositoryDeletionProcessor

4 years agoRemove unused variable
Marcin Kulik [Fri, 12 Jul 2013 11:14:50 +0000 (13:14 +0200)]
Remove unused variable

4 years agoMake the push processor mirror the repository changes
Marcin Kulik [Fri, 12 Jul 2013 11:09:59 +0000 (13:09 +0200)]
Make the push processor mirror the repository changes

4 years agoMake real_gitdir an accessor on fake Repository class
Marcin Kulik [Fri, 12 Jul 2013 10:52:12 +0000 (12:52 +0200)]
Make real_gitdir an accessor on fake Repository class

4 years agoFix spelling of "--git-dir" in MirrorManager
Marcin Kulik [Fri, 12 Jul 2013 10:46:46 +0000 (12:46 +0200)]
Fix spelling of "--git-dir" in MirrorManager

4 years agoMake MirrorManager#delete_repository just get the repository path
Marcin Kulik [Fri, 12 Jul 2013 10:43:18 +0000 (12:43 +0200)]
Make MirrorManager#delete_repository just get the repository path

We can't pass the repository object here because the record doesn't
exist anymore.

4 years agoCall mirroring operations from repository create and clone processors
Marcin Kulik [Fri, 12 Jul 2013 08:29:04 +0000 (10:29 +0200)]
Call mirroring operations from repository create and clone processors

4 years agoAdd clone and delete operation support to MirrorManager
Marcin Kulik [Thu, 11 Jul 2013 08:11:42 +0000 (10:11 +0200)]
Add clone and delete operation support to MirrorManager

4 years agoAdd repository creation mirroring
Marcin Kulik [Thu, 11 Jul 2013 07:30:32 +0000 (09:30 +0200)]
Add repository creation mirroring

4 years agoUse simplecov gem on ruby 2.0 too
Marcin Kulik [Thu, 11 Jul 2013 08:12:51 +0000 (10:12 +0200)]
Use simplecov gem on ruby 2.0 too

4 years agoMerge branch 'feature/web_hook_ui' into next
Christian Johansen [Fri, 12 Jul 2013 08:25:59 +0000 (10:25 +0200)]
Merge branch 'feature/web_hook_ui' into next

4 years agoWeb hook polish
Christian Johansen [Fri, 12 Jul 2013 08:23:58 +0000 (10:23 +0200)]
Web hook polish

Fix views
Fix routing
Make sure web hook testing actually works from the UI

4 years agoAdd web hook tests controller
Christian Johansen [Fri, 12 Jul 2013 07:54:29 +0000 (09:54 +0200)]
Add web hook tests controller

4 years agoEnable web hook processor to run only a specific hook
Christian Johansen [Fri, 12 Jul 2013 07:35:40 +0000 (09:35 +0200)]
Enable web hook processor to run only a specific hook

4 years agoTestWebHook use case and validator
Christian Johansen [Fri, 12 Jul 2013 07:22:03 +0000 (09:22 +0200)]
TestWebHook use case and validator

4 years agoAdd validator for web hook tests
Christian Johansen [Thu, 11 Jul 2013 21:59:26 +0000 (23:59 +0200)]
Add validator for web hook tests

4 years agoDocument CreateWebHook use case
Christian Johansen [Thu, 11 Jul 2013 21:23:55 +0000 (23:23 +0200)]
Document CreateWebHook use case

4 years agoAdd test for augmented user/repository view state
Christian Johansen [Thu, 11 Jul 2013 21:20:20 +0000 (23:20 +0200)]
Add test for augmented user/repository view state

4 years agoAdd web hooks controller
Christian Johansen [Thu, 11 Jul 2013 21:20:00 +0000 (23:20 +0200)]
Add web hooks controller

4 years agoAdd CreateWebHooks use case
Christian Johansen [Thu, 11 Jul 2013 20:59:34 +0000 (22:59 +0200)]
Add CreateWebHooks use case

4 years agoExtract WebHookValidator from WebHook
Christian Johansen [Thu, 11 Jul 2013 20:49:14 +0000 (22:49 +0200)]
Extract WebHookValidator from WebHook

4 years agoPull in web hooks UI updates
Christian Johansen [Thu, 11 Jul 2013 20:24:26 +0000 (22:24 +0200)]
Pull in web hooks UI updates

4 years agoRename Hook -> WebHook
Christian Johansen [Thu, 11 Jul 2013 20:20:31 +0000 (22:20 +0200)]
Rename Hook -> WebHook

4 years agoOnly produce one URL validation error at a time
Christian Johansen [Thu, 11 Jul 2013 13:37:26 +0000 (15:37 +0200)]
Only produce one URL validation error at a time

4 years agoUpdate todo
Christian Johansen [Thu, 11 Jul 2013 11:58:21 +0000 (13:58 +0200)]
Update todo

4 years agoProcessors use real_gitdir on disk, not gitdir
Christian Johansen [Thu, 11 Jul 2013 11:55:57 +0000 (13:55 +0200)]
Processors use real_gitdir on disk, not gitdir

When repository dir_sharding is used, real_gitdir will point to the
actual path on disk, while gitdir will contain the fictional "pretty"
<project>/<repository>.git path.

4 years agoAdd processor documentation
Christian Johansen [Thu, 11 Jul 2013 11:48:31 +0000 (13:48 +0200)]
Add processor documentation

4 years agoMerge branch 'next' of gitorious.org:gitorious/mainline into next
Christian Johansen [Thu, 11 Jul 2013 07:05:30 +0000 (09:05 +0200)]
Merge branch 'next' of gitorious.org:gitorious/mainline into next

4 years agoUpdate Dolt dependency
Christian Johansen [Thu, 11 Jul 2013 07:05:21 +0000 (09:05 +0200)]
Update Dolt dependency

4 years agoDocument use cases
Christian Johansen [Wed, 10 Jul 2013 12:30:51 +0000 (14:30 +0200)]
Document use cases

4 years agoRemove unused use case parameters
Christian Johansen [Wed, 10 Jul 2013 12:30:33 +0000 (14:30 +0200)]
Remove unused use case parameters

4 years agoAdd ability to login with... login
Marcin Kulik [Wed, 10 Jul 2013 11:09:34 +0000 (11:09 +0000)]
Add ability to login with... login

4 years agoReplace create admin/system user use_cases
Christian Johansen [Wed, 10 Jul 2013 08:55:42 +0000 (10:55 +0200)]
Replace create admin/system user use_cases

Introduce CreateActivatedUser use case, that solves both cases (they
were already extremely similar). Add some tests, update usage throughout.

4 years agoAdd markup support
Christian Johansen [Wed, 10 Jul 2013 07:39:37 +0000 (09:39 +0200)]
Add markup support

4 years agoMerge branch 'next' of gitorious.org:gitorious/mainline into next
Christian Johansen [Wed, 10 Jul 2013 07:33:43 +0000 (09:33 +0200)]
Merge branch 'next' of gitorious.org:gitorious/mainline into next

4 years agoStart documenting available use cases
Christian Johansen [Wed, 10 Jul 2013 07:10:21 +0000 (09:10 +0200)]
Start documenting available use cases

4 years agoMerge branch 'next', remote-tracking branch 'gitorious/next' into next v3-rc1
Thomas Kjeldahl Nilsson [Tue, 9 Jul 2013 13:50:33 +0000 (15:50 +0200)]
Merge branch 'next', remote-tracking branch 'gitorious/next' into next

4 years agoUpgrade doc: remember bundle --deployment
Thomas Kjeldahl Nilsson [Tue, 9 Jul 2013 13:49:53 +0000 (15:49 +0200)]
Upgrade doc: remember bundle --deployment

4 years agoRemove hard-coded admin menu in repo pending
Christian Johansen [Tue, 9 Jul 2013 13:40:10 +0000 (15:40 +0200)]
Remove hard-coded admin menu in repo pending

4 years agoLoad better errors only in development in repo browser
Christian Johansen [Tue, 9 Jul 2013 13:03:03 +0000 (15:03 +0200)]
Load better errors only in development in repo browser

4 years agoSo long, slow tests
Christian Johansen [Tue, 9 Jul 2013 13:02:27 +0000 (15:02 +0200)]
So long, slow tests

Not working, not being used, causing issues with Bundler

4 years agoMerge remote-tracking branch 'gitorious/next' into next
Thomas Kjeldahl Nilsson [Tue, 9 Jul 2013 12:27:23 +0000 (14:27 +0200)]
Merge remote-tracking branch 'gitorious/next' into next

4 years agoUpdate todo
Christian Johansen [Tue, 9 Jul 2013 12:26:23 +0000 (14:26 +0200)]
Update todo

4 years agoUpdate outdated bin/create-user
Christian Johansen [Tue, 9 Jul 2013 12:26:12 +0000 (14:26 +0200)]
Update outdated bin/create-user

4 years agoMore updates to gts3 upgrade doc
Thomas Kjeldahl Nilsson [Tue, 9 Jul 2013 12:25:56 +0000 (14:25 +0200)]
More updates to gts3 upgrade doc

4 years agoSession needs to be available in "getting started" repo page
Christian Johansen [Tue, 9 Jul 2013 12:25:54 +0000 (14:25 +0200)]
Session needs to be available in "getting started" repo page

4 years agoCorrectly pass arguments in dev setup scripts
Christian Johansen [Tue, 9 Jul 2013 12:22:27 +0000 (14:22 +0200)]
Correctly pass arguments in dev setup scripts

4 years agoSpelling
Christian Johansen [Tue, 9 Jul 2013 10:47:53 +0000 (12:47 +0200)]
Spelling

4 years agoDon't test instance variables
Christian Johansen [Mon, 8 Jul 2013 14:17:49 +0000 (16:17 +0200)]
Don't test instance variables

Test response bodies instead

4 years agoAdd instruction on ts rebuild
Thomas Kjeldahl Nilsson [Mon, 8 Jul 2013 14:15:56 +0000 (16:15 +0200)]
Add instruction on ts rebuild

4 years agoAdd chruby-exec tweaks to monit/init files
Thomas Kjeldahl Nilsson [Mon, 8 Jul 2013 14:08:32 +0000 (16:08 +0200)]
Add chruby-exec tweaks to monit/init files

4 years agoTypo
Thomas Kjeldahl Nilsson [Mon, 8 Jul 2013 14:06:26 +0000 (16:06 +0200)]
Typo

4 years agoConvert UserRepository view state object to serializer
Christian Johansen [Mon, 8 Jul 2013 14:06:23 +0000 (16:06 +0200)]
Convert UserRepository view state object to serializer

4 years agoMove Project XML serializer to new app/serializers
Christian Johansen [Mon, 8 Jul 2013 13:56:25 +0000 (15:56 +0200)]
Move Project XML serializer to new app/serializers

4 years agoMerge branch 'next' of gitorious.org:gitorious/mainline into next
Christian Johansen [Mon, 8 Jul 2013 13:31:58 +0000 (15:31 +0200)]
Merge branch 'next' of gitorious.org:gitorious/mainline into next

4 years agoCSRF token for all
Christian Johansen [Mon, 8 Jul 2013 13:31:47 +0000 (15:31 +0200)]
CSRF token for all

4 years agoUpdate UI - pull in images
Christian Johansen [Mon, 8 Jul 2013 13:15:34 +0000 (15:15 +0200)]
Update UI - pull in images

4 years agoMake repo view state return correct MR url
Marius Mathiesen [Mon, 8 Jul 2013 13:04:47 +0000 (15:04 +0200)]
Make repo view state return correct MR url

It should use the *project* as project and parent as target.

4 years agoAdd avatar path to user view state
Christian Johansen [Mon, 8 Jul 2013 12:52:34 +0000 (14:52 +0200)]
Add avatar path to user view state

4 years agoAdd some additional info on bundler and pg deps
Thomas Kjeldahl Nilsson [Mon, 8 Jul 2013 12:33:38 +0000 (14:33 +0200)]
Add some additional info on bundler and pg deps

4 years agoHandle duplicate slug in projects
Marius Mathiesen [Mon, 8 Jul 2013 11:10:15 +0000 (13:10 +0200)]
Handle duplicate slug in projects

Rails now raises an ActiveRecord::RecordNotUnique where it previously
returned false on save - deal with this.

4 years agoUnescape label in Projects#edit
Marius Mathiesen [Mon, 8 Jul 2013 10:56:33 +0000 (12:56 +0200)]
Unescape label in Projects#edit

4 years agoImplement model_name in validators
Marius Mathiesen [Mon, 8 Jul 2013 10:49:06 +0000 (12:49 +0200)]
Implement model_name in validators

If we don't do this, forms rendered with errors will reference the
incorrect model, causing the app to crash.

4 years agoOnly display state changes when there are any
Christian Johansen [Mon, 8 Jul 2013 07:20:25 +0000 (09:20 +0200)]
Only display state changes when there are any

4 years agoAdd coverage
Christian Johansen [Fri, 5 Jul 2013 14:18:38 +0000 (16:18 +0200)]
Add coverage

4 years agoUpdate UI (CSS)
Christian Johansen [Fri, 5 Jul 2013 14:08:06 +0000 (16:08 +0200)]
Update UI (CSS)

4 years agoFix failing test due to missing stub
Christian Johansen [Fri, 5 Jul 2013 14:05:00 +0000 (16:05 +0200)]
Fix failing test due to missing stub

4 years agoUser#email is unique
Christian Johansen [Fri, 5 Jul 2013 13:56:53 +0000 (15:56 +0200)]
User#email is unique

4 years agoFix repo admin menu glitch in getting started page
Christian Johansen [Fri, 5 Jul 2013 13:47:35 +0000 (15:47 +0200)]
Fix repo admin menu glitch in getting started page

4 years agoMerge branch 'next' of gitorious.org:gitorious/mainline into next
Christian Johansen [Fri, 5 Jul 2013 13:42:45 +0000 (15:42 +0200)]
Merge branch 'next' of gitorious.org:gitorious/mainline into next

4 years agoDon't hard-code repo admin menu in small header
Christian Johansen [Fri, 5 Jul 2013 13:42:15 +0000 (15:42 +0200)]
Don't hard-code repo admin menu in small header

4 years agoMake bin/git-proxy run in production by default
Marius Mathiesen [Fri, 5 Jul 2013 13:08:50 +0000 (15:08 +0200)]
Make bin/git-proxy run in production by default

Also document that bundler must be installed

4 years agoMerge branch 'next' of gitorious.org:gitorious/mainline into next
Marius Mathiesen [Fri, 5 Jul 2013 12:43:46 +0000 (14:43 +0200)]
Merge branch 'next' of gitorious.org:gitorious/mainline into next

4 years agoFix broken install instructions
Marius Mathiesen [Fri, 5 Jul 2013 12:43:41 +0000 (14:43 +0200)]
Fix broken install instructions

4 years agoMerge remote-tracking branch 'gitorious/next' into next
Thomas Kjeldahl Nilsson [Fri, 5 Jul 2013 12:28:53 +0000 (14:28 +0200)]
Merge remote-tracking branch 'gitorious/next' into next

4 years agoAdd assumptions to upgrade instructions
Thomas Kjeldahl Nilsson [Fri, 5 Jul 2013 12:28:21 +0000 (14:28 +0200)]
Add assumptions to upgrade instructions

4 years agoUpdate UI
Christian Johansen [Fri, 5 Jul 2013 12:23:42 +0000 (14:23 +0200)]
Update UI

4 years agoCapture all Rugged:ReferenceErrors
Christian Johansen [Fri, 5 Jul 2013 09:33:12 +0000 (11:33 +0200)]
Capture all Rugged:ReferenceErrors

4 years agoMerge branch 'next' of gitorious.org:gitorious/mainline into next
Christian Johansen [Fri, 5 Jul 2013 09:20:27 +0000 (11:20 +0200)]
Merge branch 'next' of gitorious.org:gitorious/mainline into next

4 years agoProper clone/merge buttons in UI3 repo header
Christian Johansen [Fri, 5 Jul 2013 09:20:08 +0000 (11:20 +0200)]
Proper clone/merge buttons in UI3 repo header

4 years agoRender repo description, not project description
Marius Mathiesen [Fri, 5 Jul 2013 09:03:27 +0000 (11:03 +0200)]
Render repo description, not project description

4 years agoClone and merge paths in user/repo view state
Christian Johansen [Fri, 5 Jul 2013 08:55:29 +0000 (10:55 +0200)]
Clone and merge paths in user/repo view state

4 years agoBackport merge request #238
Marius Mathiesen [Fri, 5 Jul 2013 07:57:42 +0000 (09:57 +0200)]
Backport merge request #238

Thanks, plinio!

4 years agoRecommend ruby-install and chruby in upgrade notes
Marius Mathiesen [Fri, 5 Jul 2013 07:52:09 +0000 (09:52 +0200)]
Recommend ruby-install and chruby in upgrade notes

4 years agoMoar custom backticks kthxbye
Marius Mathiesen [Fri, 5 Jul 2013 07:34:17 +0000 (09:34 +0200)]
Moar custom backticks kthxbye

4 years agoUpdate upgrade instructions
Marius Mathiesen [Fri, 5 Jul 2013 07:30:10 +0000 (09:30 +0200)]
Update upgrade instructions