Dmitriy Zaporozhets
6e5cd8e081
Merge pull request #1375 from tsigo/discover_default_branch
...
Default branch auto-discovery
2012-09-05 00:04:56 -07:00
Dmitriy Zaporozhets
7c76c8d348
Merge pull request #1376 from AlexDenisov/remove_unused_routes
...
Unused routes removed
2012-09-04 23:59:43 -07:00
Alex Denisov
761c17f282
Unused routes removed
2012-09-05 09:20:02 +03:00
Robert Speicher
5e1c63d3f0
Move load_refs out of ApplicationController and into CommitsController
...
That was the only place it was used.
2012-09-05 01:13:41 -04:00
Robert Speicher
a9f275bc20
Fix load_refs in ApplicationController after default_branch change
...
As a last resort it was calling a method that didn't exist. Woops!
2012-09-05 01:12:44 -04:00
Robert Speicher
861a51488a
Add specs for a couple more Repository methods used by discover_default_branch
2012-09-05 01:02:30 -04:00
Robert Speicher
443e23e61a
Add Repository#discover_default_branch and add it to PushObserver
2012-09-05 01:01:20 -04:00
Robert Speicher
f06d98e907
Add SetDefaultBranchDefaultToNil migration
...
default_branch now defaults to nil, not 'master'. It will be set after the first
push by discover_default_branch.
2012-09-05 01:00:07 -04:00
Robert Speicher
36738897bf
Add specs for Project#discover_default_branch
2012-09-05 00:54:00 -04:00
randx
42032956bd
Cleaner install section for nginx, unicorn
2012-09-04 20:50:00 +03:00
randx
d59d2a197e
cleanup gitlab from setup scripts
2012-09-04 20:29:20 +03:00
Dmitriy Zaporozhets
5ab3e38ecd
Merge pull request #1371 from tsigo/project_panel
...
Refactor the project clone panel
2012-09-04 10:00:00 -07:00
randx
874a86f820
update install to use recipes
2012-09-04 19:44:17 +03:00
Robert Speicher
0bc4ecfedd
Change projects/empty to include the clone_panel partial instead of duplicating
2012-09-04 12:05:21 -04:00
Robert Speicher
82a3996883
Remove projects/_show partial
...
I have no earthly idea what this file was for, but I couldn't find it being
rendered anywhere.
2012-09-04 12:05:21 -04:00
Robert Speicher
a463353773
Add "empty_repo?" method to Repository role
...
Replaces two calls that this method simplifies
2012-09-04 12:05:21 -04:00
Robert Speicher
7e76610d0a
Update the projects js file to coffeescript; refactor the clone panel switcher
2012-09-04 12:05:20 -04:00
Robert Speicher
c1ff89fa2a
Rename projects.js to projects.js.coffee
2012-09-04 11:30:49 -04:00
Dmitriy Zaporozhets
d6ea70c9b6
Merge pull request #1368 from tsigo/tmp_gitkeep
...
Add tmp/.gitkeep file to ensure tmp folder exists on clone
2012-09-04 03:03:37 -07:00
Dmitriy Zaporozhets
a48064c06e
Merge pull request #1369 from tsigo/installation_doc
...
Clean up doc/installation.md
2012-09-04 03:03:24 -07:00
Robert Speicher
fc7ac316a0
Clean up doc/installation.md
...
Closes #939
2012-09-04 05:33:18 -04:00
Robert Speicher
11ebbb68d8
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.
2012-09-04 05:28:48 -04:00
Robert Speicher
12c57a7061
Change hardcoded base path to use Gitlab settings
...
Closes #1072
2012-09-04 05:05:56 -04:00
Valeriy Sizov
97ea041246
Merge pull request #1233 from robbytaylor/master
...
Changes to text in API documentation
2012-09-04 01:52:37 -07:00
Valeriy Sizov
e398e96b7c
Merge pull request #1361 from tsechingho/master
...
use APP_ROOT in init-gitlab to specify root of project
2012-09-04 01:50:28 -07:00
Rob Taylor
4cb03183ac
Text changes to API documentation
2012-09-04 09:48:33 +01:00
Tse-Ching Ho
457b0f604f
use APP_ROOT in init-gitlab to specify root of project
2012-09-04 16:39:10 +08:00
Dmitriy Zaporozhets
c347fd3f88
Merge pull request #1366 from tsigo/markdown_help
...
Change @project instance variable to a local in views/help/markdown
2012-09-04 00:28:04 -07:00
Robert Speicher
6471d8c652
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.
2012-09-04 03:18:26 -04:00
Dmitriy Zaporozhets
cb2b888bd6
Merge pull request #1365 from tsigo/gitolite_identifier
...
Update User#identifier to conform to Gitolite 2.x's user pattern
2012-09-03 23:14:19 -07:00
Robert Speicher
d29827433d
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
2012-09-04 00:20:17 -04:00
Robert Speicher
b44e9a08d5
Add Milestone link to API help TOC
...
[ci skip]
2012-09-03 20:38:41 -04:00
randx
5db2dbdcf1
fix browse file css
2012-09-03 22:57:34 +03:00
randx
f557686eb2
git clone panel available on files tab too
2012-09-03 22:30:14 +03:00
randx
8ca0b75d05
Tables refactored
2012-09-03 21:53:16 +03:00
Dmitriy Zaporozhets
0c5e556922
Merge pull request #1360 from NARKOZ/api
...
API pagination
2012-09-03 05:04:23 -07:00
Nihad Abbasov
76e4d94d43
add pagination to API
2012-09-03 04:46:29 -07:00
Nihad Abbasov
6817a6a295
add kaminari config with default and max per_page values
2012-09-03 04:22:49 -07:00
Nihad Abbasov
6745812c72
bump kaminari
2012-09-03 03:43:19 -07:00
Dmitriy Zaporozhets
cc03600b22
Merge pull request #1347 from AlexDenisov/api_project_creation
...
API for new project creation
2012-09-03 01:48:51 -07:00
Dmitriy Zaporozhets
c7cfe3d83b
devise session templates to haml. Fix problem with missing message in commit
2012-09-03 08:15:07 +03:00
Dmitriy Zaporozhets
6ec909cfd0
Merge pull request #1356 from dosire/non-interactive-aws-install
...
Update the references to the script and refer to it from the installation manual.
2012-09-02 22:11:30 -07:00
Sytse Sijbrandij
cc137bba79
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.
2012-09-02 22:44:11 +02:00
Dmitriy Zaporozhets
734a5b7d02
Merge pull request #1327 from logiblocs/master
...
Trivial fix to docs/installation.md
2012-09-02 12:21:00 -07:00
Dmitriy Zaporozhets
65402f1a1a
Merge pull request #1318 from dosire/non-interactive-aws-install
...
Non interactive aws install
2012-09-02 12:09:48 -07:00
Dmitriy Zaporozhets
6997543ac2
Merge pull request #1351 from tsigo/nonrelative_resque
...
Give Resque route a name and use that for the iframe src
2012-09-02 11:58:13 -07:00
Dmitriy Zaporozhets
f9711cd81a
Merge pull request #1355 from tsigo/gfm_spec_cleanup
...
GFM spec redesign
2012-09-02 11:57:33 -07:00
Robert Speicher
ef24576fc2
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.
2012-09-02 13:40:14 -04:00
Robert Speicher
40d619107f
Add link_title to CommitDecorator
2012-09-02 13:40:14 -04:00
Robert Speicher
8db2a59d0b
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, ...)
2012-09-02 13:40:07 -04:00