summaryrefslogtreecommitdiffstats
path: root/app/controllers/queries_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Adds description field to custom queries (#9309).Marius Balteanu2024-06-041-0/+1
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces a UserQuery model for admin/users (#37674).Go MAEDA2022-09-201-0/+4
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reuse ProjectQuery filters on the admin project list (#33422).Marius Balteanu2022-04-011-3/+14
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add buttons to save/edit/delete a custom query to calendar view (#32194).Go MAEDA2019-11-301-0/+6
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Only admin users should be able to manage public queries on the project list ↵Jean-Philippe Lang2019-11-201-1/+1
| | | | | | | | (#29482). Like for issues, project members with the "Manage public" queries are allowed to manage public queries inside their projects, not public global queries that are proposed on /issues. git-svn-id: http://svn.redmine.org/redmine/trunk@19091 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filters for Projects page (#29482).Jean-Philippe Lang2019-10-191-1/+5
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18761 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-161-1/+1
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom queries are broken by updating with nil parameter values (#29701).Go MAEDA2018-10-041-1/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17566 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Highlight "Spent time" in main menu when creating a time entries query.Jean-Philippe Lang2018-06-171-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17397 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use ApplicationController#find_optional_project instead.Jean-Philippe Lang2017-06-261-7/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't preload all query filters (#24787).Jean-Philippe Lang2017-01-091-1/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16170 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .before_action instead of .before_filter.Jean-Philippe Lang2016-07-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes spent time queries savable (#14790).Jean-Philippe Lang2016-07-121-4/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15639 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes QueriesController able to handle other Query subclasses.Jean-Philippe Lang2016-07-111-8/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15635 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cannot create a custom query visibility is "to these roles only" (#20427).Jean-Philippe Lang2015-08-021-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that user with "Manage public queries" permission, can create global ↵Jean-Philippe Lang2015-06-291-11/+18
| | | | | | public query (#19842). git-svn-id: http://svn.redmine.org/redmine/trunk@14388 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup syntax of Relation#all at QueriesController#indexToshi MARUYAMA2014-01-101-3/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12602 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to save Gantt query filters (#7836).Jean-Philippe Lang2013-07-141-3/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12020 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Role based custom queries (#1019).Jean-Philippe Lang2013-07-111-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11994 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecation warnings (#12774).Jean-Philippe Lang2013-01-081-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renamed #_issues_path to #_project_issues_path.Jean-Philippe Lang2012-12-231-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11076 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2012-12-111-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use named routes in controllers.Jean-Philippe Lang2012-12-111-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10983 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved build_query_from_params helper to Query#build_from_params.Jean-Philippe Lang2012-12-091-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10966 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds STI to Query model. Issue queries are now IssueQuery instances.Jean-Philippe Lang2012-12-091-5/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes all #verify calls in controllers. Verification is handled at routing ↵Jean-Philippe Lang2012-03-031-3/+0
| | | | | | level now that the default route is removed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor : convert queries to REST resources (also fixes #9108).Etienne Massip2011-10-241-24/+34
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/controllers/queries_controller.rb.Toshi MARUYAMA2011-08-311-13/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Separation of RSS/API auth actions.Jean-Philippe Lang2011-07-091-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes custom queries available through the REST API (#5737).Jean-Philippe Lang2011-07-061-3/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Shorten query[column_names] param name.Jean-Philippe Lang2011-04-031-1/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5304 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Shortens filter param names.Jean-Philippe Lang2011-04-011-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5279 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Move method to Query modelEric Davis2010-04-191-6/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3684 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes permission check in QueriesController (#5181).Jean-Philippe Lang2010-03-241-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3611 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows multiple roles on the same project (#706). Prerequisite for user ↵Jean-Philippe Lang2009-05-101-2/+2
| | | | | | groups feature. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ticket grouping (#2679).Jean-Philippe Lang2009-04-261-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2696 e93f8b46-1217-0410-a6f0-8f06a7374b81