Commit graph

2118 commits

Author SHA1 Message Date
Stella Rouzi
e06a47820c
Merge efdb2cd63b into 4b6895f31d 2026-06-27 18:17:28 +02:00
Mridankan Mandal
f66eb8393c fix(auth): allow event commercial management
Non-admin proposal flow uses Ability, not AdminAbility, so organizers and CFP users could edit proposals but could not create event commercials.

Closes #3143.

Signed-off-by: Mridankan Mandal <xerontitan90@gmail.com>
2026-05-31 21:23:54 +05:30
Henne Vogelsang
3494b91f4d
Fix parameter generation for activating a schedule
Also: `@program` is instantiated via `load_and_authorize_resource` already...
2026-03-18 13:11:17 +01:00
Henne Vogelsang
76c9a5330e
Fix too loose registration strong parameters 2026-03-18 12:20:20 +01:00
Henne Vogelsang
d6e36f2845
Fix too loose strong parameters in the admin interface
There are some attributes that we don't use and/or that should
not be changeable, even by admins.
2026-03-18 12:20:20 +01:00
Henne Vogelsang
d588fb00da
Fix too loose strong Booth parameters
People should not be able to change the state, conference or timestamps of
booths.
2026-03-18 12:18:10 +01:00
Henne Vogelsang
cf87cc6280
Remove unused ticket_purchase_params 2026-03-17 15:59:02 +01:00
gunapriya07
8943807c04
Fix: allow all users to view conference code of conduct (#3708) 2026-03-03 15:52:07 +01:00
Stella Rouzi
3f6938d0ee
Merge branch 'master' into chennesFixAreaTypo 2025-11-13 13:39:09 +02:00
Chris Hennes
e703d1dcf4
Fix typo in venue form help text 2025-11-05 16:17:49 -06:00
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
Chris Hennes
8d3808e1bb
Fix typo in edit track header 2025-10-12 21:31:57 -05:00
Stella Rouzi
efdb2cd63b Remove duplicate code and style fixes 2025-08-14 17:28:55 +02:00
Stella Rouzi
91629d9b92 Add authorization for toggle_favorite and rename route 2025-08-14 17:28:55 +02:00
Ana María Martínez Gómez
2485923319 Move update favorites to a separate action
Introduce a separate action `toggle_favorite` to update user favorites events.
Otherwise users with permissions to update the event can have it as favorite.
2025-08-14 17:28:55 +02:00
Ana
059b5cbf84 Show the individual User schedule
Show the current user favourites events for both schedule and all events.

Unsed css removed.
2025-08-14 17:28:55 +02:00
Ana
c6906675f9 Make it possible to select favourites events
Make it possible for users to select events which they want to see in the public schedule and in the All events section of the public schedule.
2025-08-14 17:28:55 +02:00
Ana
39e05a29fa Introduce an association between User and Event
Introduce an association between User and Event for the user schedule. As there was already a relation call users in Event the new relation is called public_users. And for the same reason the relation in Event is called public_events.
2025-08-14 17:28:55 +02:00
Henne Vogelsang
aaff07e48b Put the ticket token into the registration export 2025-08-14 11:44:26 +02:00
Henne Vogelsang
0bfdaa787c
Drop RailsVersion
This is the same as `NextRails.next?`...
2025-08-13 16:49:35 +02:00
Henne Vogelsang
ba2b2b7fc9
Update Rails to 7.2 and next Rails to 8.0
Only needed some changes to the serializing in Conference.
2025-08-13 11:45:58 +02:00
Henne Vogelsang
27062ea5c3
Move sign_in_path into the controller it's used... 2025-08-12 18:00:45 +02:00
Henne Vogelsang
8e173ef713
Merge pull request #3618 from hennevogel/bugfix/rails-version
Put RailsVersion into autoloaded path
2025-08-12 17:39:34 +02:00
Henne Vogelsang
04beb397ee
Put RailsVersion into autoloaded path
Also configure it for the next rails version
2025-08-12 17:33:30 +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
bb59c9a4d9
Merge pull request #3563 from hennevogel/bugfix/3552
Fix code of conduct during the registration
2025-01-30 17:24:49 +01:00
Henne Vogelsang
f777efe7c0
Fix code of conduct during the registration 2025-01-30 17:11:00 +01:00
Henne Vogelsang
d27c881555
Merge pull request #3562 from hennevogel/bugfix/3557
Validate length of User.affiliation
2025-01-30 16:54:15 +01:00
Henne Vogelsang
e324b9de78
Validate length of User.affiliation 2025-01-30 16:43:39 +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
Andrew Kvalheim
514ea1efbd
Fix bug in initial scheduling of events
Resolves inability to schedule a nonscheduled event:

    ActionController::RoutingError: No route matches [PUT] "/admin/conferences/…/event_schedules"

`event_schedule_id` represents the absence of a schedule as either an
empty string or undefined, not as null.
2025-01-30 14:37:55 +01:00
Henne Vogelsang
ddff97147f
Query versions of associations
Not association related versions data. To make this database save, this broke
with Postgre. Probably LIKE vs ILIKE...
2025-01-21 17:41:39 +01:00
Henne Vogelsang
c6d23e4742
Do not double assign attributes
Doing this messed with PictureUploader file names.
2025-01-21 14:19:23 +01:00
Henne Vogelsang
50d6f5b3d5
Remove superflous spec for User.registered/attended
There is no logic involved, just a map on the title...
2024-12-09 16:42:42 +01:00
Henne Vogelsang
a274940b5d
Autocorrect Rails/WhereRange 2024-12-02 13:16:34 +01:00
Henne Vogelsang
5b49af7559
Autocorrect Rails/EnumSyntax 2024-12-02 13:15:26 +01:00
Henne Vogelsang
e1e7c18586
Autocorrect Style/SafeNavigation 2024-12-02 11:46:33 +01:00
Henne Vogelsang
68e8203f27
Autocorrect
- Lint/SafeNavigationConsistency
- Capybara/NegationMatcher
2024-12-02 11:43:43 +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
dc1a6a4363
Drop Organization abilities 2024-06-07 16:16:02 +02:00