Commit graph

127 commits

Author SHA1 Message Date
CactusPuppy
1e88ff6ad7
Fix Rubocop complaints 2021-04-13 11:44:38 -07:00
CactusPuppy
aab281e116
Get destroy job working properly and prevent misfires on updated users 2021-04-13 11:44:37 -07:00
CactusPuppy
eca14fba43
Fix rubocop error with missing space after comma 2021-04-13 11:44:37 -07:00
CactusPuppy
42518a1323
Fully address AR callback issues 2021-04-13 11:44:36 -07:00
CactusPuppy
f4c0216812
Remove name conflict change which caused PaperTrail to fail 2021-04-13 11:44:36 -07:00
CactusPuppy
d59c5e9c1d
Actually properly track saved changes within the User model 2021-04-13 11:44:34 -07:00
Ziyi
130a43eb17
Edit lead when user changes name 2021-04-13 11:44:32 -07:00
CactusPuppy
98a40889a8
Prepare to add Mailbluster update name 2021-04-13 11:44:32 -07:00
CactusPuppy
1d89bbd59c
Fix Rubocop linting issues 2021-04-13 11:44:31 -07:00
CactusPuppy
f0296e2150
Properly fire update_email hook after commit which changes user email 2021-04-13 11:44:31 -07:00
Ziyi
f4a324cd79
Finished spec, added FIXME for caveat in email change 2021-04-13 11:44:29 -07:00
Ziyi
7adf6730da
Call mailbluster helpers when registering / cancelling reg to conference 2021-04-13 11:44:29 -07:00
CactusPuppy
a2bd73ed16
Use better and clearer shorthand for callbacks 2021-04-13 11:44:28 -07:00
CactusPuppy
6373abf16a
Use Active Jobs to spin Mailbluster requests off into a separate thread 2021-04-13 11:44:28 -07:00
Ziyi
fbb16fb91b
Spec for delete_lead WIP 2021-04-13 11:44:27 -07:00
CactusPuppy
5b193919dc
Fix Rubocop linting issues 2021-04-13 11:44:26 -07:00
Ziyi
10e14400e2
Called create_lead in model, FactoryBot errors 2021-04-13 11:44:25 -07:00
Ziyi
d4f823e7f4
delete_lead WIP 2021-04-13 11:44:23 -07:00
Jimmy
da8939dd3a [feat] remove unintended check; add auto-redirect to non-free ticket 2021-03-04 21:50:26 -08:00
Jimmy
1ca58961c1 [style] Rubocop 2021-03-04 16:34:47 -08:00
Jimmy
189c2ec75f [fix] Fix user.count_registration_tickets 2021-03-04 15:34:06 -08:00
rajavi-mishra
b72dfdabf8 conditions completed 2021-03-04 11:55:45 -08:00
Jimmy
c1fe73df03 temp 2021-03-04 11:33:27 -08:00
CactusPuppy
d63a22c54e
Fix Rubocop issues 2021-02-24 19:22:21 -08:00
Michael Ball
e0fd14e0ce Cleanup omniauth specs 2021-02-23 19:49:34 -08:00
Michael Ball
d7e24f6521 Run annotate_models 2021-02-20 09:57:27 -08:00
Michael Ball
13d78c2609 Fix display of volunteer events 2020-07-27 00:23:56 -07:00
Michael Ball
8e1d03a318 Allow scheduling volunteers for sessions.
Also fix a small bug for admin registrations edit.
2020-07-25 17:38:44 -07:00
Michael Ball
d5a9b79f6e Show profile pictures to admins and allow them to upload pics 2020-07-15 23:37:40 -07:00
Michael Ball
10d58ef050 Support selecting various sizes of profile pics 2020-07-15 23:27:22 -07:00
Michael Ball
3883188dcd Support Users Directly Uploading Profile Pictures.
* Adds a `picture` attribute to `User`.
* Preserves Gravatar as a fallback option.
* Now, you should use `user.profile_picturer` instead of `gravatar_url`
* TODO: Ensure `profile_picture` handles sizing right for uploaded images.
2020-07-14 21:06:15 -07:00
Michael Ball
9904ee67aa fix missing ] 2020-02-05 10:57:02 -08:00
Michael Ball
37ffc1765d Fix specs for omniauth providers? 2020-02-04 23:50:28 -08:00
Michael Ball
0aae8e79be Restore omniauth providers to keep conistency with master 2020-01-27 15:17:40 -08:00
Michael Ball
2e62aaf0c8 Tweak devise modules list 2019-12-19 03:32:52 -08:00
Stella Rouzi
8cf9c15a46 Revert change of active user definition
Closes #2560

Active users are needed for selectize, and the active definition changed to show recent users in #2297

This reverts that change, and provides
* active scope (user not disabled)
* recent scope (for use in #2297 changes, ie user distribution)
2019-10-24 18:34:12 +03:00
Ana María Martínez Gómez
7473e889ee
Define ticket_purchases before through association
In the User model, a has_many :through association
'User#physical_tickets' which goes through 'User#ticket_purchases' was
defined before the through association was defined. This doesn't work in
Rails 5.1.
2019-05-05 09:40:50 +02:00
Henne Vogelsang
334f84179f Use deliver_later in devise
Do not send devise mails directly in the request but through the
delayed jobs.
2019-02-01 01:00:56 +01:00
Henne Vogelsang
0f5181ccf4 Introduces New Installation Page
If there are no users signed up and no conferences we show a page
informing people what they need to do.
2019-02-01 01:00:56 +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
43bef689fc Rubocop autocorrections 2018-11-16 09:06:05 -08:00
James Mason
64ceaf50f4 Update Admin user datatables to use AJAX 2018-08-30 16:50:42 +02:00
Stella Rouzi
9f3c0eff5d Add surveys; custom generated by admins
Available during registration or after conference

Co-authored-by: Shyukri <shshyukriev@suse.com>
Co-authored-by: Henne <hvogel@opensuse.org>
Co-authored-by: Moises <mdeniz@suse.com>
2018-07-03 08:46:15 +03:00
James Mason
24396d35c2 Use Ruby safe navigation over Rails try
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/SafeNavigation
2018-06-01 09:15:57 -07: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
98defe2d0f Use role caching for Rolify to avoid N+1 queries
Resolves #2018

See https://github.com/RolifyCommunity/rolify#cached-roles-to-avoid-n1-issue
2018-04-04 07:36:29 -07:00
James Mason
a2ed9c0074 Move events index datatable row to a partial
- clean up columns
- tag unregistered submitters & speakers
- implement caching
2018-03-14 18:00:37 -07:00
David Sedeño
57e596c67e Use distinct instead of uniq because deprectation. 2017-12-15 23:08:21 +02:00
Naman Gupta
ac8b187f1f Speaker is also able to see the proposal and able to modify it 2017-12-12 18:57:12 +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