Commit Graph

6251 Commits (6200acf6f64d6fb64867051153558f6f6b698d92)
 

Author SHA1 Message Date
Martin Linkhorst 6200acf6f6 fix some active record queries for postgres and apply a patch from redmine at the same time 12 years ago
Martin Linkhorst 3564e478ab this migration needs special care for sqlite which has no CONCAT() function 12 years ago
Martin Linkhorst a1bc363c97 redmine uses nil instead of "" for default values for a text/blob. should fix the migration 20110211160100_add_summary_to_projects.rb 12 years ago
Jean-Philippe Lang b2186ff42c Fixed tests broken by r10088. 12 years ago
Martin Linkhorst 72c8e12f19 use a working version of the verification plugin 12 years ago
Martin Linkhorst dd4adc9f3e disable javascript alert messages for bullet. 12 years ago
Martin Linkhorst 6d9afc42a7 Merge branch 'feature/rails3.1' into feature/rails3 12 years ago
Martin Linkhorst b5342cfd8a make the test helper compatible with the asset pipeline 12 years ago
Martin Linkhorst 73a6d89a75 this gem makes the asset pipeline much faster in development 12 years ago
Martin Linkhorst e67359016a first try on the asset pipeline 12 years ago
Martin Linkhorst 5027817ef2 javascript assets have a new home now 12 years ago
Martin Linkhorst aabcd38aea make #render_custom_fields_rows html safe 12 years ago
Martin Linkhorst d50f9ff287 this is a part of a commit in redmine if you want the whole commit (adds jsonp support + tests) then look at redmine commit 3c3bdb8 12 years ago
Martin Linkhorst 2e7cb60974 in order to get the default configuration values, we have to completely omit the keys in the config file. otherwise they will be overridden by empty values. 12 years ago
Martin Linkhorst 21fa39c25a fix the user tests by storing user and his preferences in two steps 12 years ago
Martin Linkhorst c921d916ad and make them pass 12 years ago
Martin Linkhorst 01d60ebaa6 expect the shallow path for the topics as written in the routes file 12 years ago
Martin Linkhorst f57184ecda fix copying of a wiki. self.wiki = Wiki.new immediately tries to save to the database. unfortunately, a Wiki.new is not valid? it misses the :start_page 12 years ago
Martin Linkhorst 47e7e7997d REVIEW: find_object_and_scope fails because we don't have any scope set. does it come from anywhere else? 12 years ago
Martin Linkhorst 09e496f54b REVIEW: get the changes by joining with the changesets in order to have access to the #committer of the changesets as required in the tests which group changes by the committer 12 years ago
Martin Linkhorst b5e4430a54 since rails 3.1 we can condense the order parameters 12 years ago
Martin Linkhorst 1e89faedef HOSSA, #xhr? returns false or an integer >= 0 which is considered true. but in comparison with true or false literals this will always evaluate to false. double negation fixes the problem. 12 years ago
Martin Linkhorst 273f2a3fea use table_name instead of aliased_table_name 12 years ago
Martin Linkhorst a89e22e2dc remove attachments before destroying the issue to avoid getting a Activerecord::StaleObjectError 12 years ago
Martin Linkhorst c17ffccfe2 REVIEW: update to the new AR api. hint: we need to update all :include => to fix all bugs since only a few of them are testiest 12 years ago
Martin Linkhorst 35955e4c8f REVIEW: use prototype-rails. fixes some tests. especially remote_function is there again 12 years ago
Martin Linkhorst 934ab3fa1c expect escaped urls to fix the tests 12 years ago
Martin Linkhorst 337239044c REVIEW: make :category_id accessible in order to use it with forms 12 years ago
Martin Linkhorst f1c3a5ef4e REVIEW: updated to a recent version of rubytree. fixed a minor bug. let's hope it will work. 12 years ago
Martin Linkhorst 38f54383b2 fix some active record queries to work with the new version of rails 12 years ago
Martin Linkhorst 95c9595c71 rails 3 throws an exception when you try to do the following: 12 years ago
Martin Linkhorst a2fe5839a0 REVIEW: we need to extend the current used version of awesome_nested-set. see commit for details 12 years ago
Martin Linkhorst e1327b9b9c add a note why this fails. this is the reason why deleting issues (and projects) sometimes doesn't work 12 years ago
Martin Linkhorst fb42eb8813 remove a patch that is in the gem code now 12 years ago
Martin Linkhorst 5b3f5f3ba3 ::Builder::XmlMarkup is a BasicObject in Ruby >1.9 - contants can only be accessed with the root-sytax (::) 12 years ago
Martin Linkhorst b231930f69 why use an instance variable here? this makes more sense and fixes the tests 12 years ago
Martin Linkhorst d563d3387f fix active record queries by correctly using the new api 12 years ago
Martin Linkhorst f3ea450c1e expect two emails since we send one email per user instead of bcc'ing them. we could stub out the #notified_users to remove the magical number and make it more clear but the stubbing is somehow forgotten on the way 12 years ago
Martin Linkhorst aa18d1fe22 REVIEW: since this started with "test_" it was executed each time one executes the tests. test/unit does not seem to require it anymore but it maybe causes errors in some different task? 12 years ago
Martin Linkhorst c06e3fa94a Just make sure we have a clean state before creating the project 12 years ago
Martin Linkhorst 621fe4a477 clone will return the same active record object (same id in the db) which will cause an issue relation to be invalid (same object in from and to). this creates two active record objects which you can then link to each other. probably active record changed the way they handle #clone 12 years ago
Martin Linkhorst d9f422e6b0 use #joins instead of #includes since includes does seem to have a bug when combining with #maximum, #sum etc. 12 years ago
Martin Linkhorst 74866ae596 omit default scope by using reorder 12 years ago
Martin Linkhorst 35bf0301f2 REVIEW: this gem adds the #auto_link method which is used several times in the code. it was removed in rails 3.1. we should get rid of this dependency at some point in time. 12 years ago
Martin Linkhorst d9f2f17b5d REVIEW: include ERB::Util module in order to use #h and co in the all helpers. 12 years ago
Martin Linkhorst 7d2f6be3b0 remove the globalize3_patch.rb hack that allowed for uniqueness validation on translations. instead use the current git master since the fix is not yet released in version 0.2.0 of globalize3 12 years ago
Martin Linkhorst 2cf9a31f95 require fastercsv differently (taken form redmine) 12 years ago
Martin Linkhorst 61b9f5abfc DEPRECATION FIX: remove require_library_or_gem, update the template hander api 12 years ago
Martin Linkhorst 01a502712d small refactoring of the document tests. note the failing test that actually should pass.. investigate that later 12 years ago
Martin Linkhorst e6e421297e yay, and active record bug, woohoo :) TODO: fix me on rails 3.2 12 years ago