Commit Graph

85 Commits (493b6c252f1ec2e28b7593bad52f3acdbf6d3801)

Author SHA1 Message Date
Jens Ulferts 65ca202692 Introduces strong_parameters whithout making use of it yet 12 years ago
Martin Linkhorst 1b8c9bca93 most rails apps have a current_user method in ApplicationController for a good reason. this commit also adds a little documentation on why our User.current approach is problematic. 12 years ago
Martin Czuchra 247fc0de39 Improves check for api requests. 12 years ago
Philipp Tessenow 1d331d90b1 be careful with nested namespace'd controllers with computed controller values 12 years ago
Philipp Tessenow d46f4fc458 ensure circular dependency load order in application controller 12 years ago
Martin Linkhorst c5280b970f in order to give plugins consistent entry points 12 years ago
Gregor Schmidt 237c0c9a50 Making i18n-js work for OpenProject 12 years ago
Gregor Schmidt eeb052280f Load user memberships by default 12 years ago
Martin Linkhorst 0105135c37 adding all helpers isn't necessary anymore 12 years ago
Martin Linkhorst 658dca7f06 move current_user helper 12 years ago
Martin Linkhorst 5325c2e1aa this nice commit fixes the stack too deep error. as usual it was a human mistake :( 12 years ago
Martin Linkhorst 5fb51daab1 applied the rails 3.2 generator 12 years ago
Martin Linkhorst 2e927d6dc0 this nice commit fixes the stack too deep error. as usual it was a human mistake :( 12 years ago
Martin Linkhorst 40cecc66a3 applied the rails 3.2 generator 12 years ago
jwollert 4511a4e83d adds i18n-js gem providing us with easier access to translations in js 12 years ago
Martin Linkhorst 4b7c30a6be REVIEW: remove require_dependency which shouldn't be needed anymore? 12 years ago
Jens Ulferts 3471b107bc rewrites routes for news, moves comments and previews controller into news namespace 12 years ago
Jens Ulferts 2fc22ef371 adds a find_object_and_scope that when used as a before filter finds all instances specified in the path 12 years ago
Jens Ulferts 9e2f020cf9 moves issue preview into resource routes 12 years ago
Jens Ulferts 22fa84da31 simplifies responses to login_required 12 years ago
Dennis Schmidt 107647a816 renamed feed.atom.rxml to feed.atom.builder 12 years ago
Jens Ulferts 304c287c99 filtering the password now defined in application.rb 12 years ago
Jens Ulferts ee6eed8d4f as views are rendered according to their type an explicity limitation statement is no longer necessary 12 years ago
Jens Ulferts f65190afd0 uses openproject header for api requests 12 years ago
Felix Schäfer 4d83a94174 use all available languages as default 13 years ago
Jens Ulferts 23d54990fc no longer show error message in the context of the last user having called an instance 13 years ago
Romano Licker c6f3283ee3 [breadcrumb] creating breadcrumb lists 13 years ago
Jens Ulferts b8497aec61 displaying 500 and 404 errors inside the app's layout 13 years ago
Gregor Schmidt f4c13be3f8 [#780] Remove non-functional call to Setting.check_cache 13 years ago
Gregor Schmidt d78294434a Revert set_impaired_flag functionality 13 years ago
Felix Schäfer 3269edfa08 And that makes it easier on the eyes… 13 years ago
Felix Schäfer 145f8104a0 Correct false assumption on the return value of the split method. 13 years ago
jwollert f1973e710c use different action for checking for first login. that way we don't interfere with the users controller too much 13 years ago
jwollert f790754487 sets an impaired flag on first login of a user 13 years ago
Holger Just 21a45b4e52 [#676] Enforce UTF-8 encodings on the params hash 13 years ago
Holger Just 91070236db Set source encoding to UTF-8 13 years ago
Romano Licker 34dc06a85f [#652] fixes wrong redirect after login 13 years ago
Holger Just d7a9adf880 move protect_from_forgery to the beginning of the before_filter chain as per the recommended rails practices 13 years ago
Holger Just 07185fb169 [#436] Remove trailing whitespace 14 years ago
Eric Davis 99507a0391 [#197] Upgrade the copyright in the code files 14 years ago
Eric Davis e131c3b531 [#197] Remove old copyrights 14 years ago
Eric Davis d2973a641e [#347] Fix potential Execution After Redirect bugs 14 years ago
Eric Davis 1eee7312f6 [#289] Remove single helpers in favor of :all in ApplicationController 14 years ago
Eric Davis 1aa20b17b4 [#302] Protect ApplicationController methods so they are not considered actions 14 years ago
Felix Schäfer 10dffcf3b9 Get the autologin cookie name from the config #273 14 years ago
Eric Davis 99a12ecbcf [#129] Replace public strings using Redmine with ChiliProject 14 years ago
Jean-Philippe Lang 07fe46e9df Makes the API accepts the X-Redmine-API-Key header to hold the API key. 14 years ago
Jean-Philippe Lang d076c19822 Makes API accept offset/limit or page/limit parameters for retrieving collections. 14 years ago
Jean-Philippe Lang 00d50157d3 Restores object count and adds offset/limit attributes to API responses for paginated collections (#6140). 14 years ago
Jean-Philippe Lang 224921460a Adds a pseudo format to api template names and overrides ActionController#default_template so that api templates are chosen automatically. 14 years ago