gitorious:mainline.git
6 years agoRudimentary protection of private repositories in HTTP pulling
Christian Johansen [Wed, 22 Feb 2012 13:37:37 +0000 (14:37 +0100)]
Rudimentary protection of private repositories in HTTP pulling

6 years agoVarious fixes
Christian Johansen [Mon, 20 Feb 2012 14:31:58 +0000 (15:31 +0100)]
Various fixes

Conflicts:

test/unit/user_test.rb

6 years agoRemove unused test
Christian Johansen [Mon, 20 Feb 2012 13:51:03 +0000 (14:51 +0100)]
Remove unused test

6 years agoOops
Christian Johansen [Mon, 20 Feb 2012 13:24:56 +0000 (14:24 +0100)]
Oops

6 years agogit-daemon does not allow cloning of private repositories
Christian Johansen [Mon, 20 Feb 2012 13:17:35 +0000 (14:17 +0100)]
git-daemon does not allow cloning of private repositories

6 years agoFormatting
Christian Johansen [Mon, 20 Feb 2012 13:08:21 +0000 (14:08 +0100)]
Formatting

6 years agoProtect access to private repositories
Christian Johansen [Mon, 20 Feb 2012 13:02:44 +0000 (14:02 +0100)]
Protect access to private repositories

Conflicts:

test/functional/repositories_controller_test.rb

6 years agoUnused code. Delete it.
Christian Johansen [Mon, 20 Feb 2012 11:39:07 +0000 (12:39 +0100)]
Unused code. Delete it.

6 years agoSearch controller authorization
Christian Johansen [Mon, 20 Feb 2012 11:38:58 +0000 (12:38 +0100)]
Search controller authorization

6 years agoFormatting
Christian Johansen [Mon, 20 Feb 2012 10:11:28 +0000 (11:11 +0100)]
Formatting

Conflicts:

test/functional/users_controller_test.rb

6 years agoFormatting
Christian Johansen [Mon, 20 Feb 2012 10:02:08 +0000 (11:02 +0100)]
Formatting

6 years agoPrivate repository authorization for users controller
Christian Johansen [Mon, 20 Feb 2012 10:02:00 +0000 (11:02 +0100)]
Private repository authorization for users controller

6 years agoRefactor filtering and pagination for reuse across controllers
Christian Johansen [Mon, 20 Feb 2012 09:37:32 +0000 (10:37 +0100)]
Refactor filtering and pagination for reuse across controllers

6 years agoAuthorization for trees controller
Christian Johansen [Mon, 20 Feb 2012 08:29:42 +0000 (09:29 +0100)]
Authorization for trees controller

6 years agoAuthorization for data on dashboard and index pages
Christian Johansen [Mon, 20 Feb 2012 08:18:18 +0000 (09:18 +0100)]
Authorization for data on dashboard and index pages

6 years agoFormatting
Christian Johansen [Fri, 17 Feb 2012 16:12:41 +0000 (17:12 +0100)]
Formatting

Conflicts:

test/functional/sessions_controller_test.rb

6 years agoFormatting
Christian Johansen [Fri, 17 Feb 2012 16:10:50 +0000 (17:10 +0100)]
Formatting

6 years agoHelper, use it
Christian Johansen [Fri, 17 Feb 2012 16:05:55 +0000 (17:05 +0100)]
Helper, use it

6 years agoAuthorization for pages controller
Christian Johansen [Fri, 17 Feb 2012 16:05:06 +0000 (17:05 +0100)]
Authorization for pages controller

6 years agoMessages controller authorization
Christian Johansen [Fri, 17 Feb 2012 15:30:15 +0000 (16:30 +0100)]
Messages controller authorization

Conflicts:

app/models/user.rb

6 years agoMerge request versions controller authorization
Christian Johansen [Fri, 17 Feb 2012 15:24:39 +0000 (16:24 +0100)]
Merge request versions controller authorization

6 years agoProtected merge requests controller
Christian Johansen [Fri, 17 Feb 2012 15:17:27 +0000 (16:17 +0100)]
Protected merge requests controller

6 years agoDRY test
Christian Johansen [Fri, 17 Feb 2012 14:15:29 +0000 (15:15 +0100)]
DRY test

Conflicts:

test/functional/merge_requests_controller_test.rb

6 years agoFormatting
Christian Johansen [Fri, 17 Feb 2012 13:25:16 +0000 (14:25 +0100)]
Formatting

6 years agoFormatting
Christian Johansen [Fri, 17 Feb 2012 13:18:19 +0000 (14:18 +0100)]
Formatting

6 years agoFormatting
Christian Johansen [Fri, 17 Feb 2012 13:15:43 +0000 (14:15 +0100)]
Formatting

6 years agoFreeze Gem versions
Christian Johansen [Fri, 17 Feb 2012 13:09:40 +0000 (14:09 +0100)]
Freeze Gem versions

Conflicts:

Gemfile
Gemfile.lock

6 years agoFavorites controller private repositories authorization
Christian Johansen [Fri, 17 Feb 2012 10:11:55 +0000 (11:11 +0100)]
Favorites controller private repositories authorization

6 years agoRestrict access to project events
Christian Johansen [Fri, 17 Feb 2012 09:53:03 +0000 (10:53 +0100)]
Restrict access to project events

6 years agoPrivate repositories restrictions for committerships controller
Christian Johansen [Fri, 17 Feb 2012 09:22:56 +0000 (10:22 +0100)]
Private repositories restrictions for committerships controller

Conflicts:

test/functional/committerships_controller_test.rb

6 years agoCommits controller private repo'd
Christian Johansen [Thu, 16 Feb 2012 12:48:31 +0000 (13:48 +0100)]
Commits controller private repo'd

6 years agoCommit diffs private repos
Christian Johansen [Thu, 16 Feb 2012 12:29:28 +0000 (13:29 +0100)]
Commit diffs private repos

6 years agoPrivate repositories commit diffs authorization
Christian Johansen [Thu, 16 Feb 2012 12:03:02 +0000 (13:03 +0100)]
Private repositories commit diffs authorization

6 years agoPrivate repositories restrictions for commit comments controller
Christian Johansen [Thu, 16 Feb 2012 11:37:44 +0000 (12:37 +0100)]
Private repositories restrictions for commit comments controller

6 years agoCopyright
Christian Johansen [Thu, 16 Feb 2012 10:05:30 +0000 (11:05 +0100)]
Copyright

6 years agoTest private repository enforcing for comments
Christian Johansen [Thu, 16 Feb 2012 10:04:04 +0000 (11:04 +0100)]
Test private repository enforcing for comments

Conflicts:

test/functional/comments_controller_test.rb

6 years agoComplete coverage of private repos/blobs
Christian Johansen [Thu, 16 Feb 2012 09:29:00 +0000 (10:29 +0100)]
Complete coverage of private repos/blobs

6 years agoProtected raw action, DRY-er tests
Christian Johansen [Thu, 16 Feb 2012 09:25:15 +0000 (10:25 +0100)]
Protected raw action, DRY-er tests

6 years agoCleanup and refactor
Christian Johansen [Thu, 16 Feb 2012 09:17:03 +0000 (10:17 +0100)]
Cleanup and refactor

Conflicts:

test/functional/blobs_controller_test.rb

6 years agoProtect blobs in private projects (incomplete)
Christian Johansen [Wed, 15 Feb 2012 16:06:04 +0000 (17:06 +0100)]
Protect blobs in private projects (incomplete)

6 years agoFormatting
Christian Johansen [Wed, 15 Feb 2012 15:22:22 +0000 (16:22 +0100)]
Formatting

6 years agoKill some unused code
Christian Johansen [Wed, 15 Feb 2012 15:22:00 +0000 (16:22 +0100)]
Kill some unused code

6 years agoAdd quick link to delete all project collaborators thus opening it for the public
Christian Johansen [Wed, 15 Feb 2012 15:15:13 +0000 (16:15 +0100)]
Add quick link to delete all project collaborators thus opening it for the public

6 years agoBuild UI for managing project collaborators
Christian Johansen [Wed, 15 Feb 2012 15:08:40 +0000 (16:08 +0100)]
Build UI for managing project collaborators

Conflicts:

app/controllers/projects_controller.rb
public/stylesheets/base_backup.css

6 years agoExtract auto-completion
Christian Johansen [Wed, 15 Feb 2012 15:08:22 +0000 (16:08 +0100)]
Extract auto-completion

  - User login/email
  - Group name
  - Allows reuse in other controllers

6 years agoProtect projects controller for private repos
Christian Johansen [Wed, 15 Feb 2012 09:19:20 +0000 (10:19 +0100)]
Protect projects controller for private repos

6 years agoProtected some project actions
Christian Johansen [Tue, 14 Feb 2012 14:02:04 +0000 (15:02 +0100)]
Protected some project actions

6 years agoRemove defunct ProjectController#category
Christian Johansen [Tue, 14 Feb 2012 13:36:51 +0000 (14:36 +0100)]
Remove defunct ProjectController#category

Conflicts:

app/controllers/projects_controller.rb
config/routes.rb

6 years agoMake project private
Christian Johansen [Tue, 14 Feb 2012 12:57:25 +0000 (13:57 +0100)]
Make project private

6 years agoProject memberships
Christian Johansen [Tue, 14 Feb 2012 12:52:31 +0000 (13:52 +0100)]
Project memberships

6 years agoLimit project access through project memberships
Christian Johansen [Tue, 14 Feb 2012 12:14:06 +0000 (13:14 +0100)]
Limit project access through project memberships

Conflicts:

app/views/projects/show.html.erb

6 years agoMove committerships authorization
Christian Johansen [Mon, 13 Feb 2012 13:25:23 +0000 (14:25 +0100)]
Move committerships authorization

Conflicts:

app/views/projects/show.html.erb

6 years agoUpdate views not covered by tests
Christian Johansen [Mon, 13 Feb 2012 13:24:58 +0000 (14:24 +0100)]
Update views not covered by tests

6 years agoExplicit and consistent naming
Christian Johansen [Mon, 13 Feb 2012 09:18:18 +0000 (10:18 +0100)]
Explicit and consistent naming

6 years agoClean up authorization
Christian Johansen [Mon, 13 Feb 2012 09:08:09 +0000 (10:08 +0100)]
Clean up authorization

  - Don't branch on type in Authorization module
  - Add separate class to inherit from if you need typed authorization

Conflicts:

test/functional/merge_requests_controller_test.rb

6 years agocan_write_to? -> can_push?
Christian Johansen [Mon, 13 Feb 2012 08:42:02 +0000 (09:42 +0100)]
can_write_to? -> can_push?

6 years agoExtracted authorization passing all tests (including controllers)
Christian Johansen [Fri, 10 Feb 2012 16:23:31 +0000 (17:23 +0100)]
Extracted authorization passing all tests (including controllers)

Conflicts:

app/views/admin/users/index.html.erb
app/views/comments/_form.html.erb

6 years agoAuthorization extraction in models
Christian Johansen [Fri, 10 Feb 2012 14:38:06 +0000 (15:38 +0100)]
Authorization extraction in models

Conflicts:

app/models/user.rb
test/test_helper.rb

6 years agoExtract authorization from merge requests
Christian Johansen [Wed, 8 Feb 2012 14:19:27 +0000 (15:19 +0100)]
Extract authorization from merge requests

6 years agoWhitespace
Christian Johansen [Wed, 8 Feb 2012 12:46:30 +0000 (13:46 +0100)]
Whitespace

6 years agoWhite space
Christian Johansen [Wed, 8 Feb 2012 12:43:40 +0000 (13:43 +0100)]
White space

6 years agoExtract group authorization
Christian Johansen [Wed, 8 Feb 2012 12:42:08 +0000 (13:42 +0100)]
Extract group authorization

6 years agoFormatting
Christian Johansen [Wed, 8 Feb 2012 11:47:22 +0000 (12:47 +0100)]
Formatting

6 years agoExtract authorization from Comment
Christian Johansen [Wed, 8 Feb 2012 11:43:52 +0000 (12:43 +0100)]
Extract authorization from Comment

6 years agoIntroduce Authorization module
Christian Johansen [Wed, 8 Feb 2012 10:14:55 +0000 (11:14 +0100)]
Introduce Authorization module

  - Passes all unit tests
  - Extracted access from User class
  - Fails functional tests
  - Put all authorization in one module
  - Eventually: fine-grained authorization API (not necessarily
    just one module like now, this is done for clarity in "round 1")
    Some of the "flattened" polymorphism will be reintroduced at a
    later point, when the entire authorization implementation is clear

Conflicts:

app/models/user.rb

6 years agoProperly rescue from timeouts in merge request versions controller
Christian Johansen [Tue, 28 Feb 2012 07:57:52 +0000 (08:57 +0100)]
Properly rescue from timeouts in merge request versions controller

6 years agoUpdate paperclip
Christian Johansen [Tue, 28 Feb 2012 07:25:37 +0000 (08:25 +0100)]
Update paperclip

6 years agoMerge commit 'refs/merge-requests/2241' of gitorious.org:gitorious/mainline
Christian Johansen [Tue, 28 Feb 2012 06:53:13 +0000 (07:53 +0100)]
Merge commit 'refs/merge-requests/2241' of gitorious.org:gitorious/mainline

6 years agoMerge commit 'refs/merge-requests/2236' of gitorious.org:gitorious/mainline
Christian Johansen [Tue, 28 Feb 2012 06:50:10 +0000 (07:50 +0100)]
Merge commit 'refs/merge-requests/2236' of gitorious.org:gitorious/mainline

6 years agoOff by one
Christian Johansen [Mon, 27 Feb 2012 13:54:41 +0000 (14:54 +0100)]
Off by one

6 years agoOnly display 10 repositories in preview mode on project page
Christian Johansen [Mon, 27 Feb 2012 13:40:32 +0000 (14:40 +0100)]
Only display 10 repositories in preview mode on project page

  - Display rest as a list of links
  - Sort by last pushed to

6 years agoImprove code copying
Christian Johansen [Mon, 27 Feb 2012 12:37:23 +0000 (13:37 +0100)]
Improve code copying

6 years agoAdd a timeout to merge request version diffs
Christian Johansen [Mon, 27 Feb 2012 12:33:31 +0000 (13:33 +0100)]
Add a timeout to merge request version diffs

  - Avoids the server choking on big merge requests

6 years ago/admin/repositories now showing all repos types 2241
Thomas Kjeldahl Nilsson [Thu, 23 Feb 2012 12:13:15 +0000 (13:13 +0100)]
/admin/repositories now showing all repos types

6 years agoMerge commit 'refs/merge-requests/195' of gitorious.org:gitorious/mainline
Christian Johansen [Fri, 10 Feb 2012 09:58:39 +0000 (10:58 +0100)]
Merge commit 'refs/merge-requests/195' of gitorious.org:gitorious/mainline

6 years agoNow only setting up bare minimum of hooks for site git repo. 2240
Thomas Kjeldahl Nilsson [Thu, 9 Feb 2012 14:12:27 +0000 (15:12 +0100)]
Now only setting up bare minimum of hooks for site git repo.

6 years agoRevert push processor tweak, will need to fix post push hook instead for site wiki...
Thomas Kjeldahl Nilsson [Thu, 9 Feb 2012 13:26:00 +0000 (14:26 +0100)]
Revert push processor tweak, will need to fix post push hook instead for site wiki git repo.

6 years agoFixed git push pull of wiki repos
Thomas Kjeldahl Nilsson [Thu, 9 Feb 2012 11:35:30 +0000 (12:35 +0100)]
Fixed git push pull of wiki repos

6 years agoNow persisting wiki git repo path in site model, also persisting default site.
Thomas Kjeldahl Nilsson [Thu, 9 Feb 2012 10:21:57 +0000 (11:21 +0100)]
Now persisting wiki git repo path in site model, also persisting default site.

6 years agoTests completely emptied due to earlier DRYing of wiki content stuff into own module...
Thomas Kjeldahl Nilsson [Wed, 8 Feb 2012 19:50:49 +0000 (20:50 +0100)]
Tests completely emptied due to earlier DRYing of wiki content stuff into own module, so out they go.

6 years agoNeat-freak-tweak: forgot to update copyright notices in some files.
Thomas Kjeldahl Nilsson [Thu, 2 Feb 2012 13:58:19 +0000 (14:58 +0100)]
Neat-freak-tweak: forgot to update copyright notices in some files.

6 years agoAdds wiki functionality to each Site. Created on demand on first use - synchronously...
Thomas Kjeldahl Nilsson [Thu, 26 Jan 2012 20:34:06 +0000 (21:34 +0100)]
Adds wiki functionality to each Site. Created on demand on first use - synchronously for now (one-time operation on each site). Wiki repo name/path derived from Site title.

6 years agoFixed active users, now using push events as activity metric. Added some test coverage. 195
Thomas Kjeldahl Nilsson [Wed, 8 Feb 2012 14:35:49 +0000 (15:35 +0100)]
Fixed active users, now using push events as activity metric. Added some test coverage.

6 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Christian Johansen [Mon, 30 Jan 2012 08:48:35 +0000 (09:48 +0100)]
Merge branch 'master' of gitorious.org:gitorious/mainline

6 years agoIncrement Gitorious::VERSION to latest. v2.1.1
Marius Mathiesen [Tue, 24 Jan 2012 09:10:59 +0000 (10:10 +0100)]
Increment Gitorious::VERSION to latest.

6 years agoUpdated the paperclip library to work for 1.9 2236
git version control [Sun, 22 Jan 2012 13:29:30 +0000 (13:29 +0000)]
Updated the paperclip library to work for 1.9

6 years agoSome gratitude is due.
Marius Mathiesen [Thu, 19 Jan 2012 10:01:33 +0000 (11:01 +0100)]
Some gratitude is due.

6 years agoSanitize command input to graph display
Marius Mathiesen [Thu, 19 Jan 2012 09:55:29 +0000 (10:55 +0100)]
Sanitize command input to graph display

6 years agoAuthor situation changed a while ago, update AUTHORS
Christian Johansen [Fri, 6 Jan 2012 15:35:34 +0000 (16:35 +0100)]
Author situation changed a while ago, update AUTHORS

6 years agoFix broken test after adding gzip argument
Christian Johansen [Fri, 6 Jan 2012 15:27:44 +0000 (16:27 +0100)]
Fix broken test after adding gzip argument

6 years agoDirectories have no meta data, make sure they span as many columns
Christian Johansen [Tue, 3 Jan 2012 07:52:39 +0000 (08:52 +0100)]
Directories have no meta data, make sure they span as many columns

6 years agoMerge commit 'refs/merge-requests/189' of gitorious.org:gitorious/mainline
Christian Johansen [Tue, 3 Jan 2012 07:49:20 +0000 (08:49 +0100)]
Merge commit 'refs/merge-requests/189' of gitorious.org:gitorious/mainline

6 years agoMerge commit 'refs/merge-requests/188' of gitorious.org:gitorious/mainline
Christian Johansen [Tue, 3 Jan 2012 07:46:57 +0000 (08:46 +0100)]
Merge commit 'refs/merge-requests/188' of gitorious.org:gitorious/mainline

6 years agoChanged the save to save! on the user. This causes log writings when the saving faile... 190
git version control [Thu, 29 Dec 2011 09:33:16 +0000 (09:33 +0000)]
Changed the save to save! on the user. This causes log writings when the saving failed. The earlier save just shallowed the error which made it hard to find.

6 years agoUse configured site name as default site name
Christian Johansen [Wed, 21 Dec 2011 09:57:27 +0000 (10:57 +0100)]
Use configured site name as default site name

6 years agoMake LDAP login attribute configurable
Christian Johansen [Mon, 19 Dec 2011 13:15:10 +0000 (14:15 +0100)]
Make LDAP login attribute configurable

  - Defaults to CN like previously
  - Also allows e.g. uid, which is common

6 years agoWrong class name in test
Christian Johansen [Mon, 19 Dec 2011 12:59:58 +0000 (13:59 +0100)]
Wrong class name in test

6 years agofeature #50 implemented. Showing dirs before others files 189
Rafael Pérez [Sun, 18 Dec 2011 21:09:47 +0000 (18:09 -0300)]
feature #50 implemented. Showing dirs before others files

6 years agoActually print login failure to user
Christian Johansen [Thu, 15 Dec 2011 12:30:07 +0000 (13:30 +0100)]
Actually print login failure to user

6 years agoFail if Crowd user cannot be created in Gitorious db
Christian Johansen [Thu, 15 Dec 2011 12:29:55 +0000 (13:29 +0100)]
Fail if Crowd user cannot be created in Gitorious db