OBLQEMSGEEW4Y3V6GQGQNFRSC2RJ5L6LOP4IGYSSGRIAUFF3XUIAC pub async fn search_by_name(data: &Data,guild: String,server_slug: String,region_slug: String,) -> Result<Option<Vec<GuildRef>>> {let Data {client,token,realm_drop_dashes,..} = data;let server_slug = {if realm_drop_dashes.read().await.contains(&server_slug) {debug!("server {} is in drop-dashes set. removing -s ",&server_slug);server_slug.replace("-", "")} else {server_slug}};let res = guild::lookup_guild(&client,&token,guild.clone(),server_slug.clone(),region_slug.clone(),).await?.data.and_then(|d| d.guild_data).and_then(|d| d.guild);let guild = if res.is_none() {// attempt dropping dashes.let guild = guild::lookup_guild(&client,&token,guild,server_slug.replace("-", ""),region_slug,).await?.data.and_then(|d| d.guild_data).and_then(|d| d.guild);if guild.is_some() {debug!("server {} needs drop-dashes. adding to set", &server_slug);realm_drop_dashes.write().await.insert(server_slug);guild} else {None}} else {res};debug!("{:?}", guild);Ok(guild.map(|g| {let guild = GuildRef {id: g.id,name: g.name,is_tag: false,};let mut tags = vec![guild];if let Some(other_tags) = g.tags {for t in other_tags {if t.is_none() {continue;}let t = t.unwrap();tags.push(GuildRef {id: t.id,name: t.name,is_tag: true,});}}tags}))}
Ok::<_, Infallible>(Response::from(schema.execute(req).await))
let q = req.query.clone();let res = schema.execute(req).await;if res.is_err() {error!("graphql error response: {} {:?}", q, &res.errors);}Ok::<_, Infallible>(Response::from(res))
.on_conflict_do_nothing()
// this handles the case where a log may have been reassigned from one team to another// after import. the end time is not updated here because of the `replace_log` jank.//// needs to be rewritten at some point.on_conflict(logs::code).do_update().set(logs::team.eq(team.iid))
#!/bin/bashset -ersync -avz server/migrations/ root@emallson.net:scorecard/migrations/ssh root@emallson.net "cd scorecard && ../diesel migration run"rsync -avz server/target/release/prog-score root@emallson.net:scorecard/prog-score.newrsync -avz client/build/ root@emallson.net:scorecard/public/ssh root@emallson.net "systemctl stop scorecard nginx && mv scorecard/prog-score.new scorecard/prog-score && systemctl start scorecard nginx"
react-debounce-input@^3.2.3:version "3.2.3"resolved "https://registry.yarnpkg.com/react-debounce-input/-/react-debounce-input-3.2.3.tgz#9e8c69771a621c81e8fe36b45ade49a95059cd87"integrity sha512-7Bfjm9sxrtgB+IsSrdXoo4CVqKg7CbWC68dNhr8q7ZmY6C0AqtR524//SenHQWT+eeSG9DmSLWNWCUFSyaaWSQ==dependencies:lodash.debounce "^4"prop-types "^15.7.2"
date: '2021-03-02T15:24-05:00',messages: ['Adjusted server configuration to handle more concurrent connections. Hi <a href="https://www.reddit.com/r/CompetitiveWoW/comments/lw7kn9/new_site_for_mythic_progression_stats/" class="underline">reddit!</a>','Fixed issue with guild link decoding if you tried typing the URL instead of pasting it.',],},{