Commit graph

190 commits

Author SHA1 Message Date
Michael Ball
2892a56a1c merge master 2020-12-04 01:17:39 -08: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
Michael Ball
382e1719e9 Ugh assets. 2020-07-13 04:43:09 -07:00
Michael Ball
cd88882714 upgrade datatables gem 2020-07-13 02:58:15 -07:00
Michael Ball
0877aadb2e Merge some contributor fixes 2020-06-30 00:48:47 -07:00
Andrew Kvalheim
943f0afaaf Merge #​2659 "Use Rails transactional tests" 2020-06-26 20:19:36 -07:00
Michael Ball
545b4b8852 Fix letter opener; tweak ticket display 2020-06-18 04:14:38 -07:00
Andrew Kvalheim
ae00a7f055 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.
2020-04-05 13:15:12 -07:00
Andrew Kvalheim
8eb696bb4a Use version range instead of OSEM_RUBY_VERSION 2020-03-28 08:59:16 -07:00
Michael Ball
2ede9f310c Fix sentry-raven gem in the gemfile 2020-02-19 13:36:18 -08:00
Michael Ball
b50972213a Add sentry logging 2020-02-04 22:48:58 -08:00
Michael Ball
6dd501663c Lint: Sort gems 2020-01-27 22:31:57 -08:00
Michael Ball
7ea5ff9160 Restore gemfile to have the standard gems 2020-01-27 15:20:37 -08:00
Michael Ball
4c28ecf254 Use Ruby 2.5.5 since that is in the docker dev container 2020-01-05 15:16:14 -08:00
Michael Ball
89de647968 attempt to fix the discourse callback URL 2019-12-20 12:14:14 -08:00
Michael Ball
4d4bdd00c6 Work on omniauth setup 2019-12-19 03:06:12 -08:00
Michael Ball
5441f83271 No mysql for SnapCon 2019-12-17 01:27:10 -08: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