luzpaz
7d9739349b
Fix various typos
...
Fixes user-facing and non-user-facing typos
Found via `codespell -S "./vendor" -L ontext,rememberable,ridiculus,varius`
2025-10-15 11:15:47 +00:00
Henne Vogelsang
27062ea5c3
Move sign_in_path into the controller it's used...
2025-08-12 18:00:45 +02:00
Henne Vogelsang
ddcd8dfc69
Drop Rails.application.secrets usage
...
That feature is gone and we already use environment variables...
https://github.com/rails/rails/pull/47801
2025-08-12 17:27:25 +02:00
Henne Vogelsang
988b3bf689
Autocorrect new rubocop offenses
2025-08-12 16:44:20 +02:00
Henne Vogelsang
9514171e33
Simplify min/max abstract length feature
...
Also clarify that those are words...
2025-01-30 19:10:49 +01:00
Henne Vogelsang
1178cc7273
Drop word_pluralize helper
...
It makes no sense...
2025-01-30 16:21:30 +01:00
Henne Vogelsang
275be8c80a
Drop Organization Feature
2024-06-07 17:42:08 +02:00
Andrew Kvalheim
80d7ac545c
Set nofollow on links in Markdown content
...
To disincentivize spamdexing, links in user-generated content should be
disavowed by annotation with `rel="nofollow"` attributes:
- https://en.wikipedia.org/wiki/Nofollow
Automated spam has already targeted OSEM in the wild:
- https://github.com/SeaGL/organization/issues/274
Ideally link annotation would be performed during Markdown rendering or
a single sanitization pass, but this is currently an unresolved issue:
- https://github.com/vmg/redcarpet/issues/720
2023-03-03 17:16:53 -08:00
Sasi Olin
d31233c033
Migrate to fontawesome 6
2022-05-18 06:33:47 +02:00
Henne Vogelsang
36b23ce25d
Make use of ENV.fetch
2022-05-06 14:53:57 +02:00
Andrew Kvalheim
685d79e44b
Correct use of Redcarpet’s safe_links_only flag
2022-03-17 17:03:30 -07:00
Henne Vogelsang
0ff503bc1b
Fix selectized users on booth/proposal forms
2022-03-03 16:48:49 +01:00
Henne Vogelsang
81853d1ef9
Retire semantic_form_for
...
Also a buttload of form cleanups...
2022-02-24 15:52:34 +01:00
Henne Vogelsang
350b1ebbbe
Consider OmniAuth test_mode in omniauth_configured
...
There are not secrets for providers in test_mode...
2022-02-23 14:36:08 +01:00
Henne Vogelsang
2e21079991
Ajaxify booth responsibles selectize interface
...
No need to load *all* users into a select input...
2022-02-23 14:36:08 +01:00
Henne Vogelsang
0fb080441a
Drop redirect_back_or_to helper
...
This is a thing in ActionController by now
2022-02-23 14:36:07 +01:00
Henne Vogelsang
a662ed4cf8
Sanitize rendered markdown
...
Fixes #2892
2021-10-11 18:10:03 +02:00
Henne Vogelsang
2c520d9975
Switch to fenced code blocks in markdown
...
`:fenced_code_blocks:` Blocks delimited with 3 or more ~ or backticks will be considered as code, without the need to be indented. An optional language name may be added at the end of the opening fence for the code block.
`:disable_indented_code_blocks:` Do not parse usual markdown code blocks. Markdown converts text with four spaces at the front of each line to code blocks. This option prevents it from doing so. Recommended to use with fenced_code_blocks: true.
Fixes #2764
2021-07-09 11:17:52 +02:00
Sasi Olin
56838b6eb0
Don't set venue related values without a venue
2021-03-07 10:19:10 +01:00
Sasi Olin
d540092bfc
Add icalendar files ( fixes #2147 )
2021-03-06 21:18:39 +01:00
Hiroshi SHIBATA
ae98ac1430
Fixed some typos ( #2695 )
...
* Fix typos
2020-10-30 11:06:43 +02: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