James Mason
2785c3ab6d
Raise handled error when conference not found
...
The current codebase will end in a 500 APPLICATION ERROR if Conference#short_title isn't found... this should be a 404 NOT FOUND INSTEAD, which will be handled if we raise ActiveRecord::RecordNotFound.
2018-11-06 08:18:35 -08:00
robotscissors
d53cc3b436
Add support for twitter cards and facebook shares
...
Added missing image url as well as created twitter card.
validated both with twitter validator and facebook validator.
All passed.
Need to check to see if no image is selected, what is outcome.
2018-05-24 16:42:31 -07:00
Zach Kemp
7d5d935a65
optimize queries
2018-05-09 10:07:08 -07:00
James Mason
6d31dfeef4
Add frozen_string_literal magic comment
...
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-05-09 06:54:26 -07:00
kostino
69de418ccd
Add call for booths in cfp section in conference splashpage(conferences#show),modified after the design changes
2018-03-27 07:51:06 -07: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
Marie-Elise
5d816f934a
Corrected formatting errors.
2018-01-17 19:18:39 -08:00
Marie-Elise
afff7e1c66
Refactored condition to check if splashpage is present.
2018-01-17 19:18:39 -08:00
Marie-Elise
34af9b840b
Added condition to check for existing splashpage. Will redirect user if splashpage is not found.
2018-01-17 19:18:39 -08: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
995176ffe5
Fewer queries for for Conference#show
...
Reduces SQL wait times by >90% on splash pages.
2017-12-22 10:48:55 -08:00
shlok007
835859e350
refactored DomainConstraint and conference_controller_spec
...
use params id instead of OSEM_HOSTNAME to load conference
2017-08-22 21:18:58 +00:00
shlok007
f4775f8e6a
fix access denied error for program in custom domains
2017-08-22 21:18:58 +00:00
shlok007
0ac5d18ef2
route to conference#show for custom domain
2017-08-22 21:18:58 +00:00
richiethomas
daf1f805bd
Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController'
2016-09-30 18:49:44 -04:00