summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add visibility level to project repositoryissue_19734_2Felipe Artur2016-10-171-11/+24
|
* Small improvements thanks to Robert's feedbackRémy Coutable2016-09-301-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* fix broken repo 500 errors in UI and added relevant specsJames Lopez2016-09-291-1/+6
|
* Project tools visibility levelFelipe Artur2016-09-011-4/+14
|
* Renamed `enable_lfs` to `lfs_enabled` for the Project field, and related fixes.project-specific-lfsPatricio Cano2016-08-301-1/+1
|
* Added project specific enable/disable setting for LFSPatricio Cano2016-08-301-1/+1
|
* Restore get_id in ExtractsPathwinniehell2016-08-241-8/+1
|
* Fix file links on project page Files viewfix-file-links-on-project-pageSean McGivern2016-08-231-1/+8
|
* Fix specs and implement fixes based on failing specsDouwe Maan2016-08-171-3/+3
|
* Refactor slash command definitionDouwe Maan2016-08-121-3/+17
|
* Simplify the slash commands DSL to store action blocks instead of creating ↵Rémy Coutable2016-08-131-5/+3
| | | | | | | | | | | | | methods Other improvements: - Ensure slash commands autocomplete doesn't break when noteable_type is not given - Slash commands: improve autocomplete behavior and /due command - We don't display slash commands for note edit forms. - Add tests for reply by email with slash commands - Be sure to execute slash commands after the note creation in Notes::CreateService Signed-off-by: Rémy Coutable <remy@rymai.me>
* Make slash commands contextualRémy Coutable2016-08-131-1/+1
| | | | | | | | | | | | | - Return only slash commands that make sense for the current noteable - Allow slash commands decription to be dynamic Other improvements: - Add permission checks in slash commands definition - Use IssuesFinder and MergeRequestsFinder - Use next if instead of a unless block, and use splat operator instead of flatten Signed-off-by: Rémy Coutable <remy@rymai.me>
* Support slash commands in noteable description and notesRémy Coutable2016-08-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Some important things to note: - commands are removed from noteable.description / note.note - commands are translated to params so that they are treated as normal params in noteable Creation services - the logic is not in the models but in the Creation services, which is the right place for advanced logic that has nothing to do with what models should be responsible of! - UI/JS needs to be updated to handle notes which consist of commands only - the `/merge` command is not handled yet Other improvements: - Don't process commands in commit notes and display a flash is note is only commands - Add autocomplete for slash commands - Add description and params to slash command DSL methods - Ensure replying by email with a commands-only note works - Use :subscription_event instead of calling noteable.subscribe - Support :todo_event in IssuableBaseService Signed-off-by: Rémy Coutable <remy@rymai.me>
* Rename `markdown_preview` routes to `preview_markdown`Christopher Bartz2016-08-111-1/+1
|
* Clean up project destructionclean-up-project-destroyStan Hu2016-08-101-1/+1
| | | | | | Instead of redirecting from the project service to the service and back to the model, put all destruction code in the service. Also removes a possible source of failure where run_after_commit may not destroy the project.
* Clarify which project is deleted to avoid alarmclarify-deletion-messageStan Hu2016-07-291-1/+1
| | | | Closes #13654
* Allow to disable user request access to groups/projectsFelipe Artur2016-07-201-1/+1
|
* Don't blow up in tree view on empty repoSean McGivern2016-07-181-1/+1
|
* Enable Style/IdenticalConditionalBranches Rubocop copGrzegorz Bizon2016-07-081-2/+2
|
* Avoid instantiation of a Git::Treeavoid-instantiate-tree-for-projects-show-readme-viewPaco Guzman2016-06-291-1/+6
| | | Only needed when the project view is ‘Files view’
* Provide default branch/file path for ProjectsController#show18709-reduce-git-callsPaco Guzman2016-06-201-1/+7
|
* Fixed issue with returning ref in commits JSONasync-refs-dropdownPhil Hughes2016-06-201-3/+3
| | | | Added tests to project controller
* Fixed Ruby to use excludePhil Hughes2016-06-181-1/+1
|
* Correctly adds commit ID into dropdownPhil Hughes2016-06-181-8/+6
| | | | | Removes un-used method Fixes other Ruby issues
* Pulls back tags if any existPhil Hughes2016-06-181-2/+6
|
* Tests fix for ref switcherPhil Hughes2016-06-181-1/+1
|
* Refs dropdown is now loaded asyncPhil Hughes2016-06-181-0/+16
|
* Merge branch 'feature/project-export' into 'master' Douwe Maan2016-06-171-1/+43
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Export project functionality This is a MR for the export functionality of https://gitlab.com/gitlab-org/gitlab-ce/issues/3050, which adds the ability to export single projects. - [x] members - DB data - [x] issues - [x] issue comments - [x] merge requests - [x] merge request diff - [x] merge request comments - [x] labels - [x] milestones - [x] snippets - [x] releases - [x] events - [x] commit statuses - [x] CI builds - File system data - [x] Git repository - [x] wiki - [x] uploads - [ ] ~~CI build traces~~ - [ ] ~~CI build artifacts~~ - [ ] ~~LFS objects~~ - DB configuration - [x] services - [x] web hooks - [x] protected branches - [x] deploy keys - [x] CI variables - [x] CI triggers See merge request !3114
| * a few changes based on MR feedbackJames Lopez2016-06-171-6/+12
| |
| * lots of refactoring again based on feedback. Changed the UI slightly and ↵James Lopez2016-06-151-8/+23
| | | | | | | | also fixed a small bug
| * project export archiverJames Lopez2016-06-141-3/+1
| |
| * adding notifications stuff and more refactoring for exporting projectsJames Lopez2016-06-141-1/+1
| |
| * lots of refactoring to reuse import serviceJames Lopez2016-06-141-1/+1
| |
| * Merge branches 'feature/project-export-ui-experimental' and ↵James Lopez2016-06-131-12/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export-ui-experimental # Conflicts: # Gemfile.lock # app/helpers/todos_helper.rb # app/models/todo.rb # app/views/projects/edit.html.haml # lib/gitlab/import_export/import_service.rb
| * | updated controllers with permissions checkJames Lopez2016-05-131-1/+1
| | |
| * | use worker in controllerJames Lopez2016-05-041-3/+6
| | |
| * | few fixes - import from UI workingJames Lopez2016-04-281-1/+3
| | |
| * | Merge branches 'feature/project-export' and 'feature/project-import' into ↵James Lopez2016-04-221-4/+8
| |\ \ | | | | | | | | | | | | feature/project-export-ui-experimental
| * | | download export now workingJames Lopez2016-04-151-1/+10
| | | |
| * | | some experimental UI stuff to test exportJames Lopez2016-04-141-0/+9
| | | |
* | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵Fatih Acet2016-06-141-12/+8
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | add_autocomplete_for_labels # Conflicts: # app/assets/javascripts/gfm_auto_complete.js.coffee
| * | | Allow or not merge MR with failed buildRui Anderson2016-06-101-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | Merge branch 'master' into awardablesawardablesZ.J. van de Weg2016-06-031-2/+2
| |\ \ \
| | * | | Split Markdown rendering & reference gatheringYorick Peterse2016-05-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This splits the Markdown rendering and reference extraction phases into two distinct code bases. The reference extraction phase no longer relies on the html-pipeline Gem (and any related code) and allows for extracting of references from multiple HTML nodes in a single pass. This means that if you want to extract user references from 200 comments you no longer need to run 200 times N number of queries, instead only a handful of queries may be needed.
| * | | | Merge branch 'master' into awardablesZJ van de Weg2016-05-251-7/+2
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'eReGeBe/gitlab-ce-feature/milestone-md' into 'master' Douwe Maan2016-05-201-0/+1
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement special GitLab markdown reference for milestones https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3453 by @eReGeBe, with two additions: - Move changelog item to 8.8 - Fix cross-project milestone ref with invalid project, like https://gitlab.com/gitlab-org/gitlab-ce/commit/f7348cd348ad8f4a18d74dd668283a4e236f5790 did for labels Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/13829 See merge request !3897
| | | * \ \ Merge remote-tracking branch 'origin/master' into ↵Rémy Coutable2016-05-181-1/+2
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eReGeBe/gitlab-ce-feature/milestone-md Signed-off-by: Rémy Coutable <remy@rymai.me>
| | | * | | | Implementing autocomplete for GFM milestone referencesAlejandro Rodríguez2016-04-201-0/+1
| | | | |_|/ | | | |/| |
| | * | | | Improve documentation and add changelogFelipe Artur2016-05-171-5/+1
| | | | | |
| | * | | | Let users set notification levels in projects which they are not membersFelipe Artur2016-05-171-3/+1
| | | |/ / | | |/| |