OSDN Git Service

wvm/gitlab.git
11 years agoCleaner install section for nginx, unicorn
randx [Tue, 4 Sep 2012 17:50:00 +0000 (20:50 +0300)]
Cleaner install section for nginx, unicorn

11 years agocleanup gitlab from setup scripts
randx [Tue, 4 Sep 2012 17:29:20 +0000 (20:29 +0300)]
cleanup gitlab from setup scripts

11 years agoMerge pull request #1371 from tsigo/project_panel
Dmitriy Zaporozhets [Tue, 4 Sep 2012 17:00:00 +0000 (10:00 -0700)]
Merge pull request #1371 from tsigo/project_panel

Refactor the project clone panel

11 years agoupdate install to use recipes
randx [Tue, 4 Sep 2012 16:44:17 +0000 (19:44 +0300)]
update install to use recipes

11 years agoChange projects/empty to include the clone_panel partial instead of duplicating
Robert Speicher [Tue, 4 Sep 2012 16:05:08 +0000 (12:05 -0400)]
Change projects/empty to include the clone_panel partial instead of duplicating

11 years agoRemove projects/_show partial
Robert Speicher [Tue, 4 Sep 2012 16:03:40 +0000 (12:03 -0400)]
Remove projects/_show partial

I have no earthly idea what this file was for, but I couldn't find it being
rendered anywhere.

11 years agoAdd "empty_repo?" method to Repository role
Robert Speicher [Tue, 4 Sep 2012 15:37:38 +0000 (11:37 -0400)]
Add "empty_repo?" method to Repository role

Replaces two calls that this method simplifies

11 years agoUpdate the projects js file to coffeescript; refactor the clone panel switcher
Robert Speicher [Tue, 4 Sep 2012 15:36:14 +0000 (11:36 -0400)]
Update the projects js file to coffeescript; refactor the clone panel switcher

11 years agoRename projects.js to projects.js.coffee
Robert Speicher [Tue, 4 Sep 2012 15:30:49 +0000 (11:30 -0400)]
Rename projects.js to projects.js.coffee

11 years agoMerge pull request #1368 from tsigo/tmp_gitkeep
Dmitriy Zaporozhets [Tue, 4 Sep 2012 10:03:37 +0000 (03:03 -0700)]
Merge pull request #1368 from tsigo/tmp_gitkeep

Add tmp/.gitkeep file to ensure tmp folder exists on clone

11 years agoMerge pull request #1369 from tsigo/installation_doc
Dmitriy Zaporozhets [Tue, 4 Sep 2012 10:03:24 +0000 (03:03 -0700)]
Merge pull request #1369 from tsigo/installation_doc

Clean up doc/installation.md

11 years agoClean up doc/installation.md
Robert Speicher [Tue, 4 Sep 2012 09:26:25 +0000 (05:26 -0400)]
Clean up doc/installation.md

Closes #939

11 years agoAdd tmp/.gitkeep file to ensure tmp folder exists on clone
Robert Speicher [Tue, 4 Sep 2012 09:24:43 +0000 (05:24 -0400)]
Add tmp/.gitkeep file to ensure tmp folder exists on clone

The install guide lists it as a requirement, so we might as well have it
by default.

11 years agoChange hardcoded base path to use Gitlab settings
Robert Speicher [Tue, 4 Sep 2012 09:03:31 +0000 (05:03 -0400)]
Change hardcoded base path to use Gitlab settings

Closes #1072

11 years agoMerge pull request #1233 from robbytaylor/master
Valeriy Sizov [Tue, 4 Sep 2012 08:52:37 +0000 (01:52 -0700)]
Merge pull request #1233 from robbytaylor/master

Changes to text in API documentation

11 years agoMerge pull request #1361 from tsechingho/master
Valeriy Sizov [Tue, 4 Sep 2012 08:50:28 +0000 (01:50 -0700)]
Merge pull request #1361 from tsechingho/master

use APP_ROOT in init-gitlab to specify root of project

11 years agoText changes to API documentation
Rob Taylor [Tue, 14 Aug 2012 16:54:25 +0000 (17:54 +0100)]
Text changes to API documentation

11 years agouse APP_ROOT in init-gitlab to specify root of project
Tse-Ching Ho [Mon, 3 Sep 2012 13:04:10 +0000 (21:04 +0800)]
use APP_ROOT in init-gitlab to specify root of project

11 years agoMerge pull request #1366 from tsigo/markdown_help
Dmitriy Zaporozhets [Tue, 4 Sep 2012 07:28:04 +0000 (00:28 -0700)]
Merge pull request #1366 from tsigo/markdown_help

Change @project instance variable to a local in views/help/markdown

11 years agoChange @project instance variable to a local in views/help/markdown
Robert Speicher [Tue, 4 Sep 2012 07:18:26 +0000 (03:18 -0400)]
Change @project instance variable to a local in views/help/markdown

It was erroneously appending the project name to the page's title, even
though the Help system isn't specific to one project.

11 years agoMerge pull request #1365 from tsigo/gitolite_identifier
Dmitriy Zaporozhets [Tue, 4 Sep 2012 06:14:19 +0000 (23:14 -0700)]
Merge pull request #1365 from tsigo/gitolite_identifier

Update User#identifier to conform to Gitolite 2.x's user pattern

11 years agoUpdate User#identifier to conform to Gitolite 2.x's user pattern
Robert Speicher [Tue, 4 Sep 2012 04:04:36 +0000 (00:04 -0400)]
Update User#identifier to conform to Gitolite 2.x's user pattern

Also modifies the specs a bit because I can't help myself.

Closes #480

11 years agoAdd Milestone link to API help TOC
Robert Speicher [Tue, 4 Sep 2012 00:38:41 +0000 (20:38 -0400)]
Add Milestone link to API help TOC

[ci skip]

11 years agofix browse file css
randx [Mon, 3 Sep 2012 19:57:34 +0000 (22:57 +0300)]
fix browse file css

11 years agogit clone panel available on files tab too
randx [Mon, 3 Sep 2012 19:30:14 +0000 (22:30 +0300)]
git clone panel available on files tab too

11 years agoTables refactored
randx [Mon, 3 Sep 2012 18:53:16 +0000 (21:53 +0300)]
Tables refactored

11 years agoMerge pull request #1360 from NARKOZ/api
Dmitriy Zaporozhets [Mon, 3 Sep 2012 12:04:23 +0000 (05:04 -0700)]
Merge pull request #1360 from NARKOZ/api

API pagination

11 years agoadd pagination to API
Nihad Abbasov [Mon, 3 Sep 2012 11:46:29 +0000 (04:46 -0700)]
add pagination to API

11 years agoadd kaminari config with default and max per_page values
Nihad Abbasov [Mon, 3 Sep 2012 11:22:49 +0000 (04:22 -0700)]
add kaminari config with default and max per_page values

11 years agobump kaminari
Nihad Abbasov [Mon, 3 Sep 2012 10:43:19 +0000 (03:43 -0700)]
bump kaminari

11 years agoMerge pull request #1347 from AlexDenisov/api_project_creation
Dmitriy Zaporozhets [Mon, 3 Sep 2012 08:48:51 +0000 (01:48 -0700)]
Merge pull request #1347 from AlexDenisov/api_project_creation

API for new project creation

11 years agodevise session templates to haml. Fix problem with missing message in commit
Dmitriy Zaporozhets [Mon, 3 Sep 2012 05:13:51 +0000 (08:13 +0300)]
devise session templates to haml. Fix problem with missing message in commit

11 years agoMerge pull request #1356 from dosire/non-interactive-aws-install
Dmitriy Zaporozhets [Mon, 3 Sep 2012 05:11:30 +0000 (22:11 -0700)]
Merge pull request #1356 from dosire/non-interactive-aws-install

Update the references to the script and refer to it from the installation manual.

11 years agoUpdate the references to the script and refer to it from the installation manual.
Sytse Sijbrandij [Sun, 2 Sep 2012 20:41:21 +0000 (22:41 +0200)]
Update the references to the script and refer to it from the installation manual.

Update the references to the script and refer to it from the installation manual.

Indent the code block.

11 years agoMerge pull request #1327 from logiblocs/master
Dmitriy Zaporozhets [Sun, 2 Sep 2012 19:21:00 +0000 (12:21 -0700)]
Merge pull request #1327 from logiblocs/master

Trivial fix to docs/installation.md

11 years agoMerge pull request #1318 from dosire/non-interactive-aws-install
Dmitriy Zaporozhets [Sun, 2 Sep 2012 19:09:48 +0000 (12:09 -0700)]
Merge pull request #1318 from dosire/non-interactive-aws-install

Non interactive aws install

11 years agoMerge pull request #1351 from tsigo/nonrelative_resque
Dmitriy Zaporozhets [Sun, 2 Sep 2012 18:58:13 +0000 (11:58 -0700)]
Merge pull request #1351 from tsigo/nonrelative_resque

Give Resque route a name and use that for the iframe src

11 years agoMerge pull request #1355 from tsigo/gfm_spec_cleanup
Dmitriy Zaporozhets [Sun, 2 Sep 2012 18:57:33 +0000 (11:57 -0700)]
Merge pull request #1355 from tsigo/gfm_spec_cleanup

GFM spec redesign

11 years agoRedesign gfm helper specs
Robert Speicher [Sun, 2 Sep 2012 06:13:13 +0000 (02:13 -0400)]
Redesign gfm helper specs

Should now be much clearer about what each spec is actually testing.
For example, instead of testing stuff like link classes and titles in
every single call, we only test those things once, in their own specs.

11 years agoAdd link_title to CommitDecorator
Robert Speicher [Sun, 2 Sep 2012 03:56:44 +0000 (23:56 -0400)]
Add link_title to CommitDecorator

11 years agoAdd StaticModel role, and add it to Commit model
Robert Speicher [Sun, 2 Sep 2012 03:39:28 +0000 (23:39 -0400)]
Add StaticModel role, and add it to Commit model

Instead of doing this:

    link_to(commit.id, project_commit_path(project, id: commit.id))
    Note.create(noteable_id: commit.id, noteable_type: "Commit", ...)

It lets us do this:

    link_to(commit.id, project_commit_path(project, commit))
    Note.create(noteable: commit, ...)

11 years agoMerge branch 'master' into non-interactive-aws-install
Sytse Sijbrandij [Sun, 2 Sep 2012 16:41:33 +0000 (18:41 +0200)]
Merge branch 'master' into non-interactive-aws-install

Conflicts:
doc/installation.md

11 years agoNon-interactive AWS install by running a single script.
Sytse Sijbrandij [Sun, 2 Sep 2012 16:31:16 +0000 (18:31 +0200)]
Non-interactive AWS install by running a single script.

Merge branch 'master' into non-interactive-aws-install

Conflicts:
doc/installation.md

Fix merge mess in installation.md

11 years agoNon-interactive AWS install by running a single script.
Sytse Sijbrandij [Sun, 26 Aug 2012 14:18:13 +0000 (16:18 +0200)]
Non-interactive AWS install by running a single script.

Non-interactive AWS install by running a single script.

Complete non-interactive AWS install with one line.

Squash of 28 commits:

Initial commit of complete install script.

Must be sudo.

Non interactive prostgres.

Install mysql with unique password.

Service file.

Add init file.

Nginx config.

Script contains aws specific settings.

Update references after rename.

Prevent localhost ssh prompt.

Postfix with policyd.

Typo in localhost. Postfix package has other name. sudo -l session needs oneliners.

More sudo commands to prevent permission problems.

Change in existing file.

Change in existing file must be referenced.

Switch order.

Postfix comment.

Old way to generate password, less sudo.

todo login

Must use private ip and login instructions.

Starting up.

Fixed and checked various todos.

Use service. Set host name. Go to default dir.

Only works on next login.

Only replace first host.

Cleaned up the comments.

Link to nginx config.

Move to aws dir.

Update links to aws for interactive install.

Existing script stays at the same location.

Change directory. Use the new init scripts for gitlab service and nginx. Use the branch for file downloads. Update with newest changes to installation.md.

Correct reference.

Use master branch since we need the nginx condfig and use absolute paths.

Need to copy with sudo.

11 years agoFix glm by adding id and classes to sanitize white attrs
randx [Sun, 2 Sep 2012 12:25:54 +0000 (15:25 +0300)]
Fix glm by adding id and classes to sanitize white attrs

11 years agoRename gitlab_flavored_markdown_spec to gitlab_markdown_helper_spec
Robert Speicher [Sun, 2 Sep 2012 02:56:54 +0000 (22:56 -0400)]
Rename gitlab_flavored_markdown_spec to gitlab_markdown_helper_spec

11 years agoSanitize glm helper
randx [Sat, 1 Sep 2012 20:35:04 +0000 (23:35 +0300)]
Sanitize glm helper

11 years agoFew fixes for ~ 1000px resolution
randx [Sat, 1 Sep 2012 19:21:28 +0000 (22:21 +0300)]
Few fixes for ~ 1000px resolution

11 years agoGive Resque route a name and use that for the iframe src
Robert Speicher [Fri, 31 Aug 2012 23:28:32 +0000 (19:28 -0400)]
Give Resque route a name and use that for the iframe src

Closes #1350

11 years agoMerge branch 'master' into api_project_creation
Alex Denisov [Fri, 31 Aug 2012 08:26:12 +0000 (11:26 +0300)]
Merge branch 'master' into api_project_creation

11 years agoTypo and mistakes fixed
Alex Denisov [Fri, 31 Aug 2012 08:11:12 +0000 (11:11 +0300)]
Typo and mistakes fixed

11 years agoMerge pull request #1326 from AlexDenisov/issue_status_changed_notifications
Dmitriy Zaporozhets [Fri, 31 Aug 2012 07:51:31 +0000 (00:51 -0700)]
Merge pull request #1326 from AlexDenisov/issue_status_changed_notifications

Issue status changed notifications

11 years agoJSON for new project removed from API docs
Alex Denisov [Fri, 31 Aug 2012 07:28:38 +0000 (10:28 +0300)]
JSON for new project removed from API docs

11 years agoDocs changed for Create Project API
Alex Denisov [Fri, 31 Aug 2012 07:27:45 +0000 (10:27 +0300)]
Docs changed for Create Project API

11 years agoDocs added for Create Project API
Alex Denisov [Fri, 31 Aug 2012 07:25:36 +0000 (10:25 +0300)]
Docs added for Create Project API

11 years agoAPI on Projects creation implemented
Alex Denisov [Fri, 31 Aug 2012 07:15:37 +0000 (10:15 +0300)]
API on Projects creation implemented

11 years agoFreeze project path in admin area
randx [Fri, 31 Aug 2012 06:05:44 +0000 (09:05 +0300)]
Freeze project path in admin area

11 years agogitlab_meta to 2.9
randx [Thu, 30 Aug 2012 19:48:01 +0000 (22:48 +0300)]
gitlab_meta to 2.9

11 years agov2.9.0pre
randx [Thu, 30 Aug 2012 19:45:28 +0000 (22:45 +0300)]
v2.9.0pre

11 years agoJs validation for title presence in issue, mr, milestone
randx [Thu, 30 Aug 2012 19:28:45 +0000 (22:28 +0300)]
Js validation for title presence in issue, mr, milestone

11 years agoChanged filters to readable one. Styled some stuff
randx [Thu, 30 Aug 2012 19:15:34 +0000 (22:15 +0300)]
Changed filters to readable one. Styled some stuff

11 years agoFixed bunch of js bugs with comments. Also added development tips
randx [Thu, 30 Aug 2012 18:31:55 +0000 (21:31 +0300)]
Fixed bunch of js bugs with comments. Also added development tips

11 years agoRemoved class 'small' for some buttons. Fixed issue creation
randx [Thu, 30 Aug 2012 17:00:16 +0000 (20:00 +0300)]
Removed class 'small' for some buttons. Fixed issue creation

11 years agofix project.last_activity spec
randx [Thu, 30 Aug 2012 16:45:05 +0000 (19:45 +0300)]
fix project.last_activity spec

11 years agoChanged colors for buttons. Imporved preview area. Added clone panel to empty project
Dmitriy Zaporozhets [Thu, 30 Aug 2012 06:26:45 +0000 (09:26 +0300)]
Changed colors for buttons. Imporved preview area. Added clone panel to empty project

11 years agoMerge pull request #1336 from mmonge/install_nginx_fix
Dmitriy Zaporozhets [Thu, 30 Aug 2012 13:45:19 +0000 (06:45 -0700)]
Merge pull request #1336 from mmonge/install_nginx_fix

nginx vhost standard

11 years agoGitlab cli for development need at first
Dmitriy Zaporozhets [Thu, 30 Aug 2012 05:41:43 +0000 (08:41 +0300)]
Gitlab cli for development need at first

11 years agoFixed project last_activity. Links color changed a bit
Dmitriy Zaporozhets [Thu, 30 Aug 2012 06:09:42 +0000 (09:09 +0300)]
Fixed project last_activity. Links color changed a bit

11 years agoRestyled projects list on dashboard
Dmitriy Zaporozhets [Thu, 30 Aug 2012 05:13:36 +0000 (08:13 +0300)]
Restyled projects list on dashboard

11 years agonginx vhost standard
Marvin Monge [Thu, 30 Aug 2012 01:11:22 +0000 (19:11 -0600)]
nginx vhost standard

11 years agoRefactoring scss & improving some UI elements
randx [Wed, 29 Aug 2012 19:29:50 +0000 (22:29 +0300)]
Refactoring scss & improving some UI elements

11 years agoSCSS refactoring & cleanup. First iteration
randx [Wed, 29 Aug 2012 18:23:43 +0000 (21:23 +0300)]
SCSS refactoring & cleanup. First iteration

11 years agoMerge pull request #1334 from tsigo/milestone_api_specs
Dmitriy Zaporozhets [Wed, 29 Aug 2012 16:02:07 +0000 (09:02 -0700)]
Merge pull request #1334 from tsigo/milestone_api_specs

Fix milestone API specs

11 years agoMerge pull request #1333 from tsigo/model_specs
Dmitriy Zaporozhets [Wed, 29 Aug 2012 16:00:02 +0000 (09:00 -0700)]
Merge pull request #1333 from tsigo/model_specs

Increased model spec coverage

11 years agoFix milestone API specs and moved to requests/api
Robert Speicher [Wed, 29 Aug 2012 15:58:33 +0000 (11:58 -0400)]
Fix milestone API specs and moved to requests/api

Closes #1331

11 years agoAdd more coverage for model validations and associations
Robert Speicher [Wed, 29 Aug 2012 15:36:02 +0000 (11:36 -0400)]
Add more coverage for model validations and associations

11 years agoMark api milestone specs as pending
Dmitriy Zaporozhets [Wed, 29 Aug 2012 15:09:41 +0000 (18:09 +0300)]
Mark api milestone specs as pending

11 years agoAdd is_within method for shoulda's EnsureLengthOf matcher
Robert Speicher [Wed, 29 Aug 2012 06:21:50 +0000 (02:21 -0400)]
Add is_within method for shoulda's EnsureLengthOf matcher

11 years agoRemove annotations from specs
Robert Speicher [Wed, 29 Aug 2012 06:05:08 +0000 (02:05 -0400)]
Remove annotations from specs

11 years agoMove IssueCommonality and Upvote specs out of models and into their own specs
Robert Speicher [Wed, 29 Aug 2012 05:52:19 +0000 (01:52 -0400)]
Move IssueCommonality and Upvote specs out of models and into their own specs

11 years agoAdd `include_module` matcher
Robert Speicher [Wed, 29 Aug 2012 05:49:26 +0000 (01:49 -0400)]
Add `include_module` matcher

11 years agoRemove model specs that are covered by factories_spec
Robert Speicher [Wed, 29 Aug 2012 05:35:48 +0000 (01:35 -0400)]
Remove model specs that are covered by factories_spec

11 years agoFixed one letter in doc/installation.md
logiblocs [Wed, 29 Aug 2012 11:04:37 +0000 (13:04 +0200)]
Fixed one letter in doc/installation.md

11 years agoMerge branch 'master' into issue_status_changed_notifications
Alex Denisov [Wed, 29 Aug 2012 08:42:15 +0000 (11:42 +0300)]
Merge branch 'master' into issue_status_changed_notifications

11 years agoMerge branch 'master' into issue_status_changed_notifications
Alex Denisov [Wed, 29 Aug 2012 08:21:14 +0000 (11:21 +0300)]
Merge branch 'master' into issue_status_changed_notifications

11 years agoDuplicate code removed from IssueObserver#after_update
Alex Denisov [Wed, 29 Aug 2012 07:50:35 +0000 (10:50 +0300)]
Duplicate code removed from IssueObserver#after_update

11 years agoNotification sends to issue author and assignee if issue being reopened or closed
Alex Denisov [Wed, 29 Aug 2012 07:48:17 +0000 (10:48 +0300)]
Notification sends to issue author and assignee if issue being reopened or closed

11 years agoIssue_status_changed email added
Alex Denisov [Wed, 29 Aug 2012 06:49:39 +0000 (09:49 +0300)]
Issue_status_changed email added

11 years agoMerge pull request #1323 from tsigo/factory_girl
Dmitriy Zaporozhets [Wed, 29 Aug 2012 05:57:16 +0000 (22:57 -0700)]
Merge pull request #1323 from tsigo/factory_girl

FactoryGirl and spec cleanup

11 years agoOnly include StubbedRepository in Project model
Robert Speicher [Wed, 29 Aug 2012 05:55:41 +0000 (01:55 -0400)]
Only include StubbedRepository in Project model

11 years agoPreview as button. Disable note submit unless content
randx [Wed, 29 Aug 2012 05:13:38 +0000 (08:13 +0300)]
Preview as button. Disable note submit unless content

11 years agoMerge pull request #1329 from tsigo/milestone_api_docs
Dmitriy Zaporozhets [Wed, 29 Aug 2012 12:47:54 +0000 (05:47 -0700)]
Merge pull request #1329 from tsigo/milestone_api_docs

Add milestone API docs to doc/README and views/help/api

11 years agoAdd milestone API docs to doc/README and views/help/api
Robert Speicher [Wed, 29 Aug 2012 12:45:00 +0000 (08:45 -0400)]
Add milestone API docs to doc/README and views/help/api

Also removes `closed` attribute option from create action.

11 years agoMerge pull request #1328 from NARKOZ/api
Dmitriy Zaporozhets [Wed, 29 Aug 2012 12:36:01 +0000 (05:36 -0700)]
Merge pull request #1328 from NARKOZ/api

add docs for Milestones API

11 years agoMerge branch 'milestone_api' of https://github.com/tsigo/gitlabhq into tsigo-mileston...
Dmitriy Zaporozhets [Wed, 29 Aug 2012 12:35:12 +0000 (15:35 +0300)]
Merge branch 'milestone_api' of https://github.com/tsigo/gitlabhq into tsigo-milestone_api

Conflicts:
spec/requests/api/issues_spec.rb

11 years agoadd docs for Milestones API
Nihad Abbasov [Wed, 29 Aug 2012 12:31:00 +0000 (05:31 -0700)]
add docs for Milestones API

11 years agoFix test i broke with ssk key validation. Added Key.user_id as attr_protected
Dmitriy Zaporozhets [Wed, 29 Aug 2012 04:58:22 +0000 (07:58 +0300)]
Fix test i broke with ssk key validation. Added Key.user_id as attr_protected

11 years agoAdd ssh key validation
Dmitriy Zaporozhets [Wed, 29 Aug 2012 04:13:29 +0000 (07:13 +0300)]
Add ssh key validation

11 years agoRemove pkey.example
Robert Speicher [Wed, 29 Aug 2012 01:15:21 +0000 (21:15 -0400)]
Remove pkey.example

11 years agoRemove all instances to 'gitlabhq_x' seed repositories from specs and features
Robert Speicher [Wed, 29 Aug 2012 01:13:22 +0000 (21:13 -0400)]
Remove all instances to 'gitlabhq_x' seed repositories from specs and features

We now need only one seed repo! Also cleans up the seeding script.