Henne Vogelsang
9f1e877ea0
Expose Conference.code_of_conduct
2024-06-07 17:42:08 +02:00
Henne Vogelsang
275be8c80a
Drop Organization Feature
2024-06-07 17:42:08 +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
ba8f7e5cf3
Allow to serialize TimeZone classes
2024-03-26 16:20:12 +01:00
Andrew Kvalheim
9ac6102847
Fix bug in naming of Sentry release
...
In #3299 sentry-ruby was updated past 5.10 which introduces
getsentry/sentry-ruby#2004 , resulting in:
ArgumentError: expect the argument to be a String or NilClass, got Integer (1646633480)
/osem/config/initializers/sentry.rb:19
2024-03-16 16:44:22 -07:00
Andrew Kvalheim
31ffa102a7
Allow runtime configuration of Sentry tracing sample rate
2023-06-09 11:06:17 -07:00
depfu[bot]
abaf51fda5
Update leaflet-rails to version 1.9.3
2023-05-08 18:04:08 +02:00
Henne Vogelsang
04b45adbe5
Merge pull request #3096 from AndrewKvalheim/api-urls
...
Add URLs to API responses
2023-04-19 13:26:44 +02:00
Henne Vogelsang
21ce273520
Introduces lograge
...
for more terse logging
2023-04-11 13:49:22 +02:00
Andrew Kvalheim
5b89f64eaf
Set default URL host
...
Setting the default host resolves:
Missing host to link to! Please provide the :host parameter, set
default_url_options[:host], or set :only_path to true
Configuring RSpec to use the default host resolves:
Expected response to be a redirect to <http://test.host/ …>
but was a redirect to <http://localhost/ …>.
2023-02-28 11:06:24 -08:00
Henne Vogelsang
14ca3b761a
Return the rest of the dropped production env
...
Lost during the rails 7 update in 10c6edcf8c
2022-05-23 13:08:25 +02:00
Sasi Olin
a95b151a50
Set the default values for env
2022-05-20 15:13:41 +02:00
Sasi Olin
ac0459e8a7
Use env.fetch instead of env
2022-05-20 14:58:10 +02:00
Sasi Olin
3980125872
Return the missing mailer setup
2022-05-20 14:53:43 +02:00
Henne Vogelsang
36b23ce25d
Make use of ENV.fetch
2022-05-06 14:53:57 +02:00
Henne Vogelsang
c36343cda3
Fix restart during deploy
...
pumactl restart does not make the worker re-read their
working directory. Hence new code is never used...
Use stop/start via systemd again.
2022-04-08 15:19:14 +02: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
b9a3a6fb2b
Share bundler configuration between deploys
2022-03-02 15:15:32 +01:00
Henne Vogelsang
2e21079991
Ajaxify booth responsibles selectize interface
...
No need to load *all* users into a select input...
2022-02-23 14:36:08 +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
0eb7496502
Disable ActiveRecord.belongs_to_required_by_default
...
This is a nightmare currently, no one ever thought about
this in our data model.
2022-02-23 14:36:06 +01:00
Henne Vogelsang
639fb5ff0d
Supress money deprecation warnings
...
https://github.com/RubyMoney/money#deprecation
2022-02-23 14:36:05 +01:00
Henne Vogelsang
10c6edcf8c
Update to Rails 7
2022-02-22 19:22:25 +01:00
Henne Vogelsang
5b698f9a4a
Drop guard/spring
...
No developer left using this...
2022-02-22 19:22:25 +01:00
Henne Vogelsang
66e61190a5
Fix force_ssl environment handling
...
Fixes docker production example.
2021-11-09 22:59:48 +01:00
Henne Vogelsang
1373ec5bc5
Fix cookie serialization
...
We used to use :marshal, setup :hybrid as default for now.
2021-09-13 20:33:56 +02:00
Henne Vogelsang
d13f726701
Merge pull request #2817 from hennevogel/refactor/money-rounding
...
Explicitely set rounding mode
2021-08-18 16:06:40 +02:00
Henne Vogelsang
7c1d3ce1c4
Run rails upgrade task
...
next bundle exec rails app:update
2021-08-18 15:36:54 +02:00
Henne Vogelsang
d67babf89a
Explicitely set rounding mode
...
This is subject to change
2021-08-11 14:59:30 +02:00
Stella Rouzi
f97d4ca0f1
Add letter opener web
2021-04-14 10:46:45 +03:00
Henne Vogelsang
d4e6122ba2
Set a release for sentry
2021-03-07 01:25:06 +01:00
Henne Vogelsang
b4b20bd135
Introduces sentry, removes airbrake
...
Sentry is the premiere FOSS error tracking app.
2021-03-06 23:13:59 +01:00
Henne Vogelsang
1291d1846d
Move cache to file
...
No need to store caches in the cloud.
2021-03-06 21:58:23 +01:00
Henne Vogelsang
e4c9100ea6
Merge pull request #2717 from hellcp/master
...
Add icalendar files
2021-03-06 21:36:50 +01:00
Sasi Olin
d540092bfc
Add icalendar files ( fixes #2147 )
2021-03-06 21:18:39 +01:00
Andrew Kvalheim
266fdbabea
Omit nil SMTP settings
...
Allows leaving `smtp_settings[:domain]` unspecified. Explicitly setting
it to `nil` (as when `OSEM_SMTP_DOMAIN` is unset) overrides the default
value of `'localhost.localdomain'` and caused SMTP connections to fail
with `EOFError`.
2021-03-06 21:10:36 +01:00
Espartaco Palma
2d17ce2667
Using Native ActiveRecord Logger
...
Starting in Rails 5.2 there's a new setting to log ActiveRecord
queries making the LogQuerySource not needed anymore
2021-03-06 19:03:47 +01:00
Emily Gonyer
77accc1100
removed-gendered-terms
2021-03-06 03:27:38 +01:00
Rahul
bf7a7932ba
add booth in alias
...
Booth can be replaced with any alias by replacing it in alias.en.yml.
2019-08-10 21:40:25 +05:30
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
Ana María Martínez Gómez
a8d2f8caa4
Drop halt_callback_chains_on_return_false
...
ActiveSupport.halt_callback_chains_on_return_false= is deprecated and
will be removed in Rails 5.2. Stop using it and return `throw(:abort)`
instead in the callbacks which need it.
2019-05-05 09:40:49 +02:00
Henne Vogelsang
55edd8a571
Change how we start puma
...
Puma is integrated with rails server, no need to start it manually.
Takes care of logging etc. We also shouldn't run multiple workers
unless we absolutely want to.
2019-05-04 21:36:34 +02:00
Henne Vogelsang
7b56370e90
Disable X-Sendfile default
...
There are people deploying this in heroku, on nginx, standalone etc. etc.
Do not set web server specific defaults in the code...
2019-03-22 11:29:25 +01: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
0aa49e9c64
Get rid of vagrant
...
We are using Docker now instead.
Closes https://github.com/openSUSE/osem/issues/1213
2019-02-26 16:30:56 +01:00
Ana María Martínez Gómez
e03f9dc5fe
Add /conferences/:conference_id/program/proposal/:id
...
We changed this route (because of renaming proposal to proposals in):
daf1f805bd
Keep the old route for compatibility.
Fixes https://github.com/openSUSE/osem/issues/2330
2019-02-21 17:09:56 +01:00
Henne Vogelsang
4bf0c02763
Use our env naming convention for memcached
...
Also do not set memore_store in the production environment if
there is no memcached. File based cache is default for a reason,
it even works for most normal traffic pages
2019-02-16 01:00:22 +01:00
Henne Vogelsang
228190396c
Add the files we use for production deployments
...
We are using apache as reverse proxy and two systemd units
(puma & delayed job) for events.opensuse.org. Track them
also in this project, might be useful for others.
2019-02-16 00:40:47 +01:00
Henne Vogelsang
e523c2631e
Make the device ichain base url configurable
2019-02-15 17:09:03 +01:00
Henne Vogelsang
c07cc6c844
Update mina and adopt the configuration
2019-02-15 17:09:03 +01:00