-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: hides 'use ticketing system' to prevent spam #2926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: hides 'use ticketing system' to prevent spam #2926
Conversation
| </div> | ||
| <div class="field"> | ||
| <label for="location">{{t 'Location'}}</label> | ||
| <label class="required" for="location">{{t 'Location'}}</label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue is to show a message if the location, date or ticketing is missing and the user tries to publish the event. Introducing the "required" label is just misleading. The event can be stored as a draft if these informations are missing. You've to add the correct messages not make them required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ritikamotwani I'm currently working on it. I'll remove [WIP] label as soon as it gets completed 😅
I've added required just for frontend check, nothing more. I'll also open a PR which will check these attributes on server before publishing the event.
Edit: I'll also check that saving the event as a draft works if any of these info is missing.
|
@shreyanshdwivedi Ticketing Toggle was already done in #2518 , waiting for @CosmicCoder96 to reopen the pr |
|
@kushthedude okay. I'll remove this part from my PR :) |
|
@kushthedude I waited for a day but I don't see any update on your PR related to the toggle of ticketing feature. Can I please include that in my PR as I'll be needing it for few checks? I feel it'll be better if all the checks are in a single PR |
|
Yeah go on 👍, no need to increase the no. Of pr for such minor change
…On Fri, 17 May 2019 at 4:34 AM, Shreyansh Dwivedi ***@***.***> wrote:
@kushthedude <https://github.com/kushthedude> I waited but I don't see
any update on your PR related to the toggle of ticketing feature. Can I
please include that in my PR as I'll be needing it for few checks. I feel
it'll be better if all the checks are in a single PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2926?email_source=notifications&email_token=AKQMTLQLHK7C64FVTS63H63PVXR63A5CNFSM4HNFIHV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVTI4TI#issuecomment-493260365>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKQMTLROT57G2K5Y2TPYKJDPVXR63ANCNFSM4HNFIHVQ>
.
|
99f88ef to
c06e208
Compare
|
So few updates here. I've commented out ticketing toggle code and code related to option to show events from other platforms using a URL for now (as they can be implemented later).
Also, I'll have to comment out the code blocks related to |
|
@uds5501 @pradeepgangwar can you please review this? |
@CosmicCoder96 @pradeepgangwar @ritikamotwani your views? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shreyanshdwivedi Remove the merge conflicts and we will see about checks later , Let it get merged for now 👍
9dd0640 to
02c5635
Compare
|
This check should be on server. |
|
@iamareebjamal please refer to #2926 (comment). |
|
I'm talking about having no tickets. The issue is about event being published without tickets. It's not about it not being saved on the server without tickets |
|
@iamareebjamal when I researched on this issue earlier, I found out this -
If tickets are checked after event is saved, it'll be of no use. Can you think of any work-around here? |
|
You have the wrong idea of event being published. Event can be saved but it will not be published. It'll be draft event. I need to be able to create a draft event without tickets. It definitely should be saved in the DB. It just can't be published |
02c5635 to
cfaa092
Compare
9cffed2 to
fdaa7d2
Compare
fdaa7d2 to
972298e
Compare
|
@uds5501 @kushthedude please review |
972298e to
b28506f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shreyanshdwivedi Can you please hide the Ticketing Module in Admin/Settings and set it to True for now , This would be better as we want to use the ticketing system always ?
|
@kushthedude the admin modules serves other purpose. We should not remove it IMO. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #2482 , Related to #2920
Short description of what this resolves:
The option "use ticketing system" is a nice feature to add events of external websites. The options has been abused though to add spam events.
Changes proposed in this pull request:
use ticketing systemChecklist
developmentbranch.