hitman
e73baa2754
add validation for name, used and quantity
2017-05-13 18:30:30 +03:00
AEtherC0r3
dbf7b73d1a
Test ConferenceRegistration#new behaviour
...
Create shared example for when the user can create a new registration
Change older tests to use the shared example
Add tests for confirmed speakers
2017-05-13 17:47:22 +03:00
Siddhant Bajaj
1c12200003
Fixed paper trail inconsistent results for numeric values
...
There is a known issue in paper_trail that whenever we Query the
'versions.object' column it evaluates inconsistent results for numeric
values due to limitations of SQL wildcard matchers against the
serialized objects. So to fix this issue I have manually formed the where
query instead of using where_object and where_object_changes. I have
also added test for the same.
Fixes #1307
2017-05-11 14:01:52 +03:00
Eugene Dubinin
93404d543f
implement user creation by admin
2017-05-08 22:54:02 +03:00
AEtherC0r3
95b88be061
Add tests for openid signup with every provider
...
The spec for omniauth doesn't test signup for every provider, and it
doesn't test if it has tests for all available providers
Also, we no longer use secrets
* Add model test to check if the omniauth providers have changed
* Test signup using every provider
* Replace secretswith environment variables
2017-05-06 10:37:58 +03:00
AEtherC0r3
9341edd9cb
Change mock accounts credentials
...
The names and usernames don't follow a canonical pattern
And the emails point to a valid domain not owned by osem and not
reserved for illustration purposes
Normalize the users' names and usernames and change the domain of the
email addresses to example.com
Fix #1365
2017-05-06 10:37:58 +03:00
Siddhant Bajaj
7ce816e146
Fixed DeleteEventSchedules issue
...
Issues with DeleteEventSchedules method in conference controller:
1.It deletes EventSchedules of all the conferences that are not in the
hours range. Instead it should delete EventSchedules of those events
only that belong to that particular conference only.
2.If we set invalid start or end hour attribute of a conference then
also EventSchedules gets deleted even though conference is not
successfully updated.
Fixed both the issues and added test for the same.
2017-04-25 18:00:24 +05:30
Ana María Martínez Gómez
8dbe9ceb01
Merge pull request #1337 from siddhantbajaj/Validation
...
Added validation in EventSchedule model
2017-04-24 10:55:43 +02:00
nasia
a6e8283bcf
Fix commercial option for users in dashboard#show #1390
2017-04-24 10:16:39 +03:00
Siddhant Bajaj
23473e1476
Added hour transient attribute to event_scheduled factory
...
It allows event_scheduled to be created with custom time.
2017-04-22 01:28:49 +05:30
Siddhant Bajaj
95d459f058
Added validation in EventSchedule model and test in event_schedule_spec
...
EventSchedule start time should be in hours range of the conference.Therefore it adds validation on start_time attribute of event schedule model. It also adds test for the same.
2017-04-22 01:20:05 +05:30
Siddhant Bajaj
cd9f329939
Fixed Confirmed Scheduled Events issue
...
Fixed issues with scheduled_event_distribution method in conference.rb
and added test in conference_spec.rb to confirm issue is fixed.
Fixes #1302
2017-04-18 18:30:42 +05:30
shlok007
f04c7a7cab
improved features/ability_spec.rb
2017-04-14 14:51:21 +00:00
Stella Rouzi
92cb010cc6
Merge pull request #1448 from nasia-sam/cfp_access_to_schedule
...
Add permission to access admin/shedule by cfp #1432
2017-04-14 17:14:21 +03:00
nasia
11938025cf
Add permission to access admin/shedule by cfp#1432
2017-04-13 20:45:19 +03:00
Eugene Dubinin
790e2fd3a2
implement manual event management and support for multiple speakers per event
2017-04-13 17:15:21 +03:00
Ana María Martínez Gómez
46a6a59622
Merge pull request #1430 from codyborders/master
...
Adds Style/Tab cop to rubocop.yml
2017-04-07 18:50:22 +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
Cody Borders
535b3f86d6
Fixes Style/Tab cops
...
Removes exclusions for Style/Tab cops in rubocop_todo
Places Style/Tab cop in appropriate alphabetical order
All cops now fixed.
2017-04-06 10:57:44 -06:00
gotens1211
eb1e8ed238
Changed the default state of components in splashpage to selected
...
Mark the splashpage components to checked for the new action, also modified the display changes in splashpages test
Fixes #1340
2017-04-05 17:11:11 +05:30
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
Siddhant Bajaj
e8aa7c8a98
Fixed Venue link in todo list for organiser
...
"Add venue" link in todo list is not active for the organiser of that
conference. Fixes #1383
2017-03-26 00:25:44 +05:30
Stella Rouzi
8fb29972da
Merge pull request #1268 from shlok007/tests
...
Added feature tests for Roles
2017-03-21 13:13:15 +02:00
Alberto Miedes Garcés
9d4c02cdb0
Improve test coverage for User model
...
* Wrote specs for `User#attended_event?`
* Wrote specs for `User#registered_to_event?
2017-03-17 11:26:47 +01:00
gotens1211
3ef17e921f
Removed the View Tests
2017-03-13 13:33:07 +05:30
gotens1211
8e4cca980e
removed the render banners component test
2017-03-12 18:31:05 +05:30
Stella Rouzi
77c7bdfecf
Merge pull request #1266 from AEtherC0r3/fix_unreachable_code
...
Remove the unreachable code and modify the error message in ConferenceRegistrationsController#new
2017-03-08 10:55:27 +02:00
Stella Rouzi
cd997c8e88
Merge pull request #1275 from shlok007/intersecting-events
...
Display concurrent events
2017-03-08 10:51:53 +02: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
shlok007
4dd10d09ad
display concurrent events on event#show
2017-03-07 20:56:38 +05:30
shlok007
dc41daae97
added feature test for roles
2017-03-05 11:21:31 +05:30
Christian Bruckmayer
322d58c61c
Revert "fixed travis issues"
...
This reverts commit 1255088ff0 .
Because it broke our heroku deployment
2017-03-03 15:07:54 +01:00
Christian Bruckmayer
ff65b3b601
Merge pull request #1243 from cniedzwiedz/squash_test
...
Fixed XSS in markdown() method
2017-03-02 14:01:51 +01:00
gotens1211
ec1adbada8
Removed duplicate methods date_range_string and date_string.
...
Added tests for date_string function
corrections in the test
2017-03-01 15:39:10 +05:30
Ana María Martínez Gómez
3bf8b2472d
Merge pull request #1303 from shlok007/ability-spec-resources
...
Include test for resources in features/ability_spec.rb
2017-02-25 20:51:39 +01:00
Ana
b80aff3cce
Add times to Conference
...
Add start hour and end hour to conference to be able to make the schedule times changeable
2017-02-22 09:09:29 +01:00
Ana María Martínez Gómez
7000e63700
Merge pull request #1297 from siddhantbajaj/Travis_Errors
...
fixed travis error
2017-02-21 18:14:43 +01:00
shlok007
1ca3147ae0
add resources test in features/ability_spec.rb
2017-02-21 02:01:35 +05:30
Siddhant Bajaj
1255088ff0
fixed travis issues
2017-02-20 23:43:02 +05:30
Ana María Martínez Gómez
f42e4adc45
Merge pull request #1261 from shlok007/resources
...
Ability to track resources
2017-02-09 10:45:51 +01:00
shlok007
6db2e8abe7
remove input field from admin/resource#index
2017-02-09 01:11:24 +05:30
shlok007
3065766da9
ability to track resources used in conference
2017-02-07 14:58:45 +05:30
gotens1211
4a9c971ec7
Enable Style/SpaceAroundOperators Rubocop
...
Cleared all the offenses for Style/SpaceAroundOperators
Added a description for the Style/SpaceAroundOperators Rubocop.
2017-02-05 19:43:00 +05:30
Hernán Schmidt
a4ef10cf1b
Merge pull request #1118 from rishabhs95/free-ticket
...
ability to create and purchase free tickets
2017-01-31 14:54:18 +01:00
Rishabh Saxena
241bc89293
repair code reviews
2017-01-29 10:50:43 +05:30
Ana María Martínez Gómez
45c3c73e57
Merge pull request #1255 from shlok007/display-paid-and-unpaid-tickets
...
Display paid and unpaid tickets in admin/tickets#show
2017-01-26 16:27:24 +01:00
shlok007
d974807134
Display paid and unpaid tickets in admin/tickets#show
2017-01-23 22:37:57 +05:30
Christian Bruckmayer
4a75546e6c
Merge pull request #1246 from Ana06/db_cleaning
...
Improvements in the DatabaseCleaner
2017-01-17 14:22:26 +01:00
Ana María Martínez Gómez
e4104ba2cd
Fix the Travis failures in rspec
2017-01-11 10:07:25 +01:00