GithubHelp home page GithubHelp logo

fragforce / fragforce.org Goto Github PK

View Code? Open in Web Editor NEW
6.0 7.0 15.0 136.43 MB

License: GNU General Public License v2.0

CSS 0.74% HTML 10.24% Python 41.12% JavaScript 0.06% Dockerfile 0.07% Procfile 0.05% PLpgSQL 11.67% Shell 0.09% Jinja 35.95%

fragforce.org's Introduction

Fragforce

About

This is a rewrite of Fragforce.org using Django.

Who we are

Fragforce is the global charity gaming team from Salesforce that is raising money to support kids facing scary stuff like social mistreatment and medical issues (i.e. cancer, cystic-fibrosise, accidents, etc). By rallying our friends, family, and co-workers, we are creating/facilitating a new philanthropic tradition to boost employee morale and support cross-team and community collaboration through a shared love of gaming.

Who we are supporting

Extra Life is a charity organization that is raising money to support Children's Miracle Network (CMN) hospitals across the country. Extra Life helps games to pledge to play games for 24 hours, and to solicit donations from their families and friends for CMN in the process.

Child's Play is an international charity organization that seeks to improve the lives of children in hospitals and domestic violence shelters through the generosity and kindness of the video game industry and the power of play.

How can I donate?

Make a donation to Fragforce's Extra Life team by visiting the Extra Life page and searching for Fragforce, or just go to team.fragforce.org

Make a donation to Fragforce's Child's Play donation drive by visiting our donation campaign page

How can I help?

Sign up to participate in an event and raise money as you can to save kid's lives! Simply click the 'Join Team' link on the Extra Life team page for Fragforce at team.fragforce.org

International team members can raise money for Child's Play, join our Tiltify Team, and sign up to help run or participate in an international Fragforce event

Packages

ffsfdc

Fragforce org to Fragforce.org linkage

fforg

Project files

ffsite

Fragforce.org pages

ffdonations

Various donation sync options

Development

Requirements

Initial Setup

  • cp env.sample .env
  • generate a secret key and set it in the SECRET_KEY value in .env, not required, but best practice
  • docker-compose up -d to spin up all the containers
  • docker-compose exec web bash to shell into the main web container
  • dev/init.sh to load the hc initial data, run migrations, collectstatic, and activate the pipenv
  • python manage.py shell to load a django shell, or python manage.py dbshell to connect to the database to verify data after running tasks

fragforce.org's People

Contributors

aevumdecessus avatar antzucaro avatar beng-sfdc avatar dependabot-preview[bot] avatar dependabot[bot] avatar draco1114 avatar emresaglam avatar falciron avatar fragforce-deploy avatar gpmidi avatar luthienazaelia avatar pmcintyresfdc avatar r0ot2u avatar thegreatsunjester avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fragforce.org's Issues

Getting dict rather than int for id

ffdonations.tasks.donations.update_donations_if_needed_participant[50acdd7b-c9ed-43d1-9305-7d26876df846] raised unexpected: TypeError("int() argument must be a string, a bytes-like object or a number, not 'dict'",)
2019-11-14T12:57:53.407921+00:00 app[beat.1]: Traceback (most recent call last):
2019-11-14T12:57:53.407924+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/celery/app/trace.py", line 385, in trace_task
2019-11-14T12:57:53.407926+00:00 app[beat.1]:     R = retval = fun(*args, **kwargs)
2019-11-14T12:57:53.407929+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/celery/app/trace.py", line 648, in __protected_call__
2019-11-14T12:57:53.407931+00:00 app[beat.1]:     return self.run(*args, **kwargs)
2019-11-14T12:57:53.407932+00:00 app[beat.1]:   File "/app/ffdonations/tasks/donations.py", line 163, in update_donations_if_needed_participant
2019-11-14T12:57:53.407935+00:00 app[beat.1]:     participant = ParticipantModel.objects.get(id=participantID)
2019-11-14T12:57:53.407937+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
2019-11-14T12:57:53.407940+00:00 app[beat.1]:     return getattr(self.get_queryset(), name)(*args, **kwargs)
2019-11-14T12:57:53.407942+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/query.py", line 399, in get
2019-11-14T12:57:53.407944+00:00 app[beat.1]:     clone = self.filter(*args, **kwargs)
2019-11-14T12:57:53.407946+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/query.py", line 892, in filter
2019-11-14T12:57:53.407948+00:00 app[beat.1]:     return self._filter_or_exclude(False, *args, **kwargs)
2019-11-14T12:57:53.407949+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/query.py", line 910, in _filter_or_exclude
2019-11-14T12:57:53.407952+00:00 app[beat.1]:     clone.query.add_q(Q(*args, **kwargs))
2019-11-14T12:57:53.407954+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1290, in add_q
2019-11-14T12:57:53.407956+00:00 app[beat.1]:     clause, _ = self._add_q(q_object, self.used_aliases)
2019-11-14T12:57:53.407957+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1318, in _add_q
2019-11-14T12:57:53.407959+00:00 app[beat.1]:     split_subq=split_subq, simple_col=simple_col,
2019-11-14T12:57:53.407961+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1251, in build_filter
2019-11-14T12:57:53.407963+00:00 app[beat.1]:     condition = self.build_lookup(lookups, col, value)
2019-11-14T12:57:53.407965+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1116, in build_lookup
2019-11-14T12:57:53.407967+00:00 app[beat.1]:     lookup = lookup_class(lhs, rhs)
2019-11-14T12:57:53.407969+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/lookups.py", line 20, in __init__
2019-11-14T12:57:53.407971+00:00 app[beat.1]:     self.rhs = self.get_prep_lookup()
2019-11-14T12:57:53.407973+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/lookups.py", line 70, in get_prep_lookup
2019-11-14T12:57:53.407975+00:00 app[beat.1]:     return self.lhs.output_field.get_prep_value(self.rhs)
2019-11-14T12:57:53.407978+00:00 app[beat.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 1819, in get_prep_value
2019-11-14T12:57:53.407980+00:00 app[beat.1]:     return int(value)
2019-11-14T12:57:53.408040+00:00 app[beat.1]: TypeError: int() argument must be a string, a bytes-like object or a number, not 'dict'

Invalid Date Issues

OS: MacOS 10.13.6
Browser: Safari 11.1.2

OS: IOS 11.4.1
Browser: Safari (Latest)

As shown in the screenshot for this particular page, the all dates are listed as invalid.
screen shot 2018-07-19 at 9 07 12 pm

New Year Function

Add a 'create next year' function that runs automatically and/or via the admin interface to init the objects for the next EL year.

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.