Commit graph

1071 commits

Author SHA1 Message Date
James Mason
31a3cb18b7 Implement caching on admin event view
Resolves https://github.com/openSUSE/osem/issues/1985
2018-03-14 18:00:37 -07:00
James Mason
a2ed9c0074 Move events index datatable row to a partial
- clean up columns
- tag unregistered submitters & speakers
- implement caching
2018-03-14 18:00:37 -07:00
James Mason
4951d085f5 Tidying up. 2018-03-14 18:00:37 -07:00
James Mason
81bad2eb4d DRY up event export menus 2018-03-14 18:00:37 -07:00
James Mason
0848df6948 Add helper for event switch checkboxes 2018-03-14 18:00:37 -07:00
James Mason
ad19a6d753 Use helpers for repeated event dropdown links 2018-03-14 18:00:37 -07:00
James Mason
4c58104a65 Remove blind_voting overreach
The 'Blind Voting' feature is described as:
> you do not want to show voting results and voters prior to user
> submitting a vote.

It does not imply or suggest that speaker or submitter names should be
hidden (especially from admins).

Resolves https://github.com/openSUSE/osem/issues/1984
2018-03-14 18:00:37 -07:00
James Mason
9e10678542 Clean up rating partials 2018-03-14 18:00:37 -07:00
rahul2240
1b226f1ac8 Fix NoMethodError in revision history
Roles get deleted with organization so to show them in revision history previous version of role model is required.That is done here.
closes https://github.com/openSUSE/osem/issues/1937
2018-03-14 23:42:46 +01:00
Godfrey Chan
0c8095493a Skylight instrumentation
This allows individual installations to optionally collect performance
data using [Skylight for Open Source](https://www.skylight.io/oss).
2018-02-22 21:08:24 -08:00
Carlos Coelho
8457dafbf6 Add withdrawn events to conference dashboard
Signed-off-by: Carlos Coelho <carlos@vinta.com.br>
2018-02-19 01:02:30 +02:00
James Mason
63515cef58 Change Conference#show to load sponsors
Caching on sponsorship levels alone is not changing; as a bonus the sponsor
modals are simplified a little.
2018-02-05 11:04:09 -08:00
James Mason
82d8629e43 Fix social media section of splashpage
Commit e1e0bdb4 inadvertently added a 2nd version of the partial.
2018-02-05 11:52:58 +01:00
AnkushMalik
ed21986cf1 Fix oauth btn alignment
Use flex for alignment of btn grp

Closes #1931
2018-01-31 09:56:05 -08:00
Marie-Elise
e3b83e8ec1 Hid create organization button from non-superadmin users. 2018-01-17 07:58:21 -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
Jan-Frederik Rieckers
e1e0bdb4fc Add possibility to link to mastodon 2018-01-06 18:55:27 +01: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
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
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
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
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
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
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