Commit Graph

242 Commits

Author SHA1 Message Date
Toshi MARUYAMA 5127f3dcbc route: move attachments resources after matching
On Rails3.0, 'match' needs before resources.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 12:52:08 +00:00
Toshi MARUYAMA 49ceb577ec route: code layout clean up versions resources
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 10:10:02 +00:00
Toshi MARUYAMA 96de4a0822 route: code layout clean up project_enumerations route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 05:15:18 +00:00
Toshi MARUYAMA ff3230bd9a route: code layout clean up issues bulk deletion route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 05:14:51 +00:00
Toshi MARUYAMA ba44548332 route: code layout clean up issues resources
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 02:17:47 +00:00
Toshi MARUYAMA 5b71790843 route: code layout clean up issue_moves route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 02:17:23 +00:00
Toshi MARUYAMA f00c851fc5 route: code layout clean up issues context menu route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 02:16:53 +00:00
Toshi MARUYAMA 510647e864 route: code layout clean up previews route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 02:16:22 +00:00
Toshi MARUYAMA f099ddb301 route: code layout clean up auto_completes route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 02:15:40 +00:00
Toshi MARUYAMA 23c4ceca9d route: remove unused roles/workflow route
This controller action  was removed at r1914.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-29 21:51:50 +00:00
Toshi MARUYAMA e754883df2 route: code layout clean up bulk edit time logs
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-29 11:56:36 +00:00
Toshi MARUYAMA 77c08c8d5d route: code layout clean up new issues route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-29 08:36:45 +00:00
Toshi MARUYAMA 037ccaf46d route: code layout clean up wikis route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-29 08:36:19 +00:00
Toshi MARUYAMA 6c3987bbe6 route: simplify project settings and issues copy route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-29 08:05:17 +00:00
Toshi MARUYAMA f2b8672f08 route: code layout clean up activities route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-29 08:04:43 +00:00
Toshi MARUYAMA c4c4931c6b route: code layout clean up welcome route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-29 08:04:00 +00:00
Toshi MARUYAMA 2be616b931 route: code layout clean up settings route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-27 13:50:12 +00:00
Toshi MARUYAMA 02c7772cd0 route: code layout clean up workflows route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-27 13:49:45 +00:00
Toshi MARUYAMA aac01fbf22 route: code layout clean up ldap_auth_sources route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-27 13:49:12 +00:00
Toshi MARUYAMA 3e42f2685d route: code layout clean up auth_sources route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-27 12:49:52 +00:00
Toshi MARUYAMA ac51ab12f0 route: code layout clean up repository route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-27 11:08:22 +00:00
Toshi MARUYAMA 50d320a35e route: code layout clean up admin route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-27 10:05:29 +00:00
Toshi MARUYAMA 984c7da785 route: code layout clean up mail_handler route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-27 10:04:37 +00:00
Toshi MARUYAMA 46ba995341 route: code layout clean up sys route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-27 03:00:48 +00:00
Toshi MARUYAMA 79da00dc40 route: code layout clean up watchers route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-27 01:57:54 +00:00
Toshi MARUYAMA a76045d792 route: code layout clean up users route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 13:08:52 +00:00
Toshi MARUYAMA f8cb06bff2 route: code layout clean up groups route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 11:48:47 +00:00
Toshi MARUYAMA adf8d0144e route: code layout clean up comments route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 11:47:23 +00:00
Toshi MARUYAMA adfb4f4b4c route: code layout clean up attachments route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 10:06:18 +00:00
Toshi MARUYAMA 78904346ca route: code layout clean up members route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 08:01:42 +00:00
Toshi MARUYAMA 7785ad191a route: code layout clean up journals route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 07:17:46 +00:00
Toshi MARUYAMA f655fe35a7 route: code layout clean up 'my' route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 05:53:01 +00:00
Toshi MARUYAMA b01c02c5b8 route: code layout clean up account route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8364 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-25 12:34:52 +00:00
Toshi MARUYAMA d10028ec06 route: remove unused 'help'
help controller was removed at r835.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 03:25:49 +00:00
Toshi MARUYAMA fddfd4b413 route: news: replace unused alias "all_news" and "formatted_all_news"
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 02:50:46 +00:00
Toshi MARUYAMA e2b36d1c8a Rails3: route: split boards topics edit and destroy
Rails2 legacy route on Rails 3.0 does not support this syntax.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 00:45:26 +00:00
Etienne Massip 4c469f9646 Added missing repository route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 14:19:59 +00:00
Jean-Philippe Lang ed5f487cf5 Fixed broken issue form update when changing tracker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 20:43:51 +00:00
Jean-Philippe Lang 0471de41ff Resourcified enumerations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 10:26:12 +00:00
Etienne Massip 10e3045d8a Updated issue description diff route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 20:40:17 +00:00
Jean-Philippe Lang a8982ec281 Removed useless routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 14:33:22 +00:00
Jean-Philippe Lang 22574ed74f Removed useless routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 14:30:54 +00:00
Jean-Philippe Lang ae876eb27b Removed useless routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 14:28:32 +00:00
Etienne Massip 02893a17ad Added method to attachments routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:50:07 +00:00
Etienne Massip 6030740b00 Removed boards widcard route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:37:38 +00:00
Etienne Massip 3d66717c8d Removed repositories widcard route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:36:49 +00:00
Etienne Massip dc204174c0 Removed default route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:34:09 +00:00
Etienne Massip 7ba57e517b Explicitly declare all routes and deactivate default route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:33:01 +00:00
Jean-Philippe Lang ec50101db1 Removed no longer working old wiki route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:38:13 +00:00
Jean-Philippe Lang 24c804a70a Droppped old repositories routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:36:39 +00:00
Jean-Philippe Lang 467503fd4b Changed ProjectsController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:32:41 +00:00
Jean-Philippe Lang 52a7fa6176 Changed IssuesController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:10:51 +00:00
Jean-Philippe Lang a1ae0aed23 Removed obsolete project news route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:48:05 +00:00
Jean-Philippe Lang ac6e404547 Moved bulk_edit/update routes into issues resources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:45:52 +00:00
Jean-Philippe Lang 3dcd71a082 REST urls for user memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:37:48 +00:00
Jean-Philippe Lang 532a76f78c Resourcified roles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 23:29:58 +00:00
Jean-Philippe Lang b127f9157d Resourcified custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 22:58:30 +00:00
Jean-Philippe Lang d75bc5774f Changes auto_complete calls to GET requests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 20:03:27 +00:00
Jean-Philippe Lang 77fc113273 Routes cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 19:36:59 +00:00
Jean-Philippe Lang 4fdceb8613 Routes cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 19:35:54 +00:00
Jean-Philippe Lang 69a2431dd0 Dropped TimeEntryReportsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 19:33:05 +00:00
Jean-Philippe Lang 2967023a0e Resourcified boards.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:14:09 +00:00
Jean-Philippe Lang 1cb7de5b5a Routes cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 19:08:49 +00:00
Jean-Philippe Lang 526736dedc Removed obsolete routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 18:02:21 +00:00
Jean-Philippe Lang c3c2a4afe0 Resourcified documents.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:51:16 +00:00
Jean-Philippe Lang 885605b439 Resourcified attachments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 11:16:47 +00:00
Jean-Philippe Lang f680e7f8ac Adds routes for group users.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:47:36 +00:00
Jean-Philippe Lang 68f3e91bd7 Resourcified issue statuses.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 22:04:07 +00:00
Jean-Philippe Lang 6577f37fc3 Resourcified trackers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:32:45 +00:00
Jean-Philippe Lang 6f4fb8b892 Resourcified issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 15:55:19 +00:00
Jean-Philippe Lang 248b725875 Adds API response to /issue_statuses to get the list of all available statuses (#7180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:25:58 +00:00
Jean-Philippe Lang 053adaef52 Adds API response to /trackers to get the list of all available trackers (#7181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:17:43 +00:00
Etienne Massip ad9e486077 Make queries resources fully conform to common behavior (removed additonal routes) (#9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-26 18:00:56 +00:00
Etienne Massip 8f96f0c40d Refactor : convert queries to REST resources (also fixes #9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 20:19:26 +00:00
Toshi MARUYAMA 11dd4eb591 remove trailing white-spaces from config/routes.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-18 13:19:39 +00:00
Jean-Philippe Lang f89483a206 REST API for reading attachments (#7671).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 20:53:10 +00:00
Jean-Philippe Lang d48ea90876 Makes custom queries available through the REST API (#5737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:57:04 +00:00
Jean-Philippe Lang 42f9dc7d2c Makes relations resource shallow (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:47:34 +00:00
Jean-Philippe Lang 852cb183b1 Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:29:06 +00:00
Jean-Philippe Lang daa426167f Adds support for GET on /issues/:issue_id/relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:44:41 +00:00
Jean-Philippe Lang 21b3718744 Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:03:04 +00:00
Toshi MARUYAMA 8a31517288 add bulk edit and bulk update actions for time entries (#7996).
get bulk edit form action working by mapping permissions.

Contributed by Adam Soltys.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 11:53:29 +00:00
Jean-Philippe Lang b0ade644d6 Changed timelogs filters to use non-AJAX requests (#1965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 11:55:24 +00:00
Jean-Philippe Lang 063ae06b09 Gantt routes with format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 15:30:32 +00:00
Jean-Philippe Lang a80b909cc8 Converted issue filters to non-AJAX GET requests (#1965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:34:44 +00:00
Jean-Philippe Lang e9f62d1209 Enable ability for administrators to delete users (#7296).
User's personal data (eg. preferences, tokens, private queries...) are deleted, public data (eg. issues, wiki edits, attachments...) are reassigned to the anonymous user.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-16 15:23:11 +00:00
Jean-Philippe Lang 6f841b7f43 Fixed: 'View difference' broken on wiki page history (#6747).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-06 13:22:23 +00:00
Eric Davis c514dd6885 Refactor: convert WikiController to a REST resource
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-28 21:25:38 +00:00
Eric Davis e9efa5b981 Refactor: use :id instead of :page when linking to Wiki Pages
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-27 16:27:06 +00:00
Eric Davis 70bf0706b2 Refactor: convert WikiController#destroy to use HTTP DELETE
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-26 15:59:20 +00:00
Eric Davis 4b045badcf Refactor: Rename WikiController#page_index to #index
index is the action that should list a collection of records, which is
what #page_index does.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-25 16:16:46 +00:00
Jean-Philippe Lang d9652183f6 Fixed: file upload on wiki page broken by recent refactoring (#6724).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-22 17:38:05 +00:00
Eric Davis cac3b1e538 Refactor: split WikiController#edit into #update
update will handle the saving and should be accessed via POST only.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-22 16:20:20 +00:00
Eric Davis c259ada6e1 Refactor: rename WikiController#index to #show, it's a single resource action
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-21 16:07:28 +00:00
Eric Davis d3381fb518 Refactor: change :id on WikiController to use :project_id
Using :id to track projects on non-project controllers is confusing and
makes routing with resources difficult.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-20 21:26:30 +00:00
Eric Davis c06c22cf2e Refactor: extract method from WikiController#special
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-18 15:27:49 +00:00
Eric Davis 0271105794 Refactor: extract #page_index from WikiController#special
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-15 15:36:10 +00:00
Eric Davis e8468b51cc Refactor: extract method in WikiController#special to create a new #export method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-13 17:13:50 +00:00
Eric Davis 718816c5d4 Refactor: convert timelogs to a REST resource (:time_entries)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-12 15:55:21 +00:00
Eric Davis 435c90eb47 Refactor: extract TimelogController#edit to #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-11 15:31:42 +00:00