Commit Graph

132 Commits (221aa16c5edbeba0494e8f8f1686e22fc4cab3e2)

Author SHA1 Message Date
Alex Coles 6fe9535b1f Fix syntax (w/Rubocop) in (Rails) models 10 years ago
Alex Coles 721101ed25 Use 1.9+ Hash syntax in (Rails) models 10 years ago
slawa a3b834debe Check the description length before save an attachment 10 years ago
Martin Linkhorst fb096b0c86 infer content type from contents of file instead of its file extension 11 years ago
Alex Coles d872d91d0d Fix typos, spelling in model comments 11 years ago
Johannes Wollert 8b096975fe updates copyright headers 11 years ago
Hagen Schink 955c279e90 Makes models acting as events again 11 years ago
Hagen Schink 0feb8b8a3e Removes superfluous event properties 11 years ago
Philipp Tessenow 444546e2e8 use \A and \z instead of ^ and $ in ruby regexes 11 years ago
Hagen Schink bd0efa087f Reintroduce container validation 11 years ago
Hagen Schink a727ded3ce Implements bulk file attachment on AaA 11 years ago
Michael Frister 626848551b Rename Redmine::Configuration to OpenProject::Configuration 11 years ago
Sebastian Schuster 5b18c79a14 Fixed wrong reference to journaled object 11 years ago
Philipp Tessenow a1e67dd460 new copyright header #1903 11 years ago
Hagen Schink 8d71a5cb0f Stops adding journal to container on change 11 years ago
Sebastian Schuster 90c253c5f8 Removed document attachments 11 years ago
Hagen Schink 8d87c56f32 Saves container only if it changed 11 years ago
Hagen Schink 98df85e0d0 Saves attachment container after save 11 years ago
Hagen Schink 965c7e3427 AAJ considers attachments and custom fields, again 11 years ago
Hagen Schink e2c5fb0b42 Re-activates AAJ models 11 years ago
Hagen Schink 32e85a6b62 Disables journalization for certain models 11 years ago
Sebastian Schuster f5275549fb Removed adding files to versions and projects 11 years ago
Sebastian Schuster 861ab1750a Removed the requirement of attachment containers having 11 years ago
Jens Ulferts 21459a384f provide every possible file with a short copyright notice 12 years ago
Philipp Tessenow 15df2ecdcc be careful with nested namespace'd controllers in our models 12 years ago
Philipp Tessenow c31c9af5c3 attachments now can handle decoded strings as new files. this is a requirement for MailHandler 12 years ago
Martin Linkhorst 71fe49e862 DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
Martin Linkhorst b783846b04 DEPRECATION FIX: use after_destroy :method_name instead of overwriting the after_destroy method 12 years ago
Martin Linkhorst 95e74abf22 DEPRECATION FIX: use before_save :method_name instead of overwriting the before_save method 12 years ago
Martin Linkhorst ccc88aea0b DEPRECATION FIX: remove RAILS_ROOT in favor of Rails.root.to_s 12 years ago
jwollert d9f6b52029 protect relations to users (assigned_to, author_id etc.) in models, too 13 years ago
Martin Linkhorst 1fce5b6a8f added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
jwollert 934d22ec67 protect relations to users (assigned_to, author_id etc.) in models, too 13 years ago
Martin Linkhorst cc74c1e998 added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
Holger Just 91070236db Set source encoding to UTF-8 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
Jean-Philippe Lang b88143ca3f Makes the folder for attachments storage configurable in config/configuration.yml (#1236). 14 years ago
Tim Felgentreff 9cd55d8dd4 more test fixes 14 years ago
Tim Felgentreff 7d67365e10 smaller fixes for journalized news and attachments 14 years ago
Tim Felgentreff 1f9eda4e0d update tests to work with the new data model, where neccessary 14 years ago
Tim Felgentreff cea1a987ab fix display of attachments with acts_as_journalized 14 years ago
Tim Felgentreff 2ec2405b32 convert more to acts_as_journalized 15 years ago
Eric Davis f08b2a394d Unused variable 15 years ago
Eric Davis c56c0f411c Fix a nil error when a Project cannot save attachments. 15 years ago
Eric Davis fe1e3ccd18 Refactor: Decouple failed attachments and the flash messages 15 years ago
Eric Davis 0fd7e2d696 Refactor: Moved ApplicationController#attach_files to the Attachment model 15 years ago
Jean-Philippe Lang 241f79ac06 Fixed: attachments with the same name at the same time overwrite (#3691). 15 years ago
Jean-Philippe Lang ff7eb7b23a Auto-detect attachment content type when blank (#3782). 15 years ago