9 years agoRefactoring the avatar helpers, and adding avatar display to teams.
August Lilleaas [Fri, 12 Jun 2009 09:02:44 +0000 (11:02 +0200)]
Refactoring the avatar helpers, and adding avatar display to teams.

9 years agoAdding links and logo to the footer.
August Lilleaas [Fri, 12 Jun 2009 08:49:04 +0000 (10:49 +0200)]
Adding links and logo to the footer.

9 years agoStopping the scrolling animation when hovering the scroller.
August Lilleaas [Fri, 12 Jun 2009 08:43:55 +0000 (10:43 +0200)]
Stopping the scrolling animation when hovering the scroller.

9 years agoAdding "see all" links to the projects and teams columns on the home page.
August Lilleaas [Fri, 12 Jun 2009 07:22:20 +0000 (09:22 +0200)]
Adding "see all" links to the projects and teams columns on the home page.

9 years agoUsing a more sensible algorithm that isn't extremely weird and buggy for figuring...
August Lilleaas [Fri, 12 Jun 2009 07:20:28 +0000 (09:20 +0200)]
Using a more sensible algorithm that isn't extremely weird and buggy for figuring out when to add new content to the scroller .

9 years agoText shadow on timestamp in scroller.
August Lilleaas [Thu, 11 Jun 2009 13:55:36 +0000 (15:55 +0200)]
Text shadow on timestamp in scroller.

9 years agoAdding some metadata to users and teams on the home page.
August Lilleaas [Thu, 11 Jun 2009 13:52:15 +0000 (15:52 +0200)]
Adding some metadata to users and teams on the home page.

9 years agoA few layout updates on the new glossy funky homepage.
August Lilleaas [Thu, 11 Jun 2009 13:11:55 +0000 (15:11 +0200)]
A few layout updates on the new glossy funky homepage.

9 years agoUpdating and renaming the icon and icon avatar images.
August Lilleaas [Thu, 11 Jun 2009 12:55:26 +0000 (14:55 +0200)]
Updating and renaming the icon and icon avatar images.

9 years agoAdding the recent events ticker/scroller on the new glossy flashy sparkly homepage.
August Lilleaas [Thu, 11 Jun 2009 12:19:06 +0000 (14:19 +0200)]
Adding the recent events ticker/scroller on the new glossy flashy sparkly homepage.

9 years agoHiding some elements with CSS instead of javascript. This means that people without...
August Lilleaas [Thu, 11 Jun 2009 06:36:01 +0000 (08:36 +0200)]
Hiding some elements with CSS instead of javascript. This means that people without javascript is a tad bit more screwed, but it also means that people with JS don't get flickering page elements when loading the page.

9 years agoAdding the columns of most active users, teams and projects to the new glossy homepage.
August Lilleaas [Wed, 10 Jun 2009 14:23:21 +0000 (16:23 +0200)]
Adding the columns of most active users, teams and projects to the new glossy homepage.

9 years agoThe homepage on is_gitorious_dot_org now renders the layout only, no view (temporarily).
August Lilleaas [Wed, 10 Jun 2009 14:22:32 +0000 (16:22 +0200)]
The homepage on is_gitorious_dot_org now renders the layout only, no view (temporarily).

9 years agoAdding Project#descriptions_first_paragraph. Spits out everything before the first...
August Lilleaas [Wed, 10 Jun 2009 14:21:10 +0000 (16:21 +0200)]
Adding Project#descriptions_first_paragraph. Spits out everything before the first newline.

9 years agoAdded a hew missing locale keys for the new gitorious homepage.
August Lilleaas [Wed, 10 Jun 2009 12:28:43 +0000 (14:28 +0200)]
Added a hew missing locale keys for the new gitorious homepage.

9 years agoAn extra comma in application.js that made the JS not parse in IE. Fixed, IE can...
August Lilleaas [Wed, 10 Jun 2009 12:28:28 +0000 (14:28 +0200)]
An extra comma in application.js that made the JS not parse in IE. Fixed, IE can now bask in the glory of having javascripts on

9 years agoA few IE fixes in the new glossy homepage stylesheet.
August Lilleaas [Wed, 10 Jun 2009 12:27:35 +0000 (14:27 +0200)]
A few IE fixes in the new glossy homepage stylesheet.

9 years agoHere's the new and glossy home page header!
August Lilleaas [Tue, 9 Jun 2009 12:22:51 +0000 (14:22 +0200)]
Here's the new and glossy home page header!

9 years agoAdding a new configuration declaration to config/gitorious.yml that determines wether...
August Lilleaas [Tue, 9 Jun 2009 11:46:17 +0000 (13:46 +0200)]
Adding a new configuration declaration to config/gitorious.yml that determines wether or not the deployment is the actual deployment. It is false by default. We do this so that people that downloads gitorious gets a less branded and über glossy gitorious, allowing us to go wild on the site, branding wise.

9 years agoMoved the binary blob detection into Grit::Blob
Johan Sørensen [Thu, 11 Jun 2009 12:40:11 +0000 (14:40 +0200)]
Moved the binary blob detection into Grit::Blob

9 years agoMake unread_count for received messages not include archived messages
Johan Sørensen [Thu, 11 Jun 2009 11:55:24 +0000 (13:55 +0200)]
Make unread_count for received messages not include archived messages

9 years agoBetter binary blob detection
Johan Sørensen [Thu, 11 Jun 2009 11:32:48 +0000 (13:32 +0200)]
Better binary blob detection

Just check the first 1024 bytes if there's any null bytes, instead of using
the error prone mime-type detection, which gives us a smaller chance of
false-positives with the null byte detection

9 years agosearch_box should only use http://, not ssl
Johan Sørensen [Thu, 11 Jun 2009 10:37:51 +0000 (12:37 +0200)]
search_box should only use http://, not ssl

9 years agoExpire the cached avatars whenever the users avatar is changed or deleted
Johan Sørensen [Thu, 11 Jun 2009 10:32:04 +0000 (12:32 +0200)]
Expire the cached avatars whenever the users avatar is changed or deleted

9 years agoPedantic line-length fixes in user.rb
Johan Sørensen [Thu, 11 Jun 2009 08:29:40 +0000 (10:29 +0200)]
Pedantic line-length fixes in user.rb

9 years agoUnify rendering of git clone and push urls in a partial and restyle it a bit
Johan Sørensen [Wed, 10 Jun 2009 13:32:03 +0000 (15:32 +0200)]
Unify rendering of git clone and push urls in a partial and restyle it a bit

9 years agoTweaked the way the message actions are displayed on the inbox
Johan Sørensen [Wed, 10 Jun 2009 11:22:41 +0000 (13:22 +0200)]
Tweaked the way the message actions are displayed on the inbox

9 years agoFurther hotpatching of rails encoding issues
Johan Sørensen [Wed, 10 Jun 2009 11:06:17 +0000 (13:06 +0200)]
Further hotpatching of rails encoding issues

9 years agoForgot to add tests for that last action
Marius Mathiesen [Tue, 9 Jun 2009 14:20:15 +0000 (16:20 +0200)]
Forgot to add tests for that last action

9 years agoAdding an archived state to messages:
Marius Mathiesen [Tue, 9 Jun 2009 09:07:37 +0000 (11:07 +0200)]
Adding an archived state to messages:
- New state&migration
- Additions in User and Message
- Messages#index now uses inbox
- Another action for message archive
- Selected messages can now be read or archived
- Styling system generated messages with its own

9 years agoChange the way we store public keys to not include the user supplied comment
Johan Sørensen [Tue, 9 Jun 2009 09:05:39 +0000 (11:05 +0200)]
Change the way we store public keys to not include the user supplied comment

This makes validating much more flexible since we only care about the algorithm
and the encoded key, not how the user supplied comment looks. We replace the
comment with our own when passing the key on to the sshd which makes things
alot more consistent and provides a better user experience

9 years agoAdd copyright headers and a note about the repository_owner_namespacing filter
Johan Sørensen [Mon, 8 Jun 2009 11:12:13 +0000 (13:12 +0200)]
Add copyright headers and a note about the repository_owner_namespacing filter
to routes.rb

9 years agoBe able to delete a team avatar
Johan Sørensen [Mon, 8 Jun 2009 11:04:12 +0000 (13:04 +0200)]
Be able to delete a team avatar

9 years agoMake sure we link the help togglers on a repository overview to the correct repository
Johan Sørensen [Mon, 8 Jun 2009 10:26:00 +0000 (12:26 +0200)]
Make sure we link the help togglers on a repository overview to the correct repository

9 years agoAdd a helpful "getting started" box for committers in repositories without commits
Johan Sørensen [Mon, 8 Jun 2009 10:22:05 +0000 (12:22 +0200)]
Add a helpful "getting started" box for committers in repositories without commits

9 years agoUpdated AUTHORS and README with all the required gems and hard line wraps
Johan Sørensen [Mon, 8 Jun 2009 09:54:52 +0000 (11:54 +0200)]
Updated AUTHORS and README with all the required gems and hard line wraps

9 years agoOnly group admins can create projects with group ownership
Antonio Marques [Wed, 3 Jun 2009 22:04:11 +0000 (19:04 -0300)]
Only group admins can create projects with group ownership

9 years agoMerge commit 'mr/tschamm/master'
Johan Sørensen [Thu, 4 Jun 2009 13:48:22 +0000 (15:48 +0200)]
Merge commit 'mr/tschamm/master'

* commit 'mr/tschamm/master':
  show main layout and searchbox even in private mode when logged in

9 years agoMake repositories searchable together with projects
Johan Sørensen [Thu, 4 Jun 2009 13:43:54 +0000 (15:43 +0200)]
Make repositories searchable together with projects

9 years agoFix the PushEventProcessor test I broke
Johan Sørensen [Thu, 4 Jun 2009 12:30:39 +0000 (14:30 +0200)]
Fix the PushEventProcessor test I broke

9 years agoMake sure tag and branch push events get the correct user set
Johan Sørensen [Thu, 4 Jun 2009 12:12:13 +0000 (14:12 +0200)]
Make sure tag and branch push events get the correct user set

9 years agoLimit User.most_active_pushers to the past week
Johan Sørensen [Thu, 4 Jun 2009 11:48:45 +0000 (13:48 +0200)]
Limit User.most_active_pushers to the past week

9 years agoProvide a text-only version of the git_timeout template (for .patch/.diff formats)
Johan Sørensen [Thu, 4 Jun 2009 11:15:41 +0000 (13:15 +0200)]
Provide a text-only version of the git_timeout template (for .patch/.diff formats)

9 years agoRevise the merge request git workflow helper text a bit
Johan Sørensen [Thu, 4 Jun 2009 10:40:39 +0000 (12:40 +0200)]
Revise the merge request git workflow helper text a bit

9 years agoInclude the Repository#url_path as part of the mergerequest comment event
Johan Sørensen [Thu, 4 Jun 2009 08:48:07 +0000 (10:48 +0200)]
Include the Repository#url_path as part of the mergerequest comment event

So we can see what project+repository is was made in

9 years agoMake sure the etag on commits#show includes new comments
Johan Sørensen [Thu, 4 Jun 2009 08:36:49 +0000 (10:36 +0200)]
Make sure the etag on commits#show includes new comments

Otherwise local browser caching may make it appear as if the comment wasn't posted

9 years agoMake sure a users email_aliases and committerships have a destroy dependency
Johan Sørensen [Thu, 4 Jun 2009 08:26:46 +0000 (10:26 +0200)]
Make sure a users email_aliases and committerships have a destroy dependency

9 years agoUser#top_level_messages should not include messages
Marius Mathiesen [Wed, 3 Jun 2009 14:50:53 +0000 (16:50 +0200)]
User#top_level_messages should not include messages
with unread replies unless sender is self.

9 years agoAdding support for marking several messages as read
Marius Mathiesen [Wed, 3 Jun 2009 14:32:55 +0000 (16:32 +0200)]
Adding support for marking several messages as read

9 years agoshow main layout and searchbox even in private mode when logged in
Thomas Schamm [Wed, 3 Jun 2009 14:12:16 +0000 (16:12 +0200)]
show main layout and searchbox even in private mode when logged in

9 years agoMonkeypatch GeoIP so we can close its file handles
Johan Sørensen [Wed, 3 Jun 2009 10:40:57 +0000 (12:40 +0200)]
Monkeypatch GeoIP so we can close its file handles

The GeoIP currently doesn't offer a #close method or a block form of opening
the database file, hence it leaves behind an open filehandle whenever it's used

9 years agoPrint a friendly error message from the git-daemon if someone tries to push to it
Johan Sørensen [Wed, 3 Jun 2009 10:17:53 +0000 (12:17 +0200)]
Print a friendly error message from the git-daemon if someone tries to push to it

9 years agoImproving the inbox display:
Marius Mathiesen [Wed, 3 Jun 2009 12:39:22 +0000 (14:39 +0200)]
Improving the inbox display:
- Messages now know of their root message
- The root message is flagged as having unread
replies whenever a new reply is posted to the
person starting the thread
- User#top_level_messages now contains messages with
unread replies and messages to the user

9 years agoCorrectly namespaced "clone of" link the sidebar on repositories#show
Johan Sørensen [Wed, 3 Jun 2009 09:12:22 +0000 (11:12 +0200)]
Correctly namespaced "clone of" link the sidebar on repositories#show

9 years agoMerge branch 'master' of git://
Johan Sørensen [Wed, 3 Jun 2009 08:40:35 +0000 (10:40 +0200)]
Merge branch 'master' of git://

* 'master' of git://
  add year to "human" dates.

9 years agoDeletion of branch events should be timestamped to the time of the push, not
Johan Sørensen [Wed, 3 Jun 2009 07:54:13 +0000 (09:54 +0200)]
Deletion of branch events should be timestamped to the time of the push, not
the time of the last commit

9 years agoMake sure the create/delete branch events links to the proper namespaced repo
Johan Sørensen [Wed, 3 Jun 2009 07:45:47 +0000 (09:45 +0200)]
Make sure the create/delete branch events links to the proper namespaced repo

9 years agoadd year to "human" dates.
Jason Woofenden [Wed, 3 Jun 2009 04:23:17 +0000 (00:23 -0400)]
add year to "human" dates.

9 years agoBe able to change the ref HEAD points to in repositories#edit
Johan Sørensen [Tue, 2 Jun 2009 12:53:38 +0000 (14:53 +0200)]
Be able to change the ref HEAD points to in repositories#edit

9 years agoIn stead of destroying messages when their notifiables
Marius Mathiesen [Tue, 2 Jun 2009 11:21:07 +0000 (13:21 +0200)]
In stead of destroying messages when their notifiables
are destroyed (which could lead to messages becoming
invisible), we nullify the notifiable references.

Since AR's dependent => nullify only nullifies the
id, not the type, a before_destroy filter is introduced.

9 years agoMake User.most_active count only push events and rename to most_active_pushers
Johan Sørensen [Tue, 2 Jun 2009 11:09:14 +0000 (13:09 +0200)]
Make User.most_active count only push events and rename to most_active_pushers

9 years agoMake the SSH::Strainer accept git+ssh:// requests
Johan Sørensen [Tue, 2 Jun 2009 10:40:21 +0000 (12:40 +0200)]
Make the SSH::Strainer accept git+ssh:// requests

9 years agoMake sure the proper icon is rendered for submodule trees
Johan Sørensen [Tue, 2 Jun 2009 08:35:28 +0000 (10:35 +0200)]
Make sure the proper icon is rendered for submodule trees

9 years agoMake sure whitespace in commit messages are formatted correctly in commits#show
Johan Sørensen [Tue, 2 Jun 2009 08:32:53 +0000 (10:32 +0200)]
Make sure whitespace in commit messages are formatted correctly in commits#show

9 years agoAccepting the TOS shouldn't raise if TOS are
Marius Mathiesen [Tue, 2 Jun 2009 08:06:43 +0000 (10:06 +0200)]
Accepting the TOS shouldn't raise if TOS are
already accepted. Multiple windows?

9 years agoFixed variable name speling error
Johan Sørensen [Fri, 29 May 2009 10:37:52 +0000 (12:37 +0200)]
Fixed variable name speling error

9 years agoDo some brute-force encoding conversation in the PushEventProcessor if we don't
Johan Sørensen [Fri, 29 May 2009 09:21:08 +0000 (11:21 +0200)]
Do some brute-force encoding conversation in the PushEventProcessor if we don't
end up with a valid encoding after the first pass

9 years agoUser User#login on the commit comments aggregation on a merge-request, to save
Johan Sørensen [Fri, 29 May 2009 08:36:13 +0000 (10:36 +0200)]
User User#login on the commit comments aggregation on a merge-request, to save
some visual space

9 years agoLess verbose no-commits-for-this-feed handling and test that it looks like an
Johan Sørensen [Thu, 28 May 2009 12:44:25 +0000 (14:44 +0200)]
Less verbose no-commits-for-this-feed handling and test that it looks like an
atom feed despite it being empty.

No need for managing formats etc, since we assume it's only atom anyway

9 years agoHandle feeds for empty branches gracefully
Johan Sørensen [Thu, 28 May 2009 12:25:20 +0000 (14:25 +0200)]
Handle feeds for empty branches gracefully

9 years agoAdded patch and xml format support for merge requests:
Marius Mathiesen [Thu, 28 May 2009 09:02:43 +0000 (11:02 +0200)]
Added patch and xml format support for merge requests:
- Added #to_xml to merge requests
- Added support for merge_requests.xml
- Added support for merge_request/id.xml
- Added support for merge_requests/id.patch

This way one can fetch a patch from Gitorious

9 years agoUpdated the script/create_admin to include acceptance
Marius Mathiesen [Wed, 27 May 2009 13:25:21 +0000 (15:25 +0200)]
Updated the script/create_admin to include acceptance
of terms of use.

9 years agoMake MergeRequest#resolvable_by? work together with the annoying ways in which
Johan Sørensen [Wed, 27 May 2009 08:18:48 +0000 (10:18 +0200)]
Make MergeRequest#resolvable_by? work together with the annoying ways in which
the AuthenticationedSystem module works.

I mean christ, who thinks this kinda bullshit up? Returning a :false symbol
instead of nil, making us jump through hoops in the rest of the app.

9 years agoDisplaying the reopen link for merge requests also when current user is not the owner
Marius Mathiesen [Wed, 27 May 2009 07:31:03 +0000 (09:31 +0200)]
Displaying the reopen link for merge requests also when current user is not the owner

9 years agoShow user and team avatars on the frontpage
Johan Sørensen [Tue, 26 May 2009 14:11:28 +0000 (16:11 +0200)]
Show user and team avatars on the frontpage

9 years agoMake sure Group.all_participating_in_projects only includes unique groups
Johan Sørensen [Tue, 26 May 2009 13:44:01 +0000 (15:44 +0200)]
Make sure Group.all_participating_in_projects only includes unique groups

9 years agoTest coverage for commit 3dcff282 ("Compact the sorted branches array in case
Johan Sørensen [Tue, 26 May 2009 13:08:13 +0000 (15:08 +0200)]
Test coverage for commit 3dcff282 ("Compact the sorted branches array in case
the HEAD isn't set")

9 years agoCompact the sorted branches array in case the HEAD isn't set
Johan Sørensen [Tue, 26 May 2009 12:50:43 +0000 (14:50 +0200)]
Compact the sorted branches array in case the HEAD isn't set

9 years agoUnify branch sorting method and introduce a chunked list of branches on the
Johan Sørensen [Tue, 26 May 2009 12:28:55 +0000 (14:28 +0200)]
Unify branch sorting method and introduce a chunked list of branches on the
repo overview page

9 years agoUpdate Grit to our latest rev:
Johan Sørensen [Tue, 26 May 2009 12:15:39 +0000 (14:15 +0200)]
Update Grit to our latest rev:

0add2ee3 Cache the current head in an ivar so we can speed up Grit::Head#head?

9 years agoLink to the specific commits from a push event in the atom feeds
Johan Sørensen [Tue, 26 May 2009 09:15:25 +0000 (11:15 +0200)]
Link to the specific commits from a push event in the atom feeds

9 years agoInclude Factory girl only in the test environment.
Marius Mathiesen [Tue, 26 May 2009 08:48:04 +0000 (10:48 +0200)]
Include Factory girl only in the test environment.

9 years agoEnsure Factory girl without the gem being installed
Marius Mathiesen [Tue, 26 May 2009 06:51:30 +0000 (08:51 +0200)]
Ensure Factory girl without the gem being installed

9 years agoMoving some more tests to factory girl
Marius Mathiesen [Mon, 25 May 2009 14:02:13 +0000 (16:02 +0200)]
Moving some more tests to factory girl

9 years agoAdding factory_girl for fewer dependencies in the
Marius Mathiesen [Mon, 25 May 2009 12:46:38 +0000 (14:46 +0200)]
Adding factory_girl for fewer dependencies in the
test cases.

Ported most of the group_test cases to use Factory
Girl, except where complex relationships are under
test (this is probably the one case where fixtures
still make a lot of sense).

Added factories for:
- groups
- memberships
- projects
- users

More to come soon!

9 years agoGroups cannot be deleted if projects belong to them
Marius Mathiesen [Mon, 25 May 2009 11:09:57 +0000 (13:09 +0200)]
Groups cannot be deleted if projects belong to them

9 years agoUsing repo_owner_url (at least something similar)
Marius Mathiesen [Mon, 25 May 2009 10:01:00 +0000 (12:01 +0200)]
Using repo_owner_url (at least something similar)
when sending email about new repo clones.
- Also only force encoding of names in the mailer
if on Ruby 1.9

9 years agoThe mangled_mail() helper should work with malformed email addresses
Johan Sørensen [Mon, 25 May 2009 09:19:01 +0000 (11:19 +0200)]
The mangled_mail() helper should work with malformed email addresses

9 years agoMake sure "merge_request_landing_page" is a reserved root url name
Johan Sørensen [Sun, 24 May 2009 22:41:06 +0000 (00:41 +0200)]
Make sure "merge_request_landing_page" is a reserved root url name

9 years agoClarify a few bits in the README and remove Oniguruma dependency notice
Johan Sørensen [Wed, 20 May 2009 14:23:55 +0000 (16:23 +0200)]
Clarify a few bits in the README and remove Oniguruma dependency notice

9 years agoMake the comments expander link in merge_requests#show have a proper href attribute
Johan Sørensen [Wed, 20 May 2009 14:00:40 +0000 (16:00 +0200)]
Make the comments expander link in merge_requests#show have a proper href attribute

9 years agoRemoving all traces of the now obsolete Task model.
Marius Mathiesen [Wed, 20 May 2009 13:47:53 +0000 (15:47 +0200)]
Removing all traces of the now obsolete Task model.

9 years agoMove the rescue partials into app/views/shared
Johan Sørensen [Wed, 20 May 2009 13:28:19 +0000 (15:28 +0200)]
Move the rescue partials into app/views/shared

9 years agoauto_link() merge request proposals and reasons
Johan Sørensen [Wed, 20 May 2009 10:55:37 +0000 (12:55 +0200)]
auto_link() merge request proposals and reasons

9 years agoUpdating the README to reflect the current version
Marius Mathiesen [Wed, 20 May 2009 13:18:42 +0000 (15:18 +0200)]
Updating the README to reflect the current version
of Gitorious

9 years ago- Update the Gitorious URL to new URL scheme
Marius Mathiesen [Wed, 20 May 2009 08:45:22 +0000 (10:45 +0200)]
- Update the Gitorious URL to new URL scheme
- Update gitorious.sample.yml to reflect requirements

9 years agoUpdating default configurations for fresh installs
Marius Mathiesen [Wed, 20 May 2009 07:16:09 +0000 (09:16 +0200)]
Updating default configurations for fresh installs

9 years agoThe route filter should only match on complete reserved names
Johan Sørensen [Wed, 20 May 2009 07:32:40 +0000 (09:32 +0200)]
The route filter should only match on complete reserved names

The #reserved? method was matching on partial reserved things such as
/users-repo/ when it only should be matching on /users/

9 years agoLog more details from script/gitorious
Johan Sørensen [Tue, 19 May 2009 13:55:06 +0000 (15:55 +0200)]
Log more details from script/gitorious

9 years agoDon't use paragraphs_with_more() on projects#show
Johan Sørensen [Tue, 19 May 2009 12:45:12 +0000 (14:45 +0200)]
Don't use paragraphs_with_more() on projects#show