summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* specs for repository tag_names, branch_namesDmitriy Zaporozhets2013-04-031-0/+16
|
* decorate commits in Gitlab::Git::repository with valid classDmitriy Zaporozhets2013-04-031-0/+11
|
* keep same dir structure for specs as in lib/Dmitriy Zaporozhets2013-04-034-19/+0
|
* fixed blame and mr factoryDmitriy Zaporozhets2013-04-031-0/+2
|
* fixed test using repo with commits but old factoryDmitriy Zaporozhets2013-04-012-4/+2
|
* specs for Gitlab::Git::Repository and Gitlab::Git::CommitDmitriy Zaporozhets2013-03-312-0/+155
|
* Fix 404 error while displaying json files.Sato Hiroyuki2013-03-211-42/+0
| | | | | It uses params[:id] instead of request.fullpath. It should fix #3132.
* Fix Wiki migration task and add more test coverage.Dan Knox2013-03-161-0/+105
| | | | | | | | | | | | | | | | | | There was an error in the #extract_attributes_from_page method that caused an exception when checking to see if a page named "Home" already exists. The check occurs to handle the renaming of the main index page to "Home" to match the Gollum standard. If there is already a page called "Home" then the migrator will leave that page and create the Index page as usual. Users will need to manually rename their old "Home" page to something else then rename their "Index" page to "Home". Fortunately, I would be highly surprised if this case ever comes up. I also added more verbosity to the logging so if an error does occur, it will be easier to track down which Wiki page is causing the problem.
* Merge branch 'use_gollum_wikis' of https://github.com/DanKnox/gitlabhq into ↵Dmitriy Zaporozhets2013-03-151-0/+114
|\ | | | | | | | | | | | | | | | | | | | | DanKnox-use_gollum_wikis Conflicts: app/views/layouts/project_resource.html.haml app/views/wikis/edit.html.haml app/views/wikis/pages.html.haml app/views/wikis/show.html.haml spec/features/gitlab_flavored_markdown_spec.rb
| * Create Wiki migration task.Dan Knox2013-03-101-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new Rake task for migrating all of your existing Wiki content from your database into new Gollum repositories. The bulk of the logic happens within the `WikiToGollumMigrator` class which is decently test covered and located in the lib directory. The new Rake task can be executed by running: `bundle exec rake gitlab:wiki:migrate` It will output a nice log of every project that it migrates along with success or failure messages. I have used it on my own installation to migrate my Wikis successfully.
* | Use gitlab-shell to move repos. Requires gitlab-shell v1.1.0Dmitriy Zaporozhets2013-03-121-66/+0
|/
* fixed popen testDmitriy Zaporozhets2013-02-271-1/+1
|
* specs for Gitlab::PopenDmitriy Zaporozhets2013-02-261-0/+29
|
* fixing tests after refactoringDmitriy Zaporozhets2013-02-112-3/+3
|
* Fixed: post-receive, project remove, testsDmitriy Zaporozhets2013-02-051-4/+3
|
* Remove outdated specs and fixed key removeDmitriy Zaporozhets2013-02-052-25/+1
|
* fix testsDmitriy Zaporozhets2013-01-281-1/+2
|
* Async perform for add/remove team membersDmitriy Zaporozhets2013-01-281-1/+1
|
* Remove relative_url_root from path. Fixes #2602Jun Futagawa2013-01-231-0/+23
| | | | Files and Commits render a 404 when running with relative_url_root.
* more tests fixedDmitriy Zaporozhets2013-01-151-6/+0
|
* Merge commit 'master' into discussionsRiyad Preukschas2013-01-153-1/+160
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/assets/stylesheets/sections/notes.scss app/contexts/notes/load_context.rb app/models/project.rb app/observers/note_observer.rb app/roles/votes.rb app/views/commit/show.html.haml app/views/merge_requests/_show.html.haml app/views/merge_requests/diffs.js.haml app/views/merge_requests/show.js.haml app/views/notes/_note.html.haml features/steps/project/project_merge_requests.rb spec/models/note_spec.rb
| * Fixed styles, ProjectHook specs etcDmitriy Zaporozhets2013-01-051-1/+1
| |
| * Add concerns to autoloadDmitriy Zaporozhets2013-01-031-70/+0
| |
| * Get rid of rolesDmitriy Zaporozhets2013-01-022-0/+202
| |
| * Fix api specs. Use id instead pathDmitriy Zaporozhets2013-01-021-0/+1
| |
| * Fix routing issues when navigating over tree, commits etcDmitriy Zaporozhets2012-12-251-0/+20
|/
* Update uses of Gitolite.config.foo settingsRiyad Preukschas2012-12-202-2/+2
|
* Cover ProjectMover with testsDmitriy Zaporozhets2012-11-211-0/+65
|
* Remove leftover ref_extractor_spec fileRobert Speicher2012-10-041-58/+0
| | | | Apparently it didn't get removed after the rename to ExtractsPath.
* ExtractsPath: Use ref_names instead of branches+tagsRobert Speicher2012-10-041-2/+1
|
* Fix bug with branches whose name contains slashValeriy Sizov2012-10-041-2/+2
|
* Rename RefExtractor to ExtractsPathRobert Speicher2012-09-262-2/+60
| | | | Update docs a bit
* Another RefExtractor refactorRobert Speicher2012-09-261-24/+43
|
* Add ref_extractor helper module for upcoming controllersRobert Speicher2012-09-261-0/+39
|
* Be more resilient in the case of missing omniauth settingsRobert Speicher2012-09-121-1/+3
| | | | | | | Should no longer freak out when omniauth settings aren't present in gitlab.yml. People who aren't using it shouldn't even have to put a 'false' entry in their config for it (and probably wouldn't, after an upgrade).
* Refactorn oauth & ldapDmitriy Zaporozhets2012-09-121-0/+93
|
* Split gitolite backend. Use gitolite_config methods moved to separate classDmitriy Zaporozhets2012-09-072-0/+41