AEtherC0r3
f37d3095e1
Rework cfp abilities
2017-06-27 21:16:46 +03:00
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
AEtherC0r3
2bff918556
Add index view for the cfp and modify existing ones
...
Add cfp_type to the form partial
Refactor Cfps#show to use partials for the different cfp types
Modify the rest of the view, where the cfp was used
2017-06-27 21:16:46 +03:00
AEtherC0r3
c3eb178546
Modify CFP to accept proposals for other things
...
Add field cfp_type and relevant validations
Add Program#cfp to preserve backwards compatibility
Add 'for_events' scope to the cfp, in order for it to be used like
program.cfps.events
Add useful methods
Add rspec test for the new code
The supported cfp types can be viewed via Cfp::TYPES
2017-06-27 21:16:46 +03:00
Dimitris
7fd738bc7d
Add option to render html at format_helper
2017-06-27 18:30:26 +03:00
Ana María Martínez Gómez
267f080ac7
Enable Style/CommentAnnotation Rubocop cop
...
This cop checks that comment annotation keywords are written according
to guidelines. The offense was automatically corrected.
2017-06-26 16:47:07 +02:00
siddhantbajaj
02f27dd4bc
Fixed association between TicketPurchase and Payment Model.
...
One to many association between TicketPurchase model and Payment Model wasn't properly set up.
2017-06-22 19:51:08 +05:30
Siddhant Bajaj
5c56683ae8
Introduced Physical Ticket
...
Added PhysicalTicket model and controller. It holds the information about each physical ticket bought at the purchase. Physical Tickets are created after every successfull payment.
2017-06-22 19:50:55 +05:30
Eugene Dubinin
1c38b091cc
Fixes for PostreSQL support
2017-06-20 15:49:15 +03:00
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
Stella Rouzi
2f70a1ddd1
Avoid horizontal scroll bar
2017-06-15 13:54:06 +03:00
divyanshumehta
cdf794ecbf
Add Style/SelfAssignment Rubocop cop
...
The cop enforces use of self assignment operator E.g. a=a+2 gets
written as a+=2. Also the offenses listed in rubocop.todo.yml
have been corrected automatically with the --auto-correct option.
Fixes issue #1531
2017-06-14 09:22:19 +05:30
Dimitris
be72b9d02e
Allow user to remove openid
2017-06-13 13:04:55 +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
cc5d47e6de
suggested changes
2017-06-12 19:43:44 +05:30
shlok007
b29856a122
suggested changes
2017-06-12 19:43:44 +05:30
shlok007
cce3ff7aea
creating default organization while creating a conference
2017-06-12 19:43:44 +05:30
shlok007
3fb316482c
suggested changes
2017-06-12 19:43:44 +05:30
shlok007
e0d8e85808
suggested changes
2017-06-12 19:43:44 +05:30
shlok007
8edf896d86
introduce organizations
2017-06-12 19:43:44 +05:30
shlok007
ce9d2b3c5b
fixes failing haml-lint in admin/conference/show
2017-06-12 18:37:50 +05:30
nasia
8cd3326520
Add charts about sold tickets
2017-06-12 15:24:27 +03:00
AEtherC0r3
41503bb7a0
Compute ticket statistics
...
And exclude admin/ConferencesController from rubocop_todo.yml
2017-06-12 15:24:27 +03:00
AEtherC0r3
c2184c1c4f
Add 'week' column to TicketPurchases
2017-06-12 15:24:27 +03:00
selini
9ff3601453
remove unnecessary functions
2017-06-12 12:31:31 +03:00
selini
071ed50acb
Hide recent Registrations/Submissions when conference is over
2017-06-12 12:31:31 +03:00
divyanshumehta
1223fef87c
Use of rubocop compliant unescaping methods in application_helper.rb
2017-06-11 22:57:52 +05:30
divyanshumehta
0d01ed08b0
Added Style/SpaceInsideBrackets Rubocop cop
2017-06-11 22:57:52 +05:30
nasia
6cb11ff2f3
Add Style/WordArray at rubocop.yml #1463
2017-06-06 13:53:05 +03:00
AEtherC0r3
02d75ec729
Fix registration sorting
...
Sort the 'Actions' column by registration.attended
2017-06-03 12:37:56 +03:00
Agrim Mittal
255744268b
shift relevant functions to versions_helper
2017-05-26 15:47:01 +03:00
Agrim Mittal
b4c2eeb772
change name to versions_helper
2017-05-26 15:47:01 +03:00
hitman
60afb2a474
refractor can_manage_volunteers?
2017-05-26 15:47:01 +03:00
hitman
dbffece956
remove !! from can_manage_volunteers
2017-05-26 15:47:01 +03:00
hitman
4fbb7db16b
modify event_type function
2017-05-26 15:47:01 +03:00
hitman
b36d02ceec
change to can_manage_volunteers?
2017-05-26 15:47:01 +03:00
hitman
85fa39870d
relocate some functions
2017-05-26 15:47:01 +03:00
hitman
c6203a4ed4
rearrange helper functions
2017-05-26 15:47:01 +03:00
hitman
bb0857cbad
remove unnecessary includes from ApplicationHelper
2017-05-26 15:47:01 +03:00
hitman
a5d637fcf1
add documentation for each helper
2017-05-26 15:47:01 +03:00
hitman
5dece1ea48
refractor code into different files
2017-05-26 15:47:01 +03:00
hitman
d9925f00e9
add volunteers helper
2017-05-26 15:47:01 +03:00
hitman
2e0f7e9b42
relocate some functions
2017-05-26 15:47:01 +03:00
hitman
5b1a730e19
rearrange helper functions
2017-05-26 15:47:01 +03:00
hitman
e2657bb10d
refractor code into different files
2017-05-26 15:47:01 +03:00
divyanshumehta
4824537aeb
Added Rails/Delegate Rubucop Cop
2017-05-23 10:31:40 +05:30
AEtherC0r3
fa56ff7f6d
Add helper function for speaker selection
...
The line '@users = User.all.order(:name)' is replicated a lot of times
in EventsController and ProposalsController.
So, this commit removes it and adds a helper function
'speaker_selector_input' that generates the field where the @users
variable was used.
Also, it makes the query more specific.
Fix #1455
Other changes:
* Include the username in the drop down menu
* Add .active scope to User and corresponding tests
* Add :disabled trait to User factory
2017-05-20 18:27:07 +03:00
AEtherC0r3
36b8088726
Replace submitter with speakers in reports#index
...
Also, in events#show and proposals#index
It is more relevant to check if the speakers have registered to the
conference and filled their biographies than the submitter, because,
there can be multiple speakers and the submitter isn't necessarily one
of them
And, remove admin/events/reports.html.haml, since, it isn't used anymore
Fix #1477 , fix #1479
2017-05-20 18:26:45 +03:00
Sergio Lindo Mansilla
207b3611c6
Change too bright color to matte
...
- The bright colors makes the labels unreadable on some screens.
2017-05-15 15:49:19 +02:00