Commit graph

2877 commits

Author SHA1 Message Date
Marie-Elise
e3b83e8ec1 Hid create organization button from non-superadmin users. 2018-01-17 07:58:21 -08:00
James Mason
32a6d69851 Enable compression in Rack 2018-01-12 08:01:45 -08:00
James Mason
26b6902af3 Explicity compress assets 2018-01-12 08:01:45 -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
Vincent Misson
f0a8f2b74c Fix example file #update
Remove only the quotes for OSEM_SMTP_PORT as it's an integer
2018-01-11 08:10:17 -08:00
Vincent Misson
b7015b7d26 Fix example file to work with docker mailhog
Issue seems to be link with this commit : da735fe1c9
More information here : https://github.com/openSUSE/osem/issues/1863
2018-01-11 08:10:17 -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
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