Giter Club home page Giter Club logo

worldcubeassociation.org's Introduction

WorldCubeAssociation Website


All of the code that runs on worldcubeassociation.org.


Build Status Coverage Status


Common Queries

Can I join WST?

Currently (2023-09-10) WST is not accepting new members. We aim to onboard more volunteers by late 2023/early 2024.

*Unofficial API

If you want to query WCA data via an API, the Unofficial API is the best way to do this. It is not developed or supported by WST, but it makes use of the results export and updates daily, so you can rely on the information it provides.


If the above links don't give you what you need, feel free to open an issue or contact us

worldcubeassociation.org's People

Contributors

albertopdrf avatar baiqiang avatar campos20 avatar clementgallet avatar coder13 avatar danielegdal avatar danieljames-dj avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar dunkonit avatar fatboyxpc avatar finnickler avatar gregorbg avatar jambrose777 avatar jbmertens avatar jfly avatar jonatanklosko avatar kr-matthews avatar lgarron avatar notrichardpeng avatar pedrosino avatar pingskills avatar pochmann avatar thewca-bot avatar timhabermaas avatar timreyn avatar tussosedan avatar unsolvedcypher avatar viroulep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

worldcubeassociation.org's Issues

Unify navbar

Couple small things:

  • Make sure the navbar is consistent everywhere
  • Orange on blue = bleh (27e4d13)
  • Make sure the navbar text is consistent...

Out of date information

Include drupal

Currently, we don't include drupal in the repository. Adding it would be nice, but might not be worth the effort. I talked to @jbcm627 about this for a little while, and replacing it might be simpler than trying to add it to revision control in a good way.

Replacing drupal can be split up into two phases:

Read only (can coexist with drupal):

Writing to the db (not sure this can coexist with drupal):

  • An accounts system (done in 996c019)
    • We need to know who is on the results team (#23) in order to know who is allowed to make posts.
  • Form to actually create posts!

Footer

Something unobtrusive like on https://live.cubing.net/ would be nice. Could point people to github. A potential layout:

Powered by [link to github] | Contact

or perhaps

Fork me on github! | Contact

or

© World Cube Association | Contact | ... ?

is copywrite cheesy these days?

Associating user accounts with WCA ids

We don't want to let users choose any old WCA id. We'll give delegates the power to assign WCA ids, and leave it up to users to contact a delegate to assign them a WCA id.

A separate but related issue is to streamline this process for future first time competitors. See #21.

Database export improvements

This is an umbrella issue to track all ideas relating to the database export

  • Permalink (#60)
  • Currently, the db export takes quite a while. This post contains some ideas from @larspetrus for improving it.
  • We've received reports that the TSV export has grown so large that it no longer fits into MS Excel. We don't necessarily have to do anything about this (there are 3rd party pieces of software to split TSV/CSV files into multiple files), but some people might really appreciate this.
  • We currently have no way of knowing who uses the database export, and we have no way of contacting those people. To remedy this in the future, we could require that people use an OAuth application to download the export. (We could even get fancy and let them specify a webhook to be notified when database exports occur). In the mean time, this is Tim's suggestion for contacting software peeps:

Another idea would be to create a wca-software-announce mailing list, which people can subscribe to through google groups. That might have the positive side effect of exposing some of the things that you're working on to people who could theoretically be interested in working on them. Then you can advertise that list by posting on speedsolving/wca site/delegates list "we have this backwards-incompatible change coming up, get ready, oh and by the way we'll announce other stuff to this list". Then ask the delegates to forward to their local software people.

I imagine we'll have a 6 month - 1 year period of time where we continue to support the old database export while telling people to switch to the new one. NOTE: We'll have to update the WCA workbook assistant before we disable the old export.

Replace phpBB forum?

Something reddit style with threading and voting might be pretty cool, and probably share code with #136.

It also might be desirable to move delegate report discussions off of the delegates mailing list. This could all be started by #222.

PEAR stuff

I believe we'll need PEAR set up for emailing to work on the new server. @jbcm627, do you know what other things we use from PEAR, or is it just email?

Mail stuff

I don't know if we really want mail to work in the dev environment (we don't want test emails to actually send). If we do, then installing PEAR could be useful.

Friendly error pages

Would be good at some point. I don't think we need an automatic search or anything for 404s, but something cute, at least :)

User profile pictures

These are currently stored in the /home/cubing/worldcubeassociation.org/webroot/results/upload/ directory on james-smith. We'll need to move these elsewhere in order to migrate servers, one possibility is Amazon S3.

Port python api to rails

Right now it won't run with our production nginx config. We'll have to fix this before we move away from dreamhost.

Include phpBB

This is @gagou9's area of expertise. To have a truly one step deploy, we will need to include phpBB or replace it. I'm not familliar with how phpBB upgrades work.

@lgarron talked about potentially dropping the forum entirely, which would certainly make everyone's jobs easier =)

Regulations files that are not in git

The following folders exist only on the WCA website (and backups):

./history/files/ => Copies of old regs and scramblers
./history/official => Old versions of regs manually placed here and linked from https://www.worldcubeassociation.org/regulations/history/
./scrambles/tnoodle (and ./scrambles/tnoodle/old) => TNoodle binaries

In the interest of one step deploy and development setup, I'd like to think about what our options are for these files. @lgarron says "I don't care what we do with them, as long as we don't lose them. I would prefer not to put them in a general repo, because it adds up to > 60MB." I agree that this is a painful amount of data to add to just any repo. @lgarron, how do you feel about yet another branch on cubing/wca-documents? I'd be willing to drive this and update make.py to automatically check out these files.

configuring logrotate

As we handle the OS, we have do handle the logs as well or it's all gonna get messy :)

setting-up fail2ban

Fail2ban will block IPs trying to do weird stuff on our ports.
It will use iptables to block them, and will unblock after a time. (or not)

[New Section] Organize competition

Right now if someone wants to organize a competition, they have to go 'find their delegate,' resulting in email chains and random 10 year olds with no clue begging for competitions with no idea how to run one.

Wouldn't it be great if there were a page on wca.org that allowed you to 'request a competition consult'?
Such a page would require you to input:

  • dates applicable
  • requested events
  • competition name
  • contact details
  • where you've already found a location (less back and forth for delegates)
  • etc.

Upon submissions, delegates could choose to respond to the requests through a tiny workflow, depending on their personal schedule.

Thoughts?

Authorization levels for accounts

There are board members, website team members, results team members, delegates. I don't know if the WDC or WRC members will have any special powers on the site, but storing who is on the various teams still seems good to me. This data, plus the knowledge of who the leader is, will allow us to autogenerate the /about page, the /delegates page, and the /contact page.

We may also need to know who our delegates are in order to implement #22.

Squelch PHP warnings in production

Dumping discussion with @jbcm627:

i need to squelch the php warnings
James: ah
me: do you know anything about that?
James: you can edit php.ini, or:
run error_reporting(E_NONE); in the code somewhere
me: ahh
James: but that might hide errors from logs too
so there is also
me: ah
James: ini_set('display_errors', 0); or something
I'm not really sure about behavior
but googling those might tell you
me: ok
seems like something we could set iff that admin flag is not passed in
?
James: in the php code? yeah
or maybe debug?
me: yeah
errr
debug, that's what i meant
thanks

Server status script

Have a script (as decoupled from everything and robust as possible) that monitors the status of things, and alerts someone when things go down.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.