summaryrefslogtreecommitdiff
path: root/app/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Rubocop: Style/AlignHash enabledDmitriy Zaporozhets2015-02-021-2/+2
| | | | |
* | | | | Rubocop enabled for: Use spaces inside hash literal bracesDmitriy Zaporozhets2015-02-022-3/+3
| | | | |
* | | | | Fix syntax errorDmitriy Zaporozhets2015-02-021-5/+7
| | | | |
* | | | | Convert hashes to ruby 1.9 styleDmitriy Zaporozhets2015-02-022-2/+2
|/ / / /
* | | | Merge pull request #8670 from tsigo/rs-fa-icon-helperDmitriy Zaporozhets2015-01-299-41/+42
|\ \ \ \ | | | | | | | | | | Add icon helper method
| * | | | Use `icon` helper method in helper modulesRobert Speicher2015-01-287-27/+19
| | | | |
| * | | | Move `spinner` helper into IconsHelperRobert Speicher2015-01-282-9/+9
| | | | | | | | | | | | | | | | | | | | Also updates it to use the new `icon` method.
| * | | | Add `icon` helper methodRobert Speicher2015-01-281-5/+14
| | | | |
* | | | | Build the urls inside of the service.Marin Jankovski2015-01-281-16/+3
|/ / / /
* | | | Merge branch 'move_external_issue_tracker_away_from_yml_config' into 'master'Dmitriy Zaporozhets2015-01-272-32/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Move external issue tracker away from yml config See merge request !1442
| * \ \ \ Merge branch 'master' into move_external_issue_tracker_away_from_yml_configMarin Jankovski2015-01-264-55/+91
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/models/project.rb spec/models/project_spec.rb
| * | | | | Update the issue tracker attribute on issue tracker change.Marin Jankovski2015-01-261-3/+3
| | | | | |
| * | | | | Merge branch 'master' into move_external_issue_tracker_away_from_yml_configMarin Jankovski2015-01-238-24/+53
| |\ \ \ \ \
| * | | | | | Remove configuration option from project settings page for external issue ↵Marin Jankovski2015-01-231-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | trackers.
| * | | | | | Manipulate external tracker issues urls generated from services.Marin Jankovski2015-01-231-11/+4
| | | | | | |
| * | | | | | Do a check which issue tracker is used inside the project.Marin Jankovski2015-01-231-4/+4
| | | | | | |
| * | | | | | Use service settings instead of config file settings to present issues.Marin Jankovski2015-01-231-8/+3
| | | | | | |
* | | | | | | Merge branch 'github-no-omniauth' into 'master'Valery Sizov2015-01-271-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't require omniauth to enable github importer I noticed the github importer is only enabled when omniauth authentication is also enabled. That isn't actually necessary -- just the oauth keys from GitHub are required to be configured. The fix for this is very simple. See merge request !316
| * | | | | | | Don't require omniauth to be enabled, to use github importerMarco Wessel2015-01-261-1/+1
| | | | | | | |
* | | | | | | | Fix app title when browse blobDmitriy Zaporozhets2015-01-261-0/+2
| |_|_|/ / / / |/| | | | | |
* | | | | | | Refactor blob helpersDmitriy Zaporozhets2015-01-263-39/+43
|/ / / / / /
* | | | | | Remove default project iconDmitriy Zaporozhets2015-01-241-2/+0
| | | | | |
* | | | | | Predefine colors for project identiconsDmitriy Zaporozhets2015-01-241-4/+13
| | | | | |
* | | | | | Fix tests, merge conflicts, some minor issues and make the project avatar ↵Hannes Rosenögger2015-01-241-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | feature mergable
* | | | | | adding avatar to project settings page added avatar removal show project ↵Steven Thonus2015-01-241-0/+25
| |/ / / / |/| | | | | | | | | | | | | | avatar on dashboard, projects page, project page added rspec and feature tests added project avatar from repository new default project icon added added copying af avatar to forking of project added generated icon fixed avatar fork hound fix style fix test fix
* | | | | Show branches/tags as labels on commit pageDmitriy Zaporozhets2015-01-221-2/+16
| | | | |
* | | | | Merge pull request #7999 from cirosantilli/append-inplaceDmitriy Zaporozhets2015-01-215-8/+11
|\ \ \ \ \ | | | | | | | | | | | | Append in place for strings and arrays [failure unrelated]
| * | | | | Append in place for strings and arraysCiro Santilli2015-01-015-8/+11
| | | | | |
* | | | | | Merge pull request #8607 from skburgart/fix-typosDmitriy Zaporozhets2015-01-211-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix various typos
| * | | | | | Fix various typosSteven Burgart2015-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | signe-in -> signed-in go_to_gihub_for_permissions -> go_to_github_for_permissions descendand -> descendant behavour -> behaviour recepient_email -> recipient_email generate_fingerpint -> generate_fingerprint dependes -> depends Cant't -> Can't wisit -> visit notifcation -> notification sufficent_scope -> sufficient_scope? levet -> level
* | | | | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2015-01-211-0/+6
|\ \ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'show_tags_in_commit_view' into 'master'Dmitriy Zaporozhets2015-01-211-0/+6
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show tags in commit view ### What does this MR do? With this MR you can see the assigned tags for a commit in the commit view. ### Are there points in the code the reviewer needs to double check? I don't think so. But it would be awesome if the reviewer can tell me how to add a tag to the sample_commit in spec/support/repo_helpers.rb. Then I can add a test for the new tag_names_contains method as soon as possible :) ### Why was this MR needed? At the moment if one click on a commit will see details such as: parent commit, amount of additions, deletions, but will not see if this commit has Tag linked to it. Showing branch, tag details will give better overview about the commit ### What are the relevant issue numbers / Feature requests? Feature request: http://feedback.gitlab.com/forums/176466-general/suggestions/3962044-show-tags-in-commit-view ### Screenshots ![gitlab_feature_show_tags](https://gitlab.com/uploads/haynes/gitlab-ce/771c1a36bb/gitlab_feature_show_tags.png) @dblessing Can you take a look at this MR as well please? See merge request !297
| | * | | | | | | Show tags in commit viewHannes Rosenögger2015-01-171-0/+6
| | | | | | | | |
* | | | | | | | | Merge pull request #7389 from skv-headless/show-submodules-in-diffDmitriy Zaporozhets2015-01-212-2/+17
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | show diff in submodules
| * | | | | | | | show diff in submodulesHeadless2015-01-192-2/+17
| | |_|_|/ / / / | |/| | | | | |
* | | | | | | | developer can push to protected branchesValery Sizov2015-01-202-12/+3
|/ / / / / / /
* | | | | | | Improve edited ago helpersDmitriy Zaporozhets2015-01-182-4/+8
| | | | | | |
* | | | | | | Merge branch 'syntax_highlight_diff_email' into 'master'Dmitriy Zaporozhets2015-01-181-0/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add syntax colors to diffs in email-on-push notifications ## What does this MR do? This MR adds syntaxhighlighting to the email-on-push notifications. ## Are there points in the code the reviewer needs to double check? No ## Why was this MR needed? Currently the diff in email-on-push notifications is just a monochrome diff that's hard to read. This MR adds colored syntaxhighlighting to the mails. ## What are the relevant issue numbers / Feature requests? * It closes https://github.com/gitlabhq/gitlabhq/issues/6994 * There is a Discussion in the Feedback Forum: http://feedback.gitlab.com/forums/176466-general/suggestions/5802256-add-color-to-diffs-in-email-on-push-service-to-htm * A pull request for this already existed, but was closed. https://github.com/gitlabhq/gitlabhq/pull/7739 ## Screenshots see prior Pull Request for a screenshot See merge request !295
| * | | | | | | Add Diff syntax colors for email-on-push notificationsHannes Rosenögger2015-01-171-0/+10
| |/ / / / / /
* | | | | | | Merge pull request #8176 from yglukhov/stability-fixDmitriy Zaporozhets2015-01-181-1/+3
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Stability improvement
| * | | | | | Stability improvementuran2014-12-241-1/+3
| | | | | | |
* | | | | | | Allow to specify home page for non logged-in usersDmitriy Zaporozhets2015-01-161-5/+0
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #7925 from cirosantilli/unused-argumentsDmitriy Zaporozhets2015-01-151-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove or prepend underscore _ to unused method arguments
| * | | | | | Remove or prepend _ to unused method argumentsCiro Santilli2014-12-271-1/+1
| | | | | | |
* | | | | | | Replace highlight.js with rouge-fork rugmentsStefan Tatschner2015-01-152-21/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I decided to create a fork of rouge as rouge lacks a HTML formatter with the required options such as wrapping a line with <span> tags. Furthermore I was not really convinced about the clarity of rouge's source code. Rugments 1.0.0beta3 for now only includes some basic linting and a new HTML formatter. Everything else should behave the same.
* | | | | | | Merge branch 'github_importer'Dmitriy Zaporozhets2015-01-131-0/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/helpers/projects_helper.rb
| * | | | | | | Github ImporterValery Sizov2015-01-101-0/+16
| | | | | | | |
* | | | | | | | First entry in wiki history leads to newest revision.yglukhov2015-01-131-0/+5
| |_|_|_|/ / / |/| | | | | |
* | | | | | | Merge branch 'flatten-dirs' into 'master'Dmitriy Zaporozhets2015-01-111-0/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flatten the directory hierarchy while there is only one directory descendant In some languages, especially java, the directory structure reflects the package structure.This means that using the file tree browser to reach the directories that matter you have to click a lot of directories containing only another subdirectory. This merge request tries to enhance this by showing and providing the link to the first directory that doesn't contain only one directory. See also [this feature request](http://feedback.gitlab.com/forums/176466-general/suggestions/6236769-jump-forward-to-the-first-folder-that-has-more-tha) This is very similar to what [GitHub does](https://github.com/blog/1877-folder-jumping), but I don't think graying out the empty directories is really necessary. Screenshots: [Before](https://gitlab.com/uploads/marmis85/gitlab-ce/b683a0000f/before.png) - [After](https://gitlab.com/uploads/marmis85/gitlab-ce/a23725a1c1/after.png) I'm actually very new at ruby, rails, haml, and almost everything involved in Gitlab's development... From what I could understand, when we render each directory item in the list we only have the data structure representing the item but not his descendants. To iterate through the hierarchy I call Gitlab::Git:Tree.where() but I'm not sure if this is the most efficient way. I also considered making every directory a clickable link, but I tried that and in the end it wasn't very useful and reduced the click target for the most useful directory. See merge request !275
| * | | | | | | Flatten the directory hierarchy while there is only one directory descendantmarmis852014-12-311-0/+10
| | |_|_|/ / / | |/| | | | |