Contribute to Open Source. Search issue labels to find the right project for you!

cocoapods checkout wrong branch if pod's branch name is separated by slashes

CocoaPods/cocoapods-downloader

Assume that pod A only has a branch named release/0.1.0.

...
pod 'A', git: 'xxx', branch: '0.1.0'
...

Install project with the Podfile above, and it will checkout release/0.1.0 branch.

def self.preprocess_options(options)
  return options unless options[:branch]

  command = ['ls-remote',
             options[:git],
             options[:branch]]
  output = Git.execute_command('git', command)  # will return release/0.1.0 branch
  match = /^([a-z0-9]*)\t.*/.match(output)

  return options if match.nil?

  options[:commit] = match[1]
  options.delete(:branch)

  options
end

I think /^([a-z0-9]*)\t.*/ is not strict for the case.

Updated 22/04/2019 20:06 1 Comments

Adding an averge review filter fot books.

Klashe/bookapp

I added the ability for users to leave a review on books. The review table has rating (:integer) and (:comment) columns and it’s rendering well just as I want but I’m also trying to take things a little bit further by making it possible to filter books based on the average review rating a book has. Since the review is a 1-5 integer represented by stars.

Example: I want something like

FILTER BOOKS BY AVERAGE REVIEW RATING ⭐️⭐️⭐️⭐️⭐️ (link_to the book_path with average rating of 5) ⭐️⭐️⭐️⭐️ ⭐️⭐️⭐️ ⭐️⭐️ ⭐️

https://github.com/Klashe/bookapp/blob/11ee8e475696480c770e725f39ae93943b2df80e/app/controllers/books_controller.rb#L39

I also want to be able to display average review on books index action too, currently it only shows on show action.

Updated 20/04/2019 07:32 1 Comments

How to remove users from group chat

Klashe/bookapp

Currently, I’m able to add users to a group chat but can figure out yet how to remove a user from from group chat https://github.com/Klashe/bookapp/blob/master/app/views/private/conversations/conversation/heading/_create_group_conversation.html.erb

Updated 19/04/2019 05:06 1 Comments

How to start a conversation with a new user if the convesrsation_id does not exist

Klashe/bookapp

So currently, the only way to start a conversation with a user is by typing a message to a book.user on the books show page here https://github.com/Klashe/bookapp/blob/11ee8e475696480c770e725f39ae93943b2df80e/app/views/books/show.html.erb#L143

Once a coversation_id exists, the conversation window will pop up normally but without an id, it will throw up an error conversation_id doesn't exist

Basically, I want the “Chat User” button to work for both opening of conversation if it exists and also create if it doesn’t https://github.com/Klashe/bookapp/blob/11ee8e475696480c770e725f39ae93943b2df80e/app/views/profiles/_show_meta.html.erb#L31

Please do check out https://github.com/Klashe/bookapp/blob/master/app/controllers/private/conversations_controller.rb for reference and also the partial files as there are many helpers.

Updated 22/04/2019 20:26 4 Comments

Dashboard totals are incorrect

rubyforgood/diaper

Numerous dashboard totals are reported as being incorrectly calculated (the corresponding totals for Donations, Purchases, are correct). The “Inventory -> Items in Inventory” is showing the same incorrect number as what is seen on Dashboard.

Review how all the totals in the Dashboard are being calculated and ensure it is being calculated correctly.

Ref: The organization sem is the one that reported this

Updated 20/04/2019 19:49 1 Comments

Match hyphens in node content when scanning for hashtags

publiclab/plots2

Since #532, when people post new pages, notes, questions, etc, the site scans the body content using this matcher:

https://github.com/publiclab/plots2/blob/b61ca7d0d9415e23659cf3fd93976349fc3488b4/app/models/revision.rb#L53-L58

It matches using this REGEX:

https://github.com/publiclab/plots2/blob/b61ca7d0d9415e23659cf3fd93976349fc3488b4/config/initializers/constants.rb#L4

And it tags the node with all the tags it finds – stuff in the format #tagname, anywhere in the text.

We don’t have tests for this, but we should! We could do a unit test in https://github.com/publiclab/plots2/blob/master/test/unit/revision_test.rb

However, the focus of this issue is to get it to match hyphenated words properly. It currently creates the tag #purple from the string #purple-air. Let’s modify the regex to find hyphens too!

Actually the best way to test this would be to write the unit test first. Using node.has_tag('purple-air') to assert that it’s done properly. Then to fix the regex and see the tests pass! Test-Driven-Development!!

We’d love help with this!

Updated 22/04/2019 19:32 3 Comments

Links should be able to be flagged

elubow/bjjdb

On the link#show page, there should be a button with a flag that says “Flag for review.” The flag and text should be in small font on the same line as the location of the video (see attachment).

When a video is flagged, it should be added a list of flagged videos. The flagged video page should only be available to moderators and admins (via the admin menu). The admin/mod will then be able to either keep or remove the video. If the video is to be removed, then that link shouldn’t be able to be added again (new links should be checked against the flagged links table). If the video is kept, then the video should show up in the dashboard and be searchable again. When a video is flagged, it should be removed from being visible until the video is considered ok.

<img width=“779” alt=“Screen Shot 2019-04-18 at 11 11 31” src=“https://user-images.githubusercontent.com/82815/56350584-69098e00-61cb-11e9-8999-c770c7ab11bd.png”>

Updated 18/04/2019 09:25

Remove dependency on Ruby

kirillian/shiplane

Shiplane is currently dependent upon a developer having Ruby installed. While not the worst dependency in my opinion, there are people who might not know how to install and manage this dependency or there may be those who don’t WANT it for some reason. It seems to me that making Shiplane a binary or providing a library for many different languages are both viable paths to solve this problem. I expect that making this a binary is the most likely path forward at this time, but this issue is here to spark discussion around this.

Updated 15/04/2019 03:32

Too many requests when selecting course from the sidebar

YACS-RCOS/yacs

Describe the bug When selecting a course in the sidebar, too many requests are made and there is a very noticeable slowdown. It also looks like there are more requests, the more sections a course has.

To Reproduce 1. Select a couple of courses 2. Open the sidebar 3. Unselect and reselect a course (if you have your network tab open in your developer tools, you’ll see there are a lot more requests than there should be)

Expected behavior Ideally, this should only make a single request

Updated 12/04/2019 21:52 2 Comments

Codesigning Problem when there is a Apostrophe in Path

CocoaPods/CocoaPods

Report

What did you do?

We have a project that has a Apostrophe and Space in the Target name. Using Xcode, trying to do a Build&Run fails because the codesign command does not properly escape the path to the signed framework.

What did you expect to happen?

Build&Run should work.

What happened instead?

The shell script Pods/Target Support Files/Pods-Quote’s App/Quote’s App-frameworks.sh is executed

You can see the error reports the path only until the apostrophe.

As a workaround I modified the code_sign_if_enabled() function as such: ```

Signs a framework with the provided identity

code_sign_if_enabled() { if [ -n “${EXPANDED_CODE_SIGN_IDENTITY}” -a “${CODE_SIGNING_REQUIRED:-}” != “NO” -a “${CODE_SIGNING_ALLOWED}” != “NO” ]; then # Use the current code_sign_identitiy echo “Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}” local code_sign_cmd=“/usr/bin/codesign –force –sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} –preserve-metadata=identifier,entitlements \”$1\“”

if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
  code_sign_cmd="$code_sign_cmd &"
fi
echo "$code_sign_cmd"
eval "$code_sign_cmd"

fi } ``` With this modification the command works and the app builds.

CocoaPods Environment

Stack

   CocoaPods : 1.5.3
        Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
    RubyGems : 2.5.2.3
        Host : Mac OS X 10.14.2 (18C54)
       Xcode : 10.1 (10B61)
         Git : git version 2.17.2 (Apple Git-113)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ cefa0b01688a63ff44c71ecc749f4ed9158ec654

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

cocoapods-deintegrate : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.0
cocoapods-try         : 1.1.0

Podfile

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'Quote\'s App' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!
  pod 'SVProgressHUD'
  # Pods for Quote's App

end
Updated 15/04/2019 21:40 4 Comments

macOS gatekeeper quarantine

Homebrew/homebrew-bundle

Currently every app installed with brew gets set the quarantine flag, which most often is reasonable. This results in the first start after launching the app, gatekeeper will ask you whether you want to start it or not, as it was downloaded from the internet.

This is also the case when upgrading etc. Sometime you want to roll out your setup to a lot of computers and don’t want to approve every single app after installation. So brew provides a –no-quarantine flag, which will not add the app to quarantine.

It would be great if brew bundle would support –no-quarantine. e.g.

‘brew bundle –no-quarantine’

Updated 12/04/2019 11:32 2 Comments

delete rating

frab/frab

I rated an event by accident. I’m not supposed to be reviewing it (it’s not my track). I want a way to delete my rating so organizers aren’t confused by it,

Updated 16/04/2019 17:54

Current ad status of houses

magara/magara

People want to see active ads instead of 30 years old an ad without any update, so we should add a feature that shows the status of house (ad).

Implementation

In the model of House (House.rb) will have:

class House < ApplicationRecord
  # ...
  enum status: { active: 'active', archived: 'archived' }
  # ...
end
  1. Should use string instead of integer because integer makes hard to understand the context
  2. Solve the data integrity issue with database specific ENUM() data types.

P.S. Thanks to Eduardo Figarola’s article (link in the sources section)

Rails, PostgreSQL and ENUM()

<details> <summary>An example of migration file</summary>

  class AddStatusToHouses < ActiveRecord::Migration[5.2]
    def up
      execute <<-SQL
        CREATE TYPE house_statuses AS ENUM ('active', 'archived');
      SQL

      add_column :houses, :status, :house_statuses
    end

    def down
      remove_column :houses, :status, :house_statuses

      execute <<-SQL
        DROP TYPE house_statuses;
      SQL
    end
  end

</details>

Using this migration file causes to return an exception in the schema.rb

# ...
# Could not dump table "houses" because of following StandardError
#   Unknown type 'house_statuses' for column 'status'
# ...

Source about Rails, PostgreSQL and ENUM()

I read different sources

Updated 11/04/2019 20:09 2 Comments

Need new select2 helpers? [ to discuss ]

Hirurg103/capybara_select2

I am not sure if we need the test helpers below so I am asking for the community help.

Please add 👍 if you need the helpers or 👎 if you think they are not necessary

# open select2 widget
select2_open css: '.select2'
select2_open label: 'Todo'

# close select2 widget
select2_close css: '.select2'
select2_close label: 'Todo'

# type into the search field within an opened select2 widget
select2_search 'Minsk'

# select an option from an opened select box
select2_select_option 'Buy Milk'

If you think that only some of the helpers above might be useful please add your opinion in the comments below

Updated 16/04/2019 15:11

@user_tag undefined in user_tag deletion controller

publiclab/plots2

Sentry Issue: PLOTS2-5E

NoMethodError: undefined method `id' for nil:NilClass
  app/views/user_tags/delete.js.erb:1:in `_app_views_user_tags_delete_js_erb__4552918173833832584_70086502414780'
    $("#tag_"+<%= @user_tag.id %>).html("")
  app/controllers/user_tags_controller.rb:121:in `delete'
    respond_with do |format|
...
(136 additional frame(s) were not displayed)

ActionView::Template::Error: undefined method `id' for nil:NilClass

ActionView::Template::Error: undefined method `id' for nil:NilClass
Updated 09/04/2019 15:29 1 Comments

Add leaflet-fullHash.js .

publiclab/mapknitter

Continued from : https://github.com/publiclab/mapknitter/issues/419#issuecomment-481160685

Let’s addleaflet-fullHash.js to mapknitter index map 🗺 .

  • [ ] Add leaflet-fullHash.js to bower.json . See this for example : https://github.com/publiclab/leaflet-environmental-layers/blob/cb4b72824d0186bba1fa1bca1bdafff8a1742992/package.json#L46

  • [ ] Incorporate this dependency in the from of script tag in view/maps/index.html.erb . See this for example : https://github.com/publiclab/leaflet-environmental-layers/blob/cb4b72824d0186bba1fa1bca1bdafff8a1742992/example/index.html#L47

  • [ ] Add leaflet-fullHash object code in view/maps/index.html.erb , see this for example : https://github.com/publiclab/leaflet-environmental-layers/blob/cb4b72824d0186bba1fa1bca1bdafff8a1742992/example/index.html#L333

We currently use this library in Leaflet environmental Layers and plots2 😄 . Lets use this in mapknitter as well 🎈 !

Updated 10/04/2019 07:06 5 Comments

Completely remove leaflet-hash .

publiclab/mapknitter

Hi, this is a first-timers-only issue. This means we’ve worked to make it more legible to folks who either haven’t contributed to our codebase before, or even folks who haven’t contributed to open source before.

If that’s you, we’re interested in helping you take the first step and can answer questions and help you out as you do. Note that we’re especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

🤔 What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

Problem

We have removed leaflet-hash from bower.json but still we are using leaflet-hash functions . Lets completely remove leaflet-hash as we would be soon incorporating another library (leaflet-fullhash) to maintain uniformity across our different projects .

📋Solution

Let’s Remove these lines :

https://github.com/publiclab/mapknitter/blob/05cb5593f4c1b6cb0e786046da1cf82117359489/app/views/maps/index.html.erb#L5

and

https://github.com/publiclab/mapknitter/blob/05cb5593f4c1b6cb0e786046da1cf82117359489/app/views/maps/index.html.erb#L108

  • [ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they’ve opened a pull request already and if they’re stuck – maybe you can help them solve a problem or move it along!

  • [ ] 📝 Update

  • [ ] 💾 Commit your changes

  • [ ] 🔀 Start a Pull Request. There are two ways how you can start a pull request:

  • If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  • You can also edit files directly in your browser and open a pull request from there.

  • [ ] 🏁 Done Ask in comments for a review :)

🤔❓ Questions?

Leave a comment below!

Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone’s already started on it. If someone seem stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

Updated 09/04/2019 12:35 2 Comments

Fix rspec unit test to properly test ps behavior

bloomberg/locking_resource-cookbook

~I couldn’t get the tests to pass before I created #7, so I had a fun time trying to edit them.~ ^ Fixed in #9 by Clay.

We need to modify the tests to verify the behavior of ps rather than pgrep to complete the functional changes I made in #7 and improved in #11.

To be more specific, in the unit tests, we see the following: https://github.com/bloomberg/locking_resource-cookbook/blob/2f3dd4207ca3d9e5b7db8ef1b08b7bf56f09d07e/spec/unit/helper_spec.rb#L350-L378

This section seems to rely on ps vs pgrep to determine how it parses the output of either command. As we’re now using ps for both the lstart output and the PID/cmdline capture, this section needs to be restructured to work with ps for properly testing both use cases in rspec.

I’m short on time right now, so I’m marking this as “help wanted” until I’m able to get around to it.

Updated 17/04/2019 15:19 1 Comments

Sync PR review status

octobox/octobox

💥 Proposal

What feature you’d like to see

Octobox could/should show me if a PR still needs a review, or if a review has been given (whether that review be a 👍, a 👎 , or just some comments).

Motivation

My team receives frequent review requests on multiple repositories. When using octobox to review outstanding work at the beginning of my day, I must open each PR individually on GitHub to see if a review request is still outstanding, or if it has been reviewed. This is a time sink. :)

Pitch

I believe this feature would benefit power users - like myself - who deal with many PRs daily. Knowing whether or not I still need to take action on a review would save me a great deal of time, and I suspect would save others a great deal of time as well. The information is available in the API, and as such seems somewhat straightforward to implement.

I believe this information can be ascertained from both the PR API and the PR Review API. I’m not 100% sure of the interplay there, but looking through a few PRs on a repo I watch I noticed a few things: - A PR that has reviews requested but not yet completed had items in the requested_users and/or requested_teams fields on the PR API response - This is also available in the review requests endpoint - PRs that had completed reviews (regardless of the status of those reviews) were found in the /reviews endpoint response

The graphql API may be easier to use here, since you could compose a single query that gets all required state.

Updated 08/04/2019 15:38 1 Comments

Internal Error for Demand

akiko-pusu/redmine_issue_templates

Summary

Hi have migrate my Redmine 3.x in 4.x but all plugins have been updated your plugin was update in 0.3.1.

Description

But all work but have internal error have try to find the bug and have see is your plugin. Have remove your plugin and all is work.

Environment

  • Redmine version 4.0.2
  • Installed plugins easy_gantt, easy_mindmup, easy_wbs
  • Ruby version 2.4 RVM
  • OS Platform Centos 7.6
  • Database (MySQL) and its version
  • Rails Env Production

Visual Proof / Screenshot

image image

This is log for Internal Error

  Rendering projects/settings.html.erb within layouts/base
  Rendered projects/settings.html.erb within layouts/base (23.9ms)
Completed 500 Internal Server Error in 51ms (ActiveRecord: 9.8ms)

ActionView::Template::Error (uninitialized constant IssueTemplates::ProjectsHelperPatch::IssueTemplateSetting
Did you mean?  IssueTemplates):
    1: <h2><%=l(:label_settings)%></h2>
    2: 
    3: <%= render_tabs project_settings_tabs %>
    4: 
    5: <% html_title(l(:label_settings)) -%>

plugins/redmine_issue_templates-master/lib/issue_templates/projects_helper_patch.rb:7:in `project_settings_tabs'
app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb__1092138142490081196_63070400'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Started GET "/projects/airbus-aneto-afdx/settings" for 127.0.0.1 at 2019-04-08 10:40:30 +0200
Processing by ProjectsController#settings as HTML
  Parameters: {"id"=>"airbus-aneto-afdx"}
  Current user: liberodark (id=953)
  Rendering projects/settings.html.erb within layouts/base
  Rendered projects/settings.html.erb within layouts/base (24.5ms)
Completed 500 Internal Server Error in 47ms (ActiveRecord: 8.7ms)

ActionView::Template::Error (uninitialized constant IssueTemplates::ProjectsHelperPatch::IssueTemplateSetting
Did you mean?  IssueTemplates):
    1: <h2><%=l(:label_settings)%></h2>
    2: 
    3: <%= render_tabs project_settings_tabs %>
    4: 
    5: <% html_title(l(:label_settings)) -%>

plugins/redmine_issue_templates-master/lib/issue_templates/projects_helper_patch.rb:7:in `project_settings_tabs'
app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb__1092138142490081196_63070400'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

This is log for 404

Started GET "/plugin_assets/redmine_issue_templates/stylesheets/issue_templates.css" for 127.0.0.1 at 2019-04-08 10:42:07 +0200

ActionController::RoutingError (No route matches [GET] "/plugin_assets/redmine_issue_templates/stylesheets/issue_templates.css"):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.2) lib/rails/rack/logger.rb:26:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.0.6) lib/rack/method_override.rb:22:in `call'
rack (2.0.6) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.0.6) lib/rack/content_length.rb:15:in `call'
rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
railties (5.2.2) lib/rails/engine.rb:524:in `call'
rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
/home/redmine/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
/home/redmine/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
/home/redmine/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/webrick/server.rb:308:in `block in start_thread'
Started GET "/plugin_assets/redmine_issue_templates/javascripts/issue_templates.js" for 127.0.0.1 at 2019-04-08 10:42:07 +0200

ActionController::RoutingError (No route matches [GET] "/plugin_assets/redmine_issue_templates/javascripts/issue_templates.js"):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.2) lib/rails/rack/logger.rb:26:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.0.6) lib/rack/method_override.rb:22:in `call'
rack (2.0.6) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.0.6) lib/rack/content_length.rb:15:in `call'
rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
railties (5.2.2) lib/rails/engine.rb:524:in `call'
rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
/home/redmine/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
/home/redmine/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
/home/redmine/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/webrick/server.rb:308:in `block in start_thread'
Started GET "/plugin_assets/redmine_issue_templates/stylesheets/issue_templates.css" for 127.0.0.1 at 2019-04-08 10:42:07 +0200

ActionController::RoutingError (No route matches [GET] "/plugin_assets/redmine_issue_templates/stylesheets/issue_templates.css"):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.2) lib/rails/rack/logger.rb:26:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.0.6) lib/rack/method_override.rb:22:in `call'
rack (2.0.6) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.0.6) lib/rack/content_length.rb:15:in `call'
rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
railties (5.2.2) lib/rails/engine.rb:524:in `call'
rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
/home/redmine/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
/home/redmine/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
/home/redmine/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/webrick/server.rb:308:in `block in start_thread'
Updated 15/04/2019 06:43 3 Comments

Enhancement: Add an `install!` parameter that would prevent generation of Pods.xcodeproj

CocoaPods/CocoaPods

<!– ℹ Please fill out this template when filing an issue. All lines beginning with an ℹ symbol instruct you with what info we expect.

Before you start, are you using the latest CocoaPods release? A lot changes with Xcode releases that are not backwards compatible.

Not an issue about the CocoaPods command line app? Please file an issue in the appropriate repo - https://github.com/CocoaPods Issues are for feature requests, and bugs; questions should go to Stack Overflow

Using CocoaPods <= 0.39: https://blog.cocoapods.org/Sharding/

Using Xcode 8: Requires CocoaPods 1.1.0 or above.

Issue with Nanaimo not loading: Please run [sudo] gem uninstall nanaimo and remove all but the latest version.

Issues with pod search? Try deleting your cache rm -rf ~/Library/Caches/CocoaPodsfirst. –>

Report

What did you do?

Ran pod install

What did you expect to happen?

Download our dependencies distributed via CocoaPods.

What happened instead?

Analyzing dependencies
Downloading dependencies
Using AFNetworking (3.2.1)
Generating Pods project
Skipping User Project Integration
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

In addition to downloading our dependencies distributed via CocoaPods, a Pods/Pods.xcodeproj file directory with a bunch of files were written to disk. Since I’m using another project-generation tool to pull in sources downloaded via Cocoapods, it’d be great not have to create Pods/Pods.xcodeproj. I understand that modifying the behavior of integrate_targets: false to stop producing these files would be a breaking change – it would be great to get a new parameter on install! that could prevent these support files from being created.

CocoaPods Environment

Stack

   CocoaPods : 1.6.1
        Ruby : ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin17]
    RubyGems : 3.0.2
        Host : Mac OS X 10.14.4 (18E226)
       Xcode : 10.2 (10E125)
         Git : git version 2.21.0
Ruby lib dir : /Users/dan_federman/.rbenv/versions/2.3.1/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ d1274e7ae102fca8339dae1ec8fa9a6b1331e149

Installation Source

Executable Path: /Users/dan_federman/.rbenv/versions/2.3.1/bin/pod

Plugins

cocoapods-deintegrate : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-rome        : 1.0.1
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.1
cocoapods-try         : 1.1.0

Podfile

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '11.0'

# Only download the files, don't create Xcode projects
install! 'cocoapods', integrate_targets: false

use_frameworks!

target 'Random-Inc' do
  pod "AFNetworking"
end

Project that demonstrates the issue

See Podfile above

Updated 09/04/2019 21:03

Environment variables not loading on travis for external PRs

publiclab/mapknitter

Travis does not load environment variables due to security concerns, (https://docs.travis-ci.com/user/pull-requests#pull-requests-and-security-restrictions) This is a valid security concern because anyone can send a PR that prints and exposes the env variables to the logs. It is however a setback for us since it restrains us from sending coverage reports to Coveralls/Codeclimate. Because of this we can’t see coverage change on external prs. (This is important for us because we might want to encourage contributors to send prs with sufficient tests so that test coverage does not decrease) For example compare https://github.com/publiclab/mapknitter/pull/467 and https://github.com/publiclab/mapknitter/pull/462

The same issue exists for plots2 as well. Notice how a repo can’t be found to send report to coveralls in this build. https://travis-ci.org/publiclab/plots2/builds/512970864#L3498 Currently only push builds are sending coverage reports to coveralls.

I can’t find a good solution for this that doesn’t include making the environment variables public, which should be our last resort.

Updated 14/04/2019 04:41 13 Comments

Create i18n BJJ Terms database

elubow/bjjdb

Root will be a phrase in English. Then you link a translation and a language to the term

ID Term 1 knee

Translations: ID term_id language translation 1 1 de knie 2 1 fr genou

Display

Left column will always be English and then you can select up to 2 additional columns with available languages. e.g.: (EN | FR | DE) If there is no translation in that language for an English root phrase, just leave the box empty.

Addition

Only admins will be able to add English terms. Moderators levels and above will be able to add the translations. The translation entry in the admin/mod side will allow you to specify a valid language and then the translation after you select an English “root” term.

Search Screen

It will have a dropdown of the available languages and then an autocomplete text search and a multi-checkbox list of languages to see the result.

Updated 14/04/2019 00:54

Translating filenames into class names on app eager loading fails for plural class names

tongueroo/jets

Hello! Thanks for Jets, I absolutely love it ❤️ I noticed a problem while trying to run jets console in my application, here’s a quick rundown of it 👇

Checklist

  • [x] Upgrade Jets: Are you using the latest version of Jets? This allows Jets to fix issues fast. There’s a jets upgrade command that makes this a simple task. There’s also an Upgrading Guide: http://rubyonjets.com/docs/upgrading/
  • [x] Reproducibility: Are you reporting a bug others will be able to reproduce and not asking a question. If you’re unsure or want to ask a question, do so on https://community.rubyonjets.com
  • [x] Code sample: Have you put together a code sample to reproduce the issue and make it available? Code samples help speed up fixes dramatically. If it’s an easily reproducible issue, then code samples are not needed. If you’re unsure, please include a code sample.

Expected Behaviour

I can define a class with a plural name, like Quotes and have no problem with eager loading.

Current Behavior

The framework prevents me from having classes with plural names in my application if I want to eager load it.

Step-by-step reproduction instructions

  1. echo 'class Quotes; end' > app/models/quotes.rb
  2. jets console
  3. Get an error from constantizing a singular class name, because the application defined it as plural: Traceback (most recent call last): 16: from /Users/hello/.rvm/gems/ruby-2.5.3/bin/jets:23:in `<main>' 15: from /Users/hello/.rvm/gems/ruby-2.5.3/bin/jets:23:in `load' 14: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/jets-1.8.9/exe/jets:14:in `<top (required)>' 13: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/jets-1.8.9/lib/jets/cli.rb:5:in `start' 12: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/jets-1.8.9/lib/jets/cli.rb:20:in `start' 11: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/jets-1.8.9/lib/jets/cli.rb:48:in `boot_jets' 10: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/jets-1.8.9/lib/jets/core.rb:18:in `boot' 9: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/jets-1.8.9/lib/jets/booter.rb:24:in `boot!' 8: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/jets-1.8.9/lib/jets/booter.rb:201:in `eager_load_app' 7: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/jets-1.8.9/lib/jets/booter.rb:201:in `select' 6: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/jets-1.8.9/lib/jets/booter.rb:218:in `block in eager_load_app' 5: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2.1/lib/active_support/core_ext/string/inflections.rb:68:in `constantize' 4: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2.1/lib/active_support/inflector/methods.rb:281:in `constantize' 3: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2.1/lib/active_support/inflector/methods.rb:281:in `inject' 2: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2.1/lib/active_support/inflector/methods.rb:281:in `each' 1: from /Users/hello/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2.1/lib/active_support/inflector/methods.rb:283:in `block in constantize' /Users/hello/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2.1/lib/active_support/inflector/methods.rb:283:in `const_get': uninitialized constant Quote (NameError)

Solution Suggestion

I believe the solution is to mimic the behavior from the eager_load_jets method and using camelize instead of classify in the eager_load_app method here.

Updated 08/04/2019 23:34 4 Comments

systemd shifter_imagegw.service fails

t0rrant/cookbook-shifter

In Ubuntu 16.04 (travis build), we get this error: STDERR: Failed to start shifter_imagegw.service: Unit shifter_imagegw.service is not loaded properly: Invalid argument. see the travis build for more info

I don’t see anything in the service file that could cause this, as this runs just fine in Ubuntu 18.04 and Debian 9.

Any help is appreciated.

Updated 04/04/2019 14:08

Demo ISLE Site Resources: Requesting password prefix change for "Demo ISLE Site"

Islandora-Collaboration-Group/ISLE

Issue description

  • The “Demo ISLE Site Resources” (https://islandora-collaboration-group.github.io/ISLE-Documentation/02_installation_demo_site/demo_resources/) lists “Demo ISLE Site” passwords starting with a prefix of ild_. The documentation now uses the clearer demo_ as a prefix for all demo activity.
What’s the expected result?
  • I’d like the “Demo ISLE Site” passwords to begin with demo_, instead of ild_, for consistency.
  • I’m unsure about the scope of where those changes must occur within the ISLE setup files.
Updated 04/04/2019 16:54 2 Comments

Flaky spec: Commenting legislation questions Submit button is disabled after clicking

consul/consul

Failure

Travis failed builds: Travis build 28431, job2 and forked repository build 254, job 2.

Messages: Failures: 1) Commenting legislation questions Submit button is disabled after clicking Failure/Error: expect(page).not_to have_button "Publish answer" expected not to find visible button "Publish answer", found 1 match: "" # ./spec/features/comments/legislation_questions_spec.rb:333:in `block (2 levels) in <top (required)>'

Cause

We try to check a button is disabled and inmediately enabled again after clicking it. However, sometimes the AJAX call we generate is too fast, and the button is re-enabled before we’ve got time to check it was disabled for a very brief moment.

After commenting, the button is briefly disabled

The problem can be reproduced locally by adding a sleep 0.5 call in tht test right after the click_button "Publish comment" line.

Every spec testing the scenario “Submit button is disabled after clicking” (trying to test the fix done in #732) is potentially affected by the same problem.

The test used to fail on a different line, as mentioned in AyuntamientoMadrid#1193, probably for an unrelated reason.

Updated 14/04/2019 14:23

Version 1.6.1 tries to code sign frameworks

CocoaPods/CocoaPods

Report

What did you do?

please note that this command is from our CI. However the same results happen [command]/usr/bin/xcodebuild -sdk iphoneos -configuration release -workspace /Users/vsts/agent/2.148.2/work/1/s/MyApp/MyApp.xcworkspace -scheme MyApp build CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY=iPhone Distribution: MyCompanyDistrobutionProfile PROVISIONING_PROFILE=848ebce8-dcd1-4746-a2ac-e702ffdc4c3e PROVISIONING_PROFILE_SPECIFIER=match InHouse com.MyCompany.MyApp | /usr/local/lib/ruby/gems/2.6.1/bin/xcpretty -r junit –no-color

What did you expect to happen?

App to successfully archive.

What happened instead?

While archiving the following errors occur. Issue occurs with both CocoaPods 1.6.0 and 1.6.1. Issue does not happen when running CocoaPods 1.5.3.

` [command]/usr/bin/xcodebuild -version Xcode 10.1 Build version 10B61 [command]/usr/bin/xcodebuild -sdk iphoneos -configuration release -workspace /Users/vsts/agent/2.148.2/work/1/s/MyApp/MyApp.xcworkspace -scheme MyApp build CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY=iPhone Distribution: MyCompanyDistrobutionProfile PROVISIONING_PROFILE=848ebce8-dcd1-4746-a2ac-e702ffdc4c3e PROVISIONING_PROFILE_SPECIFIER=match InHouse com.MyCompany.MyApp | /usr/local/lib/ruby/gems/2.6.1/bin/xcpretty -r junit –no-color

❌ error: Appirater does not support provisioning profiles. Appirater does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘Appirater’)

❌ error: BugfenderSDK does not support provisioning profiles. BugfenderSDK does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘BugfenderSDK’)

❌ error: GoogleUtilities does not support provisioning profiles. GoogleUtilities does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘GoogleUtilities’)

❌ error: FirebaseCore does not support provisioning profiles. FirebaseCore does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘FirebaseCore’)

❌ error: nanopb does not support provisioning profiles. nanopb does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘nanopb’)

❌ error: FirebaseInstanceID does not support provisioning profiles. FirebaseInstanceID does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘FirebaseInstanceID’)

❌ error: JDFTooltips does not support provisioning profiles. JDFTooltips does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘JDFTooltips’)

❌ error: TGPControls does not support provisioning profiles. TGPControls does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘TGPControls’)

❌ error: libPhoneNumber-iOS does not support provisioning profiles. libPhoneNumber-iOS does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘libPhoneNumber-iOS’)

❌ error: UISS does not support provisioning profiles. UISS does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘UISS’)

❌ error: Pods-MyApp does not support provisioning profiles. Pods-MyApp does not support provisioning profiles, but provisioning profile {My Profile} has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘Pods-MyApp’)

BUILD FAILED `

CocoaPods Environment

/usr/local/lib/ruby/gems/2.6.1/bin/pod install

Updated 21/04/2019 18:40 7 Comments

Implement Pub/Sub and RabbitMQ

amypetrie/hiking_trails_challenge

Second Repo created here: https://github.com/amypetrie/hike_vote_microsvc

A JSON message is dropped into RabbitMQ, formatted thusly: {"name":"Chimney Gulch Trail","vote":1,"voter":{"first_name":"Forrest","last_name":"Grant"}}

The Pub/Sub container should receive that message, parse it, and POST the attributes to the API container.

Updated 05/04/2019 01:10

Location Search does not work after error occurs

publiclab/mapknitter

What happened just before the problem occurred

If a user enter bad location coordinates or default values like 0.0 and 0.0 then it sets url to (–24) and location search does not work.

location

Relevant URLs

when you login something from your publiclab account https://mapknitter.org/maps/new https://mapknitter.org/maps

PublicLab.org username

igniteeng000 (to help reproduce the issue)

Browser, version, and operating system

Chrome, Windows 10

For bug reports, fill out the above template; for feature requests, you can delete the template.

Updated 03/04/2019 19:57

Blog redesign next steps and discussion

publiclab/plots2

We’re looking to improve the blog template again with some design inspiration from this WordPress template:

image

We’d like to keep it really minimal but want to:

  • add a sidebar including recent posts
  • show only the first 300px of the post content, with a Read more button that toggles the rest to be visible
  • include social media links in sidebar
  • include a list of recent tweets in sidebar

We’d love help chopping this up into pieces to implement! This is a pretty simple set of changes that would make some good first-timers-only issues!

Updated 21/04/2019 16:04 29 Comments

Refactor answers_controller with simpler user role check

publiclab/plots2

Hi, this is a first-timers-only issue. This means we’ve worked to make it more legible to folks who either haven’t contributed to our codebase before, or even folks who haven’t contributed to open source before.

If that’s you, we’re interested in helping you take the first step and can answer questions and help you out as you do. Note that we’re especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

🤔 What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

📋 Step by Step

  • [ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they’ve opened a pull request already and if they’re stuck – maybe you can help them solve a problem or move it along!

  • [ ] 📝 Update the file app/controllers/answers_controller.rb in the plots2 repository (press the little pen Icon) and edit the line as shown below.

See this page for some help in taking your first steps!

Below is a “diff” showing in red (and a -) which lines to remove, and in green (and a +) which lines to add:

@@ -30,10 +30,7 @@ def update
   end

   def delete
-    if current_user.uid == @answer.node.uid ||
-       @answer.uid == current_user.uid ||
-       current_user.role == 'admin' ||
-       current_user.role == 'moderator'
+    if current_user.uid == @answer.node.uid || @answer.uid == current_user.uid || logged_in_as(['admin', 'moderator'])
       respond_to do |format|
         if @answer.destroy
           format.html { redirect_to @answer.node.path(:question), notice: 'Answer deleted' }
@@ -49,7 +46,7 @@ def delete
   end

   def accept
-    if current_user.role == "admin" || current_user.role == "moderator" || current_user.uid == @answer.node.uid
+    if logged_in_as(['admin', 'moderator']) || current_user.uid == @answer.node.uid
       respond_to do |format|
         if @answer.accepted
           @answer.accepted = false
  • [ ] 💾 Commit your changes

  • [ ] 🔀 Start a Pull Request. There are two ways how you can start a pull request:

  • If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  • You can also edit files directly in your browser and open a pull request from there.

  • [ ] 🏁 Done Ask in comments for a review :)

Please keep us updated

💬⏰ - We encourage contributors to be respectful to the community and provide an update within a week of claiming a first-timers-only issue. We’re happy to keep it assigned to you as long as you need if you update us with a request for more time or help, but if we don’t see any activity a week after you claim it we may reassign it to give someone else a chance. Thank you in advance!

If this happens to you, don’t sweat it! Grab another open issue.

Is someone else already working on this?

🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone’s already started on it.

👥- If someone seems stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

🤔❓ Questions?

Leave a comment below!

Updated 02/04/2019 14:35 3 Comments

link: :force doesn't link if already installed.

Homebrew/homebrew-bundle

Hi

I just set up development for an application I’m working on that uses Brewfile, which has:

brew 'gettext', link: :force

I already had gettext installed, but not linked. After brew bundle running, it was still not linked.

I understand depending on linking isn’t a great idea, but I’d still expect this to force link even though it is already installed, just so that it matches the Brewfile.

Thanks,

Adam

Updated 02/04/2019 13:13 1 Comments

uninitialized constant Cucumber::Events::TestCaseStarted (NameError)

reportportal/agent-ruby

I am getting below error while running reportportal fomatter as below. Attached stack trace of error using ruby 2.4 and cucumber 2.4.

bundle exec  cucumber features -f ReportPortal::Cucumber::Formatter  UI_ENV=PROD TEST_PROFILE=testui-ui BROWSER=chrome 

uninitialized constant Cucumber::Events::TestCaseStarted (NameError)
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/events/bus.rb:67:in `block in constantize'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/events/bus.rb:63:in `each'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/events/bus.rb:63:in `inject'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/events/bus.rb:63:in `constantize'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/events/bus.rb:44:in `parse_event_id'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/events/bus.rb:22:in `register'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/bundler/gems/agent-ruby-4e39f69faf6c/lib/report_portal/cucumber/formatter.rb:44:in `block in initialize'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/bundler/gems/agent-ruby-4e39f69faf6c/lib/report_portal/cucumber/formatter.rb:43:in `each'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/bundler/gems/agent-ruby-4e39f69faf6c/lib/report_portal/cucumber/formatter.rb:43:in `initialize'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/runtime.rb:198:in `new'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/runtime.rb:198:in `create_formatter'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/runtime.rb:191:in `block in formatters'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/configuration.rb:180:in `block in formatter_factories'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/configuration.rb:175:in `map'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/configuration.rb:175:in `formatter_factories'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/runtime.rb:190:in `formatters'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/runtime.rb:172:in `report'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/runtime.rb:64:in `run!'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/lib/cucumber/cli/main.rb:32:in `execute!'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/gems/cucumber-2.4.0/bin/cucumber:8:in `<top (required)>'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/bin/cucumber:23:in `load'
/Users/vijay/Desktop/gsx-forked-new/gsx-ui-automation/vendor/bundle/ruby/2.4.0/bin/cucumber:23:in `<top (required)>'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/cli/exec.rb:74:in `load'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/cli/exec.rb:74:in `kernel_load'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/cli/exec.rb:28:in `run'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/cli.rb:463:in `exec'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/cli.rb:27:in `dispatch'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/cli.rb:18:in `start'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/exe/bundle:30:in `block in <top (required)>'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/Users/vijay/.rvm/gems/ruby-2.4.5/gems/bundler-2.0.1/exe/bundle:22:in `<top (required)>'
/Users/vijay/.rvm/gems/ruby-2.4.5/bin/bundle:23:in `load'
/Users/vijay/.rvm/gems/ruby-2.4.5/bin/bundle:23:in `<main>'
/Users/vijay/.rvm/gems/ruby-2.4.5/bin/ruby_executable_hooks:24:in `eval'
/Users/vijay/.rvm/gems/ruby-2.4.5/bin/ruby_executable_hooks:24:in `<main>'

Below are contents of my “Gemfile”

gem 'reportportal', git: 'https://github.com/reportportal/agent-ruby.git'

gem 'rest-client'

gem 'rubytree', git: 'https://github.com/razboev/RubyTree'

gem 'rake'

gem 'parallel_tests','2.16.1'

gem 'logging'

gem 'log4r'

gem 'chromedriver-helper'

gem 'structured_warnings' , git: 'https://github.com/esambo/structured_warnings.git' , branch: 'ruby24'

# gem "calabash-ios", "0.20.4"
gem "cucumber", "~> 2.4"


group :cucumber do
  gem 'cucumber_spinner'
end
Updated 10/04/2019 16:46 6 Comments

Add time and link to email digest header

publiclab/plots2

Hi, this is a first-timers-only issue. This means we’ve worked to make it more legible to folks who either haven’t contributed to our codebase before, or even folks who haven’t contributed to open source before.

If that’s you, we’re interested in helping you take the first step and can answer questions and help you out as you do. Note that we’re especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

🤔 What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

📋 Step by Step

  • [ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they’ve opened a pull request already and if they’re stuck – maybe you can help them solve a problem or move it along!

  • [ ] 📝 Update the file app/views/subscription_mailer/send_digest.html.erb in the plots2 repository (press the little pen Icon) and edit the line as shown below.

See this page for some help in taking your first steps!

Below is a “diff” showing in red (and a -) which lines to remove, and in green (and a +) which lines to add:

@@ -1,10 +1,11 @@
 <header style="text-align: center;color:black">
   <img src="https://avatars2.githubusercontent.com/u/4621650?s=200&v=4" style="width: 100px;height: 100px">
   <p style="font-size: 20px">[Public Lab] <%= @subject %></p>
+  <p><%= Time.now.strftime("%B %-d %Y") %></p>
 </header>

 <div style="width: 46vw;margin: 0 auto;margin-top: 54px;color: black;">
-  <p style="font-size: 1.2em; font-family: sans-serif;margin-bottom: 0;color: lightgray;">Top picks for you</p>
+  <p style="font-size: 1.2em; font-family: sans-serif;margin-bottom: 0;color: lightgray;">Based on what you're following at <a href="https://publiclab.org">PublicLab.org</a></p>
   <hr id="first" style="border: none;height: 1px;background-color: #e2e2e2;margin-bottom: 32px;">
   <table style="font-family: sans-serif;">
     <% @nodes.each do |n| %>
@@ -21,7 +22,7 @@
         </div>
         <div style="margin-top: 20px;">
           <b style="font-weight: 500;"><%= n.author.username.capitalize %></b>
-          <p style="margin: 0;color: #999;font-weight: 500;">Published <%= n.created_at %>.strftime("%m/%d")</p>
+          <p style="margin: 0;color: #999;font-weight: 500;">Published <%= n.created_at.strftime("%B %-d %Y") %></p>
         </div>
         <div <% unless n.main_image.present? %> colspan="2" <% end %> style="padding-bottom: 10px;">
           <p style="font-size: 1.1em;line-height: 1.5;text-align: justify;font-weight: 300;"><%= n.body.truncate(175) %><a href="https://publiclab.org<%= n.path %>" style="text-decoration: none;">  Read more</a></p>
@@ -43,4 +44,4 @@
   </table>
   <p>Click <a href="https://publiclab.org/subscriptions">here</a> to choose your followed topics</p>
   <p>Click <a href="https://publiclab.org/settings">here</a> to change your subscription settings</p>
-</div>
\ No newline at end of file
+</div>
  • [ ] 💾 Commit your changes

  • [ ] 🔀 Start a Pull Request. There are two ways how you can start a pull request:

  • If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  • You can also edit files directly in your browser and open a pull request from there.

  • [ ] 🏁 Done Ask in comments for a review :)

Please keep us updated

💬⏰ - We encourage contributors to be respectful to the community and provide an update within a week of claiming a first-timers-only issue. We’re happy to keep it assigned to you as long as you need if you update us with a request for more time or help, but if we don’t see any activity a week after you claim it we may reassign it to give someone else a chance. Thank you in advance!

If this happens to you, don’t sweat it! Grab another open issue.

Is someone else already working on this?

🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone’s already started on it.

👥- If someone seems stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

🤔❓ Questions?

Leave a comment below!

Updated 15/04/2019 21:38 5 Comments

Update README.md

ideo/c-delta-challenge

Not sure if this is a common occurrence, but if we want to disregard addressing styling components until later in part 2, we may want to move them farther down the README.md so that it doesn’t leave an open loop in the candidate’s mind.

Separating part 2.2 into two sections (read more link and sort by name/score buttons) might be helpful as well since they are distinct, separate features.

Updated 02/04/2019 18:26 1 Comments

Add note about Google Search optimisation on new job page

codebar/planner

Description of the issue 📄

Add note on new job page, about sharing jobs with Google search when address information is filled in.

Text to add:

The information below only required if you want this job post to be shared with Google Search UK.

We are also open to suggestions about how this text can be improved.

Screenshots 📷

<img width=“1231” alt=“new-job” src=“https://user-images.githubusercontent.com/159200/55354821-944b6800-54be-11e9-9d8f-e7cec5170f66.png”>

Steps to fix 🛠

  1. Add text to locale file (there is already a members/job/new section) https://github.com/codebar/planner/blob/master/config/locales/en.yml#L337

  2. Refrence locale entry from view https://github.com/codebar/planner/blob/master/app/views/member/jobs/_form.html.haml#L37

  3. Verify with a test

To do 📋

  • [ ] Claim this issue (comment below, or assign yourself if you are part of the codebar org)
  • [ ] Fork and clone the repository
  • [ ] Update the relevant files. Follow the steps to fix section in this issue.
  • [ ] Commit your changes as one commit. Use the title of this issue as your commit message
  • [ ] Submit a pull request
  • [ ] Mention this issue in the PR description by including it’s number
  • [ ] Have your pull request reviewed & merged by a codebar team member
Updated 01/04/2019 19:46

Add an API for fetching details about users in a campaign

WikiEducationFoundation/WikiEduDashboard

Martin Urbanec requests an API that could be used by an on-wiki gadget, to show a list of students in current courses. “This API should give at least a) role b) course’s name c) link to course.”

This is basically the same data that we currently provide in the campaign students and instructors CSV endpoints (and they should maybe be refactored to share logic with this new API).

Basically, we should add an campaign users.json endpoint that returns an entry for each CoursesUsers record for nonprivate courses in the campaign, with optional parameters that would scope it by role (eg, only students) and limit it to strictly current courses.

Updated 01/04/2019 18:32

Herokuオプションについて

taiki-fw/bfore

仮想環境vagrantにてherokuにデプロイ - push heroku master … OK - heroku –version ..✖️ - heroku run rake db:migrateなどはコマンドがむしされてしまう <img width=“749” alt=“スクリーンショット 2019-04-01 23 00 05” src=“https://user-images.githubusercontent.com/43266182/55333291-f2357b00-54d1-11e9-928c-c5e04fdb936b.png”>

Updated 01/04/2019 14:02

Feature alerts on nodes

publiclab/plots2

We want to display feature alerts on the nodes, such that:

If a admin add a powertag alert:featurename then the feature will be shown as alert on that node.

This can be achieved by: - [ ] Adding a condition here https://github.com/publiclab/plots2/blob/master/app/views/notes/show.html.erb#L3-L10 for powertag alert:featurename. - [ ] Drop a line about this power tag at https://publiclab.org/wiki/power-tags

Thanks!

Updated 01/04/2019 18:08 3 Comments

Pod install with legacy build system does not remove the xcfilelist files

CocoaPods/CocoaPods

Report

The pod install when the legacy build system is enabled does not produce xcfilelist files files but does not remove them from the Copy Pods Resources build phase if a previous pod install had the the new build system in the workspace.

What did you do?

pod install changed the build system of workspace to legacy pod install build

What did you expect to happen?

The build should succeed. The pod install when the legacy build system should remove them from the Copy Pods Resources build phase.

What happened instead?

the build failed with error: Dependency error can not find file "${PODS_ROOT}/Target Support Files/X-Optio/Pods-X-resources-${CONFIGURATION}-input-files.xcfilelist",

CocoaPods Environment

Stack

   CocoaPods : 1.6.1
        Ruby : ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin17]
    RubyGems : 2.6.13
        Host : Mac OS X 10.14.3 (18D109)
       Xcode : 10.1 (10B61)
         Git : git version 2.17.2 (Apple Git-113)
Ruby lib dir : /Users/christoskoninis/.rbenv/versions/2.4.2/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ e32cfb2068c5fc464211639e053a0c8968da0a37
Updated 01/04/2019 21:48 2 Comments

Organization admins should be able to configure a default quantity on items

rubyforgood/diaper

This issue relates to issue #777 and to https://github.com/rubyforgood/partner/issues/102.

Partnering agencies will be able to make a request that is expressed in terms of item ids and number of persons. For example, an agency might ask for enough preemie diapers for 1 person, enough size one diapers for 3 people, etc., as part of a single API call. (See pull https://github.com/rubyforgood/diaper/pull/783)

Administrators of diaper banks should be able to configure how their organization will respond to these requests. The basic plan is to add a default_quantity field to the Item model, and make this field configurable by admins.

Updated 03/04/2019 04:22

Wiki index ordering

publiclab/plots2

Our wiki page (https://publiclab.org/wiki) has various sorting options but not all of them work well. So, we need help with fixing this page.

Also, I think we can do some fix to the design of the page too, not major changes but some minor fixes like controlling width. etc so the column headings don t take another row.

Screenshot from 2019-03-31 13-42-00

Only edits and likes sorting is working fine and other options need to be fixed.

Here’s the controller method: https://github.com/publiclab/plots2/blob/master/app/controllers/wiki_controller.rb#L299-L324

And, here the view file: https://github.com/publiclab/plots2/blob/master/app/views/wiki/index.html.erb

Updated 11/04/2019 15:29 13 Comments

Brainstorm a list of critical full-stack system tests we should add

publiclab/plots2

Once https://github.com/publiclab/plots2/pull/4888 is merged (done!), we’ll have system tests running in Travis! This means we can test a full running application on each PR, including javascript, ruby, and everything. We’ve had some recurring and difficult-to-test issues come up over the past few years, and this is a chance to monitor those delicate and highly integrated scenarios with tests!

Here’s our initial test, which is passing, using documentation from https://guides.rubyonrails.org/testing.html#implementing-a-system-test :

https://github.com/publiclab/plots2/blob/e8cfcd442a640151eea2faf1d39ce9f5e968b95e/test/system/search_test.rb#L1-L13

Based on this template, we can do things like interact with Javascript-driven features, click on things, etc. Let’s brainstorm a list of the most critical things we should protect first with this powerful new testing system!

  • [ ] the basic login sequence – ensuring that the login modal appears, accepts inputs, and logs us in
  • [ ] same as above but for signup
  • [ ] commenting on a post
  • [ ] posting a new note
  • [ ] editing a wiki
  • [ ] using typeahead search in the navbar
  • [ ] adding a tag
  • [ ] liking

What else has broken recently?

(Note: there is also a means for system tests to take screenshots and upload them as ‘artifacts’ in Travis… 😮 📸 so if anyone wants to try opening a PR for that we’d love to see it tried out - but maybe best open a new issue for it! – update: testing here: https://github.com/publiclab/plots2/pull/5320)

Updated 18/04/2019 17:10 7 Comments

Expire/Revalidate a Partner

rubyforgood/diaper

A diaper bank needs to be able to expire a partner and get them to revalidate their information.

  • On the partner show page there should be some sort of “expire partner” or similar button which when pushed, sets the partner into needs recertification. It will send a request to the partnerbase app setting their status to recertification required and preventing them from requesting more diapers. After the partner updates any new information they can submit for approval which changes their status on the diaperbank side ot awaiting review and it will follow as expected.
Updated 11/04/2019 22:35 2 Comments

"malformed section from sensors" with k10temp (AMD) output

sensu-plugins/sensu-plugins-environmental-checks

I have several AMD machines that sensors outputs the following format:

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +27.5°C  (high = +70.0°C)
                       (crit = +90.0°C, hyst = +85.0°C)
k10temp-pci-00c3
Adapter: PCI adapter
temp1:         +30.5°C  (high = +70.0°C)
                       (crit = +90.0°C, hyst = +85.0°C)

…which check-temperature.rb reports as:

$ /opt/sensu-plugins-ruby/embedded/bin/check-temperature.rb 
malformed section from sensors: temp1:         +30.5°C  (high = +70.0°C)
CheckTemperature OK: All sensors are reporting safe temperature readings.
Updated 30/03/2019 22:34 2 Comments

Change deliver_now to deliver_later for all emails

publiclab/plots2

We just successfully converted the admin_controller to use deliver_later to enqueue email sending, which should really help keep the website running smoother – it uses Redis automatically to send emails on another thread.

https://github.com/publiclab/plots2/pull/4967/files shows how we did it – it did involve wrapping all failing tests with:

perform_enqueued_jobs do 
  # all test contents
end

Let’s do this for each controller, and each time we use deliver_now – you can find all instances using this search:

https://github.com/publiclab/plots2/search?q=deliver_now

We’d love help with this, and it’s fine for it to be over a series of pull requests, one at a time!

Updated 12/04/2019 20:05 6 Comments

main page not opened after installed plugin

AlphaNodes/additionals

K-20190330-741419 K-20190330-742260

and gem list

LOCAL GEMS

actioncable (5.2.2, 5.0.2) actionmailer (5.2.2, 5.0.2) actionpack (5.2.2, 5.0.2) actionpack-xml_parser (2.0.1) actionview (5.2.2, 5.0.2) activejob (5.2.2, 5.0.2) activemodel (5.2.2, 5.0.2) activerecord (5.2.2, 5.0.2) activestorage (5.2.2) activesupport (5.2.2, 5.0.2) addressable (2.6.0) akami (1.2.0) arel (9.0.0, 7.1.4) ast (2.4.0) atomic (1.1.14) awesome_nested_set (3.1.4) awesome_print (1.8.0) aws-sdk (2.9.0) aws-sdk-core (2.9.0) aws-sdk-resources (2.9.0) aws-sigv4 (1.0.0) axiom-types (0.1.1) bcrypt-ruby (3.1.1) better_errors (2.5.1) bigdecimal (default: 1.3.2) bindex (0.5.0) binding_of_caller (0.8.0, 0.7.3) bluecloth (2.2.0) brakeman (4.5.0) builder (3.2.3) bundler (default: 1.17.3, 1.14.6) byebug (9.1.0) charlock_holmes (0.6.9.4) codeclimate-engine-rb (0.4.1) coderay (1.1.2) coercible (1.0.0) coffee-rails (4.2.1) coffee-script (2.4.1) coffee-script-source (1.12.2) columnize (0.9.0) commander (4.4.7) concurrent-ruby (1.1.5, 1.1.4, 1.0.5) crack (0.4.3) crass (1.0.4) css_parser (1.7.0) csv (3.0.4) daemon_controller (1.2.0) daemons (1.2.4) dalli (2.7.10) debug_inspector (0.0.3) debugger-linecache (1.2.0) deface (1.3.2) descendants_tracker (0.0.4) did_you_mean (1.1.0) diff-lcs (1.3) equalizer (0.0.11) equatable (0.5.0) erubi (1.8.0) erubis (2.7.0) escape_utils (1.2.1) eventmachine (1.2.3) execjs (2.7.0) faraday (0.15.4, 0.11.0) faraday_middleware (0.11.0.1) fast_stack (0.1.0) fast_xor (1.1.1) fast_xs (0.8.0) ffi (1.9.18) flay (2.12.0) flog (4.6.2) gemoji (3.0.0) gherkin (4.1.1) github-markdown (0.5.3) globalid (0.4.2, 0.4.0) gyoku (0.4.6) haml (5.0.4) haml-rails (2.0.0) hashie (1.2.0) highline (2.0.1) hike (2.1.3) hiredis (0.4.5) hoe (3.16.0) hoe-bundler (1.3.0) hoe-debugging (1.3.0) hoe-gemspec (1.0.0) html2haml (2.2.0) htmlentities (4.3.4) http_parser.rb (0.5.3) httparty (0.14.0) httpauth (0.2.0) i18n (0.8.1, 0.7.0) ice_nine (0.11.2) iconv (1.0.3) invisible_captcha (0.12.0) io-console (default: 0.4.6) jaro_winkler (1.5.2) jbuilder (2.5.0) jmespath (1.3.1) jquery-rails (4.2.2) json (default: 2.0.4, 1.8.6) jwt (0.1.8) kwalify (0.7.2) launchy (2.4.3) libv8 (3.16.14.15 x86_64-linux) liquid (2.6.3) listen (3.0.8) logger (1.3.0) loofah (2.2.3, 2.0.3) mail (2.7.1, 2.6.4) marcel (0.3.3) memcache-client (1.8.5) method_source (0.9.2, 0.8.2) mime-types (3.1) mime-types-data (3.2016.0521) mimemagic (0.3.3) mini_magick (4.7.0) mini_mime (1.0.1) mini_portile (0.6.0) mini_portile2 (2.4.0, 2.3.0) minitest (5.11.3, 5.10.1) multi_json (1.12.1, 1.5.0) multi_xml (0.6.0) multipart-post (2.0.0) mysql2 (0.5.2, 0.4.2) necromancer (0.4.0) net-ldap (0.16.1) net-telnet (0.1.1) nio4r (2.3.1, 2.0.0) nokogiri (1.10.1, 1.8.1) oauth (0.4.7) oj (3.7.11, 2.18.5) omniauth (1.1.4) openssl (default: 2.0.9) ox (2.10.0) parallel (1.16.2) parser (2.6.2.0) passenger (5.1.2) pastel (0.7.2) path_expander (1.0.3) pg (0.18.0.pre20141117110243, 0.15.1) polyglot (0.3.5) posix-spawn (0.3.13) power_assert (0.4.1) psych (3.1.0, default: 2.2.2) public_suffix (3.0.3) puma (3.8.2) racc (1.4.14) rack (2.0.6, 2.0.1) rack-openid (1.4.2) rack-test (1.1.0, 0.6.3) rails (5.2.2, 5.0.2) rails-deprecated_sanitizer (1.0.3) rails-dom-testing (2.0.3, 2.0.2) rails-html-sanitizer (1.0.4, 1.0.3) railties (5.2.2, 5.0.2) rainbow (3.0.0) rake (12.3.2, 12.0.0, 0.8.7) rake-compiler (1.0.3) rb-fsevent (0.9.8) rb-inotify (0.9.8) rbpdf (1.19.8) rbpdf-font (1.19.1) rdiscount (2.2.0.1) rdoc (default: 5.0.0, 4.0.1) redcarpet (3.4.0, 3.0.0) RedCloth (4.3.2) redis (3.3.3) redmine-installer (2.2.7) redmine_crm (0.0.42) redmine_extensions (0.3.00, 0.2.16) reek (5.3.2) ref (2.0.0) request_store (1.0.5) require_patch (0.3.3) rexical (1.0.5) rinku (2.0.2) rmagick (2.16.0, 2.15.4) roadie (3.4.0) roadie-rails (1.3.0) rouge (3.3.0) rspec (3.5.0) rspec-core (3.5.4) rspec-expectations (3.5.0) rspec-mocks (3.5.0) rspec-support (3.5.0) rubocop (0.66.0) ruby-hmac (0.4.0) ruby-openid (2.3.0) ruby-progressbar (1.10.0) ruby_parser (3.13.1) rubycritic (4.0.2) rubygems-update (3.0.3) rubyzip (1.2.2) safe_yaml (1.0.4) sass (3.4.23) sass-rails (5.0.6) sdoc (0.4.2) sexp_processor (4.12.0) simple_enum (2.3.2) simple_oauth (0.1.9) slim (4.0.1) slim-rails (3.2.0) slim_lint (0.16.1) slop (4.4.1) spring (2.0.1) spring-watcher-listen (2.0.1) sprockets (3.7.2, 3.7.1) sprockets-rails (3.2.1, 3.2.0) sqlite3 (1.3.13) sqlite3-ruby (1.3.3) subexec (0.2.3) sysexits (1.2.0) temple (0.8.1) test-unit (3.2.3) therubyracer (0.12.3) thin (1.7.0) thor (0.20.3, 0.19.4, 0.18.1) thread_safe (0.3.6) tilt (2.0.9, 2.0.6) timers (4.3.0) togglv8 (1.2.1) treetop (1.6.8) tty-color (0.4.3) tty-cursor (0.5.0) tty-progressbar (0.15.1) tty-prompt (0.16.1) tty-reader (0.3.0) tty-screen (0.6.5) tty-spinner (0.8.0) tty-which (0.4.0) turbolinks (5.0.1) turbolinks-source (5.0.0) twitter-stream (0.1.16) tzinfo (1.2.5, 1.2.3) tzinfo-data (1.2016.10) uglifier (3.0.4) unicode-display_width (1.5.0) uuidtools (2.1.5) virtus (1.0.5) web-console (3.4.0) websocket-driver (0.7.0, 0.6.5) websocket-extensions (0.1.3, 0.1.2) will_paginate (3.1.7) wisper (2.0.0) xmlrpc (0.2.1) yajl-ruby (1.3.0) zip-zip (0.3)

i try v2-stable and master both installed.. but main page not open..

i don’t find error source file. what location?

i installed version bitnami redmine for linux 4.0.2

Updated 30/03/2019 14:44 4 Comments

Reminder Email

rubyforgood/diaper

Summary

Diaper banks have a specific day that they need their requests in by. They need to be have the option to be able to set a reminder email and deadline date. So, for example, a diaper bank needs to set the day of the month that their requests are due, and they need to set a day that the reminder email will go out.

So they could set the 10th as the reminder date and the 15th as the deadline. Then their partners will get an email on the 10th letting them know that they need to submit their request by the 15th if they want to receive diapers the following month.

Criteria for Completion

  • [ ] Add a boolean field to partners to denote active or not (send_reminders).
  • [ ] Add two new fields on the organization – reminder date and deadline date.
  • [ ] Create a daily task that runs each night and checks if any diaper banks have reminder date that day. If so, they need to send a reminder email to each partner of theirs that is marked as active.
  • [ ] Add UI elements to partner and organization editing forms to allow for editing the above information.

Notes

The daily task will probably need to be broken up into two parts – the method that actually executes the check, and then the Sidekiq itself that invokes it. Remember that queueing an Sidekiq requires you to pass in the id and serialize any data, because in-memory objects don’t persist

Updated 22/04/2019 10:06 4 Comments

When uploading Partner Agency CSV, do not send e-mail automatically

rubyforgood/diaper

Ref #699

Summary

When a new organization uploads a CSV of their Partner Agencies, it currently (might be?) sending the notification e-mail to the Partner automatically. We want this to be something that the Diaperbase user explicitly acts on, instead.

Criteria for Completion

  • [ ] When a CSV is uploaded, no e-mails should be sent
  • [ ] A button should be added to Partners#index for “Send Invitation Email” (consult app/helpers/ui_helper.rb)
  • [ ] The button should not display after the Partner status is “approved” (See notes below)
  • [ ] Add a test confirming no e-mails are sent
  • [ ] Add a test confirming the button sends an email

Notes

There are some funny issues about partner status. This needs some further discussion.

Updated 30/03/2019 03:45

Button short-codes replace entire wiki page

publiclab/plots2

After #4965 #5058, we have this nice new shortcode for making buttons, and it’s well-tested too!

Unfortunately I tried it out and it seems to replace the whole page, not just the code we found. I think it needs a small tweak to work properly! We might start by checking in the tests to assert that the whole page wasn’t replaced.

Here are 2 button codes I tried:

[button:Add an activity:/post?tags=activity:coqui-usage,coqui,water-quality,seeks:replications&title=How%20to%20do%20X]  or request an activity guide you don't see listed

[button:Add an activity:/post]  or request an activity guide you don't see listed

This can be tested on https://stable.publiclab.org on any wiki page!

Updated 20/04/2019 10:24 2 Comments

Enable "activities" variant of [notes:grid:TAGNAME] inline tag

publiclab/plots2

Now that we have inline image grids, like on this page: https://publiclab.org/wiki/coqui#Assemble+the+Coqui

image

…that can be made by inserting the following shortcode into a wiki page: [notes:grid:coqui] (for example),

We should make the Add an activity button appear if we use the alternate syntax:

[activities:grid:coqui]

image

Here’s where we show the button:

https://github.com/publiclab/plots2/blob/e7d1315189f3e4b7ad0e1f50c1ed74c1d371c6bf/app/views/grids/_notes.html.erb#L68-L74

And here are lines of code where the current Activities grid is added:

https://github.com/publiclab/plots2/blob/master/app/helpers/application_helper.rb#L84

https://github.com/publiclab/plots2/blob/master/app/models/concerns/node_shared.rb#L190-L221

Here’s the thumbnails grid code that would be copied to make an activities thumbnails grid:

https://github.com/publiclab/plots2/blob/master/app/models/concerns/node_shared.rb#L20-L56

We’d love help with this!

Updated 11/04/2019 23:39 9 Comments

Refactor admin_controller with simpler user login/role check

publiclab/plots2

Hi, this is a first-timers-only issue. This means we’ve worked to make it more legible to folks who either haven’t contributed to our codebase before, or even folks who haven’t contributed to open source before.

If that’s you, we’re interested in helping you take the first step and can answer questions and help you out as you do. Note that we’re especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

🤔 What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

📋 Step by Step

  • [ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they’ve opened a pull request already and if they’re stuck – maybe you can help them solve a problem or move it along!

  • [ ] 📝 Update the file app/controllers/admin_controller.rb in the plots2 repository (press the little pen Icon) and edit the line as shown below.

See this page for some help in taking your first steps!

Below is a “diff” showing in red (and a -) which lines to remove, and in green (and a +) which lines to add:

@@ -7,7 +7,7 @@ def assets; end
   def promote_admin
     @user = User.find params[:id]
     unless @user.nil?
-      if current_user && current_user.role == 'admin'
+      if logged_in_as(['admin'])
         @user.role = 'admin'
         @user.save
         flash[:notice] = "User '<a href='/profile/" + @user.username + "'>" + @user.username + "</a>' is now an admin."
@@ -21,7 +21,7 @@ def promote_admin
   def promote_moderator
     @user = User.find params[:id]
     unless @user.nil?
-      if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+      if logged_in_as(['admin', 'moderator'])
         @user.role = 'moderator'
         @user.save
         flash[:notice] = "User '<a href='/profile/" + @user.username + "'>" + @user.username + "</a>' is now a moderator."
@@ -35,7 +35,7 @@ def promote_moderator
   def demote_basic
     @user = User.find params[:id]
     unless @user.nil?
-      if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+      if logged_in_as(['admin', 'moderator'])
         @user.role = 'basic'
         @user.save
         flash[:notice] = "User '<a href='/profile/" + @user.username + "'>" + @user.username + "</a>' is no longer a moderator."
@@ -47,7 +47,7 @@ def demote_basic
   end

   def reset_user_password
-    if current_user && current_user.role == 'admin'
+    if logged_in_as(['admin'])
       user = User.find(params[:id])
       if user
         key = user.generate_reset_key
@@ -61,7 +61,7 @@ def reset_user_password
   end

   def useremail
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       if params[:address]
         # address was submitted. find the username(s) and return.
         @address = params[:address]
@@ -75,7 +75,7 @@ def useremail
   end

   def spam
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       @nodes = Node.paginate(page: params[:page])
                    .order('nid DESC')
       @nodes = if params[:type] == 'wiki'
@@ -90,7 +90,7 @@ def spam
   end

   def spam_revisions
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       @revisions = Revision.paginate(page: params[:page])
                            .order('timestamp DESC')
                            .where(status: 0)
@@ -115,7 +115,7 @@ def spam_comments

   def mark_spam
     @node = Node.find params[:id]
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       if @node.status == 1 || @node.status == 4
         @node.spam
         @node.author.ban
@@ -138,7 +138,7 @@ def mark_spam

   def mark_comment_spam
     @comment = Comment.find params[:id]
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       if @comment.status == 1 || @comment.status == 4
         @comment.spam
         user = @comment.author
@@ -155,7 +155,7 @@ def mark_comment_spam
   end

   def publish_comment
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       @comment = Comment.find params[:id]
       if @comment.status == 1
         flash[:notice] = 'Comment already published.'
@@ -181,7 +181,7 @@ def publish_comment
   end

   def publish
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       @node = Node.find params[:id]
       if @node.status == 1
         flash[:notice] = 'Item already published.'
@@ -223,7 +223,7 @@ def mark_spam_revision
       return
     end

-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       if @revision.status == 1
         @revision.spam
         @revision.author.ban
@@ -244,7 +244,7 @@ def mark_spam_revision
   end

   def publish_revision
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       @revision = Revision.find params[:vid]
       @revision.publish
       @revision.author.unban
@@ -262,7 +262,7 @@ def publish_revision

   def moderate
     user = User.find params[:id]
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       user.moderate
       flash[:notice] = 'The user has been moderated.'
     else
@@ -273,7 +273,7 @@ def moderate

   def unmoderate
     user = User.find params[:id]
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       user.unmoderate
       flash[:notice] = 'The user has been unmoderated.'
     else
@@ -284,7 +284,7 @@ def unmoderate

   def ban
     user = User.find params[:id]
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       user.ban
       flash[:notice] = 'The user has been banned.'
     else
@@ -295,7 +295,7 @@ def ban

   def unban
     user = User.find params[:id]
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       user.unban
       flash[:notice] = 'The user has been unbanned.'
     else
@@ -305,7 +305,7 @@ def unban
   end

   def users
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       @users = User.order('uid DESC').limit(200)
     else
       flash[:error] = 'Only moderators can moderate other users.'
@@ -314,7 +314,7 @@ def users
   end

   def batch
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       nodes = 0
       users = []
       params[:ids].split(',').uniq.each do |nid|
@@ -333,26 +333,8 @@ def batch
     end
   end

-  def migrate
-    if current_user && current_user.role == 'admin'
-      du = User.find params[:id]
-      if du.user
-        flash[:error] = 'The user has already been migrated.'
-      else
-        if du.migrate
-          flash[:notice] = 'The user was migrated! Enthusiasm!'
-        else
-          flash[:error] = 'The user could not be migrated.'
-        end
-      end
-    else
-      flash[:error] = 'Only admins can migrate users.'
-    end
-    redirect_to '/profile/' + du.name
-  end
-
   def queue
-    if current_user && (current_user.role == 'moderator' || current_user.role == 'admin')
+    if logged_in_as(['admin', 'moderator'])
       @notes = Node.where(status: 4)
                    .paginate(page: params[:page])
       flash[:warning] = "These are notes requiring moderation. <a href='/wiki/moderation'>Community moderators</a> may approve or reject them."
  • [ ] 💾 Commit your changes

  • [ ] 🔀 Start a Pull Request. There are two ways how you can start a pull request:

  • If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  • You can also edit files directly in your browser and open a pull request from there.

  • [ ] 🏁 Done Ask in comments for a review :)

Please keep us updated

💬⏰ - We encourage contributors to be respectful to the community and provide an update within a week of claiming a first-timers-only issue. We’re happy to keep it assigned to you as long as you need if you update us with a request for more time or help, but if we don’t see any activity a week after you claim it we may reassign it to give someone else a chance. Thank you in advance!

If this happens to you, don’t sweat it! Grab another open issue.

Is someone else already working on this?

🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone’s already started on it.

👥- If someone seems stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

🤔❓ Questions?

Leave a comment below!

Updated 23/04/2019 09:15 3 Comments

Change `author.user` to `author` to fix our RSS feeds

publiclab/plots2

Hi, this is a first-timers-only issue. This means we’ve worked to make it more legible to folks who either haven’t contributed to our codebase before, or even folks who haven’t contributed to open source before.

If that’s you, we’re interested in helping you take the first step and can answer questions and help you out as you do. Note that we’re especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

🤔 What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

📋 Step by Step

  • [ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they’ve opened a pull request already and if they’re stuck – maybe you can help them solve a problem or move it along!

  • [ ] 📝 Update the file app/views/tag/rss.rss.builder in the plots2 repository (press the little pen Icon) and edit the line as shown below.

See this page for some help in taking your first steps!

Below is a “diff” showing in red (and a -) which lines to remove, and in green (and a +) which lines to add:

@@ -8,8 +8,8 @@ xml.rss :version => '2.0', 'xmlns:atom' => 'http://www.w3.org/2005/Atom' do
     @notes.each do |node|
       body = node.body
       author = node.author.username
-      if node.author.user.has_power_tag('twitter')
-        author = "@#{node.author.user.get_value_of_power_tag('twitter')}"
+      if node.author.has_power_tag('twitter')
+        author = "@#{node.author.get_value_of_power_tag('twitter')}"
       end
       xml.item do
         xml.title      node.title
  • [ ] 💾 Commit your changes

  • [ ] 🔀 Start a Pull Request. There are two ways how you can start a pull request:

  • If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  • You can also edit files directly in your browser and open a pull request from there.

  • [ ] 🏁 Done Ask in comments for a review :)

Please keep us updated

💬⏰ - We encourage contributors to be respectful to the community and provide an update within a week of claiming a first-timers-only issue. We’re happy to keep it assigned to you as long as you need if you update us with a request for more time or help, but if we don’t see any activity a week after you claim it we may reassign it to give someone else a chance. Thank you in advance!

If this happens to you, don’t sweat it! Grab another open issue.

Is someone else already working on this?

🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone’s already started on it.

👥- If someone seems stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

🤔❓ Questions?

Leave a comment below!

Updated 03/04/2019 13:18 5 Comments

Testing polymorphic has_many associations

venuu/jsonapi-authorization

Since jsonapi-resources v0.9.6 it has been possible to do updates to polymorphic has_many associations: https://github.com/cerebris/jsonapi-resources/pull/1217

We should probably have some sort of a test to verify jsonapi-authorization works for these cases.

Would be nice if this new test case was written in a way where all the code needed for the test would be next to the test file itself, as described in https://github.com/venuu/jsonapi-authorization/pull/124#issuecomment-477892117

Updated 17/04/2019 11:31 4 Comments

SRS Task List

ionicsoft/vidon

These are the requirements listed in the SRS. Please comment or create a PR to claim a task.

Major tasks

  • [x] Movie rentals (See #26)
  • [ ] Payment management/processing
    • [ ] Decide if using mock or real api
    • [ ] Failed payments
  • [x] Publisher user logic
  • [x] Authorization to restrict access to pages and actions
  • [ ] Email system
  • [ ] Content recommendation logic for homepage
  • [ ] Video playback save/resume
  • [x] UI/UX design (See #27, #34 )
    • [ ] Navigation flow

Moderate tasks

  • [x] Add favorites infrastructure
  • [x] Add comments to video pages (See #27)
  • [ ] Add search filters (See #20)
  • [x] Purchase additional slots
  • [x] Publisher sign up page?
  • [x] [Publisher] Create content pages (movie or show overview)
  • [x] [Publisher] Create episode pages
  • [x] [Publisher] Upload videos
  • [ ] Publisher has access to the user ratings and comments on their own content.
  • [x] Video autoplay next video in series

Minor tasks

  • [ ] Add ratings to show pages (See #27)
  • [x] Add favorites buttons
  • [ ] [Publisher] Set cost of episodes/movies as free
  • [ ] Add email reminder to daily task renew == today + 5.days
Updated 23/04/2019 02:32 3 Comments

Change styling and wording of our "Tags" sidebar

publiclab/plots2

Hi, this is a first-timers-only issue. This means we’ve worked to make it more legible to folks who either haven’t contributed to our codebase before, or even folks who haven’t contributed to open source before.

If that’s you, we’re interested in helping you take the first step and can answer questions and help you out as you do. Note that we’re especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

🤔 What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

📋 Step by Step

  • [ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they’ve opened a pull request already and if they’re stuck – maybe you can help them solve a problem or move it along!

  • [ ] 📝 Update the file app/views/tag/_tagging.html.erb in the plots2 repository (press the little pen Icon) and edit the line as shown below.

See this page for some help in taking your first steps!

We’re going to edit the code for the template of the wiki pages, for example this one: https://publiclab.org/wiki/website

Here’s a screenshot of how they currently look:

image

We want to adjust the size, color, and spacing of the title and subtitle.

Below is a “diff” showing in red (and a -) which lines to remove, and in green (and a +) which lines to add:

@@ -2,12 +2,12 @@

 <!-- This is the sidebar tagging display, also renders Subscribe button for multiple subscription -->
 <div>
-  <h1 style="display: inline-block; margin-right: 20px;">Tags</h1>
+  <h2 style="display: inline-block; margin-right: 20px;">Tags</h2>
   <% if @node && !@node.node_tags.empty? && ((current_user && @node.liked_by(current_user.uid)) || !current_user) %>
     <%= render partial: 'tag/subscribe_button', locals:{tags: @node.node_tags} %>
   <% end %>
 </div>
-<em class="italics"><a href="/tags">Tags</a> organize our knowledge base. Click to learn more or subscribe to a topic.</em>
+<p style="font-style:italic;color:#aaa;"><small><a href="/tags">Tags</a> organize our knowledge base. Click one to learn more or subscribe to a topic.</small></p>


 <% if @node %>
  • [ ] 💾 Commit your changes

  • [ ] 🔀 Start a Pull Request. There are two ways how you can start a pull request:

  • If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  • You can also edit files directly in your browser and open a pull request from there.

  • [ ] 🏁 Done Ask in comments for a review :)

Please keep us updated

💬⏰ - We encourage contributors to be respectful to the community and provide an update within a week of claiming a first-timers-only issue. We’re happy to keep it assigned to you as long as you need if you update us with a request for more time or help, but if we don’t see any activity a week after you claim it we may reassign it to give someone else a chance. Thank you in advance!

If this happens to you, don’t sweat it! Grab another open issue.

Is someone else already working on this?

🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone’s already started on it.

👥- If someone seems stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

🤔❓ Questions?

Leave a comment below!

Updated 29/03/2019 15:00 3 Comments

Add reCaptcha to donation page

codebar/planner

Description of the issue 📄

We’ve recently been experiencing spam requests submitted to our donation page, and we need to add a Captcha, to verify that the requests are issued from humans, before processing them.

Service to integrate: https://developers.google.com/recaptcha/docs/v3

Expectation: No requests are processed unless the returned score is above the accepted threshold.

The requests are currently processed via the Donations controller.

Steps to fix 🛠

To do 📋

  • [ ] Claim this issue (comment below, or assign yourself if you are part of the codebar org)
  • [ ] Fork and clone the repository
  • [ ] Update the relevant files. Follow the steps to fix section in this issue.
  • [ ] Commit your changes as one commit. Use the title of this issue as your commit message
  • [ ] Submit a pull request
  • [ ] Mention this issue in the PR description by including it’s number
  • [ ] Have your pull request reviewed & merged by a codebar team member
Updated 29/03/2019 18:18 2 Comments

ssh 5.3 on CentOS 6 supports macs59

dev-sec/ssh-baseline

Describe the bug Currently is defined that ssh on CentOS 6 supports only macs from macs53 list. With this settings it’s impossible to connect by ssh from CentOS 6 to a server with CentOS 7 – you can see it, when you compare lists macs53 and macs66.

Expected behavior In man sshd_config with openssh v. 5.3p1-104.el6_6.1 you can see:

  MACs    Specifies the available MAC (message authentication code) algorithms.  The MAC algorithm is used in protocol version 2 for data integrity protection.  Multiple             
         algorithms must be comma-separated.  The default is:

               hmac-md5,hmac-sha1,umac-64@openssh.com,
               hmac-ripemd160,hmac-sha1-96,hmac-md5-96,
               hmac-sha2-256,hmac-sha2-512

So macs from macs59 list are supported and could be used.

Actual behavior Only macs from macs53 list are allowed.

OS / Environment CentOS 6, openssh 5.3p1-104.el6_6.1

Updated 28/03/2019 16:47 2 Comments

Add Windows Server support

fbocolowski/sssm

Hello, the project looks very promising, it would be nice to also have a command to monitor a Windows Server.

I think you can add your script by using WSL, but it’s not the best way to monitor a server.

I can do some testing if needed.

Updated 29/03/2019 02:47 2 Comments

Fork me on GitHub