gitorious:yousource.git
8 years agoAllowing for events without a connected user. Instead we will accept an email address...
Marius Mathiesen [Tue, 10 Feb 2009 14:40:30 +0000 (15:40 +0100)]
Allowing for events without a connected user. Instead we will accept an email address and resolve whether it's from a local user or someone else.

Also changing the handling of new branches:
- Create one event for the branch action
- Pull out each affected commit and create a commit action for each

Next up is putting the created commits "under" the new branch action somehow, to reduce clutter

8 years agoAdd a thin border between the linenumbers in a diff to make it easier to see
Johan Sørensen [Tue, 10 Feb 2009 13:32:33 +0000 (14:32 +0100)]
Add a thin border between the linenumbers in a diff to make it easier to see
which lines are wrapped or not

8 years agomake sure commits#show actually gets the :id param
Johan Sørensen [Tue, 10 Feb 2009 13:10:19 +0000 (14:10 +0100)]
make sure commits#show actually gets the :id param

8 years agoDon't collapse whitespace in the side-by-side diff view
Johan Sørensen [Tue, 10 Feb 2009 12:59:30 +0000 (13:59 +0100)]
Don't collapse whitespace in the side-by-side diff view

8 years agodon't show all the clone/push urls for a repo all the time; add a toggle icon
Johan Sørensen [Tue, 10 Feb 2009 12:40:53 +0000 (13:40 +0100)]
don't show all the clone/push urls for a repo all the time; add a toggle icon

8 years agoThe regexp search in spec for Repository was replaced; after adding support for empty...
Marius Mathiesen [Tue, 10 Feb 2009 12:05:12 +0000 (13:05 +0100)]
The regexp search in spec for Repository was replaced; after adding support for emptying the queue of messages we can fetch messages with higher probability.

Also compacted the JSON serialization of messages posted via ActiveMessaging to use Hash#to_json instead of ActiveSupport::JSON.encode

8 years agoBreadcrumbs in Merge Requests
Marius Mathiesen [Tue, 10 Feb 2009 11:25:26 +0000 (12:25 +0100)]
Breadcrumbs in Merge Requests

8 years agoShowing breadcrumb in MergeRequest#show and #new
Marius Mathiesen [Tue, 10 Feb 2009 11:23:29 +0000 (12:23 +0100)]
Showing breadcrumb in MergeRequest#show and #new

8 years agoShowing breadcrumb in MergeRequest#show
Marius Mathiesen [Tue, 10 Feb 2009 11:16:22 +0000 (12:16 +0100)]
Showing breadcrumb in MergeRequest#show

8 years agoSmaller search-field in the header and make the footer feel a bit more at home
Johan Sørensen [Tue, 10 Feb 2009 12:01:32 +0000 (13:01 +0100)]
Smaller search-field in the header and make the footer feel a bit more at home

8 years agoAlign the header searchbox+menu with the right margin of the content container
Johan Sørensen [Tue, 10 Feb 2009 11:49:51 +0000 (12:49 +0100)]
Align the header searchbox+menu with the right margin of the content container
and i18nize a few words

8 years agoSwap the header searchbox and menu around and tighting it up a bit height wise
Johan Sørensen [Tue, 10 Feb 2009 11:44:20 +0000 (12:44 +0100)]
Swap the header searchbox and menu around and tighting it up a bit height wise

8 years agoremove margin on #sytem_message
Johan Sørensen [Tue, 10 Feb 2009 11:25:20 +0000 (12:25 +0100)]
remove margin on #sytem_message

8 years agoDefault to use sendmail in production mode
Johan Sørensen [Tue, 10 Feb 2009 11:21:26 +0000 (12:21 +0100)]
Default to use sendmail in production mode

8 years agoAdded json gem dependency
Johan Sørensen [Tue, 10 Feb 2009 11:06:55 +0000 (12:06 +0100)]
Added json gem dependency

8 years agoSpruce up the .button-to buttons a bit
Johan Sørensen [Tue, 10 Feb 2009 10:29:07 +0000 (11:29 +0100)]
Spruce up the .button-to buttons a bit

8 years agoMerge request requires ending_commit, but not starting_commit. When selecting an...
Marius Mathiesen [Tue, 10 Feb 2009 10:16:02 +0000 (11:16 +0100)]
Merge request requires ending_commit, but not starting_commit. When selecting an ending commit, the form is updated accordingly.

The list of commits is now calculated from the first diverging commit up until the ending_commit

8 years agoAdded breadcrumbs to memberships+participations
Johan Sørensen [Tue, 10 Feb 2009 10:18:25 +0000 (11:18 +0100)]
Added breadcrumbs to memberships+participations

8 years agoInclude BreadCrumbsHelper in the application helper
Johan Sørensen [Tue, 10 Feb 2009 09:46:09 +0000 (10:46 +0100)]
Include BreadCrumbsHelper in the application helper

8 years agoPrettify team memberships+participations tables
Johan Sørensen [Tue, 10 Feb 2009 09:41:48 +0000 (10:41 +0100)]
Prettify team memberships+participations tables

8 years agoDefault to have the committer Role first in listings/selects/etc
Johan Sørensen [Tue, 10 Feb 2009 09:36:45 +0000 (10:36 +0100)]
Default to have the committer Role first in listings/selects/etc

8 years agoLink back to the team from the memberships page
Johan Sørensen [Tue, 10 Feb 2009 09:25:43 +0000 (10:25 +0100)]
Link back to the team from the memberships page

8 years agoView markup for eding and deleting a membership
Johan Sørensen [Tue, 10 Feb 2009 09:21:53 +0000 (10:21 +0100)]
View markup for eding and deleting a membership

8 years agoRender Repository#description on team overview page
Johan Sørensen [Tue, 10 Feb 2009 09:11:57 +0000 (10:11 +0100)]
Render Repository#description on team overview page

8 years agoMove the gathering of all the project_ids related to a group into the model
Johan Sørensen [Tue, 10 Feb 2009 09:04:56 +0000 (10:04 +0100)]
Move the gathering of all the project_ids related to a group into the model

8 years agoShow team activity on groups#show
Johan Sørensen [Tue, 10 Feb 2009 08:54:57 +0000 (09:54 +0100)]
Show team activity on groups#show

8 years agoFixed repeating background image in teams sidebar
Johan Sørensen [Tue, 10 Feb 2009 08:30:03 +0000 (09:30 +0100)]
Fixed repeating background image in teams sidebar

8 years agoMake sure repositories#clone redirects to the polymorphic path, not just project_path
Johan Sørensen [Mon, 9 Feb 2009 15:59:19 +0000 (16:59 +0100)]
Make sure repositories#clone redirects to the polymorphic path, not just project_path

8 years agoDowncase Repository#name before the validation & save
Johan Sørensen [Mon, 9 Feb 2009 15:38:27 +0000 (16:38 +0100)]
Downcase Repository#name before the validation & save

8 years agoExtract some controller logic into the models
Johan Sørensen [Mon, 9 Feb 2009 15:30:57 +0000 (16:30 +0100)]
Extract some controller logic into the models

8 years agoAllow to change ownership of a repository from a User to a Group
Johan Sørensen [Mon, 9 Feb 2009 15:21:57 +0000 (16:21 +0100)]
Allow to change ownership of a repository from a User to a Group

8 years agoOnly the ending commit can be selected. Updates in the GUI, not the backend yet
Marius Mathiesen [Mon, 9 Feb 2009 15:18:26 +0000 (16:18 +0100)]
Only the ending commit can be selected. Updates in the GUI, not the backend yet

8 years agoRendering breadcrumb in Merge Requests#index
Marius Mathiesen [Mon, 9 Feb 2009 14:32:07 +0000 (15:32 +0100)]
Rendering breadcrumb in Merge Requests#index

8 years agoFixed wrong closing list tag
Johan Sørensen [Mon, 9 Feb 2009 14:20:37 +0000 (15:20 +0100)]
Fixed wrong closing list tag

8 years agoWording and style tweaks
Johan Sørensen [Mon, 9 Feb 2009 14:19:26 +0000 (15:19 +0100)]
Wording and style tweaks

8 years ago- Add a note about commit rights when adding a new team as committers
Johan Sørensen [Mon, 9 Feb 2009 14:06:18 +0000 (15:06 +0100)]
- Add a note about commit rights when adding a new team as committers
- Move some common markup into a partial

8 years agoAdded the ParticipationsController as a means of adding entire teams as
Johan Sørensen [Mon, 9 Feb 2009 13:57:50 +0000 (14:57 +0100)]
Added the ParticipationsController as a means of adding entire teams as
committers to a repository.

8 years agoRevert parts of commit c8968087
Johan Sørensen [Mon, 9 Feb 2009 13:28:42 +0000 (14:28 +0100)]
Revert parts of commit c8968087

The autocompleter should stay in memberships controller

8 years agoReorder + re-indent some longer lines in routes.rb
Johan Sørensen [Mon, 9 Feb 2009 11:56:24 +0000 (12:56 +0100)]
Reorder + re-indent some longer lines in routes.rb

8 years agoMoving the generation of SSH keys into MQ.
Marius Mathiesen [Mon, 9 Feb 2009 13:24:36 +0000 (14:24 +0100)]
Moving the generation of SSH keys into MQ.

Adding helper method in the test gateway for ActiveMessaging for clearing a queue

8 years agoThe project should be the one the repository belongs to
Marius Mathiesen [Mon, 9 Feb 2009 11:36:23 +0000 (12:36 +0100)]
The project should be the one the repository belongs to

8 years ago- be able to exclude group members in Repository#committers
Johan Sørensen [Mon, 9 Feb 2009 11:48:13 +0000 (12:48 +0100)]
- be able to exclude group members in Repository#committers
- Show groups as committers in repositories#show

8 years agoUnion the owners and group members in Repository#committers so we don't get dupes
Johan Sørensen [Mon, 9 Feb 2009 11:39:03 +0000 (12:39 +0100)]
Union the owners and group members in Repository#committers so we don't get dupes

8 years agoWhen viewing a single repository, show which project and owner it belongs to
Johan Sørensen [Mon, 9 Feb 2009 11:31:11 +0000 (12:31 +0100)]
When viewing a single repository, show which project and owner it belongs to

8 years agoAdded a Participation model, for joining repositories and groups [migration]
Johan Sørensen [Mon, 9 Feb 2009 11:22:33 +0000 (12:22 +0100)]
Added a Participation model, for joining repositories and groups [migration]

This is the model we'll be using when adding an entire group as committers to
a repository

8 years agoSpecial handling of creation/deletion of tags.
Marius Mathiesen [Mon, 9 Feb 2009 10:30:34 +0000 (11:30 +0100)]
Special handling of creation/deletion of tags.

No longer require grit in the post-receive hook

8 years agoCase on commit type
Marius Mathiesen [Mon, 9 Feb 2009 08:41:53 +0000 (09:41 +0100)]
Case on commit type

8 years agoWe need this specific version of RDiscount (official one with toc support)
Johan Sørensen [Mon, 9 Feb 2009 09:38:49 +0000 (10:38 +0100)]
We need this specific version of RDiscount (official one with toc support)

8 years agoTest that Repository.new_by_cloning returns an unsaved record
Johan Sørensen [Mon, 9 Feb 2009 09:38:29 +0000 (10:38 +0100)]
Test that Repository.new_by_cloning returns an unsaved record

8 years agoNew repositories can only be added to a Project, for now.
Johan Sørensen [Mon, 9 Feb 2009 09:25:53 +0000 (10:25 +0100)]
New repositories can only be added to a Project, for now.

8 years ago.gitignore public/javascripts/all.js
Johan Sørensen [Mon, 9 Feb 2009 09:25:01 +0000 (10:25 +0100)]
.gitignore public/javascripts/all.js

8 years agoChange the owner the projects wiki repository as well
Johan Sørensen [Thu, 5 Feb 2009 16:07:30 +0000 (17:07 +0100)]
Change the owner the projects wiki repository as well

8 years agoAllow Projects owned by a user to change ownership to a group the owner is an
Johan Sørensen [Thu, 5 Feb 2009 15:58:57 +0000 (16:58 +0100)]
Allow Projects owned by a user to change ownership to a group the owner is an
member of.

The reason for not allowing the reverse (group => user) is to not allow hostile
takeovers

8 years agoAllow all project admins to edit the project, not just the initial creator
Johan Sørensen [Thu, 5 Feb 2009 15:38:32 +0000 (16:38 +0100)]
Allow all project admins to edit the project, not just the initial creator

8 years agoRefresh every 5 seconds instead of 10
Johan Sørensen [Thu, 5 Feb 2009 15:26:54 +0000 (16:26 +0100)]
Refresh every 5 seconds instead of 10

8 years agoSince we're not really fetching the correct project, might as well fetch the first
Marius Mathiesen [Thu, 5 Feb 2009 15:24:44 +0000 (16:24 +0100)]
Since we're not really fetching the correct project, might as well fetch the first

8 years agoRefactoring the push event processor with spec coverage
Marius Mathiesen [Thu, 5 Feb 2009 15:21:41 +0000 (16:21 +0100)]
Refactoring the push event processor with spec coverage

8 years agoEvent processing kind of working, will start refactoring
Marius Mathiesen [Thu, 5 Feb 2009 13:15:30 +0000 (14:15 +0100)]
Event processing kind of working, will start refactoring

8 years agoWorking on porting the post commit hook to MQ model
Marius Mathiesen [Thu, 5 Feb 2009 11:38:38 +0000 (12:38 +0100)]
Working on porting the post commit hook to MQ model

8 years agoRename the name of the thunderbird team fixture, before I go nuts from typing it
Johan Sørensen [Thu, 5 Feb 2009 15:18:54 +0000 (16:18 +0100)]
Rename the name of the thunderbird team fixture, before I go nuts from typing it

8 years agoRemoved the notion the non-public group owner for projects. Instead a Project
Johan Sørensen [Thu, 5 Feb 2009 15:14:54 +0000 (16:14 +0100)]
Removed the notion the non-public group owner for projects. Instead a Project
either has a Group _or_ a User as owner.

The simplifies the domain model significantly, particular around project level
permission checking.

8 years agonon-public groups render their project as a breadcrumb parent
Johan Sørensen [Thu, 5 Feb 2009 12:41:22 +0000 (13:41 +0100)]
non-public groups render their project as a breadcrumb parent

8 years agoTweak the new repository page a bit
Johan Sørensen [Thu, 5 Feb 2009 11:56:04 +0000 (12:56 +0100)]
Tweak the new repository page a bit

8 years agoFix wording on the new project page
Johan Sørensen [Thu, 5 Feb 2009 11:42:37 +0000 (12:42 +0100)]
Fix wording on the new project page

8 years agoMake sure we set Repository#project for mainlines
Johan Sørensen [Thu, 5 Feb 2009 11:22:04 +0000 (12:22 +0100)]
Make sure we set Repository#project for mainlines

8 years agodon't try and get clever if paragraphs_with_more receives an empty/nil string
Johan Sørensen [Thu, 5 Feb 2009 09:54:16 +0000 (10:54 +0100)]
don't try and get clever if paragraphs_with_more receives an empty/nil string

8 years agoMake sure the hashed_path is set in the migration
Johan Sørensen [Thu, 5 Feb 2009 09:54:02 +0000 (10:54 +0100)]
Make sure the hashed_path is set in the migration

8 years agoAdded ActiveMQ install instructions for ubuntu
Johan Sørensen [Thu, 5 Feb 2009 09:41:29 +0000 (10:41 +0100)]
Added ActiveMQ install instructions for ubuntu

8 years agoMaking sure the repository path is correct (a character was stripped)
Marius Mathiesen [Thu, 5 Feb 2009 07:58:27 +0000 (08:58 +0100)]
Making sure the repository path is correct (a character was stripped)

8 years agoAdding new push event
Marius Mathiesen [Wed, 4 Feb 2009 14:11:43 +0000 (15:11 +0100)]
Adding new push event

8 years agodecrease the chance of brainfarts on the path checking logic
Johan Sørensen [Wed, 4 Feb 2009 16:09:37 +0000 (17:09 +0100)]
decrease the chance of brainfarts on the path checking logic

8 years agoFixed edit repo submit button text
Johan Sørensen [Wed, 4 Feb 2009 15:46:30 +0000 (16:46 +0100)]
Fixed edit repo submit button text

8 years agoAdded an (optional) description to repositories [migration]
Johan Sørensen [Wed, 4 Feb 2009 15:35:49 +0000 (16:35 +0100)]
Added an (optional) description to repositories [migration]

8 years agoList parent SHAs when viewing a commit, and display avatars next to committers
Johan Sørensen [Wed, 4 Feb 2009 14:49:30 +0000 (15:49 +0100)]
List parent SHAs when viewing a commit, and display avatars next to committers
listing

8 years ago- Allow for projects to be either created as a User or Group
Johan Sørensen [Wed, 4 Feb 2009 14:04:27 +0000 (15:04 +0100)]
- Allow for projects to be either created as a User or Group
- Added GitoriousFormBuilder
- Display project owner instead of the user who created it

The GitoriousFormBuilder (currently) only include a method for creating the
myself-or-a-group form markup

8 years agoinstead of "Clone repository", say "Clone this repository on Gitorious" as an
Johan Sørensen [Wed, 4 Feb 2009 12:54:23 +0000 (13:54 +0100)]
instead of "Clone repository", say "Clone this repository on Gitorious" as an
attemp to cause less confusion between a local git-clone and one on the site

8 years agoFixed "clone repository" link for a team repository
Johan Sørensen [Wed, 4 Feb 2009 12:52:46 +0000 (13:52 +0100)]
Fixed "clone repository" link for a team repository

8 years agosmaller markup+css tweaks on the repository overview box in projects
Johan Sørensen [Wed, 4 Feb 2009 12:27:44 +0000 (13:27 +0100)]
smaller markup+css tweaks on the repository overview box in projects

8 years agoUpdating README with messaging information.
Marius Mathiesen [Wed, 4 Feb 2009 11:41:28 +0000 (12:41 +0100)]
Updating README with messaging information.

Changed behaviour of Repository's breadcrumb parent:
- will be owner if owner is a group, else project

Updates to messaging:
- Greppable log messages (same prefix)
- Changed queue names
- Updated specs that sometimes would fail

8 years agoAdd a bit of highlight to the breadcrumb background
Johan Sørensen [Wed, 4 Feb 2009 11:30:18 +0000 (12:30 +0100)]
Add a bit of highlight to the breadcrumb background

8 years agoCut off project description at the first paragraph with a "show more" link
Johan Sørensen [Wed, 4 Feb 2009 10:07:48 +0000 (11:07 +0100)]
Cut off project description at the first paragraph with a "show more" link

8 years agoMoved the "new project" link into the sidebar
Johan Sørensen [Wed, 4 Feb 2009 09:51:08 +0000 (10:51 +0100)]
Moved the "new project" link into the sidebar

8 years agoStyle the searchbox in the header a bit more
Johan Sørensen [Wed, 4 Feb 2009 09:47:24 +0000 (10:47 +0100)]
Style the searchbox in the header a bit more

8 years agoMake sure we only record the actual clone in git-daemon if all the path stuff
Johan Sørensen [Wed, 4 Feb 2009 09:23:33 +0000 (10:23 +0100)]
Make sure we only record the actual clone in git-daemon if all the path stuff
is ok.

8 years ago- Make repositories#index work properly for the polymorphic owners
Johan Sørensen [Wed, 4 Feb 2009 09:03:41 +0000 (10:03 +0100)]
- Make repositories#index work properly for the polymorphic owners
- Added i18n for models' human_name

8 years agoMake sure we check the adminship of the owner object whenever we want to add a
Johan Sørensen [Wed, 4 Feb 2009 08:46:14 +0000 (09:46 +0100)]
Make sure we check the adminship of the owner object whenever we want to add a
new repository to it

8 years agoAdded User#admin?(a_user) for duck typing who can add repositories etc to a user
Johan Sørensen [Wed, 4 Feb 2009 08:44:21 +0000 (09:44 +0100)]
Added User#admin?(a_user) for duck typing who can add repositories etc to a user

In the case of a User object it is always the user itself, but since the
repository controller gets a polymorphic owner object we'd want to implement
this method anyway

8 years agoRename User#admin? to User#site_admin?
Johan Sørensen [Wed, 4 Feb 2009 08:30:55 +0000 (09:30 +0100)]
Rename User#admin? to User#site_admin?

8 years agoSmall css tweak to #sidebar .links
Johan Sørensen [Tue, 3 Feb 2009 15:54:32 +0000 (16:54 +0100)]
Small css tweak to #sidebar .links

8 years agoAdded link to new repository on project page, for project admins.
Johan Sørensen [Tue, 3 Feb 2009 15:41:30 +0000 (16:41 +0100)]
Added link to new repository on project page, for project admins.

8 years ago- Make sure /projects/foo/repositories/action type urls are generated correctly
Johan Sørensen [Tue, 3 Feb 2009 15:33:20 +0000 (16:33 +0100)]
- Make sure /projects/foo/repositories/action type urls are generated correctly
- Redirect to "add new repo" screen on project creation

8 years agoTeach Repository.find_by_path to understand user and group repositories and
Johan Sørensen [Tue, 3 Feb 2009 15:15:03 +0000 (16:15 +0100)]
Teach Repository.find_by_path to understand user and group repositories and
update the git-daemon to use in order to resolve the real pathname

8 years agoRequire the stomp gem, update README with information on MQ
Marius Mathiesen [Tue, 3 Feb 2009 14:43:25 +0000 (15:43 +0100)]
Require the stomp gem, update README with information on MQ

8 years agoAdd a #to_param_with_prefix to User, Group and Project
Johan Sørensen [Tue, 3 Feb 2009 14:35:16 +0000 (15:35 +0100)]
Add a #to_param_with_prefix to User, Group and Project

8 years agoA couple of Repository#show view fixes
Johan Sørensen [Tue, 3 Feb 2009 14:21:29 +0000 (15:21 +0100)]
A couple of Repository#show view fixes

8 years agoMake sure the all_by_owner named_scope really returns all the repositories in
Johan Sørensen [Tue, 3 Feb 2009 14:18:07 +0000 (15:18 +0100)]
Make sure the all_by_owner named_scope really returns all the repositories in
the project scope

8 years agoAdding specs for processors
Marius Mathiesen [Tue, 3 Feb 2009 13:46:42 +0000 (14:46 +0100)]
Adding specs for processors

8 years agoAdding ActiveMessaging for async handling of tasks:
Marius Mathiesen [Tue, 3 Feb 2009 13:46:27 +0000 (14:46 +0100)]
Adding ActiveMessaging for async handling of tasks:

- Changed Repository's task creation to post to ActiveMQ
- Added processors for creation/cloning and deletion of repositories
- Added Refresh header when showing a repo that isn't ready yet

8 years agoAutosuggest a repository name when cloning as either a user or group
Johan Sørensen [Tue, 3 Feb 2009 13:39:08 +0000 (14:39 +0100)]
Autosuggest a repository name when cloning as either a user or group

8 years agoSlightly more test coverage for Repository#writable_by?
Johan Sørensen [Tue, 3 Feb 2009 13:17:33 +0000 (14:17 +0100)]
Slightly more test coverage for Repository#writable_by?