| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
Picks these up in `rake notes` and adds semantic meaning
|
| |
|
|
|
|
| |
AttachmentToHTML#to_html already returns the raw html now
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
One of these changes is to make sure that the Mail backend,
like the TMail backend it replaces, will return text parts
encoded in UTF-8 if possible.
The other change is to ensure that when text attachments are
reloaded from disk, we attempt to convert them to UTF-8.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Gemfile
Gemfile.lock
app/controllers/admin_request_controller.rb
app/controllers/admin_track_controller.rb
app/controllers/request_controller.rb
app/controllers/services_controller.rb
app/helpers/link_to_helper.rb
app/mailers/request_mailer.rb
app/models/application_mailer.rb
app/models/info_request.rb
app/views/admin_censor_rule/edit.html.erb
app/views/admin_censor_rule/new.html.erb
app/views/admin_public_body/_form.html.erb
app/views/admin_public_body/_locale_selector.html.erb
app/views/admin_public_body/_one_list.html.erb
app/views/admin_public_body/edit.html.erb
app/views/admin_public_body/list.html.erb
app/views/admin_public_body/new.html.erb
app/views/admin_request/_incoming_message_actions.html.erb
app/views/admin_request/edit.html.erb
app/views/admin_request/edit_comment.html.erb
app/views/admin_request/edit_outgoing.html.erb
app/views/admin_request/list.html.erb
app/views/admin_request/list_old_unclassified.html.erb
app/views/admin_request/show.html.erb
app/views/admin_track/_some_tracks.html.erb
app/views/admin_track/list.html.erb
app/views/admin_user/edit.html.erb
app/views/admin_user/list.html.erb
app/views/admin_user/show.html.erb
app/views/general/_footer.html.erb
app/views/general/exception_caught.html.erb
app/views/help/contact.html.erb
app/views/layouts/default.html.erb
app/views/public_body/_alphabet.html.erb
app/views/request/_request_listing_single.html.erb
app/views/request/_sidebar.html.erb
app/views/request/new.html.erb
app/views/request/show.html.erb
app/views/request_mailer/external_response.rhtml
app/views/request_mailer/fake_response.rhtml
config/environment.rb
config/environments/production.rb
config/routes.rb
spec/controllers/admin_censor_rule_controller_spec.rb
spec/controllers/request_controller_spec.rb
spec/controllers/track_controller_spec.rb
spec/helpers/link_to_helper_spec.rb
spec/mailers/request_mailer_spec.rb
spec/models/info_request_spec.rb
spec/spec_helper.rb
spec/views/public_body/show.html.erb_spec.rb
spec/views/request/show.html.erb_spec.rb
vendor/plugins/rails_xss/lib/rails_xss/erubis.rb
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
force_encoding is generally not a good idea and I can't see what it's trying to achieve here so...
Revert "Use the character set of the attachment to encode the string that we're pulling out of the file before converting it to our default encoding."
This reverts commit 3729f2053d4c04396d440a9c368bed174e9c9605.
|
|/ |
|
|
|
|
| |
blanks, ensure_filename! should populate a default filename on a blank filename, as well as on nil.
|
|
|
|
|
|
|
|
| |
call outside the Chdir block - sometimes getting the body may involve opening files too.
Conflicts:
app/models/foi_attachment.rb
|
|
|
|
| |
pulling out of the file before converting it to our default encoding.
|
|
|
|
| |
have come from ENV.
|
|
|
|
|
|
|
|
| |
We have a PDF document that appears to send pdftohtml into a loop
where it creates millions of tiny PDF files and consumes ever-increasing
amounts of memory.
(This document: http://www.whatdotheyknow.com/request/119267/response/296719/attach/5/Document%203.pdf)
|
|
|
|
|
|
|
| |
It’s weird that there’s so much code here that implicitly
assumes File.dirname(__FILE__) is an absolute path, because
really in general it very much is not! This assumption was
invalidated by the recent bundler-awareness changes.
|
| |
|
|
|
|
| |
wombleton:feature/440_sparkly_admin_css)
|
|
|
|
|
| |
If $RAILS_ENV is unset, raise an exception rather than just blithely
creating a directory called cache/attachments_.
|
| |
|
| |
|
|
|
|
| |
getting the body a few times before failing. May be related to issue #333 and #339
|
|
|
|
| |
incoming message's attachments. May fix #339.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|