Commit graph

1053 commits

Author SHA1 Message Date
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
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
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
Adriano Vieira
4859f8c64e Render CfP description column as plain text
- fix #1856
2017-12-09 17:36:33 -02:00
foteinidd
52dcc6c474 Added autofocus on the name input in admin/lodgings#new 2017-12-07 20:43:19 +02:00
Ismael Olea
166d1bda0d Fix the UI inconsistence documented at #1830
Fixes the UI but not touch the logic. I fear to mess up the database schema.
2017-12-06 00:00:56 +01:00
James Mason
eca09dd7d6
Merge branch 'master' into recaptcha 2017-11-15 11:58:15 -08:00
James Mason
3490644a4d
Merge branch 'master' into switch-transifex 2017-11-14 08:06:50 -08:00
rahul
4785293bf1 Add hint in start and end hour in conference#edit 2017-11-14 17:53:44 +02:00
rahul
837d8ec0db Add popup confirmation on update button
Popup is added so user can confirm the changes
Closes https://github.com/openSUSE/osem/issues/1687
2017-11-14 17:53:44 +02:00
ViditChitkara
bd045c2976 added description field to cfps
closes #1650

done some changes

minor changes

added markdown format to cfp#show

fixed description text  position in proposals

fixed truncated description text in show action

minor changes on non-admin side
2017-11-14 17:31:08 +02:00
James Mason
fba12aef24
Only include transifex JS if the ENV var is set
... otherwise, don't bother loading this blocking external resource.
2017-11-12 20:43:02 -08:00
Adriano Vieira
6fa709a4de Fix to only show speaker email if it's public 2017-11-12 01:55:03 -02:00
James Mason
ce4e993fe7
Merge branch 'master' into recaptcha 2017-11-08 09:33:03 -08:00
James Mason
aca8adf6e8
Merge branch 'master' into include_speaker_email_in_events 2017-11-07 17:19:42 -08:00
James Mason
1c623b1c8a
Merge branch 'master' into organization-link 2017-11-07 14:32:35 -08:00
James Mason
714f89f6ba
Fix missing link on public organizations page
When viewing a conference, the Instance Name in the header points to
/organizations. On the organizations index, there's a button to see
conferences, but it does nothing. This makes it easy for public users to
get lost.

This commit:
* Adds a function to the organizations controller to show child
  conferences
* Adds a public permission to see conferences through an organization
* Represents a subset of conferences, reusing conferences/index view,
  for the organization
2017-11-07 14:11:13 -08:00
James Mason
1b8f864feb
Use organization name for title link if available, but link to / 2017-11-07 13:51:10 -08:00
Naman Gupta
2e07462d77 exports are made to be wrap_text 2017-11-08 00:49:03 +05:30