Skip to content

configurable event types per conference#530

Merged
erdgeist merged 1 commit intofrab:masterfrom
elad-eyal:configurable_event_types
Oct 25, 2019
Merged

configurable event types per conference#530
erdgeist merged 1 commit intofrab:masterfrom
elad-eyal:configurable_event_types

Conversation

@elad-eyal
Copy link
Collaborator

@elad-eyal elad-eyal commented Sep 3, 2019

Conference settings now include two ways to express which event types
are allowed.

First we have the same of event_types we had so far; lecture workshop podium lightning_talk meeting film concert djset performance other. These names are localized when used. Each of these can be allowed/disallowed individually per conference. The default is that they are all allowed - same as before.

Also, admin can add any number of additional types by specifying them in a semicolon delimited list. This list is not supposed to be localized.

I decided to store the allowed types as a string and not separate tables in the database in order to be less intrusive. For example admin can remove a type from the allowed types list; but any event with that type will keep it.

image

image

image

image

see #302

@elad-eyal elad-eyal closed this Sep 5, 2019
@elad-eyal elad-eyal force-pushed the configurable_event_types branch from b81e1ea to a688e01 Compare September 5, 2019 05:42
@elad-eyal elad-eyal reopened this Sep 5, 2019
@elad-eyal elad-eyal force-pushed the configurable_event_types branch from 8cfa84a to bdded68 Compare September 5, 2019 05:52
@elad-eyal elad-eyal force-pushed the configurable_event_types branch 2 times, most recently from d4e8a5f to 410d1ec Compare October 8, 2019 20:01
@elad-eyal elad-eyal force-pushed the configurable_event_types branch 6 times, most recently from 2f5e45f to cb90874 Compare October 11, 2019 21:55
@elad-eyal elad-eyal force-pushed the configurable_event_types branch from cb90874 to 5affc44 Compare October 20, 2019 15:46
@erdgeist
Copy link
Contributor

This looks like something that I would love to see, but the current PR is a mess. There's changes in 67 files, most of them having nothing to do with "configurable event types".

If you manage to cherry pick those changes to a new PR, I will review and merge them before they start departing from master again.

Conference settings now include two ways to express which event types
are allowed.

see frab#302
@elad-eyal elad-eyal force-pushed the configurable_event_types branch from 5affc44 to 6658b72 Compare October 25, 2019 05:19
@elad-eyal
Copy link
Collaborator Author

@erdgeist - done.

@erdgeist
Copy link
Contributor

Thank you.

@erdgeist erdgeist merged commit 222ff69 into frab:master Oct 25, 2019
@elad-eyal elad-eyal deleted the configurable_event_types branch October 25, 2019 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants