Henne Vogelsang
81853d1ef9
Retire semantic_form_for
...
Also a buttload of form cleanups...
2022-02-24 15:52:34 +01:00
Henne Vogelsang
85dae98a76
👋 update_attributes
...
You served us well...
2022-02-23 14:36:05 +01:00
James Mason
7a04f3582f
Remove travel schedule from registration
...
(cherry picked from commit d18cc02f0185df39bb4213d8a63a955dfb433dcb)
Re: https://github.com/openSUSE/osem/issues/2333
2021-03-06 04:09:02 +01: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
6d31dfeef4
Add frozen_string_literal magic comment
...
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-05-09 06:54:26 -07:00
James Mason
03ef28e74d
Require code of conduct acceptance on registration
2018-05-08 13:23:00 +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
rahul
0d70832f5b
Add total amount spent by user
...
User can see the total amount that he paid for the tickets and total amount spent by him on each ticket
2017-10-14 23:07:08 +05:30
Hernan Schmidt
d9a3b0de72
Fix Style/ConditionalAssignment errors
...
They did not get excluded by `--auto-gen-config`
2017-07-14 15:16:43 +02:00
Ana María Martínez Gómez
fd6d0bf39b
Merge pull request #1446 from sunny-b/master
...
Enable Style/DotPosition Rubocop cop
2017-04-07 11:21:34 +02:00
Sunny
03fa299058
enable style/dotposition rubocop cop
2017-04-06 23:19:58 -04:00
Eugene Dubinin
b7bdb29cbe
use flash.now instead of flash where page is rendered in the same controller methods
2017-04-03 20:15:51 +03:00
AEtherC0r3
88e1646e87
Fix unreachable code ( #1140 ) in ConferenceRegistrationController#new
...
Remove the unreachable code from ConferenceRegistrationController#new
Rework the error message logic in ConferenceRegistrationController#new
Fix redirect to #edit when the user is registered
Refactor ConferenceRegistrationController#new spec and add more tests
2017-03-07 17:40:19 +02:00
Rishabh Saxena
92dc0edff2
modify registration view and controller
2016-08-15 10:59:33 +05:30
Ana
7e5d20c89d
style: if ! changed by unless
...
- if ! changed by unless as it is more readable
- !object.blank? is equivalent to object.present?, also more readable
2016-08-06 00:57:07 +02:00
Arun Kumar
0675572e05
Modify conference registration to a singular resource
2016-07-05 01:15:32 +05:30
Ana
866e58b5bf
registration_limit check moved to ability file
2016-06-27 18:11:21 +02:00
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
Stella Rouzi
01ec43e53a
Registration for Events
2016-04-26 16:11:40 +03:00
Aditya Prakash
eae6d90e9f
Fix authorization of new and create in ConferenceRegistrationsController
...
Before authorization we need to set conference relation.
Change in proposal spec cause conference has to have valid registration
period for successful redirect to registration after confirm proposal.
2016-03-23 21:30:05 +05:30
Aditya Prakash
19157ac81d
Add test for conference registration controller show and destroy action
...
After failed delete, user should be redirected to registration show and not
root.
2016-03-23 11:42:40 +05:30
Nishanth Vijayan
1c1e56ed46
Change update/save failures to use flash type :error instead of :alert
2016-03-16 11:20:56 +05:30
Nishanth Vijayan
434eb90b76
Add flash type error.Rewrite controllers to use common flash style with redirect_to
2016-03-16 09:17:41 +05:30
David Sedeño
28fbc518f3
Add registration_limit to conference model. Added the input for registration limit in the edit conference form. In the controller, if the limit has exceeded redirect to root_path with an alert. fix #761
2016-02-10 15:59:39 +01:00
Stella Rouzi
bd79719054
style
2015-06-11 15:22:54 +03:00
Stella Rouzi
2b433a9cbe
make @user definition more clear
2015-06-11 15:20:48 +03:00
Stella Rouzi
b8313aa064
Styling
2015-06-11 15:20:48 +03:00
Stella Rouzi
969c24c091
Move common views to partial
2015-06-11 15:20:48 +03:00
chrisbr
6f64602d85
Redirect to registration edit page when user is already registered
2015-04-11 09:37:28 +02:00
Henne Vogelsang
e8ab94e1c7
Implements sign up during registration. Solves most of #215
2015-03-12 23:53:57 +01:00
Henne Vogelsang
b65a33f047
Merge pull request #560 from hennevogel/feature-user-view
...
Various small UI fixes
2014-12-09 15:52:44 +01:00
Henne Vogelsang
c6bd65deaa
Fix Stellas review gripes
2014-12-09 15:19:01 +01:00
Henne Vogelsang
d13efa5f52
Various small fixes for the participant UI
2014-12-05 16:04:34 +01:00
Stella
d44e1f7c24
flash alert to flash error
2014-11-30 15:41:47 +02:00
Stella
65c0cd7a73
an error
2014-11-30 15:19:19 +02:00
Henne Vogelsang
b95d35d5d9
It's always hard to remove another layer of indirection...
2014-11-06 14:58:51 +01:00
Chrisbr
5f8a8ac6d9
Refactoring Tickets
...
- Tickets now independent from registration
- Implemented money gem
#419
2014-08-28 15:21:05 +02:00
Chrisbr
d21e19b977
Big refactoring of registration
...
- Added datatable gem
- Addaed datatable to events, users (#422 ), registrations
2014-08-22 15:08:54 +02:00