Commit graph

1751 commits

Author SHA1 Message Date
Marie-Elise
e3b83e8ec1 Hid create organization button from non-superadmin users. 2018-01-17 07:58:21 -08:00
Naman Gupta
8e91f51940 Removed .css from .css.scss from files which were causing deprecation warning 2018-01-11 11:38:39 -08:00
ViditChitkara
0ee0da1898 fixed venue updation error
fixes #1952
2018-01-11 11:16:32 -08:00
Marie-Elise
e6be579566 Updated user's booth edit path in booth#show file. 2018-01-11 09:22:20 -08:00
AnkushMalik
4e80372ac6 Change paths of buttons on conference show page
Update path of track submission btn to track#new and proposal submission to proposal#new

Closes #1813
2018-01-11 07:38:59 -08:00
Rishabh Singh
61fcc262c8 Fixed org_admin administration dashboard error.
Fixed error accessing admin dashboard by passing
organization_id attribute.

Fixes #1933
2018-01-08 15:41:55 +01:00
Jan-Frederik Rieckers
e1e0bdb4fc Add possibility to link to mastodon 2018-01-06 18:55:27 +01:00
Christina Anagnostou
979377f2df Add unregistered speakers scope to program
And use it in Conference#registration_limit_exceeded?

Also change self.registered(conference) to registered(conference) to fix failures in linters
2018-01-05 10:38:15 +02:00
Thaleia Tagaraki
e5948698db Added autofocus in a number of forms, plus correction of a few spelling mistakes
folding code into existing hash in commercials/index
2018-01-04 08:08:27 +02:00
Rishabh Singh
ada178d62c Added check for image_tag occurences.
Checking for presence of a image before using image_tag
Fixes #1909
2018-01-03 23:12:31 +02:00
Rishabh Singh
304ab01874 Fixed error in booths#show when there is no logo.
Added check for logo picture in booths#show
Fixed #1916
2018-01-03 23:12:31 +02:00
AnkushMalik
96b450224e Resolve Error on viewing conference#show
Fix a typo in conference#show view

Closes #1920
2018-01-03 21:31:28 +02:00
Rishabh Singh
0091d87dc9 Fixed growing of doughnut charts on scrolling.
Charts were growing on many pages due to spaces in id.
Fixes #1903
2018-01-02 21:13:52 +02:00
evris99
fe17dface6 remove datatable in program/cfps 2018-01-02 14:23:58 +02:00
James Mason
fa55224163 Break up the one-query-of-doom
The single query was producing a tremendously large ActiveRecord allocation.

While this isn't nearly as cool as one query, it's still a significant
reduction in SQL trips, and now has the bonus of only loading what is
actually going to be displayed.
2017-12-22 10:48:55 -08:00
James Mason
754d201b01 FIXUP fragment caching issues 2017-12-22 10:48:55 -08:00
James Mason
5fb09f398a FIXUP: Reorder splashpage & align form
* Per PR comments, place program above registration/tickets
* Reorder splashpage admin form based on splashpage order
2017-12-22 10:48:55 -08:00
James Mason
245a312c1b Add emphasis to call for sponsors 2017-12-22 10:48:55 -08:00
James Mason
27f6d8ad73 Let's get serious about linting, folks. 2017-12-22 10:48:55 -08:00
James Mason
8f43da79b5 Redesign splashpage program section & split out partials 2017-12-22 10:48:55 -08:00
James Mason
494a1b32a4 Offset venue map to center up marker 2017-12-22 10:48:55 -08:00
James Mason
20e2b4b76b Move sponsor modal to a generic partial & redesign.
... use for booths also.
2017-12-22 10:48:55 -08:00
James Mason
b2e1eb5fa9 Generalize get_logo helper for all classes 2017-12-22 10:48:55 -08:00
James Mason
aee1f58607 Consistent design and code cleanup of splashpage elements.
* get rid of unnecessary slice()
* center up small groups of elements
* consistent text use FIXME: extract out strings
* consistent date strings
* simplified views for easier theming
2017-12-22 10:48:55 -08:00
James Mason
f0c3fc357b Fold call for papers & call for tracks into one splashpage section 2017-12-22 10:48:55 -08:00
James Mason
394448dc36 Fold booths into the schedule section of splashpage 2017-12-22 10:48:55 -08:00
James Mason
92927a4f88 Reorder splashpage sections
Grouping common things, trying to keep things making sense.
I'd like to see this become customizable at some point.
2017-12-22 10:48:55 -08:00
James Mason
3cdef86d64 Redesign & move splashpage header into a partial
... this allows conferences/show to consistently just show layout.
2017-12-22 10:48:55 -08:00
James Mason
f4b869c129 Use fragment caching on the splashpage 2017-12-22 10:48:55 -08:00
James Mason
e60dc8c09d Logic for showing splashpage is not the views' concern
That's the responsibility of ConferenceController & cancancan, and
they handle it fine.
2017-12-22 10:48:55 -08:00
James Mason
995176ffe5 Fewer queries for for Conference#show
Reduces SQL wait times by >90% on splash pages.
2017-12-22 10:48:55 -08:00
James Mason
29a640a267 Remove overlap in breakpoints 2017-12-22 10:48:55 -08:00
kostino
2e89920954 Add Button that links to /admin/organizations in _admin_sidebar_index partial file located in views/layouts 2017-12-22 09:18:33 +02:00
Naman Gupta
6eb8c8d6ae Added tests for program#any_event_for_this_date? 2017-12-21 21:17:00 +02:00
foteinidd
6a1d757f43 Add check for rooms in tracks#edit 2017-12-21 21:08:40 +02:00
Ronaq13
505d9da3d4 Fix Performance/HashEachMethods offenses
values.each and keys.each methods are depreciated, so they have replaced by
each_value and each_key respectively. This has done manually.

Closes https://github.com/openSUSE/osem/issues/1825
2017-12-18 17:30:37 +01:00
Harry30897
2180e6197c Conference name repeated in revision_history on adding commercial 2017-12-15 23:30:51 +02:00
David Sedeño
57e596c67e Use distinct instead of uniq because deprectation. 2017-12-15 23:08:21 +02:00
ViditChitkara
83053f4626 added email presence validation to openid
closes #1658

added test for openid

fixed robocup offences

written tests for email presence validation

minor changes

shifted omniauth callback tests to rspec controllers

fixed linting bug

minor changes

minor changes
2017-12-15 23:07:03 +02:00
Stella Rouzi
4289f699ac Add enabled to event_schedules
To show scheduled events that have been cancelled/withdrawn as 'cancelled', and consequently also show when an event is their replacement.

admin/schedules#show does not show events that were scheduled and then cancelled/withdrawn, however a record in event_schedules exists for those events, but event_schedule.enabled = false
2017-12-15 12:31:58 -08:00
Ana María Martínez Gómez
952e8ac316
Merge pull request #1834 from bear454/fix-speaker-registration-issues
Fix speaker registration issues
2017-12-13 10:15:36 +01:00
Naman Gupta
ac8b187f1f Speaker is also able to see the proposal and able to modify it 2017-12-12 18:57:12 +02:00
rishabhptr
e5009f168c Fixed email text overflow in proposal#show
Email icon is used solve email text overflow.
Fixes #1838
2017-12-12 18:38:12 +02:00
Adriano Vieira
6d7e1f4865 autofill CFP end date
- automatically setting the end date to the start date when creating
  CFP for UX reasons (fix #1872)
2017-12-12 18:23:56 +02:00
Thaleia Tagaraki
9608e2032a Add autofocus in admin/tickets#new 2017-12-12 08:20:45 -08:00
Alexandros Pagonis
0bfb2130a9 Ticket_button added 2017-12-12 12:40:33 +02:00
Stella Rouzi
32fa0bde6b Add mass import of commercials
Fix #1055
2017-12-12 12:23:16 +02:00
James Mason
710010cb76
Use a picture format for ticketing
Instead of analyzing image size using the local file, rely on a
processed image of the appropriate dimensions.

Resolves #1828
2017-12-11 17:11:17 -08:00
James Mason
e01d849374 Add a picture format for conference tickets 2017-12-11 17:11:15 -08:00
AEtherC0r3
efaf07178f Upgrade to Rails 5
Update config with rails app:update
Update schema.rb rails db:migrate
Add puma
Make jobs and models inherit from ApplicationJob and ApplicationRecord
Update acts_as_list to 0.9.7 in order to fix
"undefined method `sanitize_sql_hash_for_conditions'" error
Update web-console to 2.3.0 to fix a 500 internal server error
Replace before_filter with before_action
Add rails-controller-testing gem
Add prepend: :true to protect_from_forgery in ApplicationController to
avoid ActionController::InvalidAuthenticityToken exceptions
Remove activeuuid
Update formtastic to 3.1.5 to fix deprecation warnings and issues
with the Input class
Update ahoy_matey to 1.6.0
Update cancancan to 2.0.0 to fix issues with malformed sql queries
Fix program spec
Fix issue with the picture being nil in admin/Organizations#new and #edit
and Organizations#show
Fix ActiveRecord::Base.raise_in_transactional_callbacks= deprecation
warning by removing an unnecessary line in application.rb
Fix failing versions specs
2017-12-11 20:58:04 +02:00