Commit graph

2207 commits

Author SHA1 Message Date
Dmitriy Zaporozhets 19a5219746 Merge pull request #1378 from NARKOZ/validations
validate boolean attributes
2012-09-05 04:07:35 -07:00
Nihad Abbasov 0b559cdece add validations for boolean attributes 2012-09-05 04:01:11 -07:00
Nihad Abbasov 2680371785 bump shoulda-matchers 2012-09-05 03:05:57 -07:00
Alex Denisov 9b9dd3f9bf Unnecessary code removed 2012-09-05 11:44:47 +03:00
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
Dmitriy Zaporozhets 982a4095c1 Use tw style for some buttons. Improved deploy key UI 2012-09-05 08:56:59 +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
Alex Denisov 4bd3024580 json_spec removed 2012-09-04 10:29:26 +03: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
Alex Denisov b73d4419ea json_spec added. Create project via REST API fixed 2012-09-04 09:38:48 +03: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
Alex Denisov 6b3ce96a19 Merge branch 'master' into api_create_project_fixes 2012-09-03 18:02:43 +03:00
Alex Denisov e078a173d6 Create project via API: fixes added 2012-09-03 18:00:24 +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