Commit graph

3467 commits

Author SHA1 Message Date
Henne Vogelsang
920a5e84a7
Merge pull request #2553 from openSUSE/depfu/update/mini_magick-4.9.4
🚨 [security] Update mini_magick: 4.9.3 → 4.9.4 (patch)
2019-07-17 16:17:20 +02:00
Henne Vogelsang
8eb059276f
Merge pull request #2486 from openSUSE/depfu/update/group/rails-5.2.3
🚨 [security] Upgrade all of rails: 5.0.7.2 → 5.2.3 (minor)
2019-07-17 16:07:53 +02:00
depfu[bot]
20f627798a Update mini_magick to version 4.9.4 2019-07-17 10:14:29 +00:00
Ana María Martínez Gómez
eeec3df7aa
Merge pull request #2437 from Ana06/capybara_animation
Disable capybara animation
2019-07-17 00:27:55 +02:00
Ana María Martínez Gómez
9e1b214c60
Disable capybara animation
Turn off jquery animation to avoid tests with animations to fail and make
tests easy to debug.

Co-authored-by: Stephan Kulow <coolo@suse.de>
2019-07-17 00:16:41 +02:00
Ana María Martínez Gómez
014ff1acc3
Use new changed? Rails method
`attribute_changed?` inside of after callbacks has changed his
behaviour. The new return value will reflect the behavior of calling the
method after `save` returned. To maintain the current behavior, I have
`saved_change_to_attribute?` instead.
2019-07-17 00:13:24 +02:00
Ana María Martínez Gómez
085e33f495
Use url instead object in image_tag
Before Rails 5.2, it was possible to pass an uploader object to
`image_tag` and Rails guessed the url. With Rails 5.2 this is not
possible anymore.
2019-07-17 00:13:24 +02:00
Ana María Martínez Gómez
af1d5e4a3b
Do no use string in if conditional
Passing string to be evaluated in :if and :unless conditional options is
not supported. Pass a symbol for an instance method, or a lambda, proc
or block, instead.
2019-07-17 00:13:24 +02:00
depfu[bot]
254d8cb9fd
Update all of rails to version 5.2.3 2019-07-17 00:13:21 +02:00
Henne Vogelsang
e3726c776e
Merge pull request #2548 from Ana06/selenium
Update selenium-webdriver
2019-07-17 00:06:43 +02:00
Henne Vogelsang
c28cb5eac4
Install chromium in base image
Replace google-chrome with it, it has problems with webdrivers
(DevToolsActivePort file doesn't exist) and we like to use open source
anyway...

We also do not need phantomjs anymore since a long time.
2019-07-16 23:59:23 +02:00
Henne Vogelsang
04616a9b24
Switch to webdrivers, chromedriver-helper is no more
While we're at it let's also update capybara.

Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name>
2019-07-16 23:59:17 +02:00
Henne Vogelsang
e18174a3b3
Update CI to ubuntu xenial and chromium
trusty is rather old, living on the edge baby! Also switch to chromium for
testing, the latest google-chrome version has problems to start with webdrivers
(DevToolsActivePort file doesn't exist).
2019-07-16 23:49:05 +02:00
Ana María Martínez Gómez
9b12830c8f
Merge pull request #2529 from openSUSE/depfu/update/stripe-ruby-mock-2.5.7
Update stripe-ruby-mock: 2.5.6 → 2.5.7 (patch)
2019-06-12 18:10:33 +02:00
Ana María Martínez Gómez
224f0eb76f
Merge pull request #2532 from openSUSE/depfu/update/stripe-4.18.1
Update stripe: 4.11.0 → 4.18.1 (minor)
2019-06-12 17:40:18 +02:00
Ana María Martínez Gómez
56be0953be
Merge pull request #2533 from openSUSE/depfu/update/autoprefixer-rails-9.6.0
Update autoprefixer-rails: 9.5.1 → 9.6.0 (minor)
2019-06-12 17:40:03 +02:00
depfu[bot]
1b8211e61d Update autoprefixer-rails to version 9.6.0 2019-06-06 19:20:58 +00:00
depfu[bot]
461df8891a Update stripe to version 4.18.1 2019-06-06 19:16:30 +00:00
Ana María Martínez Gómez
614068874d
Merge pull request #2530 from openSUSE/depfu/update/chartkick-3.2.0
🚨 [security] Update chartkick: 3.0.2 → 3.2.0 (minor)
2019-06-06 06:13:57 +02:00
depfu[bot]
a955d6a525 Update chartkick to version 3.2.0 2019-06-05 02:07:06 +00:00
depfu[bot]
0d9f0a93fc Update stripe-ruby-mock to version 2.5.7 2019-06-04 15:16:08 +00:00
Ana María Martínez Gómez
02d3a8ec0b
Merge pull request #2526 from openSUSE/depfu/update/airbrake-9.2.2
Update airbrake: 9.2.1 → 9.2.2 (patch)
2019-06-04 17:13:00 +02:00
Ana María Martínez Gómez
f7d7bfb2e2
Merge pull request #2476 from differentreality/url_helpers_in_switch_checkbox
Use helpers instead of URLs in switch checkboxes
2019-06-04 17:12:32 +02:00
depfu[bot]
0834923c78 Update airbrake to version 9.2.2 2019-06-03 07:26:02 +00:00
Ana María Martínez Gómez
47ce659a2f
Merge pull request #2374 from openSUSE/depfu/update/shoulda-matchers-4.0.1
Update shoulda-matchers: 3.1.2 → 4.0.1 (major)
2019-06-03 09:23:52 +02:00
Ana María Martínez Gómez
9303375f7e
Merge pull request #2525 from Ana06/fix_event_registrations
Fix event registatrion for rooms without size
2019-06-01 11:09:42 +02:00
Stella Rouzi
b590bc4145
Use helpers instead of URLs in switch checkboxes
Absolute URLs may be potentially breaking functionality, eg in case of
sub-directory installation.

Fixes https://github.com/openSUSE/osem/issues/2472

Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name>
2019-05-31 00:24:21 +02:00
Ana María Martínez Gómez
f64cd7323f
Do not use readonly checkboxes to render information
Just render `Yes` or `No` instead of a disabled checkbox with these two
options in the recent users section of conference#index.
2019-05-31 00:24:14 +02:00
Ana María Martínez Gómez
51c8af42ab
Fix event registatrion for rooms without size
If the room size is not set (which is possible as the size is not
mandatory), the events registrations page breaks because of a
comparison of nil with Integer.
2019-05-31 00:12:15 +02:00
Henne Vogelsang
dcd10f170f
Merge pull request #2523 from hennevogel/bugfix/gigitty_link
Bugfix/gigitty link
2019-05-24 15:32:43 +02:00
Henne Vogelsang
e6049adc52
Fix gigitty link
The modal didn't really work on mobiles. On mobiles you also need the schedule
link because it's hard to point your mobile to a QR code on your mobile...
2019-05-24 15:19:37 +02:00
Henne Vogelsang
9df85e5ae4
Delete tmp file 2019-05-24 14:34:07 +02:00
Henne Vogelsang
4e79ba3e81
Merge pull request #2522 from hennevogel/bugfix/csrf_commercials
Bugfix/csrf commercials
2019-05-24 14:31:30 +02:00
Henne Vogelsang
7338bc2648
Skip CSRF authenticity
The way we are handling adding commercials (preload with javascript)
leads to an outdated token otherwise.
2019-05-24 14:08:23 +02:00
Henne Vogelsang
84b25e3a54
Remove protect_from_forgery
This is handled in ApplicationController
2019-05-24 14:07:39 +02:00
Henne Vogelsang
1648d7062a
Merge pull request #2518 from hennevogel/feature/scheudle_qr
Point to Giggity from the schedule page
2019-05-24 13:54:16 +02:00
Henne Vogelsang
4dc618810b
Point to Giggity from the schedule page
Tell users that they can also view schedules in an android app.
2019-05-24 11:37:03 +02:00
Stephan Kulow
617f1e9eb0
Merge pull request #2519 from Ana06/rails-update-broken
Update devise_ichain_authenticatable to 0.3.2
2019-05-23 16:12:14 +02:00
Ana María Martínez Gómez
174c081b80
Update devise_ichain_authenticatable to 0.3.2
Otherwise instances using ichain authentication (such as
events.opensuse.org) break after the Rails 5.1 update.
2019-05-23 15:26:57 +02:00
Ana María Martínez Gómez
a8ad134706
Merge pull request #2502 from Ana06/rails-5-1
WIP Update to Rails 5.1
2019-05-16 15:42:16 +02:00
Ana María Martínez Gómez
d1180e2767
Use keyword arguments in tests
Raisl 5.1 removes support for non-keyword arguments in `#process`,
`#get`, `#post`, `#patch`, `#put`, `#delete`, and `#head` for the
`ActionDispatch::IntegrationTest` and `ActionController::TestCase`
classes. This means we have to add `params` everywhere in the controller
tests.
2019-05-14 14:10:36 +02:00
Ana María Martínez Gómez
b8013661a2
Use render plain instead text
`render text` is deprecated and it has been remvoed from Rails 5.1.
2019-05-13 17:15:31 +02:00
Ana María Martínez Gómez
a444627a5e
Update to Rails 5.1
We need to update to Rails 5.2 because of the security issue:

https://groups.google.com/forum/#!topic/rubyonrails-security/IsQKvDqZdKw

But this is not an easy update, so let's try to update in small steps.
2019-05-13 17:09:42 +02:00
Ana María Martínez Gómez
0c5aedb2fb
Merge pull request #2499 from openSUSE/depfu/update/paper_trail-10.3.0
Update paper_trail: 10.2.1 → 10.3.0 (minor)
2019-05-10 20:27:04 +02:00
Ana María Martínez Gómez
d9fe0f83b0
Merge pull request #2500 from openSUSE/depfu/update/recaptcha-4.14.0
Update recaptcha: 4.13.2 → 4.14.0 (minor)
2019-05-10 20:26:44 +02:00
Ana María Martínez Gómez
5ed53bf98f
Merge pull request #2513 from openSUSE/depfu/update/airbrake-9.2.1
Update airbrake: 9.0.0 → 9.2.1 (minor)
2019-05-10 20:25:59 +02:00
Ana María Martínez Gómez
c587cf1998
Merge pull request #2515 from Ana06/pre-rails-5-1
Some prerequisites to update to Rails 5.1
2019-05-10 20:22:07 +02:00
Henne Vogelsang
9086d5f9bf
Merge pull request #2516 from hennevogel/bugfix/rubocop_tasks
Only define rubocop tasks in the dev env
2019-05-08 09:34:18 +02:00
Henne Vogelsang
3f07a8e68c
Only define rubocop tasks in the dev env
This broke loading the rake tasks in the production environment as we only have
rubocop in development.
2019-05-07 15:43:25 +02:00
Henne Vogelsang
0b6d18e3d3
Merge pull request #2508 from Ana06/changes
Document roles:add rake task in update from 1.0
2019-05-07 12:34:00 +02:00