Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor spam validation to a concern that can be easily reused and improve ↵akismet-ui-check | Patricio Cano | 2016-07-26 | 1 | -7/+5 |
| | | | | legibility in `SpamCheckService` | ||||
* | Refactor `SpamCheckService` to make it cleaner and clearer. | Patricio Cano | 2016-07-26 | 1 | -4/+6 |
| | |||||
* | Submit all issues on public projects to Akismet if enabled. | Patricio Cano | 2016-07-26 | 1 | -5/+3 |
| | |||||
* | Submit new issues created via the WebUI by non project members to Akismet ↵ | Patricio Cano | 2016-07-26 | 1 | -12/+1 |
| | | | | for spam check. | ||||
* | API: Expose due_date for issuesapi-isssues-due-date | Robert Schilling | 2016-07-12 | 1 | -4/+6 |
| | |||||
* | gitlab-org/gitlab-ce#17818 - add api call for issues by group | Marc Siegfriedt | 2016-06-23 | 1 | -0/+35 |
| | | | | | rely only on IssuesFinder docs and changelog | ||||
* | Fix pseudo n+1 queries with Note and Note Authors in issuables APIs | Alejandro Rodríguez | 2016-06-08 | 1 | -2/+2 |
| | | | | | | | | | This was not a clear cut n+1 query, given that if you're directly subscribed to all issues that the API is returning you never really need to check for the notes. However, if you're subscribed to _all_ of them, then for each issuable you need to go once to `notes`, and once to `users` (for the authors). By preemtively loading notes and authors, at worst you have 1 extra query, and at best you saved 2n extra queries. We also took advantage of this preloading of notes when counting user notes. | ||||
* | Add API endpoints for un/subscribing from/to a label | Ahmad Sherif | 2016-05-12 | 1 | -38/+1 |
| | | | | Closes #15638 | ||||
* | Use ActionDispatch Remote IP for Akismet checking | Stan Hu | 2016-04-27 | 1 | -2/+2 |
| | | | | | | | | Previously all remote IPs appeared at 127.0.0.1, which made Akismet not very useful. Using the ActionDispatch Remote IP (http://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html) should provide more reliable results. Closes #16629 | ||||
* | Allow back dating issues on update | Michael Greene | 2016-04-13 | 1 | -2/+5 |
| | |||||
* | Ensure that issues and merge requests are found | Robert Schilling | 2016-04-13 | 1 | -4/+4 |
| | |||||
* | Make subscription API more RESTful | Robert Schilling | 2016-04-13 | 1 | -23/+6 |
| | |||||
* | API: Ability to subscribe and unsubscribe from a merge request | Robert Schilling | 2016-04-13 | 1 | -2/+2 |
| | |||||
* | API: Ability to subscribe and unsubscribe from an issue | Robert Schilling | 2016-04-13 | 1 | -0/+53 |
| | |||||
* | Update tests for moving issues via API | Robert Schilling | 2016-04-13 | 1 | -7/+7 |
| | |||||
* | API: Ability to move an issue | Robert Schilling | 2016-04-13 | 1 | -0/+23 |
| | |||||
* | API: Expose subscribed? on issues | Robert Schilling | 2016-04-08 | 1 | -5/+5 |
| | |||||
* | Back dating of issues when creating throught the API | Zeger-Jan van de Weg | 2016-03-28 | 1 | -6/+10 |
| | |||||
* | Minor improvements on IssuableActions | Zeger-Jan van de Weg | 2016-03-21 | 1 | -6/+2 |
| | |||||
* | minor improvements and fixed specs | Zeger-Jan van de Weg | 2016-03-19 | 1 | -1/+2 |
| | |||||
* | Dry destroy action on issuables | Zeger-Jan van de Weg | 2016-03-19 | 1 | -2/+3 |
| | |||||
* | Soft delete issuables | Zeger-Jan van de Weg | 2016-03-19 | 1 | -2/+7 |
| | |||||
* | Restrict access to confidential issues through API | Douglas Barbosa Alexandre | 2016-03-17 | 1 | -1/+2 |
| | |||||
* | Refactor spam filtering on issues API | Douglas Barbosa Alexandre | 2016-02-02 | 1 | -7/+8 |
| | |||||
* | Support Akismet spam checking for creation of issues via API | Stan Hu | 2016-02-02 | 1 | -1/+21 |
| | | | | | | | Currently any spam detected by Akismet by non-members via API will be logged in a separate table in the admin page. Closes #5612 | ||||
* | Merge branch 'rename-abilities' into 'master' | Dmitriy Zaporozhets | 2015-06-26 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename abilities to correspond contoller/model action names write_ was renamed to create_ modify_ was renamed to update_ So now in update action we have next code ``` def create can?(current_user, :create_issue, @issue) end def update can?(current_user, :update_issue, @issue) end ``` See merge request !896 | ||||
| * | Rename abilities to correspond contoller/model action namesrename-abilities | Dmitriy Zaporozhets | 2015-06-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | write_ was renamed to create_ modify_ was renamed to update_ So now in update action we have next code def create can?(current_user, :create_issue, @issue) end def update can?(current_user, :update_issue, @issue) end Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | Only people who can manage issue can assign labels to itpermission-improvements | Dmitriy Zaporozhets | 2015-06-26 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Query issues, merge requests and milestones with their IID through API | jubianchi | 2015-05-02 | 1 | -0/+3 |
| | |||||
* | Refactor and improve sorting objects in API for projects, issues and merge ↵ | Dmitriy Zaporozhets | 2015-02-05 | 1 | -2/+8 |
| | | | | requests | ||||
* | Explicitly define ordering in models using default_scope | Dmitriy Zaporozhets | 2015-02-05 | 1 | -2/+0 |
| | |||||
* | Filters issues by milestone via API | jubianchi | 2014-09-26 | 1 | -3/+12 |
| | |||||
* | Improve error reporting on users API | jubianchi | 2014-09-16 | 1 | -2/+2 |
| | | | | | | | | * users (#6878, #3526, #4209): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username * MRs (#5335): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks * issues * labels * projects | ||||
* | Explicit issues order in API. Fixes tests for mysql. Again :) | Dmitriy Zaporozhets | 2014-09-04 | 1 | -1/+3 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Filters issues by labels via API | jubianchi | 2014-09-04 | 1 | -3/+24 |
| | |||||
* | Explicit order of issues in API. Fixes specs for mysql db | Dmitriy Zaporozhets | 2014-09-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Refactor finders. Prevent circular dependency error | Dmitriy Zaporozhets | 2014-09-02 | 1 | -3/+3 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Filters issues by state via API | jubianchi | 2014-09-01 | 1 | -4/+23 |
| | |||||
* | Improve labels validation and expose error messages | jubianchi | 2014-08-20 | 1 | -5/+6 |
| | |||||
* | Do label validation for issues/merge requests API | Robert Schilling | 2014-08-14 | 1 | -4/+17 |
| | |||||
* | Fix old api compatibility and tests | Dmitriy Zaporozhets | 2014-07-30 | 1 | -3/+11 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Move update issue code to separate service | Dmitriy Zaporozhets | 2014-04-02 | 1 | -10/+10 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Move code for issue creation to service. | Dmitriy Zaporozhets | 2014-04-02 | 1 | -11/+9 |
| | | | | | | | | | The goal of suych refactoring is to get rid of observers. Its much easier to test and code when object creation and all other related actions done in one class instead of splited across observers, callbacks etc. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Fixing unsafe use of Thread.current variable :current_user | Angus MacArthur | 2013-10-16 | 1 | -18/+21 |
| | |||||
* | cattr_accessor is not threadsafe! | Dmitriy Zaporozhets | 2013-06-11 | 1 | -1/+2 |
| | |||||
* | Fix wrong documentation for issue close api. Fixes #3548 | Dmitriy Zaporozhets | 2013-06-06 | 1 | -1/+1 |
| | |||||
* | Refactor API classes. So api classes like Gitlab::Issues become API::Issues | Dmitriy Zaporozhets | 2013-05-14 | 1 | -1/+1 |
| | |||||
* | API: extracted helper method to validate required parameters, code clean up | Sebastian Ziebell | 2013-02-27 | 1 | -1/+1 |
| | | | | | | Added a helper method to check if required parameters are given in an API call. Can be used to return a `400 Bad Request` return code if a required attribute is missing. Code clean up and fixed tests. | ||||
* | API: issues documentation and API functions updated | Sebastian Ziebell | 2013-02-27 | 1 | -0/+1 |
| | | | | | The issues documentation is updated with infos to status codes and the deprecated `DELETE` function and how to close an issue. A few more tests added to check status codes of API functions. | ||||
* | Issue uses StateMachine now | Andrew8xx8 | 2013-02-18 | 1 | -2/+2 |
| |