gitorious:yousource.git
6 years agoClean up some comments from environment.rb clean-up-environment-rb
Tero Hänninen [Mon, 31 Oct 2011 10:51:33 +0000 (12:51 +0200)]
Clean up some comments from environment.rb

6 years agoSupport login in with non-email
Marius Mathiesen [Wed, 26 Oct 2011 14:09:12 +0000 (16:09 +0200)]
Support login in with non-email

Prompting for email will be misleading when users enter
eg. LDAP credentials.

6 years agoUse specified site name in generated email.
Marius Mathiesen [Wed, 26 Oct 2011 08:21:03 +0000 (10:21 +0200)]
Use specified site name in generated email.

6 years agoAllow passing html options to footer link
Marius Mathiesen [Tue, 25 Oct 2011 10:32:28 +0000 (12:32 +0200)]
Allow passing html options to footer link

6 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Christian Johansen [Fri, 21 Oct 2011 21:39:15 +0000 (23:39 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

6 years agoFriendlier sample Gitorious configuration
Christian Johansen [Fri, 21 Oct 2011 21:39:02 +0000 (23:39 +0200)]
Friendlier sample Gitorious configuration

- Includes more documentation
- Default more settings, so less settings need to be explicitly
  specified in the configuration
- Trim down test configuration to the bare required minimum

6 years agoRemove useless .htaccess
Christian Johansen [Fri, 21 Oct 2011 11:54:08 +0000 (13:54 +0200)]
Remove useless .htaccess

6 years agoFix XML parse errors in Atom feeds
Marius Mathiesen [Fri, 21 Oct 2011 07:58:21 +0000 (09:58 +0200)]
Fix XML parse errors in Atom feeds

6 years agoConfigurable Git binary
Christian Johansen [Thu, 20 Oct 2011 12:36:00 +0000 (14:36 +0200)]
Configurable Git binary

6 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Marius Mathiesen [Thu, 20 Oct 2011 12:00:42 +0000 (14:00 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

6 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Marius Mathiesen [Thu, 20 Oct 2011 11:57:00 +0000 (13:57 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

6 years agoFix bug in merge request diff rendering
Marius Mathiesen [Thu, 20 Oct 2011 11:56:49 +0000 (13:56 +0200)]
Fix bug in merge request diff rendering

- Bypass jQuery's "smart" content type detection
- Handle non-set project ivar in merge request versions controller

6 years agoUse Grit's git binary in Gitorious::GitShell
Christian Johansen [Thu, 20 Oct 2011 11:44:47 +0000 (13:44 +0200)]
Use Grit's git binary in Gitorious::GitShell

6 years agoUp timeout in the log graph git shell
Christian Johansen [Thu, 20 Oct 2011 11:35:55 +0000 (13:35 +0200)]
Up timeout in the log graph git shell

6 years agoGraph controller should respond with 503 on timeouts
Christian Johansen [Thu, 20 Oct 2011 11:17:57 +0000 (13:17 +0200)]
Graph controller should respond with 503 on timeouts

- Timeouts are handled as errors
- JavaScript provides better feedback

6 years agoAvoid new lines in HTML attributes
Christian Johansen [Thu, 20 Oct 2011 07:23:42 +0000 (09:23 +0200)]
Avoid new lines in HTML attributes

6 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Christian Johansen [Thu, 20 Oct 2011 07:03:25 +0000 (09:03 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

6 years agoMerge commit 'refs/merge-requests/174' of gitorious.org:gitorious/mainline
Christian Johansen [Thu, 20 Oct 2011 06:59:10 +0000 (08:59 +0200)]
Merge commit 'refs/merge-requests/174' of gitorious.org:gitorious/mainline

6 years agoWhitespace
Christian Johansen [Thu, 20 Oct 2011 06:54:13 +0000 (08:54 +0200)]
Whitespace

6 years agoPre-select default license in projects/new form
Christian Johansen [Thu, 20 Oct 2011 06:54:07 +0000 (08:54 +0200)]
Pre-select default license in projects/new form

6 years agoAdd script to create an authorized_keys file
Peter Kjellerstedt [Wed, 19 Oct 2011 11:24:50 +0000 (13:24 +0200)]
Add script to create an authorized_keys file

6 years agoDiscourage our spammers a little.
Marius Mathiesen [Mon, 17 Oct 2011 08:34:55 +0000 (10:34 +0200)]
Discourage our spammers a little.

Decreasinbg the number of messages a user can send to 5 each day.

6 years agoFix tests for sender_email_address
Peter Kjellerstedt [Fri, 14 Oct 2011 15:29:41 +0000 (17:29 +0200)]
Fix tests for sender_email_address

Also comment out the configuration of sender_email_address in
config/gitorious.sample.yml as that is a more sensible default.

6 years agoSimulate HTTPS for functional tests when use_ssl is true
Peter Kjellerstedt [Tue, 4 Oct 2011 09:36:24 +0000 (11:36 +0200)]
Simulate HTTPS for functional tests when use_ssl is true

If the test environment is configured with use_ssl = true (which it is
in config/gitorious.sample.yml) then make sure HTTPS is enabled in the
simulated request.

6 years agoUse the right scheme when validating URLs in events
Peter Kjellerstedt [Mon, 3 Oct 2011 07:24:26 +0000 (09:24 +0200)]
Use the right scheme when validating URLs in events

6 years agoFix a bug in diff rendering for merge requests
Marius Mathiesen [Fri, 14 Oct 2011 13:09:25 +0000 (15:09 +0200)]
Fix a bug in diff rendering for merge requests

6 years agoUpdate buster-core
Christian Johansen [Fri, 14 Oct 2011 12:17:16 +0000 (14:17 +0200)]
Update buster-core

6 years agoMake assets:clear rake task complete
Christian Johansen [Fri, 14 Oct 2011 11:57:25 +0000 (13:57 +0200)]
Make assets:clear rake task complete

6 years ago2.1.0
Christian Johansen [Fri, 14 Oct 2011 11:28:25 +0000 (13:28 +0200)]
2.1.0

6 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Marius Mathiesen [Fri, 14 Oct 2011 10:37:40 +0000 (12:37 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

6 years agoAdding rake task for removing cached javascript and CSS
Marius Mathiesen [Fri, 14 Oct 2011 10:37:28 +0000 (12:37 +0200)]
Adding rake task for removing cached javascript and CSS

6 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Christian Johansen [Fri, 14 Oct 2011 10:35:51 +0000 (12:35 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

6 years agoRead Git version at boot time
Christian Johansen [Fri, 14 Oct 2011 10:35:39 +0000 (12:35 +0200)]
Read Git version at boot time

6 years agoMaking the LDAP test script a little more robust
Marius Mathiesen [Fri, 14 Oct 2011 10:33:56 +0000 (12:33 +0200)]
Making the LDAP test script a little more robust

6 years agoMerge commit 'refs/merge-requests/176' of gitorious.org:gitorious/mainline
Christian Johansen [Fri, 14 Oct 2011 10:25:04 +0000 (12:25 +0200)]
Merge commit 'refs/merge-requests/176' of gitorious.org:gitorious/mainline

6 years agoResolve merge conflict
Christian Johansen [Fri, 14 Oct 2011 10:23:56 +0000 (12:23 +0200)]
Resolve merge conflict

6 years agoShow the actually used Git version in the FAQ
Peter Kjellerstedt [Fri, 14 Oct 2011 09:29:43 +0000 (11:29 +0200)]
Show the actually used Git version in the FAQ

6 years agoShow the correct server name in the FAQ
Peter Kjellerstedt [Fri, 14 Oct 2011 09:29:24 +0000 (11:29 +0200)]
Show the correct server name in the FAQ

6 years agoCorrect erroneous embedded tag
Peter Kjellerstedt [Fri, 14 Oct 2011 09:28:48 +0000 (11:28 +0200)]
Correct erroneous embedded tag

6 years agoExtract terms of service related links
Marius Mathiesen [Wed, 12 Oct 2011 12:12:29 +0000 (14:12 +0200)]
Extract terms of service related links

6 years agoA string value will never evaluate to a number
Marius Mathiesen [Wed, 12 Oct 2011 11:49:14 +0000 (13:49 +0200)]
A string value will never evaluate to a number

6 years agoUse the public host&port, not the private ones
Marius Mathiesen [Wed, 12 Oct 2011 11:40:45 +0000 (13:40 +0200)]
Use the public host&port, not the private ones

gitorious_client_{host,port} are used internally.

6 years agoSome SMTP servers won't accept this address format
Marius Mathiesen [Wed, 12 Oct 2011 07:02:14 +0000 (09:02 +0200)]
Some SMTP servers won't accept this address format

6 years agoAllow for configuring a From: address in email
Marius Mathiesen [Wed, 12 Oct 2011 06:30:50 +0000 (08:30 +0200)]
Allow for configuring a From: address in email

This would default to no-reply@<gitorious_host> previously,
introducing a gitorious.yml parameter

6 years agoHide watch button for anonymous users
Marius Mathiesen [Wed, 12 Oct 2011 06:12:02 +0000 (08:12 +0200)]
Hide watch button for anonymous users

6 years agoInform that SSH fingerprint hasn't been configured
Marius Mathiesen [Wed, 12 Oct 2011 05:30:47 +0000 (07:30 +0200)]
Inform that SSH fingerprint hasn't been configured

6 years agoFixing misguiding comment
Marius Mathiesen [Wed, 12 Oct 2011 05:27:06 +0000 (07:27 +0200)]
Fixing misguiding comment

6 years agoAllow gitorious.yml to specify 'plugins'
Christian Johansen [Tue, 11 Oct 2011 13:08:38 +0000 (15:08 +0200)]
Allow gitorious.yml to specify 'plugins'

- Specify additional files to load after Rails is loaded by setting
  the property post_load to an array of files, relative to Rails.root
- This feature is not guaranteed to stick around

6 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Christian Johansen [Tue, 11 Oct 2011 11:49:59 +0000 (13:49 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

6 years agoMerge branch 'master' of gitorious.org:gitorious/mainline
Christian Johansen [Tue, 11 Oct 2011 11:49:01 +0000 (13:49 +0200)]
Merge branch 'master' of gitorious.org:gitorious/mainline

6 years agoAllow for additional links in the footer via gitorious.yml
Marius Mathiesen [Tue, 11 Oct 2011 11:48:49 +0000 (13:48 +0200)]
Allow for additional links in the footer via gitorious.yml

6 years agoExtract project meta to separate template
Christian Johansen [Tue, 11 Oct 2011 11:48:44 +0000 (13:48 +0200)]
Extract project meta to separate template

- Allows overriding from local installations

6 years agoSupport providing the real SSH fingerprint in gitorious.yml
Marius Mathiesen [Tue, 11 Oct 2011 11:14:10 +0000 (13:14 +0200)]
Support providing the real SSH fingerprint in gitorious.yml

6 years agoThis copyright statement didn't make any sense
Marius Mathiesen [Tue, 11 Oct 2011 10:40:17 +0000 (12:40 +0200)]
This copyright statement didn't make any sense

6 years agoClean up white-space and formatting
Christian Johansen [Fri, 7 Oct 2011 20:29:44 +0000 (22:29 +0200)]
Clean up white-space and formatting

6 years agoDon't use images for text in the footer logo
Christian Johansen [Fri, 7 Oct 2011 20:06:58 +0000 (22:06 +0200)]
Don't use images for text in the footer logo

6 years agoMissing helper methods
Christian Johansen [Fri, 7 Oct 2011 20:06:49 +0000 (22:06 +0200)]
Missing helper methods

6 years agoFAQ routing updates
Christian Johansen [Fri, 7 Oct 2011 20:06:32 +0000 (22:06 +0200)]
FAQ routing updates

6 years agoRender footer links from partial
Christian Johansen [Fri, 7 Oct 2011 20:06:23 +0000 (22:06 +0200)]
Render footer links from partial

- Reduces duplication between layouts

6 years agoNew faq route
Christian Johansen [Fri, 7 Oct 2011 20:05:09 +0000 (22:05 +0200)]
New faq route

6 years agoWhitespace. The trailing sort. Kill it.
Christian Johansen [Fri, 7 Oct 2011 20:04:57 +0000 (22:04 +0200)]
Whitespace. The trailing sort. Kill it.

6 years agoAllow local TOS and privacy policy pages
Christian Johansen [Fri, 7 Oct 2011 20:04:30 +0000 (22:04 +0200)]
Allow local TOS and privacy policy pages

- Set up routing for additional about pages
- Allow new pages to be rendered in site specific contexts

6 years agoRudimentary support for naming a Gitorious install
Christian Johansen [Fri, 7 Oct 2011 13:06:45 +0000 (15:06 +0200)]
Rudimentary support for naming a Gitorious install

- Add setting to the sample configuration
- Use the name in the login form
- Eventually; use name lookup other places the app identifies itself
  as "Gitorious"

6 years agoDon't show defunkt register link in private mode
Christian Johansen [Fri, 7 Oct 2011 12:55:41 +0000 (14:55 +0200)]
Don't show defunkt register link in private mode

6 years agoWarn when configured to add non-existant view paths
Christian Johansen [Fri, 7 Oct 2011 12:47:38 +0000 (14:47 +0200)]
Warn when configured to add non-existant view paths

6 years agoShow license descriptions with JavaScript
Christian Johansen [Fri, 7 Oct 2011 12:39:58 +0000 (14:39 +0200)]
Show license descriptions with JavaScript

- Only shows license descriptions when they're available (i.e. does
  not change existing behavior without additional configuration)
- Only shows license descriptions in the right column if explicitly
  configured to do so

6 years agoMake license label configurable
Christian Johansen [Wed, 5 Oct 2011 12:54:27 +0000 (14:54 +0200)]
Make license label configurable

- This is a temporary fix
- Allows the license field to be used for other kinds of
  classifications, useful for local installs where hosted code
  may or may not be OSS

6 years agoFormat view in a readable manner
Christian Johansen [Wed, 5 Oct 2011 12:53:17 +0000 (14:53 +0200)]
Format view in a readable manner

6 years agoMerge commit 'refs/merge-requests/175' of git://gitorious.org/gitorious/mainline
Christian Johansen [Wed, 5 Oct 2011 12:13:00 +0000 (14:13 +0200)]
Merge commit 'refs/merge-requests/175' of git://gitorious.org/gitorious/mainline

6 years agoMake the Clone & push urls look ok again
Peter Kjellerstedt [Wed, 5 Oct 2011 11:52:07 +0000 (13:52 +0200)]
Make the Clone & push urls look ok again

Not all combinations of enabled git/http/ssh protocols were supported by
the stylesheets for the Clone & push urls. In addition, the selectors
used to determine the width of the URL field were not deterministic,
making it impossible to set the width for all combinations correctly.

6 years agoProper formatting (no tabs)
Christian Johansen [Wed, 5 Oct 2011 11:49:18 +0000 (13:49 +0200)]
Proper formatting (no tabs)

6 years agoEscape ampersand in markup
Christian Johansen [Wed, 5 Oct 2011 11:48:36 +0000 (13:48 +0200)]
Escape ampersand in markup

6 years agoRender license descriptions in projects/new markup
Christian Johansen [Wed, 5 Oct 2011 11:48:25 +0000 (13:48 +0200)]
Render license descriptions in projects/new markup

- Makes descriptions available for JavaScript on the page
- Does not display descriptions by default

6 years agoProject licenses configuration can not be hash
Christian Johansen [Wed, 5 Oct 2011 11:47:42 +0000 (13:47 +0200)]
Project licenses configuration can not be hash

- The hash has no guaranteed order, which makes it hard to display
  licenses as desired.
- Use an array of hashes to provide descriptions of licenses

6 years agoTrailing white-space. Kill it. With fire.
Christian Johansen [Wed, 5 Oct 2011 11:46:44 +0000 (13:46 +0200)]
Trailing white-space. Kill it. With fire.

6 years agoMake available licenses configurable
Christian Johansen [Wed, 5 Oct 2011 11:11:14 +0000 (13:11 +0200)]
Make available licenses configurable

- Load licenses from the gitorious.yml setting 'license' if provided
- The setting can be an array, or a hash (in which case licenses can
  come with a description)

6 years agoMake project licenses proper objects
Christian Johansen [Wed, 5 Oct 2011 09:30:46 +0000 (11:30 +0200)]
Make project licenses proper objects

6 years agoMove project licenses to a separate class
Christian Johansen [Wed, 5 Oct 2011 09:13:57 +0000 (11:13 +0200)]
Move project licenses to a separate class

6 years agoKill trailing white-space
Christian Johansen [Wed, 5 Oct 2011 09:13:37 +0000 (11:13 +0200)]
Kill trailing white-space

6 years agoFormatting. No tabs please.
Christian Johansen [Wed, 5 Oct 2011 09:06:17 +0000 (11:06 +0200)]
Formatting. No tabs please.

6 years agoThere is no such thing as a "CSS class"
Christian Johansen [Wed, 5 Oct 2011 09:01:16 +0000 (11:01 +0200)]
There is no such thing as a "CSS class"

6 years agoMove repository helper method to repository helper
Christian Johansen [Wed, 5 Oct 2011 08:59:41 +0000 (10:59 +0200)]
Move repository helper method to repository helper

- Only used on place, has no business living in the application helper
- Simplify implementation

6 years agoCorrect class name for clone URL field
Christian Johansen [Wed, 5 Oct 2011 08:58:43 +0000 (10:58 +0200)]
Correct class name for clone URL field

- Account for the possibility that there is no git:// or ssh:// URL
- Simplify method

6 years agoExplicitly require Gitorious authentication
Christian Johansen [Wed, 5 Oct 2011 08:30:51 +0000 (10:30 +0200)]
Explicitly require Gitorious authentication

- Relying on Rails' autoloading from an initializer does not work
  well in development mode (i.e. where classes are autoloaded)
- Explicitly require the authentication configuration from the
  initializer
- Explicit is better than implicit anyway

6 years agoResolve merge conflict
Christian Johansen [Mon, 3 Oct 2011 21:40:24 +0000 (23:40 +0200)]
Resolve merge conflict

6 years agoAdd ability to hide git:// URLs from repo pages
Christian Johansen [Mon, 3 Oct 2011 21:24:49 +0000 (23:24 +0200)]
Add ability to hide git:// URLs from repo pages

- Add setting in default configuration file
- Add helper methods in repository model
- Refactor clone_urls helper template by the use of a helper method
  which reduces duplication
- Add tests

6 years agoMove owner related actions on the dashboard into a separate partial
Marius Mathiesen [Mon, 3 Oct 2011 12:39:14 +0000 (14:39 +0200)]
Move owner related actions on the dashboard into a separate partial

6 years agoAdding rake task for removing generated CSS files.
Marius Mathiesen [Mon, 3 Oct 2011 12:11:54 +0000 (14:11 +0200)]
Adding rake task for removing generated CSS files.

6 years agoMerge commit 'refs/merge-requests/172' of gitorious.org:gitorious/mainline
Marius Mathiesen [Fri, 30 Sep 2011 12:25:47 +0000 (14:25 +0200)]
Merge commit 'refs/merge-requests/172' of gitorious.org:gitorious/mainline

6 years agoMake branch_and_path() search tags before branches
Peter Kjellerstedt [Fri, 30 Sep 2011 07:25:13 +0000 (09:25 +0200)]
Make branch_and_path() search tags before branches

If a tag name begins with a branch name we would previously identify the
branch name and the later part of the tag name would instead be
considered part of the path. E.g., if the branch is named "dev/test" and
the tag is "dev/test/1", then "dev/test/1/src" would previously result
in branch_ref="dev/test" and path="1/src" whereas it will now be
branch_ref="dev/test/1" and path="src".

6 years agoGenerate events correctly for tags with slashes
Peter Kjellerstedt [Thu, 29 Sep 2011 15:14:07 +0000 (17:14 +0200)]
Generate events correctly for tags with slashes

6 years agoFix the box-shadow for disable_hover elements
Peter Kjellerstedt [Wed, 28 Sep 2011 17:31:58 +0000 (19:31 +0200)]
Fix the box-shadow for disable_hover elements

6 years agoMake the last double_row item look correct
Peter Kjellerstedt [Wed, 28 Sep 2011 16:37:52 +0000 (18:37 +0200)]
Make the last double_row item look correct

Without this the first line of the last double_row item got a bottom
border and rounded corners when one hovered the mouse over it.

6 years agoAdd disable_hover CSS attribute for tag links
Peter Kjellerstedt [Wed, 28 Sep 2011 14:43:57 +0000 (16:43 +0200)]
Add disable_hover CSS attribute for tag links

This was already done for branches, but for some reason it was missing
for tags.

6 years agoPrevent LDAP authentication with an empty password
Peter Kjellerstedt [Wed, 28 Sep 2011 14:23:46 +0000 (16:23 +0200)]
Prevent LDAP authentication with an empty password

Some LDAP servers seem to allow the LDAP bind to succeed if the
specified password is empty.

6 years agoAllow displaying SSH URLs for situations where no other protcols are available
Marius Mathiesen [Thu, 29 Sep 2011 06:27:56 +0000 (08:27 +0200)]
Allow displaying SSH URLs for situations where no other protcols are available

Specify always_display_ssh_url: true in gitorious.yml to enable

6 years agoWhen creating users from LDAP: replace . with -
Marius Mathiesen [Fri, 23 Sep 2011 12:43:42 +0000 (14:43 +0200)]
When creating users from LDAP: replace . with -

6 years agoPreliminary callback support
Marius Mathiesen [Wed, 21 Sep 2011 13:32:06 +0000 (15:32 +0200)]
Preliminary callback support

post_authenticate will be called after successful LDAP authentication

6 years agoProvide a default authentication configuration with examples
Marius Mathiesen [Mon, 19 Sep 2011 12:14:01 +0000 (14:14 +0200)]
Provide a default authentication configuration with examples

6 years agoTransform the username entered by the user.
Marius Mathiesen [Mon, 19 Sep 2011 11:31:05 +0000 (13:31 +0200)]
Transform the username entered by the user.

Since Gitorious' database practices some quite strict validations, we
pass what's in the LDAP tree through a transformation first:

- before saving a new user account
- when calling User.find_by_login