Commit graph

72 commits

Author SHA1 Message Date
Andrew Kvalheim
31ffa102a7 Allow runtime configuration of Sentry tracing sample rate 2023-06-09 11:06:17 -07:00
Henne Vogelsang
36b23ce25d
Make use of ENV.fetch 2022-05-06 14:53:57 +02: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
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
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
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
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
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
e523c2631e Make the device ichain base url configurable 2019-02-15 17:09:03 +01:00
Henne Vogelsang
216cf632b8 Change project id/key to not be the same setting 2019-02-14 23:50:59 +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
James Mason
ac3be77219 Required changes for consistent controller & feature results 2018-11-20 17:30:56 -08:00
James Mason
7835d887f2
Clean up a couple deprecations in test. 2018-11-19 15:47:08 -08:00
James Mason
43bef689fc Rubocop autocorrections 2018-11-16 09:06:05 -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
James Mason
f3757fd4e7 Update chart-js-rails to version 0.1.6
Supercedes #2152 with required code changes.
2018-10-10 21:23:28 +02:00
James Mason
600e394cf8 Provide a base config for ajax-datatables-rails 2018-08-30 16:50:42 +02:00
James Mason
4a0142f6a6 Find source of queries
(cherry picked from commit 458392ef0d334173f65eac41eb23345e3201a024)
2018-07-13 09:10:44 -07:00
Stella Rouzi
e1adf28081 Show charts for survey replies 2018-07-03 08:46:15 +03:00
Stella Rouzi
3bb73f27cf Fix ahoy tracking and visits 2018-07-02 09:42:40 -06:00
Naman Gupta
7d2afc623d Replaced hoptoad gem with airbrake gem 2018-03-26 21:40:31 +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
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
shlok007
835859e350 refactored DomainConstraint and conference_controller_spec
use params id instead of OSEM_HOSTNAME to load conference
2017-08-22 21:18:58 +00:00
shlok007
0ac5d18ef2 route to conference#show for custom domain 2017-08-22 21:18:58 +00:00
JewelSam
f6e74461ba Add schedule interval as attribute of a program
Also, the part of the schedule event is deleted and the length of the event types
changes to the nearest suitable after changing the length of the interval.

This closes #1220
2017-04-01 21:39:20 +03:00
Eugene Dubinin
ff9ca4a817 implements configurable schedule granularity and improves the schedule grid for denser schedule grids on smaller screens 2017-01-31 16:24:45 +02:00
Rishabh Saxena
048f20bcfc fix typo. change secrets.yml config. 2016-08-15 10:59:35 +05:30
Rishabh Saxena
a9ab1186f8 change rails initialisation.
repair abilities. add ticket purchasing check.
2016-08-15 10:59:35 +05:30
Rishabh Saxena
47e16e5653 add stripe gateway config 2016-08-15 10:59:34 +05:30
Nishanth Vijayan
d152b5eddc Update paper_trail gem to latest 2016-05-18 23:27:18 +05:30
Henne Vogelsang
ebcb2780cd Configure OSEM via environment variables
Instead of reading a yaml file we get configuration from the
environment.
2016-04-29 16:36:47 +02:00
Henne Vogelsang
8fc57e34c9 Adapt the spec 2016-04-27 17:55:24 +02:00
Henne Vogelsang
de486dc621 Oh My God. Close your eyes!
Someone used a paperclip method in a migration. I'm too scared to
look who, maybe it was me?
2016-04-27 17:55:24 +02:00
Henne Vogelsang
cea9081347 A paperclip compatible carrierwave uploader 2016-04-27 17:40:23 +02:00
Stella Rouzi
40a48e1e7e Update rolify and cancancan 2016-03-07 23:32:15 +02:00
Aditya Prakash
6460456202 Update Formtastic and formtastic-bootstrap
Previous version of Formtastic was giving following deprecation warning:
`#column_for_attribute` will return a null object for non-existent
columns in Rails 5. Use #has_attribute? if you need to check for
an attribute's existence.

Guide followed for upgrade: https://github.com/justinfrench/formtastic/wiki/Upgrading-to-Formtastic-3.1

formtastic-bootstrap is upgraded for compatibility with current Formtastic.
2016-02-19 08:12:03 +05:30
Henne Vogelsang
e8ab94e1c7 Implements sign up during registration. Solves most of #215 2015-03-12 23:53:57 +01:00
Henne Vogelsang
c3b0dcc9d7 Set the ichain base url 2014-11-06 10:28:19 +01:00
chrisbr
49d565def2 Implements iChain authentication 2014-11-04 17:42:47 +01:00
chrisbr
15c6ed127f Implements username authentication
It's now possible to login with either username or email
That's necessary to be backward compatible for iChain login
2014-11-03 15:25:33 +01:00
Stella Rouzi
b7c45718d8 apply StringLiterals cop (remove double quotes, unless there is string interpolation) 2014-09-02 21:45:07 +03:00
Chrisbr
5f8a8ac6d9 Refactoring Tickets
- Tickets now independent from registration
- Implemented money gem
#419
2014-08-28 15:21:05 +02:00