Commit graph

164 commits

Author SHA1 Message Date
Ana María Martínez Gómez
dc12674eba
Do not lock airbrake in Gemfile
There is not reason to not use new versions of airbrake. Update to last
version 9.0.0.
2019-04-01 15:15:02 +02:00
Ana María Martínez Gómez
7dd6afbb57
Do not lock cancancan in Gemfile
There is not reason to not use new versions of cancancan.
2019-04-01 15:15:02 +02:00
Ana María Martínez Gómez
6c50723bf1
Do not lock prawn-qrcode in Gemfile
There is not reason to not use new versions of prawn-qrcode.
2019-04-01 15:15:01 +02:00
Ana María Martínez Gómez
1c8fa62fbc
Remove thor from Gemfile
thor was set to 1.19.1 because of a bug, but it is not longer needed:

https://github.com/openSUSE/osem/issues/1664
2019-04-01 15:14:43 +02:00
Ana María Martínez Gómez
66626ce478
Do not lock awesome_nested_set in Gemfile
There is not reason to not use new versions of awesome_nested_set.
2019-04-01 15:13:30 +02:00
Ana María Martínez Gómez
c05a2ad583
Do not lock rails-i18n in Gemfile
There is not reason to not use new versions of rails-i18n. Update to
last version 1.6.0.
2019-04-01 15:13:30 +02:00
Henne Vogelsang
959d5af1e4
Drop rails_12factor gem
Use the proposed rails 5 environment variables instead.
2019-03-11 17:42:54 +01:00
Ana María Martínez Gómez
d6688eba68 Get rid of letter-opener-web gem
It was only used in Vagrand and he have gotten rid of it.
2019-02-26 16:30:56 +01:00
Henne Vogelsang
ae9430dfb8 Revert "Add rails-ujs"
This reverts commit b846df30f9.
2019-02-22 02:04:57 +01:00
Henne Vogelsang
b846df30f9 Add rails-ujs 2019-02-21 23:57:07 +01:00
depfu[bot]
ee74105e86 Update bootstrap3-datetimepicker-rails to version 4.17.47 2019-02-19 23:38:01 +01:00
depfu[bot]
3a19b8acb4 Update rails-assets-to-markdown to version 3.1.1 2019-02-19 22:52:26 +01:00
James Mason
516e53d9df Use chartkick globally
* Clean up legacy charting imports
* Update existing donut and line charts
* Create helpers for parsing out existing chart data
* Move chart partials to a more common path
2018-12-30 16:57:22 -08:00
depfu[bot]
3bbac3667f Update prawn-qrcode to version 0.3.0 2018-12-29 11:40:01 +01:00
depfu[bot]
4e96f76926 Update bootstrap-sass to version 3.4.0 2018-12-28 17:14:03 -08:00
James Mason
b4c7c8d5a4 Provide primitive test coverage of the ticket pdf 2018-12-19 12:30:45 -08:00
James Mason
5028edb407 Update rspec-rails 3.6.0 → 3.6.1; unlock version in Gemfile. 2018-11-28 12:35:28 -08:00
James Mason
d493a56e81 Update haml-lint for HAML 5
https://github.com/brigade/haml-lint/issues/247#issuecomment-308332241
2018-11-28 11:46:48 -08:00
James Mason
8b066c1990 CVE-2018-16476: Update Rails to 5.0.7.1
Resolves #2272
2018-11-28 11:43:47 -08:00
James Mason
a9e8498abe transactional db support for capybara tests! 2018-11-19 08:40:55 -08:00
James Mason
9eae73c7e4 Goodbye phantomjs, hello (again) selenium. 2018-11-19 08:40:55 -08:00
James Mason
b11001cdba Every campaign has an end.
Drop ahoy, because it's more trouble than it's worth. This means dropping
visits, campaigns, targets.

Campaigns are better run to analytics, such as:
* https://matomo.org/docs/tracking-campaigns/
* https://matomo.org/docs/tracking-goals-web-analytics/
* https://support.google.com/analytics/answer/1012040?hl=en
2018-10-16 21:34:04 +02:00
Henne Vogelsang
a0b79c7789 Drop knapsack
It constantly fails with "Mysql2::Error: This connection is in use by...".
Might be because of database cleaner? But until we can get this stable,
rip it out again.

Replaced by a matrix based on test type
2018-09-20 00:56:17 +02:00
Henne Vogelsang
1aa1ccbf06 Move sqlite back into development
Heroku does not allow sqlite and will just fail building it.
And it's anyway in no way an option for production.
2018-09-18 21:17:59 +02:00
Henne Vogelsang
cae610ecf0 Include all "supported" databases in our bundle
It's not really nice to force people to change Gemfile which is
under SCM control. This also enables us to make the database
adapter configurable.
2018-09-12 19:41:37 +02:00
Henne Vogelsang
5fc867a8fc Introduces rubocop-rspec
Also regenerating the config. Most stuff in there didn't really make sense.
Time to go through .rubocop_todo.yml people :-)
2018-09-08 04:29:22 +02:00
Henne Vogelsang
272690fa21 Setup a more recent ruby version
2.5.0 has been released since 8 months now...
2018-09-06 00:43:25 +02:00
Henne Vogelsang
82c3372af2 Switch to FactoryBot (including update to 4.11.0)
https://robots.thoughtbot.com/factory_bot
2018-09-06 00:42:28 +02:00
James Mason
9412faddfe Update to current datatables gems
* Update jquery-datable-rails
* Add ajax-datatables-rails
2018-08-30 16:50:42 +02:00
Stella Rouzi
8d12a6b7ca Add ruby version in Gemfile 2018-08-19 01:03:26 +08:00
Stella Rouzi
e1adf28081 Show charts for survey replies 2018-07-03 08:46:15 +03:00
Stella Rouzi
9f3c0eff5d Add surveys; custom generated by admins
Available during registration or after conference

Co-authored-by: Shyukri <shshyukriev@suse.com>
Co-authored-by: Henne <hvogel@opensuse.org>
Co-authored-by: Moises <mdeniz@suse.com>
2018-07-03 08:46:15 +03:00
James Mason
846ba53d1b Update rubocop to current 2018-06-01 09:15:57 -07:00
James Mason
806cdbe046 Switch coverage host from coveralls -> codecov
Coveralls seems incapable of cleanly handling parallel results.
2018-05-21 16:24:25 +02:00
James Mason
6d31dfeef4 Add frozen_string_literal magic comment
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-05-09 06:54:26 -07:00
James Mason
dd0a52cca9 Use knapsack to parallelize tests
...in order to reduce TravisCI runtimes
2018-05-09 06:39:06 -07:00
Naman Gupta
7d2afc623d Replaced hoptoad gem with airbrake gem 2018-03-26 21:40:31 +02:00
James Mason
73c5c3c97a Allow root URL to redirect to a conference via ENV var. 2018-03-15 01:24:49 +01:00
James Mason
f062f7f4ee Reduce deprecation warnings 2018-03-15 01:20:57 +01:00
Godfrey Chan
0c8095493a Skylight instrumentation
This allows individual installations to optionally collect performance
data using [Skylight for Open Source](https://www.skylight.io/oss).
2018-02-22 21:08:24 -08:00
James Mason
7f2346650f Configure cache stores
rely on RAM caching for devel, and optionally a memcached server in production
2017-12-22 10:48:55 -08:00
rishabh92
8f6eeaaf45 Fix commercials does not accept slideshare https url
Updated ruby-oembed to latest version 0.12.0, issue was due to ruby-oembed version 0.8.14 not accepting https slideshare links.
Fixes #1775
2017-12-19 09:42:18 +02:00
AEtherC0r3
efaf07178f Upgrade to Rails 5
Update config with rails app:update
Update schema.rb rails db:migrate
Add puma
Make jobs and models inherit from ApplicationJob and ApplicationRecord
Update acts_as_list to 0.9.7 in order to fix
"undefined method `sanitize_sql_hash_for_conditions'" error
Update web-console to 2.3.0 to fix a 500 internal server error
Replace before_filter with before_action
Add rails-controller-testing gem
Add prepend: :true to protect_from_forgery in ApplicationController to
avoid ActionController::InvalidAuthenticityToken exceptions
Remove activeuuid
Update formtastic to 3.1.5 to fix deprecation warnings and issues
with the Input class
Update ahoy_matey to 1.6.0
Update cancancan to 2.0.0 to fix issues with malformed sql queries
Fix program spec
Fix issue with the picture being nil in admin/Organizations#new and #edit
and Organizations#show
Fix ActiveRecord::Base.raise_in_transactional_callbacks= deprecation
warning by removing an unnecessary line in application.rb
Fix failing versions specs
2017-12-11 20:58:04 +02:00
rishabh92
97749fc195 Fix Bundler/OrderedGems Rubocop offenses
This cop checks that gems are alphabetically sorted within groups. The offenses were fixed using rubocop autocorrection.
2017-12-03 18:19:21 -06:00
rahul2240
9cf3f63bae Update rubocop to 0.51.0
Rubocop is updated to version 0.51 from 0.49
2017-11-28 16:17:11 +05:30
James Mason
0aa782711d
Use 'Feature's to toggle optional functionality
TODO: Wrap every incomplete project in a feature, and _turn it off_.
2017-11-03 20:40:36 -07:00
James Mason
a7fce677fc
Add reCAPTCHA support to registration.
Because I *hate* spam bots.
2017-11-03 20:36:57 -07:00
James Mason
f2b5c2627c Require a version of nokogiri with known vulnerabilities resolved
re: https://hakiri.io/github/openSUSE/osem/master/78eb58c93eb766505dd12319d0502c10b40a811f/warnings/b532fbd10b687d
2017-10-13 15:21:34 +03:00
namangupta01
b4d376e7be expected_string_default_error is fixed 2017-09-12 12:11:43 +03:00
AEtherC0r3
4e1d45382c Update awesome_nested_set to 3.1.3 2017-08-07 12:23:01 +03:00