Commit graph

192 commits

Author SHA1 Message Date
Michael Ball
a6add00c51 i hate life 2020-07-29 22:48:55 -07:00
Michael Ball
7c71540d1a i hate life 2020-07-29 22:46:10 -07:00
Michael Ball
32ef4a294b GDI...typo. 2020-07-29 22:42:45 -07:00
Michael Ball
deb249d2fd better fix for join event links 2020-07-29 22:34:08 -07:00
Michael Ball
7181b05a83 Tweak timezone check and minor style tweaks 2020-07-29 22:16:34 -07:00
Michael Ball
c21c6e1525 I dont understand why this matters... 2020-07-27 19:36:00 -07:00
Michael Ball
4159250672 Small bug fix when a conference is not defined 2020-07-27 19:28:06 -07:00
Michael Ball
d1b2ad3528 admins can update volunteers, show names 2020-07-26 23:23:23 -07:00
Michael Ball
8e1d03a318 Allow scheduling volunteers for sessions.
Also fix a small bug for admin registrations edit.
2020-07-25 17:38:44 -07:00
Michael Ball
440ba3511e Link to inyourtime.zone in all the sensible places 2020-07-23 04:16:35 -07:00
Michael Ball
5b312459d0 sort happening at the same time events by room order 2020-07-22 17:49:54 -07:00
Michael Ball
b539f822fc Sigh....Add a safenav 2020-07-22 15:02:07 -07:00
Michael Ball
31dfd62fbd Better design for room URLs 2020-07-17 10:03:07 -07:00
Michael Ball
0e9d6b491b fix tickets bug with no description 2020-07-07 22:24:28 -07:00
Michael Ball
35a532ceab Delint 2020-01-27 22:53:47 -08:00
Michael Ball
1ec99a5018 Delint helpers 2020-01-27 22:42:37 -08:00
Michael Ball
5f1f93d221 Add a snap logo to the navbar 2020-01-07 00:08:05 -08:00
Michael Ball
2e817d8739 Improve markdown support and tweak sponsorship langage 2020-01-05 15:43:11 -08:00
Michael Ball
43b65cc509 Enable a bunch more markdown options.
Allow Snap_!_ to be rendered right.
2019-12-19 01:45:04 -08:00
Ana María Martínez Gómez
86440cb956
Merge pull request #2578 from rahul2240/master-alias
add booth in alias
2019-08-10 18:41:34 +02:00
Rahul
bf7a7932ba add booth in alias
Booth can be replaced with any alias by replacing it in alias.en.yml.
2019-08-10 21:40:25 +05:30
Rahul
341128c573 update condition to pluck users for booth responsibles
Earlier we used active scope to pluck users for booth responsibles, that allows all users except those whose last seen are 3 months or more and are their is_disabled field is false but now we allow all users except those with is_disabled field false to be booth responsible.
2019-07-21 20:23:04 +05:30
Ana María Martínez Gómez
41d6fad7a5
s/redirect_to :back/redirect_back/
`redirect_to` has been removed in Rails 5.1 in favor of:

```
redirect_back(fallback_location: root_path)
```
2019-05-05 09:40:50 +02:00
snpd
68c3aef86a set multiple to true for speakers 2019-03-13 17:00:55 +05:30
James Mason
516e53d9df Use chartkick globally
* Clean up legacy charting imports
* Update existing donut and line charts
* Create helpers for parsing out existing chart data
* Move chart partials to a more common path
2018-12-30 16:57:22 -08:00
James Mason
75bf1380ba Select Call type when creating; don't switch types. 2018-12-19 13:18:24 -08:00
James Mason
21c5b842b1 Unlint CfP views #BetterPlace 2018-12-19 13:18:24 -08:00
James Mason
43bef689fc Rubocop autocorrections 2018-11-16 09:06:05 -08:00
James Mason
3af4dd5aac Move big statistics to a partial 2018-09-27 15:42:08 +02:00
James Mason
ebdb5cab8c DRY up selectize users helpers
(cherry picked from commit eb38ddc6c761d4920b35499690fd5681f0ea5385)
2018-07-15 07:17:15 +02:00
James Mason
1e9765c163 DRY up bootstrapSwitches with default values 2018-06-26 07:10:08 -07:00
James Mason
fe3c6c499b Collapse two redundant helpers
Fold one-used event_status_icon and one-used booth_status_icon into
status_icon, used twice; since there is no conflict on the status-
driven description.
2018-06-06 10:19:39 +02:00
Zach Kemp
7d5d935a65 optimize queries 2018-05-09 10:07:08 -07:00
James Mason
8a422412d6 Simplify helper (and remove alteration of string literal) 2018-05-09 06:54:26 -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
James Mason
98defe2d0f Use role caching for Rolify to avoid N+1 queries
Resolves #2018

See https://github.com/RolifyCommunity/rolify#cached-roles-to-avoid-n1-issue
2018-04-04 07:36:29 -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
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
9e10678542 Clean up rating partials 2018-03-14 18:00:37 -07: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
27f6d8ad73 Let's get serious about linting, folks. 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
995176ffe5 Fewer queries for for Conference#show
Reduces SQL wait times by >90% on splash pages.
2017-12-22 10:48:55 -08: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
Sidharth
93fcf8893a Fix Style/UnneededInterpolation
Exclusions from .rubocop_todo.yml deleted.
This cop checks for string interpolated expressions. It supports autocorrection.
Fixes #1823
2017-12-04 23:45:37 +05:30
Sidharth
020dae3d49 Fix Style/ReductantReturn rubocop
Exclusions from .rubocop_todo.yml deleted.This cop checks for redundant return expressions.
Fixes #1824
2017-12-04 16:01:18 +05:30
rahul
4785293bf1 Add hint in start and end hour in conference#edit 2017-11-14 17:53:44 +02:00
James Mason
1b8f864feb
Use organization name for title link if available, but link to / 2017-11-07 13:51:10 -08:00
namangupta01
c317565ec7 proposals#edit form text in track field is added 2017-09-15 11:28:40 +03:00