Henne Vogelsang
0104671e01
Stop validating factories in specs
...
We do validate all of them in a before(:suite) already.
2021-08-18 14:03:14 +02:00
Espartaco Palma
5d79049e59
Linters gonna lint
...
I was not aware the linting was also applied to specs
2021-03-06 19:09:38 +01:00
Espartaco Palma
fd2635509f
Introducing delegation for city and country name (Conference - Venue
...
Using ActiveSupport delegate macro.
2021-03-06 19:06:36 +01:00
Hiroshi SHIBATA
ae98ac1430
Fixed some typos ( #2695 )
...
* Fix typos
2020-10-30 11:06:43 +02:00
cyrille
35ec178beb
Create a factory for organizer
...
Refactor organizer user creation in tests
Fixes https://github.com/openSUSE/osem/issues/2398
2019-03-18 23:16:15 +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
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
e01d849374
Add a picture format for conference tickets
2017-12-11 17:11:15 -08:00
AEtherC0r3
d9faffc96a
Implement track request acceptance
...
Allow track submitter to request specific dates
Redirect to Tracks#edit if a track doesn't have a room or start/end date
before accepting it
Don't allow the submitter or the track organizers to edit the request
after it has been accepted or confirmed
Restrict track selection in proposals and move track selection from
Proposals form to events helper
Mark cfp_active of the tracks table as not null and fill in true if nil
2017-08-11 16:25:21 +03:00
shlok007
eb23d838b5
correct past and upcoming conferences in admin/organizations#index
2017-07-12 17:42:19 +05:30
shlok007
b33e9ed28e
fix revision count and drop observers
2017-07-09 03:36:57 +05:30
siddhantbajaj
dd52a9b2ab
Make ticket layout configurable
...
Added option for conference organizer to switch between ticket layouts (horizontal or vertical). Added test for the same.
2017-07-07 14:19:51 +05:30
AEtherC0r3
a1124546f1
Fix rspec tests because of the changes to the cfp
...
Remove redundant association
Note: a conference created with :full_conference already has a cfp
2017-06-27 21:16:46 +03:00
shlok007
cce3ff7aea
creating default organization while creating a conference
2017-06-12 19:43:44 +05:30
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
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
Sunny
03fa299058
enable style/dotposition rubocop cop
2017-04-06 23:19:58 -04: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
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
Rishabh Saxena
241bc89293
repair code reviews
2017-01-29 10:50:43 +05:30
Rishabh Saxena
fe828d24db
conference: refactor code and tests
2016-12-20 17:21:50 +05:30
Rishabh Saxena
53291e25b5
automatically create free ticket with new conf
2016-12-20 17:21:49 +05:30
Hernan Schmidt
a6d4d51b03
Fix model specs to work with MySQL
2016-08-18 18:32:41 +02:00
Ana
8d9bb56f06
Hexadecimal color changed to capital letters
...
The default colors in event_types and difficulty levels are in capital letters and the ones that comes from the color picker were not. Now colors are capitalized before saving the track, level or type. A rake task has also been created to capitalize color from old tracks, levels or types.
2016-07-11 13:46:02 +02:00
Ana
55c41810b2
Limit event types lenght
2016-05-31 16:51:12 +02: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
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
f840f2b3f0
Rooms belong to venue
2016-02-06 17:43:51 +01:00
Stella Rouzi
444356fbc7
Introduce Program to include cfp/rooms/tracks/events/event_types/difficulty_levels
2016-02-06 17:42:51 +01:00
chinmaydd
4eafa43f7e
Fixes Start date being greater than End date
2016-01-21 00:26:37 +05:30
Björn Geuken
a1d022d0be
Refactor user_registered? method
2015-05-27 16:06:14 +02:00
Björn Geuken
e334a6dec3
Add a test for user_registered?
2015-05-27 16:02:00 +02:00
Björn Geuken
ac0abce6e1
Small refactoring of calculate_setup_progress, part II
2015-04-17 14:46:21 +02:00
Henne Vogelsang
9e0c871494
Fix rubocop warnings and User index bug
2015-04-15 10:23:24 +02:00
Henne Vogelsang
6a5cccbaad
Last stage of refactoring of the ability model and spec
2015-04-14 17:33:59 +02:00
Shayon Mukherjee
37164e3694
Fixing functions for minutes to hours conversion for dashboard
2015-03-02 11:36:42 -06:00
Stella
6e026746a9
validate cfp start_date before end_date and end_date before conference.end_date
2014-11-29 20:00:26 +02:00
Henne Vogelsang
28063129c7
Implement consistent admin interface
...
* Consistent route/model/controller/view layout
* Get rid of unused photos, speakers, dietchoices, social_events controllers
* Drop unused :public from Rooms and :description from CallForPapers
2014-11-25 10:47:18 +01:00
Henne Vogelsang
cb227a0afc
Another round of splash design
...
* Add map to splash
* Reverse venue<->conference relation
* Split venue address into fields
* Don't go through venue for lodgings anymore
2014-11-20 15:39:26 +01:00
Chrisbr
fedb0753bf
Extracted Splashpage from Conference
...
#418
2014-08-31 22:59:42 +02:00
Chrisbr
ed55e2bf3a
Introduces new RegistrationPeriod Object for Conference
...
#416
2014-08-18 14:33:02 +02:00
Stella Rouzi
71dfb3b7e4
fix conflicts
2014-08-13 22:53:13 +03:00
Stella Rouzi
e2fb434dc7
Implement role authorization
2014-08-13 22:53:13 +03:00
Henne Vogelsang
5aa0d58c57
Move Conference contact details to Contact
2014-08-01 14:30:10 +02:00
Christian Bruckmayer
35c5116051
Merge pull request #347 from ChrisBr/fix_test_dates
...
Implements timecop to make tests independent from DateTime
2014-07-23 15:20:44 +02:00
Chrisbr
7c51d1a42f
Implements timecop to make tests independent from DateTime ( close #327 )
2014-07-23 10:28:15 +02:00
Artem Chernikov
763f864dc9
Fix basic style issues with rubocop
2014-07-21 15:05:58 +02:00