Commit graph

2867 commits

Author SHA1 Message Date
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
Ismael Olea
3afe905448 Adding suggested better syntax 2018-01-02 08:28:49 -08:00
Ismael Olea
4c1a9078fe Reviewed changes
Following indications from @TheAssassin.
2018-01-02 08:28:49 -08:00
Ismael Olea
8d17acb1a8 Update Dockerfile
Adding a needed volumen.
2018-01-02 08:28:49 -08:00
Ismael Olea
b32ddc453d Fix the docker persistence for uploaded pictures: #1833 #1667 2018-01-02 08:28:49 -08: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
7f2346650f Configure cache stores
rely on RAM caching for devel, and optionally a memcached server in production
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
808625106c Removed Style/DateTime offences which occured due to the use of DateTime class in spec/models/program_spec.rb 2017-12-21 21:17:00 +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
rishabh92
8f6eeaaf45 Fix commercials does not accept slideshare https url
Updated ruby-oembed to latest version 0.12.0, issue was due to ruby-oembed version 0.8.14 not accepting https slideshare links.
Fixes #1775
2017-12-19 09:42:18 +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
Akshit Ahluwalia
99ab06d117 Add templates for github issues & pull requests
re: #1763
based on: #1764
2017-12-18 08:04:58 -08: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
Henne Vogelsang
2df8adea69 Link to an existing video with embeddable content
Otherwise the Commercial validation hits
2017-12-15 23:06:38 +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
rishabh92
4409610a89 Add database config examples for all supported databases
Example for MySQL and PostgreSQL added.
Fixes #1676

Update comments based on code review
2017-12-13 17:27:23 +02: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
Sidharth Bansal
b93613fcc5 Updated link 2017-12-12 17:45:14 +02:00