Commit graph

180 commits

Author SHA1 Message Date
Henne Vogelsang
b4b20bd135
Introduces sentry, removes airbrake
Sentry is the premiere FOSS error tracking app.
2021-03-06 23:13:59 +01:00
Sasi Olin
d540092bfc
Add icalendar files (fixes #2147) 2021-03-06 21:18:39 +01:00
Andrew Kvalheim
c3e02c20b9
Use Rails transactional tests
As of Rails 5.1:

  - Rails has built-in support for running tests within database
    transactions, so Database Cleaner is no longer needed for this.
  - Rails automatically shares the database connection across threads,
    so transactional_capybara is no longer needed.

Changes:

  - Enable `use_transactional_tests`.
  - Remove transactional_capybara.
  - Remove the Database Cleaner test wrapper.

This resolves:

  - transactional_capybara mismanages the shared database connection,
    causing the connection to falsely report as idle after the first
    test. At 6 minutes (idle_timeout + reaping_frequency) into testing,
    the connection is closed, causing e.g. `PG::ConnectionBad` errors.
2021-03-06 19:41:06 +01:00
Henne Vogelsang
2b0a257090
Set cobertura as simplecove formatter in github actions 2021-03-06 18:37:04 +01:00
Henne Vogelsang
be6464ff83
Switch to github actions
👋 travis, it was nice while it lasted! ❤️
2021-03-06 02:41:07 +01:00
Henne Vogelsang
6648082968
Switch dev-env to openSUSE 15.2
...and to OBS built container images!
2021-03-06 00:08:35 +01:00
Thomas Schmidt
588884bace
update jquery-ui-rails 2020-09-29 00:41:18 +02:00
Thomas Schmidt
bfb036fa96
upgrade rails to 5.2.4.4 2020-09-29 00:15:42 +02:00
depfu[bot]
254d8cb9fd
Update all of rails to version 5.2.3 2019-07-17 00:13:21 +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
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
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
Rahul
140a50afde install prawn-rails and remove prawn_rails
Fixes https://github.com/openSUSE/osem/issues/2432 prawn_rails is removed and prawn-rails is added
2019-04-26 12:37:32 +05:30
Ana María Martínez Gómez
ad5637e0a4
Do not lock countable-rails in Gemfile
There is not reason to not use new versions of countable-rails.
2019-04-01 15:15:02 +02:00
Ana María Martínez Gómez
9c2d7cfa5d
Do not lock web-console in Gemfile
There is not reason to not use new versions of web-console. Update to
last version 3.7.0.
2019-04-01 15:15:02 +02:00
Ana María Martínez Gómez
7fd5f5b4f9
Do not lock ruby-oembed in Gemfile
There is not reason to not use new versions of ruby-oembed.
2019-04-01 15:15:02 +02:00
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