Did Discourse just fall over?
-
yes, php.net, no, don't ask
Support group meets every Friday at eight. Bring your own absinthe.
-
hmm why not use the new badge assign UI that allows you to pick a post, doesn't it cover the original use case of the guid trick?
No. Doesn't even come close. Because the post earning the badge isn't linked to in the badge display interface. For example:
http://what.thedailywtf.com/badges/119/-kbd-html-award-kbd-
@Loopback0's badge was linked to Badgers. Clicking him in the badge list takes you to his profile.
Ok - it's in the /admin/badges interface, but that's not a lot of use to non-admins:
And that interface is still slow and too many clicks to get to.
Whereas the PDW badges, for example, link you to the post that generated the badge:
-
How does this work? Is there a meta topic somewhere explaining it? A quick search didn't show it up for me.
http://what.thedailywtf.com/admin/users/boomzilla/badges (20 seconds to finally display from the previous page btw @sam)
Just stick the post URL in this box after selecting the badge from the dropdown above it:
-
Just stick the post URL in this box after selecting the badge from the dropdown above it:
Yeah, I was hoping there was something you could get to right from looking at a post.
-
Yeah, I was hoping there was something you could get to right from looking at a post.
Hit reply and paste a UUID into the reply?
-
We could always hack our own options in to the flag menu. X separate people flag for something, badge gets awarded. What could go wrong?
Well...besides @accalia getting more Whooshed than we have likes in t1000? Besides that....
-
Thanks; I can definitely get a CDN, but how to integrate it? Does it sit on the front of Discorse, and proxy requests or something?
-
Hit reply and paste a UUID into the reply?
LOL. More like a new entry on the post wrench menu where I could pick from a badge dropdown. Ideally with an optional badge category filter (we have a ton of badges).
-
LOL. More like a new entry on the post wrench menu where I could pick from a badge dropdown. Ideally with an optional badge category filter (we have a ton of badges).
That is possibly even doable. We'd need to pick apart the API but...
Yeah, I need a local Discourse instance already.
-
What about using @riking's set-up? https://forum.riking.org/
-
If I can haz admin...
Do you really want to give me admin rights, anywhere? Really?
-
I have admin there.
It's only used for testing stuff anyway ;)
-
I may be wrong, but I think that post has granted @PJH two s?
-
Well...besides @accalia getting more Whooshed than we have likes in t1000? Besides that....
-_-
really?
/me starts sharpening her teeth
-
If I can haz admin...
most of us there are admin. ping one of us with a request and you can has
-
-
I may be wrong, but I think that post has granted @PJH two s?
It did actually - I didn't see any notifications of getting them however (probably fell off the bottom of the - they are there in the notification history)
OP edited. And time to create a dedicated group to stop that crap happening again I think.
-
And time to create a dedicated group to stop that crap happening again I think.
s/WHERE g.name IN ('/&badge_granters_/g
.done. FYI @boomzilla, @abarker.
(There was actually two groups needed,
badge_granters_staff
andbadge_granters_admins
).
-
-
Any particular reason?
Mods can award PDW badges,
Admins decide which threads are excluded from 2^n etc.
-
@PJH said:
And time to create a dedicated group to stop that crap happening again I think.
s/WHERE g.name IN ('/&badge_granters_/g
.done. FYI @boomzilla, @abarker.
(There was actually two groups needed,
badge_granters_staff
andbadge_granters_admins
).Yeah, I suspected this would be necessary.
-
I don't know the inners of discourse. but... is SQL a must?
most of the badges could be done with one or two lines of code:
if(post.text.contains('GUID')) grantBadge(post.reply_to);
@sam if this is not possible. will it be possible to talk about it?
-
I don't know the inners of discourse. but... is SQL a must?
If you don't want to submit PR's yes. There's an interface specifically for SQL (sub-)queries for badges.
-
Part of the current process is verifying that the GUID was put there by someone authorized to grant badges.
-
if(post.text.contains('GUID') && authorizedToBadge(post.user) ) grantBadge(post.reply_to);
the interface for subquery's could allow to do some coding for the per post trigger. IDK if this is doable or not. it's just an idea to offload it from the DB
-
i could have sworn that was showing up in cooked.
i'm pretty sure it used to show up. not just in the raw.
-
i'm pretty sure it used to show up. not just in the raw.
well at least i'm not the only one to think that. ;-)
-
https://meta.discourse.org/t/miniprofiler-times-whats-appropriate-whats-fast-whats-cause-for-concern/8150/10Certainly is a LOT more query time there @sam .. but good news is even factoring in slower HTTPS (and more features, etc) we are doing as well as we were in December 2013 for perf!
Did I just quote a local user? Oops. I hope I fixed it.4.6. time lucky?
-
-
Wouldn't it skip the index either way as there's a wildcard at the start?
That's how it'd work with Oracle, I assume Postgres takes a similar approach.
-
Indeed. Changing to looking in
cooked
results in a table scan.
-
You aren't signed up yet.
-
Signing up would mean I should actually start working on something as well...
-
I forgot, REAL web sites don't use no CDN, the speed of light is no concern to the likes of @blakeyrat
-
I find it funny that the per-month hosting costs for this forum keep going up $5, $10 at a time. Where does it stop? Once Alex gets a CDN, what's the next thing (for a small monthly fee) we'll need to keep Discourse from shitting itself?
-
Once Alex gets a CDN, what's the next thing (for a small monthly fee) we'll need to keep Discourse from shitting itself?
A CDN is not a requirement just a recommendation. It basically means that when I am downloading your awesome blakyimages, instead of going all the way to America I can go to my POP in Australia and get it from there. Same goes for CSS and JS bundles on this site.
-
It basically means that when I am downloading your awesome blakyimages, instead of going all the way to America I can go to my POP in Australia and get it from there.
Why the hell would I want barbarians in Australia to see my awesome blakyimages!
-
Why the hell would I want barbarians in Australia to see my awesome blakyimages!
That question is self-answering.
-
Why the hell would I want barbarians in Australia to see my awesome blakyimages!
To
ensure they stay barbarichelp them cure their barbarism?
-
cure their
barbarbarbieism?I'm tempted to let https://youtu.be/ZyhrYis509A be oneboxed…