Dimitris
d160c22a0b
Enable rails/findEach Rubocop cop
...
This cop enforce the use of `find_each` instead of `each`.
Closes #1535
2017-06-20 10:46:04 +03:00
Shlok Srivastava
6bb2143282
Merge branch 'master' into copy-organizations
2017-06-12 22:46:53 +05:30
Ana María Martínez Gómez
53040b3be9
Merge pull request #1498 from divyanshumehta/issue_1497
...
Added Style/SpaceInsideBrackets Rubocop cop
2017-06-12 17:45:30 +02:00
shlok007
8edf896d86
introduce organizations
2017-06-12 19:43:44 +05:30
AEtherC0r3
41503bb7a0
Compute ticket statistics
...
And exclude admin/ConferencesController from rubocop_todo.yml
2017-06-12 15:24:27 +03:00
divyanshumehta
0d01ed08b0
Added Style/SpaceInsideBrackets Rubocop cop
2017-06-11 22:57:52 +05:30
AEtherC0r3
fdff485b3e
Allow confirmed speakers to register anytime
...
If the registration period is over then speakers of confirmed events
can't register anymore. They should be able to, since they are gonna be
there anyway.
* Allow the speakers of confirmed events to register regardless of the
registration period
* Provision for registrations of confirmed speakers, so as not to
exceed the registration limit
* Add scope for registered speakers
Fix #829 and fix #802
2017-05-13 17:47:22 +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
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
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
Emanuel Hayford
e5587d42a2
Enable Rails/Validation Rubocop cop
...
Cop checks for the use of old-style attribute validation. Supports autocorrection which was run
to fix the files concerned
Closes #1414
2017-03-28 21:47:31 +02:00
Chaitanya
782937b1d9
Enable Style/ZeroLengthPredicate Rubocop cop
...
This cop checks for numeric comparisons that can be replaced by a predicate method. It supports autocorrection, so all the offenses where automatically solved.
Closes #1416
2017-03-28 14:42:21 +05:30
Chaitanya
4427f43bdf
Enable Style/RedundantSelf Rubocop cop
...
This cop checks for redundant uses of self. It supports autocorrection, so all the offenses where automatically solved.
Closes #1373
2017-03-28 13:27:52 +05:30
Ana María Martínez Gómez
4b418238d2
Merge pull request #1378 from BelieveC/EnableDoubleNegation
...
Fixes #1374 to Enable Style/DoubleNegation Rubocop
2017-03-21 11:44:56 +01:00
Chaitanya
7de009e46e
Enable Style/DoubleNegation Rubocop cop
...
This cop checks for uses of double negation (!!) to convert something to a boolean value. It doesn't support autocorrection, so all the offenses where manually solved.
Closes #1374
2017-03-20 19:12:40 +05:30
Chashmeet Singh
43dbb153c2
fix : #1345 (remove duplicate text in error message)
2017-03-14 22:32:24 +05:30
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
ebb5203887
Exclude conference model from ClassLength cop
...
Exclude conference.rb file from ClassLength Rubocop cop and decrease the
max value of this cop to 300, as the following class in number of lines is
event.rb with 218.
Also, remove unused comments from Conference model class.
2017-02-22 17:08:51 +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
Hernán Schmidt
a0120734e3
Merge pull request #1287 from sheamunion/issue-1273
...
Issue 1273
2017-02-12 19:59:52 +01:00
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
Shea Munion
1d4140099f
Remove dash from regex for short_title format validation.
2017-02-08 12:23:30 -06:00
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
Rishabh Saxena
e0d5b461b3
rubocop: annotate exceptions
2016-12-20 17:21:50 +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
Hernán Schmidt
32019a11e1
Merge pull request #1108 from rishabhs95/stripe
...
Online payment feature - direct stripe integration
2016-08-18 16:04:11 +02:00
Rishabh Saxena
ee0a575a6f
add payment model and its associations
2016-08-15 10:59:33 +05:30
Nishanth Vijayan
a45e537bac
Setup basic Revision History page
...
Sets up paper_trail tracking in important models
and add conference_id to versions for storing conference_id
of conference related objects as metadata.This will help in querying
for versions related to conferences.
Fix issues with factories & event types initialization.Import paper_trail testing helpers
Fix bug: Creating an event creates a useless version with event update
Add revert and view changes features to revision history
2016-08-12 13:35:56 +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
Ana
bf7f5ce09f
The schedule takes you to the current day and time
...
The schedule takes you to the current day and time in case that the current date belongs to the conference schedule.
Closes https://github.com/openSUSE/osem/issues/1057
2016-07-25 11:33:30 +02:00
Ana
39c4261859
All events takes you to the current day
2016-07-25 11:33:30 +02:00
Ana
0deaf1abc7
Different colors for new tracks, types and levels
...
Every time a new track, event type or difficulty level is created, the color picker has a different color by default.
Closes https://github.com/openSUSE/osem/issues/1077
2016-07-11 13:46:01 +02:00
Ana
460d117d7a
making next_color function more readable
2016-06-25 15:36:43 +02:00
Ana
62c3ee1631
Statistics on top of Registrations#index
2016-06-25 14:39:45 +02:00
Ana
f5701f2e77
Statistics on top of Events#index
2016-06-25 14:39:45 +02:00
Henne Vogelsang
40023044af
Use PictureUploader on Conference
2016-04-27 17:40:23 +02:00
Henne Vogelsang
ae55c2772f
Remove danging :photos table and other photo cruft
2016-04-27 17:40:18 +02:00
Henne Vogelsang
14011f8828
Fix email notifications
2016-04-20 16:22:29 +02:00
Stella Rouzi
b9e10922ee
drop dietary choices, social events, and html_export_path
2016-04-09 16:29:20 +03: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
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
Henne Vogelsang
e2fb83146a
Merge pull request #768 from hennevogel/rubocop
...
Update rubocop todo file
2016-02-18 14:08:04 +01: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
Henne Vogelsang
046f726414
rubocop: Update todo file, enable rails cops
2016-02-08 14:57:23 +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
Stella Rouzi
152b59aade
Fix failed tests of #756
2016-01-21 13:05:27 +02:00