summaryrefslogtreecommitdiff
path: root/app/views/projects/buttons
Commit message (Collapse)AuthorAgeFilesLines
* Change star, filter and settings icons to the their sprite based replacementsJose Ivan Vargas Lopez2017-11-231-3/+3
|
* moved fork checks into policiesfork-btn-enabled-user-groupsPhil Hughes2017-09-291-3/+3
|
* Fix fork button being disabled for users who can fork to groupPhil Hughes2017-09-291-5/+4
| | | | | | | | | | | Previously the fork button was disabled for all users if they have exceeded their project limit. This fixes that by changing the check to see if the user can fork to a group instead of their own namespace. This behaviour is already possible by visiting the new fork page directly, so this just fixes the button being disabled. Closes #38462
* Removed old icons from project pagePhil Hughes2017-09-222-13/+0
|
* Memoize the latest builds of a pipelineprojects-controller-showYorick Peterse2017-09-141-15/+13
| | | | | | | | | This ensures that if a pipeline is present for the last commit on a project's homepage we only run 1 query to get the builds, instead of running 2 queries. See https://gitlab.com/gitlab-org/gitlab-ce/issues/36878#note_40073339 for more information.
* Memoize pipelines for project download buttonsYorick Peterse2017-09-141-1/+1
| | | | | | | | | | | This adds Project#latest_successful_pipeline_for and Project#latest_successful_pipeline_for_default_branch. The 2nd method memoizes the result (taking nil values into account) to ensure the underlying query isn't executed multiple times when viewing a project's homepage. See https://gitlab.com/gitlab-org/gitlab-ce/issues/36878#note_40073607 for more information.
* Fix translations for Star/Unstar in JS file35391-fix-star-i18n-in-jsRémy Coutable2017-07-211-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-054-18/+18
|
* Split up MergeRequestsControllerdm-merge-request-creations-controllerDouwe Maan2017-06-281-1/+1
|
* Disable fork button on project limitvanadium232017-06-161-0/+4
|
* Add a bunch of missing translationsBob Van Landuyt2017-06-153-3/+3
|
* Translate project & repository pagesBob Van Landuyt2017-06-075-26/+27
|
* Fix missing tooltip and ARIA labels for accessibilityKushal Pandya2017-06-063-3/+3
|
* Merge branch 'fix-links-target-blank' into 'security'Jacob Schatz2017-03-201-1/+1
| | | | | | Adds rel="noopener noreferrer" to all links with target="_blank" See merge request !2071
* removes n+1 query from tags and branches indexesfix-slow-queries-for-branches-indexTiago Botelho2017-03-161-1/+2
|
* don't trigger tanuki loader when downloading files26957-tanuki-anim-hangSimon Knox2017-02-161-5/+5
|
* remove whitespace surrounding inline list controlsMike Greiling2017-01-231-1/+1
|
* HAMLLint: Fix `SpaceInsideHashAttributes` offencesKushal Pandya2016-12-311-1/+1
|
* HAMLLint: Fix `ImplicitDiv` offencesKushal Pandya2016-12-312-3/+3
|
* Add empty koding state; check permissions for project buttonsAnnabel Dunstone Gray2016-12-171-7/+3
|
* Move all project buttons to headerAnnabel Dunstone Gray2016-12-173-5/+5
|
* Remove tags.scssremove-tags-scssAnnabel Dunstone Gray2016-12-061-40/+39
|
* Merge branch 'always-show-download-button' into 'master' Annabel Dunstone Gray2016-11-141-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Project download buttons always show ## What does this MR do? Removes `hidden-xs hidden-sm` classes from `download-button` so it doesn’t hide itself individually from the rest of the `project-repo-buttons` block ## Why was this MR needed? Fixes #23960. Not sure why this element had these classes in the first place, but at the very least we shouldn’t be hiding the Download button at the `hidden-sm` threshold since that’s still fairly large viewport and users with viewports of that size likely still want to download source code. ## Screenshots (if relevant) Screenshots taken at ~830px width __Before__ ![before](/uploads/21955cf7a12f6eb9cfef96bbb27b7110/before.png) __After__ ![after](/uploads/c082884f225184d56a920adbc0a0a732/after.png) ## What are the relevant issue numbers? #23960 See merge request !7405
| * Project download buttons always showPhilip Karpiak2016-11-101-1/+1
| | | | | | | | This was hidden when the viewport was was below the 'hidden-sm' theshold. Now it displays the same as the rest of the 'project-repo-buttons' block.
* | 19205 Redesign group page header to match new navigation19205-group-header-redesigntauriedavis2016-11-091-1/+1
|/
* Remove tooltips from project header23641-remove-header-tooltipsAnnabel Dunstone Gray2016-11-012-3/+3
|
* Added download-button class and applied button margin23380-no-space-between-buttons-on-files-pageLuke Bennett2016-10-171-1/+1
|
* Add tooltip to project fork countJustin DiPierro2016-10-061-2/+2
|
* 19499 Update project dropdowns19499-project-dropdownstauriedavis2016-10-042-3/+4
|
* Fix download artifacts button link:Lin Jen-Shin2016-09-191-1/+1
| | | | | | | Rails ignored unused arguments and ref_name_and_path is the last path argument, therefore we need to concatenate that parts ourselves. Otherwise, 'download' won't be shown at all.
* Merge branch 'icon-button-alignment' into 'master' Fatih Acet2016-09-021-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix alignment of icon buttons ## What does this MR do? Fix misalignment of buttons with only an icon which was introduced by !5451. ## What are the relevant issue numbers? https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5451#note_14066627 ## Screenshots ### Before ![with-text](/uploads/aa7f7a98e2015070689e762e0cf99844/witht-text.png) ![without-text](/uploads/72db7c54e3961fd0df34b0ea79455fd0/without-text.png) ### After ![with-text](/uploads/3f19e55773083bcb22f3909f6dc0d147/witht-text.png) ![without-text](/uploads/b6647d4d71eb5cd9d1712908d2b93665/without-text.png) See merge request !5887
| * Fix alignment of icon buttons (!5887)winniehell2016-08-191-2/+2
| |
* | Add a download icon for artifacts, too. Feedback:Lin Jen-Shin2016-08-251-0/+1
| | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14400694
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-08-241-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (192 commits) Added CHANGELOG Added unfold test to parallel and added 'diff discussion' context Fix Spinach branches spec Better first match on this MR also Change merge_error column from string to text type Fix typo in gitlab_flow.md entities: make Environment inherit EnvironmentBasic Updated to optimized specs from !5864 Added 'with an unfolded line should not allow commenting' scenario (line 125) Added addtional 'renderable' validator to check 'data-note-type' attr exists Allow passing an index to selectRowAtIndex Fixed enter key in search input not working Fix file links on project page Files view Fix incorrect "stopped impersonation" log message 8.11 is released, long live 8.12 Also check if Akismet is enabled, before showing the `Submit as spam` button. fix location of markdown help location Fix for update 8.10-to-8.11.md doc. Appease the linter. Add Ruby 2.3 upgrade notes. ...
| * | Support integration with Koding (online IDE)Gokmen Goksel2016-08-191-0/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Koding: #index: landing page for Koding integration If enabled it will provide a link to open remote Koding instance url for now we are also providing the sneak preview video for how integration works in detail. Repository: check whether .koding.yml file exists on repository Projects: landing page: show Run in IDE (Koding) button if repo has stack file Projects: MR: show Run in IDE Koding button if repo has stack file on active branch ProjectHelpers: add_koding_stack: stack generator for provided project With this helper we will auto-generate the required stack template for a given project. For the feature we can request this base template from the running Koding instance on integration. Currently this will provide users to create a t2.nano instance on aws and it'll automatically configures the instance for basic requirements. Projects: empty state and landing page provide shortcuts to create stack projects_helper: use branch on checkout and provide an entry point This ${var.koding_queryString_branch} will be replaced with the branch provided in query string which will allow us to use same stack template for different branches of the same repository. ref: https://github.com/koding/koding/pull/8597/commits/b8c0e43c4c24bf132670aa8a3cfb0d634acfd09b projects_helper: provide sha info in query string to use existing vms With this change we'll be able to query existing vms on Koding side based on the commit id that they've created. ref: https://github.com/koding/koding/pull/8597/commits/1d630fadf31963fa6ccd3bed92e526761a30a343 Integration: Docs: Koding documentation added Disable /koding route if integration is disabled Use application settings to enable Koding Projects_helper: better indentation with strip_heredoc usage Projects_helper: return koding_url as is if there is no project provided current_settings: set koding_enabled: false by default Koding_Controller: to render not_found once integration is disabled Dashboard_specs: update spec for Koding enabled case Projects_Helper: make repo dynamic ref: https://github.com/koding/koding/pull/8597/commits/4d615242f45aaea4c4986be84ecc612b0bb1514c Updated documentation to have right format
* | Aggressively merge views, feedback:Lin Jen-Shin2016-08-242-21/+31
| | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14347679 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14347470
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-08-181-3/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (359 commits) Add new image to show the 'Reset template' button Refactor description templates documentation Remove index from pipeline toggles Hide `Create new list button` on Issues and MRs pages Remove params from build; general refactor Style build container box; add check mark to active build Display jobs as scrolling list in sidebar Move stages and jobs to build sidebar Removed vue assets Move skipped tests to end of array Remove unused data attributes Update changelog Style build dropdowns Populate dropdowns with current build on pageload Selecting stage updates builds dropdown Add data attributes to builds Change active state of list items; style dropdown items Hide dropdown if all tests fit on one line; add counter to dropdown Add overflow tests to dropdown Order by build status ...
| * fix star button icon alignmentwinniehell2016-08-171-3/+3
| |
* | Use partials for downloading artifacts buttonLin Jen-Shin2016-08-172-14/+15
| |
* | Rename to latest_succeeded, feedback:Lin Jen-Shin2016-08-161-1/+1
| | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13908017
* | Add unclickable state to running build artifactsAnnabel Dunstone2016-08-151-1/+1
| |
* | Fixed bug when a pipeline for latest SHA does not existKamil Trzcinski2016-08-151-1/+1
| |
* | Show latest pipeline status if what provided artifacts aren't latestLin Jen-Shin2016-08-111-1/+4
| |
* | Make Pipeline.latest_successful_for return the recordLin Jen-Shin2016-08-111-1/+1
| |
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-08-101-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (516 commits) Rename `run` task helper method to prevent conflict with StateMachine Add a method in Project to return a cached value of total count of projects Add Changelog entry for Grape upgrade [ci skip] Fix Grape tests. Retain old behavior Update Grape from 0.13.0 to 0.15.0. adds second batch of tests changed to active tense fixes part1 of files to start using active tense Clarify the features for generating default label sets Update tree view to sort folders with submodules Memoize CI config node validator to prevent leaks fix MR source project assignment remove offending empty line Rails prefers require_dependency so that it won't require twice: use Unix line endings for API documentation use long options for curl examples in API documentation (!5703) Prefixes removed branches name with PR number when importing PR from GH Update CHANGELOG Remove SHA suffix for removed branches name when importing PR from GH add linting script for documentation ...
| * Remove `url_for_new_issue` helperrs-external-issue-tracker-redirectRobert Speicher2016-08-011-1/+1
| | | | | | | | | | Now we link to the standard `IssuesController#new` action, and let it redirect if we're using an external tracker.
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-07-251-8/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (117 commits) `WikiPage` should have a slug even when not persisted. ES6ify all the things! Make fork counter always clickable (!5463) Revert "Merge branch '17073-tagscontroller-index-is-terrible-response-time-goes-up-to-5-…" Fix CHANGELOG Add spec for dashes in paths Fix Error 500 when creating Wiki pages with hyphens or spaces Add links to the real markdown.md file for all GFM examples Remove magic comments from Ruby files (!5456) Ignore invalid trusted proxies in X-Forwarded-For header Fix bug where replies to commit notes displayed in the MR discussion tab wouldn't show up on the commit page Improve project rename log messages for better debugging If version file is unavailable unknown status Add gitlab-workhorse version to admin dashboard Add note to say GFM doesn't work on documentation website Add detailed info on storage path mountpoints Load project invited groups and members eagerly in ProjectTeam#fetch_members fix missing repo_ref param Add light border to rounded avatars Gracefully handle case when keep-around references are corrupted or exist already ...
| * Make fork counter always clickable (!5463)winniehell2016-07-241-8/+4
| |
* | Merge branch 'artifacts-from-ref-and-build-name-api' into ↵Lin Jen-Shin2016-07-212-4/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * artifacts-from-ref-and-build-name-api: (384 commits) Add API documentation for downloading the latest successful build Since it's too hard to use JOIN with Rails... feedback: Workaround MySQL with INNER JOIN: Just put setup directly in the test, feedback: Cleanup the use of let, feedback: Lose unneeded instance variables and variables, feedback: Add link to user profile to commit avatar (!5163) It's not longer than 80 chars Make sure there's a build Use the same logic, it should specify that it's not logged in Use 'when logging as guest' for context, feedback: Cleanup that a bit Refactor service settings view Fix a problem with processing a pipeline where stage only has manual actions Rename user2 to reporter_user Should check against `authorize_read_builds!` A CHANGELOG entry Don't show other actions of the same name Use limit parameter rather than hardcoded value Reuse those two methods ...
| * Add svg icon color to btn-color mixinfork-iconAnnabel Dunstone2016-07-151-2/+2
| |