Henne Vogelsang
2ea7bda639
Use ActiveJob to send venue update mails
2016-04-21 16:03:51 +02:00
Henne Vogelsang
21280cd9d8
Switch mail sending to active_job
...
Before we were using the delayed_job method of delaying
mail sending which isn't working anymore on rails 4.
2016-04-20 18:59:24 +02:00
Henne Vogelsang
14011f8828
Fix email notifications
2016-04-20 16:22:29 +02:00
Aditya Prakash
7e04a267cb
Fix get_roles method of User model
...
Previous implementation was associating resources with all
the roles regardless of user role in the resource. ie:
if user is cfp member of conf1, the method was returning:
{ organizer => conf1,
cfp => conf1,
Info Desk => conf1,
Volunteers Coordinator => conf1
}
2016-04-17 14:11:09 +05:30
Aditya Prakash
3c356cbaaf
Remove unused functions from user model
...
set_up is callback and should be a private method.
removed methods:
* ticket(id) was introduced in 5f8a8ac6 , however never used.
* self.prepare(params) only use instance was removed in d21e19b9
* attending_conference?(conference) introduced in merge of person and user model 23bf55b6 ,
any previous use instance difficult to find
* biography_word_count: we are using js for this now
* biography_limit only use instance was removed in 23bf55b6
2016-04-17 12:10:58 +05:30
Henne Vogelsang
0f24a4fa1b
Merge pull request #855 from differentreality/refactor_conference_drops
...
drop dietary choices, social events, and html_export_path
2016-04-15 11:43:29 +02:00
Aditya Prakash
5430510e4c
Remove unused model of datatables
...
This model is required if we were doing server side processing for
fetching records however, we are not.
If this needs to be set up sometime in future, checkout:
https://datatables.net/examples/server_side/simple.html
2016-04-10 13:50:18 +05:30
Stella Rouzi
b9e10922ee
drop dietary choices, social events, and html_export_path
2016-04-09 16:29:20 +03:00
Aditya Prakash
282168568a
Remove program model from ahoy
...
We are not using this anywhere in our codebase.
program model exits at: app/models/program.rb
2016-04-09 15:01:46 +05:30
Christian Bruckmayer
86449eea67
Merge pull request #926 from sonalkr132/mailer-tests
...
Mailer fixes and tests
2016-04-08 11:43:03 -06:00
Stella Rouzi
c7576af0ba
Merge pull request #934 from nishanthvijayan/remove_call_for_paper
...
Remove unused call_for_paper model and controller files
2016-04-03 12:12:54 +03:00
Henne Vogelsang
f56fc0052f
Merge pull request #907 from sonalkr132/proposal-test
...
Proposal controller improvements and test
2016-04-01 14:49:50 +02:00
Nishanth Vijayan
11b96412a0
Remove unused call_for_paper model and controller files
2016-04-01 01:43:06 +05:30
Aditya Prakash
d9db395ec6
Use each to iterate over array in mailer and fix comment link
...
*_url gives complete path with host
2016-03-31 22:59:12 +05:30
Henne Vogelsang
483f1ccd85
Merge pull request #893 from nishanthvijayan/fix-tooltip-track
...
Proposal submitter should be asked to add track only if conf has track
2016-03-30 17:30:36 +02:00
Henne Vogelsang
1979c0d9c1
Merge pull request #886 from sonalkr132/auth-registration
...
Fix authorization of new and create in ConferenceRegistrationsController
2016-03-30 17:29:10 +02:00
Nishanth Vijayan
48b48e88ac
Add before_destroy :cancel to precent role destroy.Change Conference-Role association to have dependent: :destroy_all
2016-03-28 19:49:59 +05:30
Aditya Prakash
e851c0b4ff
Add authorization rule for create user by unsigned user
...
Add authorization to failed user save path cause it was complaining
that no authorization was performed in that path.
2016-03-24 17:42:00 +05:30
Nishanth Vijayan
246bf605ea
Proposal submitter should be asked to add track only if conf has track
2016-03-23 23:31:00 +05:30
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
Henne Vogelsang
10ef898a0d
Merge pull request #872 from sonalkr132/proposal-after-cfp
...
Allow submission of proposal only if program has cfp
2016-03-23 16:34:12 +01:00
Christian Bruckmayer
a9fb07cadb
Merge pull request #889 from rishabhs95/admin-tickets-view
...
correcting ticket's details view for admin.
2016-03-18 14:34:24 -06:00
Rishabh Saxena
99afc456cd
correcting ticket's details view and its related models.
2016-03-19 01:52:38 +05:30
Christian Bruckmayer
3ad009658d
Merge pull request #836 from davidsf/fix_email_send
...
Fix send emails because missing event program relation.
2016-03-18 11:18:59 -06:00
Aditya Prakash
3e32c58460
Allow submission of proposal only if program has cfp
2016-03-18 09:18:05 +05:30
Christian Bruckmayer
9e67a1bcd5
Merge pull request #876 from rishabhs95/delete-tickets-unregistered
...
Destroying tickets belonging to a user after user unregisters from a conference
2016-03-16 12:54:21 -06:00
Rishabh Saxena
8334619029
callback for destroying registration and writing tests for it
...
writing tests for deleting tickets after unregistering
removing code duplication in tests
2016-03-16 23:31:57 +05:30
Ana
922e94649d
overriding the #name attribute
2016-03-10 22:49:54 +01:00
Christian Bruckmayer
a6c89351c5
Make Comment find_since_last_login scope robust against nil value
...
to fix production ArgumentError: bad value for range. Fixes #807 .
2016-03-10 15:04:14 +01:00
Christian Bruckmayer
55ab8a8e8f
Set sign_in attributes on iChain login
...
Set last_sign_in_at and current_sign_in_at attributes when iChain login is enabled. #807
2016-03-10 15:04:02 +01:00
Henne Vogelsang
0df693ffbf
Merge pull request #820 from differentreality/update_rolify
...
update rolify
2016-03-09 11:32:52 +01:00
Stella Rouzi
782a1f071f
Merge pull request #801 from sonalkr132/targets_test
...
Model and controller tests for Target
2016-03-09 12:13:53 +02:00
Stella Rouzi
e560d263c9
Merge pull request #838 from sonalkr132/ticket-tests
...
Tests for ticket model
2016-03-09 12:03:52 +02:00
Stella Rouzi
40a48e1e7e
Update rolify and cancancan
2016-03-07 23:32:15 +02:00
Christian Bruckmayer
9fbd2e9618
Merge pull request #827 from hennevogel/feature-proposal_for_track
...
Feature: Add/change Track for Event
2016-03-07 17:12:33 +01:00
Carlos Coelho
483d9a234e
Verified contact has email or not
...
issue #764
Signed-off-by: Carlos Coelho <carlos@pencillabs.com>
2016-03-07 09:43:55 -03:00
Aditya Prakash
ebd01f064a
Tests for ticket model
...
Change in error message of validation cause previously it was:
"Price currency Currency is different.."
`paid?` method returned true even when `ticket_purchases` is empty for
a given user.
2016-03-06 17:37:06 +05:30
Aditya Prakash
680d23a64a
Tests for target model
...
created_at and due_date are preset cause we don't want it to depend
on system time.
2016-03-06 10:46:03 +05:30
David Sedeño
dd08b702b9
Add program relation in generate_event_mail. fix #835
2016-03-06 00:19:55 +01:00
David Sedeño
c9951b451a
Fix send emails because missing event program relation. fix #835
2016-03-05 23:48:43 +01:00
Christian Bruckmayer
c5c392d4c7
Merge pull request #794 from differentreality/user_model_tests
...
Add tests for Event. Remove redundant function 'def week' from Event.
2016-03-05 13:45:39 +01:00
Henne Vogelsang
feaf9d8078
Feature: Add/change Track for Event
2016-03-05 02:54:09 +01:00
Stella Rouzi
81c82466f8
Add tests for Event. Remove redundant function 'def week' from Event.
2016-03-04 19:46:25 +02:00
Stella Rouzi
18bb1bd237
Merge pull request #770 from hennevogel/feature_venue_show
...
Beautify venue#show
2016-03-04 19:44:49 +02:00
Henne Vogelsang
33e1c6eae1
Beautify venues#show
2016-03-04 17:05:42 +01:00
Stella
ccd7ecbb90
Roles into their own controller. Rework interface. Add flash messages to ajax calls. Add description to roles. Possible to edit roles in use.
2016-03-01 17:10:45 +02:00
Stella Rouzi
f567187d45
Add validations for registration_period
2016-02-23 12:57:45 +02:00
Henne Vogelsang
ed0f55c45f
Fix remaining rubocop problems
2016-02-18 14:40:24 +01:00
Henne Vogelsang
e2fb83146a
Merge pull request #768 from hennevogel/rubocop
...
Update rubocop todo file
2016-02-18 14:08:04 +01:00
Stella Rouzi
405b614c43
Merge pull request #783 from davidsf/fix_proposal_confirmation
...
Fix error 500 in user proposal confirmation
2016-02-18 14:00:02 +02:00