gitorious:mainline.git
5 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

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

Conflicts:

test/functional/sessions_controller_test.rb

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

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

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

5 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

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

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

5 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

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

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

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

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

Conflicts:

Gemfile
Gemfile.lock

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

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

5 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

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

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

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

5 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

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

5 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

5 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

5 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

5 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

5 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)

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

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

5 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

5 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

5 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

5 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

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

5 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

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

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

5 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

5 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

5 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

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

5 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

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

5 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

5 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

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

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

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

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

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

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

5 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

5 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

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

5 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

5 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

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

5 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

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

5 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

5 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

5 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

5 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.

5 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.

5 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

5 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.

5 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.

5 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.

5 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.

5 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.

5 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

5 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.

5 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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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.

5 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

5 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

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

5 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

5 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

5 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

5 years agoBe consistent with quoting style
Christian Johansen [Thu, 15 Dec 2011 12:29:37 +0000 (13:29 +0100)]
Be consistent with quoting style

5 years agoTrailing white-space again
Christian Johansen [Thu, 15 Dec 2011 12:29:15 +0000 (13:29 +0100)]
Trailing white-space again

5 years agoRemove trailing white-space
Christian Johansen [Tue, 6 Dec 2011 13:13:57 +0000 (14:13 +0100)]
Remove trailing white-space

5 years agoFix class name
Christian Johansen [Tue, 6 Dec 2011 13:13:37 +0000 (14:13 +0100)]
Fix class name

5 years agoAtlassian Crowd Support
Christian Johansen [Tue, 6 Dec 2011 13:13:26 +0000 (14:13 +0100)]
Atlassian Crowd Support

  - Not yet 100% complete
  - Rails throws reload errors in development mode
  - See authentication.sample.yml for instructions on use

5 years agoprevent XSS through file extensions 188
Moritz Heidkamp [Tue, 6 Dec 2011 12:57:34 +0000 (13:57 +0100)]
prevent XSS through file extensions

5 years agoUse "host" as preferred configuration option for LDAP auth host
Christian Johansen [Tue, 6 Dec 2011 07:35:26 +0000 (08:35 +0100)]
Use "host" as preferred configuration option for LDAP auth host

5 years agoStupid, stupid debugging should never have been committed
Christian Johansen [Mon, 5 Dec 2011 08:17:31 +0000 (09:17 +0100)]
Stupid, stupid debugging should never have been committed

5 years agoDon't limit messages too much
Christian Johansen [Thu, 1 Dec 2011 07:34:20 +0000 (08:34 +0100)]
Don't limit messages too much

Limiting messages adversely affects other actions that generate messages,
e.g., creating/updating merge requests

5 years agoSet gzip mtime header to 0 in generated tarballs
Christian Johansen [Thu, 1 Dec 2011 07:29:59 +0000 (08:29 +0100)]
Set gzip mtime header to 0 in generated tarballs

5 years agoDon't allow search box to slip down and ruin the "raw blob" link
Christian Johansen [Wed, 23 Nov 2011 12:29:42 +0000 (13:29 +0100)]
Don't allow search box to slip down and ruin the "raw blob" link

- Happens when the breadcrumb is too long. This is more of a work-around
  than an actual fix, but better than today's solution

5 years agoMore white-space
Christian Johansen [Wed, 23 Nov 2011 12:28:54 +0000 (13:28 +0100)]
More white-space

5 years agoStupid typo
Christian Johansen [Wed, 23 Nov 2011 12:28:32 +0000 (13:28 +0100)]
Stupid typo

5 years agoHandle errors when viewing diff for invalid commits
Christian Johansen [Wed, 23 Nov 2011 12:10:06 +0000 (13:10 +0100)]
Handle errors when viewing diff for invalid commits