Commit graph

1457 commits

Author SHA1 Message Date
Siddhant Bajaj
53a2246ff2 Fixed issue in notification drop down menu
Fixed an indentation issue in notification drop down layout.
2017-05-13 17:48:05 +03:00
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
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
Ana María Martínez Gómez
0aff947f05 Fix haml-lint error
The error was introduced when merging

https://github.com/openSUSE/osem/pull/1469

as a offense was introduced since the tests there were run
and the PR got merged.
2017-05-11 11:59:33 +02:00
selini
8a0f3c99b0 Create links for speakers in admin/reports#index 2017-05-10 10:34:45 +03:00
Eugene Dubinin
93404d543f implement user creation by admin 2017-05-08 22:54:02 +03:00
divyanshumehta
f057900fb1 Added link to lodging section in splashpage's navbar 2017-05-08 15:28:28 +03:00
Siddhant Bajaj
7ff34c5b23 Added relation between EventSchedule and program model
Program has many event_schedules through schedules
2017-04-25 18:00:24 +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
David Sedeño
ec71b111fe Add description to xml. fixes #1435 2017-04-25 13:35:09 +03:00
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
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
Ana María Martínez Gómez
be33f345a1 Merge pull request #1306 from siddhantbajaj/Confirmed_Events
fixed Confirmed Scheduled Events issue
2017-04-18 15:37:54 +02:00
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
gotens1211
3ead7ef586 Removed the extra condition for displaying the first speaker image
Removed the if statement in schedule_item.html.haml file which was generating an extra img_tag for the first speaker

Fixes #1454
2017-04-17 17:40:23 +05:30
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
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
nasia
7497d0394e Fix Splashpages#show so it matches splashpages#edit 2017-04-05 19:18:17 +03: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
Christian Bruckmayer
dae9aca2c5 Merge pull request #1434 from nasia-sam/admin_resources
Fix admin/resources inherit
2017-04-05 13:17:31 +02:00
nasia
6414631a32 Fix admin/resources inherit 2017-04-04 21:30:16 +03:00
Eugene Dubinin
b7bdb29cbe use flash.now instead of flash where page is rendered in the same controller methods 2017-04-03 20:15:51 +03:00
Stella Rouzi
d90d2344d6 Merge pull request #1423 from nikhilgupta1211/splashpage
Added Include Venue and Lodgings to the Splashpage components
2017-04-03 13:59:44 +03:00
Ana María Martínez Gómez
f3e712a1bc Merge pull request #1319 from JewelSam/master
#1220 adding the cell size attribute to the database
2017-04-03 10:23:49 +02:00
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
Ana María Martínez Gómez
42741fa90b Merge pull request #1352 from BelieveC/ScheduleLogIn
Fixes #1343, Allow viewing public schedule without login
2017-03-31 15:58:26 +02:00
Ana María Martínez Gómez
93b185e8d8 Merge pull request #1370 from alator21/move_proposal_edit_to_admin
Move proposal edit to admin
2017-03-31 15:53:49 +02:00
gotens1211
bd51be45e5 Added Include Venue and Lodgings to Splashpage components
Fixes #1422
2017-03-31 15:26:59 +05:30
gotens1211
73a6e06fd3 Show event time in conference timezone
Added an application helper method `time_with_timezone` to return time with the conference timezone which solves the issue of wrong timezone in `scheule.xml` and `admin/events#show`.

Fixes #1188
2017-03-31 13:13:57 +05:30
Christian Bruckmayer
6ea0752ef7 Merge pull request #1420 from siaw23/master
Enable Rails/Validation Rubocop cop
2017-03-29 08:56:38 +02:00
Alator
8a96bd137c Added hints for username and name in sign up form and in edit profile 2017-03-28 23:02:40 +03: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
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
Chaitanya
e46953e03f Fix SyntaxError in SchedulesController#events
Remove unexpected => from app/views/schedules/_event.html.haml to resolve syntax error

Closes #1404
2017-03-25 10:41:53 +05:30
Chaitanya
0e8e626156 Allow to view schedule without login
Add show and events action's can abilities of schedule for not_signed_in user in order to make schedule available to view without login.

Closes #1343
2017-03-24 20:52:27 +05:30
Alator
d860ec5607 Update proposal link in reports 2017-03-21 19:50:37 +02:00
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
Stella Rouzi
5e9bc683ae Move reports to separate controller 2017-03-20 17:51:37 +02:00
Stella Rouzi
a325eccc77 Merge pull request #1358 from divyanshumehta/issue_1326
Changed Ruby syntax in views
2017-03-20 17:19:28 +02: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
divyanshumehta
1ca448df6f Changed Ruby syntax in views. Fixed #1326 2017-03-20 18:27:39 +05:30
Ana María Martínez Gómez
125a7fe29a Merge pull request #1309 from commandprompt/bug_1298_fix_pr
fixes bug OSEM#1298
2017-03-17 15:44:47 +01:00
Alberto Miedes Garcés
e5aa6ab868 Fix bug in User#registered_to_event?
Fix exception being thrown in `User#registered_to_event?` when the user
is not registered in the corresponding event conference.
2017-03-17 11:26:47 +01:00
Hernán Schmidt
d4b9ea48f9 Merge pull request #1320 from nikhilgupta1211/nav_collapse
changed navbar dropdown for small devices. fixes #1380
2017-03-16 21:42:20 +01:00