Giter Site home page Giter Site logo

redmine_send_mails's Introduction

It's me, Guilherme Noronha

Data Engineer | Python Developer


  • 📊 Working as a Data Engineer at the moment.
  • 🌱 Learning about Data Quality

Career

📊 Data Engineer - Five Acts (07/2022 - 12/2023)

📊 Data Engineer Professor - IGTI (12/2020 - 11/2022)

📊 Computer Science Professor - IFMG (08/2019 - 12/2019)

📊 Information Science Professor - UFMG (2016; 2017; 2020; 2021)

📊 Software Developer - Sisloc Softwares (10/2011 - 02/2014)

Education

👨‍🎓 Ph.D. in Knowledge Organization and Management - UFMG (2018-2022)

👨‍🎓 Master in Knowledge Organization and Management - UFMG (2015-2017)

👨‍🎓 Bachelor in Computer Science - PUC Minas (2008 - 2012)

Publications

📃 PROCESSAMENTO DE LINGUAGEM NATURAL PARA ANÁLISE DE SENTIMENTO UTILIZANDO PYTHON - Tecnologias utilizadas em pesquisas acadêmicas em Ciências Sociais Aplicadas

📃 ENSINO SUPERIOR DURANTE A PANDEMIA: UMA EXPERIÊNCIA DOCENTE EM SISTEMAS DE RECUPERAÇÃO DA INFORMAÇÃO - Informação & Informação

📃 Representação lógica do conhecimento para ontologias - Fronteiras da Representação do Conhecimento

📃 Análise gramatical de etiquetas em sites colaborativos: estudo de caso Flickr - Comunicação & Informação

📃 DESIDENTIFICAÇÃO DE DOCUMENTOS CLÍNICOS PARA PESQUISA BIOMÉDICA - REPRESENTAÇÃO DO CONHECIMENTO, ONTOLOGIAS E LINGUAGEM: pesquisa aplicada em Ciência da Informação

📃 Using Adaptive Automata as a Phonetic Routine Prototype - IEEE Latin America Transactions

visitors

Tools

Languages

python   sql   bash

Databases

postgresql   mysql   sqlite   mongodb

Frameworks

airflow   dbt

Packages

pandas   scikit_learn   selenium

OS

ubuntu   windows  

Other

aws   aws  

redmine_send_mails's People

Contributors

guilhermenoronha avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

brunofonseca

redmine_send_mails's Issues

error occurred while creating a new issues

hi,
An error occurred while creating a new issues

Started GET "/projects/test/issues/new" for 127.0.0.1 at 2013-10-30 13:46:23 +08
00
Processing by IssuesController#new as HTML
Parameters: {"project_id"=>"test"}
Current user: admin (id=1)
Rendered issues/_form_custom_fields.html.erb (5.0ms)
Rendered issues/_attributes.html.erb (23.0ms)
Rendered issues/_form.html.erb (38.0ms)
Rendered attachments/_form.html.erb (3.0ms)
Rendered plugins/redmine_send_mails/app/views/issues/new.html.erb within layou
ts/base (247.0ms)
Completed 500 Internal Server Error in 280ms

ActionView::Template::Error (undefined method link_to_remote' for #<#<Class:0x7 e3e5f8>:0x6616020>): 26: <%= watchers_checkboxes(@issue, @available_watchers) %> 27: </span> 28: <span class="search_for_watchers"> 29: <%= link_to_remote l(:label_search_for_watchers), 30: :url => {:controller => 'watchers', :action => 'new', :project_id => @issue.project}, 31: :method => 'get' %> 32: </span> app/helpers/application_helper.rb:948:inlabelled_form_for'
app/controllers/issues_controller.rb:134:in `block (2 levels) in new'

app/controllers/issues_controller.rb:133:in `new'

Environment:
Redmine version 2.3.3.stable
Ruby version 2.0.0-p247 (2013-06-27) [i386-mingw32]
Rails version 3.2.13
Environment production
Database adapter SQLite
Redmine plugins:
enhanced_queries 0.2
redmine_send_mails 0.0.2

Error creating wiki page

Environment:
Redmine version 3.3.1.stable
Ruby version 2.3.3-p222 (2016-11-21) [x86_64-linux-gnu]
Rails version 4.2.9

Rendered plugins/redmine_send_mails/app/views/wiki/edit.html.erb within layouts/base (6.1ms)
Completed 500 Internal Server Error in 25ms (ActiveRecord: 7.4ms)

ActionView::Template::Error (wrong number of arguments (given 1, expected 0)):
22: <%= l(:field_parent_title) %>
23: <%= fp.select :parent_id,
24: content_tag('option', '', :value => '') +
25: wiki_page_options_for_select(@wiki.pages.all(:include => :parent) -
26: @page.self_and_descendants, @page.parent) %>
27:


28: <% end %>
plugins/redmine_send_mails/app/views/wiki/edit.html.erb:25:in block (2 levels) in _920e308d3345b49d90450bc02680c1a1' plugins/redmine_send_mails/app/views/wiki/edit.html.erb:20:in block in _920e308d3345b49d90450bc02680c1a1'
plugins/redmine_send_mails/app/views/wiki/edit.html.erb:5:in _920e308d3345b49d90450bc02680c1a1' app/controllers/wiki_controller.rb:92:in show'

Problem with Redmine 3.4.6

Hi,

this would be a very helpfull Plugin, but

after installation (Redmine 3.4.6):
a) On Wiki-Pages i see no send-mail-checkbox like described
b) If i klick on any issue: Error 404 (The page you were trying to access doesn't exist or has been removed.)

Now i removed the Plugin from Plugin-folder an Redmine runs like bevore.

Best Regards,
Christian

After plugin installation, RedmineReceiveEmails - does not send notifications as expected

Without plugin - RedmineSendEmails

/redmine-ri-2.3.3/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=imap.gmail.com ssl=SSL \
port=993 username=EMAILADDRESS password=PASSWORD move_on_success=done \
move_on_failure=failed project=incomingMAIL unknown_user=create no_permission_check=1 no_account_notice=1 --trace

command receives emails, and sends notifications as expected - based on user profile settings.

We have set settings for users, that they receive ANY notifications only on this project

  • incomingMAIL. This mean - that ANY incoming email, that drops in this project, is notified to all users, who have set "notify on any event" in project incomingMAIL

After plugin installation - these notifications are not sent at all.

Can You fix it? Or You need deeper debugging?

undefined method `no_self_notified'

Tried latest commit, got this error on "My page"

ActionView::Template::Error: undefined method `no_self_notified' for #<UserPreference:0x00000006a81f78>

Stacktrace (most recent call first):

  File "active_model/attribute_methods.rb", line 407, in method_missing
    match ? attribute_missing(match, *args, &block) : super
  File "active_record/attribute_methods.rb", line 149, in method_missing
    super
  File "action_view/helpers/form_helper.rb", line 1152, in value
    object.send method_name if object
  File "action_view/helpers/form_helper.rb", line 1143, in value
    self.class.value(object, @method_name)
  File "action_view/helpers/form_helper.rb", line 1091, in to_check_box_tag
    checked = self.class.check_box_checked?(value(object), checked_value)
  File "action_view/helpers/form_helper.rb", line 841, in check_box
    InstanceTag.new(object_name, method, self, options.delete(:object)).to_check_box_tag(options, checked_value, unchecked_value)
  File "action_view/helpers/form_helper.rb", line 1325, in check_box
    @template.check_box(@object_name, method, objectify_options(options), checked_value, unchecked_value)
  File "/home/redmine/redmine_app/plugins/redmine_send_mails/app/views/users/_mail_notifications.html.erb", line 25, in block in _plugins_redmine_send_mails_app_views_users__mail_notifications_html_erb___839800759882523824_55007240
    <%= pref_fields.check_box :no_self_notified %>
  File "action_view/helpers/capture_helper.rb", line 40, in block in capture
    buffer = with_output_buffer { value = yield(*args) }
  File "action_view/helpers/capture_helper.rb", line 187, in with_output_buffer
    yield
  File "action_view/helpers/capture_helper.rb", line 40, in capture
    buffer = with_output_buffer { value = yield(*args) }
  File "action_view/helpers/form_helper.rb", line 605, in fields_for
    output = capture(builder, &block)
  File "/home/redmine/redmine_app/plugins/redmine_send_mails/app/views/users/_mail_notifications.html.erb", line 23, in _plugins_redmine_send_mails_app_views_users__mail_notifications_html_erb___839800759882523824_55007240
    <%= fields_for :pref, @user.pref do |pref_fields| %>
  File "action_view/template.rb", line 145, in block in render
    view.send(method_name, locals, buffer, &block)
  File "active_support/notifications.rb", line 125, in instrument
    yield payload if block_given?
  File "action_view/template.rb", line 143, in render
    ActiveSupport::Notifications.instrument("!render_template.action_view", :virtual_path => @virtual_path) do
  File "action_view/renderer/partial_renderer.rb", line 265, in render_partial
    content = @template.render(view, locals) do |*name|
  File "action_view/renderer/partial_renderer.rb", line 238, in block in render
    render_partial
  File "action_view/renderer/abstract_renderer.rb", line 38, in block in instrument
    ActiveSupport::Notifications.instrument("render_#{name}.action_view", options){ yield }
  File "active_support/notifications.rb", line 123, in block in instrument
    instrumenter.instrument(name, payload) { yield payload if block_given? }

error while creating or editing a issues

We recieve an 500 Internal Server while creating or editing an issue.
We're using Redmine 2.4.1
I think this is the problem, could you please update the plugin.
We would reallyreally like to use your plugin.

Here is the log:

Completed 500 Internal Server Error in 87.1ms

NoMethodError (undefined method save_issue_with_child_records' for #<Issue:0x0000000731a9a0>): activemodel (3.2.15) lib/active_model/attribute_methods.rb:407:inmethod_missing'
activerecord (3.2.15) lib/active_record/attribute_methods.rb:149:in method_missing' plugins/redmine_send_mails/lib/issues/issues_controller_patch.rb:26:inupdate_with_send_mail_checker_issues'
actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.2.15) lib/abstract_controller/base.rb:167:inprocess_action'
actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:inblock in process_action'
activesupport (3.2.15) lib/active_support/callbacks.rb:491:in _run__446259241958774331__process_action__4225630917760274378__callbacks' activesupport (3.2.15) lib/active_support/callbacks.rb:405:in__run_callback'
activesupport (3.2.15) lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' activesupport (3.2.15) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in process_action' actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:inprocess_action'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in block in process_action' activesupport (3.2.15) lib/active_support/notifications.rb:123:inblock in instrument'
activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.15) lib/active_support/notifications.rb:123:ininstrument'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:inprocess_action'
activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (3.2.15) lib/abstract_controller/base.rb:121:inprocess'
actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in process' actionpack (3.2.15) lib/action_controller/metal.rb:203:indispatch'
actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in dispatch' actionpack (3.2.15) lib/action_controller/metal.rb:246:inblock in action'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in call' actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:indispatch'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in call' journey (1.0.4) lib/journey/router.rb:68:inblock in call'
journey (1.0.4) lib/journey/router.rb:56:in each' journey (1.0.4) lib/journey/router.rb:56:incall'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in call' rack-openid (1.4.1) lib/rack/openid.rb:99:incall'
actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.5) lib/rack/etag.rb:23:incall'
rack (1.4.5) lib/rack/conditionalget.rb:35:in call' actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:incall'
actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in call' actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:incall'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in context' rack (1.4.5) lib/rack/session/abstract/id.rb:205:incall'
actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in call' activerecord (3.2.15) lib/active_record/query_cache.rb:64:incall'
activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:inblock in call'
activesupport (3.2.15) lib/active_support/callbacks.rb:405:in _run__3637950227641706916__call__2256114696340052106__callbacks' activesupport (3.2.15) lib/active_support/callbacks.rb:405:in__run_callback'
activesupport (3.2.15) lib/active_support/callbacks.rb:385:in _run_call_callbacks' activesupport (3.2.15) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in call' actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:incall'
actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:incall'
railties (3.2.15) lib/rails/rack/logger.rb:32:in call_app' railties (3.2.15) lib/rails/rack/logger.rb:16:inblock in call'
activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in tagged' railties (3.2.15) lib/rails/rack/logger.rb:16:incall'
actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.5) lib/rack/methodoverride.rb:21:incall'
rack (1.4.5) lib/rack/runtime.rb:17:in call' activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:incall'
rack (1.4.5) lib/rack/lock.rb:15:in call' actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:incall'
rack-cache (1.2) lib/rack/cache/context.rb:136:in forward' rack-cache (1.2) lib/rack/cache/context.rb:143:inpass'
rack-cache (1.2) lib/rack/cache/context.rb:155:in invalidate' rack-cache (1.2) lib/rack/cache/context.rb:71:incall!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in call' railties (3.2.15) lib/rails/engine.rb:484:incall'
railties (3.2.15) lib/rails/application.rb:231:in call' railties (3.2.15) lib/rails/railtie/configurable.rb:30:inmethod_missing'
passenger (4.0.26) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in process_request' passenger (4.0.26) lib/phusion_passenger/request_handler/thread_handler.rb:140:inaccept_and_process_next_request'
passenger (4.0.26) lib/phusion_passenger/request_handler/thread_handler.rb:108:in main_loop' passenger (4.0.26) lib/phusion_passenger/request_handler.rb:441:inblock (3 levels) in start_threads'

ActionView::Template::Error (undefined method `link_to_remote'

Great plugin! But ... did not manage to get ir work.

Right after installation, i get error opening event in VIEW mode issues or WIKI pages:

Started GET "/ri/projects/rigacomm/wiki" for XXX.XXX.XXX.XXX at Mon Oct 28 22:50:27 +0200 2013
Processing by WikiController#show as HTML
  Parameters: {"project_id"=>"rigacomm"}
  Current user: Arnis (id=4)
  Rendered attachments/_form.html.erb (2.2ms)
  Rendered plugins/redmine_send_mails/app/views/wiki/edit.html.erb within layouts/base (473.1ms)
Completed 500 Internal Server Error in 488ms

ActionView::Template::Error (undefined method `link_to_remote' for #<#<Class:0xb3d40c98>:0xb4012a20>):
    34: </div>
    35: <%= l(:send_email) %> <%= check_box_tag "email_checker_wiki", 1 %> <br>
    36: <p><%= submit_tag l(:button_save) %>
    37:    <%= link_to_remote l(:label_preview),
    38:                        { :url => { :controller => 'wiki', :action => 'preview',
    39:                                    :project_id => @project, :id => @page.title },
    40:                          :method => :post,
  app/controllers/wiki_controller.rb:70:in `show'

Notifications about new issue do not send

After plugin installed we have got the problem - standard notifications about creating issue from e-mail do not send to our users.
It's realy the problem, because they must know, that their task has been registered.
We use cron task to get issues from mailbox.
Could you develop your plugin and add the option to send or not send notification about new issues from email?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.