Commit graph

221 commits

Author SHA1 Message Date
Henne Vogelsang
8987808649
Download chromedriver during container build
If it's too outdated it leads to weird failures in the test suite
because we disallow outside requests in it.
2024-06-07 14:09:13 +02:00
Henne Vogelsang
7190867f21
Drop bootstrap3-datetimepicker-rails
We are using the browser for date inputs now...
2024-06-07 14:09:13 +02:00
Henne Vogelsang
494c73bbd6
Drop skylight, we already support sentry 2024-06-06 18:26:01 +02:00
Henne Vogelsang
b2f0796799
Drop mysql2 support, settle on postgresql
It's enough work to support one database, let's settle on
the defacto Rails default.
2024-06-06 18:05:52 +02:00
Henne Vogelsang
f51db484ab
Drop sqlite3
We should spec on the database we use...
2024-06-06 17:13:13 +02:00
Henne Vogelsang
effba3382e
Update Ruby version to 3.3.2
Also remove support for  OSEM_RUBY_VERSION, we are going to support
one ruby version and one ruby version only now.
2024-06-06 16:59:15 +02:00
Henne Vogelsang
b6560dbb34 Get off off rails-assets
Just moving the things we currently use (and should drop in the ASAP) to vendor/assets
2024-03-05 16:01:07 +01:00
Henne Vogelsang
a154d99460
Merge pull request #3194 from openSUSE/depfu/update/countries-5.4.0
Drop country_select
2023-05-08 17:28:54 +02:00
depfu[bot]
d9f86d0564
Drop country_select
We are using i18n_data directly.
2023-05-08 17:09:55 +02:00
Henne Vogelsang
ff52f02fa4
Introduces rubocop-performance 2023-05-08 13:53:15 +02:00
Henne Vogelsang
7b85b86e15
Introduces rubocop-capybara 2023-05-08 13:52:04 +02:00
Henne Vogelsang
21ce273520
Introduces lograge
for more terse logging
2023-04-11 13:49:22 +02:00
Henne Vogelsang
ab81dd667b
Stop pinning nokogiri for security updates...
The bundle does this already.
2023-04-11 12:55:30 +02:00
Henne Vogelsang
22beddd3f1
Update to latest ruby 3.1 version 2023-04-11 11:38:49 +02:00
Henne Vogelsang
13374571c9
Update ruby/bundler version to the one we use in osem/base 2023-02-02 18:47:43 +01:00
Andrew Kvalheim
803f8daa9e Move frozen_string_literal magic comment to top of file
Resolves:

    $ RUBYOPT='-w' bundle --version
    Gemfile:4: warning: `frozen_string_literal' is ignored after any tokens
2022-09-11 19:07:11 -07:00
Sasi Olin
d31233c033 Migrate to fontawesome 6 2022-05-18 06:33:47 +02:00
Henne Vogelsang
36b23ce25d
Make use of ENV.fetch 2022-05-06 14:53:57 +02:00
Rune Antonsen
9c904f1103
bump ruby version to 3.1.2 2022-04-21 14:12:37 +02:00
Andrew Kvalheim
654a02479d Downgrade bootstrap-switch-rails: 3.3.5 → 3.3.3
bootstrap-switch 3.3.4 and 3.3.5 are affected by Bttstrp/bootstrap-switch#707
2022-03-21 17:22:34 -07:00
Henne Vogelsang
dffc5c1240
Updates puma to 5.6.2 (was 4.3.11)
Also use pumactl to "hot" restart
2022-03-03 17:45:58 +01:00
Henne Vogelsang
162c688a28
Update default ruby version to 3.1.1 2022-03-01 14:55:16 +01:00
Henne Vogelsang
87c80a6f13
Workaround missing rexml dependency 2022-02-24 17:37:10 +01:00
Henne Vogelsang
b76db55302
Welcome to Rails 7 by default 2022-02-24 16:20:07 +01:00
Henne Vogelsang
800bb28c34
Drop formtastic
formtastic-bootstrap is unmaintained since years, formtastic is
just syntactic sugar, ActionView grew up to be beautiful.
2022-02-23 14:36:07 +01:00
Henne Vogelsang
2aaca67bc1
Drop piwik_analytics
The gem is unmaintained, the openSUSE matomo installation is dead.
If you need this, bring it back...
2022-02-23 14:36:06 +01:00
Henne Vogelsang
1ca6029edc
Update stripe/stripe-ruby-mock 2022-02-23 14:36:06 +01:00
Henne Vogelsang
14eea7d37b
Workaround missing prawn dependency 2022-02-22 19:22:26 +01:00
Henne Vogelsang
5b698f9a4a
Drop guard/spring
No developer left using this...
2022-02-22 19:22:25 +01:00
Henne Vogelsang
28caa143e8
Switch bundle to Ruby 3.1 and next to Rails 7 2022-02-22 19:22:25 +01:00
Henne Vogelsang
5cbd15eeef
Introduces next_rails 2021-08-17 14:05:19 +02:00
depfu[bot]
8b9e4d1288
Update rubocop-rspec to version 2.4.0 2021-08-13 15:01:27 +02:00
depfu[bot]
fd4c60ff9f
Update omniauth to version 2.0.0 2021-08-13 13:33:04 +02:00
Henne Vogelsang
014e210738
Merge pull request #2814 from openSUSE/depfu/update/responders-3.0.1
Upgrade responders: 2.4.1 → 3.0.1 (major)
2021-08-12 16:50:04 +02:00
Henne Vogelsang
a2e9067aaf
Merge pull request #2812 from openSUSE/depfu/update/bootstrap-switch-rails-3.3.5
Upgrade bootstrap-switch-rails: 3.0.2 → 3.3.5 (minor)
2021-08-12 16:49:21 +02:00
depfu[bot]
f92b66df33
Update bootstrap-switch-rails to version 3.3.5 2021-08-11 13:03:47 +00:00
depfu[bot]
fe860388d5
Update responders to version 3.0.1 2021-08-11 13:03:32 +00:00
Henne Vogelsang
ddb03e7655
axlsx got renamed to caxlsx_rails 2021-08-11 14:59:08 +02:00
depfu[bot]
a942ad9de9
Update puma to version 4.3.8 2021-08-11 12:32:19 +00:00
Henne Vogelsang
24455cc8f1
Update default ruby version to 2.5.9
openSUSE 15.2 switched to this ruby version.
2021-07-05 18:55:33 +02:00
Stella Rouzi
f97d4ca0f1 Add letter opener web 2021-04-14 10:46:45 +03:00
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