Commit graph

1246 commits

Author SHA1 Message Date
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
9514171e33 Simplify min/max abstract length feature
Also clarify that those are words...
2025-01-30 19:10:49 +01:00
Henne Vogelsang
f777efe7c0
Fix code of conduct during the registration 2025-01-30 17:11:00 +01:00
Henne Vogelsang
3e36235e55
Merge pull request #3561 from hennevogel/bugfix/3556
Drop word_pluralize helper
2025-01-30 16:42:43 +01:00
Henne Vogelsang
1178cc7273
Drop word_pluralize helper
It makes no sense...
2025-01-30 16:21:30 +01:00
Henne Vogelsang
9552df078a
Merge pull request #3560 from hennevogel/bugfix/3555
Only set language if we find the ISO code for it...
2025-01-30 15:45:31 +01:00
Henne Vogelsang
1719ca9703
Only set language if we find the ISO code for it...
Fixes #3555
2025-01-30 15:26:55 +01:00
Henne Vogelsang
0c1989435a
Fix syntax error
Fixes #3554
2025-01-30 15:22:32 +01:00
Henne Vogelsang
d6b94c6291
Merge pull request #3418 from asdil12/tz
Fix wrong timezone in schedule XML
2024-07-02 15:29:11 +02:00
Henne Vogelsang
e339133c56
Do not require programs languages in controller
We did not set this in ProposalController#create so it was empty
if we the event validation failed and we rendered :new.

It makes little sense to assign this instance variable anyway, we already have
@program.
2024-07-01 14:23:08 +02:00
Dominik Heidler
14cbab11c0
Fix wrong timezone in schedule XML
Fixes #3242
Fixes #3417
2024-06-24 11:28:35 +02:00
Henne Vogelsang
9f1e877ea0
Expose Conference.code_of_conduct 2024-06-07 17:42:08 +02:00
Henne Vogelsang
275be8c80a
Drop Organization Feature 2024-06-07 17:42:08 +02:00
Henne Vogelsang
30fdc2d796
Replace all datepickers with date input
Nowadays all browsers have reasonable date input support...
2024-06-07 14:09:12 +02:00
Henne Vogelsang
07bfff8fa1
Replace registration-period datepickers with date input
Nowadays all browsers have reasonable date input support...
2024-06-07 13:16:44 +02:00
Henne Vogelsang
494c73bbd6
Drop skylight, we already support sentry 2024-06-06 18:26:01 +02:00
Henne Vogelsang
30bc21c96a
Move word counting javascript to the page
It really does not need to run on every page load...
2024-03-05 15:41:53 +01:00
Henne Vogelsang
a154d99460
Merge pull request #3194 from openSUSE/depfu/update/countries-5.4.0
Drop country_select
2023-05-08 17:28:54 +02:00
depfu[bot]
d9f86d0564
Drop country_select
We are using i18n_data directly.
2023-05-08 17:09:55 +02:00
Andrew Kvalheim
3ae1275fb5 Restore views for Admin::EventsController#new and Admin::UsersController#edit
1. Restore views lost during 81853d1:

        git restore --source 4a16836 \
          app/views/admin/users/_form.html.haml \
          app/views/application/edit.html.haml \
          app/views/application/new.html.haml
        mv app/views/application/edit.html.haml app/views/admin/users/
        mv app/views/application/new.html.haml app/views/admin/events/

 2. Convert from Formtastic:

      - app/views/admin/users/_form.html.haml

 3. Add header as in 81853d1:

      - app/views/admin/events/new.html.haml

 4. Substitute partial unified in 88b5596:

      - app/views/admin/events/new.html.haml

resolves #2975
2023-05-01 18:34:55 -07:00
Andrew Kvalheim
c403247b79 Restore detailed event form for admins
In #2987 the detailed view of the event form was inadvertently lost,
presumably due to #2975 masking the problem.
2023-05-01 18:34:51 -07:00
Andrew Kvalheim
ada8d5a68c Add missing form labels
Lost during 81853d1
2023-05-01 18:33:16 -07:00
Henne Vogelsang
ef8863298e
Merge pull request #3094 from differentreality/2738_history_changes_deleted_models
Fix version history for deleted models
2023-04-19 13:28:17 +02:00
Henne Vogelsang
86b8990d71
Merge pull request #3130 from AndrewKvalheim/vote-cache-expiration
Expire voting fragment caches
2023-04-19 13:23:05 +02:00
Henne Vogelsang
3aaf86076f
Merge pull request #3133 from AndrewKvalheim/thead-tr
Correct invalid table markup
2023-04-19 13:14:34 +02:00
Henne Vogelsang
4cb0147799
Merge pull request #3135 from AndrewKvalheim/send-to-whom
Clarify to whom emails will be sent
2023-04-19 13:13:29 +02:00
Henne Vogelsang
ddeb8bd776
Merge pull request #3139 from AndrewKvalheim/font-awesome-spill
Move text out of Font Awesome icons
2023-04-19 13:12:47 +02:00
Andrew Kvalheim
cdee712d07 Display track description on proposal form
Tracks are otherwise undocumented for CfP respondents.
2023-03-11 13:51:02 -08:00
Andrew Kvalheim
6ed1725b01 Server-side render initial visibility of select help text
Resolves failure to display initial help text of difficulty level.
2023-03-11 13:50:51 -08:00
Andrew Kvalheim
741c188260 Move text out of Font Awesome icons
Font Awesome icon elements are intended to be empty. Extending the icon
elements around adjacent text caused the text to be displayed in an
irregular font.
2023-03-10 14:17:46 -08:00
Andrew Kvalheim
1e97b391c2 Clarify to whom emails will be sent 2023-03-08 17:18:51 -08:00
Andrew Kvalheim
1f31c1c80d Correct invalid table markup
- Add required <tr> within <thead>
  - Add implicit <tbody> after <thead>
2023-03-04 14:33:08 -08:00
Andrew Kvalheim
04f6a73d73 Add user to cache dependencies of event proposal tab
When fragment caching is enabled—

    --- a/config/environments/test.rb
    +++ b/config/environments/test.rb
    @@ -27 +26,0 @@
    -  config.action_controller.perform_caching = false
    @@ -29 +27,0 @@
    -  config.cache_store = :null_store

—the test of voting fails with:

    expected to find visible css ".rating.bright" … 0 times, found 3 matches
    expected to find visible css ".rating:not(.bright)" … 5 times, found 2 matches
    # ./spec/features/voting_spec.rb:21
    # ./spec/features/voting_spec.rb:21
    # ./spec/features/voting_spec.rb:57

i.e. the vote displayed in the event proposal tab is another user’s
vote, because the fragment’s cache dependencies don’t include the
current user.

resolves #2767
2023-03-01 11:52:16 -08:00
Andrew Kvalheim
1563881153 Add user to cache dependencies of vote in events index
When fragment caching is enabled—

    --- a/config/environments/test.rb
    +++ b/config/environments/test.rb
    @@ -27 +26,0 @@
    -  config.action_controller.perform_caching = false
    @@ -29 +27,0 @@
    -  config.cache_store = :null_store

—the test of voting fails with:

    expected to find text "Not rated" in "…You voted: 3/5…"
    # ./spec/features/voting_spec.rb:15
    # ./spec/features/voting_spec.rb:13
    # ./spec/features/voting_spec.rb:57

i.e. the vote displayed on the event index is another user’s vote,
because the fragment’s cache dependencies don’t include the current
user.

re #2767
2023-03-01 11:43:50 -08:00
Stella Rouzi
7fc848fe9c Fix version history for deleted models
Resolves #2738
2022-10-27 11:35:20 +03:00
Sasi Olin
45c57eb76e
Fix missing fa-stacked-icon function 2022-05-22 00:50:49 +02:00
Sasi Olin
f28f1fd9b3 Fix venue information city/country display 2022-05-20 16:25:38 +02:00
Sasi Olin
9fb26f880d Minor fixes 2022-05-20 16:09:31 +02:00
Henne Vogelsang
c052f59b0a
Merge pull request #3035 from hellcp/fontawesome6
Migrate to fontawesome 6
2022-05-20 14:25:56 +02:00
Sasi Olin
8326fb2c8b
Use the correct fonts for social media 2022-05-18 16:03:19 +02:00
Sasi Olin
d31233c033 Migrate to fontawesome 6 2022-05-18 06:33:47 +02:00
Sasi Olin
1c4a02110f
Remove the slash between city and country name if either is empty 2022-05-18 04:18:00 +02:00
Henne Vogelsang
5fe2f1dfc3
Merge pull request #2987 from mkiroshdz/proposal-views-refactor
Refactor proposal forms
2022-05-16 12:11:14 +02:00
Henne Vogelsang
83c31ed50a
Merge pull request #2986 from openSUSE/depfu/update/rubocop-rspec-2.10.0
Update rubocop-rspec: 2.4.0 → 2.10.0 (minor)
2022-05-09 12:23:04 +02:00
mkiroshdz
88b55966cc Refactor proposal forms 2022-05-06 19:02:27 -05:00
Henne Vogelsang
36b23ce25d
Make use of ENV.fetch 2022-05-06 14:53:57 +02:00
Henne Vogelsang
c97d0a1a40
Fix selectize input defaults
Not pre-filling those with existing associations lead to them being
removed on any update.

Fixes #2988
2022-05-06 13:23:51 +02:00
Sasi Olin
7bbac4b599
Update app/views/conferences/_highlights.haml
Co-authored-by: Henne Vogelsang <hvogel@opensuse.org>
2022-04-19 13:16:50 +02:00
Sasi Olin
01bb991d46
Update app/views/conferences/_highlights.haml
Co-authored-by: Henne Vogelsang <hvogel@opensuse.org>
2022-04-19 13:16:45 +02:00
Sasi Olin
7f1162ea35
Don't include speaker information if it's nil 2022-04-16 15:04:27 +02:00